comparison configure @ 1998:1d23b62cc251

[xemacs-hg @ 2004-04-07 17:43:31 by stephent] fix warning flags computation <87ekqzeln2.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 07 Apr 2004 17:43:32 +0000
parents f02e47602886
children 1ea9c87af805
comparison
equal deleted inserted replaced
1997:f02e47602886 1998:1d23b62cc251
2889 xemacs_cc_cc_mismatch=no 2889 xemacs_cc_cc_mismatch=no
2890 fi 2890 fi
2891 fi 2891 fi
2892 2892
2893 2893
2894 echo $ac_n "checking for preferred CFLAGS""... $ac_c" 1>&6
2895 echo "configure:2896: checking for preferred CFLAGS" >&5
2896
2894 if test "$cflags_specified" = "no"; then 2897 if test "$cflags_specified" = "no"; then
2895 if test "$GCC" = "yes"; then 2898 if test "$GCC" = "yes"; then
2896 CFLAGS="-g -O3" 2899 CFLAGS="-g -O3"
2897 elif test "$__SUNPRO_C" = "yes"; then 2900 elif test "$__SUNPRO_C" = "yes"; then
2898 case "$opsys" in 2901 case "$opsys" in
2906 elif test "$__ICC" = "yes"; then 2909 elif test "$__ICC" = "yes"; then
2907 CFLAGS="-g -O3 -Ob2" 2910 CFLAGS="-g -O3 -Ob2"
2908 else 2911 else
2909 CFLAGS="-O" ; fi 2912 CFLAGS="-O" ; fi
2910 fi 2913 fi
2911 2914 echo "$ac_t""${CFLAGS}" 1>&6
2915
2916
2917 echo $ac_n "checking for preferred warning flags for XEMACS_CC""... $ac_c" 1>&6
2918 echo "configure:2919: checking for preferred warning flags for XEMACS_CC" >&5
2912 2919
2913 xe_cflags_warning="" 2920 xe_cflags_warning=""
2914 2921
2915 if test "$cflags_warning_specified" = "no"; then 2922 if test "$cflags_warning_specified" = "no"; then
2916 if test "$__SUNPRO_C" = "yes"; then 2923 if test "$__SUNPRO_C" = "yes"; then
2924 cflags_warning="$cflags_warning -Wsign-compare" 2931 cflags_warning="$cflags_warning -Wsign-compare"
2925 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" 2932 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes"
2926 if test "$__GCC3" = "yes"; then 2933 if test "$__GCC3" = "yes"; then
2927 cflags_warning="$cflags_warning -Wpacked" 2934 cflags_warning="$cflags_warning -Wpacked"
2928 fi 2935 fi
2936 test "$have_glibc" != "yes" && \
2937 cflags_warning="$cflags_warning -Wpointer-arith"
2929 test "$xemacs_compiler" = "g++" && \ 2938 test "$xemacs_compiler" = "g++" && \
2930 xe_cflags_warning="$cflags_warning -Weffc++" 2939 xe_cflags_warning="$cflags_warning -Weffc++"
2931 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" 2940 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations"
2932 test "$have_glibc" != "yes" && \ 2941 elif test "$__ICC" = "yes"; then
2933 cflags_warning="$cflags_warning -Wpointer-arith"
2934 elif test "$__ICC" = "yes"; then
2935 cflags_warning="-Wall -w1" 2942 cflags_warning="-Wall -w1"
2936 fi 2943 fi
2937 fi 2944 fi
2938 2945 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
2939 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning 2946 echo "$ac_t""${xe_cflags_warning}" 1>&6
2947
2948 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6
2949 echo "configure:2950: checking for preferred warning flags for CC" >&5
2950 echo "$ac_t""${cflags_warning}" 1>&6
2951
2940 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 2952 XE_CFLAGS="$xe_cflags_warning $CFLAGS"
2941 CFLAGS="$cflags_warning $CFLAGS" 2953 CFLAGS="$cflags_warning $CFLAGS"
2942 2954
2943 if test "$GCC" = "yes"; then 2955 if test "$GCC" = "yes"; then
2944 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 2956 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
2945 echo "configure:2946: checking for buggy gcc versions" >&5 2957 echo "configure:2958: checking for buggy gcc versions" >&5
2946 GCC_VERSION=`$CC --version` 2958 GCC_VERSION=`$CC --version`
2947 case `uname -s`:`uname -m`:$GCC_VERSION in 2959 case `uname -s`:`uname -m`:$GCC_VERSION in
2948 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 2960 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2949 case "$CFLAGS" in 2961 case "$CFLAGS" in
2950 *-O2*|*-O3*) 2962 *-O2*|*-O3*)
2998 echo "$ac_t""no" 1>&6 3010 echo "$ac_t""no" 1>&6
2999 fi 3011 fi
3000 3012
3001 if test "$pdump" != "yes"; then 3013 if test "$pdump" != "yes"; then
3002 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 3014 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
3003 echo "configure:3004: checking for \"-z nocombreloc\" linker flag" >&5 3015 echo "configure:3016: checking for \"-z nocombreloc\" linker flag" >&5
3004 case "`ld --help 2>&1`" in 3016 case "`ld --help 2>&1`" in
3005 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 3017 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
3006 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 3018 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
3007 *) echo "$ac_t""no" 1>&6 ;; 3019 *) echo "$ac_t""no" 1>&6 ;;
3008 esac 3020 esac
3087 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then 3099 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then
3088 echo " xemacs will be linked with \"dumper.o\"" 3100 echo " xemacs will be linked with \"dumper.o\""
3089 fi 3101 fi
3090 3102
3091 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 3103 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
3092 echo "configure:3093: checking for dynodump" >&5 3104 echo "configure:3105: checking for dynodump" >&5
3093 if test "$unexec" != "unexsol2.o"; then 3105 if test "$unexec" != "unexsol2.o"; then
3094 echo "$ac_t""no" 1>&6 3106 echo "$ac_t""no" 1>&6
3095 else 3107 else
3096 echo "$ac_t""yes" 1>&6 3108 echo "$ac_t""yes" 1>&6
3097 { test "$extra_verbose" = "yes" && cat << \EOF 3109 { test "$extra_verbose" = "yes" && cat << \EOF
3125 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
3126 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
3127 done 3139 done
3128 3140
3129 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
3130 echo "configure:3131: checking for terminateAndUnload in -lC" >&5 3142 echo "configure:3143: checking for terminateAndUnload in -lC" >&5
3131 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3143 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3132 3144
3133 xe_check_libs=" -lC " 3145 xe_check_libs=" -lC "
3134 cat > conftest.$ac_ext <<EOF 3146 cat > conftest.$ac_ext <<EOF
3135 #line 3136 "configure" 3147 #line 3148 "configure"
3136 #include "confdefs.h" 3148 #include "confdefs.h"
3137 /* Override any gcc2 internal prototype to avoid an error. */ 3149 /* Override any gcc2 internal prototype to avoid an error. */
3138 /* 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
3139 builtin and then its argument prototype would still apply. */ 3151 builtin and then its argument prototype would still apply. */
3140 char terminateAndUnload(); 3152 char terminateAndUnload();
3141 3153
3142 int main() { 3154 int main() {
3143 terminateAndUnload() 3155 terminateAndUnload()
3144 ; return 0; } 3156 ; return 0; }
3145 EOF 3157 EOF
3146 if { (eval echo configure:3147: \"$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
3147 rm -rf conftest* 3159 rm -rf conftest*
3148 eval "ac_cv_lib_$ac_lib_var=yes" 3160 eval "ac_cv_lib_$ac_lib_var=yes"
3149 else 3161 else
3150 echo "configure: failed program was:" >&5 3162 echo "configure: failed program was:" >&5
3151 cat conftest.$ac_ext >&5 3163 cat conftest.$ac_ext >&5
3183 compiler_version="" 3195 compiler_version=""
3184 gcc_compiler_specs="" 3196 gcc_compiler_specs=""
3185 libc_version="" 3197 libc_version=""
3186 3198
3187 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
3188 echo "configure:3189: checking for compiler version information" >&5 3200 echo "configure:3201: checking for compiler version information" >&5
3189 3201
3190 if test "$GCC" = "yes"; then 3202 if test "$GCC" = "yes"; then
3191 compiler_version=`$XEMACS_CC --version | head -1` 3203 compiler_version=`$XEMACS_CC --version | head -1`
3192 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`
3193 else case "$XEMACS_CC" in 3205 else case "$XEMACS_CC" in
3234 if test -z "$compiler_version"; then 3246 if test -z "$compiler_version"; then
3235 compiler_version="detection failed (please report this)" 3247 compiler_version="detection failed (please report this)"
3236 fi 3248 fi
3237 3249
3238 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
3239 echo "configure:3240: checking for standard C library version information" >&5 3251 echo "configure:3252: checking for standard C library version information" >&5
3240 3252
3241 case "$canonical" in 3253 case "$canonical" in
3242 *-*-linux*) 3254 *-*-linux*)
3243 if test -f /etc/redhat-release ; then 3255 if test -f /etc/redhat-release ; then
3244 libc_version=`rpm -q glibc` 3256 libc_version=`rpm -q glibc`
3346 esac 3358 esac
3347 fi 3359 fi
3348 3360
3349 if test "$add_runtime_path" = "yes"; then 3361 if test "$add_runtime_path" = "yes"; then
3350 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
3351 echo "configure:3352: checking "for runtime libraries flag"" >&5 3363 echo "configure:3364: checking "for runtime libraries flag"" >&5
3352 case "$opsys" in 3364 case "$opsys" in
3353 sol2 ) dash_r="-R" ;; 3365 sol2 ) dash_r="-R" ;;
3354 decosf* | linux* | irix*) dash_r="-rpath " ;; 3366 decosf* | linux* | irix*) dash_r="-rpath " ;;
3355 *) 3367 *)
3356 dash_r="" 3368 dash_r=""
3368 esac 3380 esac
3369 shift 3381 shift
3370 done 3382 done
3371 fi 3383 fi
3372 cat > conftest.$ac_ext <<EOF 3384 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure" 3385 #line 3386 "configure"
3374 #include "confdefs.h" 3386 #include "confdefs.h"
3375 3387
3376 int main() { 3388 int main() {
3377 3389
3378 ; return 0; } 3390 ; return 0; }
3379 EOF 3391 EOF
3380 if { (eval echo configure:3381: \"$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
3381 rm -rf conftest* 3393 rm -rf conftest*
3382 dash_r="$try_dash_r" 3394 dash_r="$try_dash_r"
3383 else 3395 else
3384 echo "configure: failed program was:" >&5 3396 echo "configure: failed program was:" >&5
3385 cat conftest.$ac_ext >&5 3397 cat conftest.$ac_ext >&5
3476 else 3488 else
3477 doug_lea_malloc=no 3489 doug_lea_malloc=no
3478 fi 3490 fi
3479 after_morecore_hook_exists=yes 3491 after_morecore_hook_exists=yes
3480 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
3481 echo "configure:3482: checking for malloc_set_state" >&5 3493 echo "configure:3494: checking for malloc_set_state" >&5
3482 3494
3483 cat > conftest.$ac_ext <<EOF 3495 cat > conftest.$ac_ext <<EOF
3484 #line 3485 "configure" 3496 #line 3497 "configure"
3485 #include "confdefs.h" 3497 #include "confdefs.h"
3486 /* System header to define __stub macros and hopefully few prototypes, 3498 /* System header to define __stub macros and hopefully few prototypes,
3487 which can conflict with char malloc_set_state(); below. */ 3499 which can conflict with char malloc_set_state(); below. */
3488 #include <assert.h> 3500 #include <assert.h>
3489 /* Override any gcc2 internal prototype to avoid an error. */ 3501 /* Override any gcc2 internal prototype to avoid an error. */
3502 malloc_set_state(); 3514 malloc_set_state();
3503 #endif 3515 #endif
3504 3516
3505 ; return 0; } 3517 ; return 0; }
3506 EOF 3518 EOF
3507 if { (eval echo configure:3508: \"$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
3508 rm -rf conftest* 3520 rm -rf conftest*
3509 eval "ac_cv_func_malloc_set_state=yes" 3521 eval "ac_cv_func_malloc_set_state=yes"
3510 else 3522 else
3511 echo "configure: failed program was:" >&5 3523 echo "configure: failed program was:" >&5
3512 cat conftest.$ac_ext >&5 3524 cat conftest.$ac_ext >&5
3522 echo "$ac_t""no" 1>&6 3534 echo "$ac_t""no" 1>&6
3523 doug_lea_malloc=no 3535 doug_lea_malloc=no
3524 fi 3536 fi
3525 3537
3526 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
3527 echo "configure:3528: checking whether __after_morecore_hook exists" >&5 3539 echo "configure:3540: checking whether __after_morecore_hook exists" >&5
3528 cat > conftest.$ac_ext <<EOF 3540 cat > conftest.$ac_ext <<EOF
3529 #line 3530 "configure" 3541 #line 3542 "configure"
3530 #include "confdefs.h" 3542 #include "confdefs.h"
3531 extern void (* __after_morecore_hook)(); 3543 extern void (* __after_morecore_hook)();
3532 int main() { 3544 int main() {
3533 __after_morecore_hook = 0 3545 __after_morecore_hook = 0
3534 ; return 0; } 3546 ; return 0; }
3535 EOF 3547 EOF
3536 if { (eval echo configure:3537: \"$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
3537 rm -rf conftest* 3549 rm -rf conftest*
3538 echo "$ac_t""yes" 1>&6 3550 echo "$ac_t""yes" 1>&6
3539 else 3551 else
3540 echo "configure: failed program was:" >&5 3552 echo "configure: failed program was:" >&5
3541 cat conftest.$ac_ext >&5 3553 cat conftest.$ac_ext >&5
3587 3599
3588 3600
3589 # 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.
3590 set dummy ranlib; ac_word=$2 3602 set dummy ranlib; ac_word=$2
3591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3592 echo "configure:3593: checking for $ac_word" >&5 3604 echo "configure:3605: checking for $ac_word" >&5
3593 3605
3594 if test -n "$RANLIB"; then 3606 if test -n "$RANLIB"; then
3595 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3596 else 3608 else
3597 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3642 # 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
3643 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3644 # 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"
3645 # ./install, which can be erroneously created by make from ./install.sh. 3657 # ./install, which can be erroneously created by make from ./install.sh.
3646 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
3647 echo "configure:3648: checking for a BSD compatible install" >&5 3659 echo "configure:3660: checking for a BSD compatible install" >&5
3648 if test -z "$INSTALL"; then 3660 if test -z "$INSTALL"; then
3649 3661
3650 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3662 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3651 for ac_dir in $PATH; do 3663 for ac_dir in $PATH; do
3652 # Account for people who put trailing slashes in PATH elements. 3664 # Account for people who put trailing slashes in PATH elements.
3696 for ac_prog in 'bison -y' byacc 3708 for ac_prog in 'bison -y' byacc
3697 do 3709 do
3698 # 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.
3699 set dummy $ac_prog; ac_word=$2 3711 set dummy $ac_prog; ac_word=$2
3700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3701 echo "configure:3702: checking for $ac_word" >&5 3713 echo "configure:3714: checking for $ac_word" >&5
3702 3714
3703 if test -n "$YACC"; then 3715 if test -n "$YACC"; then
3704 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3716 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3705 else 3717 else
3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3728 3740
3729 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h 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/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h
3730 do 3742 do
3731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3733 echo "configure:3734: checking for $ac_hdr" >&5 3745 echo "configure:3746: checking for $ac_hdr" >&5
3734 3746
3735 cat > conftest.$ac_ext <<EOF 3747 cat > conftest.$ac_ext <<EOF
3736 #line 3737 "configure" 3748 #line 3749 "configure"
3737 #include "confdefs.h" 3749 #include "confdefs.h"
3738 #include <$ac_hdr> 3750 #include <$ac_hdr>
3739 EOF 3751 EOF
3740 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"
3741 { (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3753 { (eval echo configure:3754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3743 if test -z "$ac_err"; then 3755 if test -z "$ac_err"; then
3744 rm -rf conftest* 3756 rm -rf conftest*
3745 eval "ac_cv_header_$ac_safe=yes" 3757 eval "ac_cv_header_$ac_safe=yes"
3746 else 3758 else
3766 echo "$ac_t""no" 1>&6 3778 echo "$ac_t""no" 1>&6
3767 fi 3779 fi
3768 done 3780 done
3769 3781
3770 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
3771 echo "configure:3772: 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
3772 3784
3773 cat > conftest.$ac_ext <<EOF 3785 cat > conftest.$ac_ext <<EOF
3774 #line 3775 "configure" 3786 #line 3787 "configure"
3775 #include "confdefs.h" 3787 #include "confdefs.h"
3776 #include <sys/types.h> 3788 #include <sys/types.h>
3777 #include <sys/wait.h> 3789 #include <sys/wait.h>
3778 #ifndef WEXITSTATUS 3790 #ifndef WEXITSTATUS
3779 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3791 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3785 int s; 3797 int s;
3786 wait (&s); 3798 wait (&s);
3787 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3799 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3788 ; return 0; } 3800 ; return 0; }
3789 EOF 3801 EOF
3790 if { (eval echo configure:3791: \"$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
3791 rm -rf conftest* 3803 rm -rf conftest*
3792 ac_cv_header_sys_wait_h=yes 3804 ac_cv_header_sys_wait_h=yes
3793 else 3805 else
3794 echo "configure: failed program was:" >&5 3806 echo "configure: failed program was:" >&5
3795 cat conftest.$ac_ext >&5 3807 cat conftest.$ac_ext >&5
3809 } 3821 }
3810 3822
3811 fi 3823 fi
3812 3824
3813 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
3814 echo "configure:3815: checking for ANSI C header files" >&5 3826 echo "configure:3827: checking for ANSI C header files" >&5
3815 3827
3816 cat > conftest.$ac_ext <<EOF 3828 cat > conftest.$ac_ext <<EOF
3817 #line 3818 "configure" 3829 #line 3830 "configure"
3818 #include "confdefs.h" 3830 #include "confdefs.h"
3819 #include <stdlib.h> 3831 #include <stdlib.h>
3820 #include <stdarg.h> 3832 #include <stdarg.h>
3821 #include <string.h> 3833 #include <string.h>
3822 #include <float.h> 3834 #include <float.h>
3823 EOF 3835 EOF
3824 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"
3825 { (eval echo configure:3826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3837 { (eval echo configure:3838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3827 if test -z "$ac_err"; then 3839 if test -z "$ac_err"; then
3828 rm -rf conftest* 3840 rm -rf conftest*
3829 ac_cv_header_stdc=yes 3841 ac_cv_header_stdc=yes
3830 else 3842 else
3837 rm -f conftest* 3849 rm -f conftest*
3838 3850
3839 if test $ac_cv_header_stdc = yes; then 3851 if test $ac_cv_header_stdc = yes; then
3840 # 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.
3841 cat > conftest.$ac_ext <<EOF 3853 cat > conftest.$ac_ext <<EOF
3842 #line 3843 "configure" 3854 #line 3855 "configure"
3843 #include "confdefs.h" 3855 #include "confdefs.h"
3844 #include <string.h> 3856 #include <string.h>
3845 EOF 3857 EOF
3846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3847 egrep "memchr" >/dev/null 2>&1; then 3859 egrep "memchr" >/dev/null 2>&1; then
3855 fi 3867 fi
3856 3868
3857 if test $ac_cv_header_stdc = yes; then 3869 if test $ac_cv_header_stdc = yes; then
3858 # 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.
3859 cat > conftest.$ac_ext <<EOF 3871 cat > conftest.$ac_ext <<EOF
3860 #line 3861 "configure" 3872 #line 3873 "configure"
3861 #include "confdefs.h" 3873 #include "confdefs.h"
3862 #include <stdlib.h> 3874 #include <stdlib.h>
3863 EOF 3875 EOF
3864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3865 egrep "free" >/dev/null 2>&1; then 3877 egrep "free" >/dev/null 2>&1; then
3873 fi 3885 fi
3874 3886
3875 if test $ac_cv_header_stdc = yes; then 3887 if test $ac_cv_header_stdc = yes; then
3876 # /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.
3877 cat > conftest.$ac_ext <<EOF 3889 cat > conftest.$ac_ext <<EOF
3878 #line 3879 "configure" 3890 #line 3891 "configure"
3879 #include "confdefs.h" 3891 #include "confdefs.h"
3880 #include <ctype.h> 3892 #include <ctype.h>
3881 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3893 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3882 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3894 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3883 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3884 int main () { int i; for (i = 0; i < 256; i++) 3896 int main () { int i; for (i = 0; i < 256; i++)
3885 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);
3886 exit (0); } 3898 exit (0); }
3887 3899
3888 EOF 3900 EOF
3889 if { (eval echo configure:3890: \"$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
3890 then 3902 then
3891 : 3903 :
3892 else 3904 else
3893 conftest_rc="$?" 3905 conftest_rc="$?"
3894 echo "configure: failed program was:" >&5 3906 echo "configure: failed program was:" >&5
3910 } 3922 }
3911 3923
3912 fi 3924 fi
3913 3925
3914 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
3915 echo "configure:3916: 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
3916 3928
3917 cat > conftest.$ac_ext <<EOF 3929 cat > conftest.$ac_ext <<EOF
3918 #line 3919 "configure" 3930 #line 3931 "configure"
3919 #include "confdefs.h" 3931 #include "confdefs.h"
3920 #include <sys/types.h> 3932 #include <sys/types.h>
3921 #include <sys/time.h> 3933 #include <sys/time.h>
3922 #include <time.h> 3934 #include <time.h>
3923 int main() { 3935 int main() {
3924 struct tm *tp; 3936 struct tm *tp;
3925 ; return 0; } 3937 ; return 0; }
3926 EOF 3938 EOF
3927 if { (eval echo configure:3928: \"$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
3928 rm -rf conftest* 3940 rm -rf conftest*
3929 ac_cv_header_time=yes 3941 ac_cv_header_time=yes
3930 else 3942 else
3931 echo "configure: failed program was:" >&5 3943 echo "configure: failed program was:" >&5
3932 cat conftest.$ac_ext >&5 3944 cat conftest.$ac_ext >&5
3946 } 3958 }
3947 3959
3948 fi 3960 fi
3949 3961
3950 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
3951 echo "configure:3952: 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
3952 3964
3953 cat > conftest.$ac_ext <<EOF 3965 cat > conftest.$ac_ext <<EOF
3954 #line 3955 "configure" 3966 #line 3967 "configure"
3955 #include "confdefs.h" 3967 #include "confdefs.h"
3956 #include <sys/types.h> 3968 #include <sys/types.h>
3957 #include <signal.h> 3969 #include <signal.h>
3958 /* NetBSD declares sys_siglist in unistd.h. */ 3970 /* NetBSD declares sys_siglist in unistd.h. */
3959 #ifdef HAVE_UNISTD_H 3971 #ifdef HAVE_UNISTD_H
3961 #endif 3973 #endif
3962 int main() { 3974 int main() {
3963 char *msg = *(sys_siglist + 1); 3975 char *msg = *(sys_siglist + 1);
3964 ; return 0; } 3976 ; return 0; }
3965 EOF 3977 EOF
3966 if { (eval echo configure:3967: \"$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
3967 rm -rf conftest* 3979 rm -rf conftest*
3968 ac_cv_decl_sys_siglist=yes 3980 ac_cv_decl_sys_siglist=yes
3969 else 3981 else
3970 echo "configure: failed program was:" >&5 3982 echo "configure: failed program was:" >&5
3971 cat conftest.$ac_ext >&5 3983 cat conftest.$ac_ext >&5
3987 fi 3999 fi
3988 4000
3989 4001
3990 4002
3991 echo $ac_n "checking for utime""... $ac_c" 1>&6 4003 echo $ac_n "checking for utime""... $ac_c" 1>&6
3992 echo "configure:3993: checking for utime" >&5 4004 echo "configure:4005: checking for utime" >&5
3993 cat > conftest.$ac_ext <<EOF 4005 cat > conftest.$ac_ext <<EOF
3994 #line 3995 "configure" 4006 #line 4007 "configure"
3995 #include "confdefs.h" 4007 #include "confdefs.h"
3996 #include <sys/types.h> 4008 #include <sys/types.h>
3997 #include <utime.h> 4009 #include <utime.h>
3998 int main() { 4010 int main() {
3999 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 4011 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
4000 ; return 0; } 4012 ; return 0; }
4001 EOF 4013 EOF
4002 if { (eval echo configure:4003: \"$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
4003 rm -rf conftest* 4015 rm -rf conftest*
4004 echo "$ac_t""yes" 1>&6 4016 echo "$ac_t""yes" 1>&6
4005 { test "$extra_verbose" = "yes" && cat << \EOF 4017 { test "$extra_verbose" = "yes" && cat << \EOF
4006 Defining HAVE_UTIME 4018 Defining HAVE_UTIME
4007 EOF 4019 EOF
4016 rm -rf conftest* 4028 rm -rf conftest*
4017 echo "$ac_t""no" 1>&6 4029 echo "$ac_t""no" 1>&6
4018 for ac_func in utimes 4030 for ac_func in utimes
4019 do 4031 do
4020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4021 echo "configure:4022: checking for $ac_func" >&5 4033 echo "configure:4034: checking for $ac_func" >&5
4022 4034
4023 cat > conftest.$ac_ext <<EOF 4035 cat > conftest.$ac_ext <<EOF
4024 #line 4025 "configure" 4036 #line 4037 "configure"
4025 #include "confdefs.h" 4037 #include "confdefs.h"
4026 /* System header to define __stub macros and hopefully few prototypes, 4038 /* System header to define __stub macros and hopefully few prototypes,
4027 which can conflict with char $ac_func(); below. */ 4039 which can conflict with char $ac_func(); below. */
4028 #include <assert.h> 4040 #include <assert.h>
4029 /* Override any gcc2 internal prototype to avoid an error. */ 4041 /* Override any gcc2 internal prototype to avoid an error. */
4042 $ac_func(); 4054 $ac_func();
4043 #endif 4055 #endif
4044 4056
4045 ; return 0; } 4057 ; return 0; }
4046 EOF 4058 EOF
4047 if { (eval echo configure:4048: \"$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
4048 rm -rf conftest* 4060 rm -rf conftest*
4049 eval "ac_cv_func_$ac_func=yes" 4061 eval "ac_cv_func_$ac_func=yes"
4050 else 4062 else
4051 echo "configure: failed program was:" >&5 4063 echo "configure: failed program was:" >&5
4052 cat conftest.$ac_ext >&5 4064 cat conftest.$ac_ext >&5
4074 fi 4086 fi
4075 rm -f conftest* 4087 rm -f conftest*
4076 4088
4077 4089
4078 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
4079 echo "configure:4080: checking return type of signal handlers" >&5 4091 echo "configure:4092: checking return type of signal handlers" >&5
4080 4092
4081 cat > conftest.$ac_ext <<EOF 4093 cat > conftest.$ac_ext <<EOF
4082 #line 4083 "configure" 4094 #line 4095 "configure"
4083 #include "confdefs.h" 4095 #include "confdefs.h"
4084 #include <sys/types.h> 4096 #include <sys/types.h>
4085 #include <signal.h> 4097 #include <signal.h>
4086 #ifdef signal 4098 #ifdef signal
4087 #undef signal 4099 #undef signal
4094 4106
4095 int main() { 4107 int main() {
4096 int i; 4108 int i;
4097 ; return 0; } 4109 ; return 0; }
4098 EOF 4110 EOF
4099 if { (eval echo configure:4100: \"$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
4100 rm -rf conftest* 4112 rm -rf conftest*
4101 ac_cv_type_signal=void 4113 ac_cv_type_signal=void
4102 else 4114 else
4103 echo "configure: failed program was:" >&5 4115 echo "configure: failed program was:" >&5
4104 cat conftest.$ac_ext >&5 4116 cat conftest.$ac_ext >&5
4116 EOF 4128 EOF
4117 } 4129 }
4118 4130
4119 4131
4120 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4132 echo $ac_n "checking for size_t""... $ac_c" 1>&6
4121 echo "configure:4122: checking for size_t" >&5 4133 echo "configure:4134: checking for size_t" >&5
4122 4134
4123 cat > conftest.$ac_ext <<EOF 4135 cat > conftest.$ac_ext <<EOF
4124 #line 4125 "configure" 4136 #line 4137 "configure"
4125 #include "confdefs.h" 4137 #include "confdefs.h"
4126 #include <sys/types.h> 4138 #include <sys/types.h>
4127 #if STDC_HEADERS 4139 #if STDC_HEADERS
4128 #include <stdlib.h> 4140 #include <stdlib.h>
4129 #include <stddef.h> 4141 #include <stddef.h>
4150 } 4162 }
4151 4163
4152 fi 4164 fi
4153 4165
4154 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 4166 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
4155 echo "configure:4156: checking for pid_t" >&5 4167 echo "configure:4168: checking for pid_t" >&5
4156 4168
4157 cat > conftest.$ac_ext <<EOF 4169 cat > conftest.$ac_ext <<EOF
4158 #line 4159 "configure" 4170 #line 4171 "configure"
4159 #include "confdefs.h" 4171 #include "confdefs.h"
4160 #include <sys/types.h> 4172 #include <sys/types.h>
4161 #if STDC_HEADERS 4173 #if STDC_HEADERS
4162 #include <stdlib.h> 4174 #include <stdlib.h>
4163 #include <stddef.h> 4175 #include <stddef.h>
4184 } 4196 }
4185 4197
4186 fi 4198 fi
4187 4199
4188 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
4189 echo "configure:4190: checking for uid_t in sys/types.h" >&5 4201 echo "configure:4202: checking for uid_t in sys/types.h" >&5
4190 4202
4191 cat > conftest.$ac_ext <<EOF 4203 cat > conftest.$ac_ext <<EOF
4192 #line 4193 "configure" 4204 #line 4205 "configure"
4193 #include "confdefs.h" 4205 #include "confdefs.h"
4194 #include <sys/types.h> 4206 #include <sys/types.h>
4195 EOF 4207 EOF
4196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4197 egrep "uid_t" >/dev/null 2>&1; then 4209 egrep "uid_t" >/dev/null 2>&1; then
4223 } 4235 }
4224 4236
4225 fi 4237 fi
4226 4238
4227 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4239 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4228 echo "configure:4229: checking for mode_t" >&5 4240 echo "configure:4241: checking for mode_t" >&5
4229 4241
4230 cat > conftest.$ac_ext <<EOF 4242 cat > conftest.$ac_ext <<EOF
4231 #line 4232 "configure" 4243 #line 4244 "configure"
4232 #include "confdefs.h" 4244 #include "confdefs.h"
4233 #include <sys/types.h> 4245 #include <sys/types.h>
4234 #if STDC_HEADERS 4246 #if STDC_HEADERS
4235 #include <stdlib.h> 4247 #include <stdlib.h>
4236 #include <stddef.h> 4248 #include <stddef.h>
4257 } 4269 }
4258 4270
4259 fi 4271 fi
4260 4272
4261 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4273 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4262 echo "configure:4263: checking for off_t" >&5 4274 echo "configure:4275: checking for off_t" >&5
4263 4275
4264 cat > conftest.$ac_ext <<EOF 4276 cat > conftest.$ac_ext <<EOF
4265 #line 4266 "configure" 4277 #line 4278 "configure"
4266 #include "confdefs.h" 4278 #include "confdefs.h"
4267 #include <sys/types.h> 4279 #include <sys/types.h>
4268 #if STDC_HEADERS 4280 #if STDC_HEADERS
4269 #include <stdlib.h> 4281 #include <stdlib.h>
4270 #include <stddef.h> 4282 #include <stddef.h>
4291 } 4303 }
4292 4304
4293 fi 4305 fi
4294 4306
4295 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4307 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4296 echo "configure:4297: checking for ssize_t" >&5 4308 echo "configure:4309: checking for ssize_t" >&5
4297 4309
4298 cat > conftest.$ac_ext <<EOF 4310 cat > conftest.$ac_ext <<EOF
4299 #line 4300 "configure" 4311 #line 4312 "configure"
4300 #include "confdefs.h" 4312 #include "confdefs.h"
4301 #include <sys/types.h> 4313 #include <sys/types.h>
4302 #if STDC_HEADERS 4314 #if STDC_HEADERS
4303 #include <stdlib.h> 4315 #include <stdlib.h>
4304 #include <stddef.h> 4316 #include <stddef.h>
4327 fi 4339 fi
4328 4340
4329 4341
4330 if test "$ac_cv_header_inttypes_h" != "yes"; then 4342 if test "$ac_cv_header_inttypes_h" != "yes"; then
4331 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
4332 echo "configure:4333: checking for intptr_t in sys/types.h" >&5 4344 echo "configure:4345: checking for intptr_t in sys/types.h" >&5
4333 cat > conftest.$ac_ext <<EOF 4345 cat > conftest.$ac_ext <<EOF
4334 #line 4335 "configure" 4346 #line 4347 "configure"
4335 #include "confdefs.h" 4347 #include "confdefs.h"
4336 #include <sys/types.h> 4348 #include <sys/types.h>
4337 intptr_t x; 4349 intptr_t x;
4338 4350
4339 int main() { 4351 int main() {
4340 4352
4341 ; return 0; } 4353 ; return 0; }
4342 EOF 4354 EOF
4343 if { (eval echo configure:4344: \"$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
4344 rm -rf conftest* 4356 rm -rf conftest*
4345 echo "$ac_t""yes" 1>&6 4357 echo "$ac_t""yes" 1>&6
4346 { test "$extra_verbose" = "yes" && cat << \EOF 4358 { test "$extra_verbose" = "yes" && cat << \EOF
4347 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 4359 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1
4348 EOF 4360 EOF
4359 fi 4371 fi
4360 rm -f conftest* 4372 rm -f conftest*
4361 fi 4373 fi
4362 4374
4363 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4375 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4364 echo "configure:4365: checking for socklen_t" >&5 4376 echo "configure:4377: checking for socklen_t" >&5
4365 cat > conftest.$ac_ext <<EOF 4377 cat > conftest.$ac_ext <<EOF
4366 #line 4367 "configure" 4378 #line 4379 "configure"
4367 #include "confdefs.h" 4379 #include "confdefs.h"
4368 #include <sys/types.h> 4380 #include <sys/types.h>
4369 #include <sys/socket.h> 4381 #include <sys/socket.h>
4370 socklen_t x; 4382 socklen_t x;
4371 4383
4372 int main() { 4384 int main() {
4373 4385
4374 ; return 0; } 4386 ; return 0; }
4375 EOF 4387 EOF
4376 if { (eval echo configure:4377: \"$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
4377 rm -rf conftest* 4389 rm -rf conftest*
4378 echo "$ac_t""yes" 1>&6 4390 echo "$ac_t""yes" 1>&6
4379 else 4391 else
4380 echo "configure: failed program was:" >&5 4392 echo "configure: failed program was:" >&5
4381 cat conftest.$ac_ext >&5 4393 cat conftest.$ac_ext >&5
4382 rm -rf conftest* 4394 rm -rf conftest*
4383 4395
4384 cat > conftest.$ac_ext <<EOF 4396 cat > conftest.$ac_ext <<EOF
4385 #line 4386 "configure" 4397 #line 4398 "configure"
4386 #include "confdefs.h" 4398 #include "confdefs.h"
4387 #include <sys/types.h> 4399 #include <sys/types.h>
4388 #include <sys/socket.h> 4400 #include <sys/socket.h>
4389 int accept (int, struct sockaddr *, size_t *); 4401 int accept (int, struct sockaddr *, size_t *);
4390 4402
4391 int main() { 4403 int main() {
4392 4404
4393 ; return 0; } 4405 ; return 0; }
4394 EOF 4406 EOF
4395 if { (eval echo configure:4396: \"$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
4396 rm -rf conftest* 4408 rm -rf conftest*
4397 4409
4398 echo "$ac_t""size_t" 1>&6 4410 echo "$ac_t""size_t" 1>&6
4399 { test "$extra_verbose" = "yes" && cat << \EOF 4411 { test "$extra_verbose" = "yes" && cat << \EOF
4400 Defining socklen_t = size_t 4412 Defining socklen_t = size_t
4422 rm -f conftest* 4434 rm -f conftest*
4423 fi 4435 fi
4424 rm -f conftest* 4436 rm -f conftest*
4425 4437
4426 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4438 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4427 echo "configure:4428: checking for struct timeval" >&5 4439 echo "configure:4440: checking for struct timeval" >&5
4428 cat > conftest.$ac_ext <<EOF 4440 cat > conftest.$ac_ext <<EOF
4429 #line 4430 "configure" 4441 #line 4442 "configure"
4430 #include "confdefs.h" 4442 #include "confdefs.h"
4431 #ifdef TIME_WITH_SYS_TIME 4443 #ifdef TIME_WITH_SYS_TIME
4432 #include <sys/time.h> 4444 #include <sys/time.h>
4433 #include <time.h> 4445 #include <time.h>
4434 #else 4446 #else
4440 #endif 4452 #endif
4441 int main() { 4453 int main() {
4442 static struct timeval x; x.tv_sec = x.tv_usec; 4454 static struct timeval x; x.tv_sec = x.tv_usec;
4443 ; return 0; } 4455 ; return 0; }
4444 EOF 4456 EOF
4445 if { (eval echo configure:4446: \"$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
4446 rm -rf conftest* 4458 rm -rf conftest*
4447 echo "$ac_t""yes" 1>&6 4459 echo "$ac_t""yes" 1>&6
4448 HAVE_TIMEVAL=yes 4460 HAVE_TIMEVAL=yes
4449 { test "$extra_verbose" = "yes" && cat << \EOF 4461 { test "$extra_verbose" = "yes" && cat << \EOF
4450 Defining HAVE_TIMEVAL 4462 Defining HAVE_TIMEVAL
4462 HAVE_TIMEVAL=no 4474 HAVE_TIMEVAL=no
4463 fi 4475 fi
4464 rm -f conftest* 4476 rm -f conftest*
4465 4477
4466 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
4467 echo "configure:4468: 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
4468 4480
4469 cat > conftest.$ac_ext <<EOF 4481 cat > conftest.$ac_ext <<EOF
4470 #line 4471 "configure" 4482 #line 4483 "configure"
4471 #include "confdefs.h" 4483 #include "confdefs.h"
4472 #include <sys/types.h> 4484 #include <sys/types.h>
4473 #include <time.h> 4485 #include <time.h>
4474 int main() { 4486 int main() {
4475 struct tm *tp; tp->tm_sec; 4487 struct tm *tp; tp->tm_sec;
4476 ; return 0; } 4488 ; return 0; }
4477 EOF 4489 EOF
4478 if { (eval echo configure:4479: \"$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
4479 rm -rf conftest* 4491 rm -rf conftest*
4480 ac_cv_struct_tm=time.h 4492 ac_cv_struct_tm=time.h
4481 else 4493 else
4482 echo "configure: failed program was:" >&5 4494 echo "configure: failed program was:" >&5
4483 cat conftest.$ac_ext >&5 4495 cat conftest.$ac_ext >&5
4497 } 4509 }
4498 4510
4499 fi 4511 fi
4500 4512
4501 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
4502 echo "configure:4503: checking for tm_zone in struct tm" >&5 4514 echo "configure:4515: checking for tm_zone in struct tm" >&5
4503 4515
4504 cat > conftest.$ac_ext <<EOF 4516 cat > conftest.$ac_ext <<EOF
4505 #line 4506 "configure" 4517 #line 4518 "configure"
4506 #include "confdefs.h" 4518 #include "confdefs.h"
4507 #include <sys/types.h> 4519 #include <sys/types.h>
4508 #include <$ac_cv_struct_tm> 4520 #include <$ac_cv_struct_tm>
4509 int main() { 4521 int main() {
4510 struct tm tm; tm.tm_zone; 4522 struct tm tm; tm.tm_zone;
4511 ; return 0; } 4523 ; return 0; }
4512 EOF 4524 EOF
4513 if { (eval echo configure:4514: \"$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
4514 rm -rf conftest* 4526 rm -rf conftest*
4515 ac_cv_struct_tm_zone=yes 4527 ac_cv_struct_tm_zone=yes
4516 else 4528 else
4517 echo "configure: failed program was:" >&5 4529 echo "configure: failed program was:" >&5
4518 cat conftest.$ac_ext >&5 4530 cat conftest.$ac_ext >&5
4531 EOF 4543 EOF
4532 } 4544 }
4533 4545
4534 else 4546 else
4535 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4547 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4536 echo "configure:4537: checking for tzname" >&5 4548 echo "configure:4549: checking for tzname" >&5
4537 4549
4538 cat > conftest.$ac_ext <<EOF 4550 cat > conftest.$ac_ext <<EOF
4539 #line 4540 "configure" 4551 #line 4552 "configure"
4540 #include "confdefs.h" 4552 #include "confdefs.h"
4541 #include <time.h> 4553 #include <time.h>
4542 #ifndef tzname /* For SGI. */ 4554 #ifndef tzname /* For SGI. */
4543 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4555 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4544 #endif 4556 #endif
4545 int main() { 4557 int main() {
4546 atoi(*tzname); 4558 atoi(*tzname);
4547 ; return 0; } 4559 ; return 0; }
4548 EOF 4560 EOF
4549 if { (eval echo configure:4550: \"$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
4550 rm -rf conftest* 4562 rm -rf conftest*
4551 ac_cv_var_tzname=yes 4563 ac_cv_var_tzname=yes
4552 else 4564 else
4553 echo "configure: failed program was:" >&5 4565 echo "configure: failed program was:" >&5
4554 cat conftest.$ac_ext >&5 4566 cat conftest.$ac_ext >&5
4570 fi 4582 fi
4571 fi 4583 fi
4572 4584
4573 4585
4574 echo $ac_n "checking for working const""... $ac_c" 1>&6 4586 echo $ac_n "checking for working const""... $ac_c" 1>&6
4575 echo "configure:4576: checking for working const" >&5 4587 echo "configure:4588: checking for working const" >&5
4576 4588
4577 cat > conftest.$ac_ext <<EOF 4589 cat > conftest.$ac_ext <<EOF
4578 #line 4579 "configure" 4590 #line 4591 "configure"
4579 #include "confdefs.h" 4591 #include "confdefs.h"
4580 4592
4581 int main() { 4593 int main() {
4582 4594
4583 /* Ultrix mips cc rejects this. */ 4595 /* Ultrix mips cc rejects this. */
4622 const int foo = 10; 4634 const int foo = 10;
4623 } 4635 }
4624 4636
4625 ; return 0; } 4637 ; return 0; }
4626 EOF 4638 EOF
4627 if { (eval echo configure:4628: \"$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
4628 rm -rf conftest* 4640 rm -rf conftest*
4629 ac_cv_c_const=yes 4641 ac_cv_c_const=yes
4630 else 4642 else
4631 echo "configure: failed program was:" >&5 4643 echo "configure: failed program was:" >&5
4632 cat conftest.$ac_ext >&5 4644 cat conftest.$ac_ext >&5
4647 4659
4648 fi 4660 fi
4649 4661
4650 4662
4651 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
4652 echo "configure:4653: checking whether ${MAKE-make} sets \${MAKE}" >&5 4664 echo "configure:4665: checking whether ${MAKE-make} sets \${MAKE}" >&5
4653 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4665 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4654 4666
4655 cat > conftestmake <<\EOF 4667 cat > conftestmake <<\EOF
4656 all: 4668 all:
4657 @echo 'ac_maketemp="${MAKE}"' 4669 @echo 'ac_maketemp="${MAKE}"'
4672 SET_MAKE="MAKE=${MAKE-make}" 4684 SET_MAKE="MAKE=${MAKE-make}"
4673 fi 4685 fi
4674 4686
4675 4687
4676 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
4677 echo "configure:4678: checking whether byte ordering is bigendian" >&5 4689 echo "configure:4690: checking whether byte ordering is bigendian" >&5
4678 4690
4679 ac_cv_c_bigendian=unknown 4691 ac_cv_c_bigendian=unknown
4680 # See if sys/param.h defines the BYTE_ORDER macro. 4692 # See if sys/param.h defines the BYTE_ORDER macro.
4681 cat > conftest.$ac_ext <<EOF 4693 cat > conftest.$ac_ext <<EOF
4682 #line 4683 "configure" 4694 #line 4695 "configure"
4683 #include "confdefs.h" 4695 #include "confdefs.h"
4684 #include <sys/types.h> 4696 #include <sys/types.h>
4685 #include <sys/param.h> 4697 #include <sys/param.h>
4686 int main() { 4698 int main() {
4687 4699
4688 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4689 bogus endian macros 4701 bogus endian macros
4690 #endif 4702 #endif
4691 ; return 0; } 4703 ; return 0; }
4692 EOF 4704 EOF
4693 if { (eval echo configure:4694: \"$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
4694 rm -rf conftest* 4706 rm -rf conftest*
4695 # 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.
4696 cat > conftest.$ac_ext <<EOF 4708 cat > conftest.$ac_ext <<EOF
4697 #line 4698 "configure" 4709 #line 4710 "configure"
4698 #include "confdefs.h" 4710 #include "confdefs.h"
4699 #include <sys/types.h> 4711 #include <sys/types.h>
4700 #include <sys/param.h> 4712 #include <sys/param.h>
4701 int main() { 4713 int main() {
4702 4714
4703 #if BYTE_ORDER != BIG_ENDIAN 4715 #if BYTE_ORDER != BIG_ENDIAN
4704 not big endian 4716 not big endian
4705 #endif 4717 #endif
4706 ; return 0; } 4718 ; return 0; }
4707 EOF 4719 EOF
4708 if { (eval echo configure:4709: \"$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
4709 rm -rf conftest* 4721 rm -rf conftest*
4710 ac_cv_c_bigendian=yes 4722 ac_cv_c_bigendian=yes
4711 else 4723 else
4712 echo "configure: failed program was:" >&5 4724 echo "configure: failed program was:" >&5
4713 cat conftest.$ac_ext >&5 4725 cat conftest.$ac_ext >&5
4720 cat conftest.$ac_ext >&5 4732 cat conftest.$ac_ext >&5
4721 fi 4733 fi
4722 rm -f conftest* 4734 rm -f conftest*
4723 if test $ac_cv_c_bigendian = unknown; then 4735 if test $ac_cv_c_bigendian = unknown; then
4724 cat > conftest.$ac_ext <<EOF 4736 cat > conftest.$ac_ext <<EOF
4725 #line 4726 "configure" 4737 #line 4738 "configure"
4726 #include "confdefs.h" 4738 #include "confdefs.h"
4727 main () { 4739 main () {
4728 /* Are we little or big endian? From Harbison&Steele. */ 4740 /* Are we little or big endian? From Harbison&Steele. */
4729 union 4741 union
4730 { 4742 {
4733 } u; 4745 } u;
4734 u.l = 1; 4746 u.l = 1;
4735 exit (u.c[sizeof (long) - 1] == 1); 4747 exit (u.c[sizeof (long) - 1] == 1);
4736 } 4748 }
4737 EOF 4749 EOF
4738 if { (eval echo configure:4739: \"$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
4739 then 4751 then
4740 ac_cv_c_bigendian=no 4752 ac_cv_c_bigendian=no
4741 else 4753 else
4742 conftest_rc="$?" 4754 conftest_rc="$?"
4743 echo "configure: failed program was:" >&5 4755 echo "configure: failed program was:" >&5
4760 4772
4761 fi 4773 fi
4762 4774
4763 4775
4764 echo $ac_n "checking size of short""... $ac_c" 1>&6 4776 echo $ac_n "checking size of short""... $ac_c" 1>&6
4765 echo "configure:4766: checking size of short" >&5 4777 echo "configure:4778: checking size of short" >&5
4766 4778
4767 cat > conftest.$ac_ext <<EOF 4779 cat > conftest.$ac_ext <<EOF
4768 #line 4769 "configure" 4780 #line 4781 "configure"
4769 #include "confdefs.h" 4781 #include "confdefs.h"
4770 #include <stdio.h> 4782 #include <stdio.h>
4771 int main() 4783 #include <sys/types.h>
4784 main()
4772 { 4785 {
4773 FILE *f=fopen("conftestval", "w"); 4786 FILE *f=fopen("conftestval", "w");
4774 if (!f) return(1); 4787 if (!f) exit(1);
4775 fprintf(f, "%d\n", sizeof(short)); 4788 fprintf(f, "%d\n", sizeof(short));
4776 return(0); 4789 exit(0);
4777 } 4790 }
4778 EOF 4791 EOF
4779 if { (eval echo configure:4780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4780 then 4793 then
4781 ac_cv_sizeof_short=`cat conftestval` 4794 ac_cv_sizeof_short=`cat conftestval`
4782 else 4795 else
4783 conftest_rc="$?" 4796 conftest_rc="$?"
4784 echo "configure: failed program was:" >&5 4797 echo "configure: failed program was:" >&5
4802 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4815 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4803 echo "*** PANIC *** Please examine config.log for compilation errors." 4816 echo "*** PANIC *** Please examine config.log for compilation errors."
4804 exit 1 4817 exit 1
4805 fi 4818 fi
4806 echo $ac_n "checking size of int""... $ac_c" 1>&6 4819 echo $ac_n "checking size of int""... $ac_c" 1>&6
4807 echo "configure:4808: checking size of int" >&5 4820 echo "configure:4821: checking size of int" >&5
4808 4821
4809 cat > conftest.$ac_ext <<EOF 4822 cat > conftest.$ac_ext <<EOF
4810 #line 4811 "configure" 4823 #line 4824 "configure"
4811 #include "confdefs.h" 4824 #include "confdefs.h"
4812 #include <stdio.h> 4825 #include <stdio.h>
4813 int main() 4826 #include <sys/types.h>
4827 main()
4814 { 4828 {
4815 FILE *f=fopen("conftestval", "w"); 4829 FILE *f=fopen("conftestval", "w");
4816 if (!f) return(1); 4830 if (!f) exit(1);
4817 fprintf(f, "%d\n", sizeof(int)); 4831 fprintf(f, "%d\n", sizeof(int));
4818 return(0); 4832 exit(0);
4819 } 4833 }
4820 EOF 4834 EOF
4821 if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4835 if { (eval echo configure:4836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4822 then 4836 then
4823 ac_cv_sizeof_int=`cat conftestval` 4837 ac_cv_sizeof_int=`cat conftestval`
4824 else 4838 else
4825 conftest_rc="$?" 4839 conftest_rc="$?"
4826 echo "configure: failed program was:" >&5 4840 echo "configure: failed program was:" >&5
4838 EOF 4852 EOF
4839 } 4853 }
4840 4854
4841 4855
4842 echo $ac_n "checking size of long""... $ac_c" 1>&6 4856 echo $ac_n "checking size of long""... $ac_c" 1>&6
4843 echo "configure:4844: checking size of long" >&5 4857 echo "configure:4858: checking size of long" >&5
4844 4858
4845 cat > conftest.$ac_ext <<EOF 4859 cat > conftest.$ac_ext <<EOF
4846 #line 4847 "configure" 4860 #line 4861 "configure"
4847 #include "confdefs.h" 4861 #include "confdefs.h"
4848 #include <stdio.h> 4862 #include <stdio.h>
4849 int main() 4863 #include <sys/types.h>
4864 main()
4850 { 4865 {
4851 FILE *f=fopen("conftestval", "w"); 4866 FILE *f=fopen("conftestval", "w");
4852 if (!f) return(1); 4867 if (!f) exit(1);
4853 fprintf(f, "%d\n", sizeof(long)); 4868 fprintf(f, "%d\n", sizeof(long));
4854 return(0); 4869 exit(0);
4855 } 4870 }
4856 EOF 4871 EOF
4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4872 if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4858 then 4873 then
4859 ac_cv_sizeof_long=`cat conftestval` 4874 ac_cv_sizeof_long=`cat conftestval`
4860 else 4875 else
4861 conftest_rc="$?" 4876 conftest_rc="$?"
4862 echo "configure: failed program was:" >&5 4877 echo "configure: failed program was:" >&5
4874 EOF 4889 EOF
4875 } 4890 }
4876 4891
4877 4892
4878 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4893 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4879 echo "configure:4880: checking size of long long" >&5 4894 echo "configure:4895: checking size of long long" >&5
4880 4895
4881 cat > conftest.$ac_ext <<EOF 4896 cat > conftest.$ac_ext <<EOF
4882 #line 4883 "configure" 4897 #line 4898 "configure"
4883 #include "confdefs.h" 4898 #include "confdefs.h"
4884 #include <stdio.h> 4899 #include <stdio.h>
4885 int main() 4900 #include <sys/types.h>
4901 main()
4886 { 4902 {
4887 FILE *f=fopen("conftestval", "w"); 4903 FILE *f=fopen("conftestval", "w");
4888 if (!f) return(1); 4904 if (!f) exit(1);
4889 fprintf(f, "%d\n", sizeof(long long)); 4905 fprintf(f, "%d\n", sizeof(long long));
4890 return(0); 4906 exit(0);
4891 } 4907 }
4892 EOF 4908 EOF
4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4894 then 4910 then
4895 ac_cv_sizeof_long_long=`cat conftestval` 4911 ac_cv_sizeof_long_long=`cat conftestval`
4896 else 4912 else
4897 conftest_rc="$?" 4913 conftest_rc="$?"
4898 echo "configure: failed program was:" >&5 4914 echo "configure: failed program was:" >&5
4910 EOF 4926 EOF
4911 } 4927 }
4912 4928
4913 4929
4914 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4930 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4915 echo "configure:4916: checking size of void *" >&5 4931 echo "configure:4932: checking size of void *" >&5
4916 4932
4917 cat > conftest.$ac_ext <<EOF 4933 cat > conftest.$ac_ext <<EOF
4918 #line 4919 "configure" 4934 #line 4935 "configure"
4919 #include "confdefs.h" 4935 #include "confdefs.h"
4920 #include <stdio.h> 4936 #include <stdio.h>
4921 int main() 4937 #include <sys/types.h>
4938 main()
4922 { 4939 {
4923 FILE *f=fopen("conftestval", "w"); 4940 FILE *f=fopen("conftestval", "w");
4924 if (!f) return(1); 4941 if (!f) exit(1);
4925 fprintf(f, "%d\n", sizeof(void *)); 4942 fprintf(f, "%d\n", sizeof(void *));
4926 return(0); 4943 exit(0);
4927 } 4944 }
4928 EOF 4945 EOF
4929 if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4930 then 4947 then
4931 ac_cv_sizeof_void_p=`cat conftestval` 4948 ac_cv_sizeof_void_p=`cat conftestval`
4932 else 4949 else
4933 conftest_rc="$?" 4950 conftest_rc="$?"
4934 echo "configure: failed program was:" >&5 4951 echo "configure: failed program was:" >&5
4946 EOF 4963 EOF
4947 } 4964 }
4948 4965
4949 4966
4950 echo $ac_n "checking size of double""... $ac_c" 1>&6 4967 echo $ac_n "checking size of double""... $ac_c" 1>&6
4951 echo "configure:4952: checking size of double" >&5 4968 echo "configure:4969: checking size of double" >&5
4952 4969
4953 cat > conftest.$ac_ext <<EOF 4970 cat > conftest.$ac_ext <<EOF
4954 #line 4955 "configure" 4971 #line 4972 "configure"
4955 #include "confdefs.h" 4972 #include "confdefs.h"
4956 #include <stdio.h> 4973 #include <stdio.h>
4957 int main() 4974 #include <sys/types.h>
4975 main()
4958 { 4976 {
4959 FILE *f=fopen("conftestval", "w"); 4977 FILE *f=fopen("conftestval", "w");
4960 if (!f) return(1); 4978 if (!f) exit(1);
4961 fprintf(f, "%d\n", sizeof(double)); 4979 fprintf(f, "%d\n", sizeof(double));
4962 return(0); 4980 exit(0);
4963 } 4981 }
4964 EOF 4982 EOF
4965 if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4966 then 4984 then
4967 ac_cv_sizeof_double=`cat conftestval` 4985 ac_cv_sizeof_double=`cat conftestval`
4968 else 4986 else
4969 conftest_rc="$?" 4987 conftest_rc="$?"
4970 echo "configure: failed program was:" >&5 4988 echo "configure: failed program was:" >&5
4983 } 5001 }
4984 5002
4985 5003
4986 5004
4987 echo $ac_n "checking for long file names""... $ac_c" 1>&6 5005 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4988 echo "configure:4989: checking for long file names" >&5 5006 echo "configure:5007: checking for long file names" >&5
4989 5007
4990 ac_cv_sys_long_file_names=yes 5008 ac_cv_sys_long_file_names=yes
4991 # Test for long file names in all the places we know might matter: 5009 # Test for long file names in all the places we know might matter:
4992 # . the current directory, where building will happen 5010 # . the current directory, where building will happen
4993 # $prefix/lib where we will be installing things 5011 # $prefix/lib where we will be installing things
5029 5047
5030 fi 5048 fi
5031 5049
5032 5050
5033 echo $ac_n "checking for sin""... $ac_c" 1>&6 5051 echo $ac_n "checking for sin""... $ac_c" 1>&6
5034 echo "configure:5035: checking for sin" >&5 5052 echo "configure:5053: checking for sin" >&5
5035 5053
5036 cat > conftest.$ac_ext <<EOF 5054 cat > conftest.$ac_ext <<EOF
5037 #line 5038 "configure" 5055 #line 5056 "configure"
5038 #include "confdefs.h" 5056 #include "confdefs.h"
5039 /* System header to define __stub macros and hopefully few prototypes, 5057 /* System header to define __stub macros and hopefully few prototypes,
5040 which can conflict with char sin(); below. */ 5058 which can conflict with char sin(); below. */
5041 #include <assert.h> 5059 #include <assert.h>
5042 /* Override any gcc2 internal prototype to avoid an error. */ 5060 /* Override any gcc2 internal prototype to avoid an error. */
5055 sin(); 5073 sin();
5056 #endif 5074 #endif
5057 5075
5058 ; return 0; } 5076 ; return 0; }
5059 EOF 5077 EOF
5060 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5078 if { (eval echo configure:5079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5061 rm -rf conftest* 5079 rm -rf conftest*
5062 eval "ac_cv_func_sin=yes" 5080 eval "ac_cv_func_sin=yes"
5063 else 5081 else
5064 echo "configure: failed program was:" >&5 5082 echo "configure: failed program was:" >&5
5065 cat conftest.$ac_ext >&5 5083 cat conftest.$ac_ext >&5
5073 : 5091 :
5074 else 5092 else
5075 echo "$ac_t""no" 1>&6 5093 echo "$ac_t""no" 1>&6
5076 5094
5077 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5095 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5078 echo "configure:5079: checking for sin in -lm" >&5 5096 echo "configure:5097: checking for sin in -lm" >&5
5079 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5097 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5080 5098
5081 xe_check_libs=" -lm " 5099 xe_check_libs=" -lm "
5082 cat > conftest.$ac_ext <<EOF 5100 cat > conftest.$ac_ext <<EOF
5083 #line 5084 "configure" 5101 #line 5102 "configure"
5084 #include "confdefs.h" 5102 #include "confdefs.h"
5085 /* Override any gcc2 internal prototype to avoid an error. */ 5103 /* Override any gcc2 internal prototype to avoid an error. */
5086 /* We use char because int might match the return type of a gcc2 5104 /* We use char because int might match the return type of a gcc2
5087 builtin and then its argument prototype would still apply. */ 5105 builtin and then its argument prototype would still apply. */
5088 char sin(); 5106 char sin();
5089 5107
5090 int main() { 5108 int main() {
5091 sin() 5109 sin()
5092 ; return 0; } 5110 ; return 0; }
5093 EOF 5111 EOF
5094 if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5112 if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5095 rm -rf conftest* 5113 rm -rf conftest*
5096 eval "ac_cv_lib_$ac_lib_var=yes" 5114 eval "ac_cv_lib_$ac_lib_var=yes"
5097 else 5115 else
5098 echo "configure: failed program was:" >&5 5116 echo "configure: failed program was:" >&5
5099 cat conftest.$ac_ext >&5 5117 cat conftest.$ac_ext >&5
5124 5142
5125 fi 5143 fi
5126 5144
5127 5145
5128 cat > conftest.$ac_ext <<EOF 5146 cat > conftest.$ac_ext <<EOF
5129 #line 5130 "configure" 5147 #line 5148 "configure"
5130 #include "confdefs.h" 5148 #include "confdefs.h"
5131 #include <math.h> 5149 #include <math.h>
5132 int main() { 5150 int main() {
5133 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5151 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5134 ; return 0; } 5152 ; return 0; }
5135 EOF 5153 EOF
5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5137 rm -rf conftest* 5155 rm -rf conftest*
5138 { test "$extra_verbose" = "yes" && cat << \EOF 5156 { test "$extra_verbose" = "yes" && cat << \EOF
5139 Defining HAVE_INVERSE_HYPERBOLIC 5157 Defining HAVE_INVERSE_HYPERBOLIC
5140 EOF 5158 EOF
5141 cat >> confdefs.h <<\EOF 5159 cat >> confdefs.h <<\EOF
5150 rm -f conftest* 5168 rm -f conftest*
5151 5169
5152 for ac_func in mkstemp 5170 for ac_func in mkstemp
5153 do 5171 do
5154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5155 echo "configure:5156: checking for $ac_func" >&5 5173 echo "configure:5174: checking for $ac_func" >&5
5156 5174
5157 cat > conftest.$ac_ext <<EOF 5175 cat > conftest.$ac_ext <<EOF
5158 #line 5159 "configure" 5176 #line 5177 "configure"
5159 #include "confdefs.h" 5177 #include "confdefs.h"
5160 /* System header to define __stub macros and hopefully few prototypes, 5178 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char $ac_func(); below. */ 5179 which can conflict with char $ac_func(); below. */
5162 #include <assert.h> 5180 #include <assert.h>
5163 /* Override any gcc2 internal prototype to avoid an error. */ 5181 /* Override any gcc2 internal prototype to avoid an error. */
5176 $ac_func(); 5194 $ac_func();
5177 #endif 5195 #endif
5178 5196
5179 ; return 0; } 5197 ; return 0; }
5180 EOF 5198 EOF
5181 if { (eval echo configure:5182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5199 if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5182 rm -rf conftest* 5200 rm -rf conftest*
5183 eval "ac_cv_func_$ac_func=yes" 5201 eval "ac_cv_func_$ac_func=yes"
5184 else 5202 else
5185 echo "configure: failed program was:" >&5 5203 echo "configure: failed program was:" >&5
5186 cat conftest.$ac_ext >&5 5204 cat conftest.$ac_ext >&5
5205 fi 5223 fi
5206 done 5224 done
5207 5225
5208 5226
5209 echo "checking type of mail spool file locking" 1>&6 5227 echo "checking type of mail spool file locking" 1>&6
5210 echo "configure:5211: checking type of mail spool file locking" >&5 5228 echo "configure:5229: checking type of mail spool file locking" >&5
5211 for ac_func in lockf flock 5229 for ac_func in lockf flock
5212 do 5230 do
5213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5214 echo "configure:5215: checking for $ac_func" >&5 5232 echo "configure:5233: checking for $ac_func" >&5
5215 5233
5216 cat > conftest.$ac_ext <<EOF 5234 cat > conftest.$ac_ext <<EOF
5217 #line 5218 "configure" 5235 #line 5236 "configure"
5218 #include "confdefs.h" 5236 #include "confdefs.h"
5219 /* System header to define __stub macros and hopefully few prototypes, 5237 /* System header to define __stub macros and hopefully few prototypes,
5220 which can conflict with char $ac_func(); below. */ 5238 which can conflict with char $ac_func(); below. */
5221 #include <assert.h> 5239 #include <assert.h>
5222 /* Override any gcc2 internal prototype to avoid an error. */ 5240 /* Override any gcc2 internal prototype to avoid an error. */
5235 $ac_func(); 5253 $ac_func();
5236 #endif 5254 #endif
5237 5255
5238 ; return 0; } 5256 ; return 0; }
5239 EOF 5257 EOF
5240 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5258 if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5241 rm -rf conftest* 5259 rm -rf conftest*
5242 eval "ac_cv_func_$ac_func=yes" 5260 eval "ac_cv_func_$ac_func=yes"
5243 else 5261 else
5244 echo "configure: failed program was:" >&5 5262 echo "configure: failed program was:" >&5
5245 cat conftest.$ac_ext >&5 5263 cat conftest.$ac_ext >&5
5317 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5335 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5318 5336
5319 case "$opsys" in decosf*) 5337 case "$opsys" in decosf*)
5320 5338
5321 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5339 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5322 echo "configure:5323: checking for cma_open in -lpthreads" >&5 5340 echo "configure:5341: checking for cma_open in -lpthreads" >&5
5323 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5341 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5324 5342
5325 xe_check_libs=" -lpthreads " 5343 xe_check_libs=" -lpthreads "
5326 cat > conftest.$ac_ext <<EOF 5344 cat > conftest.$ac_ext <<EOF
5327 #line 5328 "configure" 5345 #line 5346 "configure"
5328 #include "confdefs.h" 5346 #include "confdefs.h"
5329 /* Override any gcc2 internal prototype to avoid an error. */ 5347 /* Override any gcc2 internal prototype to avoid an error. */
5330 /* We use char because int might match the return type of a gcc2 5348 /* We use char because int might match the return type of a gcc2
5331 builtin and then its argument prototype would still apply. */ 5349 builtin and then its argument prototype would still apply. */
5332 char cma_open(); 5350 char cma_open();
5333 5351
5334 int main() { 5352 int main() {
5335 cma_open() 5353 cma_open()
5336 ; return 0; } 5354 ; return 0; }
5337 EOF 5355 EOF
5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5356 if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5339 rm -rf conftest* 5357 rm -rf conftest*
5340 eval "ac_cv_lib_$ac_lib_var=yes" 5358 eval "ac_cv_lib_$ac_lib_var=yes"
5341 else 5359 else
5342 echo "configure: failed program was:" >&5 5360 echo "configure: failed program was:" >&5
5343 cat conftest.$ac_ext >&5 5361 cat conftest.$ac_ext >&5
5370 c_switch_site="$c_switch_site -threads" ;; 5388 c_switch_site="$c_switch_site -threads" ;;
5371 esac 5389 esac
5372 5390
5373 5391
5374 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5392 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5375 echo "configure:5376: checking whether the -xildoff compiler flag is required" >&5 5393 echo "configure:5394: checking whether the -xildoff compiler flag is required" >&5
5376 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5394 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5377 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5395 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5378 then echo "$ac_t""no" 1>&6; 5396 then echo "$ac_t""no" 1>&6;
5379 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 5397 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
5380 fi 5398 fi
5382 fi 5400 fi
5383 5401
5384 if test "$opsys" = "sol2"; then 5402 if test "$opsys" = "sol2"; then
5385 if test "$os_release" -ge 506; then 5403 if test "$os_release" -ge 506; then
5386 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5404 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5387 echo "configure:5388: checking for \"-z ignore\" linker flag" >&5 5405 echo "configure:5406: checking for \"-z ignore\" linker flag" >&5
5388 case "`ld -h 2>&1`" in 5406 case "`ld -h 2>&1`" in
5389 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5407 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5390 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5408 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5391 *) echo "$ac_t""no" 1>&6 ;; 5409 *) echo "$ac_t""no" 1>&6 ;;
5392 esac 5410 esac
5393 fi 5411 fi
5394 fi 5412 fi
5395 5413
5396 5414
5397 echo "checking "for specified window system"" 1>&6 5415 echo "checking "for specified window system"" 1>&6
5398 echo "configure:5399: checking "for specified window system"" >&5 5416 echo "configure:5417: checking "for specified window system"" >&5
5399 5417
5400 5418
5401 GNOME_CONFIG=no 5419 GNOME_CONFIG=no
5402 GTK_CONFIG=no 5420 GTK_CONFIG=no
5403 5421
5404 if test "$with_gnome" != "no"; then 5422 if test "$with_gnome" != "no"; then
5405 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5423 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5406 echo "configure:5407: checking for GNOME configuration script" >&5 5424 echo "configure:5425: checking for GNOME configuration script" >&5
5407 for possible in gnome-config 5425 for possible in gnome-config
5408 do 5426 do
5409 possible_version=`${possible} --version 2> /dev/null` 5427 possible_version=`${possible} --version 2> /dev/null`
5410 if test "x${possible_version}" != "x"; then 5428 if test "x${possible_version}" != "x"; then
5411 GNOME_CONFIG="${possible}" 5429 GNOME_CONFIG="${possible}"
5432 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5450 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5433 fi 5451 fi
5434 5452
5435 if test "$with_gtk" != "no";then 5453 if test "$with_gtk" != "no";then
5436 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5454 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5437 echo "configure:5438: checking for GTK configuration script" >&5 5455 echo "configure:5456: checking for GTK configuration script" >&5
5438 for possible in gtk12-config gtk14-config gtk-config 5456 for possible in gtk12-config gtk14-config gtk-config
5439 do 5457 do
5440 possible_version=`${possible} --version 2> /dev/null` 5458 possible_version=`${possible} --version 2> /dev/null`
5441 if test "x${possible_version}" != "x"; then 5459 if test "x${possible_version}" != "x"; then
5442 GTK_CONFIG="${possible}" 5460 GTK_CONFIG="${possible}"
5454 echo "$ac_t""${GTK_CONFIG}" 1>&6 5472 echo "$ac_t""${GTK_CONFIG}" 1>&6
5455 fi 5473 fi
5456 5474
5457 if test "${GTK_CONFIG}" != "no"; then 5475 if test "${GTK_CONFIG}" != "no"; then
5458 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5476 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5459 echo "configure:5460: checking gtk version" >&5 5477 echo "configure:5478: checking gtk version" >&5
5460 GTK_VERSION=`${GTK_CONFIG} --version` 5478 GTK_VERSION=`${GTK_CONFIG} --version`
5461 echo "$ac_t""${GTK_VERSION}" 1>&6 5479 echo "$ac_t""${GTK_VERSION}" 1>&6
5462 5480
5463 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5481 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5464 echo "configure:5465: checking gtk libs" >&5 5482 echo "configure:5483: checking gtk libs" >&5
5465 GTK_LIBS=`${GTK_CONFIG} --libs` 5483 GTK_LIBS=`${GTK_CONFIG} --libs`
5466 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5484 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5467 echo "$ac_t""${GTK_LIBS}" 1>&6 5485 echo "$ac_t""${GTK_LIBS}" 1>&6
5468 5486
5469 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5487 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5470 echo "configure:5471: checking gtk cflags" >&5 5488 echo "configure:5489: checking gtk cflags" >&5
5471 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5489 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5472 if test "$GCC" = "yes"; then 5490 if test "$GCC" = "yes"; then
5473 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5491 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5474 fi 5492 fi
5475 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5493 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5476 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5494 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5477 5495
5478 5496
5479 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5497 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5480 echo "configure:5481: checking for main in -lgdk_imlib" >&5 5498 echo "configure:5499: checking for main in -lgdk_imlib" >&5
5481 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5499 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5482 5500
5483 xe_check_libs=" -lgdk_imlib " 5501 xe_check_libs=" -lgdk_imlib "
5484 cat > conftest.$ac_ext <<EOF 5502 cat > conftest.$ac_ext <<EOF
5485 #line 5486 "configure" 5503 #line 5504 "configure"
5486 #include "confdefs.h" 5504 #include "confdefs.h"
5487 5505
5488 int main() { 5506 int main() {
5489 main() 5507 main()
5490 ; return 0; } 5508 ; return 0; }
5491 EOF 5509 EOF
5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5510 if { (eval echo configure:5511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5493 rm -rf conftest* 5511 rm -rf conftest*
5494 eval "ac_cv_lib_$ac_lib_var=yes" 5512 eval "ac_cv_lib_$ac_lib_var=yes"
5495 else 5513 else
5496 echo "configure: failed program was:" >&5 5514 echo "configure: failed program was:" >&5
5497 cat conftest.$ac_ext >&5 5515 cat conftest.$ac_ext >&5
5509 fi 5527 fi
5510 5528
5511 5529
5512 5530
5513 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5531 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5514 echo "configure:5515: checking for Imlib_init in -lImlib" >&5 5532 echo "configure:5533: checking for Imlib_init in -lImlib" >&5
5515 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5533 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5516 5534
5517 xe_check_libs=" -lImlib " 5535 xe_check_libs=" -lImlib "
5518 cat > conftest.$ac_ext <<EOF 5536 cat > conftest.$ac_ext <<EOF
5519 #line 5520 "configure" 5537 #line 5538 "configure"
5520 #include "confdefs.h" 5538 #include "confdefs.h"
5521 /* Override any gcc2 internal prototype to avoid an error. */ 5539 /* Override any gcc2 internal prototype to avoid an error. */
5522 /* We use char because int might match the return type of a gcc2 5540 /* We use char because int might match the return type of a gcc2
5523 builtin and then its argument prototype would still apply. */ 5541 builtin and then its argument prototype would still apply. */
5524 char Imlib_init(); 5542 char Imlib_init();
5525 5543
5526 int main() { 5544 int main() {
5527 Imlib_init() 5545 Imlib_init()
5528 ; return 0; } 5546 ; return 0; }
5529 EOF 5547 EOF
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5548 if { (eval echo configure:5549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5531 rm -rf conftest* 5549 rm -rf conftest*
5532 eval "ac_cv_lib_$ac_lib_var=yes" 5550 eval "ac_cv_lib_$ac_lib_var=yes"
5533 else 5551 else
5534 echo "configure: failed program was:" >&5 5552 echo "configure: failed program was:" >&5
5535 cat conftest.$ac_ext >&5 5553 cat conftest.$ac_ext >&5
5548 5566
5549 5567
5550 for ac_func in gdk_imlib_init 5568 for ac_func in gdk_imlib_init
5551 do 5569 do
5552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5553 echo "configure:5554: checking for $ac_func" >&5 5571 echo "configure:5572: checking for $ac_func" >&5
5554 5572
5555 cat > conftest.$ac_ext <<EOF 5573 cat > conftest.$ac_ext <<EOF
5556 #line 5557 "configure" 5574 #line 5575 "configure"
5557 #include "confdefs.h" 5575 #include "confdefs.h"
5558 /* System header to define __stub macros and hopefully few prototypes, 5576 /* System header to define __stub macros and hopefully few prototypes,
5559 which can conflict with char $ac_func(); below. */ 5577 which can conflict with char $ac_func(); below. */
5560 #include <assert.h> 5578 #include <assert.h>
5561 /* Override any gcc2 internal prototype to avoid an error. */ 5579 /* Override any gcc2 internal prototype to avoid an error. */
5574 $ac_func(); 5592 $ac_func();
5575 #endif 5593 #endif
5576 5594
5577 ; return 0; } 5595 ; return 0; }
5578 EOF 5596 EOF
5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5597 if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5580 rm -rf conftest* 5598 rm -rf conftest*
5581 eval "ac_cv_func_$ac_func=yes" 5599 eval "ac_cv_func_$ac_func=yes"
5582 else 5600 else
5583 echo "configure: failed program was:" >&5 5601 echo "configure: failed program was:" >&5
5584 cat conftest.$ac_ext >&5 5602 cat conftest.$ac_ext >&5
5640 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5658 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5641 for ac_hdr in glade/glade.h glade.h 5659 for ac_hdr in glade/glade.h glade.h
5642 do 5660 do
5643 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5661 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5644 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5662 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5645 echo "configure:5646: checking for $ac_hdr" >&5 5663 echo "configure:5664: checking for $ac_hdr" >&5
5646 5664
5647 cat > conftest.$ac_ext <<EOF 5665 cat > conftest.$ac_ext <<EOF
5648 #line 5649 "configure" 5666 #line 5667 "configure"
5649 #include "confdefs.h" 5667 #include "confdefs.h"
5650 #include <$ac_hdr> 5668 #include <$ac_hdr>
5651 EOF 5669 EOF
5652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5653 { (eval echo configure:5654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5671 { (eval echo configure:5672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5655 if test -z "$ac_err"; then 5673 if test -z "$ac_err"; then
5656 rm -rf conftest* 5674 rm -rf conftest*
5657 eval "ac_cv_header_$ac_safe=yes" 5675 eval "ac_cv_header_$ac_safe=yes"
5658 else 5676 else
5679 fi 5697 fi
5680 done 5698 done
5681 5699
5682 5700
5683 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5701 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5684 echo "configure:5685: checking for main in -lxml" >&5 5702 echo "configure:5703: checking for main in -lxml" >&5
5685 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5703 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5686 5704
5687 xe_check_libs=" -lxml " 5705 xe_check_libs=" -lxml "
5688 cat > conftest.$ac_ext <<EOF 5706 cat > conftest.$ac_ext <<EOF
5689 #line 5690 "configure" 5707 #line 5708 "configure"
5690 #include "confdefs.h" 5708 #include "confdefs.h"
5691 5709
5692 int main() { 5710 int main() {
5693 main() 5711 main()
5694 ; return 0; } 5712 ; return 0; }
5695 EOF 5713 EOF
5696 if { (eval echo configure:5697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5714 if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5697 rm -rf conftest* 5715 rm -rf conftest*
5698 eval "ac_cv_lib_$ac_lib_var=yes" 5716 eval "ac_cv_lib_$ac_lib_var=yes"
5699 else 5717 else
5700 echo "configure: failed program was:" >&5 5718 echo "configure: failed program was:" >&5
5701 cat conftest.$ac_ext >&5 5719 cat conftest.$ac_ext >&5
5713 fi 5731 fi
5714 5732
5715 5733
5716 5734
5717 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5735 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5718 echo "configure:5719: checking for main in -lglade" >&5 5736 echo "configure:5737: checking for main in -lglade" >&5
5719 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5737 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5720 5738
5721 xe_check_libs=" -lglade " 5739 xe_check_libs=" -lglade "
5722 cat > conftest.$ac_ext <<EOF 5740 cat > conftest.$ac_ext <<EOF
5723 #line 5724 "configure" 5741 #line 5742 "configure"
5724 #include "confdefs.h" 5742 #include "confdefs.h"
5725 5743
5726 int main() { 5744 int main() {
5727 main() 5745 main()
5728 ; return 0; } 5746 ; return 0; }
5729 EOF 5747 EOF
5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5748 if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5731 rm -rf conftest* 5749 rm -rf conftest*
5732 eval "ac_cv_lib_$ac_lib_var=yes" 5750 eval "ac_cv_lib_$ac_lib_var=yes"
5733 else 5751 else
5734 echo "configure: failed program was:" >&5 5752 echo "configure: failed program was:" >&5
5735 cat conftest.$ac_ext >&5 5753 cat conftest.$ac_ext >&5
5747 fi 5765 fi
5748 5766
5749 5767
5750 5768
5751 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5769 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5752 echo "configure:5753: checking for main in -lglade-gnome" >&5 5770 echo "configure:5771: checking for main in -lglade-gnome" >&5
5753 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5771 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5754 5772
5755 xe_check_libs=" -lglade-gnome " 5773 xe_check_libs=" -lglade-gnome "
5756 cat > conftest.$ac_ext <<EOF 5774 cat > conftest.$ac_ext <<EOF
5757 #line 5758 "configure" 5775 #line 5776 "configure"
5758 #include "confdefs.h" 5776 #include "confdefs.h"
5759 5777
5760 int main() { 5778 int main() {
5761 main() 5779 main()
5762 ; return 0; } 5780 ; return 0; }
5763 EOF 5781 EOF
5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5765 rm -rf conftest* 5783 rm -rf conftest*
5766 eval "ac_cv_lib_$ac_lib_var=yes" 5784 eval "ac_cv_lib_$ac_lib_var=yes"
5767 else 5785 else
5768 echo "configure: failed program was:" >&5 5786 echo "configure: failed program was:" >&5
5769 cat conftest.$ac_ext >&5 5787 cat conftest.$ac_ext >&5
5780 echo "$ac_t""no" 1>&6 5798 echo "$ac_t""no" 1>&6
5781 fi 5799 fi
5782 5800
5783 5801
5784 cat > conftest.$ac_ext <<EOF 5802 cat > conftest.$ac_ext <<EOF
5785 #line 5786 "configure" 5803 #line 5804 "configure"
5786 #include "confdefs.h" 5804 #include "confdefs.h"
5787 #include <glade/glade-xml.h> 5805 #include <glade/glade-xml.h>
5788 EOF 5806 EOF
5789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5790 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5808 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5839 # If we find X, set shell vars x_includes and x_libraries to the 5857 # If we find X, set shell vars x_includes and x_libraries to the
5840 # paths, otherwise set no_x=yes. 5858 # paths, otherwise set no_x=yes.
5841 # Uses ac_ vars as temps to allow command line to override cache and checks. 5859 # Uses ac_ vars as temps to allow command line to override cache and checks.
5842 # --without-x overrides everything else, but does not touch the cache. 5860 # --without-x overrides everything else, but does not touch the cache.
5843 echo $ac_n "checking for X""... $ac_c" 1>&6 5861 echo $ac_n "checking for X""... $ac_c" 1>&6
5844 echo "configure:5845: checking for X" >&5 5862 echo "configure:5863: checking for X" >&5
5845 5863
5846 # Check whether --with-x or --without-x was given. 5864 # Check whether --with-x or --without-x was given.
5847 if test "${with_x+set}" = set; then 5865 if test "${with_x+set}" = set; then
5848 withval="$with_x" 5866 withval="$with_x"
5849 : 5867 :
5899 # Guess where to find include files, by looking for this one X11 .h file. 5917 # Guess where to find include files, by looking for this one X11 .h file.
5900 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5918 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5901 5919
5902 # First, try using that file with no special directory specified. 5920 # First, try using that file with no special directory specified.
5903 cat > conftest.$ac_ext <<EOF 5921 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure" 5922 #line 5923 "configure"
5905 #include "confdefs.h" 5923 #include "confdefs.h"
5906 #include <$x_direct_test_include> 5924 #include <$x_direct_test_include>
5907 EOF 5925 EOF
5908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5909 { (eval echo configure:5910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5927 { (eval echo configure:5928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5911 if test -z "$ac_err"; then 5929 if test -z "$ac_err"; then
5912 rm -rf conftest* 5930 rm -rf conftest*
5913 # We can compile using X headers with no special include directory. 5931 # We can compile using X headers with no special include directory.
5914 ac_x_includes= 5932 ac_x_includes=
5973 # See if we find them without any special options. 5991 # See if we find them without any special options.
5974 # Don't add to $LIBS permanently. 5992 # Don't add to $LIBS permanently.
5975 ac_save_LIBS="$LIBS" 5993 ac_save_LIBS="$LIBS"
5976 LIBS="-l$x_direct_test_library $LIBS" 5994 LIBS="-l$x_direct_test_library $LIBS"
5977 cat > conftest.$ac_ext <<EOF 5995 cat > conftest.$ac_ext <<EOF
5978 #line 5979 "configure" 5996 #line 5997 "configure"
5979 #include "confdefs.h" 5997 #include "confdefs.h"
5980 5998
5981 int main() { 5999 int main() {
5982 ${x_direct_test_function}() 6000 ${x_direct_test_function}()
5983 ; return 0; } 6001 ; return 0; }
5984 EOF 6002 EOF
5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6003 if { (eval echo configure:6004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5986 rm -rf conftest* 6004 rm -rf conftest*
5987 LIBS="$ac_save_LIBS" 6005 LIBS="$ac_save_LIBS"
5988 # We can link X programs with no special library path. 6006 # We can link X programs with no special library path.
5989 ac_x_libraries= 6007 ac_x_libraries=
5990 else 6008 else
6089 # For Solaris; some versions of Sun CC require a space after -R and 6107 # For Solaris; some versions of Sun CC require a space after -R and
6090 # others require no space. Words are not sufficient . . . . 6108 # others require no space. Words are not sufficient . . . .
6091 case "`(uname -sr) 2>/dev/null`" in 6109 case "`(uname -sr) 2>/dev/null`" in
6092 "SunOS 5"*) 6110 "SunOS 5"*)
6093 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6111 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6094 echo "configure:6095: checking whether -R must be followed by a space" >&5 6112 echo "configure:6113: checking whether -R must be followed by a space" >&5
6095 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6113 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6096 cat > conftest.$ac_ext <<EOF 6114 cat > conftest.$ac_ext <<EOF
6097 #line 6098 "configure" 6115 #line 6116 "configure"
6098 #include "confdefs.h" 6116 #include "confdefs.h"
6099 6117
6100 int main() { 6118 int main() {
6101 6119
6102 ; return 0; } 6120 ; return 0; }
6103 EOF 6121 EOF
6104 if { (eval echo configure:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6105 rm -rf conftest* 6123 rm -rf conftest*
6106 ac_R_nospace=yes 6124 ac_R_nospace=yes
6107 else 6125 else
6108 echo "configure: failed program was:" >&5 6126 echo "configure: failed program was:" >&5
6109 cat conftest.$ac_ext >&5 6127 cat conftest.$ac_ext >&5
6115 echo "$ac_t""no" 1>&6 6133 echo "$ac_t""no" 1>&6
6116 X_LIBS="$X_LIBS -R$x_libraries" 6134 X_LIBS="$X_LIBS -R$x_libraries"
6117 else 6135 else
6118 LIBS="$ac_xsave_LIBS -R $x_libraries" 6136 LIBS="$ac_xsave_LIBS -R $x_libraries"
6119 cat > conftest.$ac_ext <<EOF 6137 cat > conftest.$ac_ext <<EOF
6120 #line 6121 "configure" 6138 #line 6139 "configure"
6121 #include "confdefs.h" 6139 #include "confdefs.h"
6122 6140
6123 int main() { 6141 int main() {
6124 6142
6125 ; return 0; } 6143 ; return 0; }
6126 EOF 6144 EOF
6127 if { (eval echo configure:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6145 if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6128 rm -rf conftest* 6146 rm -rf conftest*
6129 ac_R_space=yes 6147 ac_R_space=yes
6130 else 6148 else
6131 echo "configure: failed program was:" >&5 6149 echo "configure: failed program was:" >&5
6132 cat conftest.$ac_ext >&5 6150 cat conftest.$ac_ext >&5
6158 if test "$with_dnet" = "no" ; then 6176 if test "$with_dnet" = "no" ; then
6159 ac_cv_lib_dnet_dnet_ntoa=no 6177 ac_cv_lib_dnet_dnet_ntoa=no
6160 else 6178 else
6161 6179
6162 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6180 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6163 echo "configure:6164: checking for dnet_ntoa in -ldnet" >&5 6181 echo "configure:6182: checking for dnet_ntoa in -ldnet" >&5
6164 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6182 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6165 6183
6166 xe_check_libs=" -ldnet " 6184 xe_check_libs=" -ldnet "
6167 cat > conftest.$ac_ext <<EOF 6185 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure" 6186 #line 6187 "configure"
6169 #include "confdefs.h" 6187 #include "confdefs.h"
6170 /* Override any gcc2 internal prototype to avoid an error. */ 6188 /* Override any gcc2 internal prototype to avoid an error. */
6171 /* We use char because int might match the return type of a gcc2 6189 /* We use char because int might match the return type of a gcc2
6172 builtin and then its argument prototype would still apply. */ 6190 builtin and then its argument prototype would still apply. */
6173 char dnet_ntoa(); 6191 char dnet_ntoa();
6174 6192
6175 int main() { 6193 int main() {
6176 dnet_ntoa() 6194 dnet_ntoa()
6177 ; return 0; } 6195 ; return 0; }
6178 EOF 6196 EOF
6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6197 if { (eval echo configure:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6180 rm -rf conftest* 6198 rm -rf conftest*
6181 eval "ac_cv_lib_$ac_lib_var=yes" 6199 eval "ac_cv_lib_$ac_lib_var=yes"
6182 else 6200 else
6183 echo "configure: failed program was:" >&5 6201 echo "configure: failed program was:" >&5
6184 cat conftest.$ac_ext >&5 6202 cat conftest.$ac_ext >&5
6198 fi 6216 fi
6199 6217
6200 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6218 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6201 6219
6202 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6220 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6203 echo "configure:6204: checking for dnet_ntoa in -ldnet_stub" >&5 6221 echo "configure:6222: checking for dnet_ntoa in -ldnet_stub" >&5
6204 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6222 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6205 6223
6206 xe_check_libs=" -ldnet_stub " 6224 xe_check_libs=" -ldnet_stub "
6207 cat > conftest.$ac_ext <<EOF 6225 cat > conftest.$ac_ext <<EOF
6208 #line 6209 "configure" 6226 #line 6227 "configure"
6209 #include "confdefs.h" 6227 #include "confdefs.h"
6210 /* Override any gcc2 internal prototype to avoid an error. */ 6228 /* Override any gcc2 internal prototype to avoid an error. */
6211 /* We use char because int might match the return type of a gcc2 6229 /* We use char because int might match the return type of a gcc2
6212 builtin and then its argument prototype would still apply. */ 6230 builtin and then its argument prototype would still apply. */
6213 char dnet_ntoa(); 6231 char dnet_ntoa();
6214 6232
6215 int main() { 6233 int main() {
6216 dnet_ntoa() 6234 dnet_ntoa()
6217 ; return 0; } 6235 ; return 0; }
6218 EOF 6236 EOF
6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6237 if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6220 rm -rf conftest* 6238 rm -rf conftest*
6221 eval "ac_cv_lib_$ac_lib_var=yes" 6239 eval "ac_cv_lib_$ac_lib_var=yes"
6222 else 6240 else
6223 echo "configure: failed program was:" >&5 6241 echo "configure: failed program was:" >&5
6224 cat conftest.$ac_ext >&5 6242 cat conftest.$ac_ext >&5
6243 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6261 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6244 # needs -lnsl. 6262 # needs -lnsl.
6245 # The nsl library prevents programs from opening the X display 6263 # The nsl library prevents programs from opening the X display
6246 # on Irix 5.2, according to dickey@clark.net. 6264 # on Irix 5.2, according to dickey@clark.net.
6247 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6265 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6248 echo "configure:6249: checking for gethostbyname" >&5 6266 echo "configure:6267: checking for gethostbyname" >&5
6249 6267
6250 cat > conftest.$ac_ext <<EOF 6268 cat > conftest.$ac_ext <<EOF
6251 #line 6252 "configure" 6269 #line 6270 "configure"
6252 #include "confdefs.h" 6270 #include "confdefs.h"
6253 /* System header to define __stub macros and hopefully few prototypes, 6271 /* System header to define __stub macros and hopefully few prototypes,
6254 which can conflict with char gethostbyname(); below. */ 6272 which can conflict with char gethostbyname(); below. */
6255 #include <assert.h> 6273 #include <assert.h>
6256 /* Override any gcc2 internal prototype to avoid an error. */ 6274 /* Override any gcc2 internal prototype to avoid an error. */
6269 gethostbyname(); 6287 gethostbyname();
6270 #endif 6288 #endif
6271 6289
6272 ; return 0; } 6290 ; return 0; }
6273 EOF 6291 EOF
6274 if { (eval echo configure:6275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6292 if { (eval echo configure:6293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6275 rm -rf conftest* 6293 rm -rf conftest*
6276 eval "ac_cv_func_gethostbyname=yes" 6294 eval "ac_cv_func_gethostbyname=yes"
6277 else 6295 else
6278 echo "configure: failed program was:" >&5 6296 echo "configure: failed program was:" >&5
6279 cat conftest.$ac_ext >&5 6297 cat conftest.$ac_ext >&5
6290 fi 6308 fi
6291 6309
6292 if test $ac_cv_func_gethostbyname = no; then 6310 if test $ac_cv_func_gethostbyname = no; then
6293 6311
6294 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6312 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6295 echo "configure:6296: checking for gethostbyname in -lnsl" >&5 6313 echo "configure:6314: checking for gethostbyname in -lnsl" >&5
6296 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6314 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6297 6315
6298 xe_check_libs=" -lnsl " 6316 xe_check_libs=" -lnsl "
6299 cat > conftest.$ac_ext <<EOF 6317 cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure" 6318 #line 6319 "configure"
6301 #include "confdefs.h" 6319 #include "confdefs.h"
6302 /* Override any gcc2 internal prototype to avoid an error. */ 6320 /* Override any gcc2 internal prototype to avoid an error. */
6303 /* We use char because int might match the return type of a gcc2 6321 /* We use char because int might match the return type of a gcc2
6304 builtin and then its argument prototype would still apply. */ 6322 builtin and then its argument prototype would still apply. */
6305 char gethostbyname(); 6323 char gethostbyname();
6306 6324
6307 int main() { 6325 int main() {
6308 gethostbyname() 6326 gethostbyname()
6309 ; return 0; } 6327 ; return 0; }
6310 EOF 6328 EOF
6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6329 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6312 rm -rf conftest* 6330 rm -rf conftest*
6313 eval "ac_cv_lib_$ac_lib_var=yes" 6331 eval "ac_cv_lib_$ac_lib_var=yes"
6314 else 6332 else
6315 echo "configure: failed program was:" >&5 6333 echo "configure: failed program was:" >&5
6316 cat conftest.$ac_ext >&5 6334 cat conftest.$ac_ext >&5
6336 # on later versions), says simon@lia.di.epfl.ch: it contains 6354 # on later versions), says simon@lia.di.epfl.ch: it contains
6337 # gethostby* variants that don't use the nameserver (or something). 6355 # gethostby* variants that don't use the nameserver (or something).
6338 # -lsocket must be given before -lnsl if both are needed. 6356 # -lsocket must be given before -lnsl if both are needed.
6339 # We assume that if connect needs -lnsl, so does gethostbyname. 6357 # We assume that if connect needs -lnsl, so does gethostbyname.
6340 echo $ac_n "checking for connect""... $ac_c" 1>&6 6358 echo $ac_n "checking for connect""... $ac_c" 1>&6
6341 echo "configure:6342: checking for connect" >&5 6359 echo "configure:6360: checking for connect" >&5
6342 6360
6343 cat > conftest.$ac_ext <<EOF 6361 cat > conftest.$ac_ext <<EOF
6344 #line 6345 "configure" 6362 #line 6363 "configure"
6345 #include "confdefs.h" 6363 #include "confdefs.h"
6346 /* System header to define __stub macros and hopefully few prototypes, 6364 /* System header to define __stub macros and hopefully few prototypes,
6347 which can conflict with char connect(); below. */ 6365 which can conflict with char connect(); below. */
6348 #include <assert.h> 6366 #include <assert.h>
6349 /* Override any gcc2 internal prototype to avoid an error. */ 6367 /* Override any gcc2 internal prototype to avoid an error. */
6362 connect(); 6380 connect();
6363 #endif 6381 #endif
6364 6382
6365 ; return 0; } 6383 ; return 0; }
6366 EOF 6384 EOF
6367 if { (eval echo configure:6368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6368 rm -rf conftest* 6386 rm -rf conftest*
6369 eval "ac_cv_func_connect=yes" 6387 eval "ac_cv_func_connect=yes"
6370 else 6388 else
6371 echo "configure: failed program was:" >&5 6389 echo "configure: failed program was:" >&5
6372 cat conftest.$ac_ext >&5 6390 cat conftest.$ac_ext >&5
6385 if test $ac_cv_func_connect = no; then 6403 if test $ac_cv_func_connect = no; then
6386 6404
6387 xe_msg_checking="for connect in -lsocket" 6405 xe_msg_checking="for connect in -lsocket"
6388 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6406 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6407 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6390 echo "configure:6391: checking "$xe_msg_checking"" >&5 6408 echo "configure:6409: checking "$xe_msg_checking"" >&5
6391 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6409 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6392 6410
6393 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6411 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6394 cat > conftest.$ac_ext <<EOF 6412 cat > conftest.$ac_ext <<EOF
6395 #line 6396 "configure" 6413 #line 6414 "configure"
6396 #include "confdefs.h" 6414 #include "confdefs.h"
6397 /* Override any gcc2 internal prototype to avoid an error. */ 6415 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2 6416 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */ 6417 builtin and then its argument prototype would still apply. */
6400 char connect(); 6418 char connect();
6401 6419
6402 int main() { 6420 int main() {
6403 connect() 6421 connect()
6404 ; return 0; } 6422 ; return 0; }
6405 EOF 6423 EOF
6406 if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6424 if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6407 rm -rf conftest* 6425 rm -rf conftest*
6408 eval "ac_cv_lib_$ac_lib_var=yes" 6426 eval "ac_cv_lib_$ac_lib_var=yes"
6409 else 6427 else
6410 echo "configure: failed program was:" >&5 6428 echo "configure: failed program was:" >&5
6411 cat conftest.$ac_ext >&5 6429 cat conftest.$ac_ext >&5
6425 6443
6426 fi 6444 fi
6427 6445
6428 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6446 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6429 echo $ac_n "checking for remove""... $ac_c" 1>&6 6447 echo $ac_n "checking for remove""... $ac_c" 1>&6
6430 echo "configure:6431: checking for remove" >&5 6448 echo "configure:6449: checking for remove" >&5
6431 6449
6432 cat > conftest.$ac_ext <<EOF 6450 cat > conftest.$ac_ext <<EOF
6433 #line 6434 "configure" 6451 #line 6452 "configure"
6434 #include "confdefs.h" 6452 #include "confdefs.h"
6435 /* System header to define __stub macros and hopefully few prototypes, 6453 /* System header to define __stub macros and hopefully few prototypes,
6436 which can conflict with char remove(); below. */ 6454 which can conflict with char remove(); below. */
6437 #include <assert.h> 6455 #include <assert.h>
6438 /* Override any gcc2 internal prototype to avoid an error. */ 6456 /* Override any gcc2 internal prototype to avoid an error. */
6451 remove(); 6469 remove();
6452 #endif 6470 #endif
6453 6471
6454 ; return 0; } 6472 ; return 0; }
6455 EOF 6473 EOF
6456 if { (eval echo configure:6457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6474 if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6457 rm -rf conftest* 6475 rm -rf conftest*
6458 eval "ac_cv_func_remove=yes" 6476 eval "ac_cv_func_remove=yes"
6459 else 6477 else
6460 echo "configure: failed program was:" >&5 6478 echo "configure: failed program was:" >&5
6461 cat conftest.$ac_ext >&5 6479 cat conftest.$ac_ext >&5
6472 fi 6490 fi
6473 6491
6474 if test $ac_cv_func_remove = no; then 6492 if test $ac_cv_func_remove = no; then
6475 6493
6476 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6494 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6477 echo "configure:6478: checking for remove in -lposix" >&5 6495 echo "configure:6496: checking for remove in -lposix" >&5
6478 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6496 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6479 6497
6480 xe_check_libs=" -lposix " 6498 xe_check_libs=" -lposix "
6481 cat > conftest.$ac_ext <<EOF 6499 cat > conftest.$ac_ext <<EOF
6482 #line 6483 "configure" 6500 #line 6501 "configure"
6483 #include "confdefs.h" 6501 #include "confdefs.h"
6484 /* Override any gcc2 internal prototype to avoid an error. */ 6502 /* Override any gcc2 internal prototype to avoid an error. */
6485 /* We use char because int might match the return type of a gcc2 6503 /* We use char because int might match the return type of a gcc2
6486 builtin and then its argument prototype would still apply. */ 6504 builtin and then its argument prototype would still apply. */
6487 char remove(); 6505 char remove();
6488 6506
6489 int main() { 6507 int main() {
6490 remove() 6508 remove()
6491 ; return 0; } 6509 ; return 0; }
6492 EOF 6510 EOF
6493 if { (eval echo configure:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6511 if { (eval echo configure:6512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6494 rm -rf conftest* 6512 rm -rf conftest*
6495 eval "ac_cv_lib_$ac_lib_var=yes" 6513 eval "ac_cv_lib_$ac_lib_var=yes"
6496 else 6514 else
6497 echo "configure: failed program was:" >&5 6515 echo "configure: failed program was:" >&5
6498 cat conftest.$ac_ext >&5 6516 cat conftest.$ac_ext >&5
6512 6530
6513 fi 6531 fi
6514 6532
6515 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6516 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6534 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6517 echo "configure:6518: checking for shmat" >&5 6535 echo "configure:6536: checking for shmat" >&5
6518 6536
6519 cat > conftest.$ac_ext <<EOF 6537 cat > conftest.$ac_ext <<EOF
6520 #line 6521 "configure" 6538 #line 6539 "configure"
6521 #include "confdefs.h" 6539 #include "confdefs.h"
6522 /* System header to define __stub macros and hopefully few prototypes, 6540 /* System header to define __stub macros and hopefully few prototypes,
6523 which can conflict with char shmat(); below. */ 6541 which can conflict with char shmat(); below. */
6524 #include <assert.h> 6542 #include <assert.h>
6525 /* Override any gcc2 internal prototype to avoid an error. */ 6543 /* Override any gcc2 internal prototype to avoid an error. */
6538 shmat(); 6556 shmat();
6539 #endif 6557 #endif
6540 6558
6541 ; return 0; } 6559 ; return 0; }
6542 EOF 6560 EOF
6543 if { (eval echo configure:6544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6561 if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6544 rm -rf conftest* 6562 rm -rf conftest*
6545 eval "ac_cv_func_shmat=yes" 6563 eval "ac_cv_func_shmat=yes"
6546 else 6564 else
6547 echo "configure: failed program was:" >&5 6565 echo "configure: failed program was:" >&5
6548 cat conftest.$ac_ext >&5 6566 cat conftest.$ac_ext >&5
6559 fi 6577 fi
6560 6578
6561 if test $ac_cv_func_shmat = no; then 6579 if test $ac_cv_func_shmat = no; then
6562 6580
6563 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6581 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6564 echo "configure:6565: checking for shmat in -lipc" >&5 6582 echo "configure:6583: checking for shmat in -lipc" >&5
6565 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6583 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6566 6584
6567 xe_check_libs=" -lipc " 6585 xe_check_libs=" -lipc "
6568 cat > conftest.$ac_ext <<EOF 6586 cat > conftest.$ac_ext <<EOF
6569 #line 6570 "configure" 6587 #line 6588 "configure"
6570 #include "confdefs.h" 6588 #include "confdefs.h"
6571 /* Override any gcc2 internal prototype to avoid an error. */ 6589 /* Override any gcc2 internal prototype to avoid an error. */
6572 /* We use char because int might match the return type of a gcc2 6590 /* We use char because int might match the return type of a gcc2
6573 builtin and then its argument prototype would still apply. */ 6591 builtin and then its argument prototype would still apply. */
6574 char shmat(); 6592 char shmat();
6575 6593
6576 int main() { 6594 int main() {
6577 shmat() 6595 shmat()
6578 ; return 0; } 6596 ; return 0; }
6579 EOF 6597 EOF
6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6598 if { (eval echo configure:6599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6581 rm -rf conftest* 6599 rm -rf conftest*
6582 eval "ac_cv_lib_$ac_lib_var=yes" 6600 eval "ac_cv_lib_$ac_lib_var=yes"
6583 else 6601 else
6584 echo "configure: failed program was:" >&5 6602 echo "configure: failed program was:" >&5
6585 cat conftest.$ac_ext >&5 6603 cat conftest.$ac_ext >&5
6611 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6629 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6612 6630
6613 xe_msg_checking="for IceConnectionNumber in -lICE" 6631 xe_msg_checking="for IceConnectionNumber in -lICE"
6614 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6632 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6615 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6633 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6616 echo "configure:6617: checking "$xe_msg_checking"" >&5 6634 echo "configure:6635: checking "$xe_msg_checking"" >&5
6617 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6635 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6618 6636
6619 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6637 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6620 cat > conftest.$ac_ext <<EOF 6638 cat > conftest.$ac_ext <<EOF
6621 #line 6622 "configure" 6639 #line 6640 "configure"
6622 #include "confdefs.h" 6640 #include "confdefs.h"
6623 /* Override any gcc2 internal prototype to avoid an error. */ 6641 /* Override any gcc2 internal prototype to avoid an error. */
6624 /* We use char because int might match the return type of a gcc2 6642 /* We use char because int might match the return type of a gcc2
6625 builtin and then its argument prototype would still apply. */ 6643 builtin and then its argument prototype would still apply. */
6626 char IceConnectionNumber(); 6644 char IceConnectionNumber();
6627 6645
6628 int main() { 6646 int main() {
6629 IceConnectionNumber() 6647 IceConnectionNumber()
6630 ; return 0; } 6648 ; return 0; }
6631 EOF 6649 EOF
6632 if { (eval echo configure:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6650 if { (eval echo configure:6651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6633 rm -rf conftest* 6651 rm -rf conftest*
6634 eval "ac_cv_lib_$ac_lib_var=yes" 6652 eval "ac_cv_lib_$ac_lib_var=yes"
6635 else 6653 else
6636 echo "configure: failed program was:" >&5 6654 echo "configure: failed program was:" >&5
6637 cat conftest.$ac_ext >&5 6655 cat conftest.$ac_ext >&5
6673 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6691 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6674 6692
6675 6693
6676 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6694 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6677 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6695 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6678 echo "configure:6679: checking for Xm/Xm.h" >&5 6696 echo "configure:6697: checking for Xm/Xm.h" >&5
6679 6697
6680 cat > conftest.$ac_ext <<EOF 6698 cat > conftest.$ac_ext <<EOF
6681 #line 6682 "configure" 6699 #line 6700 "configure"
6682 #include "confdefs.h" 6700 #include "confdefs.h"
6683 #include <Xm/Xm.h> 6701 #include <Xm/Xm.h>
6684 EOF 6702 EOF
6685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6686 { (eval echo configure:6687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6704 { (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6688 if test -z "$ac_err"; then 6706 if test -z "$ac_err"; then
6689 rm -rf conftest* 6707 rm -rf conftest*
6690 eval "ac_cv_header_$ac_safe=yes" 6708 eval "ac_cv_header_$ac_safe=yes"
6691 else 6709 else
6698 rm -f conftest* 6716 rm -f conftest*
6699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6700 echo "$ac_t""yes" 1>&6 6718 echo "$ac_t""yes" 1>&6
6701 6719
6702 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6720 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6703 echo "configure:6704: checking for XmStringFree in -lXm" >&5 6721 echo "configure:6722: checking for XmStringFree in -lXm" >&5
6704 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6722 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6705 6723
6706 xe_check_libs=" -lXm " 6724 xe_check_libs=" -lXm "
6707 cat > conftest.$ac_ext <<EOF 6725 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure" 6726 #line 6727 "configure"
6709 #include "confdefs.h" 6727 #include "confdefs.h"
6710 /* Override any gcc2 internal prototype to avoid an error. */ 6728 /* Override any gcc2 internal prototype to avoid an error. */
6711 /* We use char because int might match the return type of a gcc2 6729 /* We use char because int might match the return type of a gcc2
6712 builtin and then its argument prototype would still apply. */ 6730 builtin and then its argument prototype would still apply. */
6713 char XmStringFree(); 6731 char XmStringFree();
6714 6732
6715 int main() { 6733 int main() {
6716 XmStringFree() 6734 XmStringFree()
6717 ; return 0; } 6735 ; return 0; }
6718 EOF 6736 EOF
6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6720 rm -rf conftest* 6738 rm -rf conftest*
6721 eval "ac_cv_lib_$ac_lib_var=yes" 6739 eval "ac_cv_lib_$ac_lib_var=yes"
6722 else 6740 else
6723 echo "configure: failed program was:" >&5 6741 echo "configure: failed program was:" >&5
6724 cat conftest.$ac_ext >&5 6742 cat conftest.$ac_ext >&5
6866 EOF 6884 EOF
6867 } 6885 }
6868 6886
6869 6887
6870 echo "checking for X defines extracted by xmkmf" 1>&6 6888 echo "checking for X defines extracted by xmkmf" 1>&6
6871 echo "configure:6872: checking for X defines extracted by xmkmf" >&5 6889 echo "configure:6890: checking for X defines extracted by xmkmf" >&5
6872 rm -fr conftestdir 6890 rm -fr conftestdir
6873 if mkdir conftestdir; then 6891 if mkdir conftestdir; then
6874 cd conftestdir 6892 cd conftestdir
6875 cat > Imakefile <<'EOF' 6893 cat > Imakefile <<'EOF'
6876 xetest: 6894 xetest:
6915 done 6933 done
6916 fi 6934 fi
6917 6935
6918 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6936 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6919 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6937 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6920 echo "configure:6921: checking for X11/Intrinsic.h" >&5 6938 echo "configure:6939: checking for X11/Intrinsic.h" >&5
6921 6939
6922 cat > conftest.$ac_ext <<EOF 6940 cat > conftest.$ac_ext <<EOF
6923 #line 6924 "configure" 6941 #line 6942 "configure"
6924 #include "confdefs.h" 6942 #include "confdefs.h"
6925 #include <X11/Intrinsic.h> 6943 #include <X11/Intrinsic.h>
6926 EOF 6944 EOF
6927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6928 { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6946 { (eval echo configure:6947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6930 if test -z "$ac_err"; then 6948 if test -z "$ac_err"; then
6931 rm -rf conftest* 6949 rm -rf conftest*
6932 eval "ac_cv_header_$ac_safe=yes" 6950 eval "ac_cv_header_$ac_safe=yes"
6933 else 6951 else
6947 fi 6965 fi
6948 6966
6949 6967
6950 6968
6951 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6969 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6952 echo "configure:6953: checking for XOpenDisplay in -lX11" >&5 6970 echo "configure:6971: checking for XOpenDisplay in -lX11" >&5
6953 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6971 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6954 6972
6955 xe_check_libs=" -lX11 " 6973 xe_check_libs=" -lX11 "
6956 cat > conftest.$ac_ext <<EOF 6974 cat > conftest.$ac_ext <<EOF
6957 #line 6958 "configure" 6975 #line 6976 "configure"
6958 #include "confdefs.h" 6976 #include "confdefs.h"
6959 /* Override any gcc2 internal prototype to avoid an error. */ 6977 /* Override any gcc2 internal prototype to avoid an error. */
6960 /* We use char because int might match the return type of a gcc2 6978 /* We use char because int might match the return type of a gcc2
6961 builtin and then its argument prototype would still apply. */ 6979 builtin and then its argument prototype would still apply. */
6962 char XOpenDisplay(); 6980 char XOpenDisplay();
6963 6981
6964 int main() { 6982 int main() {
6965 XOpenDisplay() 6983 XOpenDisplay()
6966 ; return 0; } 6984 ; return 0; }
6967 EOF 6985 EOF
6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6986 if { (eval echo configure:6987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6969 rm -rf conftest* 6987 rm -rf conftest*
6970 eval "ac_cv_lib_$ac_lib_var=yes" 6988 eval "ac_cv_lib_$ac_lib_var=yes"
6971 else 6989 else
6972 echo "configure: failed program was:" >&5 6990 echo "configure: failed program was:" >&5
6973 cat conftest.$ac_ext >&5 6991 cat conftest.$ac_ext >&5
6988 if test "$have_lib_x11" != "yes"; then 7006 if test "$have_lib_x11" != "yes"; then
6989 7007
6990 xe_msg_checking="for XGetFontProperty in -lX11" 7008 xe_msg_checking="for XGetFontProperty in -lX11"
6991 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7009 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
6992 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7010 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6993 echo "configure:6994: checking "$xe_msg_checking"" >&5 7011 echo "configure:7012: checking "$xe_msg_checking"" >&5
6994 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7012 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
6995 7013
6996 xe_check_libs=" -lX11 -b i486-linuxaout" 7014 xe_check_libs=" -lX11 -b i486-linuxaout"
6997 cat > conftest.$ac_ext <<EOF 7015 cat > conftest.$ac_ext <<EOF
6998 #line 6999 "configure" 7016 #line 7017 "configure"
6999 #include "confdefs.h" 7017 #include "confdefs.h"
7000 /* Override any gcc2 internal prototype to avoid an error. */ 7018 /* Override any gcc2 internal prototype to avoid an error. */
7001 /* We use char because int might match the return type of a gcc2 7019 /* We use char because int might match the return type of a gcc2
7002 builtin and then its argument prototype would still apply. */ 7020 builtin and then its argument prototype would still apply. */
7003 char XGetFontProperty(); 7021 char XGetFontProperty();
7004 7022
7005 int main() { 7023 int main() {
7006 XGetFontProperty() 7024 XGetFontProperty()
7007 ; return 0; } 7025 ; return 0; }
7008 EOF 7026 EOF
7009 if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7010 rm -rf conftest* 7028 rm -rf conftest*
7011 eval "ac_cv_lib_$ac_lib_var=yes" 7029 eval "ac_cv_lib_$ac_lib_var=yes"
7012 else 7030 else
7013 echo "configure: failed program was:" >&5 7031 echo "configure: failed program was:" >&5
7014 cat conftest.$ac_ext >&5 7032 cat conftest.$ac_ext >&5
7031 libs_x="-lX11" 7049 libs_x="-lX11"
7032 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7050 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7033 7051
7034 7052
7035 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7053 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7036 echo "configure:7037: checking for XShapeSelectInput in -lXext" >&5 7054 echo "configure:7055: checking for XShapeSelectInput in -lXext" >&5
7037 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7055 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7038 7056
7039 xe_check_libs=" -lXext " 7057 xe_check_libs=" -lXext "
7040 cat > conftest.$ac_ext <<EOF 7058 cat > conftest.$ac_ext <<EOF
7041 #line 7042 "configure" 7059 #line 7060 "configure"
7042 #include "confdefs.h" 7060 #include "confdefs.h"
7043 /* Override any gcc2 internal prototype to avoid an error. */ 7061 /* Override any gcc2 internal prototype to avoid an error. */
7044 /* We use char because int might match the return type of a gcc2 7062 /* We use char because int might match the return type of a gcc2
7045 builtin and then its argument prototype would still apply. */ 7063 builtin and then its argument prototype would still apply. */
7046 char XShapeSelectInput(); 7064 char XShapeSelectInput();
7047 7065
7048 int main() { 7066 int main() {
7049 XShapeSelectInput() 7067 XShapeSelectInput()
7050 ; return 0; } 7068 ; return 0; }
7051 EOF 7069 EOF
7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7053 rm -rf conftest* 7071 rm -rf conftest*
7054 eval "ac_cv_lib_$ac_lib_var=yes" 7072 eval "ac_cv_lib_$ac_lib_var=yes"
7055 else 7073 else
7056 echo "configure: failed program was:" >&5 7074 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5 7075 cat conftest.$ac_ext >&5
7070 7088
7071 7089
7072 7090
7073 7091
7074 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7092 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7075 echo "configure:7076: checking for XtOpenDisplay in -lXt" >&5 7093 echo "configure:7094: checking for XtOpenDisplay in -lXt" >&5
7076 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7094 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7077 7095
7078 xe_check_libs=" -lXt " 7096 xe_check_libs=" -lXt "
7079 cat > conftest.$ac_ext <<EOF 7097 cat > conftest.$ac_ext <<EOF
7080 #line 7081 "configure" 7098 #line 7099 "configure"
7081 #include "confdefs.h" 7099 #include "confdefs.h"
7082 /* Override any gcc2 internal prototype to avoid an error. */ 7100 /* Override any gcc2 internal prototype to avoid an error. */
7083 /* We use char because int might match the return type of a gcc2 7101 /* We use char because int might match the return type of a gcc2
7084 builtin and then its argument prototype would still apply. */ 7102 builtin and then its argument prototype would still apply. */
7085 char XtOpenDisplay(); 7103 char XtOpenDisplay();
7086 7104
7087 int main() { 7105 int main() {
7088 XtOpenDisplay() 7106 XtOpenDisplay()
7089 ; return 0; } 7107 ; return 0; }
7090 EOF 7108 EOF
7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7109 if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7092 rm -rf conftest* 7110 rm -rf conftest*
7093 eval "ac_cv_lib_$ac_lib_var=yes" 7111 eval "ac_cv_lib_$ac_lib_var=yes"
7094 else 7112 else
7095 echo "configure: failed program was:" >&5 7113 echo "configure: failed program was:" >&5
7096 cat conftest.$ac_ext >&5 7114 cat conftest.$ac_ext >&5
7109 fi 7127 fi
7110 7128
7111 7129
7112 7130
7113 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7131 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7114 echo "configure:7115: checking the version of X11 being used" >&5 7132 echo "configure:7133: checking the version of X11 being used" >&5
7115 cat > conftest.$ac_ext <<EOF 7133 cat > conftest.$ac_ext <<EOF
7116 #line 7117 "configure" 7134 #line 7135 "configure"
7117 #include "confdefs.h" 7135 #include "confdefs.h"
7118 #include <X11/Intrinsic.h> 7136 #include <X11/Intrinsic.h>
7119 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7137 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7120 EOF 7138 EOF
7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7139 if { (eval echo configure:7140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7122 then 7140 then
7123 ./conftest foobar; x11_release=$? 7141 ./conftest foobar; x11_release=$?
7124 else 7142 else
7125 conftest_rc="$?" 7143 conftest_rc="$?"
7126 echo "configure: failed program was:" >&5 7144 echo "configure: failed program was:" >&5
7147 fi 7165 fi
7148 7166
7149 for ac_func in XConvertCase 7167 for ac_func in XConvertCase
7150 do 7168 do
7151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7152 echo "configure:7153: checking for $ac_func" >&5 7170 echo "configure:7171: checking for $ac_func" >&5
7153 7171
7154 cat > conftest.$ac_ext <<EOF 7172 cat > conftest.$ac_ext <<EOF
7155 #line 7156 "configure" 7173 #line 7174 "configure"
7156 #include "confdefs.h" 7174 #include "confdefs.h"
7157 /* System header to define __stub macros and hopefully few prototypes, 7175 /* System header to define __stub macros and hopefully few prototypes,
7158 which can conflict with char $ac_func(); below. */ 7176 which can conflict with char $ac_func(); below. */
7159 #include <assert.h> 7177 #include <assert.h>
7160 /* Override any gcc2 internal prototype to avoid an error. */ 7178 /* Override any gcc2 internal prototype to avoid an error. */
7173 $ac_func(); 7191 $ac_func();
7174 #endif 7192 #endif
7175 7193
7176 ; return 0; } 7194 ; return 0; }
7177 EOF 7195 EOF
7178 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7179 rm -rf conftest* 7197 rm -rf conftest*
7180 eval "ac_cv_func_$ac_func=yes" 7198 eval "ac_cv_func_$ac_func=yes"
7181 else 7199 else
7182 echo "configure: failed program was:" >&5 7200 echo "configure: failed program was:" >&5
7183 cat conftest.$ac_ext >&5 7201 cat conftest.$ac_ext >&5
7205 7223
7206 for ac_hdr in X11/Xlocale.h 7224 for ac_hdr in X11/Xlocale.h
7207 do 7225 do
7208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7226 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7210 echo "configure:7211: checking for $ac_hdr" >&5 7228 echo "configure:7229: checking for $ac_hdr" >&5
7211 7229
7212 cat > conftest.$ac_ext <<EOF 7230 cat > conftest.$ac_ext <<EOF
7213 #line 7214 "configure" 7231 #line 7232 "configure"
7214 #include "confdefs.h" 7232 #include "confdefs.h"
7215 #include <$ac_hdr> 7233 #include <$ac_hdr>
7216 EOF 7234 EOF
7217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7218 { (eval echo configure:7219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7236 { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7220 if test -z "$ac_err"; then 7238 if test -z "$ac_err"; then
7221 rm -rf conftest* 7239 rm -rf conftest*
7222 eval "ac_cv_header_$ac_safe=yes" 7240 eval "ac_cv_header_$ac_safe=yes"
7223 else 7241 else
7246 7264
7247 7265
7248 for ac_func in XRegisterIMInstantiateCallback 7266 for ac_func in XRegisterIMInstantiateCallback
7249 do 7267 do
7250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7251 echo "configure:7252: checking for $ac_func" >&5 7269 echo "configure:7270: checking for $ac_func" >&5
7252 7270
7253 cat > conftest.$ac_ext <<EOF 7271 cat > conftest.$ac_ext <<EOF
7254 #line 7255 "configure" 7272 #line 7273 "configure"
7255 #include "confdefs.h" 7273 #include "confdefs.h"
7256 /* System header to define __stub macros and hopefully few prototypes, 7274 /* System header to define __stub macros and hopefully few prototypes,
7257 which can conflict with char $ac_func(); below. */ 7275 which can conflict with char $ac_func(); below. */
7258 #include <assert.h> 7276 #include <assert.h>
7259 /* Override any gcc2 internal prototype to avoid an error. */ 7277 /* Override any gcc2 internal prototype to avoid an error. */
7272 $ac_func(); 7290 $ac_func();
7273 #endif 7291 #endif
7274 7292
7275 ; return 0; } 7293 ; return 0; }
7276 EOF 7294 EOF
7277 if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7278 rm -rf conftest* 7296 rm -rf conftest*
7279 eval "ac_cv_func_$ac_func=yes" 7297 eval "ac_cv_func_$ac_func=yes"
7280 else 7298 else
7281 echo "configure: failed program was:" >&5 7299 echo "configure: failed program was:" >&5
7282 cat conftest.$ac_ext >&5 7300 cat conftest.$ac_ext >&5
7300 echo "$ac_t""no" 1>&6 7318 echo "$ac_t""no" 1>&6
7301 fi 7319 fi
7302 done 7320 done
7303 7321
7304 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7322 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7305 echo "configure:7306: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7323 echo "configure:7324: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7306 cat > conftest.$ac_ext <<EOF 7324 cat > conftest.$ac_ext <<EOF
7307 #line 7308 "configure" 7325 #line 7326 "configure"
7308 #include "confdefs.h" 7326 #include "confdefs.h"
7309 7327
7310 #define NeedFunctionPrototypes 1 7328 #define NeedFunctionPrototypes 1
7311 #include <X11/Xlib.h> 7329 #include <X11/Xlib.h>
7312 extern Bool XRegisterIMInstantiateCallback( 7330 extern Bool XRegisterIMInstantiateCallback(
7314 7332
7315 int main() { 7333 int main() {
7316 7334
7317 ; return 0; } 7335 ; return 0; }
7318 EOF 7336 EOF
7319 if { (eval echo configure:7320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7337 if { (eval echo configure:7338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7320 rm -rf conftest* 7338 rm -rf conftest*
7321 echo "$ac_t""yes" 1>&6 7339 echo "$ac_t""yes" 1>&6
7322 else 7340 else
7323 echo "configure: failed program was:" >&5 7341 echo "configure: failed program was:" >&5
7324 cat conftest.$ac_ext >&5 7342 cat conftest.$ac_ext >&5
7335 fi 7353 fi
7336 rm -f conftest* 7354 rm -f conftest*
7337 7355
7338 test -z "$with_xmu" && { 7356 test -z "$with_xmu" && {
7339 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7357 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7340 echo "configure:7341: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7358 echo "configure:7359: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7341 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7359 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7342 7360
7343 xe_check_libs=" -lXmu " 7361 xe_check_libs=" -lXmu "
7344 cat > conftest.$ac_ext <<EOF 7362 cat > conftest.$ac_ext <<EOF
7345 #line 7346 "configure" 7363 #line 7364 "configure"
7346 #include "confdefs.h" 7364 #include "confdefs.h"
7347 /* Override any gcc2 internal prototype to avoid an error. */ 7365 /* Override any gcc2 internal prototype to avoid an error. */
7348 /* We use char because int might match the return type of a gcc2 7366 /* We use char because int might match the return type of a gcc2
7349 builtin and then its argument prototype would still apply. */ 7367 builtin and then its argument prototype would still apply. */
7350 char XmuReadBitmapDataFromFile(); 7368 char XmuReadBitmapDataFromFile();
7351 7369
7352 int main() { 7370 int main() {
7353 XmuReadBitmapDataFromFile() 7371 XmuReadBitmapDataFromFile()
7354 ; return 0; } 7372 ; return 0; }
7355 EOF 7373 EOF
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7357 rm -rf conftest* 7375 rm -rf conftest*
7358 eval "ac_cv_lib_$ac_lib_var=yes" 7376 eval "ac_cv_lib_$ac_lib_var=yes"
7359 else 7377 else
7360 echo "configure: failed program was:" >&5 7378 echo "configure: failed program was:" >&5
7361 cat conftest.$ac_ext >&5 7379 cat conftest.$ac_ext >&5
7390 7408
7391 fi 7409 fi
7392 7410
7393 7411
7394 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7412 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7395 echo "configure:7396: checking for main in -lXbsd" >&5 7413 echo "configure:7414: checking for main in -lXbsd" >&5
7396 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7414 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7397 7415
7398 xe_check_libs=" -lXbsd " 7416 xe_check_libs=" -lXbsd "
7399 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7400 #line 7401 "configure" 7418 #line 7419 "configure"
7401 #include "confdefs.h" 7419 #include "confdefs.h"
7402 7420
7403 int main() { 7421 int main() {
7404 main() 7422 main()
7405 ; return 0; } 7423 ; return 0; }
7406 EOF 7424 EOF
7407 if { (eval echo configure:7408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7408 rm -rf conftest* 7426 rm -rf conftest*
7409 eval "ac_cv_lib_$ac_lib_var=yes" 7427 eval "ac_cv_lib_$ac_lib_var=yes"
7410 else 7428 else
7411 echo "configure: failed program was:" >&5 7429 echo "configure: failed program was:" >&5
7412 cat conftest.$ac_ext >&5 7430 cat conftest.$ac_ext >&5
7439 fi 7457 fi
7440 7458
7441 fi 7459 fi
7442 if test "$with_msw" != "no"; then 7460 if test "$with_msw" != "no"; then
7443 echo "checking for MS-Windows" 1>&6 7461 echo "checking for MS-Windows" 1>&6
7444 echo "configure:7445: checking for MS-Windows" >&5 7462 echo "configure:7463: checking for MS-Windows" >&5
7445 7463
7446 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7464 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7447 echo "configure:7448: checking for main in -lgdi32" >&5 7465 echo "configure:7466: checking for main in -lgdi32" >&5
7448 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7466 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7449 7467
7450 xe_check_libs=" -lgdi32 " 7468 xe_check_libs=" -lgdi32 "
7451 cat > conftest.$ac_ext <<EOF 7469 cat > conftest.$ac_ext <<EOF
7452 #line 7453 "configure" 7470 #line 7471 "configure"
7453 #include "confdefs.h" 7471 #include "confdefs.h"
7454 7472
7455 int main() { 7473 int main() {
7456 main() 7474 main()
7457 ; return 0; } 7475 ; return 0; }
7458 EOF 7476 EOF
7459 if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7477 if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7460 rm -rf conftest* 7478 rm -rf conftest*
7461 eval "ac_cv_lib_$ac_lib_var=yes" 7479 eval "ac_cv_lib_$ac_lib_var=yes"
7462 else 7480 else
7463 echo "configure: failed program was:" >&5 7481 echo "configure: failed program was:" >&5
7464 cat conftest.$ac_ext >&5 7482 cat conftest.$ac_ext >&5
7505 test "$with_toolbars" != "no" && with_toolbars=msw 7523 test "$with_toolbars" != "no" && with_toolbars=msw
7506 test "$with_dialogs" != "no" && with_dialogs=msw 7524 test "$with_dialogs" != "no" && with_dialogs=msw
7507 test "$with_widgets" != "no" && with_widgets=msw 7525 test "$with_widgets" != "no" && with_widgets=msw
7508 fi 7526 fi
7509 cat > conftest.$ac_ext <<EOF 7527 cat > conftest.$ac_ext <<EOF
7510 #line 7511 "configure" 7528 #line 7529 "configure"
7511 #include "confdefs.h" 7529 #include "confdefs.h"
7512 #include <fcntl.h> 7530 #include <fcntl.h>
7513 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7531 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7514 EOF 7532 EOF
7515 if { (eval echo configure:7516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7516 then 7534 then
7517 { test "$extra_verbose" = "yes" && cat << \EOF 7535 { test "$extra_verbose" = "yes" && cat << \EOF
7518 Defining HAVE_MSG_SELECT 7536 Defining HAVE_MSG_SELECT
7519 EOF 7537 EOF
7520 cat >> confdefs.h <<\EOF 7538 cat >> confdefs.h <<\EOF
7571 fi 7589 fi
7572 7590
7573 if test "$with_x11" = "yes"; then 7591 if test "$with_x11" = "yes"; then
7574 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7592 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7575 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7593 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7576 echo "configure:7577: checking for X11/extensions/shape.h" >&5 7594 echo "configure:7595: checking for X11/extensions/shape.h" >&5
7577 7595
7578 cat > conftest.$ac_ext <<EOF 7596 cat > conftest.$ac_ext <<EOF
7579 #line 7580 "configure" 7597 #line 7598 "configure"
7580 #include "confdefs.h" 7598 #include "confdefs.h"
7581 #include <X11/extensions/shape.h> 7599 #include <X11/extensions/shape.h>
7582 EOF 7600 EOF
7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7602 { (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7586 if test -z "$ac_err"; then 7604 if test -z "$ac_err"; then
7587 rm -rf conftest* 7605 rm -rf conftest*
7588 eval "ac_cv_header_$ac_safe=yes" 7606 eval "ac_cv_header_$ac_safe=yes"
7589 else 7607 else
7629 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7647 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7630 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7648 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7631 esac 7649 esac
7632 7650
7633 echo "checking for WM_COMMAND option" 1>&6 7651 echo "checking for WM_COMMAND option" 1>&6
7634 echo "configure:7635: checking for WM_COMMAND option" >&5; 7652 echo "configure:7653: checking for WM_COMMAND option" >&5;
7635 if test "$with_wmcommand" != "no"; then 7653 if test "$with_wmcommand" != "no"; then
7636 { test "$extra_verbose" = "yes" && cat << \EOF 7654 { test "$extra_verbose" = "yes" && cat << \EOF
7637 Defining HAVE_WMCOMMAND 7655 Defining HAVE_WMCOMMAND
7638 EOF 7656 EOF
7639 cat >> confdefs.h <<\EOF 7657 cat >> confdefs.h <<\EOF
7644 fi 7662 fi
7645 7663
7646 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7664 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7647 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7665 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7648 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7666 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7649 echo "configure:7650: checking for X11/Xauth.h" >&5 7667 echo "configure:7668: checking for X11/Xauth.h" >&5
7650 7668
7651 cat > conftest.$ac_ext <<EOF 7669 cat > conftest.$ac_ext <<EOF
7652 #line 7653 "configure" 7670 #line 7671 "configure"
7653 #include "confdefs.h" 7671 #include "confdefs.h"
7654 #include <X11/Xauth.h> 7672 #include <X11/Xauth.h>
7655 EOF 7673 EOF
7656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7657 { (eval echo configure:7658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7675 { (eval echo configure:7676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7659 if test -z "$ac_err"; then 7677 if test -z "$ac_err"; then
7660 rm -rf conftest* 7678 rm -rf conftest*
7661 eval "ac_cv_header_$ac_safe=yes" 7679 eval "ac_cv_header_$ac_safe=yes"
7662 else 7680 else
7675 with_xauth=no 7693 with_xauth=no
7676 fi 7694 fi
7677 } 7695 }
7678 test -z "$with_xauth" && { 7696 test -z "$with_xauth" && {
7679 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7697 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7680 echo "configure:7681: checking for XauGetAuthByAddr in -lXau" >&5 7698 echo "configure:7699: checking for XauGetAuthByAddr in -lXau" >&5
7681 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7699 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7682 7700
7683 xe_check_libs=" -lXau " 7701 xe_check_libs=" -lXau "
7684 cat > conftest.$ac_ext <<EOF 7702 cat > conftest.$ac_ext <<EOF
7685 #line 7686 "configure" 7703 #line 7704 "configure"
7686 #include "confdefs.h" 7704 #include "confdefs.h"
7687 /* Override any gcc2 internal prototype to avoid an error. */ 7705 /* Override any gcc2 internal prototype to avoid an error. */
7688 /* We use char because int might match the return type of a gcc2 7706 /* We use char because int might match the return type of a gcc2
7689 builtin and then its argument prototype would still apply. */ 7707 builtin and then its argument prototype would still apply. */
7690 char XauGetAuthByAddr(); 7708 char XauGetAuthByAddr();
7691 7709
7692 int main() { 7710 int main() {
7693 XauGetAuthByAddr() 7711 XauGetAuthByAddr()
7694 ; return 0; } 7712 ; return 0; }
7695 EOF 7713 EOF
7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7714 if { (eval echo configure:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7697 rm -rf conftest* 7715 rm -rf conftest*
7698 eval "ac_cv_lib_$ac_lib_var=yes" 7716 eval "ac_cv_lib_$ac_lib_var=yes"
7699 else 7717 else
7700 echo "configure: failed program was:" >&5 7718 echo "configure: failed program was:" >&5
7701 cat conftest.$ac_ext >&5 7719 cat conftest.$ac_ext >&5
7742 fi 7760 fi
7743 7761
7744 7762
7745 if test "$with_modules" != "no"; then 7763 if test "$with_modules" != "no"; then
7746 echo "checking for module support" 1>&6 7764 echo "checking for module support" 1>&6
7747 echo "configure:7748: checking for module support" >&5 7765 echo "configure:7766: checking for module support" >&5
7748 7766
7749 if test "$with_msw" = "yes"; then 7767 if test "$with_msw" = "yes"; then
7750 have_dl=yes; 7768 have_dl=yes;
7751 else 7769 else
7752 case "$opsys" in 7770 case "$opsys" in
7759 } 7777 }
7760 ;; 7778 ;;
7761 * ) 7779 * )
7762 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7780 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7763 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7781 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7764 echo "configure:7765: checking for dlfcn.h" >&5 7782 echo "configure:7783: checking for dlfcn.h" >&5
7765 7783
7766 cat > conftest.$ac_ext <<EOF 7784 cat > conftest.$ac_ext <<EOF
7767 #line 7768 "configure" 7785 #line 7786 "configure"
7768 #include "confdefs.h" 7786 #include "confdefs.h"
7769 #include <dlfcn.h> 7787 #include <dlfcn.h>
7770 EOF 7788 EOF
7771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7772 { (eval echo configure:7773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7790 { (eval echo configure:7791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7774 if test -z "$ac_err"; then 7792 if test -z "$ac_err"; then
7775 rm -rf conftest* 7793 rm -rf conftest*
7776 eval "ac_cv_header_$ac_safe=yes" 7794 eval "ac_cv_header_$ac_safe=yes"
7777 else 7795 else
7784 rm -f conftest* 7802 rm -f conftest*
7785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7786 echo "$ac_t""yes" 1>&6 7804 echo "$ac_t""yes" 1>&6
7787 7805
7788 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7806 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7789 echo "configure:7790: checking for dlopen in -lc" >&5 7807 echo "configure:7808: checking for dlopen in -lc" >&5
7790 cat > conftest.$ac_ext <<EOF 7808 cat > conftest.$ac_ext <<EOF
7791 #line 7792 "configure" 7809 #line 7810 "configure"
7792 #include "confdefs.h" 7810 #include "confdefs.h"
7793 #include <dlfcn.h> 7811 #include <dlfcn.h>
7794 int main() { 7812 int main() {
7795 dlopen ("", 0); 7813 dlopen ("", 0);
7796 ; return 0; } 7814 ; return 0; }
7797 EOF 7815 EOF
7798 if { (eval echo configure:7799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7816 if { (eval echo configure:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7799 rm -rf conftest* 7817 rm -rf conftest*
7800 have_dl=yes 7818 have_dl=yes
7801 else 7819 else
7802 echo "configure: failed program was:" >&5 7820 echo "configure: failed program was:" >&5
7803 cat conftest.$ac_ext >&5 7821 cat conftest.$ac_ext >&5
7804 rm -rf conftest* 7822 rm -rf conftest*
7805 7823
7806 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7824 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7807 echo "configure:7808: checking for dlopen in -ldl" >&5 7825 echo "configure:7826: checking for dlopen in -ldl" >&5
7808 ac_save_LIBS="$LIBS" 7826 ac_save_LIBS="$LIBS"
7809 LIBS="-ldl $LIBS" 7827 LIBS="-ldl $LIBS"
7810 cat > conftest.$ac_ext <<EOF 7828 cat > conftest.$ac_ext <<EOF
7811 #line 7812 "configure" 7829 #line 7830 "configure"
7812 #include "confdefs.h" 7830 #include "confdefs.h"
7813 #include <dlfcn.h> 7831 #include <dlfcn.h>
7814 int main() { 7832 int main() {
7815 dlopen ("", 0); 7833 dlopen ("", 0);
7816 ; return 0; } 7834 ; return 0; }
7817 EOF 7835 EOF
7818 if { (eval echo configure:7819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7819 rm -rf conftest* 7837 rm -rf conftest*
7820 have_dl=yes 7838 have_dl=yes
7821 else 7839 else
7822 echo "configure: failed program was:" >&5 7840 echo "configure: failed program was:" >&5
7823 cat conftest.$ac_ext >&5 7841 cat conftest.$ac_ext >&5
7853 ld_dynamic_link_flags= 7871 ld_dynamic_link_flags=
7854 xehost=$canonical 7872 xehost=$canonical
7855 xealias=$internal_configuration 7873 xealias=$internal_configuration
7856 7874
7857 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 7875 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
7858 echo "configure:7859: checking how to build dynamic libraries for ${xehost}" >&5 7876 echo "configure:7877: checking how to build dynamic libraries for ${xehost}" >&5
7859 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 7877 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
7860 case "$xehost" in 7878 case "$xehost" in
7861 *-*-linux-gnu*) ;; 7879 *-*-linux-gnu*) ;;
7862 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 7880 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
7863 esac 7881 esac
7881 # Now see if the compiler is really GCC. 7899 # Now see if the compiler is really GCC.
7882 if test "$GCC" = "yes"; then 7900 if test "$GCC" = "yes"; then
7883 XEGCC=yes 7901 XEGCC=yes
7884 else 7902 else
7885 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 7903 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
7886 echo "configure:7887: checking checking whether we are using GNU C" >&5 7904 echo "configure:7905: checking checking whether we are using GNU C" >&5
7887 cat > conftest.$ac_ext <<EOF 7905 cat > conftest.$ac_ext <<EOF
7888 #line 7889 "configure" 7906 #line 7907 "configure"
7889 #include "confdefs.h" 7907 #include "confdefs.h"
7890 7908
7891 #ifdef __GNUC__ 7909 #ifdef __GNUC__
7892 yes; 7910 yes;
7893 #endif 7911 #endif
7905 7923
7906 echo "$ac_t""${XEGCC}" 1>&6 7924 echo "$ac_t""${XEGCC}" 1>&6
7907 fi 7925 fi
7908 7926
7909 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 7927 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
7910 echo "configure:7911: checking how to produce PIC code" >&5 7928 echo "configure:7929: checking how to produce PIC code" >&5
7911 wl= 7929 wl=
7912 7930
7913 can_build_shared=yes 7931 can_build_shared=yes
7914 if test "$XEGCC" = yes -o "$__ICC" = yes; then 7932 if test "$XEGCC" = yes -o "$__ICC" = yes; then
7915 wl='-Wl,' 7933 wl='-Wl,'
8009 if test -n "$dll_cflags"; then 8027 if test -n "$dll_cflags"; then
8010 echo "$ac_t""${dll_cflags}" 1>&6 8028 echo "$ac_t""${dll_cflags}" 1>&6
8011 8029
8012 # Check to make sure the dll_cflags actually works. 8030 # Check to make sure the dll_cflags actually works.
8013 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8031 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8014 echo "configure:8015: checking if PIC flag ${dll_cflags} really works" >&5 8032 echo "configure:8033: checking if PIC flag ${dll_cflags} really works" >&5
8015 save_CFLAGS="$CFLAGS" 8033 save_CFLAGS="$CFLAGS"
8016 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8034 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8017 cat > conftest.$ac_ext <<EOF 8035 cat > conftest.$ac_ext <<EOF
8018 #line 8019 "configure" 8036 #line 8037 "configure"
8019 #include "confdefs.h" 8037 #include "confdefs.h"
8020 8038
8021 int main() { 8039 int main() {
8022 int x=0; 8040 int x=0;
8023 ; return 0; } 8041 ; return 0; }
8024 EOF 8042 EOF
8025 if { (eval echo configure:8026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8043 if { (eval echo configure:8044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8026 rm -rf conftest* 8044 rm -rf conftest*
8027 8045
8028 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8046 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8029 # reports no error. So, we need to grep stderr for (Bundled). 8047 # reports no error. So, we need to grep stderr for (Bundled).
8030 if grep '(Bundled)' config.log >/dev/null; then 8048 if grep '(Bundled)' config.log >/dev/null; then
8051 if test "$can_build_shared" = "yes"; then 8069 if test "$can_build_shared" = "yes"; then
8052 cc_produces_so=no 8070 cc_produces_so=no
8053 xldf= 8071 xldf=
8054 xcldf= 8072 xcldf=
8055 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8073 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8056 echo "configure:8057: checking if C compiler can produce shared libraries" >&5 8074 echo "configure:8075: checking if C compiler can produce shared libraries" >&5
8057 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8075 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8058 case "$xehost_os" in 8076 case "$xehost_os" in
8059 *darwin*) 8077 *darwin*)
8060 xcldf='-bundle' 8078 xcldf='-bundle'
8061 xldf='-bundle -bundle_loader ../../src/xemacs' 8079 xldf='-bundle -bundle_loader ../../src/xemacs'
8110 LDFLAGS="$xcldf $LDFLAGS" 8128 LDFLAGS="$xcldf $LDFLAGS"
8111 LIBS= 8129 LIBS=
8112 xe_libs= 8130 xe_libs=
8113 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8131 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8114 cat > conftest.$ac_ext <<EOF 8132 cat > conftest.$ac_ext <<EOF
8115 #line 8116 "configure" 8133 #line 8134 "configure"
8116 #include "confdefs.h" 8134 #include "confdefs.h"
8117 8135
8118 int main() { 8136 int main() {
8119 int x=0; 8137 int x=0;
8120 ; return 0; } 8138 ; return 0; }
8121 EOF 8139 EOF
8122 if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8140 if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8123 rm -rf conftest* 8141 rm -rf conftest*
8124 cc_produces_so=yes 8142 cc_produces_so=yes
8125 else 8143 else
8126 echo "configure: failed program was:" >&5 8144 echo "configure: failed program was:" >&5
8127 cat conftest.$ac_ext >&5 8145 cat conftest.$ac_ext >&5
8142 if test -z "$LTLD"; then 8160 if test -z "$LTLD"; then
8143 ac_prog=ld 8161 ac_prog=ld
8144 if test "$XEGCC" = yes; then 8162 if test "$XEGCC" = yes; then
8145 # Check if gcc -print-prog-name=ld gives a path. 8163 # Check if gcc -print-prog-name=ld gives a path.
8146 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8164 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8147 echo "configure:8148: checking for ld used by GCC" >&5 8165 echo "configure:8166: checking for ld used by GCC" >&5
8148 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8166 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8149 case "$ac_prog" in 8167 case "$ac_prog" in
8150 # Accept absolute paths. 8168 # Accept absolute paths.
8151 /*) 8169 /*)
8152 if test -z "$LTLD"; then 8170 if test -z "$LTLD"; then
8168 with_gnu_ld=unknown 8186 with_gnu_ld=unknown
8169 ;; 8187 ;;
8170 esac 8188 esac
8171 else 8189 else
8172 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8190 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8173 echo "configure:8174: checking for GNU ld" >&5 8191 echo "configure:8192: checking for GNU ld" >&5
8174 fi 8192 fi
8175 8193
8176 if test -z "$LTLD"; then 8194 if test -z "$LTLD"; then
8177 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8178 for ac_dir in $PATH; do 8196 for ac_dir in $PATH; do
8206 8224
8207 ld_dynamic_link_flags= 8225 ld_dynamic_link_flags=
8208 8226
8209 # Check to see if it really is or isn't GNU ld. 8227 # Check to see if it really is or isn't GNU ld.
8210 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8228 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8211 echo "configure:8212: checking if the linker is GNU ld" >&5 8229 echo "configure:8230: checking if the linker is GNU ld" >&5
8212 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8213 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8231 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8214 xe_gnu_ld=yes 8232 xe_gnu_ld=yes
8215 else 8233 else
8216 xe_gnu_ld=no 8234 xe_gnu_ld=no
8241 ld_shlibs=yes 8259 ld_shlibs=yes
8242 else 8260 else
8243 # OK - only NOW do we futz about with ld. 8261 # OK - only NOW do we futz about with ld.
8244 # See if the linker supports building shared libraries. 8262 # See if the linker supports building shared libraries.
8245 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8263 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8246 echo "configure:8247: checking whether the linker supports shared libraries" >&5 8264 echo "configure:8265: checking whether the linker supports shared libraries" >&5
8247 dll_ld=$CC 8265 dll_ld=$CC
8248 dll_ldflags=$LDFLAGS 8266 dll_ldflags=$LDFLAGS
8249 ld_shlibs=yes 8267 ld_shlibs=yes
8250 can_build_shared=yes 8268 can_build_shared=yes
8251 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8269 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8454 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8472 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8455 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8473 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8456 for ac_func in dlerror _dlerror 8474 for ac_func in dlerror _dlerror
8457 do 8475 do
8458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8459 echo "configure:8460: checking for $ac_func" >&5 8477 echo "configure:8478: checking for $ac_func" >&5
8460 8478
8461 cat > conftest.$ac_ext <<EOF 8479 cat > conftest.$ac_ext <<EOF
8462 #line 8463 "configure" 8480 #line 8481 "configure"
8463 #include "confdefs.h" 8481 #include "confdefs.h"
8464 /* System header to define __stub macros and hopefully few prototypes, 8482 /* System header to define __stub macros and hopefully few prototypes,
8465 which can conflict with char $ac_func(); below. */ 8483 which can conflict with char $ac_func(); below. */
8466 #include <assert.h> 8484 #include <assert.h>
8467 /* Override any gcc2 internal prototype to avoid an error. */ 8485 /* Override any gcc2 internal prototype to avoid an error. */
8480 $ac_func(); 8498 $ac_func();
8481 #endif 8499 #endif
8482 8500
8483 ; return 0; } 8501 ; return 0; }
8484 EOF 8502 EOF
8485 if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8486 rm -rf conftest* 8504 rm -rf conftest*
8487 eval "ac_cv_func_$ac_func=yes" 8505 eval "ac_cv_func_$ac_func=yes"
8488 else 8506 else
8489 echo "configure: failed program was:" >&5 8507 echo "configure: failed program was:" >&5
8490 cat conftest.$ac_ext >&5 8508 cat conftest.$ac_ext >&5
8544 8562
8545 if test "$with_tooltalk" != "no" ; then 8563 if test "$with_tooltalk" != "no" ; then
8546 for dir in "" "Tt/" "desktop/" ; do 8564 for dir in "" "Tt/" "desktop/" ; do
8547 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8565 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8548 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8566 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8549 echo "configure:8550: checking for ${dir}tt_c.h" >&5 8567 echo "configure:8568: checking for ${dir}tt_c.h" >&5
8550 8568
8551 cat > conftest.$ac_ext <<EOF 8569 cat > conftest.$ac_ext <<EOF
8552 #line 8553 "configure" 8570 #line 8571 "configure"
8553 #include "confdefs.h" 8571 #include "confdefs.h"
8554 #include <${dir}tt_c.h> 8572 #include <${dir}tt_c.h>
8555 EOF 8573 EOF
8556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8557 { (eval echo configure:8558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8575 { (eval echo configure:8576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8559 if test -z "$ac_err"; then 8577 if test -z "$ac_err"; then
8560 rm -rf conftest* 8578 rm -rf conftest*
8561 eval "ac_cv_header_$ac_safe=yes" 8579 eval "ac_cv_header_$ac_safe=yes"
8562 else 8580 else
8588 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8606 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8589 8607
8590 xe_msg_checking="for tt_message_create in -ltt" 8608 xe_msg_checking="for tt_message_create in -ltt"
8591 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8609 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8592 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8610 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8593 echo "configure:8594: checking "$xe_msg_checking"" >&5 8611 echo "configure:8612: checking "$xe_msg_checking"" >&5
8594 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8612 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8595 8613
8596 xe_check_libs=" -ltt $extra_libs" 8614 xe_check_libs=" -ltt $extra_libs"
8597 cat > conftest.$ac_ext <<EOF 8615 cat > conftest.$ac_ext <<EOF
8598 #line 8599 "configure" 8616 #line 8617 "configure"
8599 #include "confdefs.h" 8617 #include "confdefs.h"
8600 /* Override any gcc2 internal prototype to avoid an error. */ 8618 /* Override any gcc2 internal prototype to avoid an error. */
8601 /* We use char because int might match the return type of a gcc2 8619 /* We use char because int might match the return type of a gcc2
8602 builtin and then its argument prototype would still apply. */ 8620 builtin and then its argument prototype would still apply. */
8603 char tt_message_create(); 8621 char tt_message_create();
8604 8622
8605 int main() { 8623 int main() {
8606 tt_message_create() 8624 tt_message_create()
8607 ; return 0; } 8625 ; return 0; }
8608 EOF 8626 EOF
8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8610 rm -rf conftest* 8628 rm -rf conftest*
8611 eval "ac_cv_lib_$ac_lib_var=yes" 8629 eval "ac_cv_lib_$ac_lib_var=yes"
8612 else 8630 else
8613 echo "configure: failed program was:" >&5 8631 echo "configure: failed program was:" >&5
8614 cat conftest.$ac_ext >&5 8632 cat conftest.$ac_ext >&5
8658 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8676 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8659 fi 8677 fi
8660 8678
8661 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8679 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8662 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8680 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8663 echo "configure:8664: checking for Dt/Dt.h" >&5 8681 echo "configure:8682: checking for Dt/Dt.h" >&5
8664 8682
8665 cat > conftest.$ac_ext <<EOF 8683 cat > conftest.$ac_ext <<EOF
8666 #line 8667 "configure" 8684 #line 8685 "configure"
8667 #include "confdefs.h" 8685 #include "confdefs.h"
8668 #include <Dt/Dt.h> 8686 #include <Dt/Dt.h>
8669 EOF 8687 EOF
8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8689 { (eval echo configure:8690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8673 if test -z "$ac_err"; then 8691 if test -z "$ac_err"; then
8674 rm -rf conftest* 8692 rm -rf conftest*
8675 eval "ac_cv_header_$ac_safe=yes" 8693 eval "ac_cv_header_$ac_safe=yes"
8676 else 8694 else
8689 with_cde=no 8707 with_cde=no
8690 fi 8708 fi
8691 } 8709 }
8692 test -z "$with_cde" && { 8710 test -z "$with_cde" && {
8693 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8711 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8694 echo "configure:8695: checking for DtDndDragStart in -lDtSvc" >&5 8712 echo "configure:8713: checking for DtDndDragStart in -lDtSvc" >&5
8695 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8713 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8696 8714
8697 xe_check_libs=" -lDtSvc " 8715 xe_check_libs=" -lDtSvc "
8698 cat > conftest.$ac_ext <<EOF 8716 cat > conftest.$ac_ext <<EOF
8699 #line 8700 "configure" 8717 #line 8718 "configure"
8700 #include "confdefs.h" 8718 #include "confdefs.h"
8701 /* Override any gcc2 internal prototype to avoid an error. */ 8719 /* Override any gcc2 internal prototype to avoid an error. */
8702 /* We use char because int might match the return type of a gcc2 8720 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */ 8721 builtin and then its argument prototype would still apply. */
8704 char DtDndDragStart(); 8722 char DtDndDragStart();
8705 8723
8706 int main() { 8724 int main() {
8707 DtDndDragStart() 8725 DtDndDragStart()
8708 ; return 0; } 8726 ; return 0; }
8709 EOF 8727 EOF
8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8711 rm -rf conftest* 8729 rm -rf conftest*
8712 eval "ac_cv_lib_$ac_lib_var=yes" 8730 eval "ac_cv_lib_$ac_lib_var=yes"
8713 else 8731 else
8714 echo "configure: failed program was:" >&5 8732 echo "configure: failed program was:" >&5
8715 cat conftest.$ac_ext >&5 8733 cat conftest.$ac_ext >&5
8786 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 8804 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
8787 fi 8805 fi
8788 8806
8789 if test "$with_dragndrop" != "no" ; then 8807 if test "$with_dragndrop" != "no" ; then
8790 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 8808 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
8791 echo "configure:8792: checking if drag and drop API is needed" >&5 8809 echo "configure:8810: checking if drag and drop API is needed" >&5
8792 if test -n "$dragndrop_proto" ; then 8810 if test -n "$dragndrop_proto" ; then
8793 with_dragndrop=yes 8811 with_dragndrop=yes
8794 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8812 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8795 { test "$extra_verbose" = "yes" && cat << \EOF 8813 { test "$extra_verbose" = "yes" && cat << \EOF
8796 Defining HAVE_DRAGNDROP 8814 Defining HAVE_DRAGNDROP
8806 echo "$ac_t""no" 1>&6 8824 echo "$ac_t""no" 1>&6
8807 fi 8825 fi
8808 fi 8826 fi
8809 8827
8810 echo "checking for LDAP" 1>&6 8828 echo "checking for LDAP" 1>&6
8811 echo "configure:8812: checking for LDAP" >&5 8829 echo "configure:8830: checking for LDAP" >&5
8812 ldap_libs= 8830 ldap_libs=
8813 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 8831 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
8814 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 8832 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
8815 echo "configure:8816: checking for ldap.h" >&5 8833 echo "configure:8834: checking for ldap.h" >&5
8816 8834
8817 cat > conftest.$ac_ext <<EOF 8835 cat > conftest.$ac_ext <<EOF
8818 #line 8819 "configure" 8836 #line 8837 "configure"
8819 #include "confdefs.h" 8837 #include "confdefs.h"
8820 #include <ldap.h> 8838 #include <ldap.h>
8821 EOF 8839 EOF
8822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8823 { (eval echo configure:8824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8841 { (eval echo configure:8842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8825 if test -z "$ac_err"; then 8843 if test -z "$ac_err"; then
8826 rm -rf conftest* 8844 rm -rf conftest*
8827 eval "ac_cv_header_$ac_safe=yes" 8845 eval "ac_cv_header_$ac_safe=yes"
8828 else 8846 else
8841 with_ldap=no 8859 with_ldap=no
8842 fi 8860 fi
8843 } 8861 }
8844 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 8862 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
8845 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 8863 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
8846 echo "configure:8847: checking for lber.h" >&5 8864 echo "configure:8865: checking for lber.h" >&5
8847 8865
8848 cat > conftest.$ac_ext <<EOF 8866 cat > conftest.$ac_ext <<EOF
8849 #line 8850 "configure" 8867 #line 8868 "configure"
8850 #include "confdefs.h" 8868 #include "confdefs.h"
8851 #include <lber.h> 8869 #include <lber.h>
8852 EOF 8870 EOF
8853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8854 { (eval echo configure:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8872 { (eval echo configure:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8856 if test -z "$ac_err"; then 8874 if test -z "$ac_err"; then
8857 rm -rf conftest* 8875 rm -rf conftest*
8858 eval "ac_cv_header_$ac_safe=yes" 8876 eval "ac_cv_header_$ac_safe=yes"
8859 else 8877 else
8873 fi 8891 fi
8874 } 8892 }
8875 if test "$with_ldap" != "no"; then 8893 if test "$with_ldap" != "no"; then
8876 8894
8877 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 8895 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
8878 echo "configure:8879: checking for ldap_search in -lldap" >&5 8896 echo "configure:8897: checking for ldap_search in -lldap" >&5
8879 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 8897 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
8880 8898
8881 xe_check_libs=" -lldap " 8899 xe_check_libs=" -lldap "
8882 cat > conftest.$ac_ext <<EOF 8900 cat > conftest.$ac_ext <<EOF
8883 #line 8884 "configure" 8901 #line 8902 "configure"
8884 #include "confdefs.h" 8902 #include "confdefs.h"
8885 /* Override any gcc2 internal prototype to avoid an error. */ 8903 /* Override any gcc2 internal prototype to avoid an error. */
8886 /* We use char because int might match the return type of a gcc2 8904 /* We use char because int might match the return type of a gcc2
8887 builtin and then its argument prototype would still apply. */ 8905 builtin and then its argument prototype would still apply. */
8888 char ldap_search(); 8906 char ldap_search();
8889 8907
8890 int main() { 8908 int main() {
8891 ldap_search() 8909 ldap_search()
8892 ; return 0; } 8910 ; return 0; }
8893 EOF 8911 EOF
8894 if { (eval echo configure:8895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8895 rm -rf conftest* 8913 rm -rf conftest*
8896 eval "ac_cv_lib_$ac_lib_var=yes" 8914 eval "ac_cv_lib_$ac_lib_var=yes"
8897 else 8915 else
8898 echo "configure: failed program was:" >&5 8916 echo "configure: failed program was:" >&5
8899 cat conftest.$ac_ext >&5 8917 cat conftest.$ac_ext >&5
8914 8932
8915 test "$with_ldap_nolber" = "no" && { 8933 test "$with_ldap_nolber" = "no" && {
8916 xe_msg_checking="for ldap_open in -lldap" 8934 xe_msg_checking="for ldap_open in -lldap"
8917 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 8935 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
8918 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8919 echo "configure:8920: checking "$xe_msg_checking"" >&5 8937 echo "configure:8938: checking "$xe_msg_checking"" >&5
8920 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
8921 8939
8922 xe_check_libs=" -lldap -llber" 8940 xe_check_libs=" -lldap -llber"
8923 cat > conftest.$ac_ext <<EOF 8941 cat > conftest.$ac_ext <<EOF
8924 #line 8925 "configure" 8942 #line 8943 "configure"
8925 #include "confdefs.h" 8943 #include "confdefs.h"
8926 /* Override any gcc2 internal prototype to avoid an error. */ 8944 /* Override any gcc2 internal prototype to avoid an error. */
8927 /* We use char because int might match the return type of a gcc2 8945 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */ 8946 builtin and then its argument prototype would still apply. */
8929 char ldap_open(); 8947 char ldap_open();
8930 8948
8931 int main() { 8949 int main() {
8932 ldap_open() 8950 ldap_open()
8933 ; return 0; } 8951 ; return 0; }
8934 EOF 8952 EOF
8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8936 rm -rf conftest* 8954 rm -rf conftest*
8937 eval "ac_cv_lib_$ac_lib_var=yes" 8955 eval "ac_cv_lib_$ac_lib_var=yes"
8938 else 8956 else
8939 echo "configure: failed program was:" >&5 8957 echo "configure: failed program was:" >&5
8940 cat conftest.$ac_ext >&5 8958 cat conftest.$ac_ext >&5
8955 } 8973 }
8956 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 8974 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
8957 xe_msg_checking="for ldap_open in -lldap" 8975 xe_msg_checking="for ldap_open in -lldap"
8958 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 8976 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
8959 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8977 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8960 echo "configure:8961: checking "$xe_msg_checking"" >&5 8978 echo "configure:8979: checking "$xe_msg_checking"" >&5
8961 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 8979 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
8962 8980
8963 xe_check_libs=" -lldap -llber -lkrb" 8981 xe_check_libs=" -lldap -llber -lkrb"
8964 cat > conftest.$ac_ext <<EOF 8982 cat > conftest.$ac_ext <<EOF
8965 #line 8966 "configure" 8983 #line 8984 "configure"
8966 #include "confdefs.h" 8984 #include "confdefs.h"
8967 /* Override any gcc2 internal prototype to avoid an error. */ 8985 /* Override any gcc2 internal prototype to avoid an error. */
8968 /* We use char because int might match the return type of a gcc2 8986 /* We use char because int might match the return type of a gcc2
8969 builtin and then its argument prototype would still apply. */ 8987 builtin and then its argument prototype would still apply. */
8970 char ldap_open(); 8988 char ldap_open();
8971 8989
8972 int main() { 8990 int main() {
8973 ldap_open() 8991 ldap_open()
8974 ; return 0; } 8992 ; return 0; }
8975 EOF 8993 EOF
8976 if { (eval echo configure:8977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8977 rm -rf conftest* 8995 rm -rf conftest*
8978 eval "ac_cv_lib_$ac_lib_var=yes" 8996 eval "ac_cv_lib_$ac_lib_var=yes"
8979 else 8997 else
8980 echo "configure: failed program was:" >&5 8998 echo "configure: failed program was:" >&5
8981 cat conftest.$ac_ext >&5 8999 cat conftest.$ac_ext >&5
8996 } 9014 }
8997 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 9015 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
8998 xe_msg_checking="for ldap_open in -lldap" 9016 xe_msg_checking="for ldap_open in -lldap"
8999 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9017 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9018 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9001 echo "configure:9002: checking "$xe_msg_checking"" >&5 9019 echo "configure:9020: checking "$xe_msg_checking"" >&5
9002 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9020 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9003 9021
9004 xe_check_libs=" -lldap -llber -lkrb -ldes" 9022 xe_check_libs=" -lldap -llber -lkrb -ldes"
9005 cat > conftest.$ac_ext <<EOF 9023 cat > conftest.$ac_ext <<EOF
9006 #line 9007 "configure" 9024 #line 9025 "configure"
9007 #include "confdefs.h" 9025 #include "confdefs.h"
9008 /* Override any gcc2 internal prototype to avoid an error. */ 9026 /* Override any gcc2 internal prototype to avoid an error. */
9009 /* We use char because int might match the return type of a gcc2 9027 /* We use char because int might match the return type of a gcc2
9010 builtin and then its argument prototype would still apply. */ 9028 builtin and then its argument prototype would still apply. */
9011 char ldap_open(); 9029 char ldap_open();
9012 9030
9013 int main() { 9031 int main() {
9014 ldap_open() 9032 ldap_open()
9015 ; return 0; } 9033 ; return 0; }
9016 EOF 9034 EOF
9017 if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9018 rm -rf conftest* 9036 rm -rf conftest*
9019 eval "ac_cv_lib_$ac_lib_var=yes" 9037 eval "ac_cv_lib_$ac_lib_var=yes"
9020 else 9038 else
9021 echo "configure: failed program was:" >&5 9039 echo "configure: failed program was:" >&5
9022 cat conftest.$ac_ext >&5 9040 cat conftest.$ac_ext >&5
9061 fi 9079 fi
9062 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9080 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9063 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9081 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9064 do 9082 do
9065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9066 echo "configure:9067: checking for $ac_func" >&5 9084 echo "configure:9085: checking for $ac_func" >&5
9067 9085
9068 cat > conftest.$ac_ext <<EOF 9086 cat > conftest.$ac_ext <<EOF
9069 #line 9070 "configure" 9087 #line 9088 "configure"
9070 #include "confdefs.h" 9088 #include "confdefs.h"
9071 /* System header to define __stub macros and hopefully few prototypes, 9089 /* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func(); below. */ 9090 which can conflict with char $ac_func(); below. */
9073 #include <assert.h> 9091 #include <assert.h>
9074 /* Override any gcc2 internal prototype to avoid an error. */ 9092 /* Override any gcc2 internal prototype to avoid an error. */
9087 $ac_func(); 9105 $ac_func();
9088 #endif 9106 #endif
9089 9107
9090 ; return 0; } 9108 ; return 0; }
9091 EOF 9109 EOF
9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9093 rm -rf conftest* 9111 rm -rf conftest*
9094 eval "ac_cv_func_$ac_func=yes" 9112 eval "ac_cv_func_$ac_func=yes"
9095 else 9113 else
9096 echo "configure: failed program was:" >&5 9114 echo "configure: failed program was:" >&5
9097 cat conftest.$ac_ext >&5 9115 cat conftest.$ac_ext >&5
9126 9144
9127 9145
9128 postgresql_libs= 9146 postgresql_libs=
9129 if test "$with_postgresql" != "no"; then 9147 if test "$with_postgresql" != "no"; then
9130 echo "checking for PostgreSQL" 1>&6 9148 echo "checking for PostgreSQL" 1>&6
9131 echo "configure:9132: checking for PostgreSQL" >&5 9149 echo "configure:9150: checking for PostgreSQL" >&5
9132 9150
9133 for header_dir in "" "pgsql/" "postgresql/"; do 9151 for header_dir in "" "pgsql/" "postgresql/"; do
9134 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9152 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9135 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9153 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9136 echo "configure:9137: checking for ${header_dir}libpq-fe.h" >&5 9154 echo "configure:9155: checking for ${header_dir}libpq-fe.h" >&5
9137 9155
9138 cat > conftest.$ac_ext <<EOF 9156 cat > conftest.$ac_ext <<EOF
9139 #line 9140 "configure" 9157 #line 9158 "configure"
9140 #include "confdefs.h" 9158 #include "confdefs.h"
9141 #include <${header_dir}libpq-fe.h> 9159 #include <${header_dir}libpq-fe.h>
9142 EOF 9160 EOF
9143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9144 { (eval echo configure:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9162 { (eval echo configure:9163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9146 if test -z "$ac_err"; then 9164 if test -z "$ac_err"; then
9147 rm -rf conftest* 9165 rm -rf conftest*
9148 eval "ac_cv_header_$ac_safe=yes" 9166 eval "ac_cv_header_$ac_safe=yes"
9149 else 9167 else
9163 9181
9164 done 9182 done
9165 9183
9166 test -n "$libpq_fe_h_file" && { 9184 test -n "$libpq_fe_h_file" && {
9167 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9185 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9168 echo "configure:9169: checking for PQconnectdb in -lpq" >&5 9186 echo "configure:9187: checking for PQconnectdb in -lpq" >&5
9169 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9187 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9170 9188
9171 xe_check_libs=" -lpq " 9189 xe_check_libs=" -lpq "
9172 cat > conftest.$ac_ext <<EOF 9190 cat > conftest.$ac_ext <<EOF
9173 #line 9174 "configure" 9191 #line 9192 "configure"
9174 #include "confdefs.h" 9192 #include "confdefs.h"
9175 /* Override any gcc2 internal prototype to avoid an error. */ 9193 /* Override any gcc2 internal prototype to avoid an error. */
9176 /* We use char because int might match the return type of a gcc2 9194 /* We use char because int might match the return type of a gcc2
9177 builtin and then its argument prototype would still apply. */ 9195 builtin and then its argument prototype would still apply. */
9178 char PQconnectdb(); 9196 char PQconnectdb();
9179 9197
9180 int main() { 9198 int main() {
9181 PQconnectdb() 9199 PQconnectdb()
9182 ; return 0; } 9200 ; return 0; }
9183 EOF 9201 EOF
9184 if { (eval echo configure:9185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9202 if { (eval echo configure:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9185 rm -rf conftest* 9203 rm -rf conftest*
9186 eval "ac_cv_lib_$ac_lib_var=yes" 9204 eval "ac_cv_lib_$ac_lib_var=yes"
9187 else 9205 else
9188 echo "configure: failed program was:" >&5 9206 echo "configure: failed program was:" >&5
9189 cat conftest.$ac_ext >&5 9207 cat conftest.$ac_ext >&5
9212 EOF 9230 EOF
9213 } 9231 }
9214 9232
9215 9233
9216 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9234 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9217 echo "configure:9218: checking for PQconnectStart in -lpq" >&5 9235 echo "configure:9236: checking for PQconnectStart in -lpq" >&5
9218 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9236 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9219 9237
9220 xe_check_libs=" -lpq " 9238 xe_check_libs=" -lpq "
9221 cat > conftest.$ac_ext <<EOF 9239 cat > conftest.$ac_ext <<EOF
9222 #line 9223 "configure" 9240 #line 9241 "configure"
9223 #include "confdefs.h" 9241 #include "confdefs.h"
9224 /* Override any gcc2 internal prototype to avoid an error. */ 9242 /* Override any gcc2 internal prototype to avoid an error. */
9225 /* We use char because int might match the return type of a gcc2 9243 /* We use char because int might match the return type of a gcc2
9226 builtin and then its argument prototype would still apply. */ 9244 builtin and then its argument prototype would still apply. */
9227 char PQconnectStart(); 9245 char PQconnectStart();
9228 9246
9229 int main() { 9247 int main() {
9230 PQconnectStart() 9248 PQconnectStart()
9231 ; return 0; } 9249 ; return 0; }
9232 EOF 9250 EOF
9233 if { (eval echo configure:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9234 rm -rf conftest* 9252 rm -rf conftest*
9235 eval "ac_cv_lib_$ac_lib_var=yes" 9253 eval "ac_cv_lib_$ac_lib_var=yes"
9236 else 9254 else
9237 echo "configure: failed program was:" >&5 9255 echo "configure: failed program was:" >&5
9238 cat conftest.$ac_ext >&5 9256 cat conftest.$ac_ext >&5
9279 9297
9280 9298
9281 9299
9282 if test "$window_system" != "none"; then 9300 if test "$window_system" != "none"; then
9283 echo "checking for graphics libraries" 1>&6 9301 echo "checking for graphics libraries" 1>&6
9284 echo "configure:9285: checking for graphics libraries" >&5 9302 echo "configure:9303: checking for graphics libraries" >&5
9285 9303
9286 libpath_xpm= 9304 libpath_xpm=
9287 incpath_xpm= 9305 incpath_xpm=
9288 case "$opsys" in 9306 case "$opsys" in
9289 cygwin*) 9307 cygwin*)
9305 xpm_problem="" 9323 xpm_problem=""
9306 if test -z "$with_xpm"; then 9324 if test -z "$with_xpm"; then
9307 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9325 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9308 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9326 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9309 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9327 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9310 echo "configure:9311: checking for Xpm - no older than 3.4f" >&5 9328 echo "configure:9329: checking for Xpm - no older than 3.4f" >&5
9311 xe_check_libs=-lXpm 9329 xe_check_libs=-lXpm
9312 cat > conftest.$ac_ext <<EOF 9330 cat > conftest.$ac_ext <<EOF
9313 #line 9314 "configure" 9331 #line 9332 "configure"
9314 #include "confdefs.h" 9332 #include "confdefs.h"
9315 #define XPM_NUMBERS 9333 #define XPM_NUMBERS
9316 #include <X11/xpm.h> 9334 #include <X11/xpm.h>
9317 int main(int c, char **v) { 9335 int main(int c, char **v) {
9318 return c == 1 ? 0 : 9336 return c == 1 ? 0 :
9319 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9337 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9320 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9338 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9321 EOF 9339 EOF
9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9323 then 9341 then
9324 ./conftest dummy_arg; xpm_status=$?; 9342 ./conftest dummy_arg; xpm_status=$?;
9325 if test "$xpm_status" = "0"; then 9343 if test "$xpm_status" = "0"; then
9326 with_xpm=yes; 9344 with_xpm=yes;
9327 else 9345 else
9361 9379
9362 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9380 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9363 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9381 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9364 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9382 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9365 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9383 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9366 echo "configure:9367: checking for \"FOR_MSW\" xpm" >&5 9384 echo "configure:9385: checking for \"FOR_MSW\" xpm" >&5
9367 xe_check_libs=-lXpm 9385 xe_check_libs=-lXpm
9368 cat > conftest.$ac_ext <<EOF 9386 cat > conftest.$ac_ext <<EOF
9369 #line 9370 "configure" 9387 #line 9388 "configure"
9370 #include "confdefs.h" 9388 #include "confdefs.h"
9371 9389
9372 int main() { 9390 int main() {
9373 XpmCreatePixmapFromData() 9391 XpmCreatePixmapFromData()
9374 ; return 0; } 9392 ; return 0; }
9375 EOF 9393 EOF
9376 if { (eval echo configure:9377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9394 if { (eval echo configure:9395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9377 rm -rf conftest* 9395 rm -rf conftest*
9378 xpm_for_msw=no 9396 xpm_for_msw=no
9379 else 9397 else
9380 echo "configure: failed program was:" >&5 9398 echo "configure: failed program was:" >&5
9381 cat conftest.$ac_ext >&5 9399 cat conftest.$ac_ext >&5
9397 fi 9415 fi
9398 fi 9416 fi
9399 9417
9400 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9418 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9401 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9419 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9402 echo "configure:9403: checking for compface.h" >&5 9420 echo "configure:9421: checking for compface.h" >&5
9403 9421
9404 cat > conftest.$ac_ext <<EOF 9422 cat > conftest.$ac_ext <<EOF
9405 #line 9406 "configure" 9423 #line 9424 "configure"
9406 #include "confdefs.h" 9424 #include "confdefs.h"
9407 #include <compface.h> 9425 #include <compface.h>
9408 EOF 9426 EOF
9409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9410 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9428 { (eval echo configure:9429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9412 if test -z "$ac_err"; then 9430 if test -z "$ac_err"; then
9413 rm -rf conftest* 9431 rm -rf conftest*
9414 eval "ac_cv_header_$ac_safe=yes" 9432 eval "ac_cv_header_$ac_safe=yes"
9415 else 9433 else
9428 with_xface=no 9446 with_xface=no
9429 fi 9447 fi
9430 } 9448 }
9431 test -z "$with_xface" && { 9449 test -z "$with_xface" && {
9432 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9450 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9433 echo "configure:9434: checking for UnGenFace in -lcompface" >&5 9451 echo "configure:9452: checking for UnGenFace in -lcompface" >&5
9434 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9452 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9435 9453
9436 xe_check_libs=" -lcompface " 9454 xe_check_libs=" -lcompface "
9437 cat > conftest.$ac_ext <<EOF 9455 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure" 9456 #line 9457 "configure"
9439 #include "confdefs.h" 9457 #include "confdefs.h"
9440 /* Override any gcc2 internal prototype to avoid an error. */ 9458 /* Override any gcc2 internal prototype to avoid an error. */
9441 /* We use char because int might match the return type of a gcc2 9459 /* We use char because int might match the return type of a gcc2
9442 builtin and then its argument prototype would still apply. */ 9460 builtin and then its argument prototype would still apply. */
9443 char UnGenFace(); 9461 char UnGenFace();
9444 9462
9445 int main() { 9463 int main() {
9446 UnGenFace() 9464 UnGenFace()
9447 ; return 0; } 9465 ; return 0; }
9448 EOF 9466 EOF
9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9467 if { (eval echo configure:9468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9450 rm -rf conftest* 9468 rm -rf conftest*
9451 eval "ac_cv_lib_$ac_lib_var=yes" 9469 eval "ac_cv_lib_$ac_lib_var=yes"
9452 else 9470 else
9453 echo "configure: failed program was:" >&5 9471 echo "configure: failed program was:" >&5
9454 cat conftest.$ac_ext >&5 9472 cat conftest.$ac_ext >&5
9493 fi 9511 fi
9494 9512
9495 if test "$with_png $with_tiff" != "no no"; then 9513 if test "$with_png $with_tiff" != "no no"; then
9496 9514
9497 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9515 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9498 echo "configure:9499: checking for inflate in -lc" >&5 9516 echo "configure:9517: checking for inflate in -lc" >&5
9499 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9517 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9500 9518
9501 xe_check_libs=" -lc " 9519 xe_check_libs=" -lc "
9502 cat > conftest.$ac_ext <<EOF 9520 cat > conftest.$ac_ext <<EOF
9503 #line 9504 "configure" 9521 #line 9522 "configure"
9504 #include "confdefs.h" 9522 #include "confdefs.h"
9505 /* Override any gcc2 internal prototype to avoid an error. */ 9523 /* Override any gcc2 internal prototype to avoid an error. */
9506 /* We use char because int might match the return type of a gcc2 9524 /* We use char because int might match the return type of a gcc2
9507 builtin and then its argument prototype would still apply. */ 9525 builtin and then its argument prototype would still apply. */
9508 char inflate(); 9526 char inflate();
9509 9527
9510 int main() { 9528 int main() {
9511 inflate() 9529 inflate()
9512 ; return 0; } 9530 ; return 0; }
9513 EOF 9531 EOF
9514 if { (eval echo configure:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9532 if { (eval echo configure:9533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9515 rm -rf conftest* 9533 rm -rf conftest*
9516 eval "ac_cv_lib_$ac_lib_var=yes" 9534 eval "ac_cv_lib_$ac_lib_var=yes"
9517 else 9535 else
9518 echo "configure: failed program was:" >&5 9536 echo "configure: failed program was:" >&5
9519 cat conftest.$ac_ext >&5 9537 cat conftest.$ac_ext >&5
9528 : 9546 :
9529 else 9547 else
9530 echo "$ac_t""no" 1>&6 9548 echo "$ac_t""no" 1>&6
9531 9549
9532 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9550 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9533 echo "configure:9534: checking for inflate in -lz" >&5 9551 echo "configure:9552: checking for inflate in -lz" >&5
9534 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9552 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9535 9553
9536 xe_check_libs=" -lz " 9554 xe_check_libs=" -lz "
9537 cat > conftest.$ac_ext <<EOF 9555 cat > conftest.$ac_ext <<EOF
9538 #line 9539 "configure" 9556 #line 9557 "configure"
9539 #include "confdefs.h" 9557 #include "confdefs.h"
9540 /* Override any gcc2 internal prototype to avoid an error. */ 9558 /* Override any gcc2 internal prototype to avoid an error. */
9541 /* We use char because int might match the return type of a gcc2 9559 /* We use char because int might match the return type of a gcc2
9542 builtin and then its argument prototype would still apply. */ 9560 builtin and then its argument prototype would still apply. */
9543 char inflate(); 9561 char inflate();
9544 9562
9545 int main() { 9563 int main() {
9546 inflate() 9564 inflate()
9547 ; return 0; } 9565 ; return 0; }
9548 EOF 9566 EOF
9549 if { (eval echo configure:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9550 rm -rf conftest* 9568 rm -rf conftest*
9551 eval "ac_cv_lib_$ac_lib_var=yes" 9569 eval "ac_cv_lib_$ac_lib_var=yes"
9552 else 9570 else
9553 echo "configure: failed program was:" >&5 9571 echo "configure: failed program was:" >&5
9554 cat conftest.$ac_ext >&5 9572 cat conftest.$ac_ext >&5
9563 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9581 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9564 else 9582 else
9565 echo "$ac_t""no" 1>&6 9583 echo "$ac_t""no" 1>&6
9566 9584
9567 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9585 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9568 echo "configure:9569: checking for inflate in -lgz" >&5 9586 echo "configure:9587: checking for inflate in -lgz" >&5
9569 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9587 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9570 9588
9571 xe_check_libs=" -lgz " 9589 xe_check_libs=" -lgz "
9572 cat > conftest.$ac_ext <<EOF 9590 cat > conftest.$ac_ext <<EOF
9573 #line 9574 "configure" 9591 #line 9592 "configure"
9574 #include "confdefs.h" 9592 #include "confdefs.h"
9575 /* Override any gcc2 internal prototype to avoid an error. */ 9593 /* Override any gcc2 internal prototype to avoid an error. */
9576 /* We use char because int might match the return type of a gcc2 9594 /* We use char because int might match the return type of a gcc2
9577 builtin and then its argument prototype would still apply. */ 9595 builtin and then its argument prototype would still apply. */
9578 char inflate(); 9596 char inflate();
9579 9597
9580 int main() { 9598 int main() {
9581 inflate() 9599 inflate()
9582 ; return 0; } 9600 ; return 0; }
9583 EOF 9601 EOF
9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9602 if { (eval echo configure:9603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9585 rm -rf conftest* 9603 rm -rf conftest*
9586 eval "ac_cv_lib_$ac_lib_var=yes" 9604 eval "ac_cv_lib_$ac_lib_var=yes"
9587 else 9605 else
9588 echo "configure: failed program was:" >&5 9606 echo "configure: failed program was:" >&5
9589 cat conftest.$ac_ext >&5 9607 cat conftest.$ac_ext >&5
9609 9627
9610 fi 9628 fi
9611 9629
9612 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9630 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9613 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9631 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9614 echo "configure:9615: checking for jpeglib.h" >&5 9632 echo "configure:9633: checking for jpeglib.h" >&5
9615 9633
9616 cat > conftest.$ac_ext <<EOF 9634 cat > conftest.$ac_ext <<EOF
9617 #line 9618 "configure" 9635 #line 9636 "configure"
9618 #include "confdefs.h" 9636 #include "confdefs.h"
9619 #include <jpeglib.h> 9637 #include <jpeglib.h>
9620 EOF 9638 EOF
9621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9622 { (eval echo configure:9623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9640 { (eval echo configure:9641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9624 if test -z "$ac_err"; then 9642 if test -z "$ac_err"; then
9625 rm -rf conftest* 9643 rm -rf conftest*
9626 eval "ac_cv_header_$ac_safe=yes" 9644 eval "ac_cv_header_$ac_safe=yes"
9627 else 9645 else
9640 with_jpeg=no 9658 with_jpeg=no
9641 fi 9659 fi
9642 } 9660 }
9643 test -z "$with_jpeg" && { 9661 test -z "$with_jpeg" && {
9644 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9662 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9645 echo "configure:9646: checking for jpeg_destroy_decompress in -ljpeg" >&5 9663 echo "configure:9664: checking for jpeg_destroy_decompress in -ljpeg" >&5
9646 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9664 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9647 9665
9648 xe_check_libs=" -ljpeg " 9666 xe_check_libs=" -ljpeg "
9649 cat > conftest.$ac_ext <<EOF 9667 cat > conftest.$ac_ext <<EOF
9650 #line 9651 "configure" 9668 #line 9669 "configure"
9651 #include "confdefs.h" 9669 #include "confdefs.h"
9652 /* Override any gcc2 internal prototype to avoid an error. */ 9670 /* Override any gcc2 internal prototype to avoid an error. */
9653 /* We use char because int might match the return type of a gcc2 9671 /* We use char because int might match the return type of a gcc2
9654 builtin and then its argument prototype would still apply. */ 9672 builtin and then its argument prototype would still apply. */
9655 char jpeg_destroy_decompress(); 9673 char jpeg_destroy_decompress();
9656 9674
9657 int main() { 9675 int main() {
9658 jpeg_destroy_decompress() 9676 jpeg_destroy_decompress()
9659 ; return 0; } 9677 ; return 0; }
9660 EOF 9678 EOF
9661 if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9662 rm -rf conftest* 9680 rm -rf conftest*
9663 eval "ac_cv_lib_$ac_lib_var=yes" 9681 eval "ac_cv_lib_$ac_lib_var=yes"
9664 else 9682 else
9665 echo "configure: failed program was:" >&5 9683 echo "configure: failed program was:" >&5
9666 cat conftest.$ac_ext >&5 9684 cat conftest.$ac_ext >&5
9692 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 9710 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9693 fi 9711 fi
9694 9712
9695 png_problem="" 9713 png_problem=""
9696 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 9714 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9697 echo "configure:9698: checking for pow" >&5 9715 echo "configure:9716: checking for pow" >&5
9698 9716
9699 cat > conftest.$ac_ext <<EOF 9717 cat > conftest.$ac_ext <<EOF
9700 #line 9701 "configure" 9718 #line 9719 "configure"
9701 #include "confdefs.h" 9719 #include "confdefs.h"
9702 /* System header to define __stub macros and hopefully few prototypes, 9720 /* System header to define __stub macros and hopefully few prototypes,
9703 which can conflict with char pow(); below. */ 9721 which can conflict with char pow(); below. */
9704 #include <assert.h> 9722 #include <assert.h>
9705 /* Override any gcc2 internal prototype to avoid an error. */ 9723 /* Override any gcc2 internal prototype to avoid an error. */
9718 pow(); 9736 pow();
9719 #endif 9737 #endif
9720 9738
9721 ; return 0; } 9739 ; return 0; }
9722 EOF 9740 EOF
9723 if { (eval echo configure:9724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9724 rm -rf conftest* 9742 rm -rf conftest*
9725 eval "ac_cv_func_pow=yes" 9743 eval "ac_cv_func_pow=yes"
9726 else 9744 else
9727 echo "configure: failed program was:" >&5 9745 echo "configure: failed program was:" >&5
9728 cat conftest.$ac_ext >&5 9746 cat conftest.$ac_ext >&5
9739 with_png=no 9757 with_png=no
9740 fi 9758 fi
9741 } 9759 }
9742 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 9760 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9743 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9761 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9744 echo "configure:9745: checking for png.h" >&5 9762 echo "configure:9763: checking for png.h" >&5
9745 9763
9746 cat > conftest.$ac_ext <<EOF 9764 cat > conftest.$ac_ext <<EOF
9747 #line 9748 "configure" 9765 #line 9766 "configure"
9748 #include "confdefs.h" 9766 #include "confdefs.h"
9749 #include <png.h> 9767 #include <png.h>
9750 EOF 9768 EOF
9751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9752 { (eval echo configure:9753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9754 if test -z "$ac_err"; then 9772 if test -z "$ac_err"; then
9755 rm -rf conftest* 9773 rm -rf conftest*
9756 eval "ac_cv_header_$ac_safe=yes" 9774 eval "ac_cv_header_$ac_safe=yes"
9757 else 9775 else
9770 with_png=no 9788 with_png=no
9771 fi 9789 fi
9772 } 9790 }
9773 test -z "$with_png" && { 9791 test -z "$with_png" && {
9774 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 9792 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
9775 echo "configure:9776: checking for png_read_image in -lpng" >&5 9793 echo "configure:9794: checking for png_read_image in -lpng" >&5
9776 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9794 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9777 9795
9778 xe_check_libs=" -lpng " 9796 xe_check_libs=" -lpng "
9779 cat > conftest.$ac_ext <<EOF 9797 cat > conftest.$ac_ext <<EOF
9780 #line 9781 "configure" 9798 #line 9799 "configure"
9781 #include "confdefs.h" 9799 #include "confdefs.h"
9782 /* Override any gcc2 internal prototype to avoid an error. */ 9800 /* Override any gcc2 internal prototype to avoid an error. */
9783 /* We use char because int might match the return type of a gcc2 9801 /* We use char because int might match the return type of a gcc2
9784 builtin and then its argument prototype would still apply. */ 9802 builtin and then its argument prototype would still apply. */
9785 char png_read_image(); 9803 char png_read_image();
9786 9804
9787 int main() { 9805 int main() {
9788 png_read_image() 9806 png_read_image()
9789 ; return 0; } 9807 ; return 0; }
9790 EOF 9808 EOF
9791 if { (eval echo configure:9792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9809 if { (eval echo configure:9810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9792 rm -rf conftest* 9810 rm -rf conftest*
9793 eval "ac_cv_lib_$ac_lib_var=yes" 9811 eval "ac_cv_lib_$ac_lib_var=yes"
9794 else 9812 else
9795 echo "configure: failed program was:" >&5 9813 echo "configure: failed program was:" >&5
9796 cat conftest.$ac_ext >&5 9814 cat conftest.$ac_ext >&5
9809 fi 9827 fi
9810 9828
9811 } 9829 }
9812 if test -z "$with_png"; then 9830 if test -z "$with_png"; then
9813 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 9831 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
9814 echo "configure:9815: checking for workable png version information" >&5 9832 echo "configure:9833: checking for workable png version information" >&5
9815 xe_check_libs="-lpng -lz" 9833 xe_check_libs="-lpng -lz"
9816 cat > conftest.$ac_ext <<EOF 9834 cat > conftest.$ac_ext <<EOF
9817 #line 9818 "configure" 9835 #line 9836 "configure"
9818 #include "confdefs.h" 9836 #include "confdefs.h"
9819 #include <png.h> 9837 #include <png.h>
9820 int main(int c, char **v) { 9838 int main(int c, char **v) {
9821 if (c == 1) return 0; 9839 if (c == 1) return 0;
9822 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 9840 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
9823 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 9841 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
9824 EOF 9842 EOF
9825 if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9843 if { (eval echo configure:9844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9826 then 9844 then
9827 ./conftest dummy_arg; png_status=$?; 9845 ./conftest dummy_arg; png_status=$?;
9828 if test "$png_status" = "0"; then 9846 if test "$png_status" = "0"; then
9829 with_png=yes; 9847 with_png=yes;
9830 else 9848 else
9863 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 9881 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
9864 fi 9882 fi
9865 9883
9866 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 9884 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9867 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 9885 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9868 echo "configure:9869: checking for tiffio.h" >&5 9886 echo "configure:9887: checking for tiffio.h" >&5
9869 9887
9870 cat > conftest.$ac_ext <<EOF 9888 cat > conftest.$ac_ext <<EOF
9871 #line 9872 "configure" 9889 #line 9890 "configure"
9872 #include "confdefs.h" 9890 #include "confdefs.h"
9873 #include <tiffio.h> 9891 #include <tiffio.h>
9874 EOF 9892 EOF
9875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9894 { (eval echo configure:9895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9878 if test -z "$ac_err"; then 9896 if test -z "$ac_err"; then
9879 rm -rf conftest* 9897 rm -rf conftest*
9880 eval "ac_cv_header_$ac_safe=yes" 9898 eval "ac_cv_header_$ac_safe=yes"
9881 else 9899 else
9894 with_tiff=no 9912 with_tiff=no
9895 fi 9913 fi
9896 } 9914 }
9897 test -z "$with_tiff" && { 9915 test -z "$with_tiff" && {
9898 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 9916 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
9899 echo "configure:9900: checking for TIFFClientOpen in -ltiff" >&5 9917 echo "configure:9918: checking for TIFFClientOpen in -ltiff" >&5
9900 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 9918 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
9901 9919
9902 xe_check_libs=" -ltiff " 9920 xe_check_libs=" -ltiff "
9903 cat > conftest.$ac_ext <<EOF 9921 cat > conftest.$ac_ext <<EOF
9904 #line 9905 "configure" 9922 #line 9923 "configure"
9905 #include "confdefs.h" 9923 #include "confdefs.h"
9906 /* Override any gcc2 internal prototype to avoid an error. */ 9924 /* Override any gcc2 internal prototype to avoid an error. */
9907 /* We use char because int might match the return type of a gcc2 9925 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */ 9926 builtin and then its argument prototype would still apply. */
9909 char TIFFClientOpen(); 9927 char TIFFClientOpen();
9910 9928
9911 int main() { 9929 int main() {
9912 TIFFClientOpen() 9930 TIFFClientOpen()
9913 ; return 0; } 9931 ; return 0; }
9914 EOF 9932 EOF
9915 if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9916 rm -rf conftest* 9934 rm -rf conftest*
9917 eval "ac_cv_lib_$ac_lib_var=yes" 9935 eval "ac_cv_lib_$ac_lib_var=yes"
9918 else 9936 else
9919 echo "configure: failed program was:" >&5 9937 echo "configure: failed program was:" >&5
9920 cat conftest.$ac_ext >&5 9938 cat conftest.$ac_ext >&5
9949 9967
9950 9968
9951 if test "$with_gtk" = "yes"; then 9969 if test "$with_gtk" = "yes"; then
9952 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9970 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9953 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9971 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9954 echo "configure:9955: checking for compface.h" >&5 9972 echo "configure:9973: checking for compface.h" >&5
9955 9973
9956 cat > conftest.$ac_ext <<EOF 9974 cat > conftest.$ac_ext <<EOF
9957 #line 9958 "configure" 9975 #line 9976 "configure"
9958 #include "confdefs.h" 9976 #include "confdefs.h"
9959 #include <compface.h> 9977 #include <compface.h>
9960 EOF 9978 EOF
9961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9962 { (eval echo configure:9963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9980 { (eval echo configure:9981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9964 if test -z "$ac_err"; then 9982 if test -z "$ac_err"; then
9965 rm -rf conftest* 9983 rm -rf conftest*
9966 eval "ac_cv_header_$ac_safe=yes" 9984 eval "ac_cv_header_$ac_safe=yes"
9967 else 9985 else
9980 with_xface=no 9998 with_xface=no
9981 fi 9999 fi
9982 } 10000 }
9983 test -z "$with_xface" && { 10001 test -z "$with_xface" && {
9984 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10002 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9985 echo "configure:9986: checking for UnGenFace in -lcompface" >&5 10003 echo "configure:10004: checking for UnGenFace in -lcompface" >&5
9986 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10004 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9987 10005
9988 xe_check_libs=" -lcompface " 10006 xe_check_libs=" -lcompface "
9989 cat > conftest.$ac_ext <<EOF 10007 cat > conftest.$ac_ext <<EOF
9990 #line 9991 "configure" 10008 #line 10009 "configure"
9991 #include "confdefs.h" 10009 #include "confdefs.h"
9992 /* Override any gcc2 internal prototype to avoid an error. */ 10010 /* Override any gcc2 internal prototype to avoid an error. */
9993 /* We use char because int might match the return type of a gcc2 10011 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */ 10012 builtin and then its argument prototype would still apply. */
9995 char UnGenFace(); 10013 char UnGenFace();
9996 10014
9997 int main() { 10015 int main() {
9998 UnGenFace() 10016 UnGenFace()
9999 ; return 0; } 10017 ; return 0; }
10000 EOF 10018 EOF
10001 if { (eval echo configure:10002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10019 if { (eval echo configure:10020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10002 rm -rf conftest* 10020 rm -rf conftest*
10003 eval "ac_cv_lib_$ac_lib_var=yes" 10021 eval "ac_cv_lib_$ac_lib_var=yes"
10004 else 10022 else
10005 echo "configure: failed program was:" >&5 10023 echo "configure: failed program was:" >&5
10006 cat conftest.$ac_ext >&5 10024 cat conftest.$ac_ext >&5
10035 10053
10036 10054
10037 10055
10038 if test "$with_x11" = "yes"; then 10056 if test "$with_x11" = "yes"; then
10039 echo "checking for X11 graphics libraries" 1>&6 10057 echo "checking for X11 graphics libraries" 1>&6
10040 echo "configure:10041: checking for X11 graphics libraries" >&5 10058 echo "configure:10059: checking for X11 graphics libraries" >&5
10041 fi 10059 fi
10042 10060
10043 case "$with_widgets" in 10061 case "$with_widgets" in
10044 "yes" | "athena") detect_athena=yes ;; 10062 "yes" | "athena") detect_athena=yes ;;
10045 *) detect_athena=no ;; 10063 *) detect_athena=no ;;
10046 esac 10064 esac
10047 10065
10048 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10066 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10049 echo "checking for the Athena widgets" 1>&6 10067 echo "checking for the Athena widgets" 1>&6
10050 echo "configure:10051: checking for the Athena widgets" >&5 10068 echo "configure:10069: checking for the Athena widgets" >&5
10051 10069
10052 case "$with_athena" in 10070 case "$with_athena" in
10053 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10071 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10054 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10072 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10055 "next") athena_variant=neXtaw athena_3d=yes ;; 10073 "next") athena_variant=neXtaw athena_3d=yes ;;
10059 esac 10077 esac
10060 10078
10061 if test "$athena_3d" = "no"; then 10079 if test "$athena_3d" = "no"; then
10062 10080
10063 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10081 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10064 echo "configure:10065: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10082 echo "configure:10083: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10065 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10083 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10066 10084
10067 xe_check_libs=" -l$athena_variant " 10085 xe_check_libs=" -l$athena_variant "
10068 cat > conftest.$ac_ext <<EOF 10086 cat > conftest.$ac_ext <<EOF
10069 #line 10070 "configure" 10087 #line 10088 "configure"
10070 #include "confdefs.h" 10088 #include "confdefs.h"
10071 /* Override any gcc2 internal prototype to avoid an error. */ 10089 /* Override any gcc2 internal prototype to avoid an error. */
10072 /* We use char because int might match the return type of a gcc2 10090 /* We use char because int might match the return type of a gcc2
10073 builtin and then its argument prototype would still apply. */ 10091 builtin and then its argument prototype would still apply. */
10074 char XawScrollbarSetThumb(); 10092 char XawScrollbarSetThumb();
10075 10093
10076 int main() { 10094 int main() {
10077 XawScrollbarSetThumb() 10095 XawScrollbarSetThumb()
10078 ; return 0; } 10096 ; return 0; }
10079 EOF 10097 EOF
10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10098 if { (eval echo configure:10099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10081 rm -rf conftest* 10099 rm -rf conftest*
10082 eval "ac_cv_lib_$ac_lib_var=yes" 10100 eval "ac_cv_lib_$ac_lib_var=yes"
10083 else 10101 else
10084 echo "configure: failed program was:" >&5 10102 echo "configure: failed program was:" >&5
10085 cat conftest.$ac_ext >&5 10103 cat conftest.$ac_ext >&5
10091 10109
10092 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10093 echo "$ac_t""yes" 1>&6 10111 echo "$ac_t""yes" 1>&6
10094 10112
10095 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10113 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10096 echo "configure:10097: checking for threeDClassRec in -l$athena_variant" >&5 10114 echo "configure:10115: checking for threeDClassRec in -l$athena_variant" >&5
10097 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10115 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10098 10116
10099 xe_check_libs=" -l$athena_variant " 10117 xe_check_libs=" -l$athena_variant "
10100 cat > conftest.$ac_ext <<EOF 10118 cat > conftest.$ac_ext <<EOF
10101 #line 10102 "configure" 10119 #line 10120 "configure"
10102 #include "confdefs.h" 10120 #include "confdefs.h"
10103 /* Override any gcc2 internal prototype to avoid an error. */ 10121 /* Override any gcc2 internal prototype to avoid an error. */
10104 /* We use char because int might match the return type of a gcc2 10122 /* We use char because int might match the return type of a gcc2
10105 builtin and then its argument prototype would still apply. */ 10123 builtin and then its argument prototype would still apply. */
10106 char threeDClassRec(); 10124 char threeDClassRec();
10107 10125
10108 int main() { 10126 int main() {
10109 threeDClassRec() 10127 threeDClassRec()
10110 ; return 0; } 10128 ; return 0; }
10111 EOF 10129 EOF
10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10113 rm -rf conftest* 10131 rm -rf conftest*
10114 eval "ac_cv_lib_$ac_lib_var=yes" 10132 eval "ac_cv_lib_$ac_lib_var=yes"
10115 else 10133 else
10116 echo "configure: failed program was:" >&5 10134 echo "configure: failed program was:" >&5
10117 cat conftest.$ac_ext >&5 10135 cat conftest.$ac_ext >&5
10138 10156
10139 10157
10140 else 10158 else
10141 10159
10142 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10160 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10143 echo "configure:10144: checking for threeDClassRec in -l$athena_variant" >&5 10161 echo "configure:10162: checking for threeDClassRec in -l$athena_variant" >&5
10144 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10162 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10145 10163
10146 xe_check_libs=" -l$athena_variant " 10164 xe_check_libs=" -l$athena_variant "
10147 cat > conftest.$ac_ext <<EOF 10165 cat > conftest.$ac_ext <<EOF
10148 #line 10149 "configure" 10166 #line 10167 "configure"
10149 #include "confdefs.h" 10167 #include "confdefs.h"
10150 /* Override any gcc2 internal prototype to avoid an error. */ 10168 /* Override any gcc2 internal prototype to avoid an error. */
10151 /* We use char because int might match the return type of a gcc2 10169 /* We use char because int might match the return type of a gcc2
10152 builtin and then its argument prototype would still apply. */ 10170 builtin and then its argument prototype would still apply. */
10153 char threeDClassRec(); 10171 char threeDClassRec();
10154 10172
10155 int main() { 10173 int main() {
10156 threeDClassRec() 10174 threeDClassRec()
10157 ; return 0; } 10175 ; return 0; }
10158 EOF 10176 EOF
10159 if { (eval echo configure:10160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10177 if { (eval echo configure:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10160 rm -rf conftest* 10178 rm -rf conftest*
10161 eval "ac_cv_lib_$ac_lib_var=yes" 10179 eval "ac_cv_lib_$ac_lib_var=yes"
10162 else 10180 else
10163 echo "configure: failed program was:" >&5 10181 echo "configure: failed program was:" >&5
10164 cat conftest.$ac_ext >&5 10182 cat conftest.$ac_ext >&5
10172 echo "$ac_t""yes" 1>&6 10190 echo "$ac_t""yes" 1>&6
10173 athena_lib=$athena_variant 10191 athena_lib=$athena_variant
10174 else 10192 else
10175 echo "$ac_t""no" 1>&6 10193 echo "$ac_t""no" 1>&6
10176 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10194 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10177 echo "configure:10178: checking for threeDClassRec in -lXaw" >&5 10195 echo "configure:10196: checking for threeDClassRec in -lXaw" >&5
10178 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10196 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10179 10197
10180 xe_check_libs=" -lXaw " 10198 xe_check_libs=" -lXaw "
10181 cat > conftest.$ac_ext <<EOF 10199 cat > conftest.$ac_ext <<EOF
10182 #line 10183 "configure" 10200 #line 10201 "configure"
10183 #include "confdefs.h" 10201 #include "confdefs.h"
10184 /* Override any gcc2 internal prototype to avoid an error. */ 10202 /* Override any gcc2 internal prototype to avoid an error. */
10185 /* We use char because int might match the return type of a gcc2 10203 /* We use char because int might match the return type of a gcc2
10186 builtin and then its argument prototype would still apply. */ 10204 builtin and then its argument prototype would still apply. */
10187 char threeDClassRec(); 10205 char threeDClassRec();
10188 10206
10189 int main() { 10207 int main() {
10190 threeDClassRec() 10208 threeDClassRec()
10191 ; return 0; } 10209 ; return 0; }
10192 EOF 10210 EOF
10193 if { (eval echo configure:10194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10211 if { (eval echo configure:10212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10194 rm -rf conftest* 10212 rm -rf conftest*
10195 eval "ac_cv_lib_$ac_lib_var=yes" 10213 eval "ac_cv_lib_$ac_lib_var=yes"
10196 else 10214 else
10197 echo "configure: failed program was:" >&5 10215 echo "configure: failed program was:" >&5
10198 cat conftest.$ac_ext >&5 10216 cat conftest.$ac_ext >&5
10219 fi 10237 fi
10220 10238
10221 if test "$athena_3d" = "no"; then 10239 if test "$athena_3d" = "no"; then
10222 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10240 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10223 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10241 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10224 echo "configure:10225: checking for X11/Xaw/ThreeD.h" >&5 10242 echo "configure:10243: checking for X11/Xaw/ThreeD.h" >&5
10225 10243
10226 cat > conftest.$ac_ext <<EOF 10244 cat > conftest.$ac_ext <<EOF
10227 #line 10228 "configure" 10245 #line 10246 "configure"
10228 #include "confdefs.h" 10246 #include "confdefs.h"
10229 #include <X11/Xaw/ThreeD.h> 10247 #include <X11/Xaw/ThreeD.h>
10230 EOF 10248 EOF
10231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10232 { (eval echo configure:10233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10250 { (eval echo configure:10251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10234 if test -z "$ac_err"; then 10252 if test -z "$ac_err"; then
10235 rm -rf conftest* 10253 rm -rf conftest*
10236 eval "ac_cv_header_$ac_safe=yes" 10254 eval "ac_cv_header_$ac_safe=yes"
10237 else 10255 else
10247 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10265 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10248 else 10266 else
10249 echo "$ac_t""no" 1>&6 10267 echo "$ac_t""no" 1>&6
10250 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10268 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10251 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10269 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10252 echo "configure:10253: checking for X11/Xaw/XawInit.h" >&5 10270 echo "configure:10271: checking for X11/Xaw/XawInit.h" >&5
10253 10271
10254 cat > conftest.$ac_ext <<EOF 10272 cat > conftest.$ac_ext <<EOF
10255 #line 10256 "configure" 10273 #line 10274 "configure"
10256 #include "confdefs.h" 10274 #include "confdefs.h"
10257 #include <X11/Xaw/XawInit.h> 10275 #include <X11/Xaw/XawInit.h>
10258 EOF 10276 EOF
10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10278 { (eval echo configure:10279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10262 if test -z "$ac_err"; then 10280 if test -z "$ac_err"; then
10263 rm -rf conftest* 10281 rm -rf conftest*
10264 eval "ac_cv_header_$ac_safe=yes" 10282 eval "ac_cv_header_$ac_safe=yes"
10265 else 10283 else
10281 fi 10299 fi
10282 10300
10283 else 10301 else
10284 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10302 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10285 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10303 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10286 echo "configure:10287: checking for X11/$athena_variant/XawInit.h" >&5 10304 echo "configure:10305: checking for X11/$athena_variant/XawInit.h" >&5
10287 10305
10288 cat > conftest.$ac_ext <<EOF 10306 cat > conftest.$ac_ext <<EOF
10289 #line 10290 "configure" 10307 #line 10308 "configure"
10290 #include "confdefs.h" 10308 #include "confdefs.h"
10291 #include <X11/$athena_variant/XawInit.h> 10309 #include <X11/$athena_variant/XawInit.h>
10292 EOF 10310 EOF
10293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10294 { (eval echo configure:10295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10312 { (eval echo configure:10313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10296 if test -z "$ac_err"; then 10314 if test -z "$ac_err"; then
10297 rm -rf conftest* 10315 rm -rf conftest*
10298 eval "ac_cv_header_$ac_safe=yes" 10316 eval "ac_cv_header_$ac_safe=yes"
10299 else 10317 else
10306 rm -f conftest* 10324 rm -f conftest*
10307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10308 echo "$ac_t""yes" 1>&6 10326 echo "$ac_t""yes" 1>&6
10309 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10327 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10310 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10328 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10311 echo "configure:10312: checking for X11/$athena_variant/ThreeD.h" >&5 10329 echo "configure:10330: checking for X11/$athena_variant/ThreeD.h" >&5
10312 10330
10313 cat > conftest.$ac_ext <<EOF 10331 cat > conftest.$ac_ext <<EOF
10314 #line 10315 "configure" 10332 #line 10333 "configure"
10315 #include "confdefs.h" 10333 #include "confdefs.h"
10316 #include <X11/$athena_variant/ThreeD.h> 10334 #include <X11/$athena_variant/ThreeD.h>
10317 EOF 10335 EOF
10318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10319 { (eval echo configure:10320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10337 { (eval echo configure:10338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10321 if test -z "$ac_err"; then 10339 if test -z "$ac_err"; then
10322 rm -rf conftest* 10340 rm -rf conftest*
10323 eval "ac_cv_header_$ac_safe=yes" 10341 eval "ac_cv_header_$ac_safe=yes"
10324 else 10342 else
10342 10360
10343 10361
10344 if test -z "$athena_h_path"; then 10362 if test -z "$athena_h_path"; then
10345 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10363 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10346 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10364 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10347 echo "configure:10348: checking for $athena_variant/XawInit.h" >&5 10365 echo "configure:10366: checking for $athena_variant/XawInit.h" >&5
10348 10366
10349 cat > conftest.$ac_ext <<EOF 10367 cat > conftest.$ac_ext <<EOF
10350 #line 10351 "configure" 10368 #line 10369 "configure"
10351 #include "confdefs.h" 10369 #include "confdefs.h"
10352 #include <$athena_variant/XawInit.h> 10370 #include <$athena_variant/XawInit.h>
10353 EOF 10371 EOF
10354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10355 { (eval echo configure:10356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10373 { (eval echo configure:10374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10357 if test -z "$ac_err"; then 10375 if test -z "$ac_err"; then
10358 rm -rf conftest* 10376 rm -rf conftest*
10359 eval "ac_cv_header_$ac_safe=yes" 10377 eval "ac_cv_header_$ac_safe=yes"
10360 else 10378 else
10367 rm -f conftest* 10385 rm -f conftest*
10368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10369 echo "$ac_t""yes" 1>&6 10387 echo "$ac_t""yes" 1>&6
10370 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10388 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10371 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10389 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10372 echo "configure:10373: checking for $athena_variant/ThreeD.h" >&5 10390 echo "configure:10391: checking for $athena_variant/ThreeD.h" >&5
10373 10391
10374 cat > conftest.$ac_ext <<EOF 10392 cat > conftest.$ac_ext <<EOF
10375 #line 10376 "configure" 10393 #line 10394 "configure"
10376 #include "confdefs.h" 10394 #include "confdefs.h"
10377 #include <$athena_variant/ThreeD.h> 10395 #include <$athena_variant/ThreeD.h>
10378 EOF 10396 EOF
10379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10380 { (eval echo configure:10381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10382 if test -z "$ac_err"; then 10400 if test -z "$ac_err"; then
10383 rm -rf conftest* 10401 rm -rf conftest*
10384 eval "ac_cv_header_$ac_safe=yes" 10402 eval "ac_cv_header_$ac_safe=yes"
10385 else 10403 else
10404 fi 10422 fi
10405 10423
10406 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10424 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10407 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10425 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10408 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10426 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10409 echo "configure:10410: checking for X11/Xaw3d/XawInit.h" >&5 10427 echo "configure:10428: checking for X11/Xaw3d/XawInit.h" >&5
10410 10428
10411 cat > conftest.$ac_ext <<EOF 10429 cat > conftest.$ac_ext <<EOF
10412 #line 10413 "configure" 10430 #line 10431 "configure"
10413 #include "confdefs.h" 10431 #include "confdefs.h"
10414 #include <X11/Xaw3d/XawInit.h> 10432 #include <X11/Xaw3d/XawInit.h>
10415 EOF 10433 EOF
10416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10417 { (eval echo configure:10418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10435 { (eval echo configure:10436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10419 if test -z "$ac_err"; then 10437 if test -z "$ac_err"; then
10420 rm -rf conftest* 10438 rm -rf conftest*
10421 eval "ac_cv_header_$ac_safe=yes" 10439 eval "ac_cv_header_$ac_safe=yes"
10422 else 10440 else
10429 rm -f conftest* 10447 rm -f conftest*
10430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10431 echo "$ac_t""yes" 1>&6 10449 echo "$ac_t""yes" 1>&6
10432 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10450 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10433 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10451 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10434 echo "configure:10435: checking for X11/Xaw3d/ThreeD.h" >&5 10452 echo "configure:10453: checking for X11/Xaw3d/ThreeD.h" >&5
10435 10453
10436 cat > conftest.$ac_ext <<EOF 10454 cat > conftest.$ac_ext <<EOF
10437 #line 10438 "configure" 10455 #line 10456 "configure"
10438 #include "confdefs.h" 10456 #include "confdefs.h"
10439 #include <X11/Xaw3d/ThreeD.h> 10457 #include <X11/Xaw3d/ThreeD.h>
10440 EOF 10458 EOF
10441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10442 { (eval echo configure:10443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10460 { (eval echo configure:10461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10444 if test -z "$ac_err"; then 10462 if test -z "$ac_err"; then
10445 rm -rf conftest* 10463 rm -rf conftest*
10446 eval "ac_cv_header_$ac_safe=yes" 10464 eval "ac_cv_header_$ac_safe=yes"
10447 else 10465 else
10469 fi 10487 fi
10470 10488
10471 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10489 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10472 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10490 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10473 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10491 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10474 echo "configure:10475: checking for Xaw3d/XawInit.h" >&5 10492 echo "configure:10493: checking for Xaw3d/XawInit.h" >&5
10475 10493
10476 cat > conftest.$ac_ext <<EOF 10494 cat > conftest.$ac_ext <<EOF
10477 #line 10478 "configure" 10495 #line 10496 "configure"
10478 #include "confdefs.h" 10496 #include "confdefs.h"
10479 #include <Xaw3d/XawInit.h> 10497 #include <Xaw3d/XawInit.h>
10480 EOF 10498 EOF
10481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10482 { (eval echo configure:10483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10500 { (eval echo configure:10501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10484 if test -z "$ac_err"; then 10502 if test -z "$ac_err"; then
10485 rm -rf conftest* 10503 rm -rf conftest*
10486 eval "ac_cv_header_$ac_safe=yes" 10504 eval "ac_cv_header_$ac_safe=yes"
10487 else 10505 else
10494 rm -f conftest* 10512 rm -f conftest*
10495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10513 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10496 echo "$ac_t""yes" 1>&6 10514 echo "$ac_t""yes" 1>&6
10497 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10515 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10498 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10516 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10499 echo "configure:10500: checking for Xaw3d/ThreeD.h" >&5 10517 echo "configure:10518: checking for Xaw3d/ThreeD.h" >&5
10500 10518
10501 cat > conftest.$ac_ext <<EOF 10519 cat > conftest.$ac_ext <<EOF
10502 #line 10503 "configure" 10520 #line 10521 "configure"
10503 #include "confdefs.h" 10521 #include "confdefs.h"
10504 #include <Xaw3d/ThreeD.h> 10522 #include <Xaw3d/ThreeD.h>
10505 EOF 10523 EOF
10506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10507 { (eval echo configure:10508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10525 { (eval echo configure:10526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10509 if test -z "$ac_err"; then 10527 if test -z "$ac_err"; then
10510 rm -rf conftest* 10528 rm -rf conftest*
10511 eval "ac_cv_header_$ac_safe=yes" 10529 eval "ac_cv_header_$ac_safe=yes"
10512 else 10530 else
10534 fi 10552 fi
10535 10553
10536 if test -z "$athena_h_path"; then 10554 if test -z "$athena_h_path"; then
10537 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10555 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10538 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10556 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10539 echo "configure:10540: checking for X11/Xaw/ThreeD.h" >&5 10557 echo "configure:10558: checking for X11/Xaw/ThreeD.h" >&5
10540 10558
10541 cat > conftest.$ac_ext <<EOF 10559 cat > conftest.$ac_ext <<EOF
10542 #line 10543 "configure" 10560 #line 10561 "configure"
10543 #include "confdefs.h" 10561 #include "confdefs.h"
10544 #include <X11/Xaw/ThreeD.h> 10562 #include <X11/Xaw/ThreeD.h>
10545 EOF 10563 EOF
10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10565 { (eval echo configure:10566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10549 if test -z "$ac_err"; then 10567 if test -z "$ac_err"; then
10550 rm -rf conftest* 10568 rm -rf conftest*
10551 eval "ac_cv_header_$ac_safe=yes" 10569 eval "ac_cv_header_$ac_safe=yes"
10552 else 10570 else
10581 have_xaw=no 10599 have_xaw=no
10582 fi 10600 fi
10583 if test "$with_x11" = "yes"; then 10601 if test "$with_x11" = "yes"; then
10584 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10602 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10585 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10603 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10586 echo "configure:10587: checking for Xm/Xm.h" >&5 10604 echo "configure:10605: checking for Xm/Xm.h" >&5
10587 10605
10588 cat > conftest.$ac_ext <<EOF 10606 cat > conftest.$ac_ext <<EOF
10589 #line 10590 "configure" 10607 #line 10608 "configure"
10590 #include "confdefs.h" 10608 #include "confdefs.h"
10591 #include <Xm/Xm.h> 10609 #include <Xm/Xm.h>
10592 EOF 10610 EOF
10593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10594 { (eval echo configure:10595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10612 { (eval echo configure:10613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10596 if test -z "$ac_err"; then 10614 if test -z "$ac_err"; then
10597 rm -rf conftest* 10615 rm -rf conftest*
10598 eval "ac_cv_header_$ac_safe=yes" 10616 eval "ac_cv_header_$ac_safe=yes"
10599 else 10617 else
10606 rm -f conftest* 10624 rm -f conftest*
10607 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10608 echo "$ac_t""yes" 1>&6 10626 echo "$ac_t""yes" 1>&6
10609 10627
10610 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10628 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10611 echo "configure:10612: checking for XmStringFree in -lXm" >&5 10629 echo "configure:10630: checking for XmStringFree in -lXm" >&5
10612 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10630 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10613 10631
10614 xe_check_libs=" -lXm " 10632 xe_check_libs=" -lXm "
10615 cat > conftest.$ac_ext <<EOF 10633 cat > conftest.$ac_ext <<EOF
10616 #line 10617 "configure" 10634 #line 10635 "configure"
10617 #include "confdefs.h" 10635 #include "confdefs.h"
10618 /* Override any gcc2 internal prototype to avoid an error. */ 10636 /* Override any gcc2 internal prototype to avoid an error. */
10619 /* We use char because int might match the return type of a gcc2 10637 /* We use char because int might match the return type of a gcc2
10620 builtin and then its argument prototype would still apply. */ 10638 builtin and then its argument prototype would still apply. */
10621 char XmStringFree(); 10639 char XmStringFree();
10622 10640
10623 int main() { 10641 int main() {
10624 XmStringFree() 10642 XmStringFree()
10625 ; return 0; } 10643 ; return 0; }
10626 EOF 10644 EOF
10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10645 if { (eval echo configure:10646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10628 rm -rf conftest* 10646 rm -rf conftest*
10629 eval "ac_cv_lib_$ac_lib_var=yes" 10647 eval "ac_cv_lib_$ac_lib_var=yes"
10630 else 10648 else
10631 echo "configure: failed program was:" >&5 10649 echo "configure: failed program was:" >&5
10632 cat conftest.$ac_ext >&5 10650 cat conftest.$ac_ext >&5
10651 fi 10669 fi
10652 10670
10653 10671
10654 if test "$have_motif" = "yes"; then 10672 if test "$have_motif" = "yes"; then
10655 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10673 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10656 echo "configure:10657: checking for Lesstif" >&5 10674 echo "configure:10675: checking for Lesstif" >&5
10657 cat > conftest.$ac_ext <<EOF 10675 cat > conftest.$ac_ext <<EOF
10658 #line 10659 "configure" 10676 #line 10677 "configure"
10659 #include "confdefs.h" 10677 #include "confdefs.h"
10660 #include <Xm/Xm.h> 10678 #include <Xm/Xm.h>
10661 #ifdef LESSTIF_VERSION 10679 #ifdef LESSTIF_VERSION
10662 yes 10680 yes
10663 #endif 10681 #endif
11026 11044
11027 fi 11045 fi
11028 11046
11029 if test "$with_mule" = "yes" ; then 11047 if test "$with_mule" = "yes" ; then
11030 echo "checking for Mule-related features" 1>&6 11048 echo "checking for Mule-related features" 1>&6
11031 echo "configure:11032: checking for Mule-related features" >&5 11049 echo "configure:11050: checking for Mule-related features" >&5
11032 { test "$extra_verbose" = "yes" && cat << \EOF 11050 { test "$extra_verbose" = "yes" && cat << \EOF
11033 Defining MULE 11051 Defining MULE
11034 EOF 11052 EOF
11035 cat >> confdefs.h <<\EOF 11053 cat >> confdefs.h <<\EOF
11036 #define MULE 1 11054 #define MULE 1
11040 11058
11041 for ac_hdr in libintl.h 11059 for ac_hdr in libintl.h
11042 do 11060 do
11043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11045 echo "configure:11046: checking for $ac_hdr" >&5 11063 echo "configure:11064: checking for $ac_hdr" >&5
11046 11064
11047 cat > conftest.$ac_ext <<EOF 11065 cat > conftest.$ac_ext <<EOF
11048 #line 11049 "configure" 11066 #line 11067 "configure"
11049 #include "confdefs.h" 11067 #include "confdefs.h"
11050 #include <$ac_hdr> 11068 #include <$ac_hdr>
11051 EOF 11069 EOF
11052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11053 { (eval echo configure:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11071 { (eval echo configure:11072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11055 if test -z "$ac_err"; then 11073 if test -z "$ac_err"; then
11056 rm -rf conftest* 11074 rm -rf conftest*
11057 eval "ac_cv_header_$ac_safe=yes" 11075 eval "ac_cv_header_$ac_safe=yes"
11058 else 11076 else
11079 fi 11097 fi
11080 done 11098 done
11081 11099
11082 11100
11083 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11101 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11084 echo "configure:11085: checking for strerror in -lintl" >&5 11102 echo "configure:11103: checking for strerror in -lintl" >&5
11085 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11103 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11086 11104
11087 xe_check_libs=" -lintl " 11105 xe_check_libs=" -lintl "
11088 cat > conftest.$ac_ext <<EOF 11106 cat > conftest.$ac_ext <<EOF
11089 #line 11090 "configure" 11107 #line 11108 "configure"
11090 #include "confdefs.h" 11108 #include "confdefs.h"
11091 /* Override any gcc2 internal prototype to avoid an error. */ 11109 /* Override any gcc2 internal prototype to avoid an error. */
11092 /* We use char because int might match the return type of a gcc2 11110 /* We use char because int might match the return type of a gcc2
11093 builtin and then its argument prototype would still apply. */ 11111 builtin and then its argument prototype would still apply. */
11094 char strerror(); 11112 char strerror();
11095 11113
11096 int main() { 11114 int main() {
11097 strerror() 11115 strerror()
11098 ; return 0; } 11116 ; return 0; }
11099 EOF 11117 EOF
11100 if { (eval echo configure:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11118 if { (eval echo configure:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11101 rm -rf conftest* 11119 rm -rf conftest*
11102 eval "ac_cv_lib_$ac_lib_var=yes" 11120 eval "ac_cv_lib_$ac_lib_var=yes"
11103 else 11121 else
11104 echo "configure: failed program was:" >&5 11122 echo "configure: failed program was:" >&5
11105 cat conftest.$ac_ext >&5 11123 cat conftest.$ac_ext >&5
11128 fi 11146 fi
11129 11147
11130 11148
11131 11149
11132 echo "checking for Mule input methods" 1>&6 11150 echo "checking for Mule input methods" 1>&6
11133 echo "configure:11134: checking for Mule input methods" >&5 11151 echo "configure:11152: checking for Mule input methods" >&5
11134 case "$with_xim" in "" | "yes" ) 11152 case "$with_xim" in "" | "yes" )
11135 echo "checking for XIM" 1>&6 11153 echo "checking for XIM" 1>&6
11136 echo "configure:11137: checking for XIM" >&5 11154 echo "configure:11155: checking for XIM" >&5
11137 11155
11138 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11156 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11139 echo "configure:11140: checking for XOpenIM in -lX11" >&5 11157 echo "configure:11158: checking for XOpenIM in -lX11" >&5
11140 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11158 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11141 11159
11142 xe_check_libs=" -lX11 " 11160 xe_check_libs=" -lX11 "
11143 cat > conftest.$ac_ext <<EOF 11161 cat > conftest.$ac_ext <<EOF
11144 #line 11145 "configure" 11162 #line 11163 "configure"
11145 #include "confdefs.h" 11163 #include "confdefs.h"
11146 /* Override any gcc2 internal prototype to avoid an error. */ 11164 /* Override any gcc2 internal prototype to avoid an error. */
11147 /* We use char because int might match the return type of a gcc2 11165 /* We use char because int might match the return type of a gcc2
11148 builtin and then its argument prototype would still apply. */ 11166 builtin and then its argument prototype would still apply. */
11149 char XOpenIM(); 11167 char XOpenIM();
11150 11168
11151 int main() { 11169 int main() {
11152 XOpenIM() 11170 XOpenIM()
11153 ; return 0; } 11171 ; return 0; }
11154 EOF 11172 EOF
11155 if { (eval echo configure:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11173 if { (eval echo configure:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11156 rm -rf conftest* 11174 rm -rf conftest*
11157 eval "ac_cv_lib_$ac_lib_var=yes" 11175 eval "ac_cv_lib_$ac_lib_var=yes"
11158 else 11176 else
11159 echo "configure: failed program was:" >&5 11177 echo "configure: failed program was:" >&5
11160 cat conftest.$ac_ext >&5 11178 cat conftest.$ac_ext >&5
11174 11192
11175 11193
11176 if test "$have_motif $have_lesstif" = "yes no"; then 11194 if test "$have_motif $have_lesstif" = "yes no"; then
11177 11195
11178 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11196 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11179 echo "configure:11180: checking for XmImMbLookupString in -lXm" >&5 11197 echo "configure:11198: checking for XmImMbLookupString in -lXm" >&5
11180 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11198 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11181 11199
11182 xe_check_libs=" -lXm " 11200 xe_check_libs=" -lXm "
11183 cat > conftest.$ac_ext <<EOF 11201 cat > conftest.$ac_ext <<EOF
11184 #line 11185 "configure" 11202 #line 11203 "configure"
11185 #include "confdefs.h" 11203 #include "confdefs.h"
11186 /* Override any gcc2 internal prototype to avoid an error. */ 11204 /* Override any gcc2 internal prototype to avoid an error. */
11187 /* We use char because int might match the return type of a gcc2 11205 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */ 11206 builtin and then its argument prototype would still apply. */
11189 char XmImMbLookupString(); 11207 char XmImMbLookupString();
11190 11208
11191 int main() { 11209 int main() {
11192 XmImMbLookupString() 11210 XmImMbLookupString()
11193 ; return 0; } 11211 ; return 0; }
11194 EOF 11212 EOF
11195 if { (eval echo configure:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11213 if { (eval echo configure:11214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11196 rm -rf conftest* 11214 rm -rf conftest*
11197 eval "ac_cv_lib_$ac_lib_var=yes" 11215 eval "ac_cv_lib_$ac_lib_var=yes"
11198 else 11216 else
11199 echo "configure: failed program was:" >&5 11217 echo "configure: failed program was:" >&5
11200 cat conftest.$ac_ext >&5 11218 cat conftest.$ac_ext >&5
11255 fi 11273 fi
11256 fi 11274 fi
11257 11275
11258 if test "$with_xfs" = "yes" ; then 11276 if test "$with_xfs" = "yes" ; then
11259 echo "checking for XFontSet" 1>&6 11277 echo "checking for XFontSet" 1>&6
11260 echo "configure:11261: checking for XFontSet" >&5 11278 echo "configure:11279: checking for XFontSet" >&5
11261 11279
11262 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11280 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11263 echo "configure:11264: checking for XmbDrawString in -lX11" >&5 11281 echo "configure:11282: checking for XmbDrawString in -lX11" >&5
11264 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11282 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11265 11283
11266 xe_check_libs=" -lX11 " 11284 xe_check_libs=" -lX11 "
11267 cat > conftest.$ac_ext <<EOF 11285 cat > conftest.$ac_ext <<EOF
11268 #line 11269 "configure" 11286 #line 11287 "configure"
11269 #include "confdefs.h" 11287 #include "confdefs.h"
11270 /* Override any gcc2 internal prototype to avoid an error. */ 11288 /* Override any gcc2 internal prototype to avoid an error. */
11271 /* We use char because int might match the return type of a gcc2 11289 /* We use char because int might match the return type of a gcc2
11272 builtin and then its argument prototype would still apply. */ 11290 builtin and then its argument prototype would still apply. */
11273 char XmbDrawString(); 11291 char XmbDrawString();
11274 11292
11275 int main() { 11293 int main() {
11276 XmbDrawString() 11294 XmbDrawString()
11277 ; return 0; } 11295 ; return 0; }
11278 EOF 11296 EOF
11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11297 if { (eval echo configure:11298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11280 rm -rf conftest* 11298 rm -rf conftest*
11281 eval "ac_cv_lib_$ac_lib_var=yes" 11299 eval "ac_cv_lib_$ac_lib_var=yes"
11282 else 11300 else
11283 echo "configure: failed program was:" >&5 11301 echo "configure: failed program was:" >&5
11284 cat conftest.$ac_ext >&5 11302 cat conftest.$ac_ext >&5
11314 fi 11332 fi
11315 fi 11333 fi
11316 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11334 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11317 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11335 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11318 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11336 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11319 echo "configure:11320: checking for wnn/jllib.h" >&5 11337 echo "configure:11338: checking for wnn/jllib.h" >&5
11320 11338
11321 cat > conftest.$ac_ext <<EOF 11339 cat > conftest.$ac_ext <<EOF
11322 #line 11323 "configure" 11340 #line 11341 "configure"
11323 #include "confdefs.h" 11341 #include "confdefs.h"
11324 #include <wnn/jllib.h> 11342 #include <wnn/jllib.h>
11325 EOF 11343 EOF
11326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11327 { (eval echo configure:11328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11345 { (eval echo configure:11346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11329 if test -z "$ac_err"; then 11347 if test -z "$ac_err"; then
11330 rm -rf conftest* 11348 rm -rf conftest*
11331 eval "ac_cv_header_$ac_safe=yes" 11349 eval "ac_cv_header_$ac_safe=yes"
11332 else 11350 else
11345 with_wnn=no 11363 with_wnn=no
11346 fi 11364 fi
11347 } 11365 }
11348 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11366 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11349 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11367 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11350 echo "configure:11351: checking for wnn/commonhd.h" >&5 11368 echo "configure:11369: checking for wnn/commonhd.h" >&5
11351 11369
11352 cat > conftest.$ac_ext <<EOF 11370 cat > conftest.$ac_ext <<EOF
11353 #line 11354 "configure" 11371 #line 11372 "configure"
11354 #include "confdefs.h" 11372 #include "confdefs.h"
11355 #include <wnn/commonhd.h> 11373 #include <wnn/commonhd.h>
11356 EOF 11374 EOF
11357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11358 { (eval echo configure:11359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11360 if test -z "$ac_err"; then 11378 if test -z "$ac_err"; then
11361 rm -rf conftest* 11379 rm -rf conftest*
11362 eval "ac_cv_header_$ac_safe=yes" 11380 eval "ac_cv_header_$ac_safe=yes"
11363 else 11381 else
11378 } 11396 }
11379 if test "$with_wnn" != "no"; then 11397 if test "$with_wnn" != "no"; then
11380 for ac_func in crypt 11398 for ac_func in crypt
11381 do 11399 do
11382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11383 echo "configure:11384: checking for $ac_func" >&5 11401 echo "configure:11402: checking for $ac_func" >&5
11384 11402
11385 cat > conftest.$ac_ext <<EOF 11403 cat > conftest.$ac_ext <<EOF
11386 #line 11387 "configure" 11404 #line 11405 "configure"
11387 #include "confdefs.h" 11405 #include "confdefs.h"
11388 /* System header to define __stub macros and hopefully few prototypes, 11406 /* System header to define __stub macros and hopefully few prototypes,
11389 which can conflict with char $ac_func(); below. */ 11407 which can conflict with char $ac_func(); below. */
11390 #include <assert.h> 11408 #include <assert.h>
11391 /* Override any gcc2 internal prototype to avoid an error. */ 11409 /* Override any gcc2 internal prototype to avoid an error. */
11404 $ac_func(); 11422 $ac_func();
11405 #endif 11423 #endif
11406 11424
11407 ; return 0; } 11425 ; return 0; }
11408 EOF 11426 EOF
11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11427 if { (eval echo configure:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11410 rm -rf conftest* 11428 rm -rf conftest*
11411 eval "ac_cv_func_$ac_func=yes" 11429 eval "ac_cv_func_$ac_func=yes"
11412 else 11430 else
11413 echo "configure: failed program was:" >&5 11431 echo "configure: failed program was:" >&5
11414 cat conftest.$ac_ext >&5 11432 cat conftest.$ac_ext >&5
11433 fi 11451 fi
11434 done 11452 done
11435 11453
11436 test "$ac_cv_func_crypt" != "yes" && { 11454 test "$ac_cv_func_crypt" != "yes" && {
11437 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11455 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11438 echo "configure:11439: checking for crypt in -lcrypt" >&5 11456 echo "configure:11457: checking for crypt in -lcrypt" >&5
11439 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11457 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11440 11458
11441 xe_check_libs=" -lcrypt " 11459 xe_check_libs=" -lcrypt "
11442 cat > conftest.$ac_ext <<EOF 11460 cat > conftest.$ac_ext <<EOF
11443 #line 11444 "configure" 11461 #line 11462 "configure"
11444 #include "confdefs.h" 11462 #include "confdefs.h"
11445 /* Override any gcc2 internal prototype to avoid an error. */ 11463 /* Override any gcc2 internal prototype to avoid an error. */
11446 /* We use char because int might match the return type of a gcc2 11464 /* We use char because int might match the return type of a gcc2
11447 builtin and then its argument prototype would still apply. */ 11465 builtin and then its argument prototype would still apply. */
11448 char crypt(); 11466 char crypt();
11449 11467
11450 int main() { 11468 int main() {
11451 crypt() 11469 crypt()
11452 ; return 0; } 11470 ; return 0; }
11453 EOF 11471 EOF
11454 if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11472 if { (eval echo configure:11473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11455 rm -rf conftest* 11473 rm -rf conftest*
11456 eval "ac_cv_lib_$ac_lib_var=yes" 11474 eval "ac_cv_lib_$ac_lib_var=yes"
11457 else 11475 else
11458 echo "configure: failed program was:" >&5 11476 echo "configure: failed program was:" >&5
11459 cat conftest.$ac_ext >&5 11477 cat conftest.$ac_ext >&5
11484 } 11502 }
11485 fi 11503 fi
11486 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11504 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11487 11505
11488 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11506 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11489 echo "configure:11490: checking for jl_dic_list_e in -lwnn" >&5 11507 echo "configure:11508: checking for jl_dic_list_e in -lwnn" >&5
11490 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11508 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11491 11509
11492 xe_check_libs=" -lwnn " 11510 xe_check_libs=" -lwnn "
11493 cat > conftest.$ac_ext <<EOF 11511 cat > conftest.$ac_ext <<EOF
11494 #line 11495 "configure" 11512 #line 11513 "configure"
11495 #include "confdefs.h" 11513 #include "confdefs.h"
11496 /* Override any gcc2 internal prototype to avoid an error. */ 11514 /* Override any gcc2 internal prototype to avoid an error. */
11497 /* We use char because int might match the return type of a gcc2 11515 /* We use char because int might match the return type of a gcc2
11498 builtin and then its argument prototype would still apply. */ 11516 builtin and then its argument prototype would still apply. */
11499 char jl_dic_list_e(); 11517 char jl_dic_list_e();
11500 11518
11501 int main() { 11519 int main() {
11502 jl_dic_list_e() 11520 jl_dic_list_e()
11503 ; return 0; } 11521 ; return 0; }
11504 EOF 11522 EOF
11505 if { (eval echo configure:11506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11523 if { (eval echo configure:11524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11506 rm -rf conftest* 11524 rm -rf conftest*
11507 eval "ac_cv_lib_$ac_lib_var=yes" 11525 eval "ac_cv_lib_$ac_lib_var=yes"
11508 else 11526 else
11509 echo "configure: failed program was:" >&5 11527 echo "configure: failed program was:" >&5
11510 cat conftest.$ac_ext >&5 11528 cat conftest.$ac_ext >&5
11518 echo "$ac_t""yes" 1>&6 11536 echo "$ac_t""yes" 1>&6
11519 libwnn=wnn 11537 libwnn=wnn
11520 else 11538 else
11521 echo "$ac_t""no" 1>&6 11539 echo "$ac_t""no" 1>&6
11522 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11540 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11523 echo "configure:11524: checking for jl_dic_list_e in -lwnn4" >&5 11541 echo "configure:11542: checking for jl_dic_list_e in -lwnn4" >&5
11524 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11542 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11525 11543
11526 xe_check_libs=" -lwnn4 " 11544 xe_check_libs=" -lwnn4 "
11527 cat > conftest.$ac_ext <<EOF 11545 cat > conftest.$ac_ext <<EOF
11528 #line 11529 "configure" 11546 #line 11547 "configure"
11529 #include "confdefs.h" 11547 #include "confdefs.h"
11530 /* Override any gcc2 internal prototype to avoid an error. */ 11548 /* Override any gcc2 internal prototype to avoid an error. */
11531 /* We use char because int might match the return type of a gcc2 11549 /* We use char because int might match the return type of a gcc2
11532 builtin and then its argument prototype would still apply. */ 11550 builtin and then its argument prototype would still apply. */
11533 char jl_dic_list_e(); 11551 char jl_dic_list_e();
11534 11552
11535 int main() { 11553 int main() {
11536 jl_dic_list_e() 11554 jl_dic_list_e()
11537 ; return 0; } 11555 ; return 0; }
11538 EOF 11556 EOF
11539 if { (eval echo configure:11540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11557 if { (eval echo configure:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11540 rm -rf conftest* 11558 rm -rf conftest*
11541 eval "ac_cv_lib_$ac_lib_var=yes" 11559 eval "ac_cv_lib_$ac_lib_var=yes"
11542 else 11560 else
11543 echo "configure: failed program was:" >&5 11561 echo "configure: failed program was:" >&5
11544 cat conftest.$ac_ext >&5 11562 cat conftest.$ac_ext >&5
11552 echo "$ac_t""yes" 1>&6 11570 echo "$ac_t""yes" 1>&6
11553 libwnn=wnn4 11571 libwnn=wnn4
11554 else 11572 else
11555 echo "$ac_t""no" 1>&6 11573 echo "$ac_t""no" 1>&6
11556 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11574 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11557 echo "configure:11558: checking for jl_dic_list_e in -lwnn6" >&5 11575 echo "configure:11576: checking for jl_dic_list_e in -lwnn6" >&5
11558 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11576 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11559 11577
11560 xe_check_libs=" -lwnn6 " 11578 xe_check_libs=" -lwnn6 "
11561 cat > conftest.$ac_ext <<EOF 11579 cat > conftest.$ac_ext <<EOF
11562 #line 11563 "configure" 11580 #line 11581 "configure"
11563 #include "confdefs.h" 11581 #include "confdefs.h"
11564 /* Override any gcc2 internal prototype to avoid an error. */ 11582 /* Override any gcc2 internal prototype to avoid an error. */
11565 /* We use char because int might match the return type of a gcc2 11583 /* We use char because int might match the return type of a gcc2
11566 builtin and then its argument prototype would still apply. */ 11584 builtin and then its argument prototype would still apply. */
11567 char jl_dic_list_e(); 11585 char jl_dic_list_e();
11568 11586
11569 int main() { 11587 int main() {
11570 jl_dic_list_e() 11588 jl_dic_list_e()
11571 ; return 0; } 11589 ; return 0; }
11572 EOF 11590 EOF
11573 if { (eval echo configure:11574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11591 if { (eval echo configure:11592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11574 rm -rf conftest* 11592 rm -rf conftest*
11575 eval "ac_cv_lib_$ac_lib_var=yes" 11593 eval "ac_cv_lib_$ac_lib_var=yes"
11576 else 11594 else
11577 echo "configure: failed program was:" >&5 11595 echo "configure: failed program was:" >&5
11578 cat conftest.$ac_ext >&5 11596 cat conftest.$ac_ext >&5
11586 echo "$ac_t""yes" 1>&6 11604 echo "$ac_t""yes" 1>&6
11587 libwnn=wnn6 11605 libwnn=wnn6
11588 else 11606 else
11589 echo "$ac_t""no" 1>&6 11607 echo "$ac_t""no" 1>&6
11590 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11608 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11591 echo "configure:11592: checking for dic_list_e in -lwnn6_fromsrc" >&5 11609 echo "configure:11610: checking for dic_list_e in -lwnn6_fromsrc" >&5
11592 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11610 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11593 11611
11594 xe_check_libs=" -lwnn6_fromsrc " 11612 xe_check_libs=" -lwnn6_fromsrc "
11595 cat > conftest.$ac_ext <<EOF 11613 cat > conftest.$ac_ext <<EOF
11596 #line 11597 "configure" 11614 #line 11615 "configure"
11597 #include "confdefs.h" 11615 #include "confdefs.h"
11598 /* Override any gcc2 internal prototype to avoid an error. */ 11616 /* Override any gcc2 internal prototype to avoid an error. */
11599 /* We use char because int might match the return type of a gcc2 11617 /* We use char because int might match the return type of a gcc2
11600 builtin and then its argument prototype would still apply. */ 11618 builtin and then its argument prototype would still apply. */
11601 char dic_list_e(); 11619 char dic_list_e();
11602 11620
11603 int main() { 11621 int main() {
11604 dic_list_e() 11622 dic_list_e()
11605 ; return 0; } 11623 ; return 0; }
11606 EOF 11624 EOF
11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11625 if { (eval echo configure:11626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11608 rm -rf conftest* 11626 rm -rf conftest*
11609 eval "ac_cv_lib_$ac_lib_var=yes" 11627 eval "ac_cv_lib_$ac_lib_var=yes"
11610 else 11628 else
11611 echo "configure: failed program was:" >&5 11629 echo "configure: failed program was:" >&5
11612 cat conftest.$ac_ext >&5 11630 cat conftest.$ac_ext >&5
11647 11665
11648 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11666 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11649 if test "$with_wnn6" != "no"; then 11667 if test "$with_wnn6" != "no"; then
11650 11668
11651 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11669 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11652 echo "configure:11653: checking for jl_fi_dic_list in -l$libwnn" >&5 11670 echo "configure:11671: checking for jl_fi_dic_list in -l$libwnn" >&5
11653 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11671 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11654 11672
11655 xe_check_libs=" -l$libwnn " 11673 xe_check_libs=" -l$libwnn "
11656 cat > conftest.$ac_ext <<EOF 11674 cat > conftest.$ac_ext <<EOF
11657 #line 11658 "configure" 11675 #line 11676 "configure"
11658 #include "confdefs.h" 11676 #include "confdefs.h"
11659 /* Override any gcc2 internal prototype to avoid an error. */ 11677 /* Override any gcc2 internal prototype to avoid an error. */
11660 /* We use char because int might match the return type of a gcc2 11678 /* We use char because int might match the return type of a gcc2
11661 builtin and then its argument prototype would still apply. */ 11679 builtin and then its argument prototype would still apply. */
11662 char jl_fi_dic_list(); 11680 char jl_fi_dic_list();
11663 11681
11664 int main() { 11682 int main() {
11665 jl_fi_dic_list() 11683 jl_fi_dic_list()
11666 ; return 0; } 11684 ; return 0; }
11667 EOF 11685 EOF
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11669 rm -rf conftest* 11687 rm -rf conftest*
11670 eval "ac_cv_lib_$ac_lib_var=yes" 11688 eval "ac_cv_lib_$ac_lib_var=yes"
11671 else 11689 else
11672 echo "configure: failed program was:" >&5 11690 echo "configure: failed program was:" >&5
11673 cat conftest.$ac_ext >&5 11691 cat conftest.$ac_ext >&5
11698 11716
11699 canna_includes_found=no 11717 canna_includes_found=no
11700 if test "$with_canna" != "no"; then 11718 if test "$with_canna" != "no"; then
11701 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11719 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11702 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11720 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11703 echo "configure:11704: checking for canna/jrkanji.h" >&5 11721 echo "configure:11722: checking for canna/jrkanji.h" >&5
11704 11722
11705 cat > conftest.$ac_ext <<EOF 11723 cat > conftest.$ac_ext <<EOF
11706 #line 11707 "configure" 11724 #line 11725 "configure"
11707 #include "confdefs.h" 11725 #include "confdefs.h"
11708 #include <canna/jrkanji.h> 11726 #include <canna/jrkanji.h>
11709 EOF 11727 EOF
11710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11711 { (eval echo configure:11712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11729 { (eval echo configure:11730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11713 if test -z "$ac_err"; then 11731 if test -z "$ac_err"; then
11714 rm -rf conftest* 11732 rm -rf conftest*
11715 eval "ac_cv_header_$ac_safe=yes" 11733 eval "ac_cv_header_$ac_safe=yes"
11716 else 11734 else
11733 -d "/usr/local/canna/include"; then 11751 -d "/usr/local/canna/include"; then
11734 save_c_switch_site="$c_switch_site" 11752 save_c_switch_site="$c_switch_site"
11735 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11753 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11736 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11754 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11737 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11755 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11738 echo "configure:11739: checking for canna/jrkanji.h" >&5 11756 echo "configure:11757: checking for canna/jrkanji.h" >&5
11739 11757
11740 cat > conftest.$ac_ext <<EOF 11758 cat > conftest.$ac_ext <<EOF
11741 #line 11742 "configure" 11759 #line 11760 "configure"
11742 #include "confdefs.h" 11760 #include "confdefs.h"
11743 #include <canna/jrkanji.h> 11761 #include <canna/jrkanji.h>
11744 EOF 11762 EOF
11745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11746 { (eval echo configure:11747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11764 { (eval echo configure:11765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11748 if test -z "$ac_err"; then 11766 if test -z "$ac_err"; then
11749 rm -rf conftest* 11767 rm -rf conftest*
11750 eval "ac_cv_header_$ac_safe=yes" 11768 eval "ac_cv_header_$ac_safe=yes"
11751 else 11769 else
11769 fi 11787 fi
11770 fi 11788 fi
11771 11789
11772 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 11790 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
11773 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 11791 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
11774 echo "configure:11775: checking for canna/RK.h" >&5 11792 echo "configure:11793: checking for canna/RK.h" >&5
11775 11793
11776 cat > conftest.$ac_ext <<EOF 11794 cat > conftest.$ac_ext <<EOF
11777 #line 11778 "configure" 11795 #line 11796 "configure"
11778 #include "confdefs.h" 11796 #include "confdefs.h"
11779 #include <canna/RK.h> 11797 #include <canna/RK.h>
11780 EOF 11798 EOF
11781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11782 { (eval echo configure:11783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11800 { (eval echo configure:11801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11784 if test -z "$ac_err"; then 11802 if test -z "$ac_err"; then
11785 rm -rf conftest* 11803 rm -rf conftest*
11786 eval "ac_cv_header_$ac_safe=yes" 11804 eval "ac_cv_header_$ac_safe=yes"
11787 else 11805 else
11800 with_canna=no 11818 with_canna=no
11801 fi 11819 fi
11802 } 11820 }
11803 test -z "$with_canna" && { 11821 test -z "$with_canna" && {
11804 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 11822 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
11805 echo "configure:11806: checking for RkBgnBun in -lRKC" >&5 11823 echo "configure:11824: checking for RkBgnBun in -lRKC" >&5
11806 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 11824 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
11807 11825
11808 xe_check_libs=" -lRKC " 11826 xe_check_libs=" -lRKC "
11809 cat > conftest.$ac_ext <<EOF 11827 cat > conftest.$ac_ext <<EOF
11810 #line 11811 "configure" 11828 #line 11829 "configure"
11811 #include "confdefs.h" 11829 #include "confdefs.h"
11812 /* Override any gcc2 internal prototype to avoid an error. */ 11830 /* Override any gcc2 internal prototype to avoid an error. */
11813 /* We use char because int might match the return type of a gcc2 11831 /* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */ 11832 builtin and then its argument prototype would still apply. */
11815 char RkBgnBun(); 11833 char RkBgnBun();
11816 11834
11817 int main() { 11835 int main() {
11818 RkBgnBun() 11836 RkBgnBun()
11819 ; return 0; } 11837 ; return 0; }
11820 EOF 11838 EOF
11821 if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11839 if { (eval echo configure:11840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11822 rm -rf conftest* 11840 rm -rf conftest*
11823 eval "ac_cv_lib_$ac_lib_var=yes" 11841 eval "ac_cv_lib_$ac_lib_var=yes"
11824 else 11842 else
11825 echo "configure: failed program was:" >&5 11843 echo "configure: failed program was:" >&5
11826 cat conftest.$ac_ext >&5 11844 cat conftest.$ac_ext >&5
11839 fi 11857 fi
11840 11858
11841 } 11859 }
11842 test -z "$with_canna" && { 11860 test -z "$with_canna" && {
11843 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 11861 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
11844 echo "configure:11845: checking for jrKanjiControl in -lcanna" >&5 11862 echo "configure:11863: checking for jrKanjiControl in -lcanna" >&5
11845 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 11863 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
11846 11864
11847 xe_check_libs=" -lcanna " 11865 xe_check_libs=" -lcanna "
11848 cat > conftest.$ac_ext <<EOF 11866 cat > conftest.$ac_ext <<EOF
11849 #line 11850 "configure" 11867 #line 11868 "configure"
11850 #include "confdefs.h" 11868 #include "confdefs.h"
11851 /* Override any gcc2 internal prototype to avoid an error. */ 11869 /* Override any gcc2 internal prototype to avoid an error. */
11852 /* We use char because int might match the return type of a gcc2 11870 /* We use char because int might match the return type of a gcc2
11853 builtin and then its argument prototype would still apply. */ 11871 builtin and then its argument prototype would still apply. */
11854 char jrKanjiControl(); 11872 char jrKanjiControl();
11855 11873
11856 int main() { 11874 int main() {
11857 jrKanjiControl() 11875 jrKanjiControl()
11858 ; return 0; } 11876 ; return 0; }
11859 EOF 11877 EOF
11860 if { (eval echo configure:11861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11878 if { (eval echo configure:11879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11861 rm -rf conftest* 11879 rm -rf conftest*
11862 eval "ac_cv_lib_$ac_lib_var=yes" 11880 eval "ac_cv_lib_$ac_lib_var=yes"
11863 else 11881 else
11864 echo "configure: failed program was:" >&5 11882 echo "configure: failed program was:" >&5
11865 cat conftest.$ac_ext >&5 11883 cat conftest.$ac_ext >&5
11901 11919
11902 if test "$need_motif" = "yes" ; then 11920 if test "$need_motif" = "yes" ; then
11903 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 11921 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
11904 11922
11905 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 11923 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
11906 echo "configure:11907: checking for layout_object_getvalue in -li18n" >&5 11924 echo "configure:11925: checking for layout_object_getvalue in -li18n" >&5
11907 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 11925 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
11908 11926
11909 xe_check_libs=" -li18n " 11927 xe_check_libs=" -li18n "
11910 cat > conftest.$ac_ext <<EOF 11928 cat > conftest.$ac_ext <<EOF
11911 #line 11912 "configure" 11929 #line 11930 "configure"
11912 #include "confdefs.h" 11930 #include "confdefs.h"
11913 /* Override any gcc2 internal prototype to avoid an error. */ 11931 /* Override any gcc2 internal prototype to avoid an error. */
11914 /* We use char because int might match the return type of a gcc2 11932 /* We use char because int might match the return type of a gcc2
11915 builtin and then its argument prototype would still apply. */ 11933 builtin and then its argument prototype would still apply. */
11916 char layout_object_getvalue(); 11934 char layout_object_getvalue();
11917 11935
11918 int main() { 11936 int main() {
11919 layout_object_getvalue() 11937 layout_object_getvalue()
11920 ; return 0; } 11938 ; return 0; }
11921 EOF 11939 EOF
11922 if { (eval echo configure:11923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11940 if { (eval echo configure:11941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11923 rm -rf conftest* 11941 rm -rf conftest*
11924 eval "ac_cv_lib_$ac_lib_var=yes" 11942 eval "ac_cv_lib_$ac_lib_var=yes"
11925 else 11943 else
11926 echo "configure: failed program was:" >&5 11944 echo "configure: failed program was:" >&5
11927 cat conftest.$ac_ext >&5 11945 cat conftest.$ac_ext >&5
12004 12022
12005 12023
12006 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp 12024 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp
12007 do 12025 do
12008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12009 echo "configure:12010: checking for $ac_func" >&5 12027 echo "configure:12028: checking for $ac_func" >&5
12010 12028
12011 cat > conftest.$ac_ext <<EOF 12029 cat > conftest.$ac_ext <<EOF
12012 #line 12013 "configure" 12030 #line 12031 "configure"
12013 #include "confdefs.h" 12031 #include "confdefs.h"
12014 /* System header to define __stub macros and hopefully few prototypes, 12032 /* System header to define __stub macros and hopefully few prototypes,
12015 which can conflict with char $ac_func(); below. */ 12033 which can conflict with char $ac_func(); below. */
12016 #include <assert.h> 12034 #include <assert.h>
12017 /* Override any gcc2 internal prototype to avoid an error. */ 12035 /* Override any gcc2 internal prototype to avoid an error. */
12030 $ac_func(); 12048 $ac_func();
12031 #endif 12049 #endif
12032 12050
12033 ; return 0; } 12051 ; return 0; }
12034 EOF 12052 EOF
12035 if { (eval echo configure:12036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12053 if { (eval echo configure:12054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12036 rm -rf conftest* 12054 rm -rf conftest*
12037 eval "ac_cv_func_$ac_func=yes" 12055 eval "ac_cv_func_$ac_func=yes"
12038 else 12056 else
12039 echo "configure: failed program was:" >&5 12057 echo "configure: failed program was:" >&5
12040 cat conftest.$ac_ext >&5 12058 cat conftest.$ac_ext >&5
12071 12089
12072 12090
12073 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12091 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12074 do 12092 do
12075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12076 echo "configure:12077: checking for $ac_func" >&5 12094 echo "configure:12095: checking for $ac_func" >&5
12077 12095
12078 cat > conftest.$ac_ext <<EOF 12096 cat > conftest.$ac_ext <<EOF
12079 #line 12080 "configure" 12097 #line 12098 "configure"
12080 #include "confdefs.h" 12098 #include "confdefs.h"
12081 /* System header to define __stub macros and hopefully few prototypes, 12099 /* System header to define __stub macros and hopefully few prototypes,
12082 which can conflict with char $ac_func(); below. */ 12100 which can conflict with char $ac_func(); below. */
12083 #include <assert.h> 12101 #include <assert.h>
12084 /* Override any gcc2 internal prototype to avoid an error. */ 12102 /* Override any gcc2 internal prototype to avoid an error. */
12097 $ac_func(); 12115 $ac_func();
12098 #endif 12116 #endif
12099 12117
12100 ; return 0; } 12118 ; return 0; }
12101 EOF 12119 EOF
12102 if { (eval echo configure:12103: \"$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
12103 rm -rf conftest* 12121 rm -rf conftest*
12104 eval "ac_cv_func_$ac_func=yes" 12122 eval "ac_cv_func_$ac_func=yes"
12105 else 12123 else
12106 echo "configure: failed program was:" >&5 12124 echo "configure: failed program was:" >&5
12107 cat conftest.$ac_ext >&5 12125 cat conftest.$ac_ext >&5
12126 fi 12144 fi
12127 done 12145 done
12128 12146
12129 12147
12130 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12148 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12131 echo "configure:12132: checking for openpty" >&5 12149 echo "configure:12150: checking for openpty" >&5
12132 12150
12133 cat > conftest.$ac_ext <<EOF 12151 cat > conftest.$ac_ext <<EOF
12134 #line 12135 "configure" 12152 #line 12153 "configure"
12135 #include "confdefs.h" 12153 #include "confdefs.h"
12136 /* System header to define __stub macros and hopefully few prototypes, 12154 /* System header to define __stub macros and hopefully few prototypes,
12137 which can conflict with char openpty(); below. */ 12155 which can conflict with char openpty(); below. */
12138 #include <assert.h> 12156 #include <assert.h>
12139 /* Override any gcc2 internal prototype to avoid an error. */ 12157 /* Override any gcc2 internal prototype to avoid an error. */
12152 openpty(); 12170 openpty();
12153 #endif 12171 #endif
12154 12172
12155 ; return 0; } 12173 ; return 0; }
12156 EOF 12174 EOF
12157 if { (eval echo configure:12158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12175 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12158 rm -rf conftest* 12176 rm -rf conftest*
12159 eval "ac_cv_func_openpty=yes" 12177 eval "ac_cv_func_openpty=yes"
12160 else 12178 else
12161 echo "configure: failed program was:" >&5 12179 echo "configure: failed program was:" >&5
12162 cat conftest.$ac_ext >&5 12180 cat conftest.$ac_ext >&5
12171 else 12189 else
12172 echo "$ac_t""no" 1>&6 12190 echo "$ac_t""no" 1>&6
12173 12191
12174 12192
12175 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12193 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12176 echo "configure:12177: checking for openpty in -lutil" >&5 12194 echo "configure:12195: checking for openpty in -lutil" >&5
12177 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12195 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12178 12196
12179 xe_check_libs=" -lutil " 12197 xe_check_libs=" -lutil "
12180 cat > conftest.$ac_ext <<EOF 12198 cat > conftest.$ac_ext <<EOF
12181 #line 12182 "configure" 12199 #line 12200 "configure"
12182 #include "confdefs.h" 12200 #include "confdefs.h"
12183 /* Override any gcc2 internal prototype to avoid an error. */ 12201 /* Override any gcc2 internal prototype to avoid an error. */
12184 /* We use char because int might match the return type of a gcc2 12202 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */ 12203 builtin and then its argument prototype would still apply. */
12186 char openpty(); 12204 char openpty();
12187 12205
12188 int main() { 12206 int main() {
12189 openpty() 12207 openpty()
12190 ; return 0; } 12208 ; return 0; }
12191 EOF 12209 EOF
12192 if { (eval echo configure:12193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12193 rm -rf conftest* 12211 rm -rf conftest*
12194 eval "ac_cv_lib_$ac_lib_var=yes" 12212 eval "ac_cv_lib_$ac_lib_var=yes"
12195 else 12213 else
12196 echo "configure: failed program was:" >&5 12214 echo "configure: failed program was:" >&5
12197 cat conftest.$ac_ext >&5 12215 cat conftest.$ac_ext >&5
12222 12240
12223 for ac_hdr in libutil.h util.h 12241 for ac_hdr in libutil.h util.h
12224 do 12242 do
12225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12227 echo "configure:12228: checking for $ac_hdr" >&5 12245 echo "configure:12246: checking for $ac_hdr" >&5
12228 12246
12229 cat > conftest.$ac_ext <<EOF 12247 cat > conftest.$ac_ext <<EOF
12230 #line 12231 "configure" 12248 #line 12249 "configure"
12231 #include "confdefs.h" 12249 #include "confdefs.h"
12232 #include <$ac_hdr> 12250 #include <$ac_hdr>
12233 EOF 12251 EOF
12234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12235 { (eval echo configure:12236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12253 { (eval echo configure:12254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12237 if test -z "$ac_err"; then 12255 if test -z "$ac_err"; then
12238 rm -rf conftest* 12256 rm -rf conftest*
12239 eval "ac_cv_header_$ac_safe=yes" 12257 eval "ac_cv_header_$ac_safe=yes"
12240 else 12258 else
12267 case "$opsys" in 12285 case "$opsys" in
12268 hpux*) for ac_hdr in sys/ptyio.h 12286 hpux*) for ac_hdr in sys/ptyio.h
12269 do 12287 do
12270 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12272 echo "configure:12273: checking for $ac_hdr" >&5 12290 echo "configure:12291: checking for $ac_hdr" >&5
12273 12291
12274 cat > conftest.$ac_ext <<EOF 12292 cat > conftest.$ac_ext <<EOF
12275 #line 12276 "configure" 12293 #line 12294 "configure"
12276 #include "confdefs.h" 12294 #include "confdefs.h"
12277 #include <$ac_hdr> 12295 #include <$ac_hdr>
12278 EOF 12296 EOF
12279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12280 { (eval echo configure:12281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12282 if test -z "$ac_err"; then 12300 if test -z "$ac_err"; then
12283 rm -rf conftest* 12301 rm -rf conftest*
12284 eval "ac_cv_header_$ac_safe=yes" 12302 eval "ac_cv_header_$ac_safe=yes"
12285 else 12303 else
12308 ;; 12326 ;;
12309 *) for ac_hdr in pty.h 12327 *) for ac_hdr in pty.h
12310 do 12328 do
12311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12329 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12313 echo "configure:12314: checking for $ac_hdr" >&5 12331 echo "configure:12332: checking for $ac_hdr" >&5
12314 12332
12315 cat > conftest.$ac_ext <<EOF 12333 cat > conftest.$ac_ext <<EOF
12316 #line 12317 "configure" 12334 #line 12335 "configure"
12317 #include "confdefs.h" 12335 #include "confdefs.h"
12318 #include <$ac_hdr> 12336 #include <$ac_hdr>
12319 EOF 12337 EOF
12320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12321 { (eval echo configure:12322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12339 { (eval echo configure:12340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12323 if test -z "$ac_err"; then 12341 if test -z "$ac_err"; then
12324 rm -rf conftest* 12342 rm -rf conftest*
12325 eval "ac_cv_header_$ac_safe=yes" 12343 eval "ac_cv_header_$ac_safe=yes"
12326 else 12344 else
12349 12367
12350 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12368 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12351 do 12369 do
12352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12370 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12371 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12354 echo "configure:12355: checking for $ac_hdr" >&5 12372 echo "configure:12373: checking for $ac_hdr" >&5
12355 12373
12356 cat > conftest.$ac_ext <<EOF 12374 cat > conftest.$ac_ext <<EOF
12357 #line 12358 "configure" 12375 #line 12376 "configure"
12358 #include "confdefs.h" 12376 #include "confdefs.h"
12359 #include <$ac_hdr> 12377 #include <$ac_hdr>
12360 EOF 12378 EOF
12361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12362 { (eval echo configure:12363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12380 { (eval echo configure:12381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12364 if test -z "$ac_err"; then 12382 if test -z "$ac_err"; then
12365 rm -rf conftest* 12383 rm -rf conftest*
12366 eval "ac_cv_header_$ac_safe=yes" 12384 eval "ac_cv_header_$ac_safe=yes"
12367 else 12385 else
12393 12411
12394 for ac_hdr in stropts.h 12412 for ac_hdr in stropts.h
12395 do 12413 do
12396 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12397 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12398 echo "configure:12399: checking for $ac_hdr" >&5 12416 echo "configure:12417: checking for $ac_hdr" >&5
12399 12417
12400 cat > conftest.$ac_ext <<EOF 12418 cat > conftest.$ac_ext <<EOF
12401 #line 12402 "configure" 12419 #line 12420 "configure"
12402 #include "confdefs.h" 12420 #include "confdefs.h"
12403 #include <$ac_hdr> 12421 #include <$ac_hdr>
12404 EOF 12422 EOF
12405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12406 { (eval echo configure:12407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12424 { (eval echo configure:12425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12408 if test -z "$ac_err"; then 12426 if test -z "$ac_err"; then
12409 rm -rf conftest* 12427 rm -rf conftest*
12410 eval "ac_cv_header_$ac_safe=yes" 12428 eval "ac_cv_header_$ac_safe=yes"
12411 else 12429 else
12434 12452
12435 if test "$ac_cv_header_stropts_h" = "yes"; then 12453 if test "$ac_cv_header_stropts_h" = "yes"; then
12436 for ac_func in isastream 12454 for ac_func in isastream
12437 do 12455 do
12438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12439 echo "configure:12440: checking for $ac_func" >&5 12457 echo "configure:12458: checking for $ac_func" >&5
12440 12458
12441 cat > conftest.$ac_ext <<EOF 12459 cat > conftest.$ac_ext <<EOF
12442 #line 12443 "configure" 12460 #line 12461 "configure"
12443 #include "confdefs.h" 12461 #include "confdefs.h"
12444 /* System header to define __stub macros and hopefully few prototypes, 12462 /* System header to define __stub macros and hopefully few prototypes,
12445 which can conflict with char $ac_func(); below. */ 12463 which can conflict with char $ac_func(); below. */
12446 #include <assert.h> 12464 #include <assert.h>
12447 /* Override any gcc2 internal prototype to avoid an error. */ 12465 /* Override any gcc2 internal prototype to avoid an error. */
12460 $ac_func(); 12478 $ac_func();
12461 #endif 12479 #endif
12462 12480
12463 ; return 0; } 12481 ; return 0; }
12464 EOF 12482 EOF
12465 if { (eval echo configure:12466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12483 if { (eval echo configure:12484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12466 rm -rf conftest* 12484 rm -rf conftest*
12467 eval "ac_cv_func_$ac_func=yes" 12485 eval "ac_cv_func_$ac_func=yes"
12468 else 12486 else
12469 echo "configure: failed program was:" >&5 12487 echo "configure: failed program was:" >&5
12470 cat conftest.$ac_ext >&5 12488 cat conftest.$ac_ext >&5
12491 12509
12492 for ac_hdr in strtio.h 12510 for ac_hdr in strtio.h
12493 do 12511 do
12494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12496 echo "configure:12497: checking for $ac_hdr" >&5 12514 echo "configure:12515: checking for $ac_hdr" >&5
12497 12515
12498 cat > conftest.$ac_ext <<EOF 12516 cat > conftest.$ac_ext <<EOF
12499 #line 12500 "configure" 12517 #line 12518 "configure"
12500 #include "confdefs.h" 12518 #include "confdefs.h"
12501 #include <$ac_hdr> 12519 #include <$ac_hdr>
12502 EOF 12520 EOF
12503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12504 { (eval echo configure:12505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12522 { (eval echo configure:12523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12506 if test -z "$ac_err"; then 12524 if test -z "$ac_err"; then
12507 rm -rf conftest* 12525 rm -rf conftest*
12508 eval "ac_cv_header_$ac_safe=yes" 12526 eval "ac_cv_header_$ac_safe=yes"
12509 else 12527 else
12532 fi 12550 fi
12533 12551
12534 for ac_func in getloadavg 12552 for ac_func in getloadavg
12535 do 12553 do
12536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12537 echo "configure:12538: checking for $ac_func" >&5 12555 echo "configure:12556: checking for $ac_func" >&5
12538 12556
12539 cat > conftest.$ac_ext <<EOF 12557 cat > conftest.$ac_ext <<EOF
12540 #line 12541 "configure" 12558 #line 12559 "configure"
12541 #include "confdefs.h" 12559 #include "confdefs.h"
12542 /* System header to define __stub macros and hopefully few prototypes, 12560 /* System header to define __stub macros and hopefully few prototypes,
12543 which can conflict with char $ac_func(); below. */ 12561 which can conflict with char $ac_func(); below. */
12544 #include <assert.h> 12562 #include <assert.h>
12545 /* Override any gcc2 internal prototype to avoid an error. */ 12563 /* Override any gcc2 internal prototype to avoid an error. */
12558 $ac_func(); 12576 $ac_func();
12559 #endif 12577 #endif
12560 12578
12561 ; return 0; } 12579 ; return 0; }
12562 EOF 12580 EOF
12563 if { (eval echo configure:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12581 if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12564 rm -rf conftest* 12582 rm -rf conftest*
12565 eval "ac_cv_func_$ac_func=yes" 12583 eval "ac_cv_func_$ac_func=yes"
12566 else 12584 else
12567 echo "configure: failed program was:" >&5 12585 echo "configure: failed program was:" >&5
12568 cat conftest.$ac_ext >&5 12586 cat conftest.$ac_ext >&5
12591 if test "$ac_cv_func_getloadavg" = "yes"; then 12609 if test "$ac_cv_func_getloadavg" = "yes"; then
12592 for ac_hdr in sys/loadavg.h 12610 for ac_hdr in sys/loadavg.h
12593 do 12611 do
12594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12612 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12613 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12596 echo "configure:12597: checking for $ac_hdr" >&5 12614 echo "configure:12615: checking for $ac_hdr" >&5
12597 12615
12598 cat > conftest.$ac_ext <<EOF 12616 cat > conftest.$ac_ext <<EOF
12599 #line 12600 "configure" 12617 #line 12618 "configure"
12600 #include "confdefs.h" 12618 #include "confdefs.h"
12601 #include <$ac_hdr> 12619 #include <$ac_hdr>
12602 EOF 12620 EOF
12603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12604 { (eval echo configure:12605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12622 { (eval echo configure:12623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12606 if test -z "$ac_err"; then 12624 if test -z "$ac_err"; then
12607 rm -rf conftest* 12625 rm -rf conftest*
12608 eval "ac_cv_header_$ac_safe=yes" 12626 eval "ac_cv_header_$ac_safe=yes"
12609 else 12627 else
12635 echo " xemacs will be linked with \"getloadavg.o\"" 12653 echo " xemacs will be linked with \"getloadavg.o\""
12636 fi 12654 fi
12637 12655
12638 12656
12639 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12657 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12640 echo "configure:12641: checking for kstat_open in -lkstat" >&5 12658 echo "configure:12659: checking for kstat_open in -lkstat" >&5
12641 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12659 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12642 12660
12643 xe_check_libs=" -lkstat " 12661 xe_check_libs=" -lkstat "
12644 cat > conftest.$ac_ext <<EOF 12662 cat > conftest.$ac_ext <<EOF
12645 #line 12646 "configure" 12663 #line 12664 "configure"
12646 #include "confdefs.h" 12664 #include "confdefs.h"
12647 /* Override any gcc2 internal prototype to avoid an error. */ 12665 /* Override any gcc2 internal prototype to avoid an error. */
12648 /* We use char because int might match the return type of a gcc2 12666 /* We use char because int might match the return type of a gcc2
12649 builtin and then its argument prototype would still apply. */ 12667 builtin and then its argument prototype would still apply. */
12650 char kstat_open(); 12668 char kstat_open();
12651 12669
12652 int main() { 12670 int main() {
12653 kstat_open() 12671 kstat_open()
12654 ; return 0; } 12672 ; return 0; }
12655 EOF 12673 EOF
12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12657 rm -rf conftest* 12675 rm -rf conftest*
12658 eval "ac_cv_lib_$ac_lib_var=yes" 12676 eval "ac_cv_lib_$ac_lib_var=yes"
12659 else 12677 else
12660 echo "configure: failed program was:" >&5 12678 echo "configure: failed program was:" >&5
12661 cat conftest.$ac_ext >&5 12679 cat conftest.$ac_ext >&5
12686 12704
12687 for ac_hdr in kstat.h 12705 for ac_hdr in kstat.h
12688 do 12706 do
12689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12707 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12708 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12691 echo "configure:12692: checking for $ac_hdr" >&5 12709 echo "configure:12710: checking for $ac_hdr" >&5
12692 12710
12693 cat > conftest.$ac_ext <<EOF 12711 cat > conftest.$ac_ext <<EOF
12694 #line 12695 "configure" 12712 #line 12713 "configure"
12695 #include "confdefs.h" 12713 #include "confdefs.h"
12696 #include <$ac_hdr> 12714 #include <$ac_hdr>
12697 EOF 12715 EOF
12698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12699 { (eval echo configure:12700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12717 { (eval echo configure:12718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12701 if test -z "$ac_err"; then 12719 if test -z "$ac_err"; then
12702 rm -rf conftest* 12720 rm -rf conftest*
12703 eval "ac_cv_header_$ac_safe=yes" 12721 eval "ac_cv_header_$ac_safe=yes"
12704 else 12722 else
12726 done 12744 done
12727 12745
12728 12746
12729 12747
12730 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 12748 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12731 echo "configure:12732: checking for kvm_read in -lkvm" >&5 12749 echo "configure:12750: checking for kvm_read in -lkvm" >&5
12732 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12750 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12733 12751
12734 xe_check_libs=" -lkvm " 12752 xe_check_libs=" -lkvm "
12735 cat > conftest.$ac_ext <<EOF 12753 cat > conftest.$ac_ext <<EOF
12736 #line 12737 "configure" 12754 #line 12755 "configure"
12737 #include "confdefs.h" 12755 #include "confdefs.h"
12738 /* Override any gcc2 internal prototype to avoid an error. */ 12756 /* Override any gcc2 internal prototype to avoid an error. */
12739 /* We use char because int might match the return type of a gcc2 12757 /* We use char because int might match the return type of a gcc2
12740 builtin and then its argument prototype would still apply. */ 12758 builtin and then its argument prototype would still apply. */
12741 char kvm_read(); 12759 char kvm_read();
12742 12760
12743 int main() { 12761 int main() {
12744 kvm_read() 12762 kvm_read()
12745 ; return 0; } 12763 ; return 0; }
12746 EOF 12764 EOF
12747 if { (eval echo configure:12748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12748 rm -rf conftest* 12766 rm -rf conftest*
12749 eval "ac_cv_lib_$ac_lib_var=yes" 12767 eval "ac_cv_lib_$ac_lib_var=yes"
12750 else 12768 else
12751 echo "configure: failed program was:" >&5 12769 echo "configure: failed program was:" >&5
12752 cat conftest.$ac_ext >&5 12770 cat conftest.$ac_ext >&5
12776 12794
12777 12795
12778 fi 12796 fi
12779 12797
12780 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 12798 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
12781 echo "configure:12782: checking whether netdb declares h_errno" >&5 12799 echo "configure:12800: checking whether netdb declares h_errno" >&5
12782 cat > conftest.$ac_ext <<EOF 12800 cat > conftest.$ac_ext <<EOF
12783 #line 12784 "configure" 12801 #line 12802 "configure"
12784 #include "confdefs.h" 12802 #include "confdefs.h"
12785 #include <netdb.h> 12803 #include <netdb.h>
12786 int main() { 12804 int main() {
12787 return h_errno; 12805 return h_errno;
12788 ; return 0; } 12806 ; return 0; }
12789 EOF 12807 EOF
12790 if { (eval echo configure:12791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12808 if { (eval echo configure:12809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12791 rm -rf conftest* 12809 rm -rf conftest*
12792 echo "$ac_t""yes" 1>&6 12810 echo "$ac_t""yes" 1>&6
12793 { test "$extra_verbose" = "yes" && cat << \EOF 12811 { test "$extra_verbose" = "yes" && cat << \EOF
12794 Defining HAVE_H_ERRNO 12812 Defining HAVE_H_ERRNO
12795 EOF 12813 EOF
12805 echo "$ac_t""no" 1>&6 12823 echo "$ac_t""no" 1>&6
12806 fi 12824 fi
12807 rm -f conftest* 12825 rm -f conftest*
12808 12826
12809 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 12827 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
12810 echo "configure:12811: checking for sigsetjmp" >&5 12828 echo "configure:12829: checking for sigsetjmp" >&5
12811 cat > conftest.$ac_ext <<EOF 12829 cat > conftest.$ac_ext <<EOF
12812 #line 12813 "configure" 12830 #line 12831 "configure"
12813 #include "confdefs.h" 12831 #include "confdefs.h"
12814 #include <setjmp.h> 12832 #include <setjmp.h>
12815 int main() { 12833 int main() {
12816 sigjmp_buf bar; sigsetjmp (bar, 0); 12834 sigjmp_buf bar; sigsetjmp (bar, 0);
12817 ; return 0; } 12835 ; return 0; }
12818 EOF 12836 EOF
12819 if { (eval echo configure:12820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12837 if { (eval echo configure:12838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12820 rm -rf conftest* 12838 rm -rf conftest*
12821 echo "$ac_t""yes" 1>&6 12839 echo "$ac_t""yes" 1>&6
12822 { test "$extra_verbose" = "yes" && cat << \EOF 12840 { test "$extra_verbose" = "yes" && cat << \EOF
12823 Defining HAVE_SIGSETJMP 12841 Defining HAVE_SIGSETJMP
12824 EOF 12842 EOF
12834 echo "$ac_t""no" 1>&6 12852 echo "$ac_t""no" 1>&6
12835 fi 12853 fi
12836 rm -f conftest* 12854 rm -f conftest*
12837 12855
12838 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 12856 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
12839 echo "configure:12840: checking whether localtime caches TZ" >&5 12857 echo "configure:12858: checking whether localtime caches TZ" >&5
12840 12858
12841 if test "$ac_cv_func_tzset" = "yes"; then 12859 if test "$ac_cv_func_tzset" = "yes"; then
12842 cat > conftest.$ac_ext <<EOF 12860 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure" 12861 #line 12862 "configure"
12844 #include "confdefs.h" 12862 #include "confdefs.h"
12845 #include <time.h> 12863 #include <time.h>
12846 #if STDC_HEADERS 12864 #if STDC_HEADERS
12847 # include <stdlib.h> 12865 # include <stdlib.h>
12848 #endif 12866 #endif
12873 if (localtime (&now)->tm_hour != hour_unset) 12891 if (localtime (&now)->tm_hour != hour_unset)
12874 exit (1); 12892 exit (1);
12875 exit (0); 12893 exit (0);
12876 } 12894 }
12877 EOF 12895 EOF
12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12896 if { (eval echo configure:12897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12879 then 12897 then
12880 emacs_cv_localtime_cache=no 12898 emacs_cv_localtime_cache=no
12881 else 12899 else
12882 conftest_rc="$?" 12900 conftest_rc="$?"
12883 echo "configure: failed program was:" >&5 12901 echo "configure: failed program was:" >&5
12903 12921
12904 fi 12922 fi
12905 12923
12906 if test "$HAVE_TIMEVAL" = "yes"; then 12924 if test "$HAVE_TIMEVAL" = "yes"; then
12907 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 12925 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
12908 echo "configure:12909: checking whether gettimeofday accepts one or two arguments" >&5 12926 echo "configure:12927: checking whether gettimeofday accepts one or two arguments" >&5
12909 cat > conftest.$ac_ext <<EOF 12927 cat > conftest.$ac_ext <<EOF
12910 #line 12911 "configure" 12928 #line 12929 "configure"
12911 #include "confdefs.h" 12929 #include "confdefs.h"
12912 12930
12913 #ifdef TIME_WITH_SYS_TIME 12931 #ifdef TIME_WITH_SYS_TIME
12914 #include <sys/time.h> 12932 #include <sys/time.h>
12915 #include <time.h> 12933 #include <time.h>
12926 struct timeval time; 12944 struct timeval time;
12927 gettimeofday (&time, 0); 12945 gettimeofday (&time, 0);
12928 12946
12929 ; return 0; } 12947 ; return 0; }
12930 EOF 12948 EOF
12931 if { (eval echo configure:12932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12949 if { (eval echo configure:12950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12932 rm -rf conftest* 12950 rm -rf conftest*
12933 echo "$ac_t""two" 1>&6 12951 echo "$ac_t""two" 1>&6
12934 else 12952 else
12935 echo "configure: failed program was:" >&5 12953 echo "configure: failed program was:" >&5
12936 cat conftest.$ac_ext >&5 12954 cat conftest.$ac_ext >&5
12948 rm -f conftest* 12966 rm -f conftest*
12949 fi 12967 fi
12950 12968
12951 12969
12952 echo $ac_n "checking for inline""... $ac_c" 1>&6 12970 echo $ac_n "checking for inline""... $ac_c" 1>&6
12953 echo "configure:12954: checking for inline" >&5 12971 echo "configure:12972: checking for inline" >&5
12954 12972
12955 ac_cv_c_inline=no 12973 ac_cv_c_inline=no
12956 for ac_kw in inline __inline__ __inline; do 12974 for ac_kw in inline __inline__ __inline; do
12957 cat > conftest.$ac_ext <<EOF 12975 cat > conftest.$ac_ext <<EOF
12958 #line 12959 "configure" 12976 #line 12977 "configure"
12959 #include "confdefs.h" 12977 #include "confdefs.h"
12960 12978
12961 int main() { 12979 int main() {
12962 } $ac_kw foo() { 12980 } $ac_kw foo() {
12963 ; return 0; } 12981 ; return 0; }
12964 EOF 12982 EOF
12965 if { (eval echo configure:12966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12983 if { (eval echo configure:12984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12966 rm -rf conftest* 12984 rm -rf conftest*
12967 ac_cv_c_inline=$ac_kw; break 12985 ac_cv_c_inline=$ac_kw; break
12968 else 12986 else
12969 echo "configure: failed program was:" >&5 12987 echo "configure: failed program was:" >&5
12970 cat conftest.$ac_ext >&5 12988 cat conftest.$ac_ext >&5
12997 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13015 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
12998 echo " xemacs will be linked with \"inline.o\"" 13016 echo " xemacs will be linked with \"inline.o\""
12999 fi 13017 fi
13000 13018
13001 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13019 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13002 echo "configure:13003: checking for typeof" >&5 13020 echo "configure:13021: checking for typeof" >&5
13003 cat > conftest.$ac_ext <<EOF 13021 cat > conftest.$ac_ext <<EOF
13004 #line 13005 "configure" 13022 #line 13023 "configure"
13005 #include "confdefs.h" 13023 #include "confdefs.h"
13006 13024
13007 int main() { 13025 int main() {
13008 int i; __typeof__(i) j; 13026 int i; __typeof__(i) j;
13009 ; return 0; } 13027 ; return 0; }
13010 EOF 13028 EOF
13011 if { (eval echo configure:13012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13029 if { (eval echo configure:13030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13012 rm -rf conftest* 13030 rm -rf conftest*
13013 typeofname="__typeof__" 13031 typeofname="__typeof__"
13014 else 13032 else
13015 echo "configure: failed program was:" >&5 13033 echo "configure: failed program was:" >&5
13016 cat conftest.$ac_ext >&5 13034 cat conftest.$ac_ext >&5
13017 rm -rf conftest* 13035 rm -rf conftest*
13018 cat > conftest.$ac_ext <<EOF 13036 cat > conftest.$ac_ext <<EOF
13019 #line 13020 "configure" 13037 #line 13038 "configure"
13020 #include "confdefs.h" 13038 #include "confdefs.h"
13021 13039
13022 int main() { 13040 int main() {
13023 int i; typeof(i) j; 13041 int i; typeof(i) j;
13024 ; return 0; } 13042 ; return 0; }
13025 EOF 13043 EOF
13026 if { (eval echo configure:13027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13044 if { (eval echo configure:13045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13027 rm -rf conftest* 13045 rm -rf conftest*
13028 typeofname="typeof" 13046 typeofname="typeof"
13029 else 13047 else
13030 echo "configure: failed program was:" >&5 13048 echo "configure: failed program was:" >&5
13031 cat conftest.$ac_ext >&5 13049 cat conftest.$ac_ext >&5
13050 13068
13051 if test "$__DECC" != "yes"; then 13069 if test "$__DECC" != "yes"; then
13052 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13070 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13053 # for constant arguments. Useless! 13071 # for constant arguments. Useless!
13054 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13072 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13055 echo "configure:13056: checking for working alloca.h" >&5 13073 echo "configure:13074: checking for working alloca.h" >&5
13056 13074
13057 cat > conftest.$ac_ext <<EOF 13075 cat > conftest.$ac_ext <<EOF
13058 #line 13059 "configure" 13076 #line 13077 "configure"
13059 #include "confdefs.h" 13077 #include "confdefs.h"
13060 #include <alloca.h> 13078 #include <alloca.h>
13061 int main() { 13079 int main() {
13062 char *p = alloca(2 * sizeof(int)); 13080 char *p = alloca(2 * sizeof(int));
13063 ; return 0; } 13081 ; return 0; }
13064 EOF 13082 EOF
13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13083 if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13066 rm -rf conftest* 13084 rm -rf conftest*
13067 ac_cv_header_alloca_h=yes 13085 ac_cv_header_alloca_h=yes
13068 else 13086 else
13069 echo "configure: failed program was:" >&5 13087 echo "configure: failed program was:" >&5
13070 cat conftest.$ac_ext >&5 13088 cat conftest.$ac_ext >&5
13084 } 13102 }
13085 13103
13086 fi 13104 fi
13087 13105
13088 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13106 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13089 echo "configure:13090: checking for alloca" >&5 13107 echo "configure:13108: checking for alloca" >&5
13090 13108
13091 cat > conftest.$ac_ext <<EOF 13109 cat > conftest.$ac_ext <<EOF
13092 #line 13093 "configure" 13110 #line 13111 "configure"
13093 #include "confdefs.h" 13111 #include "confdefs.h"
13094 13112
13095 #ifdef __GNUC__ 13113 #ifdef __GNUC__
13096 # define alloca __builtin_alloca 13114 # define alloca __builtin_alloca
13097 #else 13115 #else
13115 13133
13116 int main() { 13134 int main() {
13117 char *p = (char *) alloca(1); 13135 char *p = (char *) alloca(1);
13118 ; return 0; } 13136 ; return 0; }
13119 EOF 13137 EOF
13120 if { (eval echo configure:13121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13138 if { (eval echo configure:13139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13121 rm -rf conftest* 13139 rm -rf conftest*
13122 ac_cv_func_alloca_works=yes 13140 ac_cv_func_alloca_works=yes
13123 else 13141 else
13124 echo "configure: failed program was:" >&5 13142 echo "configure: failed program was:" >&5
13125 cat conftest.$ac_ext >&5 13143 cat conftest.$ac_ext >&5
13154 EOF 13172 EOF
13155 } 13173 }
13156 13174
13157 13175
13158 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13176 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13159 echo "configure:13160: checking whether alloca needs Cray hooks" >&5 13177 echo "configure:13178: checking whether alloca needs Cray hooks" >&5
13160 13178
13161 cat > conftest.$ac_ext <<EOF 13179 cat > conftest.$ac_ext <<EOF
13162 #line 13163 "configure" 13180 #line 13181 "configure"
13163 #include "confdefs.h" 13181 #include "confdefs.h"
13164 #if defined(CRAY) && ! defined(CRAY2) 13182 #if defined(CRAY) && ! defined(CRAY2)
13165 webecray 13183 webecray
13166 #else 13184 #else
13167 wenotbecray 13185 wenotbecray
13181 13199
13182 echo "$ac_t""$ac_cv_os_cray" 1>&6 13200 echo "$ac_t""$ac_cv_os_cray" 1>&6
13183 if test $ac_cv_os_cray = yes; then 13201 if test $ac_cv_os_cray = yes; then
13184 for ac_func in _getb67 GETB67 getb67; do 13202 for ac_func in _getb67 GETB67 getb67; do
13185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13186 echo "configure:13187: checking for $ac_func" >&5 13204 echo "configure:13205: checking for $ac_func" >&5
13187 13205
13188 cat > conftest.$ac_ext <<EOF 13206 cat > conftest.$ac_ext <<EOF
13189 #line 13190 "configure" 13207 #line 13208 "configure"
13190 #include "confdefs.h" 13208 #include "confdefs.h"
13191 /* System header to define __stub macros and hopefully few prototypes, 13209 /* System header to define __stub macros and hopefully few prototypes,
13192 which can conflict with char $ac_func(); below. */ 13210 which can conflict with char $ac_func(); below. */
13193 #include <assert.h> 13211 #include <assert.h>
13194 /* Override any gcc2 internal prototype to avoid an error. */ 13212 /* Override any gcc2 internal prototype to avoid an error. */
13207 $ac_func(); 13225 $ac_func();
13208 #endif 13226 #endif
13209 13227
13210 ; return 0; } 13228 ; return 0; }
13211 EOF 13229 EOF
13212 if { (eval echo configure:13213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13230 if { (eval echo configure:13231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13213 rm -rf conftest* 13231 rm -rf conftest*
13214 eval "ac_cv_func_$ac_func=yes" 13232 eval "ac_cv_func_$ac_func=yes"
13215 else 13233 else
13216 echo "configure: failed program was:" >&5 13234 echo "configure: failed program was:" >&5
13217 cat conftest.$ac_ext >&5 13235 cat conftest.$ac_ext >&5
13237 13255
13238 done 13256 done
13239 fi 13257 fi
13240 13258
13241 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13259 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13242 echo "configure:13243: checking stack direction for C alloca" >&5 13260 echo "configure:13261: checking stack direction for C alloca" >&5
13243 13261
13244 cat > conftest.$ac_ext <<EOF 13262 cat > conftest.$ac_ext <<EOF
13245 #line 13246 "configure" 13263 #line 13264 "configure"
13246 #include "confdefs.h" 13264 #include "confdefs.h"
13247 find_stack_direction () 13265 find_stack_direction ()
13248 { 13266 {
13249 static char *addr = 0; 13267 static char *addr = 0;
13250 auto char dummy; 13268 auto char dummy;
13259 main () 13277 main ()
13260 { 13278 {
13261 exit (find_stack_direction() < 0); 13279 exit (find_stack_direction() < 0);
13262 } 13280 }
13263 EOF 13281 EOF
13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13282 if { (eval echo configure:13283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13265 then 13283 then
13266 ac_cv_c_stack_direction=1 13284 ac_cv_c_stack_direction=1
13267 else 13285 else
13268 conftest_rc="$?" 13286 conftest_rc="$?"
13269 echo "configure: failed program was:" >&5 13287 echo "configure: failed program was:" >&5
13288 echo " xemacs will be linked with \"$ALLOCA\"" 13306 echo " xemacs will be linked with \"$ALLOCA\""
13289 fi 13307 fi
13290 fi 13308 fi
13291 13309
13292 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13310 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13293 echo "configure:13294: checking for working alloca in function calls" >&5 13311 echo "configure:13312: checking for working alloca in function calls" >&5
13294 cat > conftest.$ac_ext <<EOF 13312 cat > conftest.$ac_ext <<EOF
13295 #line 13296 "configure" 13313 #line 13314 "configure"
13296 #include "confdefs.h" 13314 #include "confdefs.h"
13297 13315
13298 #if defined (__CYGWIN__) 13316 #if defined (__CYGWIN__)
13299 #include <alloca.h> 13317 #include <alloca.h>
13300 #elif defined (__GNUC__) 13318 #elif defined (__GNUC__)
13343 return 1; 13361 return 1;
13344 return 0; 13362 return 0;
13345 } 13363 }
13346 13364
13347 EOF 13365 EOF
13348 if { (eval echo configure:13349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13366 if { (eval echo configure:13367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13349 then 13367 then
13350 working_alloca_in_function_calls=yes 13368 working_alloca_in_function_calls=yes
13351 else 13369 else
13352 conftest_rc="$?" 13370 conftest_rc="$?"
13353 echo "configure: failed program was:" >&5 13371 echo "configure: failed program was:" >&5
13366 EOF 13384 EOF
13367 } 13385 }
13368 13386
13369 13387
13370 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13388 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13371 echo "configure:13372: checking for working strcoll" >&5 13389 echo "configure:13390: checking for working strcoll" >&5
13372 13390
13373 cat > conftest.$ac_ext <<EOF 13391 cat > conftest.$ac_ext <<EOF
13374 #line 13375 "configure" 13392 #line 13393 "configure"
13375 #include "confdefs.h" 13393 #include "confdefs.h"
13376 #include <string.h> 13394 #include <string.h>
13377 main () 13395 main ()
13378 { 13396 {
13379 exit (strcoll ("abc", "def") >= 0 || 13397 exit (strcoll ("abc", "def") >= 0 ||
13380 strcoll ("ABC", "DEF") >= 0 || 13398 strcoll ("ABC", "DEF") >= 0 ||
13381 strcoll ("123", "456") >= 0); 13399 strcoll ("123", "456") >= 0);
13382 } 13400 }
13383 EOF 13401 EOF
13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13402 if { (eval echo configure:13403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13385 then 13403 then
13386 ac_cv_func_strcoll_works=yes 13404 ac_cv_func_strcoll_works=yes
13387 else 13405 else
13388 conftest_rc="$?" 13406 conftest_rc="$?"
13389 echo "configure: failed program was:" >&5 13407 echo "configure: failed program was:" >&5
13407 13425
13408 13426
13409 for ac_func in getpgrp 13427 for ac_func in getpgrp
13410 do 13428 do
13411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13412 echo "configure:13413: checking for $ac_func" >&5 13430 echo "configure:13431: checking for $ac_func" >&5
13413 13431
13414 cat > conftest.$ac_ext <<EOF 13432 cat > conftest.$ac_ext <<EOF
13415 #line 13416 "configure" 13433 #line 13434 "configure"
13416 #include "confdefs.h" 13434 #include "confdefs.h"
13417 /* System header to define __stub macros and hopefully few prototypes, 13435 /* System header to define __stub macros and hopefully few prototypes,
13418 which can conflict with char $ac_func(); below. */ 13436 which can conflict with char $ac_func(); below. */
13419 #include <assert.h> 13437 #include <assert.h>
13420 /* Override any gcc2 internal prototype to avoid an error. */ 13438 /* Override any gcc2 internal prototype to avoid an error. */
13433 $ac_func(); 13451 $ac_func();
13434 #endif 13452 #endif
13435 13453
13436 ; return 0; } 13454 ; return 0; }
13437 EOF 13455 EOF
13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13456 if { (eval echo configure:13457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13439 rm -rf conftest* 13457 rm -rf conftest*
13440 eval "ac_cv_func_$ac_func=yes" 13458 eval "ac_cv_func_$ac_func=yes"
13441 else 13459 else
13442 echo "configure: failed program was:" >&5 13460 echo "configure: failed program was:" >&5
13443 cat conftest.$ac_ext >&5 13461 cat conftest.$ac_ext >&5
13461 echo "$ac_t""no" 1>&6 13479 echo "$ac_t""no" 1>&6
13462 fi 13480 fi
13463 done 13481 done
13464 13482
13465 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13483 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13466 echo "configure:13467: checking whether getpgrp takes no argument" >&5 13484 echo "configure:13485: checking whether getpgrp takes no argument" >&5
13467 13485
13468 cat > conftest.$ac_ext <<EOF 13486 cat > conftest.$ac_ext <<EOF
13469 #line 13470 "configure" 13487 #line 13488 "configure"
13470 #include "confdefs.h" 13488 #include "confdefs.h"
13471 13489
13472 /* 13490 /*
13473 * If this system has a BSD-style getpgrp(), 13491 * If this system has a BSD-style getpgrp(),
13474 * which takes a pid argument, exit unsuccessfully. 13492 * which takes a pid argument, exit unsuccessfully.
13519 exit(s>>8); 13537 exit(s>>8);
13520 } 13538 }
13521 } 13539 }
13522 13540
13523 EOF 13541 EOF
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13525 then 13543 then
13526 ac_cv_func_getpgrp_void=yes 13544 ac_cv_func_getpgrp_void=yes
13527 else 13545 else
13528 conftest_rc="$?" 13546 conftest_rc="$?"
13529 echo "configure: failed program was:" >&5 13547 echo "configure: failed program was:" >&5
13546 13564
13547 fi 13565 fi
13548 13566
13549 13567
13550 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13568 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13551 echo "configure:13552: checking for working mmap" >&5 13569 echo "configure:13570: checking for working mmap" >&5
13552 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13570 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13553 cat > conftest.$ac_ext <<EOF 13571 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure" 13572 #line 13573 "configure"
13555 #include "confdefs.h" 13573 #include "confdefs.h"
13556 #include <stdio.h> 13574 #include <stdio.h>
13557 #include <unistd.h> 13575 #include <unistd.h>
13558 #include <fcntl.h> 13576 #include <fcntl.h>
13559 #include <sys/mman.h> 13577 #include <sys/mman.h>
13582 return 0; 13600 return 0;
13583 perror ("conftest: mmap failed"); 13601 perror ("conftest: mmap failed");
13584 return 1; 13602 return 1;
13585 } 13603 }
13586 EOF 13604 EOF
13587 if { (eval echo configure:13588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13605 if { (eval echo configure:13606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13588 then 13606 then
13589 have_mmap=yes 13607 have_mmap=yes
13590 else 13608 else
13591 conftest_rc="$?" 13609 conftest_rc="$?"
13592 echo "configure: failed program was:" >&5 13610 echo "configure: failed program was:" >&5
13611 esac 13629 esac
13612 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13630 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13613 if test "$rel_alloc $have_mmap" = "default yes"; then 13631 if test "$rel_alloc $have_mmap" = "default yes"; then
13614 if test "$doug_lea_malloc" = "yes"; then 13632 if test "$doug_lea_malloc" = "yes"; then
13615 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13633 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13616 echo "configure:13617: checking for M_MMAP_THRESHOLD" >&5 13634 echo "configure:13635: checking for M_MMAP_THRESHOLD" >&5
13617 cat > conftest.$ac_ext <<EOF 13635 cat > conftest.$ac_ext <<EOF
13618 #line 13619 "configure" 13636 #line 13637 "configure"
13619 #include "confdefs.h" 13637 #include "confdefs.h"
13620 #include <malloc.h> 13638 #include <malloc.h>
13621 int main() { 13639 int main() {
13622 13640
13623 #ifndef M_MMAP_THRESHOLD 13641 #ifndef M_MMAP_THRESHOLD
13625 !@+$%^&*_)(_ - unlikely to compile... 13643 !@+$%^&*_)(_ - unlikely to compile...
13626 #endif 13644 #endif
13627 13645
13628 ; return 0; } 13646 ; return 0; }
13629 EOF 13647 EOF
13630 if { (eval echo configure:13631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13648 if { (eval echo configure:13649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13631 rm -rf conftest* 13649 rm -rf conftest*
13632 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13650 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13633 else 13651 else
13634 echo "configure: failed program was:" >&5 13652 echo "configure: failed program was:" >&5
13635 cat conftest.$ac_ext >&5 13653 cat conftest.$ac_ext >&5
13650 } 13668 }
13651 13669
13652 13670
13653 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13671 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13654 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13672 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13655 echo "configure:13656: checking for termios.h" >&5 13673 echo "configure:13674: checking for termios.h" >&5
13656 13674
13657 cat > conftest.$ac_ext <<EOF 13675 cat > conftest.$ac_ext <<EOF
13658 #line 13659 "configure" 13676 #line 13677 "configure"
13659 #include "confdefs.h" 13677 #include "confdefs.h"
13660 #include <termios.h> 13678 #include <termios.h>
13661 EOF 13679 EOF
13662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13663 { (eval echo configure:13664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13681 { (eval echo configure:13682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13665 if test -z "$ac_err"; then 13683 if test -z "$ac_err"; then
13666 rm -rf conftest* 13684 rm -rf conftest*
13667 eval "ac_cv_header_$ac_safe=yes" 13685 eval "ac_cv_header_$ac_safe=yes"
13668 else 13686 else
13701 13719
13702 else 13720 else
13703 echo "$ac_t""no" 1>&6 13721 echo "$ac_t""no" 1>&6
13704 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13722 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13705 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13723 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13706 echo "configure:13707: checking for termio.h" >&5 13724 echo "configure:13725: checking for termio.h" >&5
13707 13725
13708 cat > conftest.$ac_ext <<EOF 13726 cat > conftest.$ac_ext <<EOF
13709 #line 13710 "configure" 13727 #line 13728 "configure"
13710 #include "confdefs.h" 13728 #include "confdefs.h"
13711 #include <termio.h> 13729 #include <termio.h>
13712 EOF 13730 EOF
13713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13714 { (eval echo configure:13715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13732 { (eval echo configure:13733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13716 if test -z "$ac_err"; then 13734 if test -z "$ac_err"; then
13717 rm -rf conftest* 13735 rm -rf conftest*
13718 eval "ac_cv_header_$ac_safe=yes" 13736 eval "ac_cv_header_$ac_safe=yes"
13719 else 13737 else
13741 fi 13759 fi
13742 13760
13743 13761
13744 13762
13745 echo $ac_n "checking for socket""... $ac_c" 1>&6 13763 echo $ac_n "checking for socket""... $ac_c" 1>&6
13746 echo "configure:13747: checking for socket" >&5 13764 echo "configure:13765: checking for socket" >&5
13747 13765
13748 cat > conftest.$ac_ext <<EOF 13766 cat > conftest.$ac_ext <<EOF
13749 #line 13750 "configure" 13767 #line 13768 "configure"
13750 #include "confdefs.h" 13768 #include "confdefs.h"
13751 /* System header to define __stub macros and hopefully few prototypes, 13769 /* System header to define __stub macros and hopefully few prototypes,
13752 which can conflict with char socket(); below. */ 13770 which can conflict with char socket(); below. */
13753 #include <assert.h> 13771 #include <assert.h>
13754 /* Override any gcc2 internal prototype to avoid an error. */ 13772 /* Override any gcc2 internal prototype to avoid an error. */
13767 socket(); 13785 socket();
13768 #endif 13786 #endif
13769 13787
13770 ; return 0; } 13788 ; return 0; }
13771 EOF 13789 EOF
13772 if { (eval echo configure:13773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13790 if { (eval echo configure:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13773 rm -rf conftest* 13791 rm -rf conftest*
13774 eval "ac_cv_func_socket=yes" 13792 eval "ac_cv_func_socket=yes"
13775 else 13793 else
13776 echo "configure: failed program was:" >&5 13794 echo "configure: failed program was:" >&5
13777 cat conftest.$ac_ext >&5 13795 cat conftest.$ac_ext >&5
13782 13800
13783 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13801 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13784 echo "$ac_t""yes" 1>&6 13802 echo "$ac_t""yes" 1>&6
13785 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13803 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13786 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13804 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13787 echo "configure:13788: checking for netinet/in.h" >&5 13805 echo "configure:13806: checking for netinet/in.h" >&5
13788 13806
13789 cat > conftest.$ac_ext <<EOF 13807 cat > conftest.$ac_ext <<EOF
13790 #line 13791 "configure" 13808 #line 13809 "configure"
13791 #include "confdefs.h" 13809 #include "confdefs.h"
13792 #include <netinet/in.h> 13810 #include <netinet/in.h>
13793 EOF 13811 EOF
13794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13795 { (eval echo configure:13796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13813 { (eval echo configure:13814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13797 if test -z "$ac_err"; then 13815 if test -z "$ac_err"; then
13798 rm -rf conftest* 13816 rm -rf conftest*
13799 eval "ac_cv_header_$ac_safe=yes" 13817 eval "ac_cv_header_$ac_safe=yes"
13800 else 13818 else
13807 rm -f conftest* 13825 rm -f conftest*
13808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13826 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13809 echo "$ac_t""yes" 1>&6 13827 echo "$ac_t""yes" 1>&6
13810 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 13828 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
13811 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 13829 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
13812 echo "configure:13813: checking for arpa/inet.h" >&5 13830 echo "configure:13831: checking for arpa/inet.h" >&5
13813 13831
13814 cat > conftest.$ac_ext <<EOF 13832 cat > conftest.$ac_ext <<EOF
13815 #line 13816 "configure" 13833 #line 13834 "configure"
13816 #include "confdefs.h" 13834 #include "confdefs.h"
13817 #include <arpa/inet.h> 13835 #include <arpa/inet.h>
13818 EOF 13836 EOF
13819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13820 { (eval echo configure:13821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13838 { (eval echo configure:13839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13822 if test -z "$ac_err"; then 13840 if test -z "$ac_err"; then
13823 rm -rf conftest* 13841 rm -rf conftest*
13824 eval "ac_cv_header_$ac_safe=yes" 13842 eval "ac_cv_header_$ac_safe=yes"
13825 else 13843 else
13840 #define HAVE_SOCKETS 1 13858 #define HAVE_SOCKETS 1
13841 EOF 13859 EOF
13842 } 13860 }
13843 13861
13844 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 13862 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
13845 echo "configure:13846: checking "for sun_len member in struct sockaddr_un"" >&5 13863 echo "configure:13864: checking "for sun_len member in struct sockaddr_un"" >&5
13846 cat > conftest.$ac_ext <<EOF 13864 cat > conftest.$ac_ext <<EOF
13847 #line 13848 "configure" 13865 #line 13866 "configure"
13848 #include "confdefs.h" 13866 #include "confdefs.h"
13849 13867
13850 #include <sys/types.h> 13868 #include <sys/types.h>
13851 #include <sys/socket.h> 13869 #include <sys/socket.h>
13852 #include <sys/un.h> 13870 #include <sys/un.h>
13853 13871
13854 int main() { 13872 int main() {
13855 static struct sockaddr_un x; x.sun_len = 1; 13873 static struct sockaddr_un x; x.sun_len = 1;
13856 ; return 0; } 13874 ; return 0; }
13857 EOF 13875 EOF
13858 if { (eval echo configure:13859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13876 if { (eval echo configure:13877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13859 rm -rf conftest* 13877 rm -rf conftest*
13860 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 13878 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
13861 Defining HAVE_SOCKADDR_SUN_LEN 13879 Defining HAVE_SOCKADDR_SUN_LEN
13862 EOF 13880 EOF
13863 cat >> confdefs.h <<\EOF 13881 cat >> confdefs.h <<\EOF
13871 rm -rf conftest* 13889 rm -rf conftest*
13872 echo "$ac_t""no" 1>&6 13890 echo "$ac_t""no" 1>&6
13873 fi 13891 fi
13874 rm -f conftest* 13892 rm -f conftest*
13875 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 13893 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
13876 echo "configure:13877: checking "for ip_mreq struct in netinet/in.h"" >&5 13894 echo "configure:13895: checking "for ip_mreq struct in netinet/in.h"" >&5
13877 cat > conftest.$ac_ext <<EOF 13895 cat > conftest.$ac_ext <<EOF
13878 #line 13879 "configure" 13896 #line 13897 "configure"
13879 #include "confdefs.h" 13897 #include "confdefs.h"
13880 13898
13881 #include <sys/types.h> 13899 #include <sys/types.h>
13882 #include <netinet/in.h> 13900 #include <netinet/in.h>
13883 13901
13884 int main() { 13902 int main() {
13885 static struct ip_mreq x; 13903 static struct ip_mreq x;
13886 ; return 0; } 13904 ; return 0; }
13887 EOF 13905 EOF
13888 if { (eval echo configure:13889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13906 if { (eval echo configure:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13889 rm -rf conftest* 13907 rm -rf conftest*
13890 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 13908 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
13891 Defining HAVE_MULTICAST 13909 Defining HAVE_MULTICAST
13892 EOF 13910 EOF
13893 cat >> confdefs.h <<\EOF 13911 cat >> confdefs.h <<\EOF
13914 echo "$ac_t""no" 1>&6 13932 echo "$ac_t""no" 1>&6
13915 fi 13933 fi
13916 13934
13917 13935
13918 echo $ac_n "checking for msgget""... $ac_c" 1>&6 13936 echo $ac_n "checking for msgget""... $ac_c" 1>&6
13919 echo "configure:13920: checking for msgget" >&5 13937 echo "configure:13938: checking for msgget" >&5
13920 13938
13921 cat > conftest.$ac_ext <<EOF 13939 cat > conftest.$ac_ext <<EOF
13922 #line 13923 "configure" 13940 #line 13941 "configure"
13923 #include "confdefs.h" 13941 #include "confdefs.h"
13924 /* System header to define __stub macros and hopefully few prototypes, 13942 /* System header to define __stub macros and hopefully few prototypes,
13925 which can conflict with char msgget(); below. */ 13943 which can conflict with char msgget(); below. */
13926 #include <assert.h> 13944 #include <assert.h>
13927 /* Override any gcc2 internal prototype to avoid an error. */ 13945 /* Override any gcc2 internal prototype to avoid an error. */
13940 msgget(); 13958 msgget();
13941 #endif 13959 #endif
13942 13960
13943 ; return 0; } 13961 ; return 0; }
13944 EOF 13962 EOF
13945 if { (eval echo configure:13946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13963 if { (eval echo configure:13964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13946 rm -rf conftest* 13964 rm -rf conftest*
13947 eval "ac_cv_func_msgget=yes" 13965 eval "ac_cv_func_msgget=yes"
13948 else 13966 else
13949 echo "configure: failed program was:" >&5 13967 echo "configure: failed program was:" >&5
13950 cat conftest.$ac_ext >&5 13968 cat conftest.$ac_ext >&5
13955 13973
13956 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 13974 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
13957 echo "$ac_t""yes" 1>&6 13975 echo "$ac_t""yes" 1>&6
13958 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 13976 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
13959 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 13977 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
13960 echo "configure:13961: checking for sys/ipc.h" >&5 13978 echo "configure:13979: checking for sys/ipc.h" >&5
13961 13979
13962 cat > conftest.$ac_ext <<EOF 13980 cat > conftest.$ac_ext <<EOF
13963 #line 13964 "configure" 13981 #line 13982 "configure"
13964 #include "confdefs.h" 13982 #include "confdefs.h"
13965 #include <sys/ipc.h> 13983 #include <sys/ipc.h>
13966 EOF 13984 EOF
13967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13968 { (eval echo configure:13969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13986 { (eval echo configure:13987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13970 if test -z "$ac_err"; then 13988 if test -z "$ac_err"; then
13971 rm -rf conftest* 13989 rm -rf conftest*
13972 eval "ac_cv_header_$ac_safe=yes" 13990 eval "ac_cv_header_$ac_safe=yes"
13973 else 13991 else
13980 rm -f conftest* 13998 rm -f conftest*
13981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13982 echo "$ac_t""yes" 1>&6 14000 echo "$ac_t""yes" 1>&6
13983 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14001 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
13984 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14002 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
13985 echo "configure:13986: checking for sys/msg.h" >&5 14003 echo "configure:14004: checking for sys/msg.h" >&5
13986 14004
13987 cat > conftest.$ac_ext <<EOF 14005 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure" 14006 #line 14007 "configure"
13989 #include "confdefs.h" 14007 #include "confdefs.h"
13990 #include <sys/msg.h> 14008 #include <sys/msg.h>
13991 EOF 14009 EOF
13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13995 if test -z "$ac_err"; then 14013 if test -z "$ac_err"; then
13996 rm -rf conftest* 14014 rm -rf conftest*
13997 eval "ac_cv_header_$ac_safe=yes" 14015 eval "ac_cv_header_$ac_safe=yes"
13998 else 14016 else
14026 fi 14044 fi
14027 14045
14028 14046
14029 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14047 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14030 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14048 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14031 echo "configure:14032: checking for dirent.h" >&5 14049 echo "configure:14050: checking for dirent.h" >&5
14032 14050
14033 cat > conftest.$ac_ext <<EOF 14051 cat > conftest.$ac_ext <<EOF
14034 #line 14035 "configure" 14052 #line 14053 "configure"
14035 #include "confdefs.h" 14053 #include "confdefs.h"
14036 #include <dirent.h> 14054 #include <dirent.h>
14037 EOF 14055 EOF
14038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14039 { (eval echo configure:14040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14057 { (eval echo configure:14058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14041 if test -z "$ac_err"; then 14059 if test -z "$ac_err"; then
14042 rm -rf conftest* 14060 rm -rf conftest*
14043 eval "ac_cv_header_$ac_safe=yes" 14061 eval "ac_cv_header_$ac_safe=yes"
14044 else 14062 else
14061 14079
14062 else 14080 else
14063 echo "$ac_t""no" 1>&6 14081 echo "$ac_t""no" 1>&6
14064 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14082 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14065 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14083 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14066 echo "configure:14067: checking for sys/dir.h" >&5 14084 echo "configure:14085: checking for sys/dir.h" >&5
14067 14085
14068 cat > conftest.$ac_ext <<EOF 14086 cat > conftest.$ac_ext <<EOF
14069 #line 14070 "configure" 14087 #line 14088 "configure"
14070 #include "confdefs.h" 14088 #include "confdefs.h"
14071 #include <sys/dir.h> 14089 #include <sys/dir.h>
14072 EOF 14090 EOF
14073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14074 { (eval echo configure:14075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14092 { (eval echo configure:14093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14076 if test -z "$ac_err"; then 14094 if test -z "$ac_err"; then
14077 rm -rf conftest* 14095 rm -rf conftest*
14078 eval "ac_cv_header_$ac_safe=yes" 14096 eval "ac_cv_header_$ac_safe=yes"
14079 else 14097 else
14102 fi 14120 fi
14103 14121
14104 14122
14105 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14123 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14106 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14124 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14107 echo "configure:14108: checking for nlist.h" >&5 14125 echo "configure:14126: checking for nlist.h" >&5
14108 14126
14109 cat > conftest.$ac_ext <<EOF 14127 cat > conftest.$ac_ext <<EOF
14110 #line 14111 "configure" 14128 #line 14129 "configure"
14111 #include "confdefs.h" 14129 #include "confdefs.h"
14112 #include <nlist.h> 14130 #include <nlist.h>
14113 EOF 14131 EOF
14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14133 { (eval echo configure:14134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14117 if test -z "$ac_err"; then 14135 if test -z "$ac_err"; then
14118 rm -rf conftest* 14136 rm -rf conftest*
14119 eval "ac_cv_header_$ac_safe=yes" 14137 eval "ac_cv_header_$ac_safe=yes"
14120 else 14138 else
14140 fi 14158 fi
14141 14159
14142 14160
14143 14161
14144 echo "checking "for sound support"" 1>&6 14162 echo "checking "for sound support"" 1>&6
14145 echo "configure:14146: checking "for sound support"" >&5 14163 echo "configure:14164: checking "for sound support"" >&5
14146 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14164 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14147 14165
14148 if test "$with_native_sound" != "no"; then 14166 if test "$with_native_sound" != "no"; then
14149 if test -n "$native_sound_lib"; then 14167 if test -n "$native_sound_lib"; then
14150 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14168 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14151 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14169 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14152 echo "configure:14153: checking for multimedia/audio_device.h" >&5 14170 echo "configure:14171: checking for multimedia/audio_device.h" >&5
14153 14171
14154 cat > conftest.$ac_ext <<EOF 14172 cat > conftest.$ac_ext <<EOF
14155 #line 14156 "configure" 14173 #line 14174 "configure"
14156 #include "confdefs.h" 14174 #include "confdefs.h"
14157 #include <multimedia/audio_device.h> 14175 #include <multimedia/audio_device.h>
14158 EOF 14176 EOF
14159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14160 { (eval echo configure:14161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14178 { (eval echo configure:14179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14162 if test -z "$ac_err"; then 14180 if test -z "$ac_err"; then
14163 rm -rf conftest* 14181 rm -rf conftest*
14164 eval "ac_cv_header_$ac_safe=yes" 14182 eval "ac_cv_header_$ac_safe=yes"
14165 else 14183 else
14211 case "$canonical" in 14229 case "$canonical" in
14212 *-sgi-* ) 14230 *-sgi-* )
14213 if test -z "$native_sound_lib"; then 14231 if test -z "$native_sound_lib"; then
14214 14232
14215 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14233 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14216 echo "configure:14217: checking for ALopenport in -laudio" >&5 14234 echo "configure:14235: checking for ALopenport in -laudio" >&5
14217 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14235 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14218 14236
14219 xe_check_libs=" -laudio " 14237 xe_check_libs=" -laudio "
14220 cat > conftest.$ac_ext <<EOF 14238 cat > conftest.$ac_ext <<EOF
14221 #line 14222 "configure" 14239 #line 14240 "configure"
14222 #include "confdefs.h" 14240 #include "confdefs.h"
14223 /* Override any gcc2 internal prototype to avoid an error. */ 14241 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2 14242 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */ 14243 builtin and then its argument prototype would still apply. */
14226 char ALopenport(); 14244 char ALopenport();
14227 14245
14228 int main() { 14246 int main() {
14229 ALopenport() 14247 ALopenport()
14230 ; return 0; } 14248 ; return 0; }
14231 EOF 14249 EOF
14232 if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14250 if { (eval echo configure:14251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14233 rm -rf conftest* 14251 rm -rf conftest*
14234 eval "ac_cv_lib_$ac_lib_var=yes" 14252 eval "ac_cv_lib_$ac_lib_var=yes"
14235 else 14253 else
14236 echo "configure: failed program was:" >&5 14254 echo "configure: failed program was:" >&5
14237 cat conftest.$ac_ext >&5 14255 cat conftest.$ac_ext >&5
14258 fi ;; 14276 fi ;;
14259 hppa*-hp-hpux* ) 14277 hppa*-hp-hpux* )
14260 if test -z "$native_sound_lib"; then 14278 if test -z "$native_sound_lib"; then
14261 14279
14262 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14280 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14263 echo "configure:14264: checking for AOpenAudio in -lAlib" >&5 14281 echo "configure:14282: checking for AOpenAudio in -lAlib" >&5
14264 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14282 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14265 14283
14266 xe_check_libs=" -lAlib " 14284 xe_check_libs=" -lAlib "
14267 cat > conftest.$ac_ext <<EOF 14285 cat > conftest.$ac_ext <<EOF
14268 #line 14269 "configure" 14286 #line 14287 "configure"
14269 #include "confdefs.h" 14287 #include "confdefs.h"
14270 /* Override any gcc2 internal prototype to avoid an error. */ 14288 /* Override any gcc2 internal prototype to avoid an error. */
14271 /* We use char because int might match the return type of a gcc2 14289 /* We use char because int might match the return type of a gcc2
14272 builtin and then its argument prototype would still apply. */ 14290 builtin and then its argument prototype would still apply. */
14273 char AOpenAudio(); 14291 char AOpenAudio();
14274 14292
14275 int main() { 14293 int main() {
14276 AOpenAudio() 14294 AOpenAudio()
14277 ; return 0; } 14295 ; return 0; }
14278 EOF 14296 EOF
14279 if { (eval echo configure:14280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14297 if { (eval echo configure:14298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14280 rm -rf conftest* 14298 rm -rf conftest*
14281 eval "ac_cv_lib_$ac_lib_var=yes" 14299 eval "ac_cv_lib_$ac_lib_var=yes"
14282 else 14300 else
14283 echo "configure: failed program was:" >&5 14301 echo "configure: failed program was:" >&5
14284 cat conftest.$ac_ext >&5 14302 cat conftest.$ac_ext >&5
14322 14340
14323 if test -z "$sound_found"; then 14341 if test -z "$sound_found"; then
14324 for dir in "machine" "sys" "linux"; do 14342 for dir in "machine" "sys" "linux"; do
14325 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14343 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14326 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14344 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14327 echo "configure:14328: checking for ${dir}/soundcard.h" >&5 14345 echo "configure:14346: checking for ${dir}/soundcard.h" >&5
14328 14346
14329 cat > conftest.$ac_ext <<EOF 14347 cat > conftest.$ac_ext <<EOF
14330 #line 14331 "configure" 14348 #line 14349 "configure"
14331 #include "confdefs.h" 14349 #include "confdefs.h"
14332 #include <${dir}/soundcard.h> 14350 #include <${dir}/soundcard.h>
14333 EOF 14351 EOF
14334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14335 { (eval echo configure:14336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14353 { (eval echo configure:14354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14337 if test -z "$ac_err"; then 14355 if test -z "$ac_err"; then
14338 rm -rf conftest* 14356 rm -rf conftest*
14339 eval "ac_cv_header_$ac_safe=yes" 14357 eval "ac_cv_header_$ac_safe=yes"
14340 else 14358 else
14384 fi 14402 fi
14385 14403
14386 if test "$with_nas_sound" != "no"; then 14404 if test "$with_nas_sound" != "no"; then
14387 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14405 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14388 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14406 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14389 echo "configure:14390: checking for audio/audiolib.h" >&5 14407 echo "configure:14408: checking for audio/audiolib.h" >&5
14390 14408
14391 cat > conftest.$ac_ext <<EOF 14409 cat > conftest.$ac_ext <<EOF
14392 #line 14393 "configure" 14410 #line 14411 "configure"
14393 #include "confdefs.h" 14411 #include "confdefs.h"
14394 #include <audio/audiolib.h> 14412 #include <audio/audiolib.h>
14395 EOF 14413 EOF
14396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14397 { (eval echo configure:14398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14415 { (eval echo configure:14416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14399 if test -z "$ac_err"; then 14417 if test -z "$ac_err"; then
14400 rm -rf conftest* 14418 rm -rf conftest*
14401 eval "ac_cv_header_$ac_safe=yes" 14419 eval "ac_cv_header_$ac_safe=yes"
14402 else 14420 else
14410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14411 echo "$ac_t""yes" 1>&6 14429 echo "$ac_t""yes" 1>&6
14412 14430
14413 14431
14414 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14432 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14415 echo "configure:14416: checking for AuOpenServer in -laudio" >&5 14433 echo "configure:14434: checking for AuOpenServer in -laudio" >&5
14416 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14434 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14417 14435
14418 xe_check_libs=" -laudio " 14436 xe_check_libs=" -laudio "
14419 cat > conftest.$ac_ext <<EOF 14437 cat > conftest.$ac_ext <<EOF
14420 #line 14421 "configure" 14438 #line 14439 "configure"
14421 #include "confdefs.h" 14439 #include "confdefs.h"
14422 /* Override any gcc2 internal prototype to avoid an error. */ 14440 /* Override any gcc2 internal prototype to avoid an error. */
14423 /* We use char because int might match the return type of a gcc2 14441 /* We use char because int might match the return type of a gcc2
14424 builtin and then its argument prototype would still apply. */ 14442 builtin and then its argument prototype would still apply. */
14425 char AuOpenServer(); 14443 char AuOpenServer();
14426 14444
14427 int main() { 14445 int main() {
14428 AuOpenServer() 14446 AuOpenServer()
14429 ; return 0; } 14447 ; return 0; }
14430 EOF 14448 EOF
14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14449 if { (eval echo configure:14450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 rm -rf conftest* 14450 rm -rf conftest*
14433 eval "ac_cv_lib_$ac_lib_var=yes" 14451 eval "ac_cv_lib_$ac_lib_var=yes"
14434 else 14452 else
14435 echo "configure: failed program was:" >&5 14453 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5 14454 cat conftest.$ac_ext >&5
14465 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14483 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14466 echo " xemacs will be linked with \"nas.o\"" 14484 echo " xemacs will be linked with \"nas.o\""
14467 fi 14485 fi
14468 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14486 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14469 cat > conftest.$ac_ext <<EOF 14487 cat > conftest.$ac_ext <<EOF
14470 #line 14471 "configure" 14488 #line 14489 "configure"
14471 #include "confdefs.h" 14489 #include "confdefs.h"
14472 #include <audio/Xtutil.h> 14490 #include <audio/Xtutil.h>
14473 EOF 14491 EOF
14474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14475 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14493 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14496 14514
14497 if test "$with_esd_sound" != "no"; then 14515 if test "$with_esd_sound" != "no"; then
14498 # Extract the first word of "esd-config", so it can be a program name with args. 14516 # Extract the first word of "esd-config", so it can be a program name with args.
14499 set dummy esd-config; ac_word=$2 14517 set dummy esd-config; ac_word=$2
14500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14501 echo "configure:14502: checking for $ac_word" >&5 14519 echo "configure:14520: checking for $ac_word" >&5
14502 14520
14503 if test -n "$have_esd_config"; then 14521 if test -n "$have_esd_config"; then
14504 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14522 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14505 else 14523 else
14506 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14524 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14525 if test "$have_esd_config" = "yes"; then 14543 if test "$have_esd_config" = "yes"; then
14526 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14544 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14527 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 14545 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
14528 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14546 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14529 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14547 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14530 echo "configure:14531: checking for esd_play_stream" >&5 14548 echo "configure:14549: checking for esd_play_stream" >&5
14531 14549
14532 cat > conftest.$ac_ext <<EOF 14550 cat > conftest.$ac_ext <<EOF
14533 #line 14534 "configure" 14551 #line 14552 "configure"
14534 #include "confdefs.h" 14552 #include "confdefs.h"
14535 /* System header to define __stub macros and hopefully few prototypes, 14553 /* System header to define __stub macros and hopefully few prototypes,
14536 which can conflict with char esd_play_stream(); below. */ 14554 which can conflict with char esd_play_stream(); below. */
14537 #include <assert.h> 14555 #include <assert.h>
14538 /* Override any gcc2 internal prototype to avoid an error. */ 14556 /* Override any gcc2 internal prototype to avoid an error. */
14551 esd_play_stream(); 14569 esd_play_stream();
14552 #endif 14570 #endif
14553 14571
14554 ; return 0; } 14572 ; return 0; }
14555 EOF 14573 EOF
14556 if { (eval echo configure:14557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14574 if { (eval echo configure:14575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14557 rm -rf conftest* 14575 rm -rf conftest*
14558 eval "ac_cv_func_esd_play_stream=yes" 14576 eval "ac_cv_func_esd_play_stream=yes"
14559 else 14577 else
14560 echo "configure: failed program was:" >&5 14578 echo "configure: failed program was:" >&5
14561 cat conftest.$ac_ext >&5 14579 cat conftest.$ac_ext >&5
14602 14620
14603 test -z "$with_tty" && with_tty=yes 14621 test -z "$with_tty" && with_tty=yes
14604 14622
14605 if test "$with_tty" = "yes" ; then 14623 if test "$with_tty" = "yes" ; then
14606 echo "checking for TTY-related features" 1>&6 14624 echo "checking for TTY-related features" 1>&6
14607 echo "configure:14608: checking for TTY-related features" >&5 14625 echo "configure:14626: checking for TTY-related features" >&5
14608 { test "$extra_verbose" = "yes" && cat << \EOF 14626 { test "$extra_verbose" = "yes" && cat << \EOF
14609 Defining HAVE_TTY 14627 Defining HAVE_TTY
14610 EOF 14628 EOF
14611 cat >> confdefs.h <<\EOF 14629 cat >> confdefs.h <<\EOF
14612 #define HAVE_TTY 1 14630 #define HAVE_TTY 1
14615 14633
14616 14634
14617 if test -z "$with_ncurses"; then 14635 if test -z "$with_ncurses"; then
14618 14636
14619 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14637 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14620 echo "configure:14621: checking for tgetent in -lncurses" >&5 14638 echo "configure:14639: checking for tgetent in -lncurses" >&5
14621 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14639 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14622 14640
14623 xe_check_libs=" -lncurses " 14641 xe_check_libs=" -lncurses "
14624 cat > conftest.$ac_ext <<EOF 14642 cat > conftest.$ac_ext <<EOF
14625 #line 14626 "configure" 14643 #line 14644 "configure"
14626 #include "confdefs.h" 14644 #include "confdefs.h"
14627 /* Override any gcc2 internal prototype to avoid an error. */ 14645 /* Override any gcc2 internal prototype to avoid an error. */
14628 /* We use char because int might match the return type of a gcc2 14646 /* We use char because int might match the return type of a gcc2
14629 builtin and then its argument prototype would still apply. */ 14647 builtin and then its argument prototype would still apply. */
14630 char tgetent(); 14648 char tgetent();
14631 14649
14632 int main() { 14650 int main() {
14633 tgetent() 14651 tgetent()
14634 ; return 0; } 14652 ; return 0; }
14635 EOF 14653 EOF
14636 if { (eval echo configure:14637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14654 if { (eval echo configure:14655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14637 rm -rf conftest* 14655 rm -rf conftest*
14638 eval "ac_cv_lib_$ac_lib_var=yes" 14656 eval "ac_cv_lib_$ac_lib_var=yes"
14639 else 14657 else
14640 echo "configure: failed program was:" >&5 14658 echo "configure: failed program was:" >&5
14641 cat conftest.$ac_ext >&5 14659 cat conftest.$ac_ext >&5
14664 EOF 14682 EOF
14665 } 14683 }
14666 14684
14667 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14685 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14668 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14686 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14669 echo "configure:14670: checking for ncurses/curses.h" >&5 14687 echo "configure:14688: checking for ncurses/curses.h" >&5
14670 14688
14671 cat > conftest.$ac_ext <<EOF 14689 cat > conftest.$ac_ext <<EOF
14672 #line 14673 "configure" 14690 #line 14691 "configure"
14673 #include "confdefs.h" 14691 #include "confdefs.h"
14674 #include <ncurses/curses.h> 14692 #include <ncurses/curses.h>
14675 EOF 14693 EOF
14676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14677 { (eval echo configure:14678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14695 { (eval echo configure:14696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14679 if test -z "$ac_err"; then 14697 if test -z "$ac_err"; then
14680 rm -rf conftest* 14698 rm -rf conftest*
14681 eval "ac_cv_header_$ac_safe=yes" 14699 eval "ac_cv_header_$ac_safe=yes"
14682 else 14700 else
14694 echo "$ac_t""no" 1>&6 14712 echo "$ac_t""no" 1>&6
14695 fi 14713 fi
14696 14714
14697 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14715 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14698 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14716 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14699 echo "configure:14700: checking for ncurses/term.h" >&5 14717 echo "configure:14718: checking for ncurses/term.h" >&5
14700 14718
14701 cat > conftest.$ac_ext <<EOF 14719 cat > conftest.$ac_ext <<EOF
14702 #line 14703 "configure" 14720 #line 14721 "configure"
14703 #include "confdefs.h" 14721 #include "confdefs.h"
14704 #include <ncurses/term.h> 14722 #include <ncurses/term.h>
14705 EOF 14723 EOF
14706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14707 { (eval echo configure:14708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14725 { (eval echo configure:14726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14709 if test -z "$ac_err"; then 14727 if test -z "$ac_err"; then
14710 rm -rf conftest* 14728 rm -rf conftest*
14711 eval "ac_cv_header_$ac_safe=yes" 14729 eval "ac_cv_header_$ac_safe=yes"
14712 else 14730 else
14732 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14750 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14733 save_c_switch_site="$c_switch_site" 14751 save_c_switch_site="$c_switch_site"
14734 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14752 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14735 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14753 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14736 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14754 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14737 echo "configure:14738: checking for ncurses/curses.h" >&5 14755 echo "configure:14756: checking for ncurses/curses.h" >&5
14738 14756
14739 cat > conftest.$ac_ext <<EOF 14757 cat > conftest.$ac_ext <<EOF
14740 #line 14741 "configure" 14758 #line 14759 "configure"
14741 #include "confdefs.h" 14759 #include "confdefs.h"
14742 #include <ncurses/curses.h> 14760 #include <ncurses/curses.h>
14743 EOF 14761 EOF
14744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14745 { (eval echo configure:14746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14763 { (eval echo configure:14764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14747 if test -z "$ac_err"; then 14765 if test -z "$ac_err"; then
14748 rm -rf conftest* 14766 rm -rf conftest*
14749 eval "ac_cv_header_$ac_safe=yes" 14767 eval "ac_cv_header_$ac_safe=yes"
14750 else 14768 else
14775 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14793 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14776 else 14794 else
14777 for lib in curses termlib termcap; do 14795 for lib in curses termlib termcap; do
14778 14796
14779 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14797 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14780 echo "configure:14781: checking for tgetent in -l$lib" >&5 14798 echo "configure:14799: checking for tgetent in -l$lib" >&5
14781 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14799 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14782 14800
14783 xe_check_libs=" -l$lib " 14801 xe_check_libs=" -l$lib "
14784 cat > conftest.$ac_ext <<EOF 14802 cat > conftest.$ac_ext <<EOF
14785 #line 14786 "configure" 14803 #line 14804 "configure"
14786 #include "confdefs.h" 14804 #include "confdefs.h"
14787 /* Override any gcc2 internal prototype to avoid an error. */ 14805 /* Override any gcc2 internal prototype to avoid an error. */
14788 /* We use char because int might match the return type of a gcc2 14806 /* We use char because int might match the return type of a gcc2
14789 builtin and then its argument prototype would still apply. */ 14807 builtin and then its argument prototype would still apply. */
14790 char tgetent(); 14808 char tgetent();
14791 14809
14792 int main() { 14810 int main() {
14793 tgetent() 14811 tgetent()
14794 ; return 0; } 14812 ; return 0; }
14795 EOF 14813 EOF
14796 if { (eval echo configure:14797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14797 rm -rf conftest* 14815 rm -rf conftest*
14798 eval "ac_cv_lib_$ac_lib_var=yes" 14816 eval "ac_cv_lib_$ac_lib_var=yes"
14799 else 14817 else
14800 echo "configure: failed program was:" >&5 14818 echo "configure: failed program was:" >&5
14801 cat conftest.$ac_ext >&5 14819 cat conftest.$ac_ext >&5
14822 if test -n "$libs_termcap"; then 14840 if test -n "$libs_termcap"; then
14823 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14841 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14824 else 14842 else
14825 14843
14826 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 14844 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
14827 echo "configure:14828: checking for tgetent in -lcurses" >&5 14845 echo "configure:14846: checking for tgetent in -lcurses" >&5
14828 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 14846 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
14829 14847
14830 xe_check_libs=" -lcurses " 14848 xe_check_libs=" -lcurses "
14831 cat > conftest.$ac_ext <<EOF 14849 cat > conftest.$ac_ext <<EOF
14832 #line 14833 "configure" 14850 #line 14851 "configure"
14833 #include "confdefs.h" 14851 #include "confdefs.h"
14834 /* Override any gcc2 internal prototype to avoid an error. */ 14852 /* Override any gcc2 internal prototype to avoid an error. */
14835 /* We use char because int might match the return type of a gcc2 14853 /* We use char because int might match the return type of a gcc2
14836 builtin and then its argument prototype would still apply. */ 14854 builtin and then its argument prototype would still apply. */
14837 char tgetent(); 14855 char tgetent();
14838 14856
14839 int main() { 14857 int main() {
14840 tgetent() 14858 tgetent()
14841 ; return 0; } 14859 ; return 0; }
14842 EOF 14860 EOF
14843 if { (eval echo configure:14844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14861 if { (eval echo configure:14862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14844 rm -rf conftest* 14862 rm -rf conftest*
14845 eval "ac_cv_lib_$ac_lib_var=yes" 14863 eval "ac_cv_lib_$ac_lib_var=yes"
14846 else 14864 else
14847 echo "configure: failed program was:" >&5 14865 echo "configure: failed program was:" >&5
14848 cat conftest.$ac_ext >&5 14866 cat conftest.$ac_ext >&5
14856 echo "$ac_t""yes" 1>&6 14874 echo "$ac_t""yes" 1>&6
14857 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 14875 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
14858 else 14876 else
14859 echo "$ac_t""no" 1>&6 14877 echo "$ac_t""no" 1>&6
14860 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 14878 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
14861 echo "configure:14862: checking for tgetent in -ltermcap" >&5 14879 echo "configure:14880: checking for tgetent in -ltermcap" >&5
14862 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 14880 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
14863 14881
14864 xe_check_libs=" -ltermcap " 14882 xe_check_libs=" -ltermcap "
14865 cat > conftest.$ac_ext <<EOF 14883 cat > conftest.$ac_ext <<EOF
14866 #line 14867 "configure" 14884 #line 14885 "configure"
14867 #include "confdefs.h" 14885 #include "confdefs.h"
14868 /* Override any gcc2 internal prototype to avoid an error. */ 14886 /* Override any gcc2 internal prototype to avoid an error. */
14869 /* We use char because int might match the return type of a gcc2 14887 /* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */ 14888 builtin and then its argument prototype would still apply. */
14871 char tgetent(); 14889 char tgetent();
14872 14890
14873 int main() { 14891 int main() {
14874 tgetent() 14892 tgetent()
14875 ; return 0; } 14893 ; return 0; }
14876 EOF 14894 EOF
14877 if { (eval echo configure:14878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14895 if { (eval echo configure:14896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14878 rm -rf conftest* 14896 rm -rf conftest*
14879 eval "ac_cv_lib_$ac_lib_var=yes" 14897 eval "ac_cv_lib_$ac_lib_var=yes"
14880 else 14898 else
14881 echo "configure: failed program was:" >&5 14899 echo "configure: failed program was:" >&5
14882 cat conftest.$ac_ext >&5 14900 cat conftest.$ac_ext >&5
14920 } 14938 }
14921 14939
14922 14940
14923 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 14941 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
14924 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 14942 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
14925 echo "configure:14926: checking for gpm.h" >&5 14943 echo "configure:14944: checking for gpm.h" >&5
14926 14944
14927 cat > conftest.$ac_ext <<EOF 14945 cat > conftest.$ac_ext <<EOF
14928 #line 14929 "configure" 14946 #line 14947 "configure"
14929 #include "confdefs.h" 14947 #include "confdefs.h"
14930 #include <gpm.h> 14948 #include <gpm.h>
14931 EOF 14949 EOF
14932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14933 { (eval echo configure:14934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14951 { (eval echo configure:14952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14935 if test -z "$ac_err"; then 14953 if test -z "$ac_err"; then
14936 rm -rf conftest* 14954 rm -rf conftest*
14937 eval "ac_cv_header_$ac_safe=yes" 14955 eval "ac_cv_header_$ac_safe=yes"
14938 else 14956 else
14951 with_gpm=no 14969 with_gpm=no
14952 fi 14970 fi
14953 } 14971 }
14954 test -z "$with_gpm" && { 14972 test -z "$with_gpm" && {
14955 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 14973 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
14956 echo "configure:14957: checking for Gpm_Open in -lgpm" >&5 14974 echo "configure:14975: checking for Gpm_Open in -lgpm" >&5
14957 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 14975 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
14958 14976
14959 xe_check_libs=" -lgpm " 14977 xe_check_libs=" -lgpm "
14960 cat > conftest.$ac_ext <<EOF 14978 cat > conftest.$ac_ext <<EOF
14961 #line 14962 "configure" 14979 #line 14980 "configure"
14962 #include "confdefs.h" 14980 #include "confdefs.h"
14963 /* Override any gcc2 internal prototype to avoid an error. */ 14981 /* Override any gcc2 internal prototype to avoid an error. */
14964 /* We use char because int might match the return type of a gcc2 14982 /* We use char because int might match the return type of a gcc2
14965 builtin and then its argument prototype would still apply. */ 14983 builtin and then its argument prototype would still apply. */
14966 char Gpm_Open(); 14984 char Gpm_Open();
14967 14985
14968 int main() { 14986 int main() {
14969 Gpm_Open() 14987 Gpm_Open()
14970 ; return 0; } 14988 ; return 0; }
14971 EOF 14989 EOF
14972 if { (eval echo configure:14973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14990 if { (eval echo configure:14991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14973 rm -rf conftest* 14991 rm -rf conftest*
14974 eval "ac_cv_lib_$ac_lib_var=yes" 14992 eval "ac_cv_lib_$ac_lib_var=yes"
14975 else 14993 else
14976 echo "configure: failed program was:" >&5 14994 echo "configure: failed program was:" >&5
14977 cat conftest.$ac_ext >&5 14995 cat conftest.$ac_ext >&5
15010 done 15028 done
15011 fi 15029 fi
15012 15030
15013 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15031 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15014 != "no no no" && echo "checking for database support" 1>&6 15032 != "no no no" && echo "checking for database support" 1>&6
15015 echo "configure:15016: checking for database support" >&5 15033 echo "configure:15034: checking for database support" >&5
15016 15034
15017 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15035 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15018 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15036 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15019 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15037 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15020 echo "configure:15021: checking for ndbm.h" >&5 15038 echo "configure:15039: checking for ndbm.h" >&5
15021 15039
15022 cat > conftest.$ac_ext <<EOF 15040 cat > conftest.$ac_ext <<EOF
15023 #line 15024 "configure" 15041 #line 15042 "configure"
15024 #include "confdefs.h" 15042 #include "confdefs.h"
15025 #include <ndbm.h> 15043 #include <ndbm.h>
15026 EOF 15044 EOF
15027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15028 { (eval echo configure:15029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15046 { (eval echo configure:15047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15030 if test -z "$ac_err"; then 15048 if test -z "$ac_err"; then
15031 rm -rf conftest* 15049 rm -rf conftest*
15032 eval "ac_cv_header_$ac_safe=yes" 15050 eval "ac_cv_header_$ac_safe=yes"
15033 else 15051 else
15053 fi 15071 fi
15054 15072
15055 if test "$with_database_gdbm" != "no"; then 15073 if test "$with_database_gdbm" != "no"; then
15056 15074
15057 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15075 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15058 echo "configure:15059: checking for dbm_open in -lgdbm" >&5 15076 echo "configure:15077: checking for dbm_open in -lgdbm" >&5
15059 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15077 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15060 15078
15061 xe_check_libs=" -lgdbm " 15079 xe_check_libs=" -lgdbm "
15062 cat > conftest.$ac_ext <<EOF 15080 cat > conftest.$ac_ext <<EOF
15063 #line 15064 "configure" 15081 #line 15082 "configure"
15064 #include "confdefs.h" 15082 #include "confdefs.h"
15065 /* Override any gcc2 internal prototype to avoid an error. */ 15083 /* Override any gcc2 internal prototype to avoid an error. */
15066 /* We use char because int might match the return type of a gcc2 15084 /* We use char because int might match the return type of a gcc2
15067 builtin and then its argument prototype would still apply. */ 15085 builtin and then its argument prototype would still apply. */
15068 char dbm_open(); 15086 char dbm_open();
15069 15087
15070 int main() { 15088 int main() {
15071 dbm_open() 15089 dbm_open()
15072 ; return 0; } 15090 ; return 0; }
15073 EOF 15091 EOF
15074 if { (eval echo configure:15075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15092 if { (eval echo configure:15093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15075 rm -rf conftest* 15093 rm -rf conftest*
15076 eval "ac_cv_lib_$ac_lib_var=yes" 15094 eval "ac_cv_lib_$ac_lib_var=yes"
15077 else 15095 else
15078 echo "configure: failed program was:" >&5 15096 echo "configure: failed program was:" >&5
15079 cat conftest.$ac_ext >&5 15097 cat conftest.$ac_ext >&5
15097 15115
15098 fi 15116 fi
15099 15117
15100 if test "$with_database_dbm" != "no"; then 15118 if test "$with_database_dbm" != "no"; then
15101 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15119 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15102 echo "configure:15103: checking for dbm_open" >&5 15120 echo "configure:15121: checking for dbm_open" >&5
15103 15121
15104 cat > conftest.$ac_ext <<EOF 15122 cat > conftest.$ac_ext <<EOF
15105 #line 15106 "configure" 15123 #line 15124 "configure"
15106 #include "confdefs.h" 15124 #include "confdefs.h"
15107 /* System header to define __stub macros and hopefully few prototypes, 15125 /* System header to define __stub macros and hopefully few prototypes,
15108 which can conflict with char dbm_open(); below. */ 15126 which can conflict with char dbm_open(); below. */
15109 #include <assert.h> 15127 #include <assert.h>
15110 /* Override any gcc2 internal prototype to avoid an error. */ 15128 /* Override any gcc2 internal prototype to avoid an error. */
15123 dbm_open(); 15141 dbm_open();
15124 #endif 15142 #endif
15125 15143
15126 ; return 0; } 15144 ; return 0; }
15127 EOF 15145 EOF
15128 if { (eval echo configure:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15146 if { (eval echo configure:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15129 rm -rf conftest* 15147 rm -rf conftest*
15130 eval "ac_cv_func_dbm_open=yes" 15148 eval "ac_cv_func_dbm_open=yes"
15131 else 15149 else
15132 echo "configure: failed program was:" >&5 15150 echo "configure: failed program was:" >&5
15133 cat conftest.$ac_ext >&5 15151 cat conftest.$ac_ext >&5
15142 else 15160 else
15143 echo "$ac_t""no" 1>&6 15161 echo "$ac_t""no" 1>&6
15144 15162
15145 15163
15146 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15164 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15147 echo "configure:15148: checking for dbm_open in -ldbm" >&5 15165 echo "configure:15166: checking for dbm_open in -ldbm" >&5
15148 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15166 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15149 15167
15150 xe_check_libs=" -ldbm " 15168 xe_check_libs=" -ldbm "
15151 cat > conftest.$ac_ext <<EOF 15169 cat > conftest.$ac_ext <<EOF
15152 #line 15153 "configure" 15170 #line 15171 "configure"
15153 #include "confdefs.h" 15171 #include "confdefs.h"
15154 /* Override any gcc2 internal prototype to avoid an error. */ 15172 /* Override any gcc2 internal prototype to avoid an error. */
15155 /* We use char because int might match the return type of a gcc2 15173 /* We use char because int might match the return type of a gcc2
15156 builtin and then its argument prototype would still apply. */ 15174 builtin and then its argument prototype would still apply. */
15157 char dbm_open(); 15175 char dbm_open();
15158 15176
15159 int main() { 15177 int main() {
15160 dbm_open() 15178 dbm_open()
15161 ; return 0; } 15179 ; return 0; }
15162 EOF 15180 EOF
15163 if { (eval echo configure:15164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15181 if { (eval echo configure:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15164 rm -rf conftest* 15182 rm -rf conftest*
15165 eval "ac_cv_lib_$ac_lib_var=yes" 15183 eval "ac_cv_lib_$ac_lib_var=yes"
15166 else 15184 else
15167 echo "configure: failed program was:" >&5 15185 echo "configure: failed program was:" >&5
15168 cat conftest.$ac_ext >&5 15186 cat conftest.$ac_ext >&5
15199 } 15217 }
15200 15218
15201 15219
15202 if test "$with_database_berkdb" != "no"; then 15220 if test "$with_database_berkdb" != "no"; then
15203 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15221 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15204 echo "configure:15205: checking for Berkeley db.h" >&5 15222 echo "configure:15223: checking for Berkeley db.h" >&5
15205 for header in "db/db.h" "db.h"; do 15223 for header in "db/db.h" "db.h"; do
15206 cat > conftest.$ac_ext <<EOF 15224 cat > conftest.$ac_ext <<EOF
15207 #line 15208 "configure" 15225 #line 15226 "configure"
15208 #include "confdefs.h" 15226 #include "confdefs.h"
15209 15227
15210 #include <stdlib.h> 15228 #include <stdlib.h>
15211 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15229 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15212 #ifdef HAVE_INTTYPES_H 15230 #ifdef HAVE_INTTYPES_H
15224 15242
15225 int main() { 15243 int main() {
15226 15244
15227 ; return 0; } 15245 ; return 0; }
15228 EOF 15246 EOF
15229 if { (eval echo configure:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15247 if { (eval echo configure:15248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15230 rm -rf conftest* 15248 rm -rf conftest*
15231 db_h_file="$header"; break 15249 db_h_file="$header"; break
15232 else 15250 else
15233 echo "configure: failed program was:" >&5 15251 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5 15252 cat conftest.$ac_ext >&5
15240 else echo "$ac_t""$db_h_file" 1>&6 15258 else echo "$ac_t""$db_h_file" 1>&6
15241 fi 15259 fi
15242 15260
15243 if test "$with_database_berkdb" != "no"; then 15261 if test "$with_database_berkdb" != "no"; then
15244 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15262 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15245 echo "configure:15246: checking for Berkeley DB version" >&5 15263 echo "configure:15264: checking for Berkeley DB version" >&5
15246 cat > conftest.$ac_ext <<EOF 15264 cat > conftest.$ac_ext <<EOF
15247 #line 15248 "configure" 15265 #line 15266 "configure"
15248 #include "confdefs.h" 15266 #include "confdefs.h"
15249 #include <$db_h_file> 15267 #include <$db_h_file>
15250 #if DB_VERSION_MAJOR > 1 15268 #if DB_VERSION_MAJOR > 1
15251 yes 15269 yes
15252 #endif 15270 #endif
15254 EOF 15272 EOF
15255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15256 egrep "yes" >/dev/null 2>&1; then 15274 egrep "yes" >/dev/null 2>&1; then
15257 rm -rf conftest* 15275 rm -rf conftest*
15258 cat > conftest.$ac_ext <<EOF 15276 cat > conftest.$ac_ext <<EOF
15259 #line 15260 "configure" 15277 #line 15278 "configure"
15260 #include "confdefs.h" 15278 #include "confdefs.h"
15261 #include <$db_h_file> 15279 #include <$db_h_file>
15262 #if DB_VERSION_MAJOR > 2 15280 #if DB_VERSION_MAJOR > 2
15263 yes 15281 yes
15264 #endif 15282 #endif
15266 EOF 15284 EOF
15267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15268 egrep "yes" >/dev/null 2>&1; then 15286 egrep "yes" >/dev/null 2>&1; then
15269 rm -rf conftest* 15287 rm -rf conftest*
15270 cat > conftest.$ac_ext <<EOF 15288 cat > conftest.$ac_ext <<EOF
15271 #line 15272 "configure" 15289 #line 15290 "configure"
15272 #include "confdefs.h" 15290 #include "confdefs.h"
15273 #include <$db_h_file> 15291 #include <$db_h_file>
15274 #if DB_VERSION_MAJOR > 3 15292 #if DB_VERSION_MAJOR > 3
15275 yes 15293 yes
15276 #endif 15294 #endif
15300 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15318 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15301 fi 15319 fi
15302 rm -f conftest* 15320 rm -f conftest*
15303 15321
15304 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15322 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15305 echo "configure:15306: checking for $dbfunc" >&5 15323 echo "configure:15324: checking for $dbfunc" >&5
15306 15324
15307 cat > conftest.$ac_ext <<EOF 15325 cat > conftest.$ac_ext <<EOF
15308 #line 15309 "configure" 15326 #line 15327 "configure"
15309 #include "confdefs.h" 15327 #include "confdefs.h"
15310 /* System header to define __stub macros and hopefully few prototypes, 15328 /* System header to define __stub macros and hopefully few prototypes,
15311 which can conflict with char $dbfunc(); below. */ 15329 which can conflict with char $dbfunc(); below. */
15312 #include <assert.h> 15330 #include <assert.h>
15313 /* Override any gcc2 internal prototype to avoid an error. */ 15331 /* Override any gcc2 internal prototype to avoid an error. */
15326 $dbfunc(); 15344 $dbfunc();
15327 #endif 15345 #endif
15328 15346
15329 ; return 0; } 15347 ; return 0; }
15330 EOF 15348 EOF
15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15349 if { (eval echo configure:15350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15332 rm -rf conftest* 15350 rm -rf conftest*
15333 eval "ac_cv_func_$dbfunc=yes" 15351 eval "ac_cv_func_$dbfunc=yes"
15334 else 15352 else
15335 echo "configure: failed program was:" >&5 15353 echo "configure: failed program was:" >&5
15336 cat conftest.$ac_ext >&5 15354 cat conftest.$ac_ext >&5
15345 else 15363 else
15346 echo "$ac_t""no" 1>&6 15364 echo "$ac_t""no" 1>&6
15347 15365
15348 15366
15349 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15367 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15350 echo "configure:15351: checking for $dbfunc in -ldb" >&5 15368 echo "configure:15369: checking for $dbfunc in -ldb" >&5
15351 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15369 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15352 15370
15353 xe_check_libs=" -ldb " 15371 xe_check_libs=" -ldb "
15354 cat > conftest.$ac_ext <<EOF 15372 cat > conftest.$ac_ext <<EOF
15355 #line 15356 "configure" 15373 #line 15374 "configure"
15356 #include "confdefs.h" 15374 #include "confdefs.h"
15357 /* Override any gcc2 internal prototype to avoid an error. */ 15375 /* Override any gcc2 internal prototype to avoid an error. */
15358 /* We use char because int might match the return type of a gcc2 15376 /* We use char because int might match the return type of a gcc2
15359 builtin and then its argument prototype would still apply. */ 15377 builtin and then its argument prototype would still apply. */
15360 char $dbfunc(); 15378 char $dbfunc();
15361 15379
15362 int main() { 15380 int main() {
15363 $dbfunc() 15381 $dbfunc()
15364 ; return 0; } 15382 ; return 0; }
15365 EOF 15383 EOF
15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15384 if { (eval echo configure:15385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15367 rm -rf conftest* 15385 rm -rf conftest*
15368 eval "ac_cv_lib_$ac_lib_var=yes" 15386 eval "ac_cv_lib_$ac_lib_var=yes"
15369 else 15387 else
15370 echo "configure: failed program was:" >&5 15388 echo "configure: failed program was:" >&5
15371 cat conftest.$ac_ext >&5 15389 cat conftest.$ac_ext >&5
15395 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15413 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15396 rm -f $tempcname 15414 rm -f $tempcname
15397 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15415 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15398 15416
15399 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15417 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15400 echo "configure:15401: checking for $dbfunc in -ldb" >&5 15418 echo "configure:15419: checking for $dbfunc in -ldb" >&5
15401 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15419 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15402 15420
15403 xe_check_libs=" -ldb " 15421 xe_check_libs=" -ldb "
15404 cat > conftest.$ac_ext <<EOF 15422 cat > conftest.$ac_ext <<EOF
15405 #line 15406 "configure" 15423 #line 15424 "configure"
15406 #include "confdefs.h" 15424 #include "confdefs.h"
15407 /* Override any gcc2 internal prototype to avoid an error. */ 15425 /* Override any gcc2 internal prototype to avoid an error. */
15408 /* We use char because int might match the return type of a gcc2 15426 /* We use char because int might match the return type of a gcc2
15409 builtin and then its argument prototype would still apply. */ 15427 builtin and then its argument prototype would still apply. */
15410 char $dbfunc(); 15428 char $dbfunc();
15411 15429
15412 int main() { 15430 int main() {
15413 $dbfunc() 15431 $dbfunc()
15414 ; return 0; } 15432 ; return 0; }
15415 EOF 15433 EOF
15416 if { (eval echo configure:15417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15434 if { (eval echo configure:15435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15417 rm -rf conftest* 15435 rm -rf conftest*
15418 eval "ac_cv_lib_$ac_lib_var=yes" 15436 eval "ac_cv_lib_$ac_lib_var=yes"
15419 else 15437 else
15420 echo "configure: failed program was:" >&5 15438 echo "configure: failed program was:" >&5
15421 cat conftest.$ac_ext >&5 15439 cat conftest.$ac_ext >&5
15470 fi 15488 fi
15471 15489
15472 if test "$with_socks" = "yes"; then 15490 if test "$with_socks" = "yes"; then
15473 15491
15474 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15492 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15475 echo "configure:15476: checking for SOCKSinit in -lsocks" >&5 15493 echo "configure:15494: checking for SOCKSinit in -lsocks" >&5
15476 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15494 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15477 15495
15478 xe_check_libs=" -lsocks " 15496 xe_check_libs=" -lsocks "
15479 cat > conftest.$ac_ext <<EOF 15497 cat > conftest.$ac_ext <<EOF
15480 #line 15481 "configure" 15498 #line 15499 "configure"
15481 #include "confdefs.h" 15499 #include "confdefs.h"
15482 /* Override any gcc2 internal prototype to avoid an error. */ 15500 /* Override any gcc2 internal prototype to avoid an error. */
15483 /* We use char because int might match the return type of a gcc2 15501 /* We use char because int might match the return type of a gcc2
15484 builtin and then its argument prototype would still apply. */ 15502 builtin and then its argument prototype would still apply. */
15485 char SOCKSinit(); 15503 char SOCKSinit();
15486 15504
15487 int main() { 15505 int main() {
15488 SOCKSinit() 15506 SOCKSinit()
15489 ; return 0; } 15507 ; return 0; }
15490 EOF 15508 EOF
15491 if { (eval echo configure:15492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15509 if { (eval echo configure:15510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15492 rm -rf conftest* 15510 rm -rf conftest*
15493 eval "ac_cv_lib_$ac_lib_var=yes" 15511 eval "ac_cv_lib_$ac_lib_var=yes"
15494 else 15512 else
15495 echo "configure: failed program was:" >&5 15513 echo "configure: failed program was:" >&5
15496 cat conftest.$ac_ext >&5 15514 cat conftest.$ac_ext >&5
15542 fi 15560 fi
15543 15561
15544 if test "$use_number_lib" = "gmp"; then 15562 if test "$use_number_lib" = "gmp"; then
15545 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15563 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15546 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15564 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15547 echo "configure:15548: checking for gmp.h" >&5 15565 echo "configure:15566: checking for gmp.h" >&5
15548 15566
15549 cat > conftest.$ac_ext <<EOF 15567 cat > conftest.$ac_ext <<EOF
15550 #line 15551 "configure" 15568 #line 15569 "configure"
15551 #include "confdefs.h" 15569 #include "confdefs.h"
15552 #include <gmp.h> 15570 #include <gmp.h>
15553 EOF 15571 EOF
15554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15555 { (eval echo configure:15556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15573 { (eval echo configure:15574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15557 if test -z "$ac_err"; then 15575 if test -z "$ac_err"; then
15558 rm -rf conftest* 15576 rm -rf conftest*
15559 eval "ac_cv_header_$ac_safe=yes" 15577 eval "ac_cv_header_$ac_safe=yes"
15560 else 15578 else
15568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15569 echo "$ac_t""yes" 1>&6 15587 echo "$ac_t""yes" 1>&6
15570 15588
15571 15589
15572 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15590 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15573 echo "configure:15574: checking for __gmpz_init in -lgmp" >&5 15591 echo "configure:15592: checking for __gmpz_init in -lgmp" >&5
15574 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15592 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15575 15593
15576 xe_check_libs=" -lgmp " 15594 xe_check_libs=" -lgmp "
15577 cat > conftest.$ac_ext <<EOF 15595 cat > conftest.$ac_ext <<EOF
15578 #line 15579 "configure" 15596 #line 15597 "configure"
15579 #include "confdefs.h" 15597 #include "confdefs.h"
15580 /* Override any gcc2 internal prototype to avoid an error. */ 15598 /* Override any gcc2 internal prototype to avoid an error. */
15581 /* We use char because int might match the return type of a gcc2 15599 /* We use char because int might match the return type of a gcc2
15582 builtin and then its argument prototype would still apply. */ 15600 builtin and then its argument prototype would still apply. */
15583 char __gmpz_init(); 15601 char __gmpz_init();
15584 15602
15585 int main() { 15603 int main() {
15586 __gmpz_init() 15604 __gmpz_init()
15587 ; return 0; } 15605 ; return 0; }
15588 EOF 15606 EOF
15589 if { (eval echo configure:15590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15607 if { (eval echo configure:15608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15590 rm -rf conftest* 15608 rm -rf conftest*
15591 eval "ac_cv_lib_$ac_lib_var=yes" 15609 eval "ac_cv_lib_$ac_lib_var=yes"
15592 else 15610 else
15593 echo "configure: failed program was:" >&5 15611 echo "configure: failed program was:" >&5
15594 cat conftest.$ac_ext >&5 15612 cat conftest.$ac_ext >&5
15633 fi 15651 fi
15634 elif test "$use_number_lib" = "mp"; then 15652 elif test "$use_number_lib" = "mp"; then
15635 for library in "" "-lcrypto"; do 15653 for library in "" "-lcrypto"; do
15636 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15654 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15637 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15655 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15638 echo "configure:15639: checking for mp.h" >&5 15656 echo "configure:15657: checking for mp.h" >&5
15639 15657
15640 cat > conftest.$ac_ext <<EOF 15658 cat > conftest.$ac_ext <<EOF
15641 #line 15642 "configure" 15659 #line 15660 "configure"
15642 #include "confdefs.h" 15660 #include "confdefs.h"
15643 #include <mp.h> 15661 #include <mp.h>
15644 EOF 15662 EOF
15645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15646 { (eval echo configure:15647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15664 { (eval echo configure:15665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15648 if test -z "$ac_err"; then 15666 if test -z "$ac_err"; then
15649 rm -rf conftest* 15667 rm -rf conftest*
15650 eval "ac_cv_header_$ac_safe=yes" 15668 eval "ac_cv_header_$ac_safe=yes"
15651 else 15669 else
15661 15679
15662 15680
15663 xe_msg_checking="for mp_mfree in -lmp" 15681 xe_msg_checking="for mp_mfree in -lmp"
15664 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15682 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15665 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15683 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15666 echo "configure:15667: checking "$xe_msg_checking"" >&5 15684 echo "configure:15685: checking "$xe_msg_checking"" >&5
15667 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15685 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15668 15686
15669 xe_check_libs=" -lmp $library" 15687 xe_check_libs=" -lmp $library"
15670 cat > conftest.$ac_ext <<EOF 15688 cat > conftest.$ac_ext <<EOF
15671 #line 15672 "configure" 15689 #line 15690 "configure"
15672 #include "confdefs.h" 15690 #include "confdefs.h"
15673 /* Override any gcc2 internal prototype to avoid an error. */ 15691 /* Override any gcc2 internal prototype to avoid an error. */
15674 /* We use char because int might match the return type of a gcc2 15692 /* We use char because int might match the return type of a gcc2
15675 builtin and then its argument prototype would still apply. */ 15693 builtin and then its argument prototype would still apply. */
15676 char mp_mfree(); 15694 char mp_mfree();
15677 15695
15678 int main() { 15696 int main() {
15679 mp_mfree() 15697 mp_mfree()
15680 ; return 0; } 15698 ; return 0; }
15681 EOF 15699 EOF
15682 if { (eval echo configure:15683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15700 if { (eval echo configure:15701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15683 rm -rf conftest* 15701 rm -rf conftest*
15684 eval "ac_cv_lib_$ac_lib_var=yes" 15702 eval "ac_cv_lib_$ac_lib_var=yes"
15685 else 15703 else
15686 echo "configure: failed program was:" >&5 15704 echo "configure: failed program was:" >&5
15687 cat conftest.$ac_ext >&5 15705 cat conftest.$ac_ext >&5
15698 echo "$ac_t""no" 1>&6 15716 echo "$ac_t""no" 1>&6
15699 15717
15700 xe_msg_checking="for mfree in -lmp" 15718 xe_msg_checking="for mfree in -lmp"
15701 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15719 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15702 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15720 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15703 echo "configure:15704: checking "$xe_msg_checking"" >&5 15721 echo "configure:15722: checking "$xe_msg_checking"" >&5
15704 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15722 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15705 15723
15706 xe_check_libs=" -lmp $library" 15724 xe_check_libs=" -lmp $library"
15707 cat > conftest.$ac_ext <<EOF 15725 cat > conftest.$ac_ext <<EOF
15708 #line 15709 "configure" 15726 #line 15727 "configure"
15709 #include "confdefs.h" 15727 #include "confdefs.h"
15710 /* Override any gcc2 internal prototype to avoid an error. */ 15728 /* Override any gcc2 internal prototype to avoid an error. */
15711 /* We use char because int might match the return type of a gcc2 15729 /* We use char because int might match the return type of a gcc2
15712 builtin and then its argument prototype would still apply. */ 15730 builtin and then its argument prototype would still apply. */
15713 char mfree(); 15731 char mfree();
15714 15732
15715 int main() { 15733 int main() {
15716 mfree() 15734 mfree()
15717 ; return 0; } 15735 ; return 0; }
15718 EOF 15736 EOF
15719 if { (eval echo configure:15720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15720 rm -rf conftest* 15738 rm -rf conftest*
15721 eval "ac_cv_lib_$ac_lib_var=yes" 15739 eval "ac_cv_lib_$ac_lib_var=yes"
15722 else 15740 else
15723 echo "configure: failed program was:" >&5 15741 echo "configure: failed program was:" >&5
15724 cat conftest.$ac_ext >&5 15742 cat conftest.$ac_ext >&5
15753 EOF 15771 EOF
15754 } 15772 }
15755 15773
15756 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15774 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15757 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15775 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15758 echo "configure:15759: checking for mp_move" >&5 15776 echo "configure:15777: checking for mp_move" >&5
15759 15777
15760 cat > conftest.$ac_ext <<EOF 15778 cat > conftest.$ac_ext <<EOF
15761 #line 15762 "configure" 15779 #line 15780 "configure"
15762 #include "confdefs.h" 15780 #include "confdefs.h"
15763 /* System header to define __stub macros and hopefully few prototypes, 15781 /* System header to define __stub macros and hopefully few prototypes,
15764 which can conflict with char mp_move(); below. */ 15782 which can conflict with char mp_move(); below. */
15765 #include <assert.h> 15783 #include <assert.h>
15766 /* Override any gcc2 internal prototype to avoid an error. */ 15784 /* Override any gcc2 internal prototype to avoid an error. */
15779 mp_move(); 15797 mp_move();
15780 #endif 15798 #endif
15781 15799
15782 ; return 0; } 15800 ; return 0; }
15783 EOF 15801 EOF
15784 if { (eval echo configure:15785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15802 if { (eval echo configure:15803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15785 rm -rf conftest* 15803 rm -rf conftest*
15786 eval "ac_cv_func_mp_move=yes" 15804 eval "ac_cv_func_mp_move=yes"
15787 else 15805 else
15788 echo "configure: failed program was:" >&5 15806 echo "configure: failed program was:" >&5
15789 cat conftest.$ac_ext >&5 15807 cat conftest.$ac_ext >&5
15807 fi 15825 fi
15808 15826
15809 elif test "$have_mfree" = "yes"; then 15827 elif test "$have_mfree" = "yes"; then
15810 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15828 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15811 echo $ac_n "checking for move""... $ac_c" 1>&6 15829 echo $ac_n "checking for move""... $ac_c" 1>&6
15812 echo "configure:15813: checking for move" >&5 15830 echo "configure:15831: checking for move" >&5
15813 15831
15814 cat > conftest.$ac_ext <<EOF 15832 cat > conftest.$ac_ext <<EOF
15815 #line 15816 "configure" 15833 #line 15834 "configure"
15816 #include "confdefs.h" 15834 #include "confdefs.h"
15817 /* System header to define __stub macros and hopefully few prototypes, 15835 /* System header to define __stub macros and hopefully few prototypes,
15818 which can conflict with char move(); below. */ 15836 which can conflict with char move(); below. */
15819 #include <assert.h> 15837 #include <assert.h>
15820 /* Override any gcc2 internal prototype to avoid an error. */ 15838 /* Override any gcc2 internal prototype to avoid an error. */
15833 move(); 15851 move();
15834 #endif 15852 #endif
15835 15853
15836 ; return 0; } 15854 ; return 0; }
15837 EOF 15855 EOF
15838 if { (eval echo configure:15839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15856 if { (eval echo configure:15857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15839 rm -rf conftest* 15857 rm -rf conftest*
15840 eval "ac_cv_func_move=yes" 15858 eval "ac_cv_func_move=yes"
15841 else 15859 else
15842 echo "configure: failed program was:" >&5 15860 echo "configure: failed program was:" >&5
15843 cat conftest.$ac_ext >&5 15861 cat conftest.$ac_ext >&5
15861 fi 15879 fi
15862 15880
15863 else 15881 else
15864 { echo "Error:" "Required MP numeric support cannot be provided." >&2; exit 1; } 15882 { echo "Error:" "Required MP numeric support cannot be provided." >&2; exit 1; }
15865 fi 15883 fi
15866 if test "$library" = "-lcrypto"; then 15884 if test "$library" != ""; then
15867 LIBS="$LIBS -lcrypto" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lcrypto\" to \$LIBS"; fi 15885 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
15868 fi 15886 fi
15869 { test "$extra_verbose" = "yes" && cat << \EOF 15887 { test "$extra_verbose" = "yes" && cat << \EOF
15870 Defining WITH_NUMBER_TYPES 15888 Defining WITH_NUMBER_TYPES
15871 EOF 15889 EOF
15872 cat >> confdefs.h <<\EOF 15890 cat >> confdefs.h <<\EOF
15883 } 15901 }
15884 15902
15885 fi 15903 fi
15886 15904
15887 cat > conftest.$ac_ext <<EOF 15905 cat > conftest.$ac_ext <<EOF
15888 #line 15889 "configure" 15906 #line 15907 "configure"
15889 #include "confdefs.h" 15907 #include "confdefs.h"
15890 int main(int c,char *v[]){return 0;} 15908 int main(int c,char *v[]){return 0;}
15891 EOF 15909 EOF
15892 if { (eval echo configure:15893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 15910 if { (eval echo configure:15911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
15893 then 15911 then
15894 : 15912 :
15895 else 15913 else
15896 conftest_rc="$?" 15914 conftest_rc="$?"
15897 echo "configure: failed program was:" >&5 15915 echo "configure: failed program was:" >&5