comparison configure @ 2300:e2fdc9035c5b

[xemacs-hg @ 2004-09-22 11:40:40 by malcolmp] Unused parameter and variables warnings apply to GCC 3 or greater.
author malcolmp
date Wed, 22 Sep 2004 11:41:02 +0000
parents 04bc9d2f42c7
children e219f63b9c24
comparison
equal deleted inserted replaced
2299:a640f9c13696 2300:e2fdc9035c5b
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
2933 cflags_warning="$cflags_warning -Wsign-compare" 2932 cflags_warning="$cflags_warning -Wsign-compare"
2934 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" 2933 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes"
2935 if test "$__GCC3" = "yes"; then 2934 if test "$__GCC3" = "yes"; then
2936 cflags_warning="$cflags_warning -Wpacked" 2935 cflags_warning="$cflags_warning -Wpacked -Wunused-parameter -Wunused-variable"
2937 fi 2936 fi
2938 test "$have_glibc" != "yes" && \ 2937 test "$have_glibc" != "yes" && \
2939 cflags_warning="$cflags_warning -Wpointer-arith" 2938 cflags_warning="$cflags_warning -Wpointer-arith"
2940 test "$xemacs_compiler" = "g++" && \ 2939 test "$xemacs_compiler" = "g++" && \
2941 xe_cflags_warning="$cflags_warning -Weffc++" 2940 xe_cflags_warning="$cflags_warning -Weffc++"
2946 fi 2945 fi
2947 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" 2946 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
2948 echo "$ac_t""${xe_cflags_warning}" 1>&6 2947 echo "$ac_t""${xe_cflags_warning}" 1>&6
2949 2948
2950 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6 2949 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6
2951 echo "configure:2952: checking for preferred warning flags for CC" >&5 2950 echo "configure:2951: checking for preferred warning flags for CC" >&5
2952 echo "$ac_t""${cflags_warning}" 1>&6 2951 echo "$ac_t""${cflags_warning}" 1>&6
2953 2952
2954 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 2953 XE_CFLAGS="$xe_cflags_warning $CFLAGS"
2955 CFLAGS="$cflags_warning $CFLAGS" 2954 CFLAGS="$cflags_warning $CFLAGS"
2956 2955
2957 if test "$GCC" = "yes"; then 2956 if test "$GCC" = "yes"; then
2958 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 2957 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
2959 echo "configure:2960: checking for buggy gcc versions" >&5 2958 echo "configure:2959: checking for buggy gcc versions" >&5
2960 GCC_VERSION=`$CC --version` 2959 GCC_VERSION=`$CC --version`
2961 case `uname -s`:`uname -m`:$GCC_VERSION in 2960 case `uname -s`:`uname -m`:$GCC_VERSION in
2962 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 2961 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2963 case "$CFLAGS" in 2962 case "$CFLAGS" in
2964 *-O2*|*-O3*) 2963 *-O2*|*-O3*)
3012 echo "$ac_t""no" 1>&6 3011 echo "$ac_t""no" 1>&6
3013 fi 3012 fi
3014 3013
3015 if test "$pdump" != "yes"; then 3014 if test "$pdump" != "yes"; then
3016 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 3015 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
3017 echo "configure:3018: checking for \"-z nocombreloc\" linker flag" >&5 3016 echo "configure:3017: checking for \"-z nocombreloc\" linker flag" >&5
3018 case "`ld --help 2>&1`" in 3017 case "`ld --help 2>&1`" in
3019 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 3018 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
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 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
3021 *) echo "$ac_t""no" 1>&6 ;; 3020 *) echo "$ac_t""no" 1>&6 ;;
3022 esac 3021 esac
3101 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then 3100 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then
3102 echo " xemacs will be linked with \"dumper.o\"" 3101 echo " xemacs will be linked with \"dumper.o\""
3103 fi 3102 fi
3104 3103
3105 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 3104 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
3106 echo "configure:3107: checking for dynodump" >&5 3105 echo "configure:3106: checking for dynodump" >&5
3107 if test "$unexec" != "unexsol2.o"; then 3106 if test "$unexec" != "unexsol2.o"; then
3108 echo "$ac_t""no" 1>&6 3107 echo "$ac_t""no" 1>&6
3109 else 3108 else
3110 echo "$ac_t""yes" 1>&6 3109 echo "$ac_t""yes" 1>&6
3111 { test "$extra_verbose" = "yes" && cat << \EOF 3110 { test "$extra_verbose" = "yes" && cat << \EOF
3138 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 3137 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
3139 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 3138 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
3140 done 3139 done
3141 3140
3142 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 3141 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
3143 echo "configure:3144: checking for terminateAndUnload in -lC" >&5 3142 echo "configure:3143: checking for terminateAndUnload in -lC" >&5
3144 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3143 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3145 3144
3146 xe_check_libs=" -lC " 3145 xe_check_libs=" -lC "
3147 cat > conftest.$ac_ext <<EOF 3146 cat > conftest.$ac_ext <<EOF
3148 #line 3149 "configure" 3147 #line 3148 "configure"
3149 #include "confdefs.h" 3148 #include "confdefs.h"
3150 /* Override any gcc2 internal prototype to avoid an error. */ 3149 /* Override any gcc2 internal prototype to avoid an error. */
3151 /* We use char because int might match the return type of a gcc2 3150 /* We use char because int might match the return type of a gcc2
3152 builtin and then its argument prototype would still apply. */ 3151 builtin and then its argument prototype would still apply. */
3153 char terminateAndUnload(); 3152 char terminateAndUnload();
3154 3153
3155 int main() { 3154 int main() {
3156 terminateAndUnload() 3155 terminateAndUnload()
3157 ; return 0; } 3156 ; return 0; }
3158 EOF 3157 EOF
3159 if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3158 if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3160 rm -rf conftest* 3159 rm -rf conftest*
3161 eval "ac_cv_lib_$ac_lib_var=yes" 3160 eval "ac_cv_lib_$ac_lib_var=yes"
3162 else 3161 else
3163 echo "configure: failed program was:" >&5 3162 echo "configure: failed program was:" >&5
3164 cat conftest.$ac_ext >&5 3163 cat conftest.$ac_ext >&5
3196 compiler_version="" 3195 compiler_version=""
3197 gcc_compiler_specs="" 3196 gcc_compiler_specs=""
3198 libc_version="" 3197 libc_version=""
3199 3198
3200 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 3199 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6
3201 echo "configure:3202: checking for compiler version information" >&5 3200 echo "configure:3201: checking for compiler version information" >&5
3202 3201
3203 if test "$GCC" = "yes"; then 3202 if test "$GCC" = "yes"; then
3204 compiler_version=`$XEMACS_CC --version | head -1` 3203 compiler_version=`$XEMACS_CC --version | head -1`
3205 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` 3204 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1`
3206 else case "$XEMACS_CC" in 3205 else case "$XEMACS_CC" in
3247 if test -z "$compiler_version"; then 3246 if test -z "$compiler_version"; then
3248 compiler_version="detection failed (please report this)" 3247 compiler_version="detection failed (please report this)"
3249 fi 3248 fi
3250 3249
3251 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 3250 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6
3252 echo "configure:3253: checking for standard C library version information" >&5 3251 echo "configure:3252: checking for standard C library version information" >&5
3253 3252
3254 case "$canonical" in 3253 case "$canonical" in
3255 *-*-linux*) 3254 *-*-linux*)
3256 if test -f /etc/redhat-release ; then 3255 if test -f /etc/redhat-release ; then
3257 libc_version=`rpm -q glibc` 3256 libc_version=`rpm -q glibc`
3359 esac 3358 esac
3360 fi 3359 fi
3361 3360
3362 if test "$add_runtime_path" = "yes"; then 3361 if test "$add_runtime_path" = "yes"; then
3363 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 3362 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
3364 echo "configure:3365: checking "for runtime libraries flag"" >&5 3363 echo "configure:3364: checking "for runtime libraries flag"" >&5
3365 case "$opsys" in 3364 case "$opsys" in
3366 sol2 ) dash_r="-R" ;; 3365 sol2 ) dash_r="-R" ;;
3367 decosf* | linux* | irix*) dash_r="-rpath " ;; 3366 decosf* | linux* | irix*) dash_r="-rpath " ;;
3368 *) 3367 *)
3369 dash_r="" 3368 dash_r=""
3381 esac 3380 esac
3382 shift 3381 shift
3383 done 3382 done
3384 fi 3383 fi
3385 cat > conftest.$ac_ext <<EOF 3384 cat > conftest.$ac_ext <<EOF
3386 #line 3387 "configure" 3385 #line 3386 "configure"
3387 #include "confdefs.h" 3386 #include "confdefs.h"
3388 3387
3389 int main() { 3388 int main() {
3390 3389
3391 ; return 0; } 3390 ; return 0; }
3392 EOF 3391 EOF
3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3392 if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3394 rm -rf conftest* 3393 rm -rf conftest*
3395 dash_r="$try_dash_r" 3394 dash_r="$try_dash_r"
3396 else 3395 else
3397 echo "configure: failed program was:" >&5 3396 echo "configure: failed program was:" >&5
3398 cat conftest.$ac_ext >&5 3397 cat conftest.$ac_ext >&5
3489 else 3488 else
3490 doug_lea_malloc=no 3489 doug_lea_malloc=no
3491 fi 3490 fi
3492 after_morecore_hook_exists=yes 3491 after_morecore_hook_exists=yes
3493 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3492 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3494 echo "configure:3495: checking for malloc_set_state" >&5 3493 echo "configure:3494: checking for malloc_set_state" >&5
3495 3494
3496 cat > conftest.$ac_ext <<EOF 3495 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure" 3496 #line 3497 "configure"
3498 #include "confdefs.h" 3497 #include "confdefs.h"
3499 /* System header to define __stub macros and hopefully few prototypes, 3498 /* System header to define __stub macros and hopefully few prototypes,
3500 which can conflict with char malloc_set_state(); below. */ 3499 which can conflict with char malloc_set_state(); below. */
3501 #include <assert.h> 3500 #include <assert.h>
3502 /* Override any gcc2 internal prototype to avoid an error. */ 3501 /* Override any gcc2 internal prototype to avoid an error. */
3515 malloc_set_state(); 3514 malloc_set_state();
3516 #endif 3515 #endif
3517 3516
3518 ; return 0; } 3517 ; return 0; }
3519 EOF 3518 EOF
3520 if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3519 if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3521 rm -rf conftest* 3520 rm -rf conftest*
3522 eval "ac_cv_func_malloc_set_state=yes" 3521 eval "ac_cv_func_malloc_set_state=yes"
3523 else 3522 else
3524 echo "configure: failed program was:" >&5 3523 echo "configure: failed program was:" >&5
3525 cat conftest.$ac_ext >&5 3524 cat conftest.$ac_ext >&5
3535 echo "$ac_t""no" 1>&6 3534 echo "$ac_t""no" 1>&6
3536 doug_lea_malloc=no 3535 doug_lea_malloc=no
3537 fi 3536 fi
3538 3537
3539 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3538 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3540 echo "configure:3541: checking whether __after_morecore_hook exists" >&5 3539 echo "configure:3540: checking whether __after_morecore_hook exists" >&5
3541 cat > conftest.$ac_ext <<EOF 3540 cat > conftest.$ac_ext <<EOF
3542 #line 3543 "configure" 3541 #line 3542 "configure"
3543 #include "confdefs.h" 3542 #include "confdefs.h"
3544 extern void (* __after_morecore_hook)(); 3543 extern void (* __after_morecore_hook)();
3545 int main() { 3544 int main() {
3546 __after_morecore_hook = 0 3545 __after_morecore_hook = 0
3547 ; return 0; } 3546 ; return 0; }
3548 EOF 3547 EOF
3549 if { (eval echo configure:3550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3550 rm -rf conftest* 3549 rm -rf conftest*
3551 echo "$ac_t""yes" 1>&6 3550 echo "$ac_t""yes" 1>&6
3552 else 3551 else
3553 echo "configure: failed program was:" >&5 3552 echo "configure: failed program was:" >&5
3554 cat conftest.$ac_ext >&5 3553 cat conftest.$ac_ext >&5
3600 3599
3601 3600
3602 # Extract the first word of "ranlib", so it can be a program name with args. 3601 # Extract the first word of "ranlib", so it can be a program name with args.
3603 set dummy ranlib; ac_word=$2 3602 set dummy ranlib; ac_word=$2
3604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3605 echo "configure:3606: checking for $ac_word" >&5 3604 echo "configure:3605: checking for $ac_word" >&5
3606 3605
3607 if test -n "$RANLIB"; then 3606 if test -n "$RANLIB"; then
3608 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3609 else 3608 else
3610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3658 # ./install, which can be erroneously created by make from ./install.sh. 3657 # ./install, which can be erroneously created by make from ./install.sh.
3659 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 3658 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3660 echo "configure:3661: checking for a BSD compatible install" >&5 3659 echo "configure:3660: checking for a BSD compatible install" >&5
3661 if test -z "$INSTALL"; then 3660 if test -z "$INSTALL"; then
3662 3661
3663 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3662 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3664 for ac_dir in $PATH; do 3663 for ac_dir in $PATH; do
3665 # Account for people who put trailing slashes in PATH elements. 3664 # Account for people who put trailing slashes in PATH elements.
3709 for ac_prog in 'bison -y' byacc 3708 for ac_prog in 'bison -y' byacc
3710 do 3709 do
3711 # Extract the first word of "$ac_prog", so it can be a program name with args. 3710 # Extract the first word of "$ac_prog", so it can be a program name with args.
3712 set dummy $ac_prog; ac_word=$2 3711 set dummy $ac_prog; ac_word=$2
3713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3714 echo "configure:3715: checking for $ac_word" >&5 3713 echo "configure:3714: checking for $ac_word" >&5
3715 3714
3716 if test -n "$YACC"; then 3715 if test -n "$YACC"; then
3717 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3716 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3718 else 3717 else
3719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3741 3740
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 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
3743 do 3742 do
3744 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3746 echo "configure:3747: checking for $ac_hdr" >&5 3745 echo "configure:3746: checking for $ac_hdr" >&5
3747 3746
3748 cat > conftest.$ac_ext <<EOF 3747 cat > conftest.$ac_ext <<EOF
3749 #line 3750 "configure" 3748 #line 3749 "configure"
3750 #include "confdefs.h" 3749 #include "confdefs.h"
3751 #include <$ac_hdr> 3750 #include <$ac_hdr>
3752 EOF 3751 EOF
3753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3754 { (eval echo configure:3755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3753 { (eval echo configure:3754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3756 if test -z "$ac_err"; then 3755 if test -z "$ac_err"; then
3757 rm -rf conftest* 3756 rm -rf conftest*
3758 eval "ac_cv_header_$ac_safe=yes" 3757 eval "ac_cv_header_$ac_safe=yes"
3759 else 3758 else
3779 echo "$ac_t""no" 1>&6 3778 echo "$ac_t""no" 1>&6
3780 fi 3779 fi
3781 done 3780 done
3782 3781
3783 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3782 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3784 echo "configure:3785: checking for sys/wait.h that is POSIX.1 compatible" >&5 3783 echo "configure:3784: checking for sys/wait.h that is POSIX.1 compatible" >&5
3785 3784
3786 cat > conftest.$ac_ext <<EOF 3785 cat > conftest.$ac_ext <<EOF
3787 #line 3788 "configure" 3786 #line 3787 "configure"
3788 #include "confdefs.h" 3787 #include "confdefs.h"
3789 #include <sys/types.h> 3788 #include <sys/types.h>
3790 #include <sys/wait.h> 3789 #include <sys/wait.h>
3791 #ifndef WEXITSTATUS 3790 #ifndef WEXITSTATUS
3792 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3791 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3798 int s; 3797 int s;
3799 wait (&s); 3798 wait (&s);
3800 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3799 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3801 ; return 0; } 3800 ; return 0; }
3802 EOF 3801 EOF
3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3804 rm -rf conftest* 3803 rm -rf conftest*
3805 ac_cv_header_sys_wait_h=yes 3804 ac_cv_header_sys_wait_h=yes
3806 else 3805 else
3807 echo "configure: failed program was:" >&5 3806 echo "configure: failed program was:" >&5
3808 cat conftest.$ac_ext >&5 3807 cat conftest.$ac_ext >&5
3822 } 3821 }
3823 3822
3824 fi 3823 fi
3825 3824
3826 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3825 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3827 echo "configure:3828: checking for ANSI C header files" >&5 3826 echo "configure:3827: checking for ANSI C header files" >&5
3828 3827
3829 cat > conftest.$ac_ext <<EOF 3828 cat > conftest.$ac_ext <<EOF
3830 #line 3831 "configure" 3829 #line 3830 "configure"
3831 #include "confdefs.h" 3830 #include "confdefs.h"
3832 #include <stdlib.h> 3831 #include <stdlib.h>
3833 #include <stdarg.h> 3832 #include <stdarg.h>
3834 #include <string.h> 3833 #include <string.h>
3835 #include <float.h> 3834 #include <float.h>
3836 EOF 3835 EOF
3837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3838 { (eval echo configure:3839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3837 { (eval echo configure:3838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3840 if test -z "$ac_err"; then 3839 if test -z "$ac_err"; then
3841 rm -rf conftest* 3840 rm -rf conftest*
3842 ac_cv_header_stdc=yes 3841 ac_cv_header_stdc=yes
3843 else 3842 else
3850 rm -f conftest* 3849 rm -f conftest*
3851 3850
3852 if test $ac_cv_header_stdc = yes; then 3851 if test $ac_cv_header_stdc = yes; then
3853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3854 cat > conftest.$ac_ext <<EOF 3853 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure" 3854 #line 3855 "configure"
3856 #include "confdefs.h" 3855 #include "confdefs.h"
3857 #include <string.h> 3856 #include <string.h>
3858 EOF 3857 EOF
3859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3860 egrep "memchr" >/dev/null 2>&1; then 3859 egrep "memchr" >/dev/null 2>&1; then
3868 fi 3867 fi
3869 3868
3870 if test $ac_cv_header_stdc = yes; then 3869 if test $ac_cv_header_stdc = yes; then
3871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3872 cat > conftest.$ac_ext <<EOF 3871 cat > conftest.$ac_ext <<EOF
3873 #line 3874 "configure" 3872 #line 3873 "configure"
3874 #include "confdefs.h" 3873 #include "confdefs.h"
3875 #include <stdlib.h> 3874 #include <stdlib.h>
3876 EOF 3875 EOF
3877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3878 egrep "free" >/dev/null 2>&1; then 3877 egrep "free" >/dev/null 2>&1; then
3886 fi 3885 fi
3887 3886
3888 if test $ac_cv_header_stdc = yes; then 3887 if test $ac_cv_header_stdc = yes; then
3889 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3890 cat > conftest.$ac_ext <<EOF 3889 cat > conftest.$ac_ext <<EOF
3891 #line 3892 "configure" 3890 #line 3891 "configure"
3892 #include "confdefs.h" 3891 #include "confdefs.h"
3893 #include <ctype.h> 3892 #include <ctype.h>
3894 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3893 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3895 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3894 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3897 int main () { int i; for (i = 0; i < 256; i++) 3896 int main () { int i; for (i = 0; i < 256; i++)
3898 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3897 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3899 exit (0); } 3898 exit (0); }
3900 3899
3901 EOF 3900 EOF
3902 if { (eval echo configure:3903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3901 if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3903 then 3902 then
3904 : 3903 :
3905 else 3904 else
3906 conftest_rc="$?" 3905 conftest_rc="$?"
3907 echo "configure: failed program was:" >&5 3906 echo "configure: failed program was:" >&5
3923 } 3922 }
3924 3923
3925 fi 3924 fi
3926 3925
3927 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3926 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3928 echo "configure:3929: checking whether time.h and sys/time.h may both be included" >&5 3927 echo "configure:3928: checking whether time.h and sys/time.h may both be included" >&5
3929 3928
3930 cat > conftest.$ac_ext <<EOF 3929 cat > conftest.$ac_ext <<EOF
3931 #line 3932 "configure" 3930 #line 3931 "configure"
3932 #include "confdefs.h" 3931 #include "confdefs.h"
3933 #include <sys/types.h> 3932 #include <sys/types.h>
3934 #include <sys/time.h> 3933 #include <sys/time.h>
3935 #include <time.h> 3934 #include <time.h>
3936 int main() { 3935 int main() {
3937 struct tm *tp; 3936 struct tm *tp;
3938 ; return 0; } 3937 ; return 0; }
3939 EOF 3938 EOF
3940 if { (eval echo configure:3941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3941 rm -rf conftest* 3940 rm -rf conftest*
3942 ac_cv_header_time=yes 3941 ac_cv_header_time=yes
3943 else 3942 else
3944 echo "configure: failed program was:" >&5 3943 echo "configure: failed program was:" >&5
3945 cat conftest.$ac_ext >&5 3944 cat conftest.$ac_ext >&5
3959 } 3958 }
3960 3959
3961 fi 3960 fi
3962 3961
3963 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3962 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3964 echo "configure:3965: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3963 echo "configure:3964: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3965 3964
3966 cat > conftest.$ac_ext <<EOF 3965 cat > conftest.$ac_ext <<EOF
3967 #line 3968 "configure" 3966 #line 3967 "configure"
3968 #include "confdefs.h" 3967 #include "confdefs.h"
3969 #include <sys/types.h> 3968 #include <sys/types.h>
3970 #include <signal.h> 3969 #include <signal.h>
3971 /* NetBSD declares sys_siglist in unistd.h. */ 3970 /* NetBSD declares sys_siglist in unistd.h. */
3972 #ifdef HAVE_UNISTD_H 3971 #ifdef HAVE_UNISTD_H
3974 #endif 3973 #endif
3975 int main() { 3974 int main() {
3976 char *msg = *(sys_siglist + 1); 3975 char *msg = *(sys_siglist + 1);
3977 ; return 0; } 3976 ; return 0; }
3978 EOF 3977 EOF
3979 if { (eval echo configure:3980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3978 if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3980 rm -rf conftest* 3979 rm -rf conftest*
3981 ac_cv_decl_sys_siglist=yes 3980 ac_cv_decl_sys_siglist=yes
3982 else 3981 else
3983 echo "configure: failed program was:" >&5 3982 echo "configure: failed program was:" >&5
3984 cat conftest.$ac_ext >&5 3983 cat conftest.$ac_ext >&5
4000 fi 3999 fi
4001 4000
4002 4001
4003 4002
4004 echo $ac_n "checking for utime""... $ac_c" 1>&6 4003 echo $ac_n "checking for utime""... $ac_c" 1>&6
4005 echo "configure:4006: checking for utime" >&5 4004 echo "configure:4005: checking for utime" >&5
4006 cat > conftest.$ac_ext <<EOF 4005 cat > conftest.$ac_ext <<EOF
4007 #line 4008 "configure" 4006 #line 4007 "configure"
4008 #include "confdefs.h" 4007 #include "confdefs.h"
4009 #include <sys/types.h> 4008 #include <sys/types.h>
4010 #include <utime.h> 4009 #include <utime.h>
4011 int main() { 4010 int main() {
4012 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 4011 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
4013 ; return 0; } 4012 ; return 0; }
4014 EOF 4013 EOF
4015 if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4014 if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4016 rm -rf conftest* 4015 rm -rf conftest*
4017 echo "$ac_t""yes" 1>&6 4016 echo "$ac_t""yes" 1>&6
4018 { test "$extra_verbose" = "yes" && cat << \EOF 4017 { test "$extra_verbose" = "yes" && cat << \EOF
4019 Defining HAVE_UTIME 4018 Defining HAVE_UTIME
4020 EOF 4019 EOF
4029 rm -rf conftest* 4028 rm -rf conftest*
4030 echo "$ac_t""no" 1>&6 4029 echo "$ac_t""no" 1>&6
4031 for ac_func in utimes 4030 for ac_func in utimes
4032 do 4031 do
4033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4034 echo "configure:4035: checking for $ac_func" >&5 4033 echo "configure:4034: checking for $ac_func" >&5
4035 4034
4036 cat > conftest.$ac_ext <<EOF 4035 cat > conftest.$ac_ext <<EOF
4037 #line 4038 "configure" 4036 #line 4037 "configure"
4038 #include "confdefs.h" 4037 #include "confdefs.h"
4039 /* System header to define __stub macros and hopefully few prototypes, 4038 /* System header to define __stub macros and hopefully few prototypes,
4040 which can conflict with char $ac_func(); below. */ 4039 which can conflict with char $ac_func(); below. */
4041 #include <assert.h> 4040 #include <assert.h>
4042 /* Override any gcc2 internal prototype to avoid an error. */ 4041 /* Override any gcc2 internal prototype to avoid an error. */
4055 $ac_func(); 4054 $ac_func();
4056 #endif 4055 #endif
4057 4056
4058 ; return 0; } 4057 ; return 0; }
4059 EOF 4058 EOF
4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4059 if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4061 rm -rf conftest* 4060 rm -rf conftest*
4062 eval "ac_cv_func_$ac_func=yes" 4061 eval "ac_cv_func_$ac_func=yes"
4063 else 4062 else
4064 echo "configure: failed program was:" >&5 4063 echo "configure: failed program was:" >&5
4065 cat conftest.$ac_ext >&5 4064 cat conftest.$ac_ext >&5
4087 fi 4086 fi
4088 rm -f conftest* 4087 rm -f conftest*
4089 4088
4090 4089
4091 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 4090 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
4092 echo "configure:4093: checking return type of signal handlers" >&5 4091 echo "configure:4092: checking return type of signal handlers" >&5
4093 4092
4094 cat > conftest.$ac_ext <<EOF 4093 cat > conftest.$ac_ext <<EOF
4095 #line 4096 "configure" 4094 #line 4095 "configure"
4096 #include "confdefs.h" 4095 #include "confdefs.h"
4097 #include <sys/types.h> 4096 #include <sys/types.h>
4098 #include <signal.h> 4097 #include <signal.h>
4099 #ifdef signal 4098 #ifdef signal
4100 #undef signal 4099 #undef signal
4107 4106
4108 int main() { 4107 int main() {
4109 int i; 4108 int i;
4110 ; return 0; } 4109 ; return 0; }
4111 EOF 4110 EOF
4112 if { (eval echo configure:4113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4111 if { (eval echo configure:4112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4113 rm -rf conftest* 4112 rm -rf conftest*
4114 ac_cv_type_signal=void 4113 ac_cv_type_signal=void
4115 else 4114 else
4116 echo "configure: failed program was:" >&5 4115 echo "configure: failed program was:" >&5
4117 cat conftest.$ac_ext >&5 4116 cat conftest.$ac_ext >&5
4129 EOF 4128 EOF
4130 } 4129 }
4131 4130
4132 4131
4133 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4132 echo $ac_n "checking for size_t""... $ac_c" 1>&6
4134 echo "configure:4135: checking for size_t" >&5 4133 echo "configure:4134: checking for size_t" >&5
4135 4134
4136 cat > conftest.$ac_ext <<EOF 4135 cat > conftest.$ac_ext <<EOF
4137 #line 4138 "configure" 4136 #line 4137 "configure"
4138 #include "confdefs.h" 4137 #include "confdefs.h"
4139 #include <sys/types.h> 4138 #include <sys/types.h>
4140 #if STDC_HEADERS 4139 #if STDC_HEADERS
4141 #include <stdlib.h> 4140 #include <stdlib.h>
4142 #include <stddef.h> 4141 #include <stddef.h>
4163 } 4162 }
4164 4163
4165 fi 4164 fi
4166 4165
4167 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 4166 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
4168 echo "configure:4169: checking for pid_t" >&5 4167 echo "configure:4168: checking for pid_t" >&5
4169 4168
4170 cat > conftest.$ac_ext <<EOF 4169 cat > conftest.$ac_ext <<EOF
4171 #line 4172 "configure" 4170 #line 4171 "configure"
4172 #include "confdefs.h" 4171 #include "confdefs.h"
4173 #include <sys/types.h> 4172 #include <sys/types.h>
4174 #if STDC_HEADERS 4173 #if STDC_HEADERS
4175 #include <stdlib.h> 4174 #include <stdlib.h>
4176 #include <stddef.h> 4175 #include <stddef.h>
4197 } 4196 }
4198 4197
4199 fi 4198 fi
4200 4199
4201 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 4200 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
4202 echo "configure:4203: checking for uid_t in sys/types.h" >&5 4201 echo "configure:4202: checking for uid_t in sys/types.h" >&5
4203 4202
4204 cat > conftest.$ac_ext <<EOF 4203 cat > conftest.$ac_ext <<EOF
4205 #line 4206 "configure" 4204 #line 4205 "configure"
4206 #include "confdefs.h" 4205 #include "confdefs.h"
4207 #include <sys/types.h> 4206 #include <sys/types.h>
4208 EOF 4207 EOF
4209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4210 egrep "uid_t" >/dev/null 2>&1; then 4209 egrep "uid_t" >/dev/null 2>&1; then
4236 } 4235 }
4237 4236
4238 fi 4237 fi
4239 4238
4240 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4239 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4241 echo "configure:4242: checking for mode_t" >&5 4240 echo "configure:4241: checking for mode_t" >&5
4242 4241
4243 cat > conftest.$ac_ext <<EOF 4242 cat > conftest.$ac_ext <<EOF
4244 #line 4245 "configure" 4243 #line 4244 "configure"
4245 #include "confdefs.h" 4244 #include "confdefs.h"
4246 #include <sys/types.h> 4245 #include <sys/types.h>
4247 #if STDC_HEADERS 4246 #if STDC_HEADERS
4248 #include <stdlib.h> 4247 #include <stdlib.h>
4249 #include <stddef.h> 4248 #include <stddef.h>
4270 } 4269 }
4271 4270
4272 fi 4271 fi
4273 4272
4274 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4273 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4275 echo "configure:4276: checking for off_t" >&5 4274 echo "configure:4275: checking for off_t" >&5
4276 4275
4277 cat > conftest.$ac_ext <<EOF 4276 cat > conftest.$ac_ext <<EOF
4278 #line 4279 "configure" 4277 #line 4278 "configure"
4279 #include "confdefs.h" 4278 #include "confdefs.h"
4280 #include <sys/types.h> 4279 #include <sys/types.h>
4281 #if STDC_HEADERS 4280 #if STDC_HEADERS
4282 #include <stdlib.h> 4281 #include <stdlib.h>
4283 #include <stddef.h> 4282 #include <stddef.h>
4304 } 4303 }
4305 4304
4306 fi 4305 fi
4307 4306
4308 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4307 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4309 echo "configure:4310: checking for ssize_t" >&5 4308 echo "configure:4309: checking for ssize_t" >&5
4310 4309
4311 cat > conftest.$ac_ext <<EOF 4310 cat > conftest.$ac_ext <<EOF
4312 #line 4313 "configure" 4311 #line 4312 "configure"
4313 #include "confdefs.h" 4312 #include "confdefs.h"
4314 #include <sys/types.h> 4313 #include <sys/types.h>
4315 #if STDC_HEADERS 4314 #if STDC_HEADERS
4316 #include <stdlib.h> 4315 #include <stdlib.h>
4317 #include <stddef.h> 4316 #include <stddef.h>
4340 fi 4339 fi
4341 4340
4342 4341
4343 if test "$ac_cv_header_inttypes_h" != "yes"; then 4342 if test "$ac_cv_header_inttypes_h" != "yes"; then
4344 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 4343 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6
4345 echo "configure:4346: checking for intptr_t in sys/types.h" >&5 4344 echo "configure:4345: checking for intptr_t in sys/types.h" >&5
4346 cat > conftest.$ac_ext <<EOF 4345 cat > conftest.$ac_ext <<EOF
4347 #line 4348 "configure" 4346 #line 4347 "configure"
4348 #include "confdefs.h" 4347 #include "confdefs.h"
4349 #include <sys/types.h> 4348 #include <sys/types.h>
4350 intptr_t x; 4349 intptr_t x;
4351 4350
4352 int main() { 4351 int main() {
4353 4352
4354 ; return 0; } 4353 ; return 0; }
4355 EOF 4354 EOF
4356 if { (eval echo configure:4357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4355 if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4357 rm -rf conftest* 4356 rm -rf conftest*
4358 echo "$ac_t""yes" 1>&6 4357 echo "$ac_t""yes" 1>&6
4359 { test "$extra_verbose" = "yes" && cat << \EOF 4358 { test "$extra_verbose" = "yes" && cat << \EOF
4360 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 4359 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1
4361 EOF 4360 EOF
4372 fi 4371 fi
4373 rm -f conftest* 4372 rm -f conftest*
4374 fi 4373 fi
4375 4374
4376 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4375 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4377 echo "configure:4378: checking for socklen_t" >&5 4376 echo "configure:4377: checking for socklen_t" >&5
4378 cat > conftest.$ac_ext <<EOF 4377 cat > conftest.$ac_ext <<EOF
4379 #line 4380 "configure" 4378 #line 4379 "configure"
4380 #include "confdefs.h" 4379 #include "confdefs.h"
4381 #include <sys/types.h> 4380 #include <sys/types.h>
4382 #include <sys/socket.h> 4381 #include <sys/socket.h>
4383 socklen_t x; 4382 socklen_t x;
4384 4383
4385 int main() { 4384 int main() {
4386 4385
4387 ; return 0; } 4386 ; return 0; }
4388 EOF 4387 EOF
4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4388 if { (eval echo configure:4389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4390 rm -rf conftest* 4389 rm -rf conftest*
4391 echo "$ac_t""yes" 1>&6 4390 echo "$ac_t""yes" 1>&6
4392 else 4391 else
4393 echo "configure: failed program was:" >&5 4392 echo "configure: failed program was:" >&5
4394 cat conftest.$ac_ext >&5 4393 cat conftest.$ac_ext >&5
4395 rm -rf conftest* 4394 rm -rf conftest*
4396 4395
4397 cat > conftest.$ac_ext <<EOF 4396 cat > conftest.$ac_ext <<EOF
4398 #line 4399 "configure" 4397 #line 4398 "configure"
4399 #include "confdefs.h" 4398 #include "confdefs.h"
4400 #include <sys/types.h> 4399 #include <sys/types.h>
4401 #include <sys/socket.h> 4400 #include <sys/socket.h>
4402 int accept (int, struct sockaddr *, size_t *); 4401 int accept (int, struct sockaddr *, size_t *);
4403 4402
4404 int main() { 4403 int main() {
4405 4404
4406 ; return 0; } 4405 ; return 0; }
4407 EOF 4406 EOF
4408 if { (eval echo configure:4409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4407 if { (eval echo configure:4408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4409 rm -rf conftest* 4408 rm -rf conftest*
4410 4409
4411 echo "$ac_t""size_t" 1>&6 4410 echo "$ac_t""size_t" 1>&6
4412 { test "$extra_verbose" = "yes" && cat << \EOF 4411 { test "$extra_verbose" = "yes" && cat << \EOF
4413 Defining socklen_t = size_t 4412 Defining socklen_t = size_t
4435 rm -f conftest* 4434 rm -f conftest*
4436 fi 4435 fi
4437 rm -f conftest* 4436 rm -f conftest*
4438 4437
4439 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4438 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4440 echo "configure:4441: checking for struct timeval" >&5 4439 echo "configure:4440: checking for struct timeval" >&5
4441 cat > conftest.$ac_ext <<EOF 4440 cat > conftest.$ac_ext <<EOF
4442 #line 4443 "configure" 4441 #line 4442 "configure"
4443 #include "confdefs.h" 4442 #include "confdefs.h"
4444 #ifdef TIME_WITH_SYS_TIME 4443 #ifdef TIME_WITH_SYS_TIME
4445 #include <sys/time.h> 4444 #include <sys/time.h>
4446 #include <time.h> 4445 #include <time.h>
4447 #else 4446 #else
4453 #endif 4452 #endif
4454 int main() { 4453 int main() {
4455 static struct timeval x; x.tv_sec = x.tv_usec; 4454 static struct timeval x; x.tv_sec = x.tv_usec;
4456 ; return 0; } 4455 ; return 0; }
4457 EOF 4456 EOF
4458 if { (eval echo configure:4459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4457 if { (eval echo configure:4458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4459 rm -rf conftest* 4458 rm -rf conftest*
4460 echo "$ac_t""yes" 1>&6 4459 echo "$ac_t""yes" 1>&6
4461 HAVE_TIMEVAL=yes 4460 HAVE_TIMEVAL=yes
4462 { test "$extra_verbose" = "yes" && cat << \EOF 4461 { test "$extra_verbose" = "yes" && cat << \EOF
4463 Defining HAVE_TIMEVAL 4462 Defining HAVE_TIMEVAL
4475 HAVE_TIMEVAL=no 4474 HAVE_TIMEVAL=no
4476 fi 4475 fi
4477 rm -f conftest* 4476 rm -f conftest*
4478 4477
4479 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4478 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4480 echo "configure:4481: checking whether struct tm is in sys/time.h or time.h" >&5 4479 echo "configure:4480: checking whether struct tm is in sys/time.h or time.h" >&5
4481 4480
4482 cat > conftest.$ac_ext <<EOF 4481 cat > conftest.$ac_ext <<EOF
4483 #line 4484 "configure" 4482 #line 4483 "configure"
4484 #include "confdefs.h" 4483 #include "confdefs.h"
4485 #include <sys/types.h> 4484 #include <sys/types.h>
4486 #include <time.h> 4485 #include <time.h>
4487 int main() { 4486 int main() {
4488 struct tm *tp; tp->tm_sec; 4487 struct tm *tp; tp->tm_sec;
4489 ; return 0; } 4488 ; return 0; }
4490 EOF 4489 EOF
4491 if { (eval echo configure:4492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4490 if { (eval echo configure:4491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4492 rm -rf conftest* 4491 rm -rf conftest*
4493 ac_cv_struct_tm=time.h 4492 ac_cv_struct_tm=time.h
4494 else 4493 else
4495 echo "configure: failed program was:" >&5 4494 echo "configure: failed program was:" >&5
4496 cat conftest.$ac_ext >&5 4495 cat conftest.$ac_ext >&5
4510 } 4509 }
4511 4510
4512 fi 4511 fi
4513 4512
4514 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4513 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4515 echo "configure:4516: checking for tm_zone in struct tm" >&5 4514 echo "configure:4515: checking for tm_zone in struct tm" >&5
4516 4515
4517 cat > conftest.$ac_ext <<EOF 4516 cat > conftest.$ac_ext <<EOF
4518 #line 4519 "configure" 4517 #line 4518 "configure"
4519 #include "confdefs.h" 4518 #include "confdefs.h"
4520 #include <sys/types.h> 4519 #include <sys/types.h>
4521 #include <$ac_cv_struct_tm> 4520 #include <$ac_cv_struct_tm>
4522 int main() { 4521 int main() {
4523 struct tm tm; tm.tm_zone; 4522 struct tm tm; tm.tm_zone;
4524 ; return 0; } 4523 ; return 0; }
4525 EOF 4524 EOF
4526 if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4525 if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4527 rm -rf conftest* 4526 rm -rf conftest*
4528 ac_cv_struct_tm_zone=yes 4527 ac_cv_struct_tm_zone=yes
4529 else 4528 else
4530 echo "configure: failed program was:" >&5 4529 echo "configure: failed program was:" >&5
4531 cat conftest.$ac_ext >&5 4530 cat conftest.$ac_ext >&5
4544 EOF 4543 EOF
4545 } 4544 }
4546 4545
4547 else 4546 else
4548 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4547 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4549 echo "configure:4550: checking for tzname" >&5 4548 echo "configure:4549: checking for tzname" >&5
4550 4549
4551 cat > conftest.$ac_ext <<EOF 4550 cat > conftest.$ac_ext <<EOF
4552 #line 4553 "configure" 4551 #line 4552 "configure"
4553 #include "confdefs.h" 4552 #include "confdefs.h"
4554 #include <time.h> 4553 #include <time.h>
4555 #ifndef tzname /* For SGI. */ 4554 #ifndef tzname /* For SGI. */
4556 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4555 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4557 #endif 4556 #endif
4558 int main() { 4557 int main() {
4559 atoi(*tzname); 4558 atoi(*tzname);
4560 ; return 0; } 4559 ; return 0; }
4561 EOF 4560 EOF
4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4563 rm -rf conftest* 4562 rm -rf conftest*
4564 ac_cv_var_tzname=yes 4563 ac_cv_var_tzname=yes
4565 else 4564 else
4566 echo "configure: failed program was:" >&5 4565 echo "configure: failed program was:" >&5
4567 cat conftest.$ac_ext >&5 4566 cat conftest.$ac_ext >&5
4583 fi 4582 fi
4584 fi 4583 fi
4585 4584
4586 4585
4587 echo $ac_n "checking for working const""... $ac_c" 1>&6 4586 echo $ac_n "checking for working const""... $ac_c" 1>&6
4588 echo "configure:4589: checking for working const" >&5 4587 echo "configure:4588: checking for working const" >&5
4589 4588
4590 cat > conftest.$ac_ext <<EOF 4589 cat > conftest.$ac_ext <<EOF
4591 #line 4592 "configure" 4590 #line 4591 "configure"
4592 #include "confdefs.h" 4591 #include "confdefs.h"
4593 4592
4594 int main() { 4593 int main() {
4595 4594
4596 /* Ultrix mips cc rejects this. */ 4595 /* Ultrix mips cc rejects this. */
4635 const int foo = 10; 4634 const int foo = 10;
4636 } 4635 }
4637 4636
4638 ; return 0; } 4637 ; return 0; }
4639 EOF 4638 EOF
4640 if { (eval echo configure:4641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4639 if { (eval echo configure:4640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4641 rm -rf conftest* 4640 rm -rf conftest*
4642 ac_cv_c_const=yes 4641 ac_cv_c_const=yes
4643 else 4642 else
4644 echo "configure: failed program was:" >&5 4643 echo "configure: failed program was:" >&5
4645 cat conftest.$ac_ext >&5 4644 cat conftest.$ac_ext >&5
4660 4659
4661 fi 4660 fi
4662 4661
4663 4662
4664 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 4663 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
4665 echo "configure:4666: checking whether ${MAKE-make} sets \${MAKE}" >&5 4664 echo "configure:4665: checking whether ${MAKE-make} sets \${MAKE}" >&5
4666 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4665 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4667 4666
4668 cat > conftestmake <<\EOF 4667 cat > conftestmake <<\EOF
4669 all: 4668 all:
4670 @echo 'ac_maketemp="${MAKE}"' 4669 @echo 'ac_maketemp="${MAKE}"'
4685 SET_MAKE="MAKE=${MAKE-make}" 4684 SET_MAKE="MAKE=${MAKE-make}"
4686 fi 4685 fi
4687 4686
4688 4687
4689 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4688 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4690 echo "configure:4691: checking whether byte ordering is bigendian" >&5 4689 echo "configure:4690: checking whether byte ordering is bigendian" >&5
4691 4690
4692 ac_cv_c_bigendian=unknown 4691 ac_cv_c_bigendian=unknown
4693 # See if sys/param.h defines the BYTE_ORDER macro. 4692 # See if sys/param.h defines the BYTE_ORDER macro.
4694 cat > conftest.$ac_ext <<EOF 4693 cat > conftest.$ac_ext <<EOF
4695 #line 4696 "configure" 4694 #line 4695 "configure"
4696 #include "confdefs.h" 4695 #include "confdefs.h"
4697 #include <sys/types.h> 4696 #include <sys/types.h>
4698 #include <sys/param.h> 4697 #include <sys/param.h>
4699 int main() { 4698 int main() {
4700 4699
4701 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4702 bogus endian macros 4701 bogus endian macros
4703 #endif 4702 #endif
4704 ; return 0; } 4703 ; return 0; }
4705 EOF 4704 EOF
4706 if { (eval echo configure:4707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4705 if { (eval echo configure:4706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4707 rm -rf conftest* 4706 rm -rf conftest*
4708 # It does; now see whether it defined to BIG_ENDIAN or not. 4707 # It does; now see whether it defined to BIG_ENDIAN or not.
4709 cat > conftest.$ac_ext <<EOF 4708 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure" 4709 #line 4710 "configure"
4711 #include "confdefs.h" 4710 #include "confdefs.h"
4712 #include <sys/types.h> 4711 #include <sys/types.h>
4713 #include <sys/param.h> 4712 #include <sys/param.h>
4714 int main() { 4713 int main() {
4715 4714
4716 #if BYTE_ORDER != BIG_ENDIAN 4715 #if BYTE_ORDER != BIG_ENDIAN
4717 not big endian 4716 not big endian
4718 #endif 4717 #endif
4719 ; return 0; } 4718 ; return 0; }
4720 EOF 4719 EOF
4721 if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4720 if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4722 rm -rf conftest* 4721 rm -rf conftest*
4723 ac_cv_c_bigendian=yes 4722 ac_cv_c_bigendian=yes
4724 else 4723 else
4725 echo "configure: failed program was:" >&5 4724 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5 4725 cat conftest.$ac_ext >&5
4733 cat conftest.$ac_ext >&5 4732 cat conftest.$ac_ext >&5
4734 fi 4733 fi
4735 rm -f conftest* 4734 rm -f conftest*
4736 if test $ac_cv_c_bigendian = unknown; then 4735 if test $ac_cv_c_bigendian = unknown; then
4737 cat > conftest.$ac_ext <<EOF 4736 cat > conftest.$ac_ext <<EOF
4738 #line 4739 "configure" 4737 #line 4738 "configure"
4739 #include "confdefs.h" 4738 #include "confdefs.h"
4740 main () { 4739 main () {
4741 /* Are we little or big endian? From Harbison&Steele. */ 4740 /* Are we little or big endian? From Harbison&Steele. */
4742 union 4741 union
4743 { 4742 {
4746 } u; 4745 } u;
4747 u.l = 1; 4746 u.l = 1;
4748 exit (u.c[sizeof (long) - 1] == 1); 4747 exit (u.c[sizeof (long) - 1] == 1);
4749 } 4748 }
4750 EOF 4749 EOF
4751 if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4752 then 4751 then
4753 ac_cv_c_bigendian=no 4752 ac_cv_c_bigendian=no
4754 else 4753 else
4755 conftest_rc="$?" 4754 conftest_rc="$?"
4756 echo "configure: failed program was:" >&5 4755 echo "configure: failed program was:" >&5
4773 4772
4774 fi 4773 fi
4775 4774
4776 4775
4777 echo $ac_n "checking size of short""... $ac_c" 1>&6 4776 echo $ac_n "checking size of short""... $ac_c" 1>&6
4778 echo "configure:4779: checking size of short" >&5 4777 echo "configure:4778: checking size of short" >&5
4779 4778
4780 cat > conftest.$ac_ext <<EOF 4779 cat > conftest.$ac_ext <<EOF
4781 #line 4782 "configure" 4780 #line 4781 "configure"
4782 #include "confdefs.h" 4781 #include "confdefs.h"
4783 #include <stdio.h> 4782 #include <stdio.h>
4784 int main() 4783 int main()
4785 { 4784 {
4786 FILE *f=fopen("conftestval", "w"); 4785 FILE *f=fopen("conftestval", "w");
4787 if (!f) return(1); 4786 if (!f) return(1);
4788 fprintf(f, "%d\n", sizeof(short)); 4787 fprintf(f, "%d\n", sizeof(short));
4789 return(0); 4788 return(0);
4790 } 4789 }
4791 EOF 4790 EOF
4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4793 then 4792 then
4794 ac_cv_sizeof_short=`cat conftestval` 4793 ac_cv_sizeof_short=`cat conftestval`
4795 else 4794 else
4796 conftest_rc="$?" 4795 conftest_rc="$?"
4797 echo "configure: failed program was:" >&5 4796 echo "configure: failed program was:" >&5
4815 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4814 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4816 echo "*** PANIC *** Please examine config.log for compilation errors." 4815 echo "*** PANIC *** Please examine config.log for compilation errors."
4817 exit 1 4816 exit 1
4818 fi 4817 fi
4819 echo $ac_n "checking size of int""... $ac_c" 1>&6 4818 echo $ac_n "checking size of int""... $ac_c" 1>&6
4820 echo "configure:4821: checking size of int" >&5 4819 echo "configure:4820: checking size of int" >&5
4821 4820
4822 cat > conftest.$ac_ext <<EOF 4821 cat > conftest.$ac_ext <<EOF
4823 #line 4824 "configure" 4822 #line 4823 "configure"
4824 #include "confdefs.h" 4823 #include "confdefs.h"
4825 #include <stdio.h> 4824 #include <stdio.h>
4826 int main() 4825 int main()
4827 { 4826 {
4828 FILE *f=fopen("conftestval", "w"); 4827 FILE *f=fopen("conftestval", "w");
4829 if (!f) return(1); 4828 if (!f) return(1);
4830 fprintf(f, "%d\n", sizeof(int)); 4829 fprintf(f, "%d\n", sizeof(int));
4831 return(0); 4830 return(0);
4832 } 4831 }
4833 EOF 4832 EOF
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4835 then 4834 then
4836 ac_cv_sizeof_int=`cat conftestval` 4835 ac_cv_sizeof_int=`cat conftestval`
4837 else 4836 else
4838 conftest_rc="$?" 4837 conftest_rc="$?"
4839 echo "configure: failed program was:" >&5 4838 echo "configure: failed program was:" >&5
4851 EOF 4850 EOF
4852 } 4851 }
4853 4852
4854 4853
4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 4854 echo $ac_n "checking size of long""... $ac_c" 1>&6
4856 echo "configure:4857: checking size of long" >&5 4855 echo "configure:4856: checking size of long" >&5
4857 4856
4858 cat > conftest.$ac_ext <<EOF 4857 cat > conftest.$ac_ext <<EOF
4859 #line 4860 "configure" 4858 #line 4859 "configure"
4860 #include "confdefs.h" 4859 #include "confdefs.h"
4861 #include <stdio.h> 4860 #include <stdio.h>
4862 int main() 4861 int main()
4863 { 4862 {
4864 FILE *f=fopen("conftestval", "w"); 4863 FILE *f=fopen("conftestval", "w");
4865 if (!f) return(1); 4864 if (!f) return(1);
4866 fprintf(f, "%d\n", sizeof(long)); 4865 fprintf(f, "%d\n", sizeof(long));
4867 return(0); 4866 return(0);
4868 } 4867 }
4869 EOF 4868 EOF
4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4869 if { (eval echo configure:4870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4871 then 4870 then
4872 ac_cv_sizeof_long=`cat conftestval` 4871 ac_cv_sizeof_long=`cat conftestval`
4873 else 4872 else
4874 conftest_rc="$?" 4873 conftest_rc="$?"
4875 echo "configure: failed program was:" >&5 4874 echo "configure: failed program was:" >&5
4887 EOF 4886 EOF
4888 } 4887 }
4889 4888
4890 4889
4891 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4890 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4892 echo "configure:4893: checking size of long long" >&5 4891 echo "configure:4892: checking size of long long" >&5
4893 4892
4894 cat > conftest.$ac_ext <<EOF 4893 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure" 4894 #line 4895 "configure"
4896 #include "confdefs.h" 4895 #include "confdefs.h"
4897 #include <stdio.h> 4896 #include <stdio.h>
4898 int main() 4897 int main()
4899 { 4898 {
4900 FILE *f=fopen("conftestval", "w"); 4899 FILE *f=fopen("conftestval", "w");
4901 if (!f) return(1); 4900 if (!f) return(1);
4902 fprintf(f, "%d\n", sizeof(long long)); 4901 fprintf(f, "%d\n", sizeof(long long));
4903 return(0); 4902 return(0);
4904 } 4903 }
4905 EOF 4904 EOF
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4905 if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4907 then 4906 then
4908 ac_cv_sizeof_long_long=`cat conftestval` 4907 ac_cv_sizeof_long_long=`cat conftestval`
4909 else 4908 else
4910 conftest_rc="$?" 4909 conftest_rc="$?"
4911 echo "configure: failed program was:" >&5 4910 echo "configure: failed program was:" >&5
4923 EOF 4922 EOF
4924 } 4923 }
4925 4924
4926 4925
4927 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4926 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4928 echo "configure:4929: checking size of void *" >&5 4927 echo "configure:4928: checking size of void *" >&5
4929 4928
4930 cat > conftest.$ac_ext <<EOF 4929 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure" 4930 #line 4931 "configure"
4932 #include "confdefs.h" 4931 #include "confdefs.h"
4933 #include <stdio.h> 4932 #include <stdio.h>
4934 int main() 4933 int main()
4935 { 4934 {
4936 FILE *f=fopen("conftestval", "w"); 4935 FILE *f=fopen("conftestval", "w");
4937 if (!f) return(1); 4936 if (!f) return(1);
4938 fprintf(f, "%d\n", sizeof(void *)); 4937 fprintf(f, "%d\n", sizeof(void *));
4939 return(0); 4938 return(0);
4940 } 4939 }
4941 EOF 4940 EOF
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4943 then 4942 then
4944 ac_cv_sizeof_void_p=`cat conftestval` 4943 ac_cv_sizeof_void_p=`cat conftestval`
4945 else 4944 else
4946 conftest_rc="$?" 4945 conftest_rc="$?"
4947 echo "configure: failed program was:" >&5 4946 echo "configure: failed program was:" >&5
4959 EOF 4958 EOF
4960 } 4959 }
4961 4960
4962 4961
4963 echo $ac_n "checking size of double""... $ac_c" 1>&6 4962 echo $ac_n "checking size of double""... $ac_c" 1>&6
4964 echo "configure:4965: checking size of double" >&5 4963 echo "configure:4964: checking size of double" >&5
4965 4964
4966 cat > conftest.$ac_ext <<EOF 4965 cat > conftest.$ac_ext <<EOF
4967 #line 4968 "configure" 4966 #line 4967 "configure"
4968 #include "confdefs.h" 4967 #include "confdefs.h"
4969 #include <stdio.h> 4968 #include <stdio.h>
4970 int main() 4969 int main()
4971 { 4970 {
4972 FILE *f=fopen("conftestval", "w"); 4971 FILE *f=fopen("conftestval", "w");
4973 if (!f) return(1); 4972 if (!f) return(1);
4974 fprintf(f, "%d\n", sizeof(double)); 4973 fprintf(f, "%d\n", sizeof(double));
4975 return(0); 4974 return(0);
4976 } 4975 }
4977 EOF 4976 EOF
4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4979 then 4978 then
4980 ac_cv_sizeof_double=`cat conftestval` 4979 ac_cv_sizeof_double=`cat conftestval`
4981 else 4980 else
4982 conftest_rc="$?" 4981 conftest_rc="$?"
4983 echo "configure: failed program was:" >&5 4982 echo "configure: failed program was:" >&5
4996 } 4995 }
4997 4996
4998 4997
4999 4998
5000 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4999 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5001 echo "configure:5002: checking for long file names" >&5 5000 echo "configure:5001: checking for long file names" >&5
5002 5001
5003 ac_cv_sys_long_file_names=yes 5002 ac_cv_sys_long_file_names=yes
5004 # Test for long file names in all the places we know might matter: 5003 # Test for long file names in all the places we know might matter:
5005 # . the current directory, where building will happen 5004 # . the current directory, where building will happen
5006 # $prefix/lib where we will be installing things 5005 # $prefix/lib where we will be installing things
5042 5041
5043 fi 5042 fi
5044 5043
5045 5044
5046 echo $ac_n "checking for sin""... $ac_c" 1>&6 5045 echo $ac_n "checking for sin""... $ac_c" 1>&6
5047 echo "configure:5048: checking for sin" >&5 5046 echo "configure:5047: checking for sin" >&5
5048 5047
5049 cat > conftest.$ac_ext <<EOF 5048 cat > conftest.$ac_ext <<EOF
5050 #line 5051 "configure" 5049 #line 5050 "configure"
5051 #include "confdefs.h" 5050 #include "confdefs.h"
5052 /* System header to define __stub macros and hopefully few prototypes, 5051 /* System header to define __stub macros and hopefully few prototypes,
5053 which can conflict with char sin(); below. */ 5052 which can conflict with char sin(); below. */
5054 #include <assert.h> 5053 #include <assert.h>
5055 /* Override any gcc2 internal prototype to avoid an error. */ 5054 /* Override any gcc2 internal prototype to avoid an error. */
5068 sin(); 5067 sin();
5069 #endif 5068 #endif
5070 5069
5071 ; return 0; } 5070 ; return 0; }
5072 EOF 5071 EOF
5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5074 rm -rf conftest* 5073 rm -rf conftest*
5075 eval "ac_cv_func_sin=yes" 5074 eval "ac_cv_func_sin=yes"
5076 else 5075 else
5077 echo "configure: failed program was:" >&5 5076 echo "configure: failed program was:" >&5
5078 cat conftest.$ac_ext >&5 5077 cat conftest.$ac_ext >&5
5086 : 5085 :
5087 else 5086 else
5088 echo "$ac_t""no" 1>&6 5087 echo "$ac_t""no" 1>&6
5089 5088
5090 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5089 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5091 echo "configure:5092: checking for sin in -lm" >&5 5090 echo "configure:5091: checking for sin in -lm" >&5
5092 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5091 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5093 5092
5094 xe_check_libs=" -lm " 5093 xe_check_libs=" -lm "
5095 cat > conftest.$ac_ext <<EOF 5094 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure" 5095 #line 5096 "configure"
5097 #include "confdefs.h" 5096 #include "confdefs.h"
5098 /* Override any gcc2 internal prototype to avoid an error. */ 5097 /* Override any gcc2 internal prototype to avoid an error. */
5099 /* We use char because int might match the return type of a gcc2 5098 /* We use char because int might match the return type of a gcc2
5100 builtin and then its argument prototype would still apply. */ 5099 builtin and then its argument prototype would still apply. */
5101 char sin(); 5100 char sin();
5102 5101
5103 int main() { 5102 int main() {
5104 sin() 5103 sin()
5105 ; return 0; } 5104 ; return 0; }
5106 EOF 5105 EOF
5107 if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5106 if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5108 rm -rf conftest* 5107 rm -rf conftest*
5109 eval "ac_cv_lib_$ac_lib_var=yes" 5108 eval "ac_cv_lib_$ac_lib_var=yes"
5110 else 5109 else
5111 echo "configure: failed program was:" >&5 5110 echo "configure: failed program was:" >&5
5112 cat conftest.$ac_ext >&5 5111 cat conftest.$ac_ext >&5
5137 5136
5138 fi 5137 fi
5139 5138
5140 5139
5141 cat > conftest.$ac_ext <<EOF 5140 cat > conftest.$ac_ext <<EOF
5142 #line 5143 "configure" 5141 #line 5142 "configure"
5143 #include "confdefs.h" 5142 #include "confdefs.h"
5144 #include <math.h> 5143 #include <math.h>
5145 int main() { 5144 int main() {
5146 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5145 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5147 ; return 0; } 5146 ; return 0; }
5148 EOF 5147 EOF
5149 if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5148 if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5150 rm -rf conftest* 5149 rm -rf conftest*
5151 { test "$extra_verbose" = "yes" && cat << \EOF 5150 { test "$extra_verbose" = "yes" && cat << \EOF
5152 Defining HAVE_INVERSE_HYPERBOLIC 5151 Defining HAVE_INVERSE_HYPERBOLIC
5153 EOF 5152 EOF
5154 cat >> confdefs.h <<\EOF 5153 cat >> confdefs.h <<\EOF
5163 rm -f conftest* 5162 rm -f conftest*
5164 5163
5165 for ac_func in mkstemp 5164 for ac_func in mkstemp
5166 do 5165 do
5167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5168 echo "configure:5169: checking for $ac_func" >&5 5167 echo "configure:5168: checking for $ac_func" >&5
5169 5168
5170 cat > conftest.$ac_ext <<EOF 5169 cat > conftest.$ac_ext <<EOF
5171 #line 5172 "configure" 5170 #line 5171 "configure"
5172 #include "confdefs.h" 5171 #include "confdefs.h"
5173 /* System header to define __stub macros and hopefully few prototypes, 5172 /* System header to define __stub macros and hopefully few prototypes,
5174 which can conflict with char $ac_func(); below. */ 5173 which can conflict with char $ac_func(); below. */
5175 #include <assert.h> 5174 #include <assert.h>
5176 /* Override any gcc2 internal prototype to avoid an error. */ 5175 /* Override any gcc2 internal prototype to avoid an error. */
5189 $ac_func(); 5188 $ac_func();
5190 #endif 5189 #endif
5191 5190
5192 ; return 0; } 5191 ; return 0; }
5193 EOF 5192 EOF
5194 if { (eval echo configure:5195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5193 if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5195 rm -rf conftest* 5194 rm -rf conftest*
5196 eval "ac_cv_func_$ac_func=yes" 5195 eval "ac_cv_func_$ac_func=yes"
5197 else 5196 else
5198 echo "configure: failed program was:" >&5 5197 echo "configure: failed program was:" >&5
5199 cat conftest.$ac_ext >&5 5198 cat conftest.$ac_ext >&5
5218 fi 5217 fi
5219 done 5218 done
5220 5219
5221 5220
5222 echo "checking type of mail spool file locking" 1>&6 5221 echo "checking type of mail spool file locking" 1>&6
5223 echo "configure:5224: checking type of mail spool file locking" >&5 5222 echo "configure:5223: checking type of mail spool file locking" >&5
5224 for ac_func in lockf flock 5223 for ac_func in lockf flock
5225 do 5224 do
5226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5227 echo "configure:5228: checking for $ac_func" >&5 5226 echo "configure:5227: checking for $ac_func" >&5
5228 5227
5229 cat > conftest.$ac_ext <<EOF 5228 cat > conftest.$ac_ext <<EOF
5230 #line 5231 "configure" 5229 #line 5230 "configure"
5231 #include "confdefs.h" 5230 #include "confdefs.h"
5232 /* System header to define __stub macros and hopefully few prototypes, 5231 /* System header to define __stub macros and hopefully few prototypes,
5233 which can conflict with char $ac_func(); below. */ 5232 which can conflict with char $ac_func(); below. */
5234 #include <assert.h> 5233 #include <assert.h>
5235 /* Override any gcc2 internal prototype to avoid an error. */ 5234 /* Override any gcc2 internal prototype to avoid an error. */
5248 $ac_func(); 5247 $ac_func();
5249 #endif 5248 #endif
5250 5249
5251 ; return 0; } 5250 ; return 0; }
5252 EOF 5251 EOF
5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5252 if { (eval echo configure:5253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5254 rm -rf conftest* 5253 rm -rf conftest*
5255 eval "ac_cv_func_$ac_func=yes" 5254 eval "ac_cv_func_$ac_func=yes"
5256 else 5255 else
5257 echo "configure: failed program was:" >&5 5256 echo "configure: failed program was:" >&5
5258 cat conftest.$ac_ext >&5 5257 cat conftest.$ac_ext >&5
5330 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5329 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5331 5330
5332 case "$opsys" in decosf*) 5331 case "$opsys" in decosf*)
5333 5332
5334 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5333 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5335 echo "configure:5336: checking for cma_open in -lpthreads" >&5 5334 echo "configure:5335: checking for cma_open in -lpthreads" >&5
5336 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5335 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5337 5336
5338 xe_check_libs=" -lpthreads " 5337 xe_check_libs=" -lpthreads "
5339 cat > conftest.$ac_ext <<EOF 5338 cat > conftest.$ac_ext <<EOF
5340 #line 5341 "configure" 5339 #line 5340 "configure"
5341 #include "confdefs.h" 5340 #include "confdefs.h"
5342 /* Override any gcc2 internal prototype to avoid an error. */ 5341 /* Override any gcc2 internal prototype to avoid an error. */
5343 /* We use char because int might match the return type of a gcc2 5342 /* We use char because int might match the return type of a gcc2
5344 builtin and then its argument prototype would still apply. */ 5343 builtin and then its argument prototype would still apply. */
5345 char cma_open(); 5344 char cma_open();
5346 5345
5347 int main() { 5346 int main() {
5348 cma_open() 5347 cma_open()
5349 ; return 0; } 5348 ; return 0; }
5350 EOF 5349 EOF
5351 if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5350 if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5352 rm -rf conftest* 5351 rm -rf conftest*
5353 eval "ac_cv_lib_$ac_lib_var=yes" 5352 eval "ac_cv_lib_$ac_lib_var=yes"
5354 else 5353 else
5355 echo "configure: failed program was:" >&5 5354 echo "configure: failed program was:" >&5
5356 cat conftest.$ac_ext >&5 5355 cat conftest.$ac_ext >&5
5383 c_switch_site="$c_switch_site -threads" ;; 5382 c_switch_site="$c_switch_site -threads" ;;
5384 esac 5383 esac
5385 5384
5386 5385
5387 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5386 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5388 echo "configure:5389: checking whether the -xildoff compiler flag is required" >&5 5387 echo "configure:5388: checking whether the -xildoff compiler flag is required" >&5
5389 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5388 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5390 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5389 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5391 then echo "$ac_t""no" 1>&6; 5390 then echo "$ac_t""no" 1>&6;
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 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
5393 fi 5392 fi
5395 fi 5394 fi
5396 5395
5397 if test "$opsys" = "sol2"; then 5396 if test "$opsys" = "sol2"; then
5398 if test "$os_release" -ge 506; then 5397 if test "$os_release" -ge 506; then
5399 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5398 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5400 echo "configure:5401: checking for \"-z ignore\" linker flag" >&5 5399 echo "configure:5400: checking for \"-z ignore\" linker flag" >&5
5401 case "`ld -h 2>&1`" in 5400 case "`ld -h 2>&1`" in
5402 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5401 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
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 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5404 *) echo "$ac_t""no" 1>&6 ;; 5403 *) echo "$ac_t""no" 1>&6 ;;
5405 esac 5404 esac
5406 fi 5405 fi
5407 fi 5406 fi
5408 5407
5409 5408
5410 echo "checking "for specified window system"" 1>&6 5409 echo "checking "for specified window system"" 1>&6
5411 echo "configure:5412: checking "for specified window system"" >&5 5410 echo "configure:5411: checking "for specified window system"" >&5
5412 5411
5413 5412
5414 GNOME_CONFIG=no 5413 GNOME_CONFIG=no
5415 GTK_CONFIG=no 5414 GTK_CONFIG=no
5416 5415
5417 if test "$with_gnome" != "no"; then 5416 if test "$with_gnome" != "no"; then
5418 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5417 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5419 echo "configure:5420: checking for GNOME configuration script" >&5 5418 echo "configure:5419: checking for GNOME configuration script" >&5
5420 for possible in gnome-config 5419 for possible in gnome-config
5421 do 5420 do
5422 possible_version=`${possible} --version 2> /dev/null` 5421 possible_version=`${possible} --version 2> /dev/null`
5423 if test "x${possible_version}" != "x"; then 5422 if test "x${possible_version}" != "x"; then
5424 GNOME_CONFIG="${possible}" 5423 GNOME_CONFIG="${possible}"
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 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5446 fi 5445 fi
5447 5446
5448 if test "$with_gtk" != "no";then 5447 if test "$with_gtk" != "no";then
5449 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5448 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5450 echo "configure:5451: checking for GTK configuration script" >&5 5449 echo "configure:5450: checking for GTK configuration script" >&5
5451 for possible in gtk12-config gtk14-config gtk-config 5450 for possible in gtk12-config gtk14-config gtk-config
5452 do 5451 do
5453 possible_version=`${possible} --version 2> /dev/null` 5452 possible_version=`${possible} --version 2> /dev/null`
5454 if test "x${possible_version}" != "x"; then 5453 if test "x${possible_version}" != "x"; then
5455 GTK_CONFIG="${possible}" 5454 GTK_CONFIG="${possible}"
5467 echo "$ac_t""${GTK_CONFIG}" 1>&6 5466 echo "$ac_t""${GTK_CONFIG}" 1>&6
5468 fi 5467 fi
5469 5468
5470 if test "${GTK_CONFIG}" != "no"; then 5469 if test "${GTK_CONFIG}" != "no"; then
5471 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5470 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5472 echo "configure:5473: checking gtk version" >&5 5471 echo "configure:5472: checking gtk version" >&5
5473 GTK_VERSION=`${GTK_CONFIG} --version` 5472 GTK_VERSION=`${GTK_CONFIG} --version`
5474 echo "$ac_t""${GTK_VERSION}" 1>&6 5473 echo "$ac_t""${GTK_VERSION}" 1>&6
5475 5474
5476 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5475 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5477 echo "configure:5478: checking gtk libs" >&5 5476 echo "configure:5477: checking gtk libs" >&5
5478 GTK_LIBS=`${GTK_CONFIG} --libs` 5477 GTK_LIBS=`${GTK_CONFIG} --libs`
5479 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5478 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5480 echo "$ac_t""${GTK_LIBS}" 1>&6 5479 echo "$ac_t""${GTK_LIBS}" 1>&6
5481 5480
5482 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5481 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5483 echo "configure:5484: checking gtk cflags" >&5 5482 echo "configure:5483: checking gtk cflags" >&5
5484 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5483 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5485 if test "$GCC" = "yes"; then 5484 if test "$GCC" = "yes"; then
5486 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5485 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5487 fi 5486 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 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5489 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5488 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5490 5489
5491 5490
5492 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5491 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5493 echo "configure:5494: checking for main in -lgdk_imlib" >&5 5492 echo "configure:5493: checking for main in -lgdk_imlib" >&5
5494 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5493 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5495 5494
5496 xe_check_libs=" -lgdk_imlib " 5495 xe_check_libs=" -lgdk_imlib "
5497 cat > conftest.$ac_ext <<EOF 5496 cat > conftest.$ac_ext <<EOF
5498 #line 5499 "configure" 5497 #line 5498 "configure"
5499 #include "confdefs.h" 5498 #include "confdefs.h"
5500 5499
5501 int main() { 5500 int main() {
5502 main() 5501 main()
5503 ; return 0; } 5502 ; return 0; }
5504 EOF 5503 EOF
5505 if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5504 if { (eval echo configure:5505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5506 rm -rf conftest* 5505 rm -rf conftest*
5507 eval "ac_cv_lib_$ac_lib_var=yes" 5506 eval "ac_cv_lib_$ac_lib_var=yes"
5508 else 5507 else
5509 echo "configure: failed program was:" >&5 5508 echo "configure: failed program was:" >&5
5510 cat conftest.$ac_ext >&5 5509 cat conftest.$ac_ext >&5
5522 fi 5521 fi
5523 5522
5524 5523
5525 5524
5526 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5525 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5527 echo "configure:5528: checking for Imlib_init in -lImlib" >&5 5526 echo "configure:5527: checking for Imlib_init in -lImlib" >&5
5528 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5527 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5529 5528
5530 xe_check_libs=" -lImlib " 5529 xe_check_libs=" -lImlib "
5531 cat > conftest.$ac_ext <<EOF 5530 cat > conftest.$ac_ext <<EOF
5532 #line 5533 "configure" 5531 #line 5532 "configure"
5533 #include "confdefs.h" 5532 #include "confdefs.h"
5534 /* Override any gcc2 internal prototype to avoid an error. */ 5533 /* Override any gcc2 internal prototype to avoid an error. */
5535 /* We use char because int might match the return type of a gcc2 5534 /* We use char because int might match the return type of a gcc2
5536 builtin and then its argument prototype would still apply. */ 5535 builtin and then its argument prototype would still apply. */
5537 char Imlib_init(); 5536 char Imlib_init();
5538 5537
5539 int main() { 5538 int main() {
5540 Imlib_init() 5539 Imlib_init()
5541 ; return 0; } 5540 ; return 0; }
5542 EOF 5541 EOF
5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5544 rm -rf conftest* 5543 rm -rf conftest*
5545 eval "ac_cv_lib_$ac_lib_var=yes" 5544 eval "ac_cv_lib_$ac_lib_var=yes"
5546 else 5545 else
5547 echo "configure: failed program was:" >&5 5546 echo "configure: failed program was:" >&5
5548 cat conftest.$ac_ext >&5 5547 cat conftest.$ac_ext >&5
5561 5560
5562 5561
5563 for ac_func in gdk_imlib_init 5562 for ac_func in gdk_imlib_init
5564 do 5563 do
5565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5566 echo "configure:5567: checking for $ac_func" >&5 5565 echo "configure:5566: checking for $ac_func" >&5
5567 5566
5568 cat > conftest.$ac_ext <<EOF 5567 cat > conftest.$ac_ext <<EOF
5569 #line 5570 "configure" 5568 #line 5569 "configure"
5570 #include "confdefs.h" 5569 #include "confdefs.h"
5571 /* System header to define __stub macros and hopefully few prototypes, 5570 /* System header to define __stub macros and hopefully few prototypes,
5572 which can conflict with char $ac_func(); below. */ 5571 which can conflict with char $ac_func(); below. */
5573 #include <assert.h> 5572 #include <assert.h>
5574 /* Override any gcc2 internal prototype to avoid an error. */ 5573 /* Override any gcc2 internal prototype to avoid an error. */
5587 $ac_func(); 5586 $ac_func();
5588 #endif 5587 #endif
5589 5588
5590 ; return 0; } 5589 ; return 0; }
5591 EOF 5590 EOF
5592 if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5593 rm -rf conftest* 5592 rm -rf conftest*
5594 eval "ac_cv_func_$ac_func=yes" 5593 eval "ac_cv_func_$ac_func=yes"
5595 else 5594 else
5596 echo "configure: failed program was:" >&5 5595 echo "configure: failed program was:" >&5
5597 cat conftest.$ac_ext >&5 5596 cat conftest.$ac_ext >&5
5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5670 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5672 for ac_hdr in glade/glade.h glade.h 5671 for ac_hdr in glade/glade.h glade.h
5673 do 5672 do
5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5673 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5676 echo "configure:5677: checking for $ac_hdr" >&5 5675 echo "configure:5676: checking for $ac_hdr" >&5
5677 5676
5678 cat > conftest.$ac_ext <<EOF 5677 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure" 5678 #line 5679 "configure"
5680 #include "confdefs.h" 5679 #include "confdefs.h"
5681 #include <$ac_hdr> 5680 #include <$ac_hdr>
5682 EOF 5681 EOF
5683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5683 { (eval echo configure:5684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5686 if test -z "$ac_err"; then 5685 if test -z "$ac_err"; then
5687 rm -rf conftest* 5686 rm -rf conftest*
5688 eval "ac_cv_header_$ac_safe=yes" 5687 eval "ac_cv_header_$ac_safe=yes"
5689 else 5688 else
5710 fi 5709 fi
5711 done 5710 done
5712 5711
5713 5712
5714 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5713 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5715 echo "configure:5716: checking for main in -lxml" >&5 5714 echo "configure:5715: checking for main in -lxml" >&5
5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5715 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5717 5716
5718 xe_check_libs=" -lxml " 5717 xe_check_libs=" -lxml "
5719 cat > conftest.$ac_ext <<EOF 5718 cat > conftest.$ac_ext <<EOF
5720 #line 5721 "configure" 5719 #line 5720 "configure"
5721 #include "confdefs.h" 5720 #include "confdefs.h"
5722 5721
5723 int main() { 5722 int main() {
5724 main() 5723 main()
5725 ; return 0; } 5724 ; return 0; }
5726 EOF 5725 EOF
5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5726 if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5728 rm -rf conftest* 5727 rm -rf conftest*
5729 eval "ac_cv_lib_$ac_lib_var=yes" 5728 eval "ac_cv_lib_$ac_lib_var=yes"
5730 else 5729 else
5731 echo "configure: failed program was:" >&5 5730 echo "configure: failed program was:" >&5
5732 cat conftest.$ac_ext >&5 5731 cat conftest.$ac_ext >&5
5744 fi 5743 fi
5745 5744
5746 5745
5747 5746
5748 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5747 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5749 echo "configure:5750: checking for main in -lglade" >&5 5748 echo "configure:5749: checking for main in -lglade" >&5
5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5749 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5751 5750
5752 xe_check_libs=" -lglade " 5751 xe_check_libs=" -lglade "
5753 cat > conftest.$ac_ext <<EOF 5752 cat > conftest.$ac_ext <<EOF
5754 #line 5755 "configure" 5753 #line 5754 "configure"
5755 #include "confdefs.h" 5754 #include "confdefs.h"
5756 5755
5757 int main() { 5756 int main() {
5758 main() 5757 main()
5759 ; return 0; } 5758 ; return 0; }
5760 EOF 5759 EOF
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5762 rm -rf conftest* 5761 rm -rf conftest*
5763 eval "ac_cv_lib_$ac_lib_var=yes" 5762 eval "ac_cv_lib_$ac_lib_var=yes"
5764 else 5763 else
5765 echo "configure: failed program was:" >&5 5764 echo "configure: failed program was:" >&5
5766 cat conftest.$ac_ext >&5 5765 cat conftest.$ac_ext >&5
5778 fi 5777 fi
5779 5778
5780 5779
5781 5780
5782 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5781 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5783 echo "configure:5784: checking for main in -lglade-gnome" >&5 5782 echo "configure:5783: checking for main in -lglade-gnome" >&5
5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5783 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5785 5784
5786 xe_check_libs=" -lglade-gnome " 5785 xe_check_libs=" -lglade-gnome "
5787 cat > conftest.$ac_ext <<EOF 5786 cat > conftest.$ac_ext <<EOF
5788 #line 5789 "configure" 5787 #line 5788 "configure"
5789 #include "confdefs.h" 5788 #include "confdefs.h"
5790 5789
5791 int main() { 5790 int main() {
5792 main() 5791 main()
5793 ; return 0; } 5792 ; return 0; }
5794 EOF 5793 EOF
5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5796 rm -rf conftest* 5795 rm -rf conftest*
5797 eval "ac_cv_lib_$ac_lib_var=yes" 5796 eval "ac_cv_lib_$ac_lib_var=yes"
5798 else 5797 else
5799 echo "configure: failed program was:" >&5 5798 echo "configure: failed program was:" >&5
5800 cat conftest.$ac_ext >&5 5799 cat conftest.$ac_ext >&5
5811 echo "$ac_t""no" 1>&6 5810 echo "$ac_t""no" 1>&6
5812 fi 5811 fi
5813 5812
5814 5813
5815 cat > conftest.$ac_ext <<EOF 5814 cat > conftest.$ac_ext <<EOF
5816 #line 5817 "configure" 5815 #line 5816 "configure"
5817 #include "confdefs.h" 5816 #include "confdefs.h"
5818 #include <glade/glade-xml.h> 5817 #include <glade/glade-xml.h>
5819 EOF 5818 EOF
5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5820 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5870 # If we find X, set shell vars x_includes and x_libraries to the 5869 # If we find X, set shell vars x_includes and x_libraries to the
5871 # paths, otherwise set no_x=yes. 5870 # paths, otherwise set no_x=yes.
5872 # Uses ac_ vars as temps to allow command line to override cache and checks. 5871 # Uses ac_ vars as temps to allow command line to override cache and checks.
5873 # --without-x overrides everything else, but does not touch the cache. 5872 # --without-x overrides everything else, but does not touch the cache.
5874 echo $ac_n "checking for X""... $ac_c" 1>&6 5873 echo $ac_n "checking for X""... $ac_c" 1>&6
5875 echo "configure:5876: checking for X" >&5 5874 echo "configure:5875: checking for X" >&5
5876 5875
5877 # Check whether --with-x or --without-x was given. 5876 # Check whether --with-x or --without-x was given.
5878 if test "${with_x+set}" = set; then 5877 if test "${with_x+set}" = set; then
5879 withval="$with_x" 5878 withval="$with_x"
5880 : 5879 :
5930 # Guess where to find include files, by looking for this one X11 .h file. 5929 # Guess where to find include files, by looking for this one X11 .h file.
5931 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5930 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5932 5931
5933 # First, try using that file with no special directory specified. 5932 # First, try using that file with no special directory specified.
5934 cat > conftest.$ac_ext <<EOF 5933 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure" 5934 #line 5935 "configure"
5936 #include "confdefs.h" 5935 #include "confdefs.h"
5937 #include <$x_direct_test_include> 5936 #include <$x_direct_test_include>
5938 EOF 5937 EOF
5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5939 { (eval echo configure:5940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5942 if test -z "$ac_err"; then 5941 if test -z "$ac_err"; then
5943 rm -rf conftest* 5942 rm -rf conftest*
5944 # We can compile using X headers with no special include directory. 5943 # We can compile using X headers with no special include directory.
5945 ac_x_includes= 5944 ac_x_includes=
6004 # See if we find them without any special options. 6003 # See if we find them without any special options.
6005 # Don't add to $LIBS permanently. 6004 # Don't add to $LIBS permanently.
6006 ac_save_LIBS="$LIBS" 6005 ac_save_LIBS="$LIBS"
6007 LIBS="-l$x_direct_test_library $LIBS" 6006 LIBS="-l$x_direct_test_library $LIBS"
6008 cat > conftest.$ac_ext <<EOF 6007 cat > conftest.$ac_ext <<EOF
6009 #line 6010 "configure" 6008 #line 6009 "configure"
6010 #include "confdefs.h" 6009 #include "confdefs.h"
6011 6010
6012 int main() { 6011 int main() {
6013 ${x_direct_test_function}() 6012 ${x_direct_test_function}()
6014 ; return 0; } 6013 ; return 0; }
6015 EOF 6014 EOF
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6017 rm -rf conftest* 6016 rm -rf conftest*
6018 LIBS="$ac_save_LIBS" 6017 LIBS="$ac_save_LIBS"
6019 # We can link X programs with no special library path. 6018 # We can link X programs with no special library path.
6020 ac_x_libraries= 6019 ac_x_libraries=
6021 else 6020 else
6120 # For Solaris; some versions of Sun CC require a space after -R and 6119 # For Solaris; some versions of Sun CC require a space after -R and
6121 # others require no space. Words are not sufficient . . . . 6120 # others require no space. Words are not sufficient . . . .
6122 case "`(uname -sr) 2>/dev/null`" in 6121 case "`(uname -sr) 2>/dev/null`" in
6123 "SunOS 5"*) 6122 "SunOS 5"*)
6124 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6123 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6125 echo "configure:6126: checking whether -R must be followed by a space" >&5 6124 echo "configure:6125: checking whether -R must be followed by a space" >&5
6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6125 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6127 cat > conftest.$ac_ext <<EOF 6126 cat > conftest.$ac_ext <<EOF
6128 #line 6129 "configure" 6127 #line 6128 "configure"
6129 #include "confdefs.h" 6128 #include "confdefs.h"
6130 6129
6131 int main() { 6130 int main() {
6132 6131
6133 ; return 0; } 6132 ; return 0; }
6134 EOF 6133 EOF
6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6136 rm -rf conftest* 6135 rm -rf conftest*
6137 ac_R_nospace=yes 6136 ac_R_nospace=yes
6138 else 6137 else
6139 echo "configure: failed program was:" >&5 6138 echo "configure: failed program was:" >&5
6140 cat conftest.$ac_ext >&5 6139 cat conftest.$ac_ext >&5
6146 echo "$ac_t""no" 1>&6 6145 echo "$ac_t""no" 1>&6
6147 X_LIBS="$X_LIBS -R$x_libraries" 6146 X_LIBS="$X_LIBS -R$x_libraries"
6148 else 6147 else
6149 LIBS="$ac_xsave_LIBS -R $x_libraries" 6148 LIBS="$ac_xsave_LIBS -R $x_libraries"
6150 cat > conftest.$ac_ext <<EOF 6149 cat > conftest.$ac_ext <<EOF
6151 #line 6152 "configure" 6150 #line 6151 "configure"
6152 #include "confdefs.h" 6151 #include "confdefs.h"
6153 6152
6154 int main() { 6153 int main() {
6155 6154
6156 ; return 0; } 6155 ; return 0; }
6157 EOF 6156 EOF
6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6157 if { (eval echo configure:6158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6159 rm -rf conftest* 6158 rm -rf conftest*
6160 ac_R_space=yes 6159 ac_R_space=yes
6161 else 6160 else
6162 echo "configure: failed program was:" >&5 6161 echo "configure: failed program was:" >&5
6163 cat conftest.$ac_ext >&5 6162 cat conftest.$ac_ext >&5
6189 if test "$with_dnet" = "no" ; then 6188 if test "$with_dnet" = "no" ; then
6190 ac_cv_lib_dnet_dnet_ntoa=no 6189 ac_cv_lib_dnet_dnet_ntoa=no
6191 else 6190 else
6192 6191
6193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6192 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5 6193 echo "configure:6194: checking for dnet_ntoa in -ldnet" >&5
6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6194 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6196 6195
6197 xe_check_libs=" -ldnet " 6196 xe_check_libs=" -ldnet "
6198 cat > conftest.$ac_ext <<EOF 6197 cat > conftest.$ac_ext <<EOF
6199 #line 6200 "configure" 6198 #line 6199 "configure"
6200 #include "confdefs.h" 6199 #include "confdefs.h"
6201 /* Override any gcc2 internal prototype to avoid an error. */ 6200 /* Override any gcc2 internal prototype to avoid an error. */
6202 /* We use char because int might match the return type of a gcc2 6201 /* We use char because int might match the return type of a gcc2
6203 builtin and then its argument prototype would still apply. */ 6202 builtin and then its argument prototype would still apply. */
6204 char dnet_ntoa(); 6203 char dnet_ntoa();
6205 6204
6206 int main() { 6205 int main() {
6207 dnet_ntoa() 6206 dnet_ntoa()
6208 ; return 0; } 6207 ; return 0; }
6209 EOF 6208 EOF
6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6209 if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6211 rm -rf conftest* 6210 rm -rf conftest*
6212 eval "ac_cv_lib_$ac_lib_var=yes" 6211 eval "ac_cv_lib_$ac_lib_var=yes"
6213 else 6212 else
6214 echo "configure: failed program was:" >&5 6213 echo "configure: failed program was:" >&5
6215 cat conftest.$ac_ext >&5 6214 cat conftest.$ac_ext >&5
6229 fi 6228 fi
6230 6229
6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6230 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6232 6231
6233 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6232 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5 6233 echo "configure:6234: checking for dnet_ntoa in -ldnet_stub" >&5
6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6234 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6236 6235
6237 xe_check_libs=" -ldnet_stub " 6236 xe_check_libs=" -ldnet_stub "
6238 cat > conftest.$ac_ext <<EOF 6237 cat > conftest.$ac_ext <<EOF
6239 #line 6240 "configure" 6238 #line 6239 "configure"
6240 #include "confdefs.h" 6239 #include "confdefs.h"
6241 /* Override any gcc2 internal prototype to avoid an error. */ 6240 /* Override any gcc2 internal prototype to avoid an error. */
6242 /* We use char because int might match the return type of a gcc2 6241 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */ 6242 builtin and then its argument prototype would still apply. */
6244 char dnet_ntoa(); 6243 char dnet_ntoa();
6245 6244
6246 int main() { 6245 int main() {
6247 dnet_ntoa() 6246 dnet_ntoa()
6248 ; return 0; } 6247 ; return 0; }
6249 EOF 6248 EOF
6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6249 if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6251 rm -rf conftest* 6250 rm -rf conftest*
6252 eval "ac_cv_lib_$ac_lib_var=yes" 6251 eval "ac_cv_lib_$ac_lib_var=yes"
6253 else 6252 else
6254 echo "configure: failed program was:" >&5 6253 echo "configure: failed program was:" >&5
6255 cat conftest.$ac_ext >&5 6254 cat conftest.$ac_ext >&5
6274 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6273 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6275 # needs -lnsl. 6274 # needs -lnsl.
6276 # The nsl library prevents programs from opening the X display 6275 # The nsl library prevents programs from opening the X display
6277 # on Irix 5.2, according to dickey@clark.net. 6276 # on Irix 5.2, according to dickey@clark.net.
6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6277 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6279 echo "configure:6280: checking for gethostbyname" >&5 6278 echo "configure:6279: checking for gethostbyname" >&5
6280 6279
6281 cat > conftest.$ac_ext <<EOF 6280 cat > conftest.$ac_ext <<EOF
6282 #line 6283 "configure" 6281 #line 6282 "configure"
6283 #include "confdefs.h" 6282 #include "confdefs.h"
6284 /* System header to define __stub macros and hopefully few prototypes, 6283 /* System header to define __stub macros and hopefully few prototypes,
6285 which can conflict with char gethostbyname(); below. */ 6284 which can conflict with char gethostbyname(); below. */
6286 #include <assert.h> 6285 #include <assert.h>
6287 /* Override any gcc2 internal prototype to avoid an error. */ 6286 /* Override any gcc2 internal prototype to avoid an error. */
6300 gethostbyname(); 6299 gethostbyname();
6301 #endif 6300 #endif
6302 6301
6303 ; return 0; } 6302 ; return 0; }
6304 EOF 6303 EOF
6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6306 rm -rf conftest* 6305 rm -rf conftest*
6307 eval "ac_cv_func_gethostbyname=yes" 6306 eval "ac_cv_func_gethostbyname=yes"
6308 else 6307 else
6309 echo "configure: failed program was:" >&5 6308 echo "configure: failed program was:" >&5
6310 cat conftest.$ac_ext >&5 6309 cat conftest.$ac_ext >&5
6321 fi 6320 fi
6322 6321
6323 if test $ac_cv_func_gethostbyname = no; then 6322 if test $ac_cv_func_gethostbyname = no; then
6324 6323
6325 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6324 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5 6325 echo "configure:6326: checking for gethostbyname in -lnsl" >&5
6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6326 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6328 6327
6329 xe_check_libs=" -lnsl " 6328 xe_check_libs=" -lnsl "
6330 cat > conftest.$ac_ext <<EOF 6329 cat > conftest.$ac_ext <<EOF
6331 #line 6332 "configure" 6330 #line 6331 "configure"
6332 #include "confdefs.h" 6331 #include "confdefs.h"
6333 /* Override any gcc2 internal prototype to avoid an error. */ 6332 /* Override any gcc2 internal prototype to avoid an error. */
6334 /* We use char because int might match the return type of a gcc2 6333 /* We use char because int might match the return type of a gcc2
6335 builtin and then its argument prototype would still apply. */ 6334 builtin and then its argument prototype would still apply. */
6336 char gethostbyname(); 6335 char gethostbyname();
6337 6336
6338 int main() { 6337 int main() {
6339 gethostbyname() 6338 gethostbyname()
6340 ; return 0; } 6339 ; return 0; }
6341 EOF 6340 EOF
6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6343 rm -rf conftest* 6342 rm -rf conftest*
6344 eval "ac_cv_lib_$ac_lib_var=yes" 6343 eval "ac_cv_lib_$ac_lib_var=yes"
6345 else 6344 else
6346 echo "configure: failed program was:" >&5 6345 echo "configure: failed program was:" >&5
6347 cat conftest.$ac_ext >&5 6346 cat conftest.$ac_ext >&5
6367 # on later versions), says simon@lia.di.epfl.ch: it contains 6366 # on later versions), says simon@lia.di.epfl.ch: it contains
6368 # gethostby* variants that don't use the nameserver (or something). 6367 # gethostby* variants that don't use the nameserver (or something).
6369 # -lsocket must be given before -lnsl if both are needed. 6368 # -lsocket must be given before -lnsl if both are needed.
6370 # We assume that if connect needs -lnsl, so does gethostbyname. 6369 # We assume that if connect needs -lnsl, so does gethostbyname.
6371 echo $ac_n "checking for connect""... $ac_c" 1>&6 6370 echo $ac_n "checking for connect""... $ac_c" 1>&6
6372 echo "configure:6373: checking for connect" >&5 6371 echo "configure:6372: checking for connect" >&5
6373 6372
6374 cat > conftest.$ac_ext <<EOF 6373 cat > conftest.$ac_ext <<EOF
6375 #line 6376 "configure" 6374 #line 6375 "configure"
6376 #include "confdefs.h" 6375 #include "confdefs.h"
6377 /* System header to define __stub macros and hopefully few prototypes, 6376 /* System header to define __stub macros and hopefully few prototypes,
6378 which can conflict with char connect(); below. */ 6377 which can conflict with char connect(); below. */
6379 #include <assert.h> 6378 #include <assert.h>
6380 /* Override any gcc2 internal prototype to avoid an error. */ 6379 /* Override any gcc2 internal prototype to avoid an error. */
6393 connect(); 6392 connect();
6394 #endif 6393 #endif
6395 6394
6396 ; return 0; } 6395 ; return 0; }
6397 EOF 6396 EOF
6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6397 if { (eval echo configure:6398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6399 rm -rf conftest* 6398 rm -rf conftest*
6400 eval "ac_cv_func_connect=yes" 6399 eval "ac_cv_func_connect=yes"
6401 else 6400 else
6402 echo "configure: failed program was:" >&5 6401 echo "configure: failed program was:" >&5
6403 cat conftest.$ac_ext >&5 6402 cat conftest.$ac_ext >&5
6416 if test $ac_cv_func_connect = no; then 6415 if test $ac_cv_func_connect = no; then
6417 6416
6418 xe_msg_checking="for connect in -lsocket" 6417 xe_msg_checking="for connect in -lsocket"
6419 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6418 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6419 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6421 echo "configure:6422: checking "$xe_msg_checking"" >&5 6420 echo "configure:6421: checking "$xe_msg_checking"" >&5
6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6421 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6423 6422
6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6423 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6425 cat > conftest.$ac_ext <<EOF 6424 cat > conftest.$ac_ext <<EOF
6426 #line 6427 "configure" 6425 #line 6426 "configure"
6427 #include "confdefs.h" 6426 #include "confdefs.h"
6428 /* Override any gcc2 internal prototype to avoid an error. */ 6427 /* Override any gcc2 internal prototype to avoid an error. */
6429 /* We use char because int might match the return type of a gcc2 6428 /* We use char because int might match the return type of a gcc2
6430 builtin and then its argument prototype would still apply. */ 6429 builtin and then its argument prototype would still apply. */
6431 char connect(); 6430 char connect();
6432 6431
6433 int main() { 6432 int main() {
6434 connect() 6433 connect()
6435 ; return 0; } 6434 ; return 0; }
6436 EOF 6435 EOF
6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 rm -rf conftest* 6437 rm -rf conftest*
6439 eval "ac_cv_lib_$ac_lib_var=yes" 6438 eval "ac_cv_lib_$ac_lib_var=yes"
6440 else 6439 else
6441 echo "configure: failed program was:" >&5 6440 echo "configure: failed program was:" >&5
6442 cat conftest.$ac_ext >&5 6441 cat conftest.$ac_ext >&5
6456 6455
6457 fi 6456 fi
6458 6457
6459 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6458 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6460 echo $ac_n "checking for remove""... $ac_c" 1>&6 6459 echo $ac_n "checking for remove""... $ac_c" 1>&6
6461 echo "configure:6462: checking for remove" >&5 6460 echo "configure:6461: checking for remove" >&5
6462 6461
6463 cat > conftest.$ac_ext <<EOF 6462 cat > conftest.$ac_ext <<EOF
6464 #line 6465 "configure" 6463 #line 6464 "configure"
6465 #include "confdefs.h" 6464 #include "confdefs.h"
6466 /* System header to define __stub macros and hopefully few prototypes, 6465 /* System header to define __stub macros and hopefully few prototypes,
6467 which can conflict with char remove(); below. */ 6466 which can conflict with char remove(); below. */
6468 #include <assert.h> 6467 #include <assert.h>
6469 /* Override any gcc2 internal prototype to avoid an error. */ 6468 /* Override any gcc2 internal prototype to avoid an error. */
6482 remove(); 6481 remove();
6483 #endif 6482 #endif
6484 6483
6485 ; return 0; } 6484 ; return 0; }
6486 EOF 6485 EOF
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6486 if { (eval echo configure:6487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6488 rm -rf conftest* 6487 rm -rf conftest*
6489 eval "ac_cv_func_remove=yes" 6488 eval "ac_cv_func_remove=yes"
6490 else 6489 else
6491 echo "configure: failed program was:" >&5 6490 echo "configure: failed program was:" >&5
6492 cat conftest.$ac_ext >&5 6491 cat conftest.$ac_ext >&5
6503 fi 6502 fi
6504 6503
6505 if test $ac_cv_func_remove = no; then 6504 if test $ac_cv_func_remove = no; then
6506 6505
6507 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6506 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6508 echo "configure:6509: checking for remove in -lposix" >&5 6507 echo "configure:6508: checking for remove in -lposix" >&5
6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6508 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6510 6509
6511 xe_check_libs=" -lposix " 6510 xe_check_libs=" -lposix "
6512 cat > conftest.$ac_ext <<EOF 6511 cat > conftest.$ac_ext <<EOF
6513 #line 6514 "configure" 6512 #line 6513 "configure"
6514 #include "confdefs.h" 6513 #include "confdefs.h"
6515 /* Override any gcc2 internal prototype to avoid an error. */ 6514 /* Override any gcc2 internal prototype to avoid an error. */
6516 /* We use char because int might match the return type of a gcc2 6515 /* We use char because int might match the return type of a gcc2
6517 builtin and then its argument prototype would still apply. */ 6516 builtin and then its argument prototype would still apply. */
6518 char remove(); 6517 char remove();
6519 6518
6520 int main() { 6519 int main() {
6521 remove() 6520 remove()
6522 ; return 0; } 6521 ; return 0; }
6523 EOF 6522 EOF
6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6523 if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6525 rm -rf conftest* 6524 rm -rf conftest*
6526 eval "ac_cv_lib_$ac_lib_var=yes" 6525 eval "ac_cv_lib_$ac_lib_var=yes"
6527 else 6526 else
6528 echo "configure: failed program was:" >&5 6527 echo "configure: failed program was:" >&5
6529 cat conftest.$ac_ext >&5 6528 cat conftest.$ac_ext >&5
6543 6542
6544 fi 6543 fi
6545 6544
6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6545 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6546 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6548 echo "configure:6549: checking for shmat" >&5 6547 echo "configure:6548: checking for shmat" >&5
6549 6548
6550 cat > conftest.$ac_ext <<EOF 6549 cat > conftest.$ac_ext <<EOF
6551 #line 6552 "configure" 6550 #line 6551 "configure"
6552 #include "confdefs.h" 6551 #include "confdefs.h"
6553 /* System header to define __stub macros and hopefully few prototypes, 6552 /* System header to define __stub macros and hopefully few prototypes,
6554 which can conflict with char shmat(); below. */ 6553 which can conflict with char shmat(); below. */
6555 #include <assert.h> 6554 #include <assert.h>
6556 /* Override any gcc2 internal prototype to avoid an error. */ 6555 /* Override any gcc2 internal prototype to avoid an error. */
6569 shmat(); 6568 shmat();
6570 #endif 6569 #endif
6571 6570
6572 ; return 0; } 6571 ; return 0; }
6573 EOF 6572 EOF
6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6575 rm -rf conftest* 6574 rm -rf conftest*
6576 eval "ac_cv_func_shmat=yes" 6575 eval "ac_cv_func_shmat=yes"
6577 else 6576 else
6578 echo "configure: failed program was:" >&5 6577 echo "configure: failed program was:" >&5
6579 cat conftest.$ac_ext >&5 6578 cat conftest.$ac_ext >&5
6590 fi 6589 fi
6591 6590
6592 if test $ac_cv_func_shmat = no; then 6591 if test $ac_cv_func_shmat = no; then
6593 6592
6594 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6593 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6595 echo "configure:6596: checking for shmat in -lipc" >&5 6594 echo "configure:6595: checking for shmat in -lipc" >&5
6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6595 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6597 6596
6598 xe_check_libs=" -lipc " 6597 xe_check_libs=" -lipc "
6599 cat > conftest.$ac_ext <<EOF 6598 cat > conftest.$ac_ext <<EOF
6600 #line 6601 "configure" 6599 #line 6600 "configure"
6601 #include "confdefs.h" 6600 #include "confdefs.h"
6602 /* Override any gcc2 internal prototype to avoid an error. */ 6601 /* Override any gcc2 internal prototype to avoid an error. */
6603 /* We use char because int might match the return type of a gcc2 6602 /* We use char because int might match the return type of a gcc2
6604 builtin and then its argument prototype would still apply. */ 6603 builtin and then its argument prototype would still apply. */
6605 char shmat(); 6604 char shmat();
6606 6605
6607 int main() { 6606 int main() {
6608 shmat() 6607 shmat()
6609 ; return 0; } 6608 ; return 0; }
6610 EOF 6609 EOF
6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6612 rm -rf conftest* 6611 rm -rf conftest*
6613 eval "ac_cv_lib_$ac_lib_var=yes" 6612 eval "ac_cv_lib_$ac_lib_var=yes"
6614 else 6613 else
6615 echo "configure: failed program was:" >&5 6614 echo "configure: failed program was:" >&5
6616 cat conftest.$ac_ext >&5 6615 cat conftest.$ac_ext >&5
6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6641 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6643 6642
6644 xe_msg_checking="for IceConnectionNumber in -lICE" 6643 xe_msg_checking="for IceConnectionNumber in -lICE"
6645 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6644 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6645 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6647 echo "configure:6648: checking "$xe_msg_checking"" >&5 6646 echo "configure:6647: checking "$xe_msg_checking"" >&5
6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6647 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6649 6648
6650 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6649 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6651 cat > conftest.$ac_ext <<EOF 6650 cat > conftest.$ac_ext <<EOF
6652 #line 6653 "configure" 6651 #line 6652 "configure"
6653 #include "confdefs.h" 6652 #include "confdefs.h"
6654 /* Override any gcc2 internal prototype to avoid an error. */ 6653 /* Override any gcc2 internal prototype to avoid an error. */
6655 /* We use char because int might match the return type of a gcc2 6654 /* We use char because int might match the return type of a gcc2
6656 builtin and then its argument prototype would still apply. */ 6655 builtin and then its argument prototype would still apply. */
6657 char IceConnectionNumber(); 6656 char IceConnectionNumber();
6658 6657
6659 int main() { 6658 int main() {
6660 IceConnectionNumber() 6659 IceConnectionNumber()
6661 ; return 0; } 6660 ; return 0; }
6662 EOF 6661 EOF
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6664 rm -rf conftest* 6663 rm -rf conftest*
6665 eval "ac_cv_lib_$ac_lib_var=yes" 6664 eval "ac_cv_lib_$ac_lib_var=yes"
6666 else 6665 else
6667 echo "configure: failed program was:" >&5 6666 echo "configure: failed program was:" >&5
6668 cat conftest.$ac_ext >&5 6667 cat conftest.$ac_ext >&5
6704 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6703 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6705 6704
6706 6705
6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6706 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6708 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6707 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6709 echo "configure:6710: checking for Xm/Xm.h" >&5 6708 echo "configure:6709: checking for Xm/Xm.h" >&5
6710 6709
6711 cat > conftest.$ac_ext <<EOF 6710 cat > conftest.$ac_ext <<EOF
6712 #line 6713 "configure" 6711 #line 6712 "configure"
6713 #include "confdefs.h" 6712 #include "confdefs.h"
6714 #include <Xm/Xm.h> 6713 #include <Xm/Xm.h>
6715 EOF 6714 EOF
6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6716 { (eval echo configure:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6719 if test -z "$ac_err"; then 6718 if test -z "$ac_err"; then
6720 rm -rf conftest* 6719 rm -rf conftest*
6721 eval "ac_cv_header_$ac_safe=yes" 6720 eval "ac_cv_header_$ac_safe=yes"
6722 else 6721 else
6729 rm -f conftest* 6728 rm -f conftest*
6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6731 echo "$ac_t""yes" 1>&6 6730 echo "$ac_t""yes" 1>&6
6732 6731
6733 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6732 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5 6733 echo "configure:6734: checking for XmStringFree in -lXm" >&5
6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6734 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6736 6735
6737 xe_check_libs=" -lXm " 6736 xe_check_libs=" -lXm "
6738 cat > conftest.$ac_ext <<EOF 6737 cat > conftest.$ac_ext <<EOF
6739 #line 6740 "configure" 6738 #line 6739 "configure"
6740 #include "confdefs.h" 6739 #include "confdefs.h"
6741 /* Override any gcc2 internal prototype to avoid an error. */ 6740 /* Override any gcc2 internal prototype to avoid an error. */
6742 /* We use char because int might match the return type of a gcc2 6741 /* We use char because int might match the return type of a gcc2
6743 builtin and then its argument prototype would still apply. */ 6742 builtin and then its argument prototype would still apply. */
6744 char XmStringFree(); 6743 char XmStringFree();
6745 6744
6746 int main() { 6745 int main() {
6747 XmStringFree() 6746 XmStringFree()
6748 ; return 0; } 6747 ; return 0; }
6749 EOF 6748 EOF
6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6751 rm -rf conftest* 6750 rm -rf conftest*
6752 eval "ac_cv_lib_$ac_lib_var=yes" 6751 eval "ac_cv_lib_$ac_lib_var=yes"
6753 else 6752 else
6754 echo "configure: failed program was:" >&5 6753 echo "configure: failed program was:" >&5
6755 cat conftest.$ac_ext >&5 6754 cat conftest.$ac_ext >&5
6897 EOF 6896 EOF
6898 } 6897 }
6899 6898
6900 6899
6901 echo "checking for X defines extracted by xmkmf" 1>&6 6900 echo "checking for X defines extracted by xmkmf" 1>&6
6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5 6901 echo "configure:6902: checking for X defines extracted by xmkmf" >&5
6903 rm -fr conftestdir 6902 rm -fr conftestdir
6904 if mkdir conftestdir; then 6903 if mkdir conftestdir; then
6905 cd conftestdir 6904 cd conftestdir
6906 cat > Imakefile <<'EOF' 6905 cat > Imakefile <<'EOF'
6907 xetest: 6906 xetest:
6946 done 6945 done
6947 fi 6946 fi
6948 6947
6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6948 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6950 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6949 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5 6950 echo "configure:6951: checking for X11/Intrinsic.h" >&5
6952 6951
6953 cat > conftest.$ac_ext <<EOF 6952 cat > conftest.$ac_ext <<EOF
6954 #line 6955 "configure" 6953 #line 6954 "configure"
6955 #include "confdefs.h" 6954 #include "confdefs.h"
6956 #include <X11/Intrinsic.h> 6955 #include <X11/Intrinsic.h>
6957 EOF 6956 EOF
6958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6958 { (eval echo configure:6959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6961 if test -z "$ac_err"; then 6960 if test -z "$ac_err"; then
6962 rm -rf conftest* 6961 rm -rf conftest*
6963 eval "ac_cv_header_$ac_safe=yes" 6962 eval "ac_cv_header_$ac_safe=yes"
6964 else 6963 else
6978 fi 6977 fi
6979 6978
6980 6979
6981 6980
6982 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6981 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5 6982 echo "configure:6983: checking for XOpenDisplay in -lX11" >&5
6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6983 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6985 6984
6986 xe_check_libs=" -lX11 " 6985 xe_check_libs=" -lX11 "
6987 cat > conftest.$ac_ext <<EOF 6986 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure" 6987 #line 6988 "configure"
6989 #include "confdefs.h" 6988 #include "confdefs.h"
6990 /* Override any gcc2 internal prototype to avoid an error. */ 6989 /* Override any gcc2 internal prototype to avoid an error. */
6991 /* We use char because int might match the return type of a gcc2 6990 /* We use char because int might match the return type of a gcc2
6992 builtin and then its argument prototype would still apply. */ 6991 builtin and then its argument prototype would still apply. */
6993 char XOpenDisplay(); 6992 char XOpenDisplay();
6994 6993
6995 int main() { 6994 int main() {
6996 XOpenDisplay() 6995 XOpenDisplay()
6997 ; return 0; } 6996 ; return 0; }
6998 EOF 6997 EOF
6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7000 rm -rf conftest* 6999 rm -rf conftest*
7001 eval "ac_cv_lib_$ac_lib_var=yes" 7000 eval "ac_cv_lib_$ac_lib_var=yes"
7002 else 7001 else
7003 echo "configure: failed program was:" >&5 7002 echo "configure: failed program was:" >&5
7004 cat conftest.$ac_ext >&5 7003 cat conftest.$ac_ext >&5
7019 if test "$have_lib_x11" != "yes"; then 7018 if test "$have_lib_x11" != "yes"; then
7020 7019
7021 xe_msg_checking="for XGetFontProperty in -lX11" 7020 xe_msg_checking="for XGetFontProperty in -lX11"
7022 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7021 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7022 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7024 echo "configure:7025: checking "$xe_msg_checking"" >&5 7023 echo "configure:7024: checking "$xe_msg_checking"" >&5
7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7024 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7026 7025
7027 xe_check_libs=" -lX11 -b i486-linuxaout" 7026 xe_check_libs=" -lX11 -b i486-linuxaout"
7028 cat > conftest.$ac_ext <<EOF 7027 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure" 7028 #line 7029 "configure"
7030 #include "confdefs.h" 7029 #include "confdefs.h"
7031 /* Override any gcc2 internal prototype to avoid an error. */ 7030 /* Override any gcc2 internal prototype to avoid an error. */
7032 /* We use char because int might match the return type of a gcc2 7031 /* We use char because int might match the return type of a gcc2
7033 builtin and then its argument prototype would still apply. */ 7032 builtin and then its argument prototype would still apply. */
7034 char XGetFontProperty(); 7033 char XGetFontProperty();
7035 7034
7036 int main() { 7035 int main() {
7037 XGetFontProperty() 7036 XGetFontProperty()
7038 ; return 0; } 7037 ; return 0; }
7039 EOF 7038 EOF
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7039 if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7041 rm -rf conftest* 7040 rm -rf conftest*
7042 eval "ac_cv_lib_$ac_lib_var=yes" 7041 eval "ac_cv_lib_$ac_lib_var=yes"
7043 else 7042 else
7044 echo "configure: failed program was:" >&5 7043 echo "configure: failed program was:" >&5
7045 cat conftest.$ac_ext >&5 7044 cat conftest.$ac_ext >&5
7062 libs_x="-lX11" 7061 libs_x="-lX11"
7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7062 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7064 7063
7065 7064
7066 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7065 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5 7066 echo "configure:7067: checking for XShapeSelectInput in -lXext" >&5
7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7067 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7069 7068
7070 xe_check_libs=" -lXext " 7069 xe_check_libs=" -lXext "
7071 cat > conftest.$ac_ext <<EOF 7070 cat > conftest.$ac_ext <<EOF
7072 #line 7073 "configure" 7071 #line 7072 "configure"
7073 #include "confdefs.h" 7072 #include "confdefs.h"
7074 /* Override any gcc2 internal prototype to avoid an error. */ 7073 /* Override any gcc2 internal prototype to avoid an error. */
7075 /* We use char because int might match the return type of a gcc2 7074 /* We use char because int might match the return type of a gcc2
7076 builtin and then its argument prototype would still apply. */ 7075 builtin and then its argument prototype would still apply. */
7077 char XShapeSelectInput(); 7076 char XShapeSelectInput();
7078 7077
7079 int main() { 7078 int main() {
7080 XShapeSelectInput() 7079 XShapeSelectInput()
7081 ; return 0; } 7080 ; return 0; }
7082 EOF 7081 EOF
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7084 rm -rf conftest* 7083 rm -rf conftest*
7085 eval "ac_cv_lib_$ac_lib_var=yes" 7084 eval "ac_cv_lib_$ac_lib_var=yes"
7086 else 7085 else
7087 echo "configure: failed program was:" >&5 7086 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5 7087 cat conftest.$ac_ext >&5
7101 7100
7102 7101
7103 7102
7104 7103
7105 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7104 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5 7105 echo "configure:7106: checking for XtOpenDisplay in -lXt" >&5
7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7106 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7108 7107
7109 xe_check_libs=" -lXt " 7108 xe_check_libs=" -lXt "
7110 cat > conftest.$ac_ext <<EOF 7109 cat > conftest.$ac_ext <<EOF
7111 #line 7112 "configure" 7110 #line 7111 "configure"
7112 #include "confdefs.h" 7111 #include "confdefs.h"
7113 /* Override any gcc2 internal prototype to avoid an error. */ 7112 /* Override any gcc2 internal prototype to avoid an error. */
7114 /* We use char because int might match the return type of a gcc2 7113 /* We use char because int might match the return type of a gcc2
7115 builtin and then its argument prototype would still apply. */ 7114 builtin and then its argument prototype would still apply. */
7116 char XtOpenDisplay(); 7115 char XtOpenDisplay();
7117 7116
7118 int main() { 7117 int main() {
7119 XtOpenDisplay() 7118 XtOpenDisplay()
7120 ; return 0; } 7119 ; return 0; }
7121 EOF 7120 EOF
7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7123 rm -rf conftest* 7122 rm -rf conftest*
7124 eval "ac_cv_lib_$ac_lib_var=yes" 7123 eval "ac_cv_lib_$ac_lib_var=yes"
7125 else 7124 else
7126 echo "configure: failed program was:" >&5 7125 echo "configure: failed program was:" >&5
7127 cat conftest.$ac_ext >&5 7126 cat conftest.$ac_ext >&5
7140 fi 7139 fi
7141 7140
7142 7141
7143 7142
7144 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7143 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7145 echo "configure:7146: checking the version of X11 being used" >&5 7144 echo "configure:7145: checking the version of X11 being used" >&5
7146 cat > conftest.$ac_ext <<EOF 7145 cat > conftest.$ac_ext <<EOF
7147 #line 7148 "configure" 7146 #line 7147 "configure"
7148 #include "confdefs.h" 7147 #include "confdefs.h"
7149 #include <X11/Intrinsic.h> 7148 #include <X11/Intrinsic.h>
7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7149 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7151 EOF 7150 EOF
7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7153 then 7152 then
7154 ./conftest foobar; x11_release=$? 7153 ./conftest foobar; x11_release=$?
7155 else 7154 else
7156 conftest_rc="$?" 7155 conftest_rc="$?"
7157 echo "configure: failed program was:" >&5 7156 echo "configure: failed program was:" >&5
7178 fi 7177 fi
7179 7178
7180 for ac_func in XConvertCase 7179 for ac_func in XConvertCase
7181 do 7180 do
7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7183 echo "configure:7184: checking for $ac_func" >&5 7182 echo "configure:7183: checking for $ac_func" >&5
7184 7183
7185 cat > conftest.$ac_ext <<EOF 7184 cat > conftest.$ac_ext <<EOF
7186 #line 7187 "configure" 7185 #line 7186 "configure"
7187 #include "confdefs.h" 7186 #include "confdefs.h"
7188 /* System header to define __stub macros and hopefully few prototypes, 7187 /* System header to define __stub macros and hopefully few prototypes,
7189 which can conflict with char $ac_func(); below. */ 7188 which can conflict with char $ac_func(); below. */
7190 #include <assert.h> 7189 #include <assert.h>
7191 /* Override any gcc2 internal prototype to avoid an error. */ 7190 /* Override any gcc2 internal prototype to avoid an error. */
7204 $ac_func(); 7203 $ac_func();
7205 #endif 7204 #endif
7206 7205
7207 ; return 0; } 7206 ; return 0; }
7208 EOF 7207 EOF
7209 if { (eval echo configure:7210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7208 if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7210 rm -rf conftest* 7209 rm -rf conftest*
7211 eval "ac_cv_func_$ac_func=yes" 7210 eval "ac_cv_func_$ac_func=yes"
7212 else 7211 else
7213 echo "configure: failed program was:" >&5 7212 echo "configure: failed program was:" >&5
7214 cat conftest.$ac_ext >&5 7213 cat conftest.$ac_ext >&5
7236 7235
7237 for ac_hdr in X11/Xlocale.h 7236 for ac_hdr in X11/Xlocale.h
7238 do 7237 do
7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7238 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7241 echo "configure:7242: checking for $ac_hdr" >&5 7240 echo "configure:7241: checking for $ac_hdr" >&5
7242 7241
7243 cat > conftest.$ac_ext <<EOF 7242 cat > conftest.$ac_ext <<EOF
7244 #line 7245 "configure" 7243 #line 7244 "configure"
7245 #include "confdefs.h" 7244 #include "confdefs.h"
7246 #include <$ac_hdr> 7245 #include <$ac_hdr>
7247 EOF 7246 EOF
7248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7248 { (eval echo configure:7249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7251 if test -z "$ac_err"; then 7250 if test -z "$ac_err"; then
7252 rm -rf conftest* 7251 rm -rf conftest*
7253 eval "ac_cv_header_$ac_safe=yes" 7252 eval "ac_cv_header_$ac_safe=yes"
7254 else 7253 else
7277 7276
7278 7277
7279 for ac_func in XRegisterIMInstantiateCallback 7278 for ac_func in XRegisterIMInstantiateCallback
7280 do 7279 do
7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7282 echo "configure:7283: checking for $ac_func" >&5 7281 echo "configure:7282: checking for $ac_func" >&5
7283 7282
7284 cat > conftest.$ac_ext <<EOF 7283 cat > conftest.$ac_ext <<EOF
7285 #line 7286 "configure" 7284 #line 7285 "configure"
7286 #include "confdefs.h" 7285 #include "confdefs.h"
7287 /* System header to define __stub macros and hopefully few prototypes, 7286 /* System header to define __stub macros and hopefully few prototypes,
7288 which can conflict with char $ac_func(); below. */ 7287 which can conflict with char $ac_func(); below. */
7289 #include <assert.h> 7288 #include <assert.h>
7290 /* Override any gcc2 internal prototype to avoid an error. */ 7289 /* Override any gcc2 internal prototype to avoid an error. */
7303 $ac_func(); 7302 $ac_func();
7304 #endif 7303 #endif
7305 7304
7306 ; return 0; } 7305 ; return 0; }
7307 EOF 7306 EOF
7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7309 rm -rf conftest* 7308 rm -rf conftest*
7310 eval "ac_cv_func_$ac_func=yes" 7309 eval "ac_cv_func_$ac_func=yes"
7311 else 7310 else
7312 echo "configure: failed program was:" >&5 7311 echo "configure: failed program was:" >&5
7313 cat conftest.$ac_ext >&5 7312 cat conftest.$ac_ext >&5
7331 echo "$ac_t""no" 1>&6 7330 echo "$ac_t""no" 1>&6
7332 fi 7331 fi
7333 done 7332 done
7334 7333
7335 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7334 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7335 echo "configure:7336: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7337 cat > conftest.$ac_ext <<EOF 7336 cat > conftest.$ac_ext <<EOF
7338 #line 7339 "configure" 7337 #line 7338 "configure"
7339 #include "confdefs.h" 7338 #include "confdefs.h"
7340 7339
7341 #define NeedFunctionPrototypes 1 7340 #define NeedFunctionPrototypes 1
7342 #include <X11/Xlib.h> 7341 #include <X11/Xlib.h>
7343 extern Bool XRegisterIMInstantiateCallback( 7342 extern Bool XRegisterIMInstantiateCallback(
7345 7344
7346 int main() { 7345 int main() {
7347 7346
7348 ; return 0; } 7347 ; return 0; }
7349 EOF 7348 EOF
7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7349 if { (eval echo configure:7350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7351 rm -rf conftest* 7350 rm -rf conftest*
7352 echo "$ac_t""yes" 1>&6 7351 echo "$ac_t""yes" 1>&6
7353 else 7352 else
7354 echo "configure: failed program was:" >&5 7353 echo "configure: failed program was:" >&5
7355 cat conftest.$ac_ext >&5 7354 cat conftest.$ac_ext >&5
7366 fi 7365 fi
7367 rm -f conftest* 7366 rm -f conftest*
7368 7367
7369 test -z "$with_xmu" && { 7368 test -z "$with_xmu" && {
7370 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7369 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7370 echo "configure:7371: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7371 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7373 7372
7374 xe_check_libs=" -lXmu " 7373 xe_check_libs=" -lXmu "
7375 cat > conftest.$ac_ext <<EOF 7374 cat > conftest.$ac_ext <<EOF
7376 #line 7377 "configure" 7375 #line 7376 "configure"
7377 #include "confdefs.h" 7376 #include "confdefs.h"
7378 /* Override any gcc2 internal prototype to avoid an error. */ 7377 /* Override any gcc2 internal prototype to avoid an error. */
7379 /* We use char because int might match the return type of a gcc2 7378 /* We use char because int might match the return type of a gcc2
7380 builtin and then its argument prototype would still apply. */ 7379 builtin and then its argument prototype would still apply. */
7381 char XmuReadBitmapDataFromFile(); 7380 char XmuReadBitmapDataFromFile();
7382 7381
7383 int main() { 7382 int main() {
7384 XmuReadBitmapDataFromFile() 7383 XmuReadBitmapDataFromFile()
7385 ; return 0; } 7384 ; return 0; }
7386 EOF 7385 EOF
7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7388 rm -rf conftest* 7387 rm -rf conftest*
7389 eval "ac_cv_lib_$ac_lib_var=yes" 7388 eval "ac_cv_lib_$ac_lib_var=yes"
7390 else 7389 else
7391 echo "configure: failed program was:" >&5 7390 echo "configure: failed program was:" >&5
7392 cat conftest.$ac_ext >&5 7391 cat conftest.$ac_ext >&5
7421 7420
7422 fi 7421 fi
7423 7422
7424 7423
7425 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7424 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7426 echo "configure:7427: checking for main in -lXbsd" >&5 7425 echo "configure:7426: checking for main in -lXbsd" >&5
7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7426 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7428 7427
7429 xe_check_libs=" -lXbsd " 7428 xe_check_libs=" -lXbsd "
7430 cat > conftest.$ac_ext <<EOF 7429 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure" 7430 #line 7431 "configure"
7432 #include "confdefs.h" 7431 #include "confdefs.h"
7433 7432
7434 int main() { 7433 int main() {
7435 main() 7434 main()
7436 ; return 0; } 7435 ; return 0; }
7437 EOF 7436 EOF
7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7439 rm -rf conftest* 7438 rm -rf conftest*
7440 eval "ac_cv_lib_$ac_lib_var=yes" 7439 eval "ac_cv_lib_$ac_lib_var=yes"
7441 else 7440 else
7442 echo "configure: failed program was:" >&5 7441 echo "configure: failed program was:" >&5
7443 cat conftest.$ac_ext >&5 7442 cat conftest.$ac_ext >&5
7470 fi 7469 fi
7471 7470
7472 fi 7471 fi
7473 if test "$with_msw" != "no"; then 7472 if test "$with_msw" != "no"; then
7474 echo "checking for MS-Windows" 1>&6 7473 echo "checking for MS-Windows" 1>&6
7475 echo "configure:7476: checking for MS-Windows" >&5 7474 echo "configure:7475: checking for MS-Windows" >&5
7476 7475
7477 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7476 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7478 echo "configure:7479: checking for main in -lgdi32" >&5 7477 echo "configure:7478: checking for main in -lgdi32" >&5
7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7478 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7480 7479
7481 xe_check_libs=" -lgdi32 " 7480 xe_check_libs=" -lgdi32 "
7482 cat > conftest.$ac_ext <<EOF 7481 cat > conftest.$ac_ext <<EOF
7483 #line 7484 "configure" 7482 #line 7483 "configure"
7484 #include "confdefs.h" 7483 #include "confdefs.h"
7485 7484
7486 int main() { 7485 int main() {
7487 main() 7486 main()
7488 ; return 0; } 7487 ; return 0; }
7489 EOF 7488 EOF
7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7491 rm -rf conftest* 7490 rm -rf conftest*
7492 eval "ac_cv_lib_$ac_lib_var=yes" 7491 eval "ac_cv_lib_$ac_lib_var=yes"
7493 else 7492 else
7494 echo "configure: failed program was:" >&5 7493 echo "configure: failed program was:" >&5
7495 cat conftest.$ac_ext >&5 7494 cat conftest.$ac_ext >&5
7536 test "$with_toolbars" != "no" && with_toolbars=msw 7535 test "$with_toolbars" != "no" && with_toolbars=msw
7537 test "$with_dialogs" != "no" && with_dialogs=msw 7536 test "$with_dialogs" != "no" && with_dialogs=msw
7538 test "$with_widgets" != "no" && with_widgets=msw 7537 test "$with_widgets" != "no" && with_widgets=msw
7539 fi 7538 fi
7540 cat > conftest.$ac_ext <<EOF 7539 cat > conftest.$ac_ext <<EOF
7541 #line 7542 "configure" 7540 #line 7541 "configure"
7542 #include "confdefs.h" 7541 #include "confdefs.h"
7543 #include <fcntl.h> 7542 #include <fcntl.h>
7544 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7543 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7545 EOF 7544 EOF
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7545 if { (eval echo configure:7546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7547 then 7546 then
7548 { test "$extra_verbose" = "yes" && cat << \EOF 7547 { test "$extra_verbose" = "yes" && cat << \EOF
7549 Defining HAVE_MSG_SELECT 7548 Defining HAVE_MSG_SELECT
7550 EOF 7549 EOF
7551 cat >> confdefs.h <<\EOF 7550 cat >> confdefs.h <<\EOF
7602 fi 7601 fi
7603 7602
7604 if test "$with_x11" = "yes"; then 7603 if test "$with_x11" = "yes"; then
7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7604 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7606 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7605 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5 7606 echo "configure:7607: checking for X11/extensions/shape.h" >&5
7608 7607
7609 cat > conftest.$ac_ext <<EOF 7608 cat > conftest.$ac_ext <<EOF
7610 #line 7611 "configure" 7609 #line 7610 "configure"
7611 #include "confdefs.h" 7610 #include "confdefs.h"
7612 #include <X11/extensions/shape.h> 7611 #include <X11/extensions/shape.h>
7613 EOF 7612 EOF
7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7614 { (eval echo configure:7615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7617 if test -z "$ac_err"; then 7616 if test -z "$ac_err"; then
7618 rm -rf conftest* 7617 rm -rf conftest*
7619 eval "ac_cv_header_$ac_safe=yes" 7618 eval "ac_cv_header_$ac_safe=yes"
7620 else 7619 else
7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7659 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7660 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7662 esac 7661 esac
7663 7662
7664 echo "checking for WM_COMMAND option" 1>&6 7663 echo "checking for WM_COMMAND option" 1>&6
7665 echo "configure:7666: checking for WM_COMMAND option" >&5; 7664 echo "configure:7665: checking for WM_COMMAND option" >&5;
7666 if test "$with_wmcommand" != "no"; then 7665 if test "$with_wmcommand" != "no"; then
7667 { test "$extra_verbose" = "yes" && cat << \EOF 7666 { test "$extra_verbose" = "yes" && cat << \EOF
7668 Defining HAVE_WMCOMMAND 7667 Defining HAVE_WMCOMMAND
7669 EOF 7668 EOF
7670 cat >> confdefs.h <<\EOF 7669 cat >> confdefs.h <<\EOF
7675 fi 7674 fi
7676 7675
7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7676 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7678 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7677 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7679 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7678 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7680 echo "configure:7681: checking for X11/Xauth.h" >&5 7679 echo "configure:7680: checking for X11/Xauth.h" >&5
7681 7680
7682 cat > conftest.$ac_ext <<EOF 7681 cat > conftest.$ac_ext <<EOF
7683 #line 7684 "configure" 7682 #line 7683 "configure"
7684 #include "confdefs.h" 7683 #include "confdefs.h"
7685 #include <X11/Xauth.h> 7684 #include <X11/Xauth.h>
7686 EOF 7685 EOF
7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7687 { (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7690 if test -z "$ac_err"; then 7689 if test -z "$ac_err"; then
7691 rm -rf conftest* 7690 rm -rf conftest*
7692 eval "ac_cv_header_$ac_safe=yes" 7691 eval "ac_cv_header_$ac_safe=yes"
7693 else 7692 else
7706 with_xauth=no 7705 with_xauth=no
7707 fi 7706 fi
7708 } 7707 }
7709 test -z "$with_xauth" && { 7708 test -z "$with_xauth" && {
7710 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7709 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5 7710 echo "configure:7711: checking for XauGetAuthByAddr in -lXau" >&5
7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7711 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7713 7712
7714 xe_check_libs=" -lXau " 7713 xe_check_libs=" -lXau "
7715 cat > conftest.$ac_ext <<EOF 7714 cat > conftest.$ac_ext <<EOF
7716 #line 7717 "configure" 7715 #line 7716 "configure"
7717 #include "confdefs.h" 7716 #include "confdefs.h"
7718 /* Override any gcc2 internal prototype to avoid an error. */ 7717 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2 7718 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */ 7719 builtin and then its argument prototype would still apply. */
7721 char XauGetAuthByAddr(); 7720 char XauGetAuthByAddr();
7722 7721
7723 int main() { 7722 int main() {
7724 XauGetAuthByAddr() 7723 XauGetAuthByAddr()
7725 ; return 0; } 7724 ; return 0; }
7726 EOF 7725 EOF
7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7726 if { (eval echo configure:7727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7728 rm -rf conftest* 7727 rm -rf conftest*
7729 eval "ac_cv_lib_$ac_lib_var=yes" 7728 eval "ac_cv_lib_$ac_lib_var=yes"
7730 else 7729 else
7731 echo "configure: failed program was:" >&5 7730 echo "configure: failed program was:" >&5
7732 cat conftest.$ac_ext >&5 7731 cat conftest.$ac_ext >&5
7773 fi 7772 fi
7774 7773
7775 7774
7776 if test "$with_modules" != "no"; then 7775 if test "$with_modules" != "no"; then
7777 echo "checking for module support" 1>&6 7776 echo "checking for module support" 1>&6
7778 echo "configure:7779: checking for module support" >&5 7777 echo "configure:7778: checking for module support" >&5
7779 7778
7780 case "$opsys" in 7779 case "$opsys" in
7781 mingw* | cygwin* ) have_dl=yes ;; 7780 mingw* | cygwin* ) have_dl=yes ;;
7782 darwin ) have_dl=yes 7781 darwin ) have_dl=yes
7783 { test "$extra_verbose" = "yes" && cat << \EOF 7782 { test "$extra_verbose" = "yes" && cat << \EOF
7790 7789
7791 ;; 7790 ;;
7792 * ) 7791 * )
7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7792 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7793 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7795 echo "configure:7796: checking for dlfcn.h" >&5 7794 echo "configure:7795: checking for dlfcn.h" >&5
7796 7795
7797 cat > conftest.$ac_ext <<EOF 7796 cat > conftest.$ac_ext <<EOF
7798 #line 7799 "configure" 7797 #line 7798 "configure"
7799 #include "confdefs.h" 7798 #include "confdefs.h"
7800 #include <dlfcn.h> 7799 #include <dlfcn.h>
7801 EOF 7800 EOF
7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7802 { (eval echo configure:7803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7805 if test -z "$ac_err"; then 7804 if test -z "$ac_err"; then
7806 rm -rf conftest* 7805 rm -rf conftest*
7807 eval "ac_cv_header_$ac_safe=yes" 7806 eval "ac_cv_header_$ac_safe=yes"
7808 else 7807 else
7815 rm -f conftest* 7814 rm -f conftest*
7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7817 echo "$ac_t""yes" 1>&6 7816 echo "$ac_t""yes" 1>&6
7818 7817
7819 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7818 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7820 echo "configure:7821: checking for dlopen in -lc" >&5 7819 echo "configure:7820: checking for dlopen in -lc" >&5
7821 cat > conftest.$ac_ext <<EOF 7820 cat > conftest.$ac_ext <<EOF
7822 #line 7823 "configure" 7821 #line 7822 "configure"
7823 #include "confdefs.h" 7822 #include "confdefs.h"
7824 #include <dlfcn.h> 7823 #include <dlfcn.h>
7825 int main() { 7824 int main() {
7826 dlopen ("", 0); 7825 dlopen ("", 0);
7827 ; return 0; } 7826 ; return 0; }
7828 EOF 7827 EOF
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7828 if { (eval echo configure:7829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7830 rm -rf conftest* 7829 rm -rf conftest*
7831 have_dl=yes 7830 have_dl=yes
7832 else 7831 else
7833 echo "configure: failed program was:" >&5 7832 echo "configure: failed program was:" >&5
7834 cat conftest.$ac_ext >&5 7833 cat conftest.$ac_ext >&5
7835 rm -rf conftest* 7834 rm -rf conftest*
7836 7835
7837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7836 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7838 echo "configure:7839: checking for dlopen in -ldl" >&5 7837 echo "configure:7838: checking for dlopen in -ldl" >&5
7839 ac_save_LIBS="$LIBS" 7838 ac_save_LIBS="$LIBS"
7840 LIBS="$LIBS -ldl" 7839 LIBS="$LIBS -ldl"
7841 cat > conftest.$ac_ext <<EOF 7840 cat > conftest.$ac_ext <<EOF
7842 #line 7843 "configure" 7841 #line 7842 "configure"
7843 #include "confdefs.h" 7842 #include "confdefs.h"
7844 #include <dlfcn.h> 7843 #include <dlfcn.h>
7845 int main() { 7844 int main() {
7846 dlopen ("", 0); 7845 dlopen ("", 0);
7847 ; return 0; } 7846 ; return 0; }
7848 EOF 7847 EOF
7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7848 if { (eval echo configure:7849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7850 rm -rf conftest* 7849 rm -rf conftest*
7851 have_dl=yes 7850 have_dl=yes
7852 else 7851 else
7853 echo "configure: failed program was:" >&5 7852 echo "configure: failed program was:" >&5
7854 cat conftest.$ac_ext >&5 7853 cat conftest.$ac_ext >&5
7855 rm -rf conftest* 7854 rm -rf conftest*
7856 7855
7857 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7856 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7858 echo "configure:7859: checking for dlopen in -lsvld" >&5 7857 echo "configure:7858: checking for dlopen in -lsvld" >&5
7859 LIBS="$ac_save_LIBS -lsvld" 7858 LIBS="$ac_save_LIBS -lsvld"
7860 cat > conftest.$ac_ext <<EOF 7859 cat > conftest.$ac_ext <<EOF
7861 #line 7862 "configure" 7860 #line 7861 "configure"
7862 #include "confdefs.h" 7861 #include "confdefs.h"
7863 #include <dlfcn.h> 7862 #include <dlfcn.h>
7864 int main() { 7863 int main() {
7865 dlopen ("", 0); 7864 dlopen ("", 0);
7866 ; return 0; } 7865 ; return 0; }
7867 EOF 7866 EOF
7868 if { (eval echo configure:7869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7869 rm -rf conftest* 7868 rm -rf conftest*
7870 have_dl=yes 7869 have_dl=yes
7871 else 7870 else
7872 echo "configure: failed program was:" >&5 7871 echo "configure: failed program was:" >&5
7873 cat conftest.$ac_ext >&5 7872 cat conftest.$ac_ext >&5
7893 } 7892 }
7894 7893
7895 else 7894 else
7896 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7895 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7897 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7896 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7898 echo "configure:7899: checking for dl.h" >&5 7897 echo "configure:7898: checking for dl.h" >&5
7899 7898
7900 cat > conftest.$ac_ext <<EOF 7899 cat > conftest.$ac_ext <<EOF
7901 #line 7902 "configure" 7900 #line 7901 "configure"
7902 #include "confdefs.h" 7901 #include "confdefs.h"
7903 #include <dl.h> 7902 #include <dl.h>
7904 EOF 7903 EOF
7905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7906 { (eval echo configure:7907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7905 { (eval echo configure:7906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7908 if test -z "$ac_err"; then 7907 if test -z "$ac_err"; then
7909 rm -rf conftest* 7908 rm -rf conftest*
7910 eval "ac_cv_header_$ac_safe=yes" 7909 eval "ac_cv_header_$ac_safe=yes"
7911 else 7910 else
7918 rm -f conftest* 7917 rm -f conftest*
7919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7920 echo "$ac_t""yes" 1>&6 7919 echo "$ac_t""yes" 1>&6
7921 7920
7922 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 7921 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
7923 echo "configure:7924: checking for shl_load in -lc" >&5 7922 echo "configure:7923: checking for shl_load in -lc" >&5
7924 cat > conftest.$ac_ext <<EOF 7923 cat > conftest.$ac_ext <<EOF
7925 #line 7926 "configure" 7924 #line 7925 "configure"
7926 #include "confdefs.h" 7925 #include "confdefs.h"
7927 #include <dl.h> 7926 #include <dl.h>
7928 int main() { 7927 int main() {
7929 shl_load ("", 0, 0); 7928 shl_load ("", 0, 0);
7930 ; return 0; } 7929 ; return 0; }
7931 EOF 7930 EOF
7932 if { (eval echo configure:7933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7931 if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7933 rm -rf conftest* 7932 rm -rf conftest*
7934 have_dl=yes 7933 have_dl=yes
7935 else 7934 else
7936 echo "configure: failed program was:" >&5 7935 echo "configure: failed program was:" >&5
7937 cat conftest.$ac_ext >&5 7936 cat conftest.$ac_ext >&5
7938 rm -rf conftest* 7937 rm -rf conftest*
7939 7938
7940 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 7939 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
7941 echo "configure:7942: checking for shl_load in -ldl" >&5 7940 echo "configure:7941: checking for shl_load in -ldl" >&5
7942 ac_save_LIBS="$LIBS" 7941 ac_save_LIBS="$LIBS"
7943 LIBS="$LIBS -ldld" 7942 LIBS="$LIBS -ldld"
7944 cat > conftest.$ac_ext <<EOF 7943 cat > conftest.$ac_ext <<EOF
7945 #line 7946 "configure" 7944 #line 7945 "configure"
7946 #include "confdefs.h" 7945 #include "confdefs.h"
7947 #include <dl.h> 7946 #include <dl.h>
7948 int main() { 7947 int main() {
7949 shl_load ("", 0, 0); 7948 shl_load ("", 0, 0);
7950 ; return 0; } 7949 ; return 0; }
7951 EOF 7950 EOF
7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7953 rm -rf conftest* 7952 rm -rf conftest*
7954 have_dl=yes 7953 have_dl=yes
7955 else 7954 else
7956 echo "configure: failed program was:" >&5 7955 echo "configure: failed program was:" >&5
7957 cat conftest.$ac_ext >&5 7956 cat conftest.$ac_ext >&5
7975 } 7974 }
7976 7975
7977 else 7976 else
7978 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 7977 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7979 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 7978 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7980 echo "configure:7981: checking for ltdl.h" >&5 7979 echo "configure:7980: checking for ltdl.h" >&5
7981 7980
7982 cat > conftest.$ac_ext <<EOF 7981 cat > conftest.$ac_ext <<EOF
7983 #line 7984 "configure" 7982 #line 7983 "configure"
7984 #include "confdefs.h" 7983 #include "confdefs.h"
7985 #include <ltdl.h> 7984 #include <ltdl.h>
7986 EOF 7985 EOF
7987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7988 { (eval echo configure:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7987 { (eval echo configure:7988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7990 if test -z "$ac_err"; then 7989 if test -z "$ac_err"; then
7991 rm -rf conftest* 7990 rm -rf conftest*
7992 eval "ac_cv_header_$ac_safe=yes" 7991 eval "ac_cv_header_$ac_safe=yes"
7993 else 7992 else
8000 rm -f conftest* 7999 rm -f conftest*
8001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8000 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8002 echo "$ac_t""yes" 1>&6 8001 echo "$ac_t""yes" 1>&6
8003 8002
8004 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8003 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8005 echo "configure:8006: checking for lt_dlinit in -lltdl" >&5 8004 echo "configure:8005: checking for lt_dlinit in -lltdl" >&5
8006 ac_save_LIBS="$LIBS" 8005 ac_save_LIBS="$LIBS"
8007 LIBS="$LIBS -lltdl" 8006 LIBS="$LIBS -lltdl"
8008 cat > conftest.$ac_ext <<EOF 8007 cat > conftest.$ac_ext <<EOF
8009 #line 8010 "configure" 8008 #line 8009 "configure"
8010 #include "confdefs.h" 8009 #include "confdefs.h"
8011 #include <ltdl.h> 8010 #include <ltdl.h>
8012 int main() { 8011 int main() {
8013 lt_dlinit (); 8012 lt_dlinit ();
8014 ; return 0; } 8013 ; return 0; }
8015 EOF 8014 EOF
8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8015 if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8017 rm -rf conftest* 8016 rm -rf conftest*
8018 have_dl=yes 8017 have_dl=yes
8019 else 8018 else
8020 echo "configure: failed program was:" >&5 8019 echo "configure: failed program was:" >&5
8021 cat conftest.$ac_ext >&5 8020 cat conftest.$ac_ext >&5
8052 ld_dynamic_link_flags= 8051 ld_dynamic_link_flags=
8053 xehost=$canonical 8052 xehost=$canonical
8054 xealias=$internal_configuration 8053 xealias=$internal_configuration
8055 8054
8056 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8055 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8057 echo "configure:8058: checking how to build dynamic libraries for ${xehost}" >&5 8056 echo "configure:8057: checking how to build dynamic libraries for ${xehost}" >&5
8058 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8057 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8059 case "$xehost" in 8058 case "$xehost" in
8060 *-*-linux-gnu*) ;; 8059 *-*-linux-gnu*) ;;
8061 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8060 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8062 esac 8061 esac
8080 # Now see if the compiler is really GCC. 8079 # Now see if the compiler is really GCC.
8081 if test "$GCC" = "yes"; then 8080 if test "$GCC" = "yes"; then
8082 XEGCC=yes 8081 XEGCC=yes
8083 else 8082 else
8084 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8083 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8085 echo "configure:8086: checking checking whether we are using GNU C" >&5 8084 echo "configure:8085: checking checking whether we are using GNU C" >&5
8086 cat > conftest.$ac_ext <<EOF 8085 cat > conftest.$ac_ext <<EOF
8087 #line 8088 "configure" 8086 #line 8087 "configure"
8088 #include "confdefs.h" 8087 #include "confdefs.h"
8089 8088
8090 #ifdef __GNUC__ 8089 #ifdef __GNUC__
8091 yes; 8090 yes;
8092 #endif 8091 #endif
8104 8103
8105 echo "$ac_t""${XEGCC}" 1>&6 8104 echo "$ac_t""${XEGCC}" 1>&6
8106 fi 8105 fi
8107 8106
8108 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8107 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8109 echo "configure:8110: checking how to produce PIC code" >&5 8108 echo "configure:8109: checking how to produce PIC code" >&5
8110 wl= 8109 wl=
8111 8110
8112 can_build_shared=yes 8111 can_build_shared=yes
8113 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8112 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8114 wl='-Wl,' 8113 wl='-Wl,'
8208 if test -n "$dll_cflags"; then 8207 if test -n "$dll_cflags"; then
8209 echo "$ac_t""${dll_cflags}" 1>&6 8208 echo "$ac_t""${dll_cflags}" 1>&6
8210 8209
8211 # Check to make sure the dll_cflags actually works. 8210 # Check to make sure the dll_cflags actually works.
8212 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8211 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8213 echo "configure:8214: checking if PIC flag ${dll_cflags} really works" >&5 8212 echo "configure:8213: checking if PIC flag ${dll_cflags} really works" >&5
8214 save_CFLAGS="$CFLAGS" 8213 save_CFLAGS="$CFLAGS"
8215 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8214 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8216 cat > conftest.$ac_ext <<EOF 8215 cat > conftest.$ac_ext <<EOF
8217 #line 8218 "configure" 8216 #line 8217 "configure"
8218 #include "confdefs.h" 8217 #include "confdefs.h"
8219 8218
8220 int main() { 8219 int main() {
8221 int x=0; 8220 int x=0;
8222 ; return 0; } 8221 ; return 0; }
8223 EOF 8222 EOF
8224 if { (eval echo configure:8225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8223 if { (eval echo configure:8224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8225 rm -rf conftest* 8224 rm -rf conftest*
8226 8225
8227 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8226 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8228 # reports no error. So, we need to grep stderr for (Bundled). 8227 # reports no error. So, we need to grep stderr for (Bundled).
8229 if grep '(Bundled)' config.log >/dev/null; then 8228 if grep '(Bundled)' config.log >/dev/null; then
8250 if test "$can_build_shared" = "yes"; then 8249 if test "$can_build_shared" = "yes"; then
8251 cc_produces_so=no 8250 cc_produces_so=no
8252 xldf= 8251 xldf=
8253 xcldf= 8252 xcldf=
8254 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8253 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8255 echo "configure:8256: checking if C compiler can produce shared libraries" >&5 8254 echo "configure:8255: checking if C compiler can produce shared libraries" >&5
8256 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8255 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8257 case "$xehost_os" in 8256 case "$xehost_os" in
8258 *darwin*) 8257 *darwin*)
8259 xcldf='-bundle' 8258 xcldf='-bundle'
8260 xldf='-bundle -bundle_loader ../../src/xemacs' 8259 xldf='-bundle -bundle_loader ../../src/xemacs'
8309 LDFLAGS="$xcldf $LDFLAGS" 8308 LDFLAGS="$xcldf $LDFLAGS"
8310 LIBS= 8309 LIBS=
8311 xe_libs= 8310 xe_libs=
8312 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8311 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8313 cat > conftest.$ac_ext <<EOF 8312 cat > conftest.$ac_ext <<EOF
8314 #line 8315 "configure" 8313 #line 8314 "configure"
8315 #include "confdefs.h" 8314 #include "confdefs.h"
8316 8315
8317 int main() { 8316 int main() {
8318 int x=0; 8317 int x=0;
8319 ; return 0; } 8318 ; return 0; }
8320 EOF 8319 EOF
8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8320 if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8322 rm -rf conftest* 8321 rm -rf conftest*
8323 cc_produces_so=yes 8322 cc_produces_so=yes
8324 else 8323 else
8325 echo "configure: failed program was:" >&5 8324 echo "configure: failed program was:" >&5
8326 cat conftest.$ac_ext >&5 8325 cat conftest.$ac_ext >&5
8341 if test -z "$LTLD"; then 8340 if test -z "$LTLD"; then
8342 ac_prog=ld 8341 ac_prog=ld
8343 if test "$XEGCC" = yes; then 8342 if test "$XEGCC" = yes; then
8344 # Check if gcc -print-prog-name=ld gives a path. 8343 # Check if gcc -print-prog-name=ld gives a path.
8345 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8344 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8346 echo "configure:8347: checking for ld used by GCC" >&5 8345 echo "configure:8346: checking for ld used by GCC" >&5
8347 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8346 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8348 case "$ac_prog" in 8347 case "$ac_prog" in
8349 # Accept absolute paths. 8348 # Accept absolute paths.
8350 /*) 8349 /*)
8351 if test -z "$LTLD"; then 8350 if test -z "$LTLD"; then
8367 with_gnu_ld=unknown 8366 with_gnu_ld=unknown
8368 ;; 8367 ;;
8369 esac 8368 esac
8370 else 8369 else
8371 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8370 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8372 echo "configure:8373: checking for GNU ld" >&5 8371 echo "configure:8372: checking for GNU ld" >&5
8373 fi 8372 fi
8374 8373
8375 if test -z "$LTLD"; then 8374 if test -z "$LTLD"; then
8376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8377 for ac_dir in $PATH; do 8376 for ac_dir in $PATH; do
8405 8404
8406 ld_dynamic_link_flags= 8405 ld_dynamic_link_flags=
8407 8406
8408 # Check to see if it really is or isn't GNU ld. 8407 # Check to see if it really is or isn't GNU ld.
8409 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8408 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8410 echo "configure:8411: checking if the linker is GNU ld" >&5 8409 echo "configure:8410: checking if the linker is GNU ld" >&5
8411 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8410 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8412 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8411 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8413 xe_gnu_ld=yes 8412 xe_gnu_ld=yes
8414 else 8413 else
8415 xe_gnu_ld=no 8414 xe_gnu_ld=no
8440 ld_shlibs=yes 8439 ld_shlibs=yes
8441 else 8440 else
8442 # OK - only NOW do we futz about with ld. 8441 # OK - only NOW do we futz about with ld.
8443 # See if the linker supports building shared libraries. 8442 # See if the linker supports building shared libraries.
8444 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8443 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8445 echo "configure:8446: checking whether the linker supports shared libraries" >&5 8444 echo "configure:8445: checking whether the linker supports shared libraries" >&5
8446 dll_ld=$CC 8445 dll_ld=$CC
8447 dll_ldflags=$LDFLAGS 8446 dll_ldflags=$LDFLAGS
8448 ld_shlibs=yes 8447 ld_shlibs=yes
8449 can_build_shared=yes 8448 can_build_shared=yes
8450 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8449 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
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 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8654 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8653 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8655 for ac_func in dlerror _dlerror 8654 for ac_func in dlerror _dlerror
8656 do 8655 do
8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8658 echo "configure:8659: checking for $ac_func" >&5 8657 echo "configure:8658: checking for $ac_func" >&5
8659 8658
8660 cat > conftest.$ac_ext <<EOF 8659 cat > conftest.$ac_ext <<EOF
8661 #line 8662 "configure" 8660 #line 8661 "configure"
8662 #include "confdefs.h" 8661 #include "confdefs.h"
8663 /* System header to define __stub macros and hopefully few prototypes, 8662 /* System header to define __stub macros and hopefully few prototypes,
8664 which can conflict with char $ac_func(); below. */ 8663 which can conflict with char $ac_func(); below. */
8665 #include <assert.h> 8664 #include <assert.h>
8666 /* Override any gcc2 internal prototype to avoid an error. */ 8665 /* Override any gcc2 internal prototype to avoid an error. */
8679 $ac_func(); 8678 $ac_func();
8680 #endif 8679 #endif
8681 8680
8682 ; return 0; } 8681 ; return 0; }
8683 EOF 8682 EOF
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8683 if { (eval echo configure:8684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8685 rm -rf conftest* 8684 rm -rf conftest*
8686 eval "ac_cv_func_$ac_func=yes" 8685 eval "ac_cv_func_$ac_func=yes"
8687 else 8686 else
8688 echo "configure: failed program was:" >&5 8687 echo "configure: failed program was:" >&5
8689 cat conftest.$ac_ext >&5 8688 cat conftest.$ac_ext >&5
8743 8742
8744 if test "$with_tooltalk" != "no" ; then 8743 if test "$with_tooltalk" != "no" ; then
8745 for dir in "" "Tt/" "desktop/" ; do 8744 for dir in "" "Tt/" "desktop/" ; do
8746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8745 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8747 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8746 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8748 echo "configure:8749: checking for ${dir}tt_c.h" >&5 8747 echo "configure:8748: checking for ${dir}tt_c.h" >&5
8749 8748
8750 cat > conftest.$ac_ext <<EOF 8749 cat > conftest.$ac_ext <<EOF
8751 #line 8752 "configure" 8750 #line 8751 "configure"
8752 #include "confdefs.h" 8751 #include "confdefs.h"
8753 #include <${dir}tt_c.h> 8752 #include <${dir}tt_c.h>
8754 EOF 8753 EOF
8755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8756 { (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8755 { (eval echo configure:8756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8758 if test -z "$ac_err"; then 8757 if test -z "$ac_err"; then
8759 rm -rf conftest* 8758 rm -rf conftest*
8760 eval "ac_cv_header_$ac_safe=yes" 8759 eval "ac_cv_header_$ac_safe=yes"
8761 else 8760 else
8787 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8786 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8788 8787
8789 xe_msg_checking="for tt_message_create in -ltt" 8788 xe_msg_checking="for tt_message_create in -ltt"
8790 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8789 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8791 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8790 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8792 echo "configure:8793: checking "$xe_msg_checking"" >&5 8791 echo "configure:8792: checking "$xe_msg_checking"" >&5
8793 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8792 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8794 8793
8795 xe_check_libs=" -ltt $extra_libs" 8794 xe_check_libs=" -ltt $extra_libs"
8796 cat > conftest.$ac_ext <<EOF 8795 cat > conftest.$ac_ext <<EOF
8797 #line 8798 "configure" 8796 #line 8797 "configure"
8798 #include "confdefs.h" 8797 #include "confdefs.h"
8799 /* Override any gcc2 internal prototype to avoid an error. */ 8798 /* Override any gcc2 internal prototype to avoid an error. */
8800 /* We use char because int might match the return type of a gcc2 8799 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */ 8800 builtin and then its argument prototype would still apply. */
8802 char tt_message_create(); 8801 char tt_message_create();
8803 8802
8804 int main() { 8803 int main() {
8805 tt_message_create() 8804 tt_message_create()
8806 ; return 0; } 8805 ; return 0; }
8807 EOF 8806 EOF
8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 rm -rf conftest* 8808 rm -rf conftest*
8810 eval "ac_cv_lib_$ac_lib_var=yes" 8809 eval "ac_cv_lib_$ac_lib_var=yes"
8811 else 8810 else
8812 echo "configure: failed program was:" >&5 8811 echo "configure: failed program was:" >&5
8813 cat conftest.$ac_ext >&5 8812 cat conftest.$ac_ext >&5
8857 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8856 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8858 fi 8857 fi
8859 8858
8860 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8859 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8861 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8860 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8862 echo "configure:8863: checking for Dt/Dt.h" >&5 8861 echo "configure:8862: checking for Dt/Dt.h" >&5
8863 8862
8864 cat > conftest.$ac_ext <<EOF 8863 cat > conftest.$ac_ext <<EOF
8865 #line 8866 "configure" 8864 #line 8865 "configure"
8866 #include "confdefs.h" 8865 #include "confdefs.h"
8867 #include <Dt/Dt.h> 8866 #include <Dt/Dt.h>
8868 EOF 8867 EOF
8869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870 { (eval echo configure:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8869 { (eval echo configure:8870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872 if test -z "$ac_err"; then 8871 if test -z "$ac_err"; then
8873 rm -rf conftest* 8872 rm -rf conftest*
8874 eval "ac_cv_header_$ac_safe=yes" 8873 eval "ac_cv_header_$ac_safe=yes"
8875 else 8874 else
8888 with_cde=no 8887 with_cde=no
8889 fi 8888 fi
8890 } 8889 }
8891 test -z "$with_cde" && { 8890 test -z "$with_cde" && {
8892 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8891 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8893 echo "configure:8894: checking for DtDndDragStart in -lDtSvc" >&5 8892 echo "configure:8893: checking for DtDndDragStart in -lDtSvc" >&5
8894 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8893 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8895 8894
8896 xe_check_libs=" -lDtSvc " 8895 xe_check_libs=" -lDtSvc "
8897 cat > conftest.$ac_ext <<EOF 8896 cat > conftest.$ac_ext <<EOF
8898 #line 8899 "configure" 8897 #line 8898 "configure"
8899 #include "confdefs.h" 8898 #include "confdefs.h"
8900 /* Override any gcc2 internal prototype to avoid an error. */ 8899 /* Override any gcc2 internal prototype to avoid an error. */
8901 /* We use char because int might match the return type of a gcc2 8900 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */ 8901 builtin and then its argument prototype would still apply. */
8903 char DtDndDragStart(); 8902 char DtDndDragStart();
8904 8903
8905 int main() { 8904 int main() {
8906 DtDndDragStart() 8905 DtDndDragStart()
8907 ; return 0; } 8906 ; return 0; }
8908 EOF 8907 EOF
8909 if { (eval echo configure:8910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8908 if { (eval echo configure:8909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8910 rm -rf conftest* 8909 rm -rf conftest*
8911 eval "ac_cv_lib_$ac_lib_var=yes" 8910 eval "ac_cv_lib_$ac_lib_var=yes"
8912 else 8911 else
8913 echo "configure: failed program was:" >&5 8912 echo "configure: failed program was:" >&5
8914 cat conftest.$ac_ext >&5 8913 cat conftest.$ac_ext >&5
8985 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 8984 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
8986 fi 8985 fi
8987 8986
8988 if test "$with_dragndrop" != "no" ; then 8987 if test "$with_dragndrop" != "no" ; then
8989 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 8988 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
8990 echo "configure:8991: checking if drag and drop API is needed" >&5 8989 echo "configure:8990: checking if drag and drop API is needed" >&5
8991 if test -n "$dragndrop_proto" ; then 8990 if test -n "$dragndrop_proto" ; then
8992 with_dragndrop=yes 8991 with_dragndrop=yes
8993 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8992 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8994 { test "$extra_verbose" = "yes" && cat << \EOF 8993 { test "$extra_verbose" = "yes" && cat << \EOF
8995 Defining HAVE_DRAGNDROP 8994 Defining HAVE_DRAGNDROP
9005 echo "$ac_t""no" 1>&6 9004 echo "$ac_t""no" 1>&6
9006 fi 9005 fi
9007 fi 9006 fi
9008 9007
9009 echo "checking for LDAP" 1>&6 9008 echo "checking for LDAP" 1>&6
9010 echo "configure:9011: checking for LDAP" >&5 9009 echo "configure:9010: checking for LDAP" >&5
9011 ldap_libs= 9010 ldap_libs=
9012 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9011 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9013 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9012 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9014 echo "configure:9015: checking for ldap.h" >&5 9013 echo "configure:9014: checking for ldap.h" >&5
9015 9014
9016 cat > conftest.$ac_ext <<EOF 9015 cat > conftest.$ac_ext <<EOF
9017 #line 9018 "configure" 9016 #line 9017 "configure"
9018 #include "confdefs.h" 9017 #include "confdefs.h"
9019 #include <ldap.h> 9018 #include <ldap.h>
9020 EOF 9019 EOF
9021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9022 { (eval echo configure:9023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9021 { (eval echo configure:9022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9024 if test -z "$ac_err"; then 9023 if test -z "$ac_err"; then
9025 rm -rf conftest* 9024 rm -rf conftest*
9026 eval "ac_cv_header_$ac_safe=yes" 9025 eval "ac_cv_header_$ac_safe=yes"
9027 else 9026 else
9040 with_ldap=no 9039 with_ldap=no
9041 fi 9040 fi
9042 } 9041 }
9043 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9042 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9044 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9043 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9045 echo "configure:9046: checking for lber.h" >&5 9044 echo "configure:9045: checking for lber.h" >&5
9046 9045
9047 cat > conftest.$ac_ext <<EOF 9046 cat > conftest.$ac_ext <<EOF
9048 #line 9049 "configure" 9047 #line 9048 "configure"
9049 #include "confdefs.h" 9048 #include "confdefs.h"
9050 #include <lber.h> 9049 #include <lber.h>
9051 EOF 9050 EOF
9052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9052 { (eval echo configure:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9055 if test -z "$ac_err"; then 9054 if test -z "$ac_err"; then
9056 rm -rf conftest* 9055 rm -rf conftest*
9057 eval "ac_cv_header_$ac_safe=yes" 9056 eval "ac_cv_header_$ac_safe=yes"
9058 else 9057 else
9072 fi 9071 fi
9073 } 9072 }
9074 if test "$with_ldap" != "no"; then 9073 if test "$with_ldap" != "no"; then
9075 9074
9076 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9075 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9077 echo "configure:9078: checking for ldap_search in -lldap" >&5 9076 echo "configure:9077: checking for ldap_search in -lldap" >&5
9078 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9077 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9079 9078
9080 xe_check_libs=" -lldap " 9079 xe_check_libs=" -lldap "
9081 cat > conftest.$ac_ext <<EOF 9080 cat > conftest.$ac_ext <<EOF
9082 #line 9083 "configure" 9081 #line 9082 "configure"
9083 #include "confdefs.h" 9082 #include "confdefs.h"
9084 /* Override any gcc2 internal prototype to avoid an error. */ 9083 /* Override any gcc2 internal prototype to avoid an error. */
9085 /* We use char because int might match the return type of a gcc2 9084 /* We use char because int might match the return type of a gcc2
9086 builtin and then its argument prototype would still apply. */ 9085 builtin and then its argument prototype would still apply. */
9087 char ldap_search(); 9086 char ldap_search();
9088 9087
9089 int main() { 9088 int main() {
9090 ldap_search() 9089 ldap_search()
9091 ; return 0; } 9090 ; return 0; }
9092 EOF 9091 EOF
9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9094 rm -rf conftest* 9093 rm -rf conftest*
9095 eval "ac_cv_lib_$ac_lib_var=yes" 9094 eval "ac_cv_lib_$ac_lib_var=yes"
9096 else 9095 else
9097 echo "configure: failed program was:" >&5 9096 echo "configure: failed program was:" >&5
9098 cat conftest.$ac_ext >&5 9097 cat conftest.$ac_ext >&5
9113 9112
9114 test "$with_ldap_nolber" = "no" && { 9113 test "$with_ldap_nolber" = "no" && {
9115 xe_msg_checking="for ldap_open in -lldap" 9114 xe_msg_checking="for ldap_open in -lldap"
9116 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9115 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9117 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9116 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9118 echo "configure:9119: checking "$xe_msg_checking"" >&5 9117 echo "configure:9118: checking "$xe_msg_checking"" >&5
9119 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9118 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9120 9119
9121 xe_check_libs=" -lldap -llber" 9120 xe_check_libs=" -lldap -llber"
9122 cat > conftest.$ac_ext <<EOF 9121 cat > conftest.$ac_ext <<EOF
9123 #line 9124 "configure" 9122 #line 9123 "configure"
9124 #include "confdefs.h" 9123 #include "confdefs.h"
9125 /* Override any gcc2 internal prototype to avoid an error. */ 9124 /* Override any gcc2 internal prototype to avoid an error. */
9126 /* We use char because int might match the return type of a gcc2 9125 /* We use char because int might match the return type of a gcc2
9127 builtin and then its argument prototype would still apply. */ 9126 builtin and then its argument prototype would still apply. */
9128 char ldap_open(); 9127 char ldap_open();
9129 9128
9130 int main() { 9129 int main() {
9131 ldap_open() 9130 ldap_open()
9132 ; return 0; } 9131 ; return 0; }
9133 EOF 9132 EOF
9134 if { (eval echo configure:9135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9133 if { (eval echo configure:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9135 rm -rf conftest* 9134 rm -rf conftest*
9136 eval "ac_cv_lib_$ac_lib_var=yes" 9135 eval "ac_cv_lib_$ac_lib_var=yes"
9137 else 9136 else
9138 echo "configure: failed program was:" >&5 9137 echo "configure: failed program was:" >&5
9139 cat conftest.$ac_ext >&5 9138 cat conftest.$ac_ext >&5
9154 } 9153 }
9155 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 9154 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
9156 xe_msg_checking="for ldap_open in -lldap" 9155 xe_msg_checking="for ldap_open in -lldap"
9157 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9156 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9158 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9157 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9159 echo "configure:9160: checking "$xe_msg_checking"" >&5 9158 echo "configure:9159: checking "$xe_msg_checking"" >&5
9160 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9159 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9161 9160
9162 xe_check_libs=" -lldap -llber -lkrb" 9161 xe_check_libs=" -lldap -llber -lkrb"
9163 cat > conftest.$ac_ext <<EOF 9162 cat > conftest.$ac_ext <<EOF
9164 #line 9165 "configure" 9163 #line 9164 "configure"
9165 #include "confdefs.h" 9164 #include "confdefs.h"
9166 /* Override any gcc2 internal prototype to avoid an error. */ 9165 /* Override any gcc2 internal prototype to avoid an error. */
9167 /* We use char because int might match the return type of a gcc2 9166 /* We use char because int might match the return type of a gcc2
9168 builtin and then its argument prototype would still apply. */ 9167 builtin and then its argument prototype would still apply. */
9169 char ldap_open(); 9168 char ldap_open();
9170 9169
9171 int main() { 9170 int main() {
9172 ldap_open() 9171 ldap_open()
9173 ; return 0; } 9172 ; return 0; }
9174 EOF 9173 EOF
9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9174 if { (eval echo configure:9175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9176 rm -rf conftest* 9175 rm -rf conftest*
9177 eval "ac_cv_lib_$ac_lib_var=yes" 9176 eval "ac_cv_lib_$ac_lib_var=yes"
9178 else 9177 else
9179 echo "configure: failed program was:" >&5 9178 echo "configure: failed program was:" >&5
9180 cat conftest.$ac_ext >&5 9179 cat conftest.$ac_ext >&5
9195 } 9194 }
9196 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 9195 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
9197 xe_msg_checking="for ldap_open in -lldap" 9196 xe_msg_checking="for ldap_open in -lldap"
9198 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9197 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9199 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9198 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9200 echo "configure:9201: checking "$xe_msg_checking"" >&5 9199 echo "configure:9200: checking "$xe_msg_checking"" >&5
9201 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9200 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9202 9201
9203 xe_check_libs=" -lldap -llber -lkrb -ldes" 9202 xe_check_libs=" -lldap -llber -lkrb -ldes"
9204 cat > conftest.$ac_ext <<EOF 9203 cat > conftest.$ac_ext <<EOF
9205 #line 9206 "configure" 9204 #line 9205 "configure"
9206 #include "confdefs.h" 9205 #include "confdefs.h"
9207 /* Override any gcc2 internal prototype to avoid an error. */ 9206 /* Override any gcc2 internal prototype to avoid an error. */
9208 /* We use char because int might match the return type of a gcc2 9207 /* We use char because int might match the return type of a gcc2
9209 builtin and then its argument prototype would still apply. */ 9208 builtin and then its argument prototype would still apply. */
9210 char ldap_open(); 9209 char ldap_open();
9211 9210
9212 int main() { 9211 int main() {
9213 ldap_open() 9212 ldap_open()
9214 ; return 0; } 9213 ; return 0; }
9215 EOF 9214 EOF
9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9217 rm -rf conftest* 9216 rm -rf conftest*
9218 eval "ac_cv_lib_$ac_lib_var=yes" 9217 eval "ac_cv_lib_$ac_lib_var=yes"
9219 else 9218 else
9220 echo "configure: failed program was:" >&5 9219 echo "configure: failed program was:" >&5
9221 cat conftest.$ac_ext >&5 9220 cat conftest.$ac_ext >&5
9260 fi 9259 fi
9261 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9260 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9262 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9261 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9263 do 9262 do
9264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9265 echo "configure:9266: checking for $ac_func" >&5 9264 echo "configure:9265: checking for $ac_func" >&5
9266 9265
9267 cat > conftest.$ac_ext <<EOF 9266 cat > conftest.$ac_ext <<EOF
9268 #line 9269 "configure" 9267 #line 9268 "configure"
9269 #include "confdefs.h" 9268 #include "confdefs.h"
9270 /* System header to define __stub macros and hopefully few prototypes, 9269 /* System header to define __stub macros and hopefully few prototypes,
9271 which can conflict with char $ac_func(); below. */ 9270 which can conflict with char $ac_func(); below. */
9272 #include <assert.h> 9271 #include <assert.h>
9273 /* Override any gcc2 internal prototype to avoid an error. */ 9272 /* Override any gcc2 internal prototype to avoid an error. */
9286 $ac_func(); 9285 $ac_func();
9287 #endif 9286 #endif
9288 9287
9289 ; return 0; } 9288 ; return 0; }
9290 EOF 9289 EOF
9291 if { (eval echo configure:9292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9290 if { (eval echo configure:9291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9292 rm -rf conftest* 9291 rm -rf conftest*
9293 eval "ac_cv_func_$ac_func=yes" 9292 eval "ac_cv_func_$ac_func=yes"
9294 else 9293 else
9295 echo "configure: failed program was:" >&5 9294 echo "configure: failed program was:" >&5
9296 cat conftest.$ac_ext >&5 9295 cat conftest.$ac_ext >&5
9325 9324
9326 9325
9327 postgresql_libs= 9326 postgresql_libs=
9328 if test "$with_postgresql" != "no"; then 9327 if test "$with_postgresql" != "no"; then
9329 echo "checking for PostgreSQL" 1>&6 9328 echo "checking for PostgreSQL" 1>&6
9330 echo "configure:9331: checking for PostgreSQL" >&5 9329 echo "configure:9330: checking for PostgreSQL" >&5
9331 9330
9332 for header_dir in "" "pgsql/" "postgresql/"; do 9331 for header_dir in "" "pgsql/" "postgresql/"; do
9333 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9332 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9334 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9333 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9335 echo "configure:9336: checking for ${header_dir}libpq-fe.h" >&5 9334 echo "configure:9335: checking for ${header_dir}libpq-fe.h" >&5
9336 9335
9337 cat > conftest.$ac_ext <<EOF 9336 cat > conftest.$ac_ext <<EOF
9338 #line 9339 "configure" 9337 #line 9338 "configure"
9339 #include "confdefs.h" 9338 #include "confdefs.h"
9340 #include <${header_dir}libpq-fe.h> 9339 #include <${header_dir}libpq-fe.h>
9341 EOF 9340 EOF
9342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9343 { (eval echo configure:9344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9342 { (eval echo configure:9343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9345 if test -z "$ac_err"; then 9344 if test -z "$ac_err"; then
9346 rm -rf conftest* 9345 rm -rf conftest*
9347 eval "ac_cv_header_$ac_safe=yes" 9346 eval "ac_cv_header_$ac_safe=yes"
9348 else 9347 else
9362 9361
9363 done 9362 done
9364 9363
9365 test -n "$libpq_fe_h_file" && { 9364 test -n "$libpq_fe_h_file" && {
9366 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9365 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9367 echo "configure:9368: checking for PQconnectdb in -lpq" >&5 9366 echo "configure:9367: checking for PQconnectdb in -lpq" >&5
9368 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9367 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9369 9368
9370 xe_check_libs=" -lpq " 9369 xe_check_libs=" -lpq "
9371 cat > conftest.$ac_ext <<EOF 9370 cat > conftest.$ac_ext <<EOF
9372 #line 9373 "configure" 9371 #line 9372 "configure"
9373 #include "confdefs.h" 9372 #include "confdefs.h"
9374 /* Override any gcc2 internal prototype to avoid an error. */ 9373 /* Override any gcc2 internal prototype to avoid an error. */
9375 /* We use char because int might match the return type of a gcc2 9374 /* We use char because int might match the return type of a gcc2
9376 builtin and then its argument prototype would still apply. */ 9375 builtin and then its argument prototype would still apply. */
9377 char PQconnectdb(); 9376 char PQconnectdb();
9378 9377
9379 int main() { 9378 int main() {
9380 PQconnectdb() 9379 PQconnectdb()
9381 ; return 0; } 9380 ; return 0; }
9382 EOF 9381 EOF
9383 if { (eval echo configure:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9382 if { (eval echo configure:9383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9384 rm -rf conftest* 9383 rm -rf conftest*
9385 eval "ac_cv_lib_$ac_lib_var=yes" 9384 eval "ac_cv_lib_$ac_lib_var=yes"
9386 else 9385 else
9387 echo "configure: failed program was:" >&5 9386 echo "configure: failed program was:" >&5
9388 cat conftest.$ac_ext >&5 9387 cat conftest.$ac_ext >&5
9411 EOF 9410 EOF
9412 } 9411 }
9413 9412
9414 9413
9415 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9414 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9416 echo "configure:9417: checking for PQconnectStart in -lpq" >&5 9415 echo "configure:9416: checking for PQconnectStart in -lpq" >&5
9417 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9416 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9418 9417
9419 xe_check_libs=" -lpq " 9418 xe_check_libs=" -lpq "
9420 cat > conftest.$ac_ext <<EOF 9419 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure" 9420 #line 9421 "configure"
9422 #include "confdefs.h" 9421 #include "confdefs.h"
9423 /* Override any gcc2 internal prototype to avoid an error. */ 9422 /* Override any gcc2 internal prototype to avoid an error. */
9424 /* We use char because int might match the return type of a gcc2 9423 /* We use char because int might match the return type of a gcc2
9425 builtin and then its argument prototype would still apply. */ 9424 builtin and then its argument prototype would still apply. */
9426 char PQconnectStart(); 9425 char PQconnectStart();
9427 9426
9428 int main() { 9427 int main() {
9429 PQconnectStart() 9428 PQconnectStart()
9430 ; return 0; } 9429 ; return 0; }
9431 EOF 9430 EOF
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9433 rm -rf conftest* 9432 rm -rf conftest*
9434 eval "ac_cv_lib_$ac_lib_var=yes" 9433 eval "ac_cv_lib_$ac_lib_var=yes"
9435 else 9434 else
9436 echo "configure: failed program was:" >&5 9435 echo "configure: failed program was:" >&5
9437 cat conftest.$ac_ext >&5 9436 cat conftest.$ac_ext >&5
9478 9477
9479 9478
9480 9479
9481 if test "$window_system" != "none"; then 9480 if test "$window_system" != "none"; then
9482 echo "checking for graphics libraries" 1>&6 9481 echo "checking for graphics libraries" 1>&6
9483 echo "configure:9484: checking for graphics libraries" >&5 9482 echo "configure:9483: checking for graphics libraries" >&5
9484 9483
9485 libpath_xpm= 9484 libpath_xpm=
9486 incpath_xpm= 9485 incpath_xpm=
9487 case "$opsys" in 9486 case "$opsys" in
9488 cygwin*) 9487 cygwin*)
9504 xpm_problem="" 9503 xpm_problem=""
9505 if test -z "$with_xpm"; then 9504 if test -z "$with_xpm"; then
9506 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9505 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9507 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9506 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9508 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9507 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9509 echo "configure:9510: checking for Xpm - no older than 3.4f" >&5 9508 echo "configure:9509: checking for Xpm - no older than 3.4f" >&5
9510 xe_check_libs=-lXpm 9509 xe_check_libs=-lXpm
9511 cat > conftest.$ac_ext <<EOF 9510 cat > conftest.$ac_ext <<EOF
9512 #line 9513 "configure" 9511 #line 9512 "configure"
9513 #include "confdefs.h" 9512 #include "confdefs.h"
9514 #define XPM_NUMBERS 9513 #define XPM_NUMBERS
9515 #include <X11/xpm.h> 9514 #include <X11/xpm.h>
9516 int main(int c, char **v) { 9515 int main(int c, char **v) {
9517 return c == 1 ? 0 : 9516 return c == 1 ? 0 :
9518 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9517 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9519 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9518 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9520 EOF 9519 EOF
9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9522 then 9521 then
9523 ./conftest dummy_arg; xpm_status=$?; 9522 ./conftest dummy_arg; xpm_status=$?;
9524 if test "$xpm_status" = "0"; then 9523 if test "$xpm_status" = "0"; then
9525 with_xpm=yes; 9524 with_xpm=yes;
9526 else 9525 else
9560 9559
9561 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9560 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9562 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9561 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9563 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9562 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9564 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9563 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9565 echo "configure:9566: checking for \"FOR_MSW\" xpm" >&5 9564 echo "configure:9565: checking for \"FOR_MSW\" xpm" >&5
9566 xe_check_libs=-lXpm 9565 xe_check_libs=-lXpm
9567 cat > conftest.$ac_ext <<EOF 9566 cat > conftest.$ac_ext <<EOF
9568 #line 9569 "configure" 9567 #line 9568 "configure"
9569 #include "confdefs.h" 9568 #include "confdefs.h"
9570 9569
9571 int main() { 9570 int main() {
9572 XpmCreatePixmapFromData() 9571 XpmCreatePixmapFromData()
9573 ; return 0; } 9572 ; return 0; }
9574 EOF 9573 EOF
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9574 if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9576 rm -rf conftest* 9575 rm -rf conftest*
9577 xpm_for_msw=no 9576 xpm_for_msw=no
9578 else 9577 else
9579 echo "configure: failed program was:" >&5 9578 echo "configure: failed program was:" >&5
9580 cat conftest.$ac_ext >&5 9579 cat conftest.$ac_ext >&5
9596 fi 9595 fi
9597 fi 9596 fi
9598 9597
9599 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9598 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9600 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9599 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9601 echo "configure:9602: checking for compface.h" >&5 9600 echo "configure:9601: checking for compface.h" >&5
9602 9601
9603 cat > conftest.$ac_ext <<EOF 9602 cat > conftest.$ac_ext <<EOF
9604 #line 9605 "configure" 9603 #line 9604 "configure"
9605 #include "confdefs.h" 9604 #include "confdefs.h"
9606 #include <compface.h> 9605 #include <compface.h>
9607 EOF 9606 EOF
9608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9609 { (eval echo configure:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9608 { (eval echo configure:9609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9611 if test -z "$ac_err"; then 9610 if test -z "$ac_err"; then
9612 rm -rf conftest* 9611 rm -rf conftest*
9613 eval "ac_cv_header_$ac_safe=yes" 9612 eval "ac_cv_header_$ac_safe=yes"
9614 else 9613 else
9627 with_xface=no 9626 with_xface=no
9628 fi 9627 fi
9629 } 9628 }
9630 test -z "$with_xface" && { 9629 test -z "$with_xface" && {
9631 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9630 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9632 echo "configure:9633: checking for UnGenFace in -lcompface" >&5 9631 echo "configure:9632: checking for UnGenFace in -lcompface" >&5
9633 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9632 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9634 9633
9635 xe_check_libs=" -lcompface " 9634 xe_check_libs=" -lcompface "
9636 cat > conftest.$ac_ext <<EOF 9635 cat > conftest.$ac_ext <<EOF
9637 #line 9638 "configure" 9636 #line 9637 "configure"
9638 #include "confdefs.h" 9637 #include "confdefs.h"
9639 /* Override any gcc2 internal prototype to avoid an error. */ 9638 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2 9639 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */ 9640 builtin and then its argument prototype would still apply. */
9642 char UnGenFace(); 9641 char UnGenFace();
9643 9642
9644 int main() { 9643 int main() {
9645 UnGenFace() 9644 UnGenFace()
9646 ; return 0; } 9645 ; return 0; }
9647 EOF 9646 EOF
9648 if { (eval echo configure:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9647 if { (eval echo configure:9648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9649 rm -rf conftest* 9648 rm -rf conftest*
9650 eval "ac_cv_lib_$ac_lib_var=yes" 9649 eval "ac_cv_lib_$ac_lib_var=yes"
9651 else 9650 else
9652 echo "configure: failed program was:" >&5 9651 echo "configure: failed program was:" >&5
9653 cat conftest.$ac_ext >&5 9652 cat conftest.$ac_ext >&5
9692 fi 9691 fi
9693 9692
9694 if test "$with_png $with_tiff" != "no no"; then 9693 if test "$with_png $with_tiff" != "no no"; then
9695 9694
9696 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9695 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9697 echo "configure:9698: checking for inflate in -lc" >&5 9696 echo "configure:9697: checking for inflate in -lc" >&5
9698 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9697 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9699 9698
9700 xe_check_libs=" -lc " 9699 xe_check_libs=" -lc "
9701 cat > conftest.$ac_ext <<EOF 9700 cat > conftest.$ac_ext <<EOF
9702 #line 9703 "configure" 9701 #line 9702 "configure"
9703 #include "confdefs.h" 9702 #include "confdefs.h"
9704 /* Override any gcc2 internal prototype to avoid an error. */ 9703 /* Override any gcc2 internal prototype to avoid an error. */
9705 /* We use char because int might match the return type of a gcc2 9704 /* We use char because int might match the return type of a gcc2
9706 builtin and then its argument prototype would still apply. */ 9705 builtin and then its argument prototype would still apply. */
9707 char inflate(); 9706 char inflate();
9708 9707
9709 int main() { 9708 int main() {
9710 inflate() 9709 inflate()
9711 ; return 0; } 9710 ; return 0; }
9712 EOF 9711 EOF
9713 if { (eval echo configure:9714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9714 rm -rf conftest* 9713 rm -rf conftest*
9715 eval "ac_cv_lib_$ac_lib_var=yes" 9714 eval "ac_cv_lib_$ac_lib_var=yes"
9716 else 9715 else
9717 echo "configure: failed program was:" >&5 9716 echo "configure: failed program was:" >&5
9718 cat conftest.$ac_ext >&5 9717 cat conftest.$ac_ext >&5
9727 : 9726 :
9728 else 9727 else
9729 echo "$ac_t""no" 1>&6 9728 echo "$ac_t""no" 1>&6
9730 9729
9731 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9730 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9732 echo "configure:9733: checking for inflate in -lz" >&5 9731 echo "configure:9732: checking for inflate in -lz" >&5
9733 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9732 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9734 9733
9735 xe_check_libs=" -lz " 9734 xe_check_libs=" -lz "
9736 cat > conftest.$ac_ext <<EOF 9735 cat > conftest.$ac_ext <<EOF
9737 #line 9738 "configure" 9736 #line 9737 "configure"
9738 #include "confdefs.h" 9737 #include "confdefs.h"
9739 /* Override any gcc2 internal prototype to avoid an error. */ 9738 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2 9739 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */ 9740 builtin and then its argument prototype would still apply. */
9742 char inflate(); 9741 char inflate();
9743 9742
9744 int main() { 9743 int main() {
9745 inflate() 9744 inflate()
9746 ; return 0; } 9745 ; return 0; }
9747 EOF 9746 EOF
9748 if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9749 rm -rf conftest* 9748 rm -rf conftest*
9750 eval "ac_cv_lib_$ac_lib_var=yes" 9749 eval "ac_cv_lib_$ac_lib_var=yes"
9751 else 9750 else
9752 echo "configure: failed program was:" >&5 9751 echo "configure: failed program was:" >&5
9753 cat conftest.$ac_ext >&5 9752 cat conftest.$ac_ext >&5
9762 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9761 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9763 else 9762 else
9764 echo "$ac_t""no" 1>&6 9763 echo "$ac_t""no" 1>&6
9765 9764
9766 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9765 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9767 echo "configure:9768: checking for inflate in -lgz" >&5 9766 echo "configure:9767: checking for inflate in -lgz" >&5
9768 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9767 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9769 9768
9770 xe_check_libs=" -lgz " 9769 xe_check_libs=" -lgz "
9771 cat > conftest.$ac_ext <<EOF 9770 cat > conftest.$ac_ext <<EOF
9772 #line 9773 "configure" 9771 #line 9772 "configure"
9773 #include "confdefs.h" 9772 #include "confdefs.h"
9774 /* Override any gcc2 internal prototype to avoid an error. */ 9773 /* Override any gcc2 internal prototype to avoid an error. */
9775 /* We use char because int might match the return type of a gcc2 9774 /* We use char because int might match the return type of a gcc2
9776 builtin and then its argument prototype would still apply. */ 9775 builtin and then its argument prototype would still apply. */
9777 char inflate(); 9776 char inflate();
9778 9777
9779 int main() { 9778 int main() {
9780 inflate() 9779 inflate()
9781 ; return 0; } 9780 ; return 0; }
9782 EOF 9781 EOF
9783 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9782 if { (eval echo configure:9783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9784 rm -rf conftest* 9783 rm -rf conftest*
9785 eval "ac_cv_lib_$ac_lib_var=yes" 9784 eval "ac_cv_lib_$ac_lib_var=yes"
9786 else 9785 else
9787 echo "configure: failed program was:" >&5 9786 echo "configure: failed program was:" >&5
9788 cat conftest.$ac_ext >&5 9787 cat conftest.$ac_ext >&5
9808 9807
9809 fi 9808 fi
9810 9809
9811 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9810 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9812 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9811 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9813 echo "configure:9814: checking for jpeglib.h" >&5 9812 echo "configure:9813: checking for jpeglib.h" >&5
9814 9813
9815 cat > conftest.$ac_ext <<EOF 9814 cat > conftest.$ac_ext <<EOF
9816 #line 9817 "configure" 9815 #line 9816 "configure"
9817 #include "confdefs.h" 9816 #include "confdefs.h"
9818 #include <jpeglib.h> 9817 #include <jpeglib.h>
9819 EOF 9818 EOF
9820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9821 { (eval echo configure:9822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9820 { (eval echo configure:9821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9823 if test -z "$ac_err"; then 9822 if test -z "$ac_err"; then
9824 rm -rf conftest* 9823 rm -rf conftest*
9825 eval "ac_cv_header_$ac_safe=yes" 9824 eval "ac_cv_header_$ac_safe=yes"
9826 else 9825 else
9839 with_jpeg=no 9838 with_jpeg=no
9840 fi 9839 fi
9841 } 9840 }
9842 test -z "$with_jpeg" && { 9841 test -z "$with_jpeg" && {
9843 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9842 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9844 echo "configure:9845: checking for jpeg_destroy_decompress in -ljpeg" >&5 9843 echo "configure:9844: checking for jpeg_destroy_decompress in -ljpeg" >&5
9845 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9844 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9846 9845
9847 xe_check_libs=" -ljpeg " 9846 xe_check_libs=" -ljpeg "
9848 cat > conftest.$ac_ext <<EOF 9847 cat > conftest.$ac_ext <<EOF
9849 #line 9850 "configure" 9848 #line 9849 "configure"
9850 #include "confdefs.h" 9849 #include "confdefs.h"
9851 /* Override any gcc2 internal prototype to avoid an error. */ 9850 /* Override any gcc2 internal prototype to avoid an error. */
9852 /* We use char because int might match the return type of a gcc2 9851 /* We use char because int might match the return type of a gcc2
9853 builtin and then its argument prototype would still apply. */ 9852 builtin and then its argument prototype would still apply. */
9854 char jpeg_destroy_decompress(); 9853 char jpeg_destroy_decompress();
9855 9854
9856 int main() { 9855 int main() {
9857 jpeg_destroy_decompress() 9856 jpeg_destroy_decompress()
9858 ; return 0; } 9857 ; return 0; }
9859 EOF 9858 EOF
9860 if { (eval echo configure:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9859 if { (eval echo configure:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9861 rm -rf conftest* 9860 rm -rf conftest*
9862 eval "ac_cv_lib_$ac_lib_var=yes" 9861 eval "ac_cv_lib_$ac_lib_var=yes"
9863 else 9862 else
9864 echo "configure: failed program was:" >&5 9863 echo "configure: failed program was:" >&5
9865 cat conftest.$ac_ext >&5 9864 cat conftest.$ac_ext >&5
9891 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 9890 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9892 fi 9891 fi
9893 9892
9894 png_problem="" 9893 png_problem=""
9895 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 9894 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9896 echo "configure:9897: checking for pow" >&5 9895 echo "configure:9896: checking for pow" >&5
9897 9896
9898 cat > conftest.$ac_ext <<EOF 9897 cat > conftest.$ac_ext <<EOF
9899 #line 9900 "configure" 9898 #line 9899 "configure"
9900 #include "confdefs.h" 9899 #include "confdefs.h"
9901 /* System header to define __stub macros and hopefully few prototypes, 9900 /* System header to define __stub macros and hopefully few prototypes,
9902 which can conflict with char pow(); below. */ 9901 which can conflict with char pow(); below. */
9903 #include <assert.h> 9902 #include <assert.h>
9904 /* Override any gcc2 internal prototype to avoid an error. */ 9903 /* Override any gcc2 internal prototype to avoid an error. */
9917 pow(); 9916 pow();
9918 #endif 9917 #endif
9919 9918
9920 ; return 0; } 9919 ; return 0; }
9921 EOF 9920 EOF
9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9923 rm -rf conftest* 9922 rm -rf conftest*
9924 eval "ac_cv_func_pow=yes" 9923 eval "ac_cv_func_pow=yes"
9925 else 9924 else
9926 echo "configure: failed program was:" >&5 9925 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5 9926 cat conftest.$ac_ext >&5
9938 with_png=no 9937 with_png=no
9939 fi 9938 fi
9940 } 9939 }
9941 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 9940 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9942 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9941 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9943 echo "configure:9944: checking for png.h" >&5 9942 echo "configure:9943: checking for png.h" >&5
9944 9943
9945 cat > conftest.$ac_ext <<EOF 9944 cat > conftest.$ac_ext <<EOF
9946 #line 9947 "configure" 9945 #line 9946 "configure"
9947 #include "confdefs.h" 9946 #include "confdefs.h"
9948 #include <png.h> 9947 #include <png.h>
9949 EOF 9948 EOF
9950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9951 { (eval echo configure:9952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9950 { (eval echo configure:9951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9953 if test -z "$ac_err"; then 9952 if test -z "$ac_err"; then
9954 rm -rf conftest* 9953 rm -rf conftest*
9955 eval "ac_cv_header_$ac_safe=yes" 9954 eval "ac_cv_header_$ac_safe=yes"
9956 else 9955 else
9969 with_png=no 9968 with_png=no
9970 fi 9969 fi
9971 } 9970 }
9972 test -z "$with_png" && { 9971 test -z "$with_png" && {
9973 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 9972 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
9974 echo "configure:9975: checking for png_read_image in -lpng" >&5 9973 echo "configure:9974: checking for png_read_image in -lpng" >&5
9975 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9974 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9976 9975
9977 xe_check_libs=" -lpng " 9976 xe_check_libs=" -lpng "
9978 cat > conftest.$ac_ext <<EOF 9977 cat > conftest.$ac_ext <<EOF
9979 #line 9980 "configure" 9978 #line 9979 "configure"
9980 #include "confdefs.h" 9979 #include "confdefs.h"
9981 /* Override any gcc2 internal prototype to avoid an error. */ 9980 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2 9981 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */ 9982 builtin and then its argument prototype would still apply. */
9984 char png_read_image(); 9983 char png_read_image();
9985 9984
9986 int main() { 9985 int main() {
9987 png_read_image() 9986 png_read_image()
9988 ; return 0; } 9987 ; return 0; }
9989 EOF 9988 EOF
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9991 rm -rf conftest* 9990 rm -rf conftest*
9992 eval "ac_cv_lib_$ac_lib_var=yes" 9991 eval "ac_cv_lib_$ac_lib_var=yes"
9993 else 9992 else
9994 echo "configure: failed program was:" >&5 9993 echo "configure: failed program was:" >&5
9995 cat conftest.$ac_ext >&5 9994 cat conftest.$ac_ext >&5
10008 fi 10007 fi
10009 10008
10010 } 10009 }
10011 if test -z "$with_png"; then 10010 if test -z "$with_png"; then
10012 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10011 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10013 echo "configure:10014: checking for workable png version information" >&5 10012 echo "configure:10013: checking for workable png version information" >&5
10014 xe_check_libs="-lpng -lz" 10013 xe_check_libs="-lpng -lz"
10015 cat > conftest.$ac_ext <<EOF 10014 cat > conftest.$ac_ext <<EOF
10016 #line 10017 "configure" 10015 #line 10016 "configure"
10017 #include "confdefs.h" 10016 #include "confdefs.h"
10018 #include <png.h> 10017 #include <png.h>
10019 int main(int c, char **v) { 10018 int main(int c, char **v) {
10020 if (c == 1) return 0; 10019 if (c == 1) return 0;
10021 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10020 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10022 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10021 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10023 EOF 10022 EOF
10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10023 if { (eval echo configure:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10025 then 10024 then
10026 ./conftest dummy_arg; png_status=$?; 10025 ./conftest dummy_arg; png_status=$?;
10027 if test "$png_status" = "0"; then 10026 if test "$png_status" = "0"; then
10028 with_png=yes; 10027 with_png=yes;
10029 else 10028 else
10062 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10061 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10063 fi 10062 fi
10064 10063
10065 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10064 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10066 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10065 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10067 echo "configure:10068: checking for tiffio.h" >&5 10066 echo "configure:10067: checking for tiffio.h" >&5
10068 10067
10069 cat > conftest.$ac_ext <<EOF 10068 cat > conftest.$ac_ext <<EOF
10070 #line 10071 "configure" 10069 #line 10070 "configure"
10071 #include "confdefs.h" 10070 #include "confdefs.h"
10072 #include <tiffio.h> 10071 #include <tiffio.h>
10073 EOF 10072 EOF
10074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10074 { (eval echo configure:10075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10077 if test -z "$ac_err"; then 10076 if test -z "$ac_err"; then
10078 rm -rf conftest* 10077 rm -rf conftest*
10079 eval "ac_cv_header_$ac_safe=yes" 10078 eval "ac_cv_header_$ac_safe=yes"
10080 else 10079 else
10093 with_tiff=no 10092 with_tiff=no
10094 fi 10093 fi
10095 } 10094 }
10096 test -z "$with_tiff" && { 10095 test -z "$with_tiff" && {
10097 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10096 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10098 echo "configure:10099: checking for TIFFClientOpen in -ltiff" >&5 10097 echo "configure:10098: checking for TIFFClientOpen in -ltiff" >&5
10099 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10098 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10100 10099
10101 xe_check_libs=" -ltiff " 10100 xe_check_libs=" -ltiff "
10102 cat > conftest.$ac_ext <<EOF 10101 cat > conftest.$ac_ext <<EOF
10103 #line 10104 "configure" 10102 #line 10103 "configure"
10104 #include "confdefs.h" 10103 #include "confdefs.h"
10105 /* Override any gcc2 internal prototype to avoid an error. */ 10104 /* Override any gcc2 internal prototype to avoid an error. */
10106 /* We use char because int might match the return type of a gcc2 10105 /* We use char because int might match the return type of a gcc2
10107 builtin and then its argument prototype would still apply. */ 10106 builtin and then its argument prototype would still apply. */
10108 char TIFFClientOpen(); 10107 char TIFFClientOpen();
10109 10108
10110 int main() { 10109 int main() {
10111 TIFFClientOpen() 10110 TIFFClientOpen()
10112 ; return 0; } 10111 ; return 0; }
10113 EOF 10112 EOF
10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10113 if { (eval echo configure:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10115 rm -rf conftest* 10114 rm -rf conftest*
10116 eval "ac_cv_lib_$ac_lib_var=yes" 10115 eval "ac_cv_lib_$ac_lib_var=yes"
10117 else 10116 else
10118 echo "configure: failed program was:" >&5 10117 echo "configure: failed program was:" >&5
10119 cat conftest.$ac_ext >&5 10118 cat conftest.$ac_ext >&5
10148 10147
10149 10148
10150 if test "$with_gtk" = "yes"; then 10149 if test "$with_gtk" = "yes"; then
10151 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10150 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10152 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10151 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10153 echo "configure:10154: checking for compface.h" >&5 10152 echo "configure:10153: checking for compface.h" >&5
10154 10153
10155 cat > conftest.$ac_ext <<EOF 10154 cat > conftest.$ac_ext <<EOF
10156 #line 10157 "configure" 10155 #line 10156 "configure"
10157 #include "confdefs.h" 10156 #include "confdefs.h"
10158 #include <compface.h> 10157 #include <compface.h>
10159 EOF 10158 EOF
10160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10161 { (eval echo configure:10162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10160 { (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10163 if test -z "$ac_err"; then 10162 if test -z "$ac_err"; then
10164 rm -rf conftest* 10163 rm -rf conftest*
10165 eval "ac_cv_header_$ac_safe=yes" 10164 eval "ac_cv_header_$ac_safe=yes"
10166 else 10165 else
10179 with_xface=no 10178 with_xface=no
10180 fi 10179 fi
10181 } 10180 }
10182 test -z "$with_xface" && { 10181 test -z "$with_xface" && {
10183 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10182 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10184 echo "configure:10185: checking for UnGenFace in -lcompface" >&5 10183 echo "configure:10184: checking for UnGenFace in -lcompface" >&5
10185 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10184 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10186 10185
10187 xe_check_libs=" -lcompface " 10186 xe_check_libs=" -lcompface "
10188 cat > conftest.$ac_ext <<EOF 10187 cat > conftest.$ac_ext <<EOF
10189 #line 10190 "configure" 10188 #line 10189 "configure"
10190 #include "confdefs.h" 10189 #include "confdefs.h"
10191 /* Override any gcc2 internal prototype to avoid an error. */ 10190 /* Override any gcc2 internal prototype to avoid an error. */
10192 /* We use char because int might match the return type of a gcc2 10191 /* We use char because int might match the return type of a gcc2
10193 builtin and then its argument prototype would still apply. */ 10192 builtin and then its argument prototype would still apply. */
10194 char UnGenFace(); 10193 char UnGenFace();
10195 10194
10196 int main() { 10195 int main() {
10197 UnGenFace() 10196 UnGenFace()
10198 ; return 0; } 10197 ; return 0; }
10199 EOF 10198 EOF
10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10199 if { (eval echo configure:10200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10201 rm -rf conftest* 10200 rm -rf conftest*
10202 eval "ac_cv_lib_$ac_lib_var=yes" 10201 eval "ac_cv_lib_$ac_lib_var=yes"
10203 else 10202 else
10204 echo "configure: failed program was:" >&5 10203 echo "configure: failed program was:" >&5
10205 cat conftest.$ac_ext >&5 10204 cat conftest.$ac_ext >&5
10234 10233
10235 10234
10236 10235
10237 if test "$with_x11" = "yes"; then 10236 if test "$with_x11" = "yes"; then
10238 echo "checking for X11 graphics libraries" 1>&6 10237 echo "checking for X11 graphics libraries" 1>&6
10239 echo "configure:10240: checking for X11 graphics libraries" >&5 10238 echo "configure:10239: checking for X11 graphics libraries" >&5
10240 fi 10239 fi
10241 10240
10242 case "$with_widgets" in 10241 case "$with_widgets" in
10243 "yes" | "athena") detect_athena=yes ;; 10242 "yes" | "athena") detect_athena=yes ;;
10244 *) detect_athena=no ;; 10243 *) detect_athena=no ;;
10245 esac 10244 esac
10246 10245
10247 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10246 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10248 echo "checking for the Athena widgets" 1>&6 10247 echo "checking for the Athena widgets" 1>&6
10249 echo "configure:10250: checking for the Athena widgets" >&5 10248 echo "configure:10249: checking for the Athena widgets" >&5
10250 10249
10251 case "$with_athena" in 10250 case "$with_athena" in
10252 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10251 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10253 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10252 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10254 "next") athena_variant=neXtaw athena_3d=yes ;; 10253 "next") athena_variant=neXtaw athena_3d=yes ;;
10258 esac 10257 esac
10259 10258
10260 if test "$athena_3d" = "no"; then 10259 if test "$athena_3d" = "no"; then
10261 10260
10262 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10261 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10263 echo "configure:10264: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10262 echo "configure:10263: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10264 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10263 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10265 10264
10266 xe_check_libs=" -l$athena_variant " 10265 xe_check_libs=" -l$athena_variant "
10267 cat > conftest.$ac_ext <<EOF 10266 cat > conftest.$ac_ext <<EOF
10268 #line 10269 "configure" 10267 #line 10268 "configure"
10269 #include "confdefs.h" 10268 #include "confdefs.h"
10270 /* Override any gcc2 internal prototype to avoid an error. */ 10269 /* Override any gcc2 internal prototype to avoid an error. */
10271 /* We use char because int might match the return type of a gcc2 10270 /* We use char because int might match the return type of a gcc2
10272 builtin and then its argument prototype would still apply. */ 10271 builtin and then its argument prototype would still apply. */
10273 char XawScrollbarSetThumb(); 10272 char XawScrollbarSetThumb();
10274 10273
10275 int main() { 10274 int main() {
10276 XawScrollbarSetThumb() 10275 XawScrollbarSetThumb()
10277 ; return 0; } 10276 ; return 0; }
10278 EOF 10277 EOF
10279 if { (eval echo configure:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10278 if { (eval echo configure:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10280 rm -rf conftest* 10279 rm -rf conftest*
10281 eval "ac_cv_lib_$ac_lib_var=yes" 10280 eval "ac_cv_lib_$ac_lib_var=yes"
10282 else 10281 else
10283 echo "configure: failed program was:" >&5 10282 echo "configure: failed program was:" >&5
10284 cat conftest.$ac_ext >&5 10283 cat conftest.$ac_ext >&5
10290 10289
10291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10290 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10292 echo "$ac_t""yes" 1>&6 10291 echo "$ac_t""yes" 1>&6
10293 10292
10294 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10293 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10295 echo "configure:10296: checking for threeDClassRec in -l$athena_variant" >&5 10294 echo "configure:10295: checking for threeDClassRec in -l$athena_variant" >&5
10296 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10295 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10297 10296
10298 xe_check_libs=" -l$athena_variant " 10297 xe_check_libs=" -l$athena_variant "
10299 cat > conftest.$ac_ext <<EOF 10298 cat > conftest.$ac_ext <<EOF
10300 #line 10301 "configure" 10299 #line 10300 "configure"
10301 #include "confdefs.h" 10300 #include "confdefs.h"
10302 /* Override any gcc2 internal prototype to avoid an error. */ 10301 /* Override any gcc2 internal prototype to avoid an error. */
10303 /* We use char because int might match the return type of a gcc2 10302 /* We use char because int might match the return type of a gcc2
10304 builtin and then its argument prototype would still apply. */ 10303 builtin and then its argument prototype would still apply. */
10305 char threeDClassRec(); 10304 char threeDClassRec();
10306 10305
10307 int main() { 10306 int main() {
10308 threeDClassRec() 10307 threeDClassRec()
10309 ; return 0; } 10308 ; return 0; }
10310 EOF 10309 EOF
10311 if { (eval echo configure:10312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10310 if { (eval echo configure:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10312 rm -rf conftest* 10311 rm -rf conftest*
10313 eval "ac_cv_lib_$ac_lib_var=yes" 10312 eval "ac_cv_lib_$ac_lib_var=yes"
10314 else 10313 else
10315 echo "configure: failed program was:" >&5 10314 echo "configure: failed program was:" >&5
10316 cat conftest.$ac_ext >&5 10315 cat conftest.$ac_ext >&5
10337 10336
10338 10337
10339 else 10338 else
10340 10339
10341 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10340 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10342 echo "configure:10343: checking for threeDClassRec in -l$athena_variant" >&5 10341 echo "configure:10342: checking for threeDClassRec in -l$athena_variant" >&5
10343 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10342 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10344 10343
10345 xe_check_libs=" -l$athena_variant " 10344 xe_check_libs=" -l$athena_variant "
10346 cat > conftest.$ac_ext <<EOF 10345 cat > conftest.$ac_ext <<EOF
10347 #line 10348 "configure" 10346 #line 10347 "configure"
10348 #include "confdefs.h" 10347 #include "confdefs.h"
10349 /* Override any gcc2 internal prototype to avoid an error. */ 10348 /* Override any gcc2 internal prototype to avoid an error. */
10350 /* We use char because int might match the return type of a gcc2 10349 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */ 10350 builtin and then its argument prototype would still apply. */
10352 char threeDClassRec(); 10351 char threeDClassRec();
10353 10352
10354 int main() { 10353 int main() {
10355 threeDClassRec() 10354 threeDClassRec()
10356 ; return 0; } 10355 ; return 0; }
10357 EOF 10356 EOF
10358 if { (eval echo configure:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10357 if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10359 rm -rf conftest* 10358 rm -rf conftest*
10360 eval "ac_cv_lib_$ac_lib_var=yes" 10359 eval "ac_cv_lib_$ac_lib_var=yes"
10361 else 10360 else
10362 echo "configure: failed program was:" >&5 10361 echo "configure: failed program was:" >&5
10363 cat conftest.$ac_ext >&5 10362 cat conftest.$ac_ext >&5
10371 echo "$ac_t""yes" 1>&6 10370 echo "$ac_t""yes" 1>&6
10372 athena_lib=$athena_variant 10371 athena_lib=$athena_variant
10373 else 10372 else
10374 echo "$ac_t""no" 1>&6 10373 echo "$ac_t""no" 1>&6
10375 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10374 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10376 echo "configure:10377: checking for threeDClassRec in -lXaw" >&5 10375 echo "configure:10376: checking for threeDClassRec in -lXaw" >&5
10377 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10376 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10378 10377
10379 xe_check_libs=" -lXaw " 10378 xe_check_libs=" -lXaw "
10380 cat > conftest.$ac_ext <<EOF 10379 cat > conftest.$ac_ext <<EOF
10381 #line 10382 "configure" 10380 #line 10381 "configure"
10382 #include "confdefs.h" 10381 #include "confdefs.h"
10383 /* Override any gcc2 internal prototype to avoid an error. */ 10382 /* Override any gcc2 internal prototype to avoid an error. */
10384 /* We use char because int might match the return type of a gcc2 10383 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */ 10384 builtin and then its argument prototype would still apply. */
10386 char threeDClassRec(); 10385 char threeDClassRec();
10387 10386
10388 int main() { 10387 int main() {
10389 threeDClassRec() 10388 threeDClassRec()
10390 ; return 0; } 10389 ; return 0; }
10391 EOF 10390 EOF
10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10391 if { (eval echo configure:10392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10393 rm -rf conftest* 10392 rm -rf conftest*
10394 eval "ac_cv_lib_$ac_lib_var=yes" 10393 eval "ac_cv_lib_$ac_lib_var=yes"
10395 else 10394 else
10396 echo "configure: failed program was:" >&5 10395 echo "configure: failed program was:" >&5
10397 cat conftest.$ac_ext >&5 10396 cat conftest.$ac_ext >&5
10418 fi 10417 fi
10419 10418
10420 if test "$athena_3d" = "no"; then 10419 if test "$athena_3d" = "no"; then
10421 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10420 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10422 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10421 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10423 echo "configure:10424: checking for X11/Xaw/ThreeD.h" >&5 10422 echo "configure:10423: checking for X11/Xaw/ThreeD.h" >&5
10424 10423
10425 cat > conftest.$ac_ext <<EOF 10424 cat > conftest.$ac_ext <<EOF
10426 #line 10427 "configure" 10425 #line 10426 "configure"
10427 #include "confdefs.h" 10426 #include "confdefs.h"
10428 #include <X11/Xaw/ThreeD.h> 10427 #include <X11/Xaw/ThreeD.h>
10429 EOF 10428 EOF
10430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10430 { (eval echo configure:10431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10433 if test -z "$ac_err"; then 10432 if test -z "$ac_err"; then
10434 rm -rf conftest* 10433 rm -rf conftest*
10435 eval "ac_cv_header_$ac_safe=yes" 10434 eval "ac_cv_header_$ac_safe=yes"
10436 else 10435 else
10446 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10445 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10447 else 10446 else
10448 echo "$ac_t""no" 1>&6 10447 echo "$ac_t""no" 1>&6
10449 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10448 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10450 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10449 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10451 echo "configure:10452: checking for X11/Xaw/XawInit.h" >&5 10450 echo "configure:10451: checking for X11/Xaw/XawInit.h" >&5
10452 10451
10453 cat > conftest.$ac_ext <<EOF 10452 cat > conftest.$ac_ext <<EOF
10454 #line 10455 "configure" 10453 #line 10454 "configure"
10455 #include "confdefs.h" 10454 #include "confdefs.h"
10456 #include <X11/Xaw/XawInit.h> 10455 #include <X11/Xaw/XawInit.h>
10457 EOF 10456 EOF
10458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10461 if test -z "$ac_err"; then 10460 if test -z "$ac_err"; then
10462 rm -rf conftest* 10461 rm -rf conftest*
10463 eval "ac_cv_header_$ac_safe=yes" 10462 eval "ac_cv_header_$ac_safe=yes"
10464 else 10463 else
10480 fi 10479 fi
10481 10480
10482 else 10481 else
10483 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10482 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10484 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10483 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10485 echo "configure:10486: checking for X11/$athena_variant/XawInit.h" >&5 10484 echo "configure:10485: checking for X11/$athena_variant/XawInit.h" >&5
10486 10485
10487 cat > conftest.$ac_ext <<EOF 10486 cat > conftest.$ac_ext <<EOF
10488 #line 10489 "configure" 10487 #line 10488 "configure"
10489 #include "confdefs.h" 10488 #include "confdefs.h"
10490 #include <X11/$athena_variant/XawInit.h> 10489 #include <X11/$athena_variant/XawInit.h>
10491 EOF 10490 EOF
10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10492 { (eval echo configure:10493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10495 if test -z "$ac_err"; then 10494 if test -z "$ac_err"; then
10496 rm -rf conftest* 10495 rm -rf conftest*
10497 eval "ac_cv_header_$ac_safe=yes" 10496 eval "ac_cv_header_$ac_safe=yes"
10498 else 10497 else
10505 rm -f conftest* 10504 rm -f conftest*
10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10507 echo "$ac_t""yes" 1>&6 10506 echo "$ac_t""yes" 1>&6
10508 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10507 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10509 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10508 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10510 echo "configure:10511: checking for X11/$athena_variant/ThreeD.h" >&5 10509 echo "configure:10510: checking for X11/$athena_variant/ThreeD.h" >&5
10511 10510
10512 cat > conftest.$ac_ext <<EOF 10511 cat > conftest.$ac_ext <<EOF
10513 #line 10514 "configure" 10512 #line 10513 "configure"
10514 #include "confdefs.h" 10513 #include "confdefs.h"
10515 #include <X11/$athena_variant/ThreeD.h> 10514 #include <X11/$athena_variant/ThreeD.h>
10516 EOF 10515 EOF
10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10517 { (eval echo configure:10518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10520 if test -z "$ac_err"; then 10519 if test -z "$ac_err"; then
10521 rm -rf conftest* 10520 rm -rf conftest*
10522 eval "ac_cv_header_$ac_safe=yes" 10521 eval "ac_cv_header_$ac_safe=yes"
10523 else 10522 else
10541 10540
10542 10541
10543 if test -z "$athena_h_path"; then 10542 if test -z "$athena_h_path"; then
10544 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10543 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10545 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10544 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10546 echo "configure:10547: checking for $athena_variant/XawInit.h" >&5 10545 echo "configure:10546: checking for $athena_variant/XawInit.h" >&5
10547 10546
10548 cat > conftest.$ac_ext <<EOF 10547 cat > conftest.$ac_ext <<EOF
10549 #line 10550 "configure" 10548 #line 10549 "configure"
10550 #include "confdefs.h" 10549 #include "confdefs.h"
10551 #include <$athena_variant/XawInit.h> 10550 #include <$athena_variant/XawInit.h>
10552 EOF 10551 EOF
10553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10554 { (eval echo configure:10555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10553 { (eval echo configure:10554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10556 if test -z "$ac_err"; then 10555 if test -z "$ac_err"; then
10557 rm -rf conftest* 10556 rm -rf conftest*
10558 eval "ac_cv_header_$ac_safe=yes" 10557 eval "ac_cv_header_$ac_safe=yes"
10559 else 10558 else
10566 rm -f conftest* 10565 rm -f conftest*
10567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10568 echo "$ac_t""yes" 1>&6 10567 echo "$ac_t""yes" 1>&6
10569 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10568 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10570 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10569 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10571 echo "configure:10572: checking for $athena_variant/ThreeD.h" >&5 10570 echo "configure:10571: checking for $athena_variant/ThreeD.h" >&5
10572 10571
10573 cat > conftest.$ac_ext <<EOF 10572 cat > conftest.$ac_ext <<EOF
10574 #line 10575 "configure" 10573 #line 10574 "configure"
10575 #include "confdefs.h" 10574 #include "confdefs.h"
10576 #include <$athena_variant/ThreeD.h> 10575 #include <$athena_variant/ThreeD.h>
10577 EOF 10576 EOF
10578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10581 if test -z "$ac_err"; then 10580 if test -z "$ac_err"; then
10582 rm -rf conftest* 10581 rm -rf conftest*
10583 eval "ac_cv_header_$ac_safe=yes" 10582 eval "ac_cv_header_$ac_safe=yes"
10584 else 10583 else
10603 fi 10602 fi
10604 10603
10605 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10604 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10606 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10605 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10607 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10606 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10608 echo "configure:10609: checking for X11/Xaw3d/XawInit.h" >&5 10607 echo "configure:10608: checking for X11/Xaw3d/XawInit.h" >&5
10609 10608
10610 cat > conftest.$ac_ext <<EOF 10609 cat > conftest.$ac_ext <<EOF
10611 #line 10612 "configure" 10610 #line 10611 "configure"
10612 #include "confdefs.h" 10611 #include "confdefs.h"
10613 #include <X11/Xaw3d/XawInit.h> 10612 #include <X11/Xaw3d/XawInit.h>
10614 EOF 10613 EOF
10615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10616 { (eval echo configure:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10615 { (eval echo configure:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10618 if test -z "$ac_err"; then 10617 if test -z "$ac_err"; then
10619 rm -rf conftest* 10618 rm -rf conftest*
10620 eval "ac_cv_header_$ac_safe=yes" 10619 eval "ac_cv_header_$ac_safe=yes"
10621 else 10620 else
10628 rm -f conftest* 10627 rm -f conftest*
10629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10630 echo "$ac_t""yes" 1>&6 10629 echo "$ac_t""yes" 1>&6
10631 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10630 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10632 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10631 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10633 echo "configure:10634: checking for X11/Xaw3d/ThreeD.h" >&5 10632 echo "configure:10633: checking for X11/Xaw3d/ThreeD.h" >&5
10634 10633
10635 cat > conftest.$ac_ext <<EOF 10634 cat > conftest.$ac_ext <<EOF
10636 #line 10637 "configure" 10635 #line 10636 "configure"
10637 #include "confdefs.h" 10636 #include "confdefs.h"
10638 #include <X11/Xaw3d/ThreeD.h> 10637 #include <X11/Xaw3d/ThreeD.h>
10639 EOF 10638 EOF
10640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10641 { (eval echo configure:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10640 { (eval echo configure:10641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10643 if test -z "$ac_err"; then 10642 if test -z "$ac_err"; then
10644 rm -rf conftest* 10643 rm -rf conftest*
10645 eval "ac_cv_header_$ac_safe=yes" 10644 eval "ac_cv_header_$ac_safe=yes"
10646 else 10645 else
10668 fi 10667 fi
10669 10668
10670 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10669 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10671 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10670 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10672 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10671 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10673 echo "configure:10674: checking for Xaw3d/XawInit.h" >&5 10672 echo "configure:10673: checking for Xaw3d/XawInit.h" >&5
10674 10673
10675 cat > conftest.$ac_ext <<EOF 10674 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure" 10675 #line 10676 "configure"
10677 #include "confdefs.h" 10676 #include "confdefs.h"
10678 #include <Xaw3d/XawInit.h> 10677 #include <Xaw3d/XawInit.h>
10679 EOF 10678 EOF
10680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10681 { (eval echo configure:10682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10680 { (eval echo configure:10681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10683 if test -z "$ac_err"; then 10682 if test -z "$ac_err"; then
10684 rm -rf conftest* 10683 rm -rf conftest*
10685 eval "ac_cv_header_$ac_safe=yes" 10684 eval "ac_cv_header_$ac_safe=yes"
10686 else 10685 else
10693 rm -f conftest* 10692 rm -f conftest*
10694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10695 echo "$ac_t""yes" 1>&6 10694 echo "$ac_t""yes" 1>&6
10696 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10695 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10697 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10696 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10698 echo "configure:10699: checking for Xaw3d/ThreeD.h" >&5 10697 echo "configure:10698: checking for Xaw3d/ThreeD.h" >&5
10699 10698
10700 cat > conftest.$ac_ext <<EOF 10699 cat > conftest.$ac_ext <<EOF
10701 #line 10702 "configure" 10700 #line 10701 "configure"
10702 #include "confdefs.h" 10701 #include "confdefs.h"
10703 #include <Xaw3d/ThreeD.h> 10702 #include <Xaw3d/ThreeD.h>
10704 EOF 10703 EOF
10705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10706 { (eval echo configure:10707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10705 { (eval echo configure:10706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10708 if test -z "$ac_err"; then 10707 if test -z "$ac_err"; then
10709 rm -rf conftest* 10708 rm -rf conftest*
10710 eval "ac_cv_header_$ac_safe=yes" 10709 eval "ac_cv_header_$ac_safe=yes"
10711 else 10710 else
10733 fi 10732 fi
10734 10733
10735 if test -z "$athena_h_path"; then 10734 if test -z "$athena_h_path"; then
10736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10735 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10737 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10736 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10738 echo "configure:10739: checking for X11/Xaw/ThreeD.h" >&5 10737 echo "configure:10738: checking for X11/Xaw/ThreeD.h" >&5
10739 10738
10740 cat > conftest.$ac_ext <<EOF 10739 cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure" 10740 #line 10741 "configure"
10742 #include "confdefs.h" 10741 #include "confdefs.h"
10743 #include <X11/Xaw/ThreeD.h> 10742 #include <X11/Xaw/ThreeD.h>
10744 EOF 10743 EOF
10745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10746 { (eval echo configure:10747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10745 { (eval echo configure:10746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10748 if test -z "$ac_err"; then 10747 if test -z "$ac_err"; then
10749 rm -rf conftest* 10748 rm -rf conftest*
10750 eval "ac_cv_header_$ac_safe=yes" 10749 eval "ac_cv_header_$ac_safe=yes"
10751 else 10750 else
10780 have_xaw=no 10779 have_xaw=no
10781 fi 10780 fi
10782 if test "$with_x11" = "yes"; then 10781 if test "$with_x11" = "yes"; then
10783 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10782 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10784 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10783 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10785 echo "configure:10786: checking for Xm/Xm.h" >&5 10784 echo "configure:10785: checking for Xm/Xm.h" >&5
10786 10785
10787 cat > conftest.$ac_ext <<EOF 10786 cat > conftest.$ac_ext <<EOF
10788 #line 10789 "configure" 10787 #line 10788 "configure"
10789 #include "confdefs.h" 10788 #include "confdefs.h"
10790 #include <Xm/Xm.h> 10789 #include <Xm/Xm.h>
10791 EOF 10790 EOF
10792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10793 { (eval echo configure:10794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10792 { (eval echo configure:10793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10795 if test -z "$ac_err"; then 10794 if test -z "$ac_err"; then
10796 rm -rf conftest* 10795 rm -rf conftest*
10797 eval "ac_cv_header_$ac_safe=yes" 10796 eval "ac_cv_header_$ac_safe=yes"
10798 else 10797 else
10805 rm -f conftest* 10804 rm -f conftest*
10806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10807 echo "$ac_t""yes" 1>&6 10806 echo "$ac_t""yes" 1>&6
10808 10807
10809 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10808 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10810 echo "configure:10811: checking for XmStringFree in -lXm" >&5 10809 echo "configure:10810: checking for XmStringFree in -lXm" >&5
10811 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10810 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10812 10811
10813 xe_check_libs=" -lXm " 10812 xe_check_libs=" -lXm "
10814 cat > conftest.$ac_ext <<EOF 10813 cat > conftest.$ac_ext <<EOF
10815 #line 10816 "configure" 10814 #line 10815 "configure"
10816 #include "confdefs.h" 10815 #include "confdefs.h"
10817 /* Override any gcc2 internal prototype to avoid an error. */ 10816 /* Override any gcc2 internal prototype to avoid an error. */
10818 /* We use char because int might match the return type of a gcc2 10817 /* We use char because int might match the return type of a gcc2
10819 builtin and then its argument prototype would still apply. */ 10818 builtin and then its argument prototype would still apply. */
10820 char XmStringFree(); 10819 char XmStringFree();
10821 10820
10822 int main() { 10821 int main() {
10823 XmStringFree() 10822 XmStringFree()
10824 ; return 0; } 10823 ; return 0; }
10825 EOF 10824 EOF
10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10825 if { (eval echo configure:10826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10827 rm -rf conftest* 10826 rm -rf conftest*
10828 eval "ac_cv_lib_$ac_lib_var=yes" 10827 eval "ac_cv_lib_$ac_lib_var=yes"
10829 else 10828 else
10830 echo "configure: failed program was:" >&5 10829 echo "configure: failed program was:" >&5
10831 cat conftest.$ac_ext >&5 10830 cat conftest.$ac_ext >&5
10850 fi 10849 fi
10851 10850
10852 10851
10853 if test "$have_motif" = "yes"; then 10852 if test "$have_motif" = "yes"; then
10854 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10853 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10855 echo "configure:10856: checking for Lesstif" >&5 10854 echo "configure:10855: checking for Lesstif" >&5
10856 cat > conftest.$ac_ext <<EOF 10855 cat > conftest.$ac_ext <<EOF
10857 #line 10858 "configure" 10856 #line 10857 "configure"
10858 #include "confdefs.h" 10857 #include "confdefs.h"
10859 #include <Xm/Xm.h> 10858 #include <Xm/Xm.h>
10860 #ifdef LESSTIF_VERSION 10859 #ifdef LESSTIF_VERSION
10861 yes 10860 yes
10862 #endif 10861 #endif
11225 11224
11226 fi 11225 fi
11227 11226
11228 if test "$with_mule" = "yes" ; then 11227 if test "$with_mule" = "yes" ; then
11229 echo "checking for Mule-related features" 1>&6 11228 echo "checking for Mule-related features" 1>&6
11230 echo "configure:11231: checking for Mule-related features" >&5 11229 echo "configure:11230: checking for Mule-related features" >&5
11231 { test "$extra_verbose" = "yes" && cat << \EOF 11230 { test "$extra_verbose" = "yes" && cat << \EOF
11232 Defining MULE 11231 Defining MULE
11233 EOF 11232 EOF
11234 cat >> confdefs.h <<\EOF 11233 cat >> confdefs.h <<\EOF
11235 #define MULE 1 11234 #define MULE 1
11239 11238
11240 for ac_hdr in libintl.h 11239 for ac_hdr in libintl.h
11241 do 11240 do
11242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11242 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11244 echo "configure:11245: checking for $ac_hdr" >&5 11243 echo "configure:11244: checking for $ac_hdr" >&5
11245 11244
11246 cat > conftest.$ac_ext <<EOF 11245 cat > conftest.$ac_ext <<EOF
11247 #line 11248 "configure" 11246 #line 11247 "configure"
11248 #include "confdefs.h" 11247 #include "confdefs.h"
11249 #include <$ac_hdr> 11248 #include <$ac_hdr>
11250 EOF 11249 EOF
11251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11252 { (eval echo configure:11253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11251 { (eval echo configure:11252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11254 if test -z "$ac_err"; then 11253 if test -z "$ac_err"; then
11255 rm -rf conftest* 11254 rm -rf conftest*
11256 eval "ac_cv_header_$ac_safe=yes" 11255 eval "ac_cv_header_$ac_safe=yes"
11257 else 11256 else
11278 fi 11277 fi
11279 done 11278 done
11280 11279
11281 11280
11282 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11281 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11283 echo "configure:11284: checking for strerror in -lintl" >&5 11282 echo "configure:11283: checking for strerror in -lintl" >&5
11284 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11283 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11285 11284
11286 xe_check_libs=" -lintl " 11285 xe_check_libs=" -lintl "
11287 cat > conftest.$ac_ext <<EOF 11286 cat > conftest.$ac_ext <<EOF
11288 #line 11289 "configure" 11287 #line 11288 "configure"
11289 #include "confdefs.h" 11288 #include "confdefs.h"
11290 /* Override any gcc2 internal prototype to avoid an error. */ 11289 /* Override any gcc2 internal prototype to avoid an error. */
11291 /* We use char because int might match the return type of a gcc2 11290 /* We use char because int might match the return type of a gcc2
11292 builtin and then its argument prototype would still apply. */ 11291 builtin and then its argument prototype would still apply. */
11293 char strerror(); 11292 char strerror();
11294 11293
11295 int main() { 11294 int main() {
11296 strerror() 11295 strerror()
11297 ; return 0; } 11296 ; return 0; }
11298 EOF 11297 EOF
11299 if { (eval echo configure:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11300 rm -rf conftest* 11299 rm -rf conftest*
11301 eval "ac_cv_lib_$ac_lib_var=yes" 11300 eval "ac_cv_lib_$ac_lib_var=yes"
11302 else 11301 else
11303 echo "configure: failed program was:" >&5 11302 echo "configure: failed program was:" >&5
11304 cat conftest.$ac_ext >&5 11303 cat conftest.$ac_ext >&5
11327 fi 11326 fi
11328 11327
11329 11328
11330 11329
11331 echo "checking for Mule input methods" 1>&6 11330 echo "checking for Mule input methods" 1>&6
11332 echo "configure:11333: checking for Mule input methods" >&5 11331 echo "configure:11332: checking for Mule input methods" >&5
11333 case "$with_xim" in "" | "yes" ) 11332 case "$with_xim" in "" | "yes" )
11334 echo "checking for XIM" 1>&6 11333 echo "checking for XIM" 1>&6
11335 echo "configure:11336: checking for XIM" >&5 11334 echo "configure:11335: checking for XIM" >&5
11336 11335
11337 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11336 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11338 echo "configure:11339: checking for XOpenIM in -lX11" >&5 11337 echo "configure:11338: checking for XOpenIM in -lX11" >&5
11339 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11338 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11340 11339
11341 xe_check_libs=" -lX11 " 11340 xe_check_libs=" -lX11 "
11342 cat > conftest.$ac_ext <<EOF 11341 cat > conftest.$ac_ext <<EOF
11343 #line 11344 "configure" 11342 #line 11343 "configure"
11344 #include "confdefs.h" 11343 #include "confdefs.h"
11345 /* Override any gcc2 internal prototype to avoid an error. */ 11344 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2 11345 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */ 11346 builtin and then its argument prototype would still apply. */
11348 char XOpenIM(); 11347 char XOpenIM();
11349 11348
11350 int main() { 11349 int main() {
11351 XOpenIM() 11350 XOpenIM()
11352 ; return 0; } 11351 ; return 0; }
11353 EOF 11352 EOF
11354 if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11353 if { (eval echo configure:11354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11355 rm -rf conftest* 11354 rm -rf conftest*
11356 eval "ac_cv_lib_$ac_lib_var=yes" 11355 eval "ac_cv_lib_$ac_lib_var=yes"
11357 else 11356 else
11358 echo "configure: failed program was:" >&5 11357 echo "configure: failed program was:" >&5
11359 cat conftest.$ac_ext >&5 11358 cat conftest.$ac_ext >&5
11373 11372
11374 11373
11375 if test "$have_motif $have_lesstif" = "yes no"; then 11374 if test "$have_motif $have_lesstif" = "yes no"; then
11376 11375
11377 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11376 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11378 echo "configure:11379: checking for XmImMbLookupString in -lXm" >&5 11377 echo "configure:11378: checking for XmImMbLookupString in -lXm" >&5
11379 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11378 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11380 11379
11381 xe_check_libs=" -lXm " 11380 xe_check_libs=" -lXm "
11382 cat > conftest.$ac_ext <<EOF 11381 cat > conftest.$ac_ext <<EOF
11383 #line 11384 "configure" 11382 #line 11383 "configure"
11384 #include "confdefs.h" 11383 #include "confdefs.h"
11385 /* Override any gcc2 internal prototype to avoid an error. */ 11384 /* Override any gcc2 internal prototype to avoid an error. */
11386 /* We use char because int might match the return type of a gcc2 11385 /* We use char because int might match the return type of a gcc2
11387 builtin and then its argument prototype would still apply. */ 11386 builtin and then its argument prototype would still apply. */
11388 char XmImMbLookupString(); 11387 char XmImMbLookupString();
11389 11388
11390 int main() { 11389 int main() {
11391 XmImMbLookupString() 11390 XmImMbLookupString()
11392 ; return 0; } 11391 ; return 0; }
11393 EOF 11392 EOF
11394 if { (eval echo configure:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11393 if { (eval echo configure:11394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11395 rm -rf conftest* 11394 rm -rf conftest*
11396 eval "ac_cv_lib_$ac_lib_var=yes" 11395 eval "ac_cv_lib_$ac_lib_var=yes"
11397 else 11396 else
11398 echo "configure: failed program was:" >&5 11397 echo "configure: failed program was:" >&5
11399 cat conftest.$ac_ext >&5 11398 cat conftest.$ac_ext >&5
11454 fi 11453 fi
11455 fi 11454 fi
11456 11455
11457 if test "$with_xfs" = "yes" ; then 11456 if test "$with_xfs" = "yes" ; then
11458 echo "checking for XFontSet" 1>&6 11457 echo "checking for XFontSet" 1>&6
11459 echo "configure:11460: checking for XFontSet" >&5 11458 echo "configure:11459: checking for XFontSet" >&5
11460 11459
11461 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11460 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11462 echo "configure:11463: checking for XmbDrawString in -lX11" >&5 11461 echo "configure:11462: checking for XmbDrawString in -lX11" >&5
11463 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11462 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11464 11463
11465 xe_check_libs=" -lX11 " 11464 xe_check_libs=" -lX11 "
11466 cat > conftest.$ac_ext <<EOF 11465 cat > conftest.$ac_ext <<EOF
11467 #line 11468 "configure" 11466 #line 11467 "configure"
11468 #include "confdefs.h" 11467 #include "confdefs.h"
11469 /* Override any gcc2 internal prototype to avoid an error. */ 11468 /* Override any gcc2 internal prototype to avoid an error. */
11470 /* We use char because int might match the return type of a gcc2 11469 /* We use char because int might match the return type of a gcc2
11471 builtin and then its argument prototype would still apply. */ 11470 builtin and then its argument prototype would still apply. */
11472 char XmbDrawString(); 11471 char XmbDrawString();
11473 11472
11474 int main() { 11473 int main() {
11475 XmbDrawString() 11474 XmbDrawString()
11476 ; return 0; } 11475 ; return 0; }
11477 EOF 11476 EOF
11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11477 if { (eval echo configure:11478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11479 rm -rf conftest* 11478 rm -rf conftest*
11480 eval "ac_cv_lib_$ac_lib_var=yes" 11479 eval "ac_cv_lib_$ac_lib_var=yes"
11481 else 11480 else
11482 echo "configure: failed program was:" >&5 11481 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5 11482 cat conftest.$ac_ext >&5
11513 fi 11512 fi
11514 fi 11513 fi
11515 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11514 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11516 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11515 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11517 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11516 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11518 echo "configure:11519: checking for wnn/jllib.h" >&5 11517 echo "configure:11518: checking for wnn/jllib.h" >&5
11519 11518
11520 cat > conftest.$ac_ext <<EOF 11519 cat > conftest.$ac_ext <<EOF
11521 #line 11522 "configure" 11520 #line 11521 "configure"
11522 #include "confdefs.h" 11521 #include "confdefs.h"
11523 #include <wnn/jllib.h> 11522 #include <wnn/jllib.h>
11524 EOF 11523 EOF
11525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11526 { (eval echo configure:11527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11525 { (eval echo configure:11526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11528 if test -z "$ac_err"; then 11527 if test -z "$ac_err"; then
11529 rm -rf conftest* 11528 rm -rf conftest*
11530 eval "ac_cv_header_$ac_safe=yes" 11529 eval "ac_cv_header_$ac_safe=yes"
11531 else 11530 else
11544 with_wnn=no 11543 with_wnn=no
11545 fi 11544 fi
11546 } 11545 }
11547 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11546 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11548 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11547 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11549 echo "configure:11550: checking for wnn/commonhd.h" >&5 11548 echo "configure:11549: checking for wnn/commonhd.h" >&5
11550 11549
11551 cat > conftest.$ac_ext <<EOF 11550 cat > conftest.$ac_ext <<EOF
11552 #line 11553 "configure" 11551 #line 11552 "configure"
11553 #include "confdefs.h" 11552 #include "confdefs.h"
11554 #include <wnn/commonhd.h> 11553 #include <wnn/commonhd.h>
11555 EOF 11554 EOF
11556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11556 { (eval echo configure:11557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11559 if test -z "$ac_err"; then 11558 if test -z "$ac_err"; then
11560 rm -rf conftest* 11559 rm -rf conftest*
11561 eval "ac_cv_header_$ac_safe=yes" 11560 eval "ac_cv_header_$ac_safe=yes"
11562 else 11561 else
11577 } 11576 }
11578 if test "$with_wnn" != "no"; then 11577 if test "$with_wnn" != "no"; then
11579 for ac_func in crypt 11578 for ac_func in crypt
11580 do 11579 do
11581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11582 echo "configure:11583: checking for $ac_func" >&5 11581 echo "configure:11582: checking for $ac_func" >&5
11583 11582
11584 cat > conftest.$ac_ext <<EOF 11583 cat > conftest.$ac_ext <<EOF
11585 #line 11586 "configure" 11584 #line 11585 "configure"
11586 #include "confdefs.h" 11585 #include "confdefs.h"
11587 /* System header to define __stub macros and hopefully few prototypes, 11586 /* System header to define __stub macros and hopefully few prototypes,
11588 which can conflict with char $ac_func(); below. */ 11587 which can conflict with char $ac_func(); below. */
11589 #include <assert.h> 11588 #include <assert.h>
11590 /* Override any gcc2 internal prototype to avoid an error. */ 11589 /* Override any gcc2 internal prototype to avoid an error. */
11603 $ac_func(); 11602 $ac_func();
11604 #endif 11603 #endif
11605 11604
11606 ; return 0; } 11605 ; return 0; }
11607 EOF 11606 EOF
11608 if { (eval echo configure:11609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11609 rm -rf conftest* 11608 rm -rf conftest*
11610 eval "ac_cv_func_$ac_func=yes" 11609 eval "ac_cv_func_$ac_func=yes"
11611 else 11610 else
11612 echo "configure: failed program was:" >&5 11611 echo "configure: failed program was:" >&5
11613 cat conftest.$ac_ext >&5 11612 cat conftest.$ac_ext >&5
11632 fi 11631 fi
11633 done 11632 done
11634 11633
11635 test "$ac_cv_func_crypt" != "yes" && { 11634 test "$ac_cv_func_crypt" != "yes" && {
11636 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11635 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11637 echo "configure:11638: checking for crypt in -lcrypt" >&5 11636 echo "configure:11637: checking for crypt in -lcrypt" >&5
11638 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11637 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11639 11638
11640 xe_check_libs=" -lcrypt " 11639 xe_check_libs=" -lcrypt "
11641 cat > conftest.$ac_ext <<EOF 11640 cat > conftest.$ac_ext <<EOF
11642 #line 11643 "configure" 11641 #line 11642 "configure"
11643 #include "confdefs.h" 11642 #include "confdefs.h"
11644 /* Override any gcc2 internal prototype to avoid an error. */ 11643 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2 11644 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */ 11645 builtin and then its argument prototype would still apply. */
11647 char crypt(); 11646 char crypt();
11648 11647
11649 int main() { 11648 int main() {
11650 crypt() 11649 crypt()
11651 ; return 0; } 11650 ; return 0; }
11652 EOF 11651 EOF
11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11652 if { (eval echo configure:11653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11654 rm -rf conftest* 11653 rm -rf conftest*
11655 eval "ac_cv_lib_$ac_lib_var=yes" 11654 eval "ac_cv_lib_$ac_lib_var=yes"
11656 else 11655 else
11657 echo "configure: failed program was:" >&5 11656 echo "configure: failed program was:" >&5
11658 cat conftest.$ac_ext >&5 11657 cat conftest.$ac_ext >&5
11683 } 11682 }
11684 fi 11683 fi
11685 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11684 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11686 11685
11687 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11686 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11688 echo "configure:11689: checking for jl_dic_list_e in -lwnn" >&5 11687 echo "configure:11688: checking for jl_dic_list_e in -lwnn" >&5
11689 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11688 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11690 11689
11691 xe_check_libs=" -lwnn " 11690 xe_check_libs=" -lwnn "
11692 cat > conftest.$ac_ext <<EOF 11691 cat > conftest.$ac_ext <<EOF
11693 #line 11694 "configure" 11692 #line 11693 "configure"
11694 #include "confdefs.h" 11693 #include "confdefs.h"
11695 /* Override any gcc2 internal prototype to avoid an error. */ 11694 /* Override any gcc2 internal prototype to avoid an error. */
11696 /* We use char because int might match the return type of a gcc2 11695 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */ 11696 builtin and then its argument prototype would still apply. */
11698 char jl_dic_list_e(); 11697 char jl_dic_list_e();
11699 11698
11700 int main() { 11699 int main() {
11701 jl_dic_list_e() 11700 jl_dic_list_e()
11702 ; return 0; } 11701 ; return 0; }
11703 EOF 11702 EOF
11704 if { (eval echo configure:11705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11705 rm -rf conftest* 11704 rm -rf conftest*
11706 eval "ac_cv_lib_$ac_lib_var=yes" 11705 eval "ac_cv_lib_$ac_lib_var=yes"
11707 else 11706 else
11708 echo "configure: failed program was:" >&5 11707 echo "configure: failed program was:" >&5
11709 cat conftest.$ac_ext >&5 11708 cat conftest.$ac_ext >&5
11717 echo "$ac_t""yes" 1>&6 11716 echo "$ac_t""yes" 1>&6
11718 libwnn=wnn 11717 libwnn=wnn
11719 else 11718 else
11720 echo "$ac_t""no" 1>&6 11719 echo "$ac_t""no" 1>&6
11721 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11720 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11722 echo "configure:11723: checking for jl_dic_list_e in -lwnn4" >&5 11721 echo "configure:11722: checking for jl_dic_list_e in -lwnn4" >&5
11723 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11722 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11724 11723
11725 xe_check_libs=" -lwnn4 " 11724 xe_check_libs=" -lwnn4 "
11726 cat > conftest.$ac_ext <<EOF 11725 cat > conftest.$ac_ext <<EOF
11727 #line 11728 "configure" 11726 #line 11727 "configure"
11728 #include "confdefs.h" 11727 #include "confdefs.h"
11729 /* Override any gcc2 internal prototype to avoid an error. */ 11728 /* Override any gcc2 internal prototype to avoid an error. */
11730 /* We use char because int might match the return type of a gcc2 11729 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */ 11730 builtin and then its argument prototype would still apply. */
11732 char jl_dic_list_e(); 11731 char jl_dic_list_e();
11733 11732
11734 int main() { 11733 int main() {
11735 jl_dic_list_e() 11734 jl_dic_list_e()
11736 ; return 0; } 11735 ; return 0; }
11737 EOF 11736 EOF
11738 if { (eval echo configure:11739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11737 if { (eval echo configure:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11739 rm -rf conftest* 11738 rm -rf conftest*
11740 eval "ac_cv_lib_$ac_lib_var=yes" 11739 eval "ac_cv_lib_$ac_lib_var=yes"
11741 else 11740 else
11742 echo "configure: failed program was:" >&5 11741 echo "configure: failed program was:" >&5
11743 cat conftest.$ac_ext >&5 11742 cat conftest.$ac_ext >&5
11751 echo "$ac_t""yes" 1>&6 11750 echo "$ac_t""yes" 1>&6
11752 libwnn=wnn4 11751 libwnn=wnn4
11753 else 11752 else
11754 echo "$ac_t""no" 1>&6 11753 echo "$ac_t""no" 1>&6
11755 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11754 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11756 echo "configure:11757: checking for jl_dic_list_e in -lwnn6" >&5 11755 echo "configure:11756: checking for jl_dic_list_e in -lwnn6" >&5
11757 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11756 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11758 11757
11759 xe_check_libs=" -lwnn6 " 11758 xe_check_libs=" -lwnn6 "
11760 cat > conftest.$ac_ext <<EOF 11759 cat > conftest.$ac_ext <<EOF
11761 #line 11762 "configure" 11760 #line 11761 "configure"
11762 #include "confdefs.h" 11761 #include "confdefs.h"
11763 /* Override any gcc2 internal prototype to avoid an error. */ 11762 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2 11763 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */ 11764 builtin and then its argument prototype would still apply. */
11766 char jl_dic_list_e(); 11765 char jl_dic_list_e();
11767 11766
11768 int main() { 11767 int main() {
11769 jl_dic_list_e() 11768 jl_dic_list_e()
11770 ; return 0; } 11769 ; return 0; }
11771 EOF 11770 EOF
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11771 if { (eval echo configure:11772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11773 rm -rf conftest* 11772 rm -rf conftest*
11774 eval "ac_cv_lib_$ac_lib_var=yes" 11773 eval "ac_cv_lib_$ac_lib_var=yes"
11775 else 11774 else
11776 echo "configure: failed program was:" >&5 11775 echo "configure: failed program was:" >&5
11777 cat conftest.$ac_ext >&5 11776 cat conftest.$ac_ext >&5
11785 echo "$ac_t""yes" 1>&6 11784 echo "$ac_t""yes" 1>&6
11786 libwnn=wnn6 11785 libwnn=wnn6
11787 else 11786 else
11788 echo "$ac_t""no" 1>&6 11787 echo "$ac_t""no" 1>&6
11789 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11788 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11790 echo "configure:11791: checking for dic_list_e in -lwnn6_fromsrc" >&5 11789 echo "configure:11790: checking for dic_list_e in -lwnn6_fromsrc" >&5
11791 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11790 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11792 11791
11793 xe_check_libs=" -lwnn6_fromsrc " 11792 xe_check_libs=" -lwnn6_fromsrc "
11794 cat > conftest.$ac_ext <<EOF 11793 cat > conftest.$ac_ext <<EOF
11795 #line 11796 "configure" 11794 #line 11795 "configure"
11796 #include "confdefs.h" 11795 #include "confdefs.h"
11797 /* Override any gcc2 internal prototype to avoid an error. */ 11796 /* Override any gcc2 internal prototype to avoid an error. */
11798 /* We use char because int might match the return type of a gcc2 11797 /* We use char because int might match the return type of a gcc2
11799 builtin and then its argument prototype would still apply. */ 11798 builtin and then its argument prototype would still apply. */
11800 char dic_list_e(); 11799 char dic_list_e();
11801 11800
11802 int main() { 11801 int main() {
11803 dic_list_e() 11802 dic_list_e()
11804 ; return 0; } 11803 ; return 0; }
11805 EOF 11804 EOF
11806 if { (eval echo configure:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11807 rm -rf conftest* 11806 rm -rf conftest*
11808 eval "ac_cv_lib_$ac_lib_var=yes" 11807 eval "ac_cv_lib_$ac_lib_var=yes"
11809 else 11808 else
11810 echo "configure: failed program was:" >&5 11809 echo "configure: failed program was:" >&5
11811 cat conftest.$ac_ext >&5 11810 cat conftest.$ac_ext >&5
11846 11845
11847 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11846 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11848 if test "$with_wnn6" != "no"; then 11847 if test "$with_wnn6" != "no"; then
11849 11848
11850 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11849 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11851 echo "configure:11852: checking for jl_fi_dic_list in -l$libwnn" >&5 11850 echo "configure:11851: checking for jl_fi_dic_list in -l$libwnn" >&5
11852 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11851 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11853 11852
11854 xe_check_libs=" -l$libwnn " 11853 xe_check_libs=" -l$libwnn "
11855 cat > conftest.$ac_ext <<EOF 11854 cat > conftest.$ac_ext <<EOF
11856 #line 11857 "configure" 11855 #line 11856 "configure"
11857 #include "confdefs.h" 11856 #include "confdefs.h"
11858 /* Override any gcc2 internal prototype to avoid an error. */ 11857 /* Override any gcc2 internal prototype to avoid an error. */
11859 /* We use char because int might match the return type of a gcc2 11858 /* We use char because int might match the return type of a gcc2
11860 builtin and then its argument prototype would still apply. */ 11859 builtin and then its argument prototype would still apply. */
11861 char jl_fi_dic_list(); 11860 char jl_fi_dic_list();
11862 11861
11863 int main() { 11862 int main() {
11864 jl_fi_dic_list() 11863 jl_fi_dic_list()
11865 ; return 0; } 11864 ; return 0; }
11866 EOF 11865 EOF
11867 if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11866 if { (eval echo configure:11867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11868 rm -rf conftest* 11867 rm -rf conftest*
11869 eval "ac_cv_lib_$ac_lib_var=yes" 11868 eval "ac_cv_lib_$ac_lib_var=yes"
11870 else 11869 else
11871 echo "configure: failed program was:" >&5 11870 echo "configure: failed program was:" >&5
11872 cat conftest.$ac_ext >&5 11871 cat conftest.$ac_ext >&5
11897 11896
11898 canna_includes_found=no 11897 canna_includes_found=no
11899 if test "$with_canna" != "no"; then 11898 if test "$with_canna" != "no"; then
11900 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11899 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11901 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11900 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11902 echo "configure:11903: checking for canna/jrkanji.h" >&5 11901 echo "configure:11902: checking for canna/jrkanji.h" >&5
11903 11902
11904 cat > conftest.$ac_ext <<EOF 11903 cat > conftest.$ac_ext <<EOF
11905 #line 11906 "configure" 11904 #line 11905 "configure"
11906 #include "confdefs.h" 11905 #include "confdefs.h"
11907 #include <canna/jrkanji.h> 11906 #include <canna/jrkanji.h>
11908 EOF 11907 EOF
11909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11910 { (eval echo configure:11911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11909 { (eval echo configure:11910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11912 if test -z "$ac_err"; then 11911 if test -z "$ac_err"; then
11913 rm -rf conftest* 11912 rm -rf conftest*
11914 eval "ac_cv_header_$ac_safe=yes" 11913 eval "ac_cv_header_$ac_safe=yes"
11915 else 11914 else
11932 -d "/usr/local/canna/include"; then 11931 -d "/usr/local/canna/include"; then
11933 save_c_switch_site="$c_switch_site" 11932 save_c_switch_site="$c_switch_site"
11934 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11933 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11935 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11934 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11936 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11935 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11937 echo "configure:11938: checking for canna/jrkanji.h" >&5 11936 echo "configure:11937: checking for canna/jrkanji.h" >&5
11938 11937
11939 cat > conftest.$ac_ext <<EOF 11938 cat > conftest.$ac_ext <<EOF
11940 #line 11941 "configure" 11939 #line 11940 "configure"
11941 #include "confdefs.h" 11940 #include "confdefs.h"
11942 #include <canna/jrkanji.h> 11941 #include <canna/jrkanji.h>
11943 EOF 11942 EOF
11944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11945 { (eval echo configure:11946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11944 { (eval echo configure:11945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11947 if test -z "$ac_err"; then 11946 if test -z "$ac_err"; then
11948 rm -rf conftest* 11947 rm -rf conftest*
11949 eval "ac_cv_header_$ac_safe=yes" 11948 eval "ac_cv_header_$ac_safe=yes"
11950 else 11949 else
11968 fi 11967 fi
11969 fi 11968 fi
11970 11969
11971 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 11970 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
11972 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 11971 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
11973 echo "configure:11974: checking for canna/RK.h" >&5 11972 echo "configure:11973: checking for canna/RK.h" >&5
11974 11973
11975 cat > conftest.$ac_ext <<EOF 11974 cat > conftest.$ac_ext <<EOF
11976 #line 11977 "configure" 11975 #line 11976 "configure"
11977 #include "confdefs.h" 11976 #include "confdefs.h"
11978 #include <canna/RK.h> 11977 #include <canna/RK.h>
11979 EOF 11978 EOF
11980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11981 { (eval echo configure:11982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11980 { (eval echo configure:11981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11983 if test -z "$ac_err"; then 11982 if test -z "$ac_err"; then
11984 rm -rf conftest* 11983 rm -rf conftest*
11985 eval "ac_cv_header_$ac_safe=yes" 11984 eval "ac_cv_header_$ac_safe=yes"
11986 else 11985 else
11999 with_canna=no 11998 with_canna=no
12000 fi 11999 fi
12001 } 12000 }
12002 test -z "$with_canna" && { 12001 test -z "$with_canna" && {
12003 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12002 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12004 echo "configure:12005: checking for RkBgnBun in -lRKC" >&5 12003 echo "configure:12004: checking for RkBgnBun in -lRKC" >&5
12005 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12004 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12006 12005
12007 xe_check_libs=" -lRKC " 12006 xe_check_libs=" -lRKC "
12008 cat > conftest.$ac_ext <<EOF 12007 cat > conftest.$ac_ext <<EOF
12009 #line 12010 "configure" 12008 #line 12009 "configure"
12010 #include "confdefs.h" 12009 #include "confdefs.h"
12011 /* Override any gcc2 internal prototype to avoid an error. */ 12010 /* Override any gcc2 internal prototype to avoid an error. */
12012 /* We use char because int might match the return type of a gcc2 12011 /* We use char because int might match the return type of a gcc2
12013 builtin and then its argument prototype would still apply. */ 12012 builtin and then its argument prototype would still apply. */
12014 char RkBgnBun(); 12013 char RkBgnBun();
12015 12014
12016 int main() { 12015 int main() {
12017 RkBgnBun() 12016 RkBgnBun()
12018 ; return 0; } 12017 ; return 0; }
12019 EOF 12018 EOF
12020 if { (eval echo configure:12021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12019 if { (eval echo configure:12020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12021 rm -rf conftest* 12020 rm -rf conftest*
12022 eval "ac_cv_lib_$ac_lib_var=yes" 12021 eval "ac_cv_lib_$ac_lib_var=yes"
12023 else 12022 else
12024 echo "configure: failed program was:" >&5 12023 echo "configure: failed program was:" >&5
12025 cat conftest.$ac_ext >&5 12024 cat conftest.$ac_ext >&5
12038 fi 12037 fi
12039 12038
12040 } 12039 }
12041 test -z "$with_canna" && { 12040 test -z "$with_canna" && {
12042 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12041 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12043 echo "configure:12044: checking for jrKanjiControl in -lcanna" >&5 12042 echo "configure:12043: checking for jrKanjiControl in -lcanna" >&5
12044 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12043 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12045 12044
12046 xe_check_libs=" -lcanna " 12045 xe_check_libs=" -lcanna "
12047 cat > conftest.$ac_ext <<EOF 12046 cat > conftest.$ac_ext <<EOF
12048 #line 12049 "configure" 12047 #line 12048 "configure"
12049 #include "confdefs.h" 12048 #include "confdefs.h"
12050 /* Override any gcc2 internal prototype to avoid an error. */ 12049 /* Override any gcc2 internal prototype to avoid an error. */
12051 /* We use char because int might match the return type of a gcc2 12050 /* We use char because int might match the return type of a gcc2
12052 builtin and then its argument prototype would still apply. */ 12051 builtin and then its argument prototype would still apply. */
12053 char jrKanjiControl(); 12052 char jrKanjiControl();
12054 12053
12055 int main() { 12054 int main() {
12056 jrKanjiControl() 12055 jrKanjiControl()
12057 ; return 0; } 12056 ; return 0; }
12058 EOF 12057 EOF
12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12058 if { (eval echo configure:12059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12060 rm -rf conftest* 12059 rm -rf conftest*
12061 eval "ac_cv_lib_$ac_lib_var=yes" 12060 eval "ac_cv_lib_$ac_lib_var=yes"
12062 else 12061 else
12063 echo "configure: failed program was:" >&5 12062 echo "configure: failed program was:" >&5
12064 cat conftest.$ac_ext >&5 12063 cat conftest.$ac_ext >&5
12100 12099
12101 if test "$need_motif" = "yes" ; then 12100 if test "$need_motif" = "yes" ; then
12102 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12101 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12103 12102
12104 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12103 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12105 echo "configure:12106: checking for layout_object_getvalue in -li18n" >&5 12104 echo "configure:12105: checking for layout_object_getvalue in -li18n" >&5
12106 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12105 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12107 12106
12108 xe_check_libs=" -li18n " 12107 xe_check_libs=" -li18n "
12109 cat > conftest.$ac_ext <<EOF 12108 cat > conftest.$ac_ext <<EOF
12110 #line 12111 "configure" 12109 #line 12110 "configure"
12111 #include "confdefs.h" 12110 #include "confdefs.h"
12112 /* Override any gcc2 internal prototype to avoid an error. */ 12111 /* Override any gcc2 internal prototype to avoid an error. */
12113 /* We use char because int might match the return type of a gcc2 12112 /* We use char because int might match the return type of a gcc2
12114 builtin and then its argument prototype would still apply. */ 12113 builtin and then its argument prototype would still apply. */
12115 char layout_object_getvalue(); 12114 char layout_object_getvalue();
12116 12115
12117 int main() { 12116 int main() {
12118 layout_object_getvalue() 12117 layout_object_getvalue()
12119 ; return 0; } 12118 ; return 0; }
12120 EOF 12119 EOF
12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12120 if { (eval echo configure:12121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12122 rm -rf conftest* 12121 rm -rf conftest*
12123 eval "ac_cv_lib_$ac_lib_var=yes" 12122 eval "ac_cv_lib_$ac_lib_var=yes"
12124 else 12123 else
12125 echo "configure: failed program was:" >&5 12124 echo "configure: failed program was:" >&5
12126 cat conftest.$ac_ext >&5 12125 cat conftest.$ac_ext >&5
12203 12202
12204 12203
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 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
12206 do 12205 do
12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12208 echo "configure:12209: checking for $ac_func" >&5 12207 echo "configure:12208: checking for $ac_func" >&5
12209 12208
12210 cat > conftest.$ac_ext <<EOF 12209 cat > conftest.$ac_ext <<EOF
12211 #line 12212 "configure" 12210 #line 12211 "configure"
12212 #include "confdefs.h" 12211 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes, 12212 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func(); below. */ 12213 which can conflict with char $ac_func(); below. */
12215 #include <assert.h> 12214 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */ 12215 /* Override any gcc2 internal prototype to avoid an error. */
12229 $ac_func(); 12228 $ac_func();
12230 #endif 12229 #endif
12231 12230
12232 ; return 0; } 12231 ; return 0; }
12233 EOF 12232 EOF
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12233 if { (eval echo configure:12234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12235 rm -rf conftest* 12234 rm -rf conftest*
12236 eval "ac_cv_func_$ac_func=yes" 12235 eval "ac_cv_func_$ac_func=yes"
12237 else 12236 else
12238 echo "configure: failed program was:" >&5 12237 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5 12238 cat conftest.$ac_ext >&5
12270 12269
12271 12270
12272 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12271 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12273 do 12272 do
12274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12275 echo "configure:12276: checking for $ac_func" >&5 12274 echo "configure:12275: checking for $ac_func" >&5
12276 12275
12277 cat > conftest.$ac_ext <<EOF 12276 cat > conftest.$ac_ext <<EOF
12278 #line 12279 "configure" 12277 #line 12278 "configure"
12279 #include "confdefs.h" 12278 #include "confdefs.h"
12280 /* System header to define __stub macros and hopefully few prototypes, 12279 /* System header to define __stub macros and hopefully few prototypes,
12281 which can conflict with char $ac_func(); below. */ 12280 which can conflict with char $ac_func(); below. */
12282 #include <assert.h> 12281 #include <assert.h>
12283 /* Override any gcc2 internal prototype to avoid an error. */ 12282 /* Override any gcc2 internal prototype to avoid an error. */
12296 $ac_func(); 12295 $ac_func();
12297 #endif 12296 #endif
12298 12297
12299 ; return 0; } 12298 ; return 0; }
12300 EOF 12299 EOF
12301 if { (eval echo configure:12302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12300 if { (eval echo configure:12301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12302 rm -rf conftest* 12301 rm -rf conftest*
12303 eval "ac_cv_func_$ac_func=yes" 12302 eval "ac_cv_func_$ac_func=yes"
12304 else 12303 else
12305 echo "configure: failed program was:" >&5 12304 echo "configure: failed program was:" >&5
12306 cat conftest.$ac_ext >&5 12305 cat conftest.$ac_ext >&5
12325 fi 12324 fi
12326 done 12325 done
12327 12326
12328 12327
12329 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12328 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12330 echo "configure:12331: checking for openpty" >&5 12329 echo "configure:12330: checking for openpty" >&5
12331 12330
12332 cat > conftest.$ac_ext <<EOF 12331 cat > conftest.$ac_ext <<EOF
12333 #line 12334 "configure" 12332 #line 12333 "configure"
12334 #include "confdefs.h" 12333 #include "confdefs.h"
12335 /* System header to define __stub macros and hopefully few prototypes, 12334 /* System header to define __stub macros and hopefully few prototypes,
12336 which can conflict with char openpty(); below. */ 12335 which can conflict with char openpty(); below. */
12337 #include <assert.h> 12336 #include <assert.h>
12338 /* Override any gcc2 internal prototype to avoid an error. */ 12337 /* Override any gcc2 internal prototype to avoid an error. */
12351 openpty(); 12350 openpty();
12352 #endif 12351 #endif
12353 12352
12354 ; return 0; } 12353 ; return 0; }
12355 EOF 12354 EOF
12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12355 if { (eval echo configure:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12357 rm -rf conftest* 12356 rm -rf conftest*
12358 eval "ac_cv_func_openpty=yes" 12357 eval "ac_cv_func_openpty=yes"
12359 else 12358 else
12360 echo "configure: failed program was:" >&5 12359 echo "configure: failed program was:" >&5
12361 cat conftest.$ac_ext >&5 12360 cat conftest.$ac_ext >&5
12370 else 12369 else
12371 echo "$ac_t""no" 1>&6 12370 echo "$ac_t""no" 1>&6
12372 12371
12373 12372
12374 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12373 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12375 echo "configure:12376: checking for openpty in -lutil" >&5 12374 echo "configure:12375: checking for openpty in -lutil" >&5
12376 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12375 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12377 12376
12378 xe_check_libs=" -lutil " 12377 xe_check_libs=" -lutil "
12379 cat > conftest.$ac_ext <<EOF 12378 cat > conftest.$ac_ext <<EOF
12380 #line 12381 "configure" 12379 #line 12380 "configure"
12381 #include "confdefs.h" 12380 #include "confdefs.h"
12382 /* Override any gcc2 internal prototype to avoid an error. */ 12381 /* Override any gcc2 internal prototype to avoid an error. */
12383 /* We use char because int might match the return type of a gcc2 12382 /* We use char because int might match the return type of a gcc2
12384 builtin and then its argument prototype would still apply. */ 12383 builtin and then its argument prototype would still apply. */
12385 char openpty(); 12384 char openpty();
12386 12385
12387 int main() { 12386 int main() {
12388 openpty() 12387 openpty()
12389 ; return 0; } 12388 ; return 0; }
12390 EOF 12389 EOF
12391 if { (eval echo configure:12392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12390 if { (eval echo configure:12391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12392 rm -rf conftest* 12391 rm -rf conftest*
12393 eval "ac_cv_lib_$ac_lib_var=yes" 12392 eval "ac_cv_lib_$ac_lib_var=yes"
12394 else 12393 else
12395 echo "configure: failed program was:" >&5 12394 echo "configure: failed program was:" >&5
12396 cat conftest.$ac_ext >&5 12395 cat conftest.$ac_ext >&5
12421 12420
12422 for ac_hdr in libutil.h util.h 12421 for ac_hdr in libutil.h util.h
12423 do 12422 do
12424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12423 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12424 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12426 echo "configure:12427: checking for $ac_hdr" >&5 12425 echo "configure:12426: checking for $ac_hdr" >&5
12427 12426
12428 cat > conftest.$ac_ext <<EOF 12427 cat > conftest.$ac_ext <<EOF
12429 #line 12430 "configure" 12428 #line 12429 "configure"
12430 #include "confdefs.h" 12429 #include "confdefs.h"
12431 #include <$ac_hdr> 12430 #include <$ac_hdr>
12432 EOF 12431 EOF
12433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12434 { (eval echo configure:12435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12433 { (eval echo configure:12434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12436 if test -z "$ac_err"; then 12435 if test -z "$ac_err"; then
12437 rm -rf conftest* 12436 rm -rf conftest*
12438 eval "ac_cv_header_$ac_safe=yes" 12437 eval "ac_cv_header_$ac_safe=yes"
12439 else 12438 else
12466 case "$opsys" in 12465 case "$opsys" in
12467 hpux*) for ac_hdr in sys/ptyio.h 12466 hpux*) for ac_hdr in sys/ptyio.h
12468 do 12467 do
12469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12468 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12469 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12471 echo "configure:12472: checking for $ac_hdr" >&5 12470 echo "configure:12471: checking for $ac_hdr" >&5
12472 12471
12473 cat > conftest.$ac_ext <<EOF 12472 cat > conftest.$ac_ext <<EOF
12474 #line 12475 "configure" 12473 #line 12474 "configure"
12475 #include "confdefs.h" 12474 #include "confdefs.h"
12476 #include <$ac_hdr> 12475 #include <$ac_hdr>
12477 EOF 12476 EOF
12478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12479 { (eval echo configure:12480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12478 { (eval echo configure:12479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12481 if test -z "$ac_err"; then 12480 if test -z "$ac_err"; then
12482 rm -rf conftest* 12481 rm -rf conftest*
12483 eval "ac_cv_header_$ac_safe=yes" 12482 eval "ac_cv_header_$ac_safe=yes"
12484 else 12483 else
12507 ;; 12506 ;;
12508 *) for ac_hdr in pty.h 12507 *) for ac_hdr in pty.h
12509 do 12508 do
12510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12509 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12510 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12512 echo "configure:12513: checking for $ac_hdr" >&5 12511 echo "configure:12512: checking for $ac_hdr" >&5
12513 12512
12514 cat > conftest.$ac_ext <<EOF 12513 cat > conftest.$ac_ext <<EOF
12515 #line 12516 "configure" 12514 #line 12515 "configure"
12516 #include "confdefs.h" 12515 #include "confdefs.h"
12517 #include <$ac_hdr> 12516 #include <$ac_hdr>
12518 EOF 12517 EOF
12519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12520 { (eval echo configure:12521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12519 { (eval echo configure:12520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12522 if test -z "$ac_err"; then 12521 if test -z "$ac_err"; then
12523 rm -rf conftest* 12522 rm -rf conftest*
12524 eval "ac_cv_header_$ac_safe=yes" 12523 eval "ac_cv_header_$ac_safe=yes"
12525 else 12524 else
12548 12547
12549 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12548 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12550 do 12549 do
12551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12553 echo "configure:12554: checking for $ac_hdr" >&5 12552 echo "configure:12553: checking for $ac_hdr" >&5
12554 12553
12555 cat > conftest.$ac_ext <<EOF 12554 cat > conftest.$ac_ext <<EOF
12556 #line 12557 "configure" 12555 #line 12556 "configure"
12557 #include "confdefs.h" 12556 #include "confdefs.h"
12558 #include <$ac_hdr> 12557 #include <$ac_hdr>
12559 EOF 12558 EOF
12560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12561 { (eval echo configure:12562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12560 { (eval echo configure:12561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12563 if test -z "$ac_err"; then 12562 if test -z "$ac_err"; then
12564 rm -rf conftest* 12563 rm -rf conftest*
12565 eval "ac_cv_header_$ac_safe=yes" 12564 eval "ac_cv_header_$ac_safe=yes"
12566 else 12565 else
12592 12591
12593 for ac_hdr in stropts.h 12592 for ac_hdr in stropts.h
12594 do 12593 do
12595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12597 echo "configure:12598: checking for $ac_hdr" >&5 12596 echo "configure:12597: checking for $ac_hdr" >&5
12598 12597
12599 cat > conftest.$ac_ext <<EOF 12598 cat > conftest.$ac_ext <<EOF
12600 #line 12601 "configure" 12599 #line 12600 "configure"
12601 #include "confdefs.h" 12600 #include "confdefs.h"
12602 #include <$ac_hdr> 12601 #include <$ac_hdr>
12603 EOF 12602 EOF
12604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12605 { (eval echo configure:12606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12604 { (eval echo configure:12605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12607 if test -z "$ac_err"; then 12606 if test -z "$ac_err"; then
12608 rm -rf conftest* 12607 rm -rf conftest*
12609 eval "ac_cv_header_$ac_safe=yes" 12608 eval "ac_cv_header_$ac_safe=yes"
12610 else 12609 else
12633 12632
12634 if test "$ac_cv_header_stropts_h" = "yes"; then 12633 if test "$ac_cv_header_stropts_h" = "yes"; then
12635 for ac_func in isastream 12634 for ac_func in isastream
12636 do 12635 do
12637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12638 echo "configure:12639: checking for $ac_func" >&5 12637 echo "configure:12638: checking for $ac_func" >&5
12639 12638
12640 cat > conftest.$ac_ext <<EOF 12639 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure" 12640 #line 12641 "configure"
12642 #include "confdefs.h" 12641 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes, 12642 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char $ac_func(); below. */ 12643 which can conflict with char $ac_func(); below. */
12645 #include <assert.h> 12644 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */ 12645 /* Override any gcc2 internal prototype to avoid an error. */
12659 $ac_func(); 12658 $ac_func();
12660 #endif 12659 #endif
12661 12660
12662 ; return 0; } 12661 ; return 0; }
12663 EOF 12662 EOF
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12663 if { (eval echo configure:12664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12665 rm -rf conftest* 12664 rm -rf conftest*
12666 eval "ac_cv_func_$ac_func=yes" 12665 eval "ac_cv_func_$ac_func=yes"
12667 else 12666 else
12668 echo "configure: failed program was:" >&5 12667 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5 12668 cat conftest.$ac_ext >&5
12690 12689
12691 for ac_hdr in strtio.h 12690 for ac_hdr in strtio.h
12692 do 12691 do
12693 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12694 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12695 echo "configure:12696: checking for $ac_hdr" >&5 12694 echo "configure:12695: checking for $ac_hdr" >&5
12696 12695
12697 cat > conftest.$ac_ext <<EOF 12696 cat > conftest.$ac_ext <<EOF
12698 #line 12699 "configure" 12697 #line 12698 "configure"
12699 #include "confdefs.h" 12698 #include "confdefs.h"
12700 #include <$ac_hdr> 12699 #include <$ac_hdr>
12701 EOF 12700 EOF
12702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12703 { (eval echo configure:12704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12702 { (eval echo configure:12703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12705 if test -z "$ac_err"; then 12704 if test -z "$ac_err"; then
12706 rm -rf conftest* 12705 rm -rf conftest*
12707 eval "ac_cv_header_$ac_safe=yes" 12706 eval "ac_cv_header_$ac_safe=yes"
12708 else 12707 else
12731 fi 12730 fi
12732 12731
12733 for ac_func in getloadavg 12732 for ac_func in getloadavg
12734 do 12733 do
12735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12736 echo "configure:12737: checking for $ac_func" >&5 12735 echo "configure:12736: checking for $ac_func" >&5
12737 12736
12738 cat > conftest.$ac_ext <<EOF 12737 cat > conftest.$ac_ext <<EOF
12739 #line 12740 "configure" 12738 #line 12739 "configure"
12740 #include "confdefs.h" 12739 #include "confdefs.h"
12741 /* System header to define __stub macros and hopefully few prototypes, 12740 /* System header to define __stub macros and hopefully few prototypes,
12742 which can conflict with char $ac_func(); below. */ 12741 which can conflict with char $ac_func(); below. */
12743 #include <assert.h> 12742 #include <assert.h>
12744 /* Override any gcc2 internal prototype to avoid an error. */ 12743 /* Override any gcc2 internal prototype to avoid an error. */
12757 $ac_func(); 12756 $ac_func();
12758 #endif 12757 #endif
12759 12758
12760 ; return 0; } 12759 ; return 0; }
12761 EOF 12760 EOF
12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12761 if { (eval echo configure:12762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12763 rm -rf conftest* 12762 rm -rf conftest*
12764 eval "ac_cv_func_$ac_func=yes" 12763 eval "ac_cv_func_$ac_func=yes"
12765 else 12764 else
12766 echo "configure: failed program was:" >&5 12765 echo "configure: failed program was:" >&5
12767 cat conftest.$ac_ext >&5 12766 cat conftest.$ac_ext >&5
12790 if test "$ac_cv_func_getloadavg" = "yes"; then 12789 if test "$ac_cv_func_getloadavg" = "yes"; then
12791 for ac_hdr in sys/loadavg.h 12790 for ac_hdr in sys/loadavg.h
12792 do 12791 do
12793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12792 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12793 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12795 echo "configure:12796: checking for $ac_hdr" >&5 12794 echo "configure:12795: checking for $ac_hdr" >&5
12796 12795
12797 cat > conftest.$ac_ext <<EOF 12796 cat > conftest.$ac_ext <<EOF
12798 #line 12799 "configure" 12797 #line 12798 "configure"
12799 #include "confdefs.h" 12798 #include "confdefs.h"
12800 #include <$ac_hdr> 12799 #include <$ac_hdr>
12801 EOF 12800 EOF
12802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12802 { (eval echo configure:12803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12805 if test -z "$ac_err"; then 12804 if test -z "$ac_err"; then
12806 rm -rf conftest* 12805 rm -rf conftest*
12807 eval "ac_cv_header_$ac_safe=yes" 12806 eval "ac_cv_header_$ac_safe=yes"
12808 else 12807 else
12834 echo " xemacs will be linked with \"getloadavg.o\"" 12833 echo " xemacs will be linked with \"getloadavg.o\""
12835 fi 12834 fi
12836 12835
12837 12836
12838 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12837 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12839 echo "configure:12840: checking for kstat_open in -lkstat" >&5 12838 echo "configure:12839: checking for kstat_open in -lkstat" >&5
12840 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12839 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12841 12840
12842 xe_check_libs=" -lkstat " 12841 xe_check_libs=" -lkstat "
12843 cat > conftest.$ac_ext <<EOF 12842 cat > conftest.$ac_ext <<EOF
12844 #line 12845 "configure" 12843 #line 12844 "configure"
12845 #include "confdefs.h" 12844 #include "confdefs.h"
12846 /* Override any gcc2 internal prototype to avoid an error. */ 12845 /* Override any gcc2 internal prototype to avoid an error. */
12847 /* We use char because int might match the return type of a gcc2 12846 /* We use char because int might match the return type of a gcc2
12848 builtin and then its argument prototype would still apply. */ 12847 builtin and then its argument prototype would still apply. */
12849 char kstat_open(); 12848 char kstat_open();
12850 12849
12851 int main() { 12850 int main() {
12852 kstat_open() 12851 kstat_open()
12853 ; return 0; } 12852 ; return 0; }
12854 EOF 12853 EOF
12855 if { (eval echo configure:12856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12856 rm -rf conftest* 12855 rm -rf conftest*
12857 eval "ac_cv_lib_$ac_lib_var=yes" 12856 eval "ac_cv_lib_$ac_lib_var=yes"
12858 else 12857 else
12859 echo "configure: failed program was:" >&5 12858 echo "configure: failed program was:" >&5
12860 cat conftest.$ac_ext >&5 12859 cat conftest.$ac_ext >&5
12885 12884
12886 for ac_hdr in kstat.h 12885 for ac_hdr in kstat.h
12887 do 12886 do
12888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12890 echo "configure:12891: checking for $ac_hdr" >&5 12889 echo "configure:12890: checking for $ac_hdr" >&5
12891 12890
12892 cat > conftest.$ac_ext <<EOF 12891 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure" 12892 #line 12893 "configure"
12894 #include "confdefs.h" 12893 #include "confdefs.h"
12895 #include <$ac_hdr> 12894 #include <$ac_hdr>
12896 EOF 12895 EOF
12897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12898 { (eval echo configure:12899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12897 { (eval echo configure:12898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12900 if test -z "$ac_err"; then 12899 if test -z "$ac_err"; then
12901 rm -rf conftest* 12900 rm -rf conftest*
12902 eval "ac_cv_header_$ac_safe=yes" 12901 eval "ac_cv_header_$ac_safe=yes"
12903 else 12902 else
12925 done 12924 done
12926 12925
12927 12926
12928 12927
12929 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 12928 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12930 echo "configure:12931: checking for kvm_read in -lkvm" >&5 12929 echo "configure:12930: checking for kvm_read in -lkvm" >&5
12931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12930 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12932 12931
12933 xe_check_libs=" -lkvm " 12932 xe_check_libs=" -lkvm "
12934 cat > conftest.$ac_ext <<EOF 12933 cat > conftest.$ac_ext <<EOF
12935 #line 12936 "configure" 12934 #line 12935 "configure"
12936 #include "confdefs.h" 12935 #include "confdefs.h"
12937 /* Override any gcc2 internal prototype to avoid an error. */ 12936 /* Override any gcc2 internal prototype to avoid an error. */
12938 /* We use char because int might match the return type of a gcc2 12937 /* We use char because int might match the return type of a gcc2
12939 builtin and then its argument prototype would still apply. */ 12938 builtin and then its argument prototype would still apply. */
12940 char kvm_read(); 12939 char kvm_read();
12941 12940
12942 int main() { 12941 int main() {
12943 kvm_read() 12942 kvm_read()
12944 ; return 0; } 12943 ; return 0; }
12945 EOF 12944 EOF
12946 if { (eval echo configure:12947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12945 if { (eval echo configure:12946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12947 rm -rf conftest* 12946 rm -rf conftest*
12948 eval "ac_cv_lib_$ac_lib_var=yes" 12947 eval "ac_cv_lib_$ac_lib_var=yes"
12949 else 12948 else
12950 echo "configure: failed program was:" >&5 12949 echo "configure: failed program was:" >&5
12951 cat conftest.$ac_ext >&5 12950 cat conftest.$ac_ext >&5
12975 12974
12976 12975
12977 fi 12976 fi
12978 12977
12979 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 12978 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
12980 echo "configure:12981: checking whether netdb declares h_errno" >&5 12979 echo "configure:12980: checking whether netdb declares h_errno" >&5
12981 cat > conftest.$ac_ext <<EOF 12980 cat > conftest.$ac_ext <<EOF
12982 #line 12983 "configure" 12981 #line 12982 "configure"
12983 #include "confdefs.h" 12982 #include "confdefs.h"
12984 #include <netdb.h> 12983 #include <netdb.h>
12985 int main() { 12984 int main() {
12986 return h_errno; 12985 return h_errno;
12987 ; return 0; } 12986 ; return 0; }
12988 EOF 12987 EOF
12989 if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12988 if { (eval echo configure:12989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12990 rm -rf conftest* 12989 rm -rf conftest*
12991 echo "$ac_t""yes" 1>&6 12990 echo "$ac_t""yes" 1>&6
12992 { test "$extra_verbose" = "yes" && cat << \EOF 12991 { test "$extra_verbose" = "yes" && cat << \EOF
12993 Defining HAVE_H_ERRNO 12992 Defining HAVE_H_ERRNO
12994 EOF 12993 EOF
13004 echo "$ac_t""no" 1>&6 13003 echo "$ac_t""no" 1>&6
13005 fi 13004 fi
13006 rm -f conftest* 13005 rm -f conftest*
13007 13006
13008 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13007 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13009 echo "configure:13010: checking for sigsetjmp" >&5 13008 echo "configure:13009: checking for sigsetjmp" >&5
13010 cat > conftest.$ac_ext <<EOF 13009 cat > conftest.$ac_ext <<EOF
13011 #line 13012 "configure" 13010 #line 13011 "configure"
13012 #include "confdefs.h" 13011 #include "confdefs.h"
13013 #include <setjmp.h> 13012 #include <setjmp.h>
13014 int main() { 13013 int main() {
13015 sigjmp_buf bar; sigsetjmp (bar, 0); 13014 sigjmp_buf bar; sigsetjmp (bar, 0);
13016 ; return 0; } 13015 ; return 0; }
13017 EOF 13016 EOF
13018 if { (eval echo configure:13019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13017 if { (eval echo configure:13018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13019 rm -rf conftest* 13018 rm -rf conftest*
13020 echo "$ac_t""yes" 1>&6 13019 echo "$ac_t""yes" 1>&6
13021 { test "$extra_verbose" = "yes" && cat << \EOF 13020 { test "$extra_verbose" = "yes" && cat << \EOF
13022 Defining HAVE_SIGSETJMP 13021 Defining HAVE_SIGSETJMP
13023 EOF 13022 EOF
13033 echo "$ac_t""no" 1>&6 13032 echo "$ac_t""no" 1>&6
13034 fi 13033 fi
13035 rm -f conftest* 13034 rm -f conftest*
13036 13035
13037 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13036 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13038 echo "configure:13039: checking whether localtime caches TZ" >&5 13037 echo "configure:13038: checking whether localtime caches TZ" >&5
13039 13038
13040 if test "$ac_cv_func_tzset" = "yes"; then 13039 if test "$ac_cv_func_tzset" = "yes"; then
13041 cat > conftest.$ac_ext <<EOF 13040 cat > conftest.$ac_ext <<EOF
13042 #line 13043 "configure" 13041 #line 13042 "configure"
13043 #include "confdefs.h" 13042 #include "confdefs.h"
13044 #include <time.h> 13043 #include <time.h>
13045 #if STDC_HEADERS 13044 #if STDC_HEADERS
13046 # include <stdlib.h> 13045 # include <stdlib.h>
13047 #endif 13046 #endif
13072 if (localtime (&now)->tm_hour != hour_unset) 13071 if (localtime (&now)->tm_hour != hour_unset)
13073 exit (1); 13072 exit (1);
13074 exit (0); 13073 exit (0);
13075 } 13074 }
13076 EOF 13075 EOF
13077 if { (eval echo configure:13078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13078 then 13077 then
13079 emacs_cv_localtime_cache=no 13078 emacs_cv_localtime_cache=no
13080 else 13079 else
13081 conftest_rc="$?" 13080 conftest_rc="$?"
13082 echo "configure: failed program was:" >&5 13081 echo "configure: failed program was:" >&5
13102 13101
13103 fi 13102 fi
13104 13103
13105 if test "$HAVE_TIMEVAL" = "yes"; then 13104 if test "$HAVE_TIMEVAL" = "yes"; then
13106 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13105 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13107 echo "configure:13108: checking whether gettimeofday accepts one or two arguments" >&5 13106 echo "configure:13107: checking whether gettimeofday accepts one or two arguments" >&5
13108 cat > conftest.$ac_ext <<EOF 13107 cat > conftest.$ac_ext <<EOF
13109 #line 13110 "configure" 13108 #line 13109 "configure"
13110 #include "confdefs.h" 13109 #include "confdefs.h"
13111 13110
13112 #ifdef TIME_WITH_SYS_TIME 13111 #ifdef TIME_WITH_SYS_TIME
13113 #include <sys/time.h> 13112 #include <sys/time.h>
13114 #include <time.h> 13113 #include <time.h>
13125 struct timeval time; 13124 struct timeval time;
13126 gettimeofday (&time, 0); 13125 gettimeofday (&time, 0);
13127 13126
13128 ; return 0; } 13127 ; return 0; }
13129 EOF 13128 EOF
13130 if { (eval echo configure:13131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13129 if { (eval echo configure:13130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13131 rm -rf conftest* 13130 rm -rf conftest*
13132 echo "$ac_t""two" 1>&6 13131 echo "$ac_t""two" 1>&6
13133 else 13132 else
13134 echo "configure: failed program was:" >&5 13133 echo "configure: failed program was:" >&5
13135 cat conftest.$ac_ext >&5 13134 cat conftest.$ac_ext >&5
13147 rm -f conftest* 13146 rm -f conftest*
13148 fi 13147 fi
13149 13148
13150 13149
13151 echo $ac_n "checking for inline""... $ac_c" 1>&6 13150 echo $ac_n "checking for inline""... $ac_c" 1>&6
13152 echo "configure:13153: checking for inline" >&5 13151 echo "configure:13152: checking for inline" >&5
13153 13152
13154 ac_cv_c_inline=no 13153 ac_cv_c_inline=no
13155 for ac_kw in inline __inline__ __inline; do 13154 for ac_kw in inline __inline__ __inline; do
13156 cat > conftest.$ac_ext <<EOF 13155 cat > conftest.$ac_ext <<EOF
13157 #line 13158 "configure" 13156 #line 13157 "configure"
13158 #include "confdefs.h" 13157 #include "confdefs.h"
13159 13158
13160 int main() { 13159 int main() {
13161 } $ac_kw foo() { 13160 } $ac_kw foo() {
13162 ; return 0; } 13161 ; return 0; }
13163 EOF 13162 EOF
13164 if { (eval echo configure:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13163 if { (eval echo configure:13164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13165 rm -rf conftest* 13164 rm -rf conftest*
13166 ac_cv_c_inline=$ac_kw; break 13165 ac_cv_c_inline=$ac_kw; break
13167 else 13166 else
13168 echo "configure: failed program was:" >&5 13167 echo "configure: failed program was:" >&5
13169 cat conftest.$ac_ext >&5 13168 cat conftest.$ac_ext >&5
13196 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13195 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13197 echo " xemacs will be linked with \"inline.o\"" 13196 echo " xemacs will be linked with \"inline.o\""
13198 fi 13197 fi
13199 13198
13200 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13199 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13201 echo "configure:13202: checking for typeof" >&5 13200 echo "configure:13201: checking for typeof" >&5
13202 cat > conftest.$ac_ext <<EOF 13201 cat > conftest.$ac_ext <<EOF
13203 #line 13204 "configure" 13202 #line 13203 "configure"
13204 #include "confdefs.h" 13203 #include "confdefs.h"
13205 13204
13206 int main() { 13205 int main() {
13207 int i; __typeof__(i) j; 13206 int i; __typeof__(i) j;
13208 ; return 0; } 13207 ; return 0; }
13209 EOF 13208 EOF
13210 if { (eval echo configure:13211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13209 if { (eval echo configure:13210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13211 rm -rf conftest* 13210 rm -rf conftest*
13212 typeofname="__typeof__" 13211 typeofname="__typeof__"
13213 else 13212 else
13214 echo "configure: failed program was:" >&5 13213 echo "configure: failed program was:" >&5
13215 cat conftest.$ac_ext >&5 13214 cat conftest.$ac_ext >&5
13216 rm -rf conftest* 13215 rm -rf conftest*
13217 cat > conftest.$ac_ext <<EOF 13216 cat > conftest.$ac_ext <<EOF
13218 #line 13219 "configure" 13217 #line 13218 "configure"
13219 #include "confdefs.h" 13218 #include "confdefs.h"
13220 13219
13221 int main() { 13220 int main() {
13222 int i; typeof(i) j; 13221 int i; typeof(i) j;
13223 ; return 0; } 13222 ; return 0; }
13224 EOF 13223 EOF
13225 if { (eval echo configure:13226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13224 if { (eval echo configure:13225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13226 rm -rf conftest* 13225 rm -rf conftest*
13227 typeofname="typeof" 13226 typeofname="typeof"
13228 else 13227 else
13229 echo "configure: failed program was:" >&5 13228 echo "configure: failed program was:" >&5
13230 cat conftest.$ac_ext >&5 13229 cat conftest.$ac_ext >&5
13249 13248
13250 if test "$__DECC" != "yes"; then 13249 if test "$__DECC" != "yes"; then
13251 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13250 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13252 # for constant arguments. Useless! 13251 # for constant arguments. Useless!
13253 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13252 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13254 echo "configure:13255: checking for working alloca.h" >&5 13253 echo "configure:13254: checking for working alloca.h" >&5
13255 13254
13256 cat > conftest.$ac_ext <<EOF 13255 cat > conftest.$ac_ext <<EOF
13257 #line 13258 "configure" 13256 #line 13257 "configure"
13258 #include "confdefs.h" 13257 #include "confdefs.h"
13259 #include <alloca.h> 13258 #include <alloca.h>
13260 int main() { 13259 int main() {
13261 char *p = alloca(2 * sizeof(int)); 13260 char *p = alloca(2 * sizeof(int));
13262 ; return 0; } 13261 ; return 0; }
13263 EOF 13262 EOF
13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13263 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13265 rm -rf conftest* 13264 rm -rf conftest*
13266 ac_cv_header_alloca_h=yes 13265 ac_cv_header_alloca_h=yes
13267 else 13266 else
13268 echo "configure: failed program was:" >&5 13267 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5 13268 cat conftest.$ac_ext >&5
13283 } 13282 }
13284 13283
13285 fi 13284 fi
13286 13285
13287 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13286 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13288 echo "configure:13289: checking for alloca" >&5 13287 echo "configure:13288: checking for alloca" >&5
13289 13288
13290 cat > conftest.$ac_ext <<EOF 13289 cat > conftest.$ac_ext <<EOF
13291 #line 13292 "configure" 13290 #line 13291 "configure"
13292 #include "confdefs.h" 13291 #include "confdefs.h"
13293 13292
13294 #ifdef __GNUC__ 13293 #ifdef __GNUC__
13295 # define alloca __builtin_alloca 13294 # define alloca __builtin_alloca
13296 #else 13295 #else
13314 13313
13315 int main() { 13314 int main() {
13316 char *p = (char *) alloca(1); 13315 char *p = (char *) alloca(1);
13317 ; return 0; } 13316 ; return 0; }
13318 EOF 13317 EOF
13319 if { (eval echo configure:13320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13320 rm -rf conftest* 13319 rm -rf conftest*
13321 ac_cv_func_alloca_works=yes 13320 ac_cv_func_alloca_works=yes
13322 else 13321 else
13323 echo "configure: failed program was:" >&5 13322 echo "configure: failed program was:" >&5
13324 cat conftest.$ac_ext >&5 13323 cat conftest.$ac_ext >&5
13353 EOF 13352 EOF
13354 } 13353 }
13355 13354
13356 13355
13357 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13356 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13358 echo "configure:13359: checking whether alloca needs Cray hooks" >&5 13357 echo "configure:13358: checking whether alloca needs Cray hooks" >&5
13359 13358
13360 cat > conftest.$ac_ext <<EOF 13359 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure" 13360 #line 13361 "configure"
13362 #include "confdefs.h" 13361 #include "confdefs.h"
13363 #if defined(CRAY) && ! defined(CRAY2) 13362 #if defined(CRAY) && ! defined(CRAY2)
13364 webecray 13363 webecray
13365 #else 13364 #else
13366 wenotbecray 13365 wenotbecray
13380 13379
13381 echo "$ac_t""$ac_cv_os_cray" 1>&6 13380 echo "$ac_t""$ac_cv_os_cray" 1>&6
13382 if test $ac_cv_os_cray = yes; then 13381 if test $ac_cv_os_cray = yes; then
13383 for ac_func in _getb67 GETB67 getb67; do 13382 for ac_func in _getb67 GETB67 getb67; do
13384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13385 echo "configure:13386: checking for $ac_func" >&5 13384 echo "configure:13385: checking for $ac_func" >&5
13386 13385
13387 cat > conftest.$ac_ext <<EOF 13386 cat > conftest.$ac_ext <<EOF
13388 #line 13389 "configure" 13387 #line 13388 "configure"
13389 #include "confdefs.h" 13388 #include "confdefs.h"
13390 /* System header to define __stub macros and hopefully few prototypes, 13389 /* System header to define __stub macros and hopefully few prototypes,
13391 which can conflict with char $ac_func(); below. */ 13390 which can conflict with char $ac_func(); below. */
13392 #include <assert.h> 13391 #include <assert.h>
13393 /* Override any gcc2 internal prototype to avoid an error. */ 13392 /* Override any gcc2 internal prototype to avoid an error. */
13406 $ac_func(); 13405 $ac_func();
13407 #endif 13406 #endif
13408 13407
13409 ; return 0; } 13408 ; return 0; }
13410 EOF 13409 EOF
13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13410 if { (eval echo configure:13411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13412 rm -rf conftest* 13411 rm -rf conftest*
13413 eval "ac_cv_func_$ac_func=yes" 13412 eval "ac_cv_func_$ac_func=yes"
13414 else 13413 else
13415 echo "configure: failed program was:" >&5 13414 echo "configure: failed program was:" >&5
13416 cat conftest.$ac_ext >&5 13415 cat conftest.$ac_ext >&5
13436 13435
13437 done 13436 done
13438 fi 13437 fi
13439 13438
13440 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13439 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13441 echo "configure:13442: checking stack direction for C alloca" >&5 13440 echo "configure:13441: checking stack direction for C alloca" >&5
13442 13441
13443 cat > conftest.$ac_ext <<EOF 13442 cat > conftest.$ac_ext <<EOF
13444 #line 13445 "configure" 13443 #line 13444 "configure"
13445 #include "confdefs.h" 13444 #include "confdefs.h"
13446 find_stack_direction () 13445 find_stack_direction ()
13447 { 13446 {
13448 static char *addr = 0; 13447 static char *addr = 0;
13449 auto char dummy; 13448 auto char dummy;
13458 main () 13457 main ()
13459 { 13458 {
13460 exit (find_stack_direction() < 0); 13459 exit (find_stack_direction() < 0);
13461 } 13460 }
13462 EOF 13461 EOF
13463 if { (eval echo configure:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13462 if { (eval echo configure:13463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13464 then 13463 then
13465 ac_cv_c_stack_direction=1 13464 ac_cv_c_stack_direction=1
13466 else 13465 else
13467 conftest_rc="$?" 13466 conftest_rc="$?"
13468 echo "configure: failed program was:" >&5 13467 echo "configure: failed program was:" >&5
13487 echo " xemacs will be linked with \"$ALLOCA\"" 13486 echo " xemacs will be linked with \"$ALLOCA\""
13488 fi 13487 fi
13489 fi 13488 fi
13490 13489
13491 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13490 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13492 echo "configure:13493: checking for working alloca in function calls" >&5 13491 echo "configure:13492: checking for working alloca in function calls" >&5
13493 cat > conftest.$ac_ext <<EOF 13492 cat > conftest.$ac_ext <<EOF
13494 #line 13495 "configure" 13493 #line 13494 "configure"
13495 #include "confdefs.h" 13494 #include "confdefs.h"
13496 13495
13497 #if defined (__CYGWIN__) 13496 #if defined (__CYGWIN__)
13498 #include <alloca.h> 13497 #include <alloca.h>
13499 #elif defined (__GNUC__) 13498 #elif defined (__GNUC__)
13542 return 1; 13541 return 1;
13543 return 0; 13542 return 0;
13544 } 13543 }
13545 13544
13546 EOF 13545 EOF
13547 if { (eval echo configure:13548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13546 if { (eval echo configure:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13548 then 13547 then
13549 working_alloca_in_function_calls=yes 13548 working_alloca_in_function_calls=yes
13550 else 13549 else
13551 conftest_rc="$?" 13550 conftest_rc="$?"
13552 echo "configure: failed program was:" >&5 13551 echo "configure: failed program was:" >&5
13565 EOF 13564 EOF
13566 } 13565 }
13567 13566
13568 13567
13569 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13568 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13570 echo "configure:13571: checking for working strcoll" >&5 13569 echo "configure:13570: checking for working strcoll" >&5
13571 13570
13572 cat > conftest.$ac_ext <<EOF 13571 cat > conftest.$ac_ext <<EOF
13573 #line 13574 "configure" 13572 #line 13573 "configure"
13574 #include "confdefs.h" 13573 #include "confdefs.h"
13575 #include <string.h> 13574 #include <string.h>
13576 main () 13575 main ()
13577 { 13576 {
13578 exit (strcoll ("abc", "def") >= 0 || 13577 exit (strcoll ("abc", "def") >= 0 ||
13579 strcoll ("ABC", "DEF") >= 0 || 13578 strcoll ("ABC", "DEF") >= 0 ||
13580 strcoll ("123", "456") >= 0); 13579 strcoll ("123", "456") >= 0);
13581 } 13580 }
13582 EOF 13581 EOF
13583 if { (eval echo configure:13584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13582 if { (eval echo configure:13583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13584 then 13583 then
13585 ac_cv_func_strcoll_works=yes 13584 ac_cv_func_strcoll_works=yes
13586 else 13585 else
13587 conftest_rc="$?" 13586 conftest_rc="$?"
13588 echo "configure: failed program was:" >&5 13587 echo "configure: failed program was:" >&5
13606 13605
13607 13606
13608 for ac_func in getpgrp 13607 for ac_func in getpgrp
13609 do 13608 do
13610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13611 echo "configure:13612: checking for $ac_func" >&5 13610 echo "configure:13611: checking for $ac_func" >&5
13612 13611
13613 cat > conftest.$ac_ext <<EOF 13612 cat > conftest.$ac_ext <<EOF
13614 #line 13615 "configure" 13613 #line 13614 "configure"
13615 #include "confdefs.h" 13614 #include "confdefs.h"
13616 /* System header to define __stub macros and hopefully few prototypes, 13615 /* System header to define __stub macros and hopefully few prototypes,
13617 which can conflict with char $ac_func(); below. */ 13616 which can conflict with char $ac_func(); below. */
13618 #include <assert.h> 13617 #include <assert.h>
13619 /* Override any gcc2 internal prototype to avoid an error. */ 13618 /* Override any gcc2 internal prototype to avoid an error. */
13632 $ac_func(); 13631 $ac_func();
13633 #endif 13632 #endif
13634 13633
13635 ; return 0; } 13634 ; return 0; }
13636 EOF 13635 EOF
13637 if { (eval echo configure:13638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13638 rm -rf conftest* 13637 rm -rf conftest*
13639 eval "ac_cv_func_$ac_func=yes" 13638 eval "ac_cv_func_$ac_func=yes"
13640 else 13639 else
13641 echo "configure: failed program was:" >&5 13640 echo "configure: failed program was:" >&5
13642 cat conftest.$ac_ext >&5 13641 cat conftest.$ac_ext >&5
13660 echo "$ac_t""no" 1>&6 13659 echo "$ac_t""no" 1>&6
13661 fi 13660 fi
13662 done 13661 done
13663 13662
13664 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13663 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13665 echo "configure:13666: checking whether getpgrp takes no argument" >&5 13664 echo "configure:13665: checking whether getpgrp takes no argument" >&5
13666 13665
13667 cat > conftest.$ac_ext <<EOF 13666 cat > conftest.$ac_ext <<EOF
13668 #line 13669 "configure" 13667 #line 13668 "configure"
13669 #include "confdefs.h" 13668 #include "confdefs.h"
13670 13669
13671 /* 13670 /*
13672 * If this system has a BSD-style getpgrp(), 13671 * If this system has a BSD-style getpgrp(),
13673 * which takes a pid argument, exit unsuccessfully. 13672 * which takes a pid argument, exit unsuccessfully.
13718 exit(s>>8); 13717 exit(s>>8);
13719 } 13718 }
13720 } 13719 }
13721 13720
13722 EOF 13721 EOF
13723 if { (eval echo configure:13724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13722 if { (eval echo configure:13723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13724 then 13723 then
13725 ac_cv_func_getpgrp_void=yes 13724 ac_cv_func_getpgrp_void=yes
13726 else 13725 else
13727 conftest_rc="$?" 13726 conftest_rc="$?"
13728 echo "configure: failed program was:" >&5 13727 echo "configure: failed program was:" >&5
13745 13744
13746 fi 13745 fi
13747 13746
13748 13747
13749 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13748 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13750 echo "configure:13751: checking for working mmap" >&5 13749 echo "configure:13750: checking for working mmap" >&5
13751 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13750 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13752 cat > conftest.$ac_ext <<EOF 13751 cat > conftest.$ac_ext <<EOF
13753 #line 13754 "configure" 13752 #line 13753 "configure"
13754 #include "confdefs.h" 13753 #include "confdefs.h"
13755 #include <stdio.h> 13754 #include <stdio.h>
13756 #include <unistd.h> 13755 #include <unistd.h>
13757 #include <fcntl.h> 13756 #include <fcntl.h>
13758 #include <sys/mman.h> 13757 #include <sys/mman.h>
13781 return 0; 13780 return 0;
13782 perror ("conftest: mmap failed"); 13781 perror ("conftest: mmap failed");
13783 return 1; 13782 return 1;
13784 } 13783 }
13785 EOF 13784 EOF
13786 if { (eval echo configure:13787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13785 if { (eval echo configure:13786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13787 then 13786 then
13788 have_mmap=yes 13787 have_mmap=yes
13789 else 13788 else
13790 conftest_rc="$?" 13789 conftest_rc="$?"
13791 echo "configure: failed program was:" >&5 13790 echo "configure: failed program was:" >&5
13810 esac 13809 esac
13811 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13810 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13812 if test "$rel_alloc $have_mmap" = "default yes"; then 13811 if test "$rel_alloc $have_mmap" = "default yes"; then
13813 if test "$doug_lea_malloc" = "yes"; then 13812 if test "$doug_lea_malloc" = "yes"; then
13814 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13813 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13815 echo "configure:13816: checking for M_MMAP_THRESHOLD" >&5 13814 echo "configure:13815: checking for M_MMAP_THRESHOLD" >&5
13816 cat > conftest.$ac_ext <<EOF 13815 cat > conftest.$ac_ext <<EOF
13817 #line 13818 "configure" 13816 #line 13817 "configure"
13818 #include "confdefs.h" 13817 #include "confdefs.h"
13819 #include <malloc.h> 13818 #include <malloc.h>
13820 int main() { 13819 int main() {
13821 13820
13822 #ifndef M_MMAP_THRESHOLD 13821 #ifndef M_MMAP_THRESHOLD
13824 !@+$%^&*_)(_ - unlikely to compile... 13823 !@+$%^&*_)(_ - unlikely to compile...
13825 #endif 13824 #endif
13826 13825
13827 ; return 0; } 13826 ; return 0; }
13828 EOF 13827 EOF
13829 if { (eval echo configure:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13828 if { (eval echo configure:13829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13830 rm -rf conftest* 13829 rm -rf conftest*
13831 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13830 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13832 else 13831 else
13833 echo "configure: failed program was:" >&5 13832 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5 13833 cat conftest.$ac_ext >&5
13849 } 13848 }
13850 13849
13851 13850
13852 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13851 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13853 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13852 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13854 echo "configure:13855: checking for termios.h" >&5 13853 echo "configure:13854: checking for termios.h" >&5
13855 13854
13856 cat > conftest.$ac_ext <<EOF 13855 cat > conftest.$ac_ext <<EOF
13857 #line 13858 "configure" 13856 #line 13857 "configure"
13858 #include "confdefs.h" 13857 #include "confdefs.h"
13859 #include <termios.h> 13858 #include <termios.h>
13860 EOF 13859 EOF
13861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13862 { (eval echo configure:13863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13861 { (eval echo configure:13862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13864 if test -z "$ac_err"; then 13863 if test -z "$ac_err"; then
13865 rm -rf conftest* 13864 rm -rf conftest*
13866 eval "ac_cv_header_$ac_safe=yes" 13865 eval "ac_cv_header_$ac_safe=yes"
13867 else 13866 else
13900 13899
13901 else 13900 else
13902 echo "$ac_t""no" 1>&6 13901 echo "$ac_t""no" 1>&6
13903 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13902 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13904 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13903 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13905 echo "configure:13906: checking for termio.h" >&5 13904 echo "configure:13905: checking for termio.h" >&5
13906 13905
13907 cat > conftest.$ac_ext <<EOF 13906 cat > conftest.$ac_ext <<EOF
13908 #line 13909 "configure" 13907 #line 13908 "configure"
13909 #include "confdefs.h" 13908 #include "confdefs.h"
13910 #include <termio.h> 13909 #include <termio.h>
13911 EOF 13910 EOF
13912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13913 { (eval echo configure:13914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13912 { (eval echo configure:13913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13915 if test -z "$ac_err"; then 13914 if test -z "$ac_err"; then
13916 rm -rf conftest* 13915 rm -rf conftest*
13917 eval "ac_cv_header_$ac_safe=yes" 13916 eval "ac_cv_header_$ac_safe=yes"
13918 else 13917 else
13940 fi 13939 fi
13941 13940
13942 13941
13943 13942
13944 echo $ac_n "checking for socket""... $ac_c" 1>&6 13943 echo $ac_n "checking for socket""... $ac_c" 1>&6
13945 echo "configure:13946: checking for socket" >&5 13944 echo "configure:13945: checking for socket" >&5
13946 13945
13947 cat > conftest.$ac_ext <<EOF 13946 cat > conftest.$ac_ext <<EOF
13948 #line 13949 "configure" 13947 #line 13948 "configure"
13949 #include "confdefs.h" 13948 #include "confdefs.h"
13950 /* System header to define __stub macros and hopefully few prototypes, 13949 /* System header to define __stub macros and hopefully few prototypes,
13951 which can conflict with char socket(); below. */ 13950 which can conflict with char socket(); below. */
13952 #include <assert.h> 13951 #include <assert.h>
13953 /* Override any gcc2 internal prototype to avoid an error. */ 13952 /* Override any gcc2 internal prototype to avoid an error. */
13966 socket(); 13965 socket();
13967 #endif 13966 #endif
13968 13967
13969 ; return 0; } 13968 ; return 0; }
13970 EOF 13969 EOF
13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13970 if { (eval echo configure:13971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13972 rm -rf conftest* 13971 rm -rf conftest*
13973 eval "ac_cv_func_socket=yes" 13972 eval "ac_cv_func_socket=yes"
13974 else 13973 else
13975 echo "configure: failed program was:" >&5 13974 echo "configure: failed program was:" >&5
13976 cat conftest.$ac_ext >&5 13975 cat conftest.$ac_ext >&5
13981 13980
13982 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13981 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13983 echo "$ac_t""yes" 1>&6 13982 echo "$ac_t""yes" 1>&6
13984 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13983 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13985 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13984 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13986 echo "configure:13987: checking for netinet/in.h" >&5 13985 echo "configure:13986: checking for netinet/in.h" >&5
13987 13986
13988 cat > conftest.$ac_ext <<EOF 13987 cat > conftest.$ac_ext <<EOF
13989 #line 13990 "configure" 13988 #line 13989 "configure"
13990 #include "confdefs.h" 13989 #include "confdefs.h"
13991 #include <netinet/in.h> 13990 #include <netinet/in.h>
13992 EOF 13991 EOF
13993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13996 if test -z "$ac_err"; then 13995 if test -z "$ac_err"; then
13997 rm -rf conftest* 13996 rm -rf conftest*
13998 eval "ac_cv_header_$ac_safe=yes" 13997 eval "ac_cv_header_$ac_safe=yes"
13999 else 13998 else
14006 rm -f conftest* 14005 rm -f conftest*
14007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14008 echo "$ac_t""yes" 1>&6 14007 echo "$ac_t""yes" 1>&6
14009 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14008 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14010 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14009 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14011 echo "configure:14012: checking for arpa/inet.h" >&5 14010 echo "configure:14011: checking for arpa/inet.h" >&5
14012 14011
14013 cat > conftest.$ac_ext <<EOF 14012 cat > conftest.$ac_ext <<EOF
14014 #line 14015 "configure" 14013 #line 14014 "configure"
14015 #include "confdefs.h" 14014 #include "confdefs.h"
14016 #include <arpa/inet.h> 14015 #include <arpa/inet.h>
14017 EOF 14016 EOF
14018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14019 { (eval echo configure:14020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14018 { (eval echo configure:14019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14021 if test -z "$ac_err"; then 14020 if test -z "$ac_err"; then
14022 rm -rf conftest* 14021 rm -rf conftest*
14023 eval "ac_cv_header_$ac_safe=yes" 14022 eval "ac_cv_header_$ac_safe=yes"
14024 else 14023 else
14039 #define HAVE_SOCKETS 1 14038 #define HAVE_SOCKETS 1
14040 EOF 14039 EOF
14041 } 14040 }
14042 14041
14043 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14042 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14044 echo "configure:14045: checking "for sun_len member in struct sockaddr_un"" >&5 14043 echo "configure:14044: checking "for sun_len member in struct sockaddr_un"" >&5
14045 cat > conftest.$ac_ext <<EOF 14044 cat > conftest.$ac_ext <<EOF
14046 #line 14047 "configure" 14045 #line 14046 "configure"
14047 #include "confdefs.h" 14046 #include "confdefs.h"
14048 14047
14049 #include <sys/types.h> 14048 #include <sys/types.h>
14050 #include <sys/socket.h> 14049 #include <sys/socket.h>
14051 #include <sys/un.h> 14050 #include <sys/un.h>
14052 14051
14053 int main() { 14052 int main() {
14054 static struct sockaddr_un x; x.sun_len = 1; 14053 static struct sockaddr_un x; x.sun_len = 1;
14055 ; return 0; } 14054 ; return 0; }
14056 EOF 14055 EOF
14057 if { (eval echo configure:14058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14056 if { (eval echo configure:14057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14058 rm -rf conftest* 14057 rm -rf conftest*
14059 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14058 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14060 Defining HAVE_SOCKADDR_SUN_LEN 14059 Defining HAVE_SOCKADDR_SUN_LEN
14061 EOF 14060 EOF
14062 cat >> confdefs.h <<\EOF 14061 cat >> confdefs.h <<\EOF
14070 rm -rf conftest* 14069 rm -rf conftest*
14071 echo "$ac_t""no" 1>&6 14070 echo "$ac_t""no" 1>&6
14072 fi 14071 fi
14073 rm -f conftest* 14072 rm -f conftest*
14074 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14073 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14075 echo "configure:14076: checking "for ip_mreq struct in netinet/in.h"" >&5 14074 echo "configure:14075: checking "for ip_mreq struct in netinet/in.h"" >&5
14076 cat > conftest.$ac_ext <<EOF 14075 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure" 14076 #line 14077 "configure"
14078 #include "confdefs.h" 14077 #include "confdefs.h"
14079 14078
14080 #include <sys/types.h> 14079 #include <sys/types.h>
14081 #include <netinet/in.h> 14080 #include <netinet/in.h>
14082 14081
14083 int main() { 14082 int main() {
14084 static struct ip_mreq x; 14083 static struct ip_mreq x;
14085 ; return 0; } 14084 ; return 0; }
14086 EOF 14085 EOF
14087 if { (eval echo configure:14088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14086 if { (eval echo configure:14087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14088 rm -rf conftest* 14087 rm -rf conftest*
14089 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14088 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14090 Defining HAVE_MULTICAST 14089 Defining HAVE_MULTICAST
14091 EOF 14090 EOF
14092 cat >> confdefs.h <<\EOF 14091 cat >> confdefs.h <<\EOF
14113 echo "$ac_t""no" 1>&6 14112 echo "$ac_t""no" 1>&6
14114 fi 14113 fi
14115 14114
14116 14115
14117 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14116 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14118 echo "configure:14119: checking for msgget" >&5 14117 echo "configure:14118: checking for msgget" >&5
14119 14118
14120 cat > conftest.$ac_ext <<EOF 14119 cat > conftest.$ac_ext <<EOF
14121 #line 14122 "configure" 14120 #line 14121 "configure"
14122 #include "confdefs.h" 14121 #include "confdefs.h"
14123 /* System header to define __stub macros and hopefully few prototypes, 14122 /* System header to define __stub macros and hopefully few prototypes,
14124 which can conflict with char msgget(); below. */ 14123 which can conflict with char msgget(); below. */
14125 #include <assert.h> 14124 #include <assert.h>
14126 /* Override any gcc2 internal prototype to avoid an error. */ 14125 /* Override any gcc2 internal prototype to avoid an error. */
14139 msgget(); 14138 msgget();
14140 #endif 14139 #endif
14141 14140
14142 ; return 0; } 14141 ; return 0; }
14143 EOF 14142 EOF
14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14145 rm -rf conftest* 14144 rm -rf conftest*
14146 eval "ac_cv_func_msgget=yes" 14145 eval "ac_cv_func_msgget=yes"
14147 else 14146 else
14148 echo "configure: failed program was:" >&5 14147 echo "configure: failed program was:" >&5
14149 cat conftest.$ac_ext >&5 14148 cat conftest.$ac_ext >&5
14154 14153
14155 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14154 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6 14155 echo "$ac_t""yes" 1>&6
14157 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14156 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14158 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14157 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14159 echo "configure:14160: checking for sys/ipc.h" >&5 14158 echo "configure:14159: checking for sys/ipc.h" >&5
14160 14159
14161 cat > conftest.$ac_ext <<EOF 14160 cat > conftest.$ac_ext <<EOF
14162 #line 14163 "configure" 14161 #line 14162 "configure"
14163 #include "confdefs.h" 14162 #include "confdefs.h"
14164 #include <sys/ipc.h> 14163 #include <sys/ipc.h>
14165 EOF 14164 EOF
14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14166 { (eval echo configure:14167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14169 if test -z "$ac_err"; then 14168 if test -z "$ac_err"; then
14170 rm -rf conftest* 14169 rm -rf conftest*
14171 eval "ac_cv_header_$ac_safe=yes" 14170 eval "ac_cv_header_$ac_safe=yes"
14172 else 14171 else
14179 rm -f conftest* 14178 rm -f conftest*
14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14181 echo "$ac_t""yes" 1>&6 14180 echo "$ac_t""yes" 1>&6
14182 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14181 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14183 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14182 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14184 echo "configure:14185: checking for sys/msg.h" >&5 14183 echo "configure:14184: checking for sys/msg.h" >&5
14185 14184
14186 cat > conftest.$ac_ext <<EOF 14185 cat > conftest.$ac_ext <<EOF
14187 #line 14188 "configure" 14186 #line 14187 "configure"
14188 #include "confdefs.h" 14187 #include "confdefs.h"
14189 #include <sys/msg.h> 14188 #include <sys/msg.h>
14190 EOF 14189 EOF
14191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14192 { (eval echo configure:14193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14194 if test -z "$ac_err"; then 14193 if test -z "$ac_err"; then
14195 rm -rf conftest* 14194 rm -rf conftest*
14196 eval "ac_cv_header_$ac_safe=yes" 14195 eval "ac_cv_header_$ac_safe=yes"
14197 else 14196 else
14225 fi 14224 fi
14226 14225
14227 14226
14228 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14227 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14229 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14228 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14230 echo "configure:14231: checking for dirent.h" >&5 14229 echo "configure:14230: checking for dirent.h" >&5
14231 14230
14232 cat > conftest.$ac_ext <<EOF 14231 cat > conftest.$ac_ext <<EOF
14233 #line 14234 "configure" 14232 #line 14233 "configure"
14234 #include "confdefs.h" 14233 #include "confdefs.h"
14235 #include <dirent.h> 14234 #include <dirent.h>
14236 EOF 14235 EOF
14237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14238 { (eval echo configure:14239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14237 { (eval echo configure:14238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14240 if test -z "$ac_err"; then 14239 if test -z "$ac_err"; then
14241 rm -rf conftest* 14240 rm -rf conftest*
14242 eval "ac_cv_header_$ac_safe=yes" 14241 eval "ac_cv_header_$ac_safe=yes"
14243 else 14242 else
14260 14259
14261 else 14260 else
14262 echo "$ac_t""no" 1>&6 14261 echo "$ac_t""no" 1>&6
14263 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14262 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14264 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14263 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14265 echo "configure:14266: checking for sys/dir.h" >&5 14264 echo "configure:14265: checking for sys/dir.h" >&5
14266 14265
14267 cat > conftest.$ac_ext <<EOF 14266 cat > conftest.$ac_ext <<EOF
14268 #line 14269 "configure" 14267 #line 14268 "configure"
14269 #include "confdefs.h" 14268 #include "confdefs.h"
14270 #include <sys/dir.h> 14269 #include <sys/dir.h>
14271 EOF 14270 EOF
14272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14273 { (eval echo configure:14274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14272 { (eval echo configure:14273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14275 if test -z "$ac_err"; then 14274 if test -z "$ac_err"; then
14276 rm -rf conftest* 14275 rm -rf conftest*
14277 eval "ac_cv_header_$ac_safe=yes" 14276 eval "ac_cv_header_$ac_safe=yes"
14278 else 14277 else
14301 fi 14300 fi
14302 14301
14303 14302
14304 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14303 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14305 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14304 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14306 echo "configure:14307: checking for nlist.h" >&5 14305 echo "configure:14306: checking for nlist.h" >&5
14307 14306
14308 cat > conftest.$ac_ext <<EOF 14307 cat > conftest.$ac_ext <<EOF
14309 #line 14310 "configure" 14308 #line 14309 "configure"
14310 #include "confdefs.h" 14309 #include "confdefs.h"
14311 #include <nlist.h> 14310 #include <nlist.h>
14312 EOF 14311 EOF
14313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14314 { (eval echo configure:14315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14313 { (eval echo configure:14314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14316 if test -z "$ac_err"; then 14315 if test -z "$ac_err"; then
14317 rm -rf conftest* 14316 rm -rf conftest*
14318 eval "ac_cv_header_$ac_safe=yes" 14317 eval "ac_cv_header_$ac_safe=yes"
14319 else 14318 else
14339 fi 14338 fi
14340 14339
14341 14340
14342 14341
14343 echo "checking "for sound support"" 1>&6 14342 echo "checking "for sound support"" 1>&6
14344 echo "configure:14345: checking "for sound support"" >&5 14343 echo "configure:14344: checking "for sound support"" >&5
14345 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14344 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14346 14345
14347 if test "$with_native_sound" != "no"; then 14346 if test "$with_native_sound" != "no"; then
14348 if test -n "$native_sound_lib"; then 14347 if test -n "$native_sound_lib"; then
14349 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14348 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14350 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14349 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14351 echo "configure:14352: checking for multimedia/audio_device.h" >&5 14350 echo "configure:14351: checking for multimedia/audio_device.h" >&5
14352 14351
14353 cat > conftest.$ac_ext <<EOF 14352 cat > conftest.$ac_ext <<EOF
14354 #line 14355 "configure" 14353 #line 14354 "configure"
14355 #include "confdefs.h" 14354 #include "confdefs.h"
14356 #include <multimedia/audio_device.h> 14355 #include <multimedia/audio_device.h>
14357 EOF 14356 EOF
14358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14359 { (eval echo configure:14360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14358 { (eval echo configure:14359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14361 if test -z "$ac_err"; then 14360 if test -z "$ac_err"; then
14362 rm -rf conftest* 14361 rm -rf conftest*
14363 eval "ac_cv_header_$ac_safe=yes" 14362 eval "ac_cv_header_$ac_safe=yes"
14364 else 14363 else
14410 case "$canonical" in 14409 case "$canonical" in
14411 *-sgi-* ) 14410 *-sgi-* )
14412 if test -z "$native_sound_lib"; then 14411 if test -z "$native_sound_lib"; then
14413 14412
14414 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14413 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14415 echo "configure:14416: checking for ALopenport in -laudio" >&5 14414 echo "configure:14415: checking for ALopenport in -laudio" >&5
14416 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14415 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14417 14416
14418 xe_check_libs=" -laudio " 14417 xe_check_libs=" -laudio "
14419 cat > conftest.$ac_ext <<EOF 14418 cat > conftest.$ac_ext <<EOF
14420 #line 14421 "configure" 14419 #line 14420 "configure"
14421 #include "confdefs.h" 14420 #include "confdefs.h"
14422 /* Override any gcc2 internal prototype to avoid an error. */ 14421 /* Override any gcc2 internal prototype to avoid an error. */
14423 /* We use char because int might match the return type of a gcc2 14422 /* We use char because int might match the return type of a gcc2
14424 builtin and then its argument prototype would still apply. */ 14423 builtin and then its argument prototype would still apply. */
14425 char ALopenport(); 14424 char ALopenport();
14426 14425
14427 int main() { 14426 int main() {
14428 ALopenport() 14427 ALopenport()
14429 ; return 0; } 14428 ; return 0; }
14430 EOF 14429 EOF
14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 rm -rf conftest* 14431 rm -rf conftest*
14433 eval "ac_cv_lib_$ac_lib_var=yes" 14432 eval "ac_cv_lib_$ac_lib_var=yes"
14434 else 14433 else
14435 echo "configure: failed program was:" >&5 14434 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5 14435 cat conftest.$ac_ext >&5
14457 fi ;; 14456 fi ;;
14458 hppa*-hp-hpux* ) 14457 hppa*-hp-hpux* )
14459 if test -z "$native_sound_lib"; then 14458 if test -z "$native_sound_lib"; then
14460 14459
14461 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14460 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14462 echo "configure:14463: checking for AOpenAudio in -lAlib" >&5 14461 echo "configure:14462: checking for AOpenAudio in -lAlib" >&5
14463 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14462 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14464 14463
14465 xe_check_libs=" -lAlib " 14464 xe_check_libs=" -lAlib "
14466 cat > conftest.$ac_ext <<EOF 14465 cat > conftest.$ac_ext <<EOF
14467 #line 14468 "configure" 14466 #line 14467 "configure"
14468 #include "confdefs.h" 14467 #include "confdefs.h"
14469 /* Override any gcc2 internal prototype to avoid an error. */ 14468 /* Override any gcc2 internal prototype to avoid an error. */
14470 /* We use char because int might match the return type of a gcc2 14469 /* We use char because int might match the return type of a gcc2
14471 builtin and then its argument prototype would still apply. */ 14470 builtin and then its argument prototype would still apply. */
14472 char AOpenAudio(); 14471 char AOpenAudio();
14473 14472
14474 int main() { 14473 int main() {
14475 AOpenAudio() 14474 AOpenAudio()
14476 ; return 0; } 14475 ; return 0; }
14477 EOF 14476 EOF
14478 if { (eval echo configure:14479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14477 if { (eval echo configure:14478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14479 rm -rf conftest* 14478 rm -rf conftest*
14480 eval "ac_cv_lib_$ac_lib_var=yes" 14479 eval "ac_cv_lib_$ac_lib_var=yes"
14481 else 14480 else
14482 echo "configure: failed program was:" >&5 14481 echo "configure: failed program was:" >&5
14483 cat conftest.$ac_ext >&5 14482 cat conftest.$ac_ext >&5
14521 14520
14522 if test -z "$sound_found"; then 14521 if test -z "$sound_found"; then
14523 for dir in "machine" "sys" "linux"; do 14522 for dir in "machine" "sys" "linux"; do
14524 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14523 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14525 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14524 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14526 echo "configure:14527: checking for ${dir}/soundcard.h" >&5 14525 echo "configure:14526: checking for ${dir}/soundcard.h" >&5
14527 14526
14528 cat > conftest.$ac_ext <<EOF 14527 cat > conftest.$ac_ext <<EOF
14529 #line 14530 "configure" 14528 #line 14529 "configure"
14530 #include "confdefs.h" 14529 #include "confdefs.h"
14531 #include <${dir}/soundcard.h> 14530 #include <${dir}/soundcard.h>
14532 EOF 14531 EOF
14533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14534 { (eval echo configure:14535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14533 { (eval echo configure:14534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14536 if test -z "$ac_err"; then 14535 if test -z "$ac_err"; then
14537 rm -rf conftest* 14536 rm -rf conftest*
14538 eval "ac_cv_header_$ac_safe=yes" 14537 eval "ac_cv_header_$ac_safe=yes"
14539 else 14538 else
14583 fi 14582 fi
14584 14583
14585 if test "$with_nas_sound" != "no"; then 14584 if test "$with_nas_sound" != "no"; then
14586 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14585 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14587 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14586 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14588 echo "configure:14589: checking for audio/audiolib.h" >&5 14587 echo "configure:14588: checking for audio/audiolib.h" >&5
14589 14588
14590 cat > conftest.$ac_ext <<EOF 14589 cat > conftest.$ac_ext <<EOF
14591 #line 14592 "configure" 14590 #line 14591 "configure"
14592 #include "confdefs.h" 14591 #include "confdefs.h"
14593 #include <audio/audiolib.h> 14592 #include <audio/audiolib.h>
14594 EOF 14593 EOF
14595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14595 { (eval echo configure:14596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14598 if test -z "$ac_err"; then 14597 if test -z "$ac_err"; then
14599 rm -rf conftest* 14598 rm -rf conftest*
14600 eval "ac_cv_header_$ac_safe=yes" 14599 eval "ac_cv_header_$ac_safe=yes"
14601 else 14600 else
14609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14610 echo "$ac_t""yes" 1>&6 14609 echo "$ac_t""yes" 1>&6
14611 14610
14612 14611
14613 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14612 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14614 echo "configure:14615: checking for AuOpenServer in -laudio" >&5 14613 echo "configure:14614: checking for AuOpenServer in -laudio" >&5
14615 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14614 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14616 14615
14617 xe_check_libs=" -laudio " 14616 xe_check_libs=" -laudio "
14618 cat > conftest.$ac_ext <<EOF 14617 cat > conftest.$ac_ext <<EOF
14619 #line 14620 "configure" 14618 #line 14619 "configure"
14620 #include "confdefs.h" 14619 #include "confdefs.h"
14621 /* Override any gcc2 internal prototype to avoid an error. */ 14620 /* Override any gcc2 internal prototype to avoid an error. */
14622 /* We use char because int might match the return type of a gcc2 14621 /* We use char because int might match the return type of a gcc2
14623 builtin and then its argument prototype would still apply. */ 14622 builtin and then its argument prototype would still apply. */
14624 char AuOpenServer(); 14623 char AuOpenServer();
14625 14624
14626 int main() { 14625 int main() {
14627 AuOpenServer() 14626 AuOpenServer()
14628 ; return 0; } 14627 ; return 0; }
14629 EOF 14628 EOF
14630 if { (eval echo configure:14631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14629 if { (eval echo configure:14630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14631 rm -rf conftest* 14630 rm -rf conftest*
14632 eval "ac_cv_lib_$ac_lib_var=yes" 14631 eval "ac_cv_lib_$ac_lib_var=yes"
14633 else 14632 else
14634 echo "configure: failed program was:" >&5 14633 echo "configure: failed program was:" >&5
14635 cat conftest.$ac_ext >&5 14634 cat conftest.$ac_ext >&5
14664 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14663 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14665 echo " xemacs will be linked with \"nas.o\"" 14664 echo " xemacs will be linked with \"nas.o\""
14666 fi 14665 fi
14667 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14666 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14668 cat > conftest.$ac_ext <<EOF 14667 cat > conftest.$ac_ext <<EOF
14669 #line 14670 "configure" 14668 #line 14669 "configure"
14670 #include "confdefs.h" 14669 #include "confdefs.h"
14671 #include <audio/Xtutil.h> 14670 #include <audio/Xtutil.h>
14672 EOF 14671 EOF
14673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14674 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14673 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14695 14694
14696 if test "$with_esd_sound" != "no"; then 14695 if test "$with_esd_sound" != "no"; then
14697 # Extract the first word of "esd-config", so it can be a program name with args. 14696 # Extract the first word of "esd-config", so it can be a program name with args.
14698 set dummy esd-config; ac_word=$2 14697 set dummy esd-config; ac_word=$2
14699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14700 echo "configure:14701: checking for $ac_word" >&5 14699 echo "configure:14700: checking for $ac_word" >&5
14701 14700
14702 if test -n "$have_esd_config"; then 14701 if test -n "$have_esd_config"; then
14703 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14702 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14704 else 14703 else
14705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14724 if test "$have_esd_config" = "yes"; then 14723 if test "$have_esd_config" = "yes"; then
14725 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14724 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
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 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
14727 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14726 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14728 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14727 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14729 echo "configure:14730: checking for esd_play_stream" >&5 14728 echo "configure:14729: checking for esd_play_stream" >&5
14730 14729
14731 cat > conftest.$ac_ext <<EOF 14730 cat > conftest.$ac_ext <<EOF
14732 #line 14733 "configure" 14731 #line 14732 "configure"
14733 #include "confdefs.h" 14732 #include "confdefs.h"
14734 /* System header to define __stub macros and hopefully few prototypes, 14733 /* System header to define __stub macros and hopefully few prototypes,
14735 which can conflict with char esd_play_stream(); below. */ 14734 which can conflict with char esd_play_stream(); below. */
14736 #include <assert.h> 14735 #include <assert.h>
14737 /* Override any gcc2 internal prototype to avoid an error. */ 14736 /* Override any gcc2 internal prototype to avoid an error. */
14750 esd_play_stream(); 14749 esd_play_stream();
14751 #endif 14750 #endif
14752 14751
14753 ; return 0; } 14752 ; return 0; }
14754 EOF 14753 EOF
14755 if { (eval echo configure:14756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14754 if { (eval echo configure:14755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14756 rm -rf conftest* 14755 rm -rf conftest*
14757 eval "ac_cv_func_esd_play_stream=yes" 14756 eval "ac_cv_func_esd_play_stream=yes"
14758 else 14757 else
14759 echo "configure: failed program was:" >&5 14758 echo "configure: failed program was:" >&5
14760 cat conftest.$ac_ext >&5 14759 cat conftest.$ac_ext >&5
14801 14800
14802 test -z "$with_tty" && with_tty=yes 14801 test -z "$with_tty" && with_tty=yes
14803 14802
14804 if test "$with_tty" = "yes" ; then 14803 if test "$with_tty" = "yes" ; then
14805 echo "checking for TTY-related features" 1>&6 14804 echo "checking for TTY-related features" 1>&6
14806 echo "configure:14807: checking for TTY-related features" >&5 14805 echo "configure:14806: checking for TTY-related features" >&5
14807 { test "$extra_verbose" = "yes" && cat << \EOF 14806 { test "$extra_verbose" = "yes" && cat << \EOF
14808 Defining HAVE_TTY 14807 Defining HAVE_TTY
14809 EOF 14808 EOF
14810 cat >> confdefs.h <<\EOF 14809 cat >> confdefs.h <<\EOF
14811 #define HAVE_TTY 1 14810 #define HAVE_TTY 1
14814 14813
14815 14814
14816 if test -z "$with_ncurses"; then 14815 if test -z "$with_ncurses"; then
14817 14816
14818 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14817 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14819 echo "configure:14820: checking for tgetent in -lncurses" >&5 14818 echo "configure:14819: checking for tgetent in -lncurses" >&5
14820 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14819 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14821 14820
14822 xe_check_libs=" -lncurses " 14821 xe_check_libs=" -lncurses "
14823 cat > conftest.$ac_ext <<EOF 14822 cat > conftest.$ac_ext <<EOF
14824 #line 14825 "configure" 14823 #line 14824 "configure"
14825 #include "confdefs.h" 14824 #include "confdefs.h"
14826 /* Override any gcc2 internal prototype to avoid an error. */ 14825 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2 14826 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */ 14827 builtin and then its argument prototype would still apply. */
14829 char tgetent(); 14828 char tgetent();
14830 14829
14831 int main() { 14830 int main() {
14832 tgetent() 14831 tgetent()
14833 ; return 0; } 14832 ; return 0; }
14834 EOF 14833 EOF
14835 if { (eval echo configure:14836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14834 if { (eval echo configure:14835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14836 rm -rf conftest* 14835 rm -rf conftest*
14837 eval "ac_cv_lib_$ac_lib_var=yes" 14836 eval "ac_cv_lib_$ac_lib_var=yes"
14838 else 14837 else
14839 echo "configure: failed program was:" >&5 14838 echo "configure: failed program was:" >&5
14840 cat conftest.$ac_ext >&5 14839 cat conftest.$ac_ext >&5
14863 EOF 14862 EOF
14864 } 14863 }
14865 14864
14866 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14865 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14867 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14866 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14868 echo "configure:14869: checking for ncurses/curses.h" >&5 14867 echo "configure:14868: checking for ncurses/curses.h" >&5
14869 14868
14870 cat > conftest.$ac_ext <<EOF 14869 cat > conftest.$ac_ext <<EOF
14871 #line 14872 "configure" 14870 #line 14871 "configure"
14872 #include "confdefs.h" 14871 #include "confdefs.h"
14873 #include <ncurses/curses.h> 14872 #include <ncurses/curses.h>
14874 EOF 14873 EOF
14875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14876 { (eval echo configure:14877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14875 { (eval echo configure:14876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14878 if test -z "$ac_err"; then 14877 if test -z "$ac_err"; then
14879 rm -rf conftest* 14878 rm -rf conftest*
14880 eval "ac_cv_header_$ac_safe=yes" 14879 eval "ac_cv_header_$ac_safe=yes"
14881 else 14880 else
14893 echo "$ac_t""no" 1>&6 14892 echo "$ac_t""no" 1>&6
14894 fi 14893 fi
14895 14894
14896 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14895 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14897 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14896 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14898 echo "configure:14899: checking for ncurses/term.h" >&5 14897 echo "configure:14898: checking for ncurses/term.h" >&5
14899 14898
14900 cat > conftest.$ac_ext <<EOF 14899 cat > conftest.$ac_ext <<EOF
14901 #line 14902 "configure" 14900 #line 14901 "configure"
14902 #include "confdefs.h" 14901 #include "confdefs.h"
14903 #include <ncurses/term.h> 14902 #include <ncurses/term.h>
14904 EOF 14903 EOF
14905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14906 { (eval echo configure:14907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14905 { (eval echo configure:14906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14908 if test -z "$ac_err"; then 14907 if test -z "$ac_err"; then
14909 rm -rf conftest* 14908 rm -rf conftest*
14910 eval "ac_cv_header_$ac_safe=yes" 14909 eval "ac_cv_header_$ac_safe=yes"
14911 else 14910 else
14931 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14930 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14932 save_c_switch_site="$c_switch_site" 14931 save_c_switch_site="$c_switch_site"
14933 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14932 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14934 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14933 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14935 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14934 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14936 echo "configure:14937: checking for ncurses/curses.h" >&5 14935 echo "configure:14936: checking for ncurses/curses.h" >&5
14937 14936
14938 cat > conftest.$ac_ext <<EOF 14937 cat > conftest.$ac_ext <<EOF
14939 #line 14940 "configure" 14938 #line 14939 "configure"
14940 #include "confdefs.h" 14939 #include "confdefs.h"
14941 #include <ncurses/curses.h> 14940 #include <ncurses/curses.h>
14942 EOF 14941 EOF
14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14943 { (eval echo configure:14944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14946 if test -z "$ac_err"; then 14945 if test -z "$ac_err"; then
14947 rm -rf conftest* 14946 rm -rf conftest*
14948 eval "ac_cv_header_$ac_safe=yes" 14947 eval "ac_cv_header_$ac_safe=yes"
14949 else 14948 else
14974 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14973 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14975 else 14974 else
14976 for lib in curses termlib termcap; do 14975 for lib in curses termlib termcap; do
14977 14976
14978 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14977 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14979 echo "configure:14980: checking for tgetent in -l$lib" >&5 14978 echo "configure:14979: checking for tgetent in -l$lib" >&5
14980 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14979 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14981 14980
14982 xe_check_libs=" -l$lib " 14981 xe_check_libs=" -l$lib "
14983 cat > conftest.$ac_ext <<EOF 14982 cat > conftest.$ac_ext <<EOF
14984 #line 14985 "configure" 14983 #line 14984 "configure"
14985 #include "confdefs.h" 14984 #include "confdefs.h"
14986 /* Override any gcc2 internal prototype to avoid an error. */ 14985 /* Override any gcc2 internal prototype to avoid an error. */
14987 /* We use char because int might match the return type of a gcc2 14986 /* We use char because int might match the return type of a gcc2
14988 builtin and then its argument prototype would still apply. */ 14987 builtin and then its argument prototype would still apply. */
14989 char tgetent(); 14988 char tgetent();
14990 14989
14991 int main() { 14990 int main() {
14992 tgetent() 14991 tgetent()
14993 ; return 0; } 14992 ; return 0; }
14994 EOF 14993 EOF
14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14996 rm -rf conftest* 14995 rm -rf conftest*
14997 eval "ac_cv_lib_$ac_lib_var=yes" 14996 eval "ac_cv_lib_$ac_lib_var=yes"
14998 else 14997 else
14999 echo "configure: failed program was:" >&5 14998 echo "configure: failed program was:" >&5
15000 cat conftest.$ac_ext >&5 14999 cat conftest.$ac_ext >&5
15021 if test -n "$libs_termcap"; then 15020 if test -n "$libs_termcap"; then
15022 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15023 else 15022 else
15024 15023
15025 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15024 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15026 echo "configure:15027: checking for tgetent in -lcurses" >&5 15025 echo "configure:15026: checking for tgetent in -lcurses" >&5
15027 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15026 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15028 15027
15029 xe_check_libs=" -lcurses " 15028 xe_check_libs=" -lcurses "
15030 cat > conftest.$ac_ext <<EOF 15029 cat > conftest.$ac_ext <<EOF
15031 #line 15032 "configure" 15030 #line 15031 "configure"
15032 #include "confdefs.h" 15031 #include "confdefs.h"
15033 /* Override any gcc2 internal prototype to avoid an error. */ 15032 /* Override any gcc2 internal prototype to avoid an error. */
15034 /* We use char because int might match the return type of a gcc2 15033 /* We use char because int might match the return type of a gcc2
15035 builtin and then its argument prototype would still apply. */ 15034 builtin and then its argument prototype would still apply. */
15036 char tgetent(); 15035 char tgetent();
15037 15036
15038 int main() { 15037 int main() {
15039 tgetent() 15038 tgetent()
15040 ; return 0; } 15039 ; return 0; }
15041 EOF 15040 EOF
15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15041 if { (eval echo configure:15042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15043 rm -rf conftest* 15042 rm -rf conftest*
15044 eval "ac_cv_lib_$ac_lib_var=yes" 15043 eval "ac_cv_lib_$ac_lib_var=yes"
15045 else 15044 else
15046 echo "configure: failed program was:" >&5 15045 echo "configure: failed program was:" >&5
15047 cat conftest.$ac_ext >&5 15046 cat conftest.$ac_ext >&5
15055 echo "$ac_t""yes" 1>&6 15054 echo "$ac_t""yes" 1>&6
15056 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15055 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15057 else 15056 else
15058 echo "$ac_t""no" 1>&6 15057 echo "$ac_t""no" 1>&6
15059 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15058 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15060 echo "configure:15061: checking for tgetent in -ltermcap" >&5 15059 echo "configure:15060: checking for tgetent in -ltermcap" >&5
15061 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15060 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15062 15061
15063 xe_check_libs=" -ltermcap " 15062 xe_check_libs=" -ltermcap "
15064 cat > conftest.$ac_ext <<EOF 15063 cat > conftest.$ac_ext <<EOF
15065 #line 15066 "configure" 15064 #line 15065 "configure"
15066 #include "confdefs.h" 15065 #include "confdefs.h"
15067 /* Override any gcc2 internal prototype to avoid an error. */ 15066 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2 15067 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */ 15068 builtin and then its argument prototype would still apply. */
15070 char tgetent(); 15069 char tgetent();
15071 15070
15072 int main() { 15071 int main() {
15073 tgetent() 15072 tgetent()
15074 ; return 0; } 15073 ; return 0; }
15075 EOF 15074 EOF
15076 if { (eval echo configure:15077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15075 if { (eval echo configure:15076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15077 rm -rf conftest* 15076 rm -rf conftest*
15078 eval "ac_cv_lib_$ac_lib_var=yes" 15077 eval "ac_cv_lib_$ac_lib_var=yes"
15079 else 15078 else
15080 echo "configure: failed program was:" >&5 15079 echo "configure: failed program was:" >&5
15081 cat conftest.$ac_ext >&5 15080 cat conftest.$ac_ext >&5
15120 15119
15121 15120
15122 if test "$with_gpm" != "no"; then 15121 if test "$with_gpm" != "no"; then
15123 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15122 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15124 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15123 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15125 echo "configure:15126: checking for gpm.h" >&5 15124 echo "configure:15125: checking for gpm.h" >&5
15126 15125
15127 cat > conftest.$ac_ext <<EOF 15126 cat > conftest.$ac_ext <<EOF
15128 #line 15129 "configure" 15127 #line 15128 "configure"
15129 #include "confdefs.h" 15128 #include "confdefs.h"
15130 #include <gpm.h> 15129 #include <gpm.h>
15131 EOF 15130 EOF
15132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15133 { (eval echo configure:15134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15132 { (eval echo configure:15133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15135 if test -z "$ac_err"; then 15134 if test -z "$ac_err"; then
15136 rm -rf conftest* 15135 rm -rf conftest*
15137 eval "ac_cv_header_$ac_safe=yes" 15136 eval "ac_cv_header_$ac_safe=yes"
15138 else 15137 else
15146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15147 echo "$ac_t""yes" 1>&6 15146 echo "$ac_t""yes" 1>&6
15148 15147
15149 15148
15150 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15149 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15151 echo "configure:15152: checking for Gpm_Open in -lgpm" >&5 15150 echo "configure:15151: checking for Gpm_Open in -lgpm" >&5
15152 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15151 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15153 15152
15154 xe_check_libs=" -lgpm " 15153 xe_check_libs=" -lgpm "
15155 cat > conftest.$ac_ext <<EOF 15154 cat > conftest.$ac_ext <<EOF
15156 #line 15157 "configure" 15155 #line 15156 "configure"
15157 #include "confdefs.h" 15156 #include "confdefs.h"
15158 /* Override any gcc2 internal prototype to avoid an error. */ 15157 /* Override any gcc2 internal prototype to avoid an error. */
15159 /* We use char because int might match the return type of a gcc2 15158 /* We use char because int might match the return type of a gcc2
15160 builtin and then its argument prototype would still apply. */ 15159 builtin and then its argument prototype would still apply. */
15161 char Gpm_Open(); 15160 char Gpm_Open();
15162 15161
15163 int main() { 15162 int main() {
15164 Gpm_Open() 15163 Gpm_Open()
15165 ; return 0; } 15164 ; return 0; }
15166 EOF 15165 EOF
15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15168 rm -rf conftest* 15167 rm -rf conftest*
15169 eval "ac_cv_lib_$ac_lib_var=yes" 15168 eval "ac_cv_lib_$ac_lib_var=yes"
15170 else 15169 else
15171 echo "configure: failed program was:" >&5 15170 echo "configure: failed program was:" >&5
15172 cat conftest.$ac_ext >&5 15171 cat conftest.$ac_ext >&5
15214 done 15213 done
15215 fi 15214 fi
15216 15215
15217 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15216 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15218 != "no no no" && echo "checking for database support" 1>&6 15217 != "no no no" && echo "checking for database support" 1>&6
15219 echo "configure:15220: checking for database support" >&5 15218 echo "configure:15219: checking for database support" >&5
15220 15219
15221 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15220 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15221 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15222 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15224 echo "configure:15225: checking for ndbm.h" >&5 15223 echo "configure:15224: checking for ndbm.h" >&5
15225 15224
15226 cat > conftest.$ac_ext <<EOF 15225 cat > conftest.$ac_ext <<EOF
15227 #line 15228 "configure" 15226 #line 15227 "configure"
15228 #include "confdefs.h" 15227 #include "confdefs.h"
15229 #include <ndbm.h> 15228 #include <ndbm.h>
15230 EOF 15229 EOF
15231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15232 { (eval echo configure:15233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15231 { (eval echo configure:15232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15234 if test -z "$ac_err"; then 15233 if test -z "$ac_err"; then
15235 rm -rf conftest* 15234 rm -rf conftest*
15236 eval "ac_cv_header_$ac_safe=yes" 15235 eval "ac_cv_header_$ac_safe=yes"
15237 else 15236 else
15257 fi 15256 fi
15258 15257
15259 if test "$with_database_gdbm" != "no"; then 15258 if test "$with_database_gdbm" != "no"; then
15260 15259
15261 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15260 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15262 echo "configure:15263: checking for dbm_open in -lgdbm" >&5 15261 echo "configure:15262: checking for dbm_open in -lgdbm" >&5
15263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15262 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15264 15263
15265 xe_check_libs=" -lgdbm " 15264 xe_check_libs=" -lgdbm "
15266 cat > conftest.$ac_ext <<EOF 15265 cat > conftest.$ac_ext <<EOF
15267 #line 15268 "configure" 15266 #line 15267 "configure"
15268 #include "confdefs.h" 15267 #include "confdefs.h"
15269 /* Override any gcc2 internal prototype to avoid an error. */ 15268 /* Override any gcc2 internal prototype to avoid an error. */
15270 /* We use char because int might match the return type of a gcc2 15269 /* We use char because int might match the return type of a gcc2
15271 builtin and then its argument prototype would still apply. */ 15270 builtin and then its argument prototype would still apply. */
15272 char dbm_open(); 15271 char dbm_open();
15273 15272
15274 int main() { 15273 int main() {
15275 dbm_open() 15274 dbm_open()
15276 ; return 0; } 15275 ; return 0; }
15277 EOF 15276 EOF
15278 if { (eval echo configure:15279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15277 if { (eval echo configure:15278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15279 rm -rf conftest* 15278 rm -rf conftest*
15280 eval "ac_cv_lib_$ac_lib_var=yes" 15279 eval "ac_cv_lib_$ac_lib_var=yes"
15281 else 15280 else
15282 echo "configure: failed program was:" >&5 15281 echo "configure: failed program was:" >&5
15283 cat conftest.$ac_ext >&5 15282 cat conftest.$ac_ext >&5
15301 15300
15302 fi 15301 fi
15303 15302
15304 if test "$with_database_dbm" != "no"; then 15303 if test "$with_database_dbm" != "no"; then
15305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15304 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15306 echo "configure:15307: checking for dbm_open" >&5 15305 echo "configure:15306: checking for dbm_open" >&5
15307 15306
15308 cat > conftest.$ac_ext <<EOF 15307 cat > conftest.$ac_ext <<EOF
15309 #line 15310 "configure" 15308 #line 15309 "configure"
15310 #include "confdefs.h" 15309 #include "confdefs.h"
15311 /* System header to define __stub macros and hopefully few prototypes, 15310 /* System header to define __stub macros and hopefully few prototypes,
15312 which can conflict with char dbm_open(); below. */ 15311 which can conflict with char dbm_open(); below. */
15313 #include <assert.h> 15312 #include <assert.h>
15314 /* Override any gcc2 internal prototype to avoid an error. */ 15313 /* Override any gcc2 internal prototype to avoid an error. */
15327 dbm_open(); 15326 dbm_open();
15328 #endif 15327 #endif
15329 15328
15330 ; return 0; } 15329 ; return 0; }
15331 EOF 15330 EOF
15332 if { (eval echo configure:15333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15333 rm -rf conftest* 15332 rm -rf conftest*
15334 eval "ac_cv_func_dbm_open=yes" 15333 eval "ac_cv_func_dbm_open=yes"
15335 else 15334 else
15336 echo "configure: failed program was:" >&5 15335 echo "configure: failed program was:" >&5
15337 cat conftest.$ac_ext >&5 15336 cat conftest.$ac_ext >&5
15346 else 15345 else
15347 echo "$ac_t""no" 1>&6 15346 echo "$ac_t""no" 1>&6
15348 15347
15349 15348
15350 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15349 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15351 echo "configure:15352: checking for dbm_open in -ldbm" >&5 15350 echo "configure:15351: checking for dbm_open in -ldbm" >&5
15352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15351 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15353 15352
15354 xe_check_libs=" -ldbm " 15353 xe_check_libs=" -ldbm "
15355 cat > conftest.$ac_ext <<EOF 15354 cat > conftest.$ac_ext <<EOF
15356 #line 15357 "configure" 15355 #line 15356 "configure"
15357 #include "confdefs.h" 15356 #include "confdefs.h"
15358 /* Override any gcc2 internal prototype to avoid an error. */ 15357 /* Override any gcc2 internal prototype to avoid an error. */
15359 /* We use char because int might match the return type of a gcc2 15358 /* We use char because int might match the return type of a gcc2
15360 builtin and then its argument prototype would still apply. */ 15359 builtin and then its argument prototype would still apply. */
15361 char dbm_open(); 15360 char dbm_open();
15362 15361
15363 int main() { 15362 int main() {
15364 dbm_open() 15363 dbm_open()
15365 ; return 0; } 15364 ; return 0; }
15366 EOF 15365 EOF
15367 if { (eval echo configure:15368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15368 rm -rf conftest* 15367 rm -rf conftest*
15369 eval "ac_cv_lib_$ac_lib_var=yes" 15368 eval "ac_cv_lib_$ac_lib_var=yes"
15370 else 15369 else
15371 echo "configure: failed program was:" >&5 15370 echo "configure: failed program was:" >&5
15372 cat conftest.$ac_ext >&5 15371 cat conftest.$ac_ext >&5
15403 } 15402 }
15404 15403
15405 15404
15406 if test "$with_database_berkdb" != "no"; then 15405 if test "$with_database_berkdb" != "no"; then
15407 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15406 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15408 echo "configure:15409: checking for Berkeley db.h" >&5 15407 echo "configure:15408: checking for Berkeley db.h" >&5
15409 for header in "db/db.h" "db.h"; do 15408 for header in "db/db.h" "db.h"; do
15410 cat > conftest.$ac_ext <<EOF 15409 cat > conftest.$ac_ext <<EOF
15411 #line 15412 "configure" 15410 #line 15411 "configure"
15412 #include "confdefs.h" 15411 #include "confdefs.h"
15413 15412
15414 #include <stdlib.h> 15413 #include <stdlib.h>
15415 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15414 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15416 #ifdef HAVE_INTTYPES_H 15415 #ifdef HAVE_INTTYPES_H
15428 15427
15429 int main() { 15428 int main() {
15430 15429
15431 ; return 0; } 15430 ; return 0; }
15432 EOF 15431 EOF
15433 if { (eval echo configure:15434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15432 if { (eval echo configure:15433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15434 rm -rf conftest* 15433 rm -rf conftest*
15435 db_h_file="$header"; break 15434 db_h_file="$header"; break
15436 else 15435 else
15437 echo "configure: failed program was:" >&5 15436 echo "configure: failed program was:" >&5
15438 cat conftest.$ac_ext >&5 15437 cat conftest.$ac_ext >&5
15444 else echo "$ac_t""$db_h_file" 1>&6 15443 else echo "$ac_t""$db_h_file" 1>&6
15445 fi 15444 fi
15446 15445
15447 if test "$with_database_berkdb" != "no"; then 15446 if test "$with_database_berkdb" != "no"; then
15448 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15447 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15449 echo "configure:15450: checking for Berkeley DB version" >&5 15448 echo "configure:15449: checking for Berkeley DB version" >&5
15450 cat > conftest.$ac_ext <<EOF 15449 cat > conftest.$ac_ext <<EOF
15451 #line 15452 "configure" 15450 #line 15451 "configure"
15452 #include "confdefs.h" 15451 #include "confdefs.h"
15453 #include <$db_h_file> 15452 #include <$db_h_file>
15454 #if DB_VERSION_MAJOR > 1 15453 #if DB_VERSION_MAJOR > 1
15455 yes 15454 yes
15456 #endif 15455 #endif
15458 EOF 15457 EOF
15459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15460 egrep "yes" >/dev/null 2>&1; then 15459 egrep "yes" >/dev/null 2>&1; then
15461 rm -rf conftest* 15460 rm -rf conftest*
15462 cat > conftest.$ac_ext <<EOF 15461 cat > conftest.$ac_ext <<EOF
15463 #line 15464 "configure" 15462 #line 15463 "configure"
15464 #include "confdefs.h" 15463 #include "confdefs.h"
15465 #include <$db_h_file> 15464 #include <$db_h_file>
15466 #if DB_VERSION_MAJOR > 2 15465 #if DB_VERSION_MAJOR > 2
15467 yes 15466 yes
15468 #endif 15467 #endif
15470 EOF 15469 EOF
15471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15472 egrep "yes" >/dev/null 2>&1; then 15471 egrep "yes" >/dev/null 2>&1; then
15473 rm -rf conftest* 15472 rm -rf conftest*
15474 cat > conftest.$ac_ext <<EOF 15473 cat > conftest.$ac_ext <<EOF
15475 #line 15476 "configure" 15474 #line 15475 "configure"
15476 #include "confdefs.h" 15475 #include "confdefs.h"
15477 #include <$db_h_file> 15476 #include <$db_h_file>
15478 #if DB_VERSION_MAJOR > 3 15477 #if DB_VERSION_MAJOR > 3
15479 yes 15478 yes
15480 #endif 15479 #endif
15504 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15503 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15505 fi 15504 fi
15506 rm -f conftest* 15505 rm -f conftest*
15507 15506
15508 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15507 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15509 echo "configure:15510: checking for $dbfunc" >&5 15508 echo "configure:15509: checking for $dbfunc" >&5
15510 15509
15511 cat > conftest.$ac_ext <<EOF 15510 cat > conftest.$ac_ext <<EOF
15512 #line 15513 "configure" 15511 #line 15512 "configure"
15513 #include "confdefs.h" 15512 #include "confdefs.h"
15514 /* System header to define __stub macros and hopefully few prototypes, 15513 /* System header to define __stub macros and hopefully few prototypes,
15515 which can conflict with char $dbfunc(); below. */ 15514 which can conflict with char $dbfunc(); below. */
15516 #include <assert.h> 15515 #include <assert.h>
15517 /* Override any gcc2 internal prototype to avoid an error. */ 15516 /* Override any gcc2 internal prototype to avoid an error. */
15530 $dbfunc(); 15529 $dbfunc();
15531 #endif 15530 #endif
15532 15531
15533 ; return 0; } 15532 ; return 0; }
15534 EOF 15533 EOF
15535 if { (eval echo configure:15536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15534 if { (eval echo configure:15535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15536 rm -rf conftest* 15535 rm -rf conftest*
15537 eval "ac_cv_func_$dbfunc=yes" 15536 eval "ac_cv_func_$dbfunc=yes"
15538 else 15537 else
15539 echo "configure: failed program was:" >&5 15538 echo "configure: failed program was:" >&5
15540 cat conftest.$ac_ext >&5 15539 cat conftest.$ac_ext >&5
15549 else 15548 else
15550 echo "$ac_t""no" 1>&6 15549 echo "$ac_t""no" 1>&6
15551 15550
15552 15551
15553 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15552 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15554 echo "configure:15555: checking for $dbfunc in -ldb" >&5 15553 echo "configure:15554: checking for $dbfunc in -ldb" >&5
15555 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15554 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15556 15555
15557 xe_check_libs=" -ldb " 15556 xe_check_libs=" -ldb "
15558 cat > conftest.$ac_ext <<EOF 15557 cat > conftest.$ac_ext <<EOF
15559 #line 15560 "configure" 15558 #line 15559 "configure"
15560 #include "confdefs.h" 15559 #include "confdefs.h"
15561 /* Override any gcc2 internal prototype to avoid an error. */ 15560 /* Override any gcc2 internal prototype to avoid an error. */
15562 /* We use char because int might match the return type of a gcc2 15561 /* We use char because int might match the return type of a gcc2
15563 builtin and then its argument prototype would still apply. */ 15562 builtin and then its argument prototype would still apply. */
15564 char $dbfunc(); 15563 char $dbfunc();
15565 15564
15566 int main() { 15565 int main() {
15567 $dbfunc() 15566 $dbfunc()
15568 ; return 0; } 15567 ; return 0; }
15569 EOF 15568 EOF
15570 if { (eval echo configure:15571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15569 if { (eval echo configure:15570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15571 rm -rf conftest* 15570 rm -rf conftest*
15572 eval "ac_cv_lib_$ac_lib_var=yes" 15571 eval "ac_cv_lib_$ac_lib_var=yes"
15573 else 15572 else
15574 echo "configure: failed program was:" >&5 15573 echo "configure: failed program was:" >&5
15575 cat conftest.$ac_ext >&5 15574 cat conftest.$ac_ext >&5
15599 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15598 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15600 rm -f $tempcname 15599 rm -f $tempcname
15601 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15600 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15602 15601
15603 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15602 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15604 echo "configure:15605: checking for $dbfunc in -ldb" >&5 15603 echo "configure:15604: checking for $dbfunc in -ldb" >&5
15605 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15604 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15606 15605
15607 xe_check_libs=" -ldb " 15606 xe_check_libs=" -ldb "
15608 cat > conftest.$ac_ext <<EOF 15607 cat > conftest.$ac_ext <<EOF
15609 #line 15610 "configure" 15608 #line 15609 "configure"
15610 #include "confdefs.h" 15609 #include "confdefs.h"
15611 /* Override any gcc2 internal prototype to avoid an error. */ 15610 /* Override any gcc2 internal prototype to avoid an error. */
15612 /* We use char because int might match the return type of a gcc2 15611 /* We use char because int might match the return type of a gcc2
15613 builtin and then its argument prototype would still apply. */ 15612 builtin and then its argument prototype would still apply. */
15614 char $dbfunc(); 15613 char $dbfunc();
15615 15614
15616 int main() { 15615 int main() {
15617 $dbfunc() 15616 $dbfunc()
15618 ; return 0; } 15617 ; return 0; }
15619 EOF 15618 EOF
15620 if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15619 if { (eval echo configure:15620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15621 rm -rf conftest* 15620 rm -rf conftest*
15622 eval "ac_cv_lib_$ac_lib_var=yes" 15621 eval "ac_cv_lib_$ac_lib_var=yes"
15623 else 15622 else
15624 echo "configure: failed program was:" >&5 15623 echo "configure: failed program was:" >&5
15625 cat conftest.$ac_ext >&5 15624 cat conftest.$ac_ext >&5
15674 fi 15673 fi
15675 15674
15676 if test "$with_socks" = "yes"; then 15675 if test "$with_socks" = "yes"; then
15677 15676
15678 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15677 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15679 echo "configure:15680: checking for SOCKSinit in -lsocks" >&5 15678 echo "configure:15679: checking for SOCKSinit in -lsocks" >&5
15680 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15679 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15681 15680
15682 xe_check_libs=" -lsocks " 15681 xe_check_libs=" -lsocks "
15683 cat > conftest.$ac_ext <<EOF 15682 cat > conftest.$ac_ext <<EOF
15684 #line 15685 "configure" 15683 #line 15684 "configure"
15685 #include "confdefs.h" 15684 #include "confdefs.h"
15686 /* Override any gcc2 internal prototype to avoid an error. */ 15685 /* Override any gcc2 internal prototype to avoid an error. */
15687 /* We use char because int might match the return type of a gcc2 15686 /* We use char because int might match the return type of a gcc2
15688 builtin and then its argument prototype would still apply. */ 15687 builtin and then its argument prototype would still apply. */
15689 char SOCKSinit(); 15688 char SOCKSinit();
15690 15689
15691 int main() { 15690 int main() {
15692 SOCKSinit() 15691 SOCKSinit()
15693 ; return 0; } 15692 ; return 0; }
15694 EOF 15693 EOF
15695 if { (eval echo configure:15696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15694 if { (eval echo configure:15695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15696 rm -rf conftest* 15695 rm -rf conftest*
15697 eval "ac_cv_lib_$ac_lib_var=yes" 15696 eval "ac_cv_lib_$ac_lib_var=yes"
15698 else 15697 else
15699 echo "configure: failed program was:" >&5 15698 echo "configure: failed program was:" >&5
15700 cat conftest.$ac_ext >&5 15699 cat conftest.$ac_ext >&5
15746 fi 15745 fi
15747 15746
15748 if test "$use_number_lib" = "gmp"; then 15747 if test "$use_number_lib" = "gmp"; then
15749 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15748 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15750 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15749 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15751 echo "configure:15752: checking for gmp.h" >&5 15750 echo "configure:15751: checking for gmp.h" >&5
15752 15751
15753 cat > conftest.$ac_ext <<EOF 15752 cat > conftest.$ac_ext <<EOF
15754 #line 15755 "configure" 15753 #line 15754 "configure"
15755 #include "confdefs.h" 15754 #include "confdefs.h"
15756 #include <gmp.h> 15755 #include <gmp.h>
15757 EOF 15756 EOF
15758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15759 { (eval echo configure:15760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15758 { (eval echo configure:15759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15761 if test -z "$ac_err"; then 15760 if test -z "$ac_err"; then
15762 rm -rf conftest* 15761 rm -rf conftest*
15763 eval "ac_cv_header_$ac_safe=yes" 15762 eval "ac_cv_header_$ac_safe=yes"
15764 else 15763 else
15772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15773 echo "$ac_t""yes" 1>&6 15772 echo "$ac_t""yes" 1>&6
15774 15773
15775 15774
15776 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15775 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15777 echo "configure:15778: checking for __gmpz_init in -lgmp" >&5 15776 echo "configure:15777: checking for __gmpz_init in -lgmp" >&5
15778 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15777 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15779 15778
15780 xe_check_libs=" -lgmp " 15779 xe_check_libs=" -lgmp "
15781 cat > conftest.$ac_ext <<EOF 15780 cat > conftest.$ac_ext <<EOF
15782 #line 15783 "configure" 15781 #line 15782 "configure"
15783 #include "confdefs.h" 15782 #include "confdefs.h"
15784 /* Override any gcc2 internal prototype to avoid an error. */ 15783 /* Override any gcc2 internal prototype to avoid an error. */
15785 /* We use char because int might match the return type of a gcc2 15784 /* We use char because int might match the return type of a gcc2
15786 builtin and then its argument prototype would still apply. */ 15785 builtin and then its argument prototype would still apply. */
15787 char __gmpz_init(); 15786 char __gmpz_init();
15788 15787
15789 int main() { 15788 int main() {
15790 __gmpz_init() 15789 __gmpz_init()
15791 ; return 0; } 15790 ; return 0; }
15792 EOF 15791 EOF
15793 if { (eval echo configure:15794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15792 if { (eval echo configure:15793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15794 rm -rf conftest* 15793 rm -rf conftest*
15795 eval "ac_cv_lib_$ac_lib_var=yes" 15794 eval "ac_cv_lib_$ac_lib_var=yes"
15796 else 15795 else
15797 echo "configure: failed program was:" >&5 15796 echo "configure: failed program was:" >&5
15798 cat conftest.$ac_ext >&5 15797 cat conftest.$ac_ext >&5
15837 fi 15836 fi
15838 elif test "$use_number_lib" = "mp"; then 15837 elif test "$use_number_lib" = "mp"; then
15839 for library in "" "-lcrypto"; do 15838 for library in "" "-lcrypto"; do
15840 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15839 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15841 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15840 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15842 echo "configure:15843: checking for mp.h" >&5 15841 echo "configure:15842: checking for mp.h" >&5
15843 15842
15844 cat > conftest.$ac_ext <<EOF 15843 cat > conftest.$ac_ext <<EOF
15845 #line 15846 "configure" 15844 #line 15845 "configure"
15846 #include "confdefs.h" 15845 #include "confdefs.h"
15847 #include <mp.h> 15846 #include <mp.h>
15848 EOF 15847 EOF
15849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15850 { (eval echo configure:15851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15849 { (eval echo configure:15850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15852 if test -z "$ac_err"; then 15851 if test -z "$ac_err"; then
15853 rm -rf conftest* 15852 rm -rf conftest*
15854 eval "ac_cv_header_$ac_safe=yes" 15853 eval "ac_cv_header_$ac_safe=yes"
15855 else 15854 else
15865 15864
15866 15865
15867 xe_msg_checking="for mp_mfree in -lmp" 15866 xe_msg_checking="for mp_mfree in -lmp"
15868 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15867 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15869 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15868 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15870 echo "configure:15871: checking "$xe_msg_checking"" >&5 15869 echo "configure:15870: checking "$xe_msg_checking"" >&5
15871 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15870 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15872 15871
15873 xe_check_libs=" -lmp $library" 15872 xe_check_libs=" -lmp $library"
15874 cat > conftest.$ac_ext <<EOF 15873 cat > conftest.$ac_ext <<EOF
15875 #line 15876 "configure" 15874 #line 15875 "configure"
15876 #include "confdefs.h" 15875 #include "confdefs.h"
15877 /* Override any gcc2 internal prototype to avoid an error. */ 15876 /* Override any gcc2 internal prototype to avoid an error. */
15878 /* We use char because int might match the return type of a gcc2 15877 /* We use char because int might match the return type of a gcc2
15879 builtin and then its argument prototype would still apply. */ 15878 builtin and then its argument prototype would still apply. */
15880 char mp_mfree(); 15879 char mp_mfree();
15881 15880
15882 int main() { 15881 int main() {
15883 mp_mfree() 15882 mp_mfree()
15884 ; return 0; } 15883 ; return 0; }
15885 EOF 15884 EOF
15886 if { (eval echo configure:15887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15885 if { (eval echo configure:15886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15887 rm -rf conftest* 15886 rm -rf conftest*
15888 eval "ac_cv_lib_$ac_lib_var=yes" 15887 eval "ac_cv_lib_$ac_lib_var=yes"
15889 else 15888 else
15890 echo "configure: failed program was:" >&5 15889 echo "configure: failed program was:" >&5
15891 cat conftest.$ac_ext >&5 15890 cat conftest.$ac_ext >&5
15902 echo "$ac_t""no" 1>&6 15901 echo "$ac_t""no" 1>&6
15903 15902
15904 xe_msg_checking="for mfree in -lmp" 15903 xe_msg_checking="for mfree in -lmp"
15905 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15904 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15905 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15907 echo "configure:15908: checking "$xe_msg_checking"" >&5 15906 echo "configure:15907: checking "$xe_msg_checking"" >&5
15908 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15907 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15909 15908
15910 xe_check_libs=" -lmp $library" 15909 xe_check_libs=" -lmp $library"
15911 cat > conftest.$ac_ext <<EOF 15910 cat > conftest.$ac_ext <<EOF
15912 #line 15913 "configure" 15911 #line 15912 "configure"
15913 #include "confdefs.h" 15912 #include "confdefs.h"
15914 /* Override any gcc2 internal prototype to avoid an error. */ 15913 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2 15914 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */ 15915 builtin and then its argument prototype would still apply. */
15917 char mfree(); 15916 char mfree();
15918 15917
15919 int main() { 15918 int main() {
15920 mfree() 15919 mfree()
15921 ; return 0; } 15920 ; return 0; }
15922 EOF 15921 EOF
15923 if { (eval echo configure:15924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15922 if { (eval echo configure:15923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15924 rm -rf conftest* 15923 rm -rf conftest*
15925 eval "ac_cv_lib_$ac_lib_var=yes" 15924 eval "ac_cv_lib_$ac_lib_var=yes"
15926 else 15925 else
15927 echo "configure: failed program was:" >&5 15926 echo "configure: failed program was:" >&5
15928 cat conftest.$ac_ext >&5 15927 cat conftest.$ac_ext >&5
15960 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15959 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15961 if test "$library" != ""; then 15960 if test "$library" != ""; then
15962 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 15961 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
15963 fi 15962 fi
15964 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15963 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15965 echo "configure:15966: checking for mp_move" >&5 15964 echo "configure:15965: checking for mp_move" >&5
15966 15965
15967 cat > conftest.$ac_ext <<EOF 15966 cat > conftest.$ac_ext <<EOF
15968 #line 15969 "configure" 15967 #line 15968 "configure"
15969 #include "confdefs.h" 15968 #include "confdefs.h"
15970 /* System header to define __stub macros and hopefully few prototypes, 15969 /* System header to define __stub macros and hopefully few prototypes,
15971 which can conflict with char mp_move(); below. */ 15970 which can conflict with char mp_move(); below. */
15972 #include <assert.h> 15971 #include <assert.h>
15973 /* Override any gcc2 internal prototype to avoid an error. */ 15972 /* Override any gcc2 internal prototype to avoid an error. */
15986 mp_move(); 15985 mp_move();
15987 #endif 15986 #endif
15988 15987
15989 ; return 0; } 15988 ; return 0; }
15990 EOF 15989 EOF
15991 if { (eval echo configure:15992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15990 if { (eval echo configure:15991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15992 rm -rf conftest* 15991 rm -rf conftest*
15993 eval "ac_cv_func_mp_move=yes" 15992 eval "ac_cv_func_mp_move=yes"
15994 else 15993 else
15995 echo "configure: failed program was:" >&5 15994 echo "configure: failed program was:" >&5
15996 cat conftest.$ac_ext >&5 15995 cat conftest.$ac_ext >&5
16017 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16016 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16018 if test "$library" != ""; then 16017 if test "$library" != ""; then
16019 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16018 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16020 fi 16019 fi
16021 echo $ac_n "checking for move""... $ac_c" 1>&6 16020 echo $ac_n "checking for move""... $ac_c" 1>&6
16022 echo "configure:16023: checking for move" >&5 16021 echo "configure:16022: checking for move" >&5
16023 16022
16024 cat > conftest.$ac_ext <<EOF 16023 cat > conftest.$ac_ext <<EOF
16025 #line 16026 "configure" 16024 #line 16025 "configure"
16026 #include "confdefs.h" 16025 #include "confdefs.h"
16027 /* System header to define __stub macros and hopefully few prototypes, 16026 /* System header to define __stub macros and hopefully few prototypes,
16028 which can conflict with char move(); below. */ 16027 which can conflict with char move(); below. */
16029 #include <assert.h> 16028 #include <assert.h>
16030 /* Override any gcc2 internal prototype to avoid an error. */ 16029 /* Override any gcc2 internal prototype to avoid an error. */
16043 move(); 16042 move();
16044 #endif 16043 #endif
16045 16044
16046 ; return 0; } 16045 ; return 0; }
16047 EOF 16046 EOF
16048 if { (eval echo configure:16049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16047 if { (eval echo configure:16048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16049 rm -rf conftest* 16048 rm -rf conftest*
16050 eval "ac_cv_func_move=yes" 16049 eval "ac_cv_func_move=yes"
16051 else 16050 else
16052 echo "configure: failed program was:" >&5 16051 echo "configure: failed program was:" >&5
16053 cat conftest.$ac_ext >&5 16052 cat conftest.$ac_ext >&5
16090 } 16089 }
16091 16090
16092 fi 16091 fi
16093 16092
16094 cat > conftest.$ac_ext <<EOF 16093 cat > conftest.$ac_ext <<EOF
16095 #line 16096 "configure" 16094 #line 16095 "configure"
16096 #include "confdefs.h" 16095 #include "confdefs.h"
16097 int main(int c,char *v[]){return 0;} 16096 int main(int c,char *v[]){return 0;}
16098 EOF 16097 EOF
16099 if { (eval echo configure:16100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16098 if { (eval echo configure:16099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16100 then 16099 then
16101 : 16100 :
16102 else 16101 else
16103 conftest_rc="$?" 16102 conftest_rc="$?"
16104 echo "configure: failed program was:" >&5 16103 echo "configure: failed program was:" >&5