Mercurial > hg > xemacs-beta
comparison configure @ 2006:1ea9c87af805
[xemacs-hg @ 2004-04-12 10:11:47 by stephent]
disable ppc.ldscript <87brlx8q3m.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 12 Apr 2004 10:11:50 +0000 |
parents | 1d23b62cc251 |
children | 1388c8b3e663 |
comparison
equal
deleted
inserted
replaced
2005:d84214a794ab | 2006:1ea9c87af805 |
---|---|
3123 esac | 3123 esac |
3124 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi | 3124 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi |
3125 fi | 3125 fi |
3126 | 3126 |
3127 | 3127 |
3128 test "$machine$opsys" = "powerpclinux" && start_flags="-T $srcdir/src/ppc.ldscript" | |
3129 | 3128 |
3130 if test "$unexec" = "unexaix.o"; then | 3129 if test "$unexec" = "unexaix.o"; then |
3131 if test "$dynamic" = "no"; then | 3130 if test "$dynamic" = "no"; then |
3132 start_flags="-Wl,-bnso,-bnodelcsect" | 3131 start_flags="-Wl,-bnso,-bnodelcsect" |
3133 test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" | 3132 test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" |
3137 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3136 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3138 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3137 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3139 done | 3138 done |
3140 | 3139 |
3141 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3140 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3142 echo "configure:3143: checking for terminateAndUnload in -lC" >&5 | 3141 echo "configure:3142: checking for terminateAndUnload in -lC" >&5 |
3143 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3142 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3144 | 3143 |
3145 xe_check_libs=" -lC " | 3144 xe_check_libs=" -lC " |
3146 cat > conftest.$ac_ext <<EOF | 3145 cat > conftest.$ac_ext <<EOF |
3147 #line 3148 "configure" | 3146 #line 3147 "configure" |
3148 #include "confdefs.h" | 3147 #include "confdefs.h" |
3149 /* Override any gcc2 internal prototype to avoid an error. */ | 3148 /* Override any gcc2 internal prototype to avoid an error. */ |
3150 /* We use char because int might match the return type of a gcc2 | 3149 /* We use char because int might match the return type of a gcc2 |
3151 builtin and then its argument prototype would still apply. */ | 3150 builtin and then its argument prototype would still apply. */ |
3152 char terminateAndUnload(); | 3151 char terminateAndUnload(); |
3153 | 3152 |
3154 int main() { | 3153 int main() { |
3155 terminateAndUnload() | 3154 terminateAndUnload() |
3156 ; return 0; } | 3155 ; return 0; } |
3157 EOF | 3156 EOF |
3158 if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3157 if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3159 rm -rf conftest* | 3158 rm -rf conftest* |
3160 eval "ac_cv_lib_$ac_lib_var=yes" | 3159 eval "ac_cv_lib_$ac_lib_var=yes" |
3161 else | 3160 else |
3162 echo "configure: failed program was:" >&5 | 3161 echo "configure: failed program was:" >&5 |
3163 cat conftest.$ac_ext >&5 | 3162 cat conftest.$ac_ext >&5 |
3195 compiler_version="" | 3194 compiler_version="" |
3196 gcc_compiler_specs="" | 3195 gcc_compiler_specs="" |
3197 libc_version="" | 3196 libc_version="" |
3198 | 3197 |
3199 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3198 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3200 echo "configure:3201: checking for compiler version information" >&5 | 3199 echo "configure:3200: checking for compiler version information" >&5 |
3201 | 3200 |
3202 if test "$GCC" = "yes"; then | 3201 if test "$GCC" = "yes"; then |
3203 compiler_version=`$XEMACS_CC --version | head -1` | 3202 compiler_version=`$XEMACS_CC --version | head -1` |
3204 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3203 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3205 else case "$XEMACS_CC" in | 3204 else case "$XEMACS_CC" in |
3246 if test -z "$compiler_version"; then | 3245 if test -z "$compiler_version"; then |
3247 compiler_version="detection failed (please report this)" | 3246 compiler_version="detection failed (please report this)" |
3248 fi | 3247 fi |
3249 | 3248 |
3250 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 | 3249 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 |
3251 echo "configure:3252: checking for standard C library version information" >&5 | 3250 echo "configure:3251: checking for standard C library version information" >&5 |
3252 | 3251 |
3253 case "$canonical" in | 3252 case "$canonical" in |
3254 *-*-linux*) | 3253 *-*-linux*) |
3255 if test -f /etc/redhat-release ; then | 3254 if test -f /etc/redhat-release ; then |
3256 libc_version=`rpm -q glibc` | 3255 libc_version=`rpm -q glibc` |
3358 esac | 3357 esac |
3359 fi | 3358 fi |
3360 | 3359 |
3361 if test "$add_runtime_path" = "yes"; then | 3360 if test "$add_runtime_path" = "yes"; then |
3362 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3361 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3363 echo "configure:3364: checking "for runtime libraries flag"" >&5 | 3362 echo "configure:3363: checking "for runtime libraries flag"" >&5 |
3364 case "$opsys" in | 3363 case "$opsys" in |
3365 sol2 ) dash_r="-R" ;; | 3364 sol2 ) dash_r="-R" ;; |
3366 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3365 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3367 *) | 3366 *) |
3368 dash_r="" | 3367 dash_r="" |
3380 esac | 3379 esac |
3381 shift | 3380 shift |
3382 done | 3381 done |
3383 fi | 3382 fi |
3384 cat > conftest.$ac_ext <<EOF | 3383 cat > conftest.$ac_ext <<EOF |
3385 #line 3386 "configure" | 3384 #line 3385 "configure" |
3386 #include "confdefs.h" | 3385 #include "confdefs.h" |
3387 | 3386 |
3388 int main() { | 3387 int main() { |
3389 | 3388 |
3390 ; return 0; } | 3389 ; return 0; } |
3391 EOF | 3390 EOF |
3392 if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3391 if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3393 rm -rf conftest* | 3392 rm -rf conftest* |
3394 dash_r="$try_dash_r" | 3393 dash_r="$try_dash_r" |
3395 else | 3394 else |
3396 echo "configure: failed program was:" >&5 | 3395 echo "configure: failed program was:" >&5 |
3397 cat conftest.$ac_ext >&5 | 3396 cat conftest.$ac_ext >&5 |
3488 else | 3487 else |
3489 doug_lea_malloc=no | 3488 doug_lea_malloc=no |
3490 fi | 3489 fi |
3491 after_morecore_hook_exists=yes | 3490 after_morecore_hook_exists=yes |
3492 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3491 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3493 echo "configure:3494: checking for malloc_set_state" >&5 | 3492 echo "configure:3493: checking for malloc_set_state" >&5 |
3494 | 3493 |
3495 cat > conftest.$ac_ext <<EOF | 3494 cat > conftest.$ac_ext <<EOF |
3496 #line 3497 "configure" | 3495 #line 3496 "configure" |
3497 #include "confdefs.h" | 3496 #include "confdefs.h" |
3498 /* System header to define __stub macros and hopefully few prototypes, | 3497 /* System header to define __stub macros and hopefully few prototypes, |
3499 which can conflict with char malloc_set_state(); below. */ | 3498 which can conflict with char malloc_set_state(); below. */ |
3500 #include <assert.h> | 3499 #include <assert.h> |
3501 /* Override any gcc2 internal prototype to avoid an error. */ | 3500 /* Override any gcc2 internal prototype to avoid an error. */ |
3514 malloc_set_state(); | 3513 malloc_set_state(); |
3515 #endif | 3514 #endif |
3516 | 3515 |
3517 ; return 0; } | 3516 ; return 0; } |
3518 EOF | 3517 EOF |
3519 if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3518 if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3520 rm -rf conftest* | 3519 rm -rf conftest* |
3521 eval "ac_cv_func_malloc_set_state=yes" | 3520 eval "ac_cv_func_malloc_set_state=yes" |
3522 else | 3521 else |
3523 echo "configure: failed program was:" >&5 | 3522 echo "configure: failed program was:" >&5 |
3524 cat conftest.$ac_ext >&5 | 3523 cat conftest.$ac_ext >&5 |
3534 echo "$ac_t""no" 1>&6 | 3533 echo "$ac_t""no" 1>&6 |
3535 doug_lea_malloc=no | 3534 doug_lea_malloc=no |
3536 fi | 3535 fi |
3537 | 3536 |
3538 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3537 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3539 echo "configure:3540: checking whether __after_morecore_hook exists" >&5 | 3538 echo "configure:3539: checking whether __after_morecore_hook exists" >&5 |
3540 cat > conftest.$ac_ext <<EOF | 3539 cat > conftest.$ac_ext <<EOF |
3541 #line 3542 "configure" | 3540 #line 3541 "configure" |
3542 #include "confdefs.h" | 3541 #include "confdefs.h" |
3543 extern void (* __after_morecore_hook)(); | 3542 extern void (* __after_morecore_hook)(); |
3544 int main() { | 3543 int main() { |
3545 __after_morecore_hook = 0 | 3544 __after_morecore_hook = 0 |
3546 ; return 0; } | 3545 ; return 0; } |
3547 EOF | 3546 EOF |
3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3547 if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3549 rm -rf conftest* | 3548 rm -rf conftest* |
3550 echo "$ac_t""yes" 1>&6 | 3549 echo "$ac_t""yes" 1>&6 |
3551 else | 3550 else |
3552 echo "configure: failed program was:" >&5 | 3551 echo "configure: failed program was:" >&5 |
3553 cat conftest.$ac_ext >&5 | 3552 cat conftest.$ac_ext >&5 |
3599 | 3598 |
3600 | 3599 |
3601 # Extract the first word of "ranlib", so it can be a program name with args. | 3600 # Extract the first word of "ranlib", so it can be a program name with args. |
3602 set dummy ranlib; ac_word=$2 | 3601 set dummy ranlib; ac_word=$2 |
3603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3604 echo "configure:3605: checking for $ac_word" >&5 | 3603 echo "configure:3604: checking for $ac_word" >&5 |
3605 | 3604 |
3606 if test -n "$RANLIB"; then | 3605 if test -n "$RANLIB"; then |
3607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3608 else | 3607 else |
3609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3608 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3653 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3654 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3655 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3657 # ./install, which can be erroneously created by make from ./install.sh. | 3656 # ./install, which can be erroneously created by make from ./install.sh. |
3658 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3657 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3659 echo "configure:3660: checking for a BSD compatible install" >&5 | 3658 echo "configure:3659: checking for a BSD compatible install" >&5 |
3660 if test -z "$INSTALL"; then | 3659 if test -z "$INSTALL"; then |
3661 | 3660 |
3662 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3661 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3663 for ac_dir in $PATH; do | 3662 for ac_dir in $PATH; do |
3664 # Account for people who put trailing slashes in PATH elements. | 3663 # Account for people who put trailing slashes in PATH elements. |
3708 for ac_prog in 'bison -y' byacc | 3707 for ac_prog in 'bison -y' byacc |
3709 do | 3708 do |
3710 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3709 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3711 set dummy $ac_prog; ac_word=$2 | 3710 set dummy $ac_prog; ac_word=$2 |
3712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3711 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3713 echo "configure:3714: checking for $ac_word" >&5 | 3712 echo "configure:3713: checking for $ac_word" >&5 |
3714 | 3713 |
3715 if test -n "$YACC"; then | 3714 if test -n "$YACC"; then |
3716 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3715 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3717 else | 3716 else |
3718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3740 | 3739 |
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 | 3740 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3742 do | 3741 do |
3743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3745 echo "configure:3746: checking for $ac_hdr" >&5 | 3744 echo "configure:3745: checking for $ac_hdr" >&5 |
3746 | 3745 |
3747 cat > conftest.$ac_ext <<EOF | 3746 cat > conftest.$ac_ext <<EOF |
3748 #line 3749 "configure" | 3747 #line 3748 "configure" |
3749 #include "confdefs.h" | 3748 #include "confdefs.h" |
3750 #include <$ac_hdr> | 3749 #include <$ac_hdr> |
3751 EOF | 3750 EOF |
3752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3753 { (eval echo configure:3754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3752 { (eval echo configure:3753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3755 if test -z "$ac_err"; then | 3754 if test -z "$ac_err"; then |
3756 rm -rf conftest* | 3755 rm -rf conftest* |
3757 eval "ac_cv_header_$ac_safe=yes" | 3756 eval "ac_cv_header_$ac_safe=yes" |
3758 else | 3757 else |
3778 echo "$ac_t""no" 1>&6 | 3777 echo "$ac_t""no" 1>&6 |
3779 fi | 3778 fi |
3780 done | 3779 done |
3781 | 3780 |
3782 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3781 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3783 echo "configure:3784: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3782 echo "configure:3783: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3784 | 3783 |
3785 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3786 #line 3787 "configure" | 3785 #line 3786 "configure" |
3787 #include "confdefs.h" | 3786 #include "confdefs.h" |
3788 #include <sys/types.h> | 3787 #include <sys/types.h> |
3789 #include <sys/wait.h> | 3788 #include <sys/wait.h> |
3790 #ifndef WEXITSTATUS | 3789 #ifndef WEXITSTATUS |
3791 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3790 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3797 int s; | 3796 int s; |
3798 wait (&s); | 3797 wait (&s); |
3799 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3798 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3800 ; return 0; } | 3799 ; return 0; } |
3801 EOF | 3800 EOF |
3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3801 if { (eval echo configure:3802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3803 rm -rf conftest* | 3802 rm -rf conftest* |
3804 ac_cv_header_sys_wait_h=yes | 3803 ac_cv_header_sys_wait_h=yes |
3805 else | 3804 else |
3806 echo "configure: failed program was:" >&5 | 3805 echo "configure: failed program was:" >&5 |
3807 cat conftest.$ac_ext >&5 | 3806 cat conftest.$ac_ext >&5 |
3821 } | 3820 } |
3822 | 3821 |
3823 fi | 3822 fi |
3824 | 3823 |
3825 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3824 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3826 echo "configure:3827: checking for ANSI C header files" >&5 | 3825 echo "configure:3826: checking for ANSI C header files" >&5 |
3827 | 3826 |
3828 cat > conftest.$ac_ext <<EOF | 3827 cat > conftest.$ac_ext <<EOF |
3829 #line 3830 "configure" | 3828 #line 3829 "configure" |
3830 #include "confdefs.h" | 3829 #include "confdefs.h" |
3831 #include <stdlib.h> | 3830 #include <stdlib.h> |
3832 #include <stdarg.h> | 3831 #include <stdarg.h> |
3833 #include <string.h> | 3832 #include <string.h> |
3834 #include <float.h> | 3833 #include <float.h> |
3835 EOF | 3834 EOF |
3836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3837 { (eval echo configure:3838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3836 { (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3839 if test -z "$ac_err"; then | 3838 if test -z "$ac_err"; then |
3840 rm -rf conftest* | 3839 rm -rf conftest* |
3841 ac_cv_header_stdc=yes | 3840 ac_cv_header_stdc=yes |
3842 else | 3841 else |
3849 rm -f conftest* | 3848 rm -f conftest* |
3850 | 3849 |
3851 if test $ac_cv_header_stdc = yes; then | 3850 if test $ac_cv_header_stdc = yes; then |
3852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3853 cat > conftest.$ac_ext <<EOF | 3852 cat > conftest.$ac_ext <<EOF |
3854 #line 3855 "configure" | 3853 #line 3854 "configure" |
3855 #include "confdefs.h" | 3854 #include "confdefs.h" |
3856 #include <string.h> | 3855 #include <string.h> |
3857 EOF | 3856 EOF |
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3859 egrep "memchr" >/dev/null 2>&1; then | 3858 egrep "memchr" >/dev/null 2>&1; then |
3867 fi | 3866 fi |
3868 | 3867 |
3869 if test $ac_cv_header_stdc = yes; then | 3868 if test $ac_cv_header_stdc = yes; then |
3870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3871 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3872 #line 3873 "configure" | 3871 #line 3872 "configure" |
3873 #include "confdefs.h" | 3872 #include "confdefs.h" |
3874 #include <stdlib.h> | 3873 #include <stdlib.h> |
3875 EOF | 3874 EOF |
3876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3877 egrep "free" >/dev/null 2>&1; then | 3876 egrep "free" >/dev/null 2>&1; then |
3885 fi | 3884 fi |
3886 | 3885 |
3887 if test $ac_cv_header_stdc = yes; then | 3886 if test $ac_cv_header_stdc = yes; then |
3888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3889 cat > conftest.$ac_ext <<EOF | 3888 cat > conftest.$ac_ext <<EOF |
3890 #line 3891 "configure" | 3889 #line 3890 "configure" |
3891 #include "confdefs.h" | 3890 #include "confdefs.h" |
3892 #include <ctype.h> | 3891 #include <ctype.h> |
3893 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3892 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3894 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3893 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3894 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3896 int main () { int i; for (i = 0; i < 256; i++) | 3895 int main () { int i; for (i = 0; i < 256; i++) |
3897 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3896 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3898 exit (0); } | 3897 exit (0); } |
3899 | 3898 |
3900 EOF | 3899 EOF |
3901 if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3902 then | 3901 then |
3903 : | 3902 : |
3904 else | 3903 else |
3905 conftest_rc="$?" | 3904 conftest_rc="$?" |
3906 echo "configure: failed program was:" >&5 | 3905 echo "configure: failed program was:" >&5 |
3922 } | 3921 } |
3923 | 3922 |
3924 fi | 3923 fi |
3925 | 3924 |
3926 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3925 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3927 echo "configure:3928: checking whether time.h and sys/time.h may both be included" >&5 | 3926 echo "configure:3927: checking whether time.h and sys/time.h may both be included" >&5 |
3928 | 3927 |
3929 cat > conftest.$ac_ext <<EOF | 3928 cat > conftest.$ac_ext <<EOF |
3930 #line 3931 "configure" | 3929 #line 3930 "configure" |
3931 #include "confdefs.h" | 3930 #include "confdefs.h" |
3932 #include <sys/types.h> | 3931 #include <sys/types.h> |
3933 #include <sys/time.h> | 3932 #include <sys/time.h> |
3934 #include <time.h> | 3933 #include <time.h> |
3935 int main() { | 3934 int main() { |
3936 struct tm *tp; | 3935 struct tm *tp; |
3937 ; return 0; } | 3936 ; return 0; } |
3938 EOF | 3937 EOF |
3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3938 if { (eval echo configure:3939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3940 rm -rf conftest* | 3939 rm -rf conftest* |
3941 ac_cv_header_time=yes | 3940 ac_cv_header_time=yes |
3942 else | 3941 else |
3943 echo "configure: failed program was:" >&5 | 3942 echo "configure: failed program was:" >&5 |
3944 cat conftest.$ac_ext >&5 | 3943 cat conftest.$ac_ext >&5 |
3958 } | 3957 } |
3959 | 3958 |
3960 fi | 3959 fi |
3961 | 3960 |
3962 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3961 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3963 echo "configure:3964: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3962 echo "configure:3963: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3964 | 3963 |
3965 cat > conftest.$ac_ext <<EOF | 3964 cat > conftest.$ac_ext <<EOF |
3966 #line 3967 "configure" | 3965 #line 3966 "configure" |
3967 #include "confdefs.h" | 3966 #include "confdefs.h" |
3968 #include <sys/types.h> | 3967 #include <sys/types.h> |
3969 #include <signal.h> | 3968 #include <signal.h> |
3970 /* NetBSD declares sys_siglist in unistd.h. */ | 3969 /* NetBSD declares sys_siglist in unistd.h. */ |
3971 #ifdef HAVE_UNISTD_H | 3970 #ifdef HAVE_UNISTD_H |
3973 #endif | 3972 #endif |
3974 int main() { | 3973 int main() { |
3975 char *msg = *(sys_siglist + 1); | 3974 char *msg = *(sys_siglist + 1); |
3976 ; return 0; } | 3975 ; return 0; } |
3977 EOF | 3976 EOF |
3978 if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3977 if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3979 rm -rf conftest* | 3978 rm -rf conftest* |
3980 ac_cv_decl_sys_siglist=yes | 3979 ac_cv_decl_sys_siglist=yes |
3981 else | 3980 else |
3982 echo "configure: failed program was:" >&5 | 3981 echo "configure: failed program was:" >&5 |
3983 cat conftest.$ac_ext >&5 | 3982 cat conftest.$ac_ext >&5 |
3999 fi | 3998 fi |
4000 | 3999 |
4001 | 4000 |
4002 | 4001 |
4003 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 4002 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
4004 echo "configure:4005: checking for utime" >&5 | 4003 echo "configure:4004: checking for utime" >&5 |
4005 cat > conftest.$ac_ext <<EOF | 4004 cat > conftest.$ac_ext <<EOF |
4006 #line 4007 "configure" | 4005 #line 4006 "configure" |
4007 #include "confdefs.h" | 4006 #include "confdefs.h" |
4008 #include <sys/types.h> | 4007 #include <sys/types.h> |
4009 #include <utime.h> | 4008 #include <utime.h> |
4010 int main() { | 4009 int main() { |
4011 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 4010 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
4012 ; return 0; } | 4011 ; return 0; } |
4013 EOF | 4012 EOF |
4014 if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4013 if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4015 rm -rf conftest* | 4014 rm -rf conftest* |
4016 echo "$ac_t""yes" 1>&6 | 4015 echo "$ac_t""yes" 1>&6 |
4017 { test "$extra_verbose" = "yes" && cat << \EOF | 4016 { test "$extra_verbose" = "yes" && cat << \EOF |
4018 Defining HAVE_UTIME | 4017 Defining HAVE_UTIME |
4019 EOF | 4018 EOF |
4028 rm -rf conftest* | 4027 rm -rf conftest* |
4029 echo "$ac_t""no" 1>&6 | 4028 echo "$ac_t""no" 1>&6 |
4030 for ac_func in utimes | 4029 for ac_func in utimes |
4031 do | 4030 do |
4032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4033 echo "configure:4034: checking for $ac_func" >&5 | 4032 echo "configure:4033: checking for $ac_func" >&5 |
4034 | 4033 |
4035 cat > conftest.$ac_ext <<EOF | 4034 cat > conftest.$ac_ext <<EOF |
4036 #line 4037 "configure" | 4035 #line 4036 "configure" |
4037 #include "confdefs.h" | 4036 #include "confdefs.h" |
4038 /* System header to define __stub macros and hopefully few prototypes, | 4037 /* System header to define __stub macros and hopefully few prototypes, |
4039 which can conflict with char $ac_func(); below. */ | 4038 which can conflict with char $ac_func(); below. */ |
4040 #include <assert.h> | 4039 #include <assert.h> |
4041 /* Override any gcc2 internal prototype to avoid an error. */ | 4040 /* Override any gcc2 internal prototype to avoid an error. */ |
4054 $ac_func(); | 4053 $ac_func(); |
4055 #endif | 4054 #endif |
4056 | 4055 |
4057 ; return 0; } | 4056 ; return 0; } |
4058 EOF | 4057 EOF |
4059 if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4058 if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4060 rm -rf conftest* | 4059 rm -rf conftest* |
4061 eval "ac_cv_func_$ac_func=yes" | 4060 eval "ac_cv_func_$ac_func=yes" |
4062 else | 4061 else |
4063 echo "configure: failed program was:" >&5 | 4062 echo "configure: failed program was:" >&5 |
4064 cat conftest.$ac_ext >&5 | 4063 cat conftest.$ac_ext >&5 |
4086 fi | 4085 fi |
4087 rm -f conftest* | 4086 rm -f conftest* |
4088 | 4087 |
4089 | 4088 |
4090 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4089 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4091 echo "configure:4092: checking return type of signal handlers" >&5 | 4090 echo "configure:4091: checking return type of signal handlers" >&5 |
4092 | 4091 |
4093 cat > conftest.$ac_ext <<EOF | 4092 cat > conftest.$ac_ext <<EOF |
4094 #line 4095 "configure" | 4093 #line 4094 "configure" |
4095 #include "confdefs.h" | 4094 #include "confdefs.h" |
4096 #include <sys/types.h> | 4095 #include <sys/types.h> |
4097 #include <signal.h> | 4096 #include <signal.h> |
4098 #ifdef signal | 4097 #ifdef signal |
4099 #undef signal | 4098 #undef signal |
4106 | 4105 |
4107 int main() { | 4106 int main() { |
4108 int i; | 4107 int i; |
4109 ; return 0; } | 4108 ; return 0; } |
4110 EOF | 4109 EOF |
4111 if { (eval echo configure:4112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4110 if { (eval echo configure:4111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4112 rm -rf conftest* | 4111 rm -rf conftest* |
4113 ac_cv_type_signal=void | 4112 ac_cv_type_signal=void |
4114 else | 4113 else |
4115 echo "configure: failed program was:" >&5 | 4114 echo "configure: failed program was:" >&5 |
4116 cat conftest.$ac_ext >&5 | 4115 cat conftest.$ac_ext >&5 |
4128 EOF | 4127 EOF |
4129 } | 4128 } |
4130 | 4129 |
4131 | 4130 |
4132 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4131 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4133 echo "configure:4134: checking for size_t" >&5 | 4132 echo "configure:4133: checking for size_t" >&5 |
4134 | 4133 |
4135 cat > conftest.$ac_ext <<EOF | 4134 cat > conftest.$ac_ext <<EOF |
4136 #line 4137 "configure" | 4135 #line 4136 "configure" |
4137 #include "confdefs.h" | 4136 #include "confdefs.h" |
4138 #include <sys/types.h> | 4137 #include <sys/types.h> |
4139 #if STDC_HEADERS | 4138 #if STDC_HEADERS |
4140 #include <stdlib.h> | 4139 #include <stdlib.h> |
4141 #include <stddef.h> | 4140 #include <stddef.h> |
4162 } | 4161 } |
4163 | 4162 |
4164 fi | 4163 fi |
4165 | 4164 |
4166 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4165 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4167 echo "configure:4168: checking for pid_t" >&5 | 4166 echo "configure:4167: checking for pid_t" >&5 |
4168 | 4167 |
4169 cat > conftest.$ac_ext <<EOF | 4168 cat > conftest.$ac_ext <<EOF |
4170 #line 4171 "configure" | 4169 #line 4170 "configure" |
4171 #include "confdefs.h" | 4170 #include "confdefs.h" |
4172 #include <sys/types.h> | 4171 #include <sys/types.h> |
4173 #if STDC_HEADERS | 4172 #if STDC_HEADERS |
4174 #include <stdlib.h> | 4173 #include <stdlib.h> |
4175 #include <stddef.h> | 4174 #include <stddef.h> |
4196 } | 4195 } |
4197 | 4196 |
4198 fi | 4197 fi |
4199 | 4198 |
4200 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4199 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4201 echo "configure:4202: checking for uid_t in sys/types.h" >&5 | 4200 echo "configure:4201: checking for uid_t in sys/types.h" >&5 |
4202 | 4201 |
4203 cat > conftest.$ac_ext <<EOF | 4202 cat > conftest.$ac_ext <<EOF |
4204 #line 4205 "configure" | 4203 #line 4204 "configure" |
4205 #include "confdefs.h" | 4204 #include "confdefs.h" |
4206 #include <sys/types.h> | 4205 #include <sys/types.h> |
4207 EOF | 4206 EOF |
4208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4209 egrep "uid_t" >/dev/null 2>&1; then | 4208 egrep "uid_t" >/dev/null 2>&1; then |
4235 } | 4234 } |
4236 | 4235 |
4237 fi | 4236 fi |
4238 | 4237 |
4239 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4238 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4240 echo "configure:4241: checking for mode_t" >&5 | 4239 echo "configure:4240: checking for mode_t" >&5 |
4241 | 4240 |
4242 cat > conftest.$ac_ext <<EOF | 4241 cat > conftest.$ac_ext <<EOF |
4243 #line 4244 "configure" | 4242 #line 4243 "configure" |
4244 #include "confdefs.h" | 4243 #include "confdefs.h" |
4245 #include <sys/types.h> | 4244 #include <sys/types.h> |
4246 #if STDC_HEADERS | 4245 #if STDC_HEADERS |
4247 #include <stdlib.h> | 4246 #include <stdlib.h> |
4248 #include <stddef.h> | 4247 #include <stddef.h> |
4269 } | 4268 } |
4270 | 4269 |
4271 fi | 4270 fi |
4272 | 4271 |
4273 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4272 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4274 echo "configure:4275: checking for off_t" >&5 | 4273 echo "configure:4274: checking for off_t" >&5 |
4275 | 4274 |
4276 cat > conftest.$ac_ext <<EOF | 4275 cat > conftest.$ac_ext <<EOF |
4277 #line 4278 "configure" | 4276 #line 4277 "configure" |
4278 #include "confdefs.h" | 4277 #include "confdefs.h" |
4279 #include <sys/types.h> | 4278 #include <sys/types.h> |
4280 #if STDC_HEADERS | 4279 #if STDC_HEADERS |
4281 #include <stdlib.h> | 4280 #include <stdlib.h> |
4282 #include <stddef.h> | 4281 #include <stddef.h> |
4303 } | 4302 } |
4304 | 4303 |
4305 fi | 4304 fi |
4306 | 4305 |
4307 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4306 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4308 echo "configure:4309: checking for ssize_t" >&5 | 4307 echo "configure:4308: checking for ssize_t" >&5 |
4309 | 4308 |
4310 cat > conftest.$ac_ext <<EOF | 4309 cat > conftest.$ac_ext <<EOF |
4311 #line 4312 "configure" | 4310 #line 4311 "configure" |
4312 #include "confdefs.h" | 4311 #include "confdefs.h" |
4313 #include <sys/types.h> | 4312 #include <sys/types.h> |
4314 #if STDC_HEADERS | 4313 #if STDC_HEADERS |
4315 #include <stdlib.h> | 4314 #include <stdlib.h> |
4316 #include <stddef.h> | 4315 #include <stddef.h> |
4339 fi | 4338 fi |
4340 | 4339 |
4341 | 4340 |
4342 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4341 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4343 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4342 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4344 echo "configure:4345: checking for intptr_t in sys/types.h" >&5 | 4343 echo "configure:4344: checking for intptr_t in sys/types.h" >&5 |
4345 cat > conftest.$ac_ext <<EOF | 4344 cat > conftest.$ac_ext <<EOF |
4346 #line 4347 "configure" | 4345 #line 4346 "configure" |
4347 #include "confdefs.h" | 4346 #include "confdefs.h" |
4348 #include <sys/types.h> | 4347 #include <sys/types.h> |
4349 intptr_t x; | 4348 intptr_t x; |
4350 | 4349 |
4351 int main() { | 4350 int main() { |
4352 | 4351 |
4353 ; return 0; } | 4352 ; return 0; } |
4354 EOF | 4353 EOF |
4355 if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4354 if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4356 rm -rf conftest* | 4355 rm -rf conftest* |
4357 echo "$ac_t""yes" 1>&6 | 4356 echo "$ac_t""yes" 1>&6 |
4358 { test "$extra_verbose" = "yes" && cat << \EOF | 4357 { test "$extra_verbose" = "yes" && cat << \EOF |
4359 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4358 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4360 EOF | 4359 EOF |
4371 fi | 4370 fi |
4372 rm -f conftest* | 4371 rm -f conftest* |
4373 fi | 4372 fi |
4374 | 4373 |
4375 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4374 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4376 echo "configure:4377: checking for socklen_t" >&5 | 4375 echo "configure:4376: checking for socklen_t" >&5 |
4377 cat > conftest.$ac_ext <<EOF | 4376 cat > conftest.$ac_ext <<EOF |
4378 #line 4379 "configure" | 4377 #line 4378 "configure" |
4379 #include "confdefs.h" | 4378 #include "confdefs.h" |
4380 #include <sys/types.h> | 4379 #include <sys/types.h> |
4381 #include <sys/socket.h> | 4380 #include <sys/socket.h> |
4382 socklen_t x; | 4381 socklen_t x; |
4383 | 4382 |
4384 int main() { | 4383 int main() { |
4385 | 4384 |
4386 ; return 0; } | 4385 ; return 0; } |
4387 EOF | 4386 EOF |
4388 if { (eval echo configure:4389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4387 if { (eval echo configure:4388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4389 rm -rf conftest* | 4388 rm -rf conftest* |
4390 echo "$ac_t""yes" 1>&6 | 4389 echo "$ac_t""yes" 1>&6 |
4391 else | 4390 else |
4392 echo "configure: failed program was:" >&5 | 4391 echo "configure: failed program was:" >&5 |
4393 cat conftest.$ac_ext >&5 | 4392 cat conftest.$ac_ext >&5 |
4394 rm -rf conftest* | 4393 rm -rf conftest* |
4395 | 4394 |
4396 cat > conftest.$ac_ext <<EOF | 4395 cat > conftest.$ac_ext <<EOF |
4397 #line 4398 "configure" | 4396 #line 4397 "configure" |
4398 #include "confdefs.h" | 4397 #include "confdefs.h" |
4399 #include <sys/types.h> | 4398 #include <sys/types.h> |
4400 #include <sys/socket.h> | 4399 #include <sys/socket.h> |
4401 int accept (int, struct sockaddr *, size_t *); | 4400 int accept (int, struct sockaddr *, size_t *); |
4402 | 4401 |
4403 int main() { | 4402 int main() { |
4404 | 4403 |
4405 ; return 0; } | 4404 ; return 0; } |
4406 EOF | 4405 EOF |
4407 if { (eval echo configure:4408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4406 if { (eval echo configure:4407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4408 rm -rf conftest* | 4407 rm -rf conftest* |
4409 | 4408 |
4410 echo "$ac_t""size_t" 1>&6 | 4409 echo "$ac_t""size_t" 1>&6 |
4411 { test "$extra_verbose" = "yes" && cat << \EOF | 4410 { test "$extra_verbose" = "yes" && cat << \EOF |
4412 Defining socklen_t = size_t | 4411 Defining socklen_t = size_t |
4434 rm -f conftest* | 4433 rm -f conftest* |
4435 fi | 4434 fi |
4436 rm -f conftest* | 4435 rm -f conftest* |
4437 | 4436 |
4438 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4437 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4439 echo "configure:4440: checking for struct timeval" >&5 | 4438 echo "configure:4439: checking for struct timeval" >&5 |
4440 cat > conftest.$ac_ext <<EOF | 4439 cat > conftest.$ac_ext <<EOF |
4441 #line 4442 "configure" | 4440 #line 4441 "configure" |
4442 #include "confdefs.h" | 4441 #include "confdefs.h" |
4443 #ifdef TIME_WITH_SYS_TIME | 4442 #ifdef TIME_WITH_SYS_TIME |
4444 #include <sys/time.h> | 4443 #include <sys/time.h> |
4445 #include <time.h> | 4444 #include <time.h> |
4446 #else | 4445 #else |
4452 #endif | 4451 #endif |
4453 int main() { | 4452 int main() { |
4454 static struct timeval x; x.tv_sec = x.tv_usec; | 4453 static struct timeval x; x.tv_sec = x.tv_usec; |
4455 ; return 0; } | 4454 ; return 0; } |
4456 EOF | 4455 EOF |
4457 if { (eval echo configure:4458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4456 if { (eval echo configure:4457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4458 rm -rf conftest* | 4457 rm -rf conftest* |
4459 echo "$ac_t""yes" 1>&6 | 4458 echo "$ac_t""yes" 1>&6 |
4460 HAVE_TIMEVAL=yes | 4459 HAVE_TIMEVAL=yes |
4461 { test "$extra_verbose" = "yes" && cat << \EOF | 4460 { test "$extra_verbose" = "yes" && cat << \EOF |
4462 Defining HAVE_TIMEVAL | 4461 Defining HAVE_TIMEVAL |
4474 HAVE_TIMEVAL=no | 4473 HAVE_TIMEVAL=no |
4475 fi | 4474 fi |
4476 rm -f conftest* | 4475 rm -f conftest* |
4477 | 4476 |
4478 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4477 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4479 echo "configure:4480: checking whether struct tm is in sys/time.h or time.h" >&5 | 4478 echo "configure:4479: checking whether struct tm is in sys/time.h or time.h" >&5 |
4480 | 4479 |
4481 cat > conftest.$ac_ext <<EOF | 4480 cat > conftest.$ac_ext <<EOF |
4482 #line 4483 "configure" | 4481 #line 4482 "configure" |
4483 #include "confdefs.h" | 4482 #include "confdefs.h" |
4484 #include <sys/types.h> | 4483 #include <sys/types.h> |
4485 #include <time.h> | 4484 #include <time.h> |
4486 int main() { | 4485 int main() { |
4487 struct tm *tp; tp->tm_sec; | 4486 struct tm *tp; tp->tm_sec; |
4488 ; return 0; } | 4487 ; return 0; } |
4489 EOF | 4488 EOF |
4490 if { (eval echo configure:4491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4489 if { (eval echo configure:4490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4491 rm -rf conftest* | 4490 rm -rf conftest* |
4492 ac_cv_struct_tm=time.h | 4491 ac_cv_struct_tm=time.h |
4493 else | 4492 else |
4494 echo "configure: failed program was:" >&5 | 4493 echo "configure: failed program was:" >&5 |
4495 cat conftest.$ac_ext >&5 | 4494 cat conftest.$ac_ext >&5 |
4509 } | 4508 } |
4510 | 4509 |
4511 fi | 4510 fi |
4512 | 4511 |
4513 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4512 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4514 echo "configure:4515: checking for tm_zone in struct tm" >&5 | 4513 echo "configure:4514: checking for tm_zone in struct tm" >&5 |
4515 | 4514 |
4516 cat > conftest.$ac_ext <<EOF | 4515 cat > conftest.$ac_ext <<EOF |
4517 #line 4518 "configure" | 4516 #line 4517 "configure" |
4518 #include "confdefs.h" | 4517 #include "confdefs.h" |
4519 #include <sys/types.h> | 4518 #include <sys/types.h> |
4520 #include <$ac_cv_struct_tm> | 4519 #include <$ac_cv_struct_tm> |
4521 int main() { | 4520 int main() { |
4522 struct tm tm; tm.tm_zone; | 4521 struct tm tm; tm.tm_zone; |
4523 ; return 0; } | 4522 ; return 0; } |
4524 EOF | 4523 EOF |
4525 if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4524 if { (eval echo configure:4525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4526 rm -rf conftest* | 4525 rm -rf conftest* |
4527 ac_cv_struct_tm_zone=yes | 4526 ac_cv_struct_tm_zone=yes |
4528 else | 4527 else |
4529 echo "configure: failed program was:" >&5 | 4528 echo "configure: failed program was:" >&5 |
4530 cat conftest.$ac_ext >&5 | 4529 cat conftest.$ac_ext >&5 |
4543 EOF | 4542 EOF |
4544 } | 4543 } |
4545 | 4544 |
4546 else | 4545 else |
4547 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4546 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4548 echo "configure:4549: checking for tzname" >&5 | 4547 echo "configure:4548: checking for tzname" >&5 |
4549 | 4548 |
4550 cat > conftest.$ac_ext <<EOF | 4549 cat > conftest.$ac_ext <<EOF |
4551 #line 4552 "configure" | 4550 #line 4551 "configure" |
4552 #include "confdefs.h" | 4551 #include "confdefs.h" |
4553 #include <time.h> | 4552 #include <time.h> |
4554 #ifndef tzname /* For SGI. */ | 4553 #ifndef tzname /* For SGI. */ |
4555 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4554 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4556 #endif | 4555 #endif |
4557 int main() { | 4556 int main() { |
4558 atoi(*tzname); | 4557 atoi(*tzname); |
4559 ; return 0; } | 4558 ; return 0; } |
4560 EOF | 4559 EOF |
4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4562 rm -rf conftest* | 4561 rm -rf conftest* |
4563 ac_cv_var_tzname=yes | 4562 ac_cv_var_tzname=yes |
4564 else | 4563 else |
4565 echo "configure: failed program was:" >&5 | 4564 echo "configure: failed program was:" >&5 |
4566 cat conftest.$ac_ext >&5 | 4565 cat conftest.$ac_ext >&5 |
4582 fi | 4581 fi |
4583 fi | 4582 fi |
4584 | 4583 |
4585 | 4584 |
4586 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4585 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4587 echo "configure:4588: checking for working const" >&5 | 4586 echo "configure:4587: checking for working const" >&5 |
4588 | 4587 |
4589 cat > conftest.$ac_ext <<EOF | 4588 cat > conftest.$ac_ext <<EOF |
4590 #line 4591 "configure" | 4589 #line 4590 "configure" |
4591 #include "confdefs.h" | 4590 #include "confdefs.h" |
4592 | 4591 |
4593 int main() { | 4592 int main() { |
4594 | 4593 |
4595 /* Ultrix mips cc rejects this. */ | 4594 /* Ultrix mips cc rejects this. */ |
4634 const int foo = 10; | 4633 const int foo = 10; |
4635 } | 4634 } |
4636 | 4635 |
4637 ; return 0; } | 4636 ; return 0; } |
4638 EOF | 4637 EOF |
4639 if { (eval echo configure:4640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4638 if { (eval echo configure:4639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4640 rm -rf conftest* | 4639 rm -rf conftest* |
4641 ac_cv_c_const=yes | 4640 ac_cv_c_const=yes |
4642 else | 4641 else |
4643 echo "configure: failed program was:" >&5 | 4642 echo "configure: failed program was:" >&5 |
4644 cat conftest.$ac_ext >&5 | 4643 cat conftest.$ac_ext >&5 |
4659 | 4658 |
4660 fi | 4659 fi |
4661 | 4660 |
4662 | 4661 |
4663 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4662 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4664 echo "configure:4665: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4663 echo "configure:4664: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4665 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4666 | 4665 |
4667 cat > conftestmake <<\EOF | 4666 cat > conftestmake <<\EOF |
4668 all: | 4667 all: |
4669 @echo 'ac_maketemp="${MAKE}"' | 4668 @echo 'ac_maketemp="${MAKE}"' |
4684 SET_MAKE="MAKE=${MAKE-make}" | 4683 SET_MAKE="MAKE=${MAKE-make}" |
4685 fi | 4684 fi |
4686 | 4685 |
4687 | 4686 |
4688 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4687 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4689 echo "configure:4690: checking whether byte ordering is bigendian" >&5 | 4688 echo "configure:4689: checking whether byte ordering is bigendian" >&5 |
4690 | 4689 |
4691 ac_cv_c_bigendian=unknown | 4690 ac_cv_c_bigendian=unknown |
4692 # See if sys/param.h defines the BYTE_ORDER macro. | 4691 # See if sys/param.h defines the BYTE_ORDER macro. |
4693 cat > conftest.$ac_ext <<EOF | 4692 cat > conftest.$ac_ext <<EOF |
4694 #line 4695 "configure" | 4693 #line 4694 "configure" |
4695 #include "confdefs.h" | 4694 #include "confdefs.h" |
4696 #include <sys/types.h> | 4695 #include <sys/types.h> |
4697 #include <sys/param.h> | 4696 #include <sys/param.h> |
4698 int main() { | 4697 int main() { |
4699 | 4698 |
4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4699 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4701 bogus endian macros | 4700 bogus endian macros |
4702 #endif | 4701 #endif |
4703 ; return 0; } | 4702 ; return 0; } |
4704 EOF | 4703 EOF |
4705 if { (eval echo configure:4706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4704 if { (eval echo configure:4705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4706 rm -rf conftest* | 4705 rm -rf conftest* |
4707 # It does; now see whether it defined to BIG_ENDIAN or not. | 4706 # It does; now see whether it defined to BIG_ENDIAN or not. |
4708 cat > conftest.$ac_ext <<EOF | 4707 cat > conftest.$ac_ext <<EOF |
4709 #line 4710 "configure" | 4708 #line 4709 "configure" |
4710 #include "confdefs.h" | 4709 #include "confdefs.h" |
4711 #include <sys/types.h> | 4710 #include <sys/types.h> |
4712 #include <sys/param.h> | 4711 #include <sys/param.h> |
4713 int main() { | 4712 int main() { |
4714 | 4713 |
4715 #if BYTE_ORDER != BIG_ENDIAN | 4714 #if BYTE_ORDER != BIG_ENDIAN |
4716 not big endian | 4715 not big endian |
4717 #endif | 4716 #endif |
4718 ; return 0; } | 4717 ; return 0; } |
4719 EOF | 4718 EOF |
4720 if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4719 if { (eval echo configure:4720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4721 rm -rf conftest* | 4720 rm -rf conftest* |
4722 ac_cv_c_bigendian=yes | 4721 ac_cv_c_bigendian=yes |
4723 else | 4722 else |
4724 echo "configure: failed program was:" >&5 | 4723 echo "configure: failed program was:" >&5 |
4725 cat conftest.$ac_ext >&5 | 4724 cat conftest.$ac_ext >&5 |
4732 cat conftest.$ac_ext >&5 | 4731 cat conftest.$ac_ext >&5 |
4733 fi | 4732 fi |
4734 rm -f conftest* | 4733 rm -f conftest* |
4735 if test $ac_cv_c_bigendian = unknown; then | 4734 if test $ac_cv_c_bigendian = unknown; then |
4736 cat > conftest.$ac_ext <<EOF | 4735 cat > conftest.$ac_ext <<EOF |
4737 #line 4738 "configure" | 4736 #line 4737 "configure" |
4738 #include "confdefs.h" | 4737 #include "confdefs.h" |
4739 main () { | 4738 main () { |
4740 /* Are we little or big endian? From Harbison&Steele. */ | 4739 /* Are we little or big endian? From Harbison&Steele. */ |
4741 union | 4740 union |
4742 { | 4741 { |
4745 } u; | 4744 } u; |
4746 u.l = 1; | 4745 u.l = 1; |
4747 exit (u.c[sizeof (long) - 1] == 1); | 4746 exit (u.c[sizeof (long) - 1] == 1); |
4748 } | 4747 } |
4749 EOF | 4748 EOF |
4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4749 if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4751 then | 4750 then |
4752 ac_cv_c_bigendian=no | 4751 ac_cv_c_bigendian=no |
4753 else | 4752 else |
4754 conftest_rc="$?" | 4753 conftest_rc="$?" |
4755 echo "configure: failed program was:" >&5 | 4754 echo "configure: failed program was:" >&5 |
4772 | 4771 |
4773 fi | 4772 fi |
4774 | 4773 |
4775 | 4774 |
4776 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4775 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4777 echo "configure:4778: checking size of short" >&5 | 4776 echo "configure:4777: checking size of short" >&5 |
4778 | 4777 |
4779 cat > conftest.$ac_ext <<EOF | 4778 cat > conftest.$ac_ext <<EOF |
4780 #line 4781 "configure" | 4779 #line 4780 "configure" |
4781 #include "confdefs.h" | 4780 #include "confdefs.h" |
4782 #include <stdio.h> | 4781 #include <stdio.h> |
4783 #include <sys/types.h> | 4782 #include <sys/types.h> |
4784 main() | 4783 main() |
4785 { | 4784 { |
4787 if (!f) exit(1); | 4786 if (!f) exit(1); |
4788 fprintf(f, "%d\n", sizeof(short)); | 4787 fprintf(f, "%d\n", sizeof(short)); |
4789 exit(0); | 4788 exit(0); |
4790 } | 4789 } |
4791 EOF | 4790 EOF |
4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4793 then | 4792 then |
4794 ac_cv_sizeof_short=`cat conftestval` | 4793 ac_cv_sizeof_short=`cat conftestval` |
4795 else | 4794 else |
4796 conftest_rc="$?" | 4795 conftest_rc="$?" |
4797 echo "configure: failed program was:" >&5 | 4796 echo "configure: failed program was:" >&5 |
4815 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4814 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4816 echo "*** PANIC *** Please examine config.log for compilation errors." | 4815 echo "*** PANIC *** Please examine config.log for compilation errors." |
4817 exit 1 | 4816 exit 1 |
4818 fi | 4817 fi |
4819 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4818 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4820 echo "configure:4821: checking size of int" >&5 | 4819 echo "configure:4820: checking size of int" >&5 |
4821 | 4820 |
4822 cat > conftest.$ac_ext <<EOF | 4821 cat > conftest.$ac_ext <<EOF |
4823 #line 4824 "configure" | 4822 #line 4823 "configure" |
4824 #include "confdefs.h" | 4823 #include "confdefs.h" |
4825 #include <stdio.h> | 4824 #include <stdio.h> |
4826 #include <sys/types.h> | 4825 #include <sys/types.h> |
4827 main() | 4826 main() |
4828 { | 4827 { |
4830 if (!f) exit(1); | 4829 if (!f) exit(1); |
4831 fprintf(f, "%d\n", sizeof(int)); | 4830 fprintf(f, "%d\n", sizeof(int)); |
4832 exit(0); | 4831 exit(0); |
4833 } | 4832 } |
4834 EOF | 4833 EOF |
4835 if { (eval echo configure:4836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4836 then | 4835 then |
4837 ac_cv_sizeof_int=`cat conftestval` | 4836 ac_cv_sizeof_int=`cat conftestval` |
4838 else | 4837 else |
4839 conftest_rc="$?" | 4838 conftest_rc="$?" |
4840 echo "configure: failed program was:" >&5 | 4839 echo "configure: failed program was:" >&5 |
4852 EOF | 4851 EOF |
4853 } | 4852 } |
4854 | 4853 |
4855 | 4854 |
4856 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4857 echo "configure:4858: checking size of long" >&5 | 4856 echo "configure:4857: checking size of long" >&5 |
4858 | 4857 |
4859 cat > conftest.$ac_ext <<EOF | 4858 cat > conftest.$ac_ext <<EOF |
4860 #line 4861 "configure" | 4859 #line 4860 "configure" |
4861 #include "confdefs.h" | 4860 #include "confdefs.h" |
4862 #include <stdio.h> | 4861 #include <stdio.h> |
4863 #include <sys/types.h> | 4862 #include <sys/types.h> |
4864 main() | 4863 main() |
4865 { | 4864 { |
4867 if (!f) exit(1); | 4866 if (!f) exit(1); |
4868 fprintf(f, "%d\n", sizeof(long)); | 4867 fprintf(f, "%d\n", sizeof(long)); |
4869 exit(0); | 4868 exit(0); |
4870 } | 4869 } |
4871 EOF | 4870 EOF |
4872 if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4873 then | 4872 then |
4874 ac_cv_sizeof_long=`cat conftestval` | 4873 ac_cv_sizeof_long=`cat conftestval` |
4875 else | 4874 else |
4876 conftest_rc="$?" | 4875 conftest_rc="$?" |
4877 echo "configure: failed program was:" >&5 | 4876 echo "configure: failed program was:" >&5 |
4889 EOF | 4888 EOF |
4890 } | 4889 } |
4891 | 4890 |
4892 | 4891 |
4893 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4892 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4894 echo "configure:4895: checking size of long long" >&5 | 4893 echo "configure:4894: checking size of long long" >&5 |
4895 | 4894 |
4896 cat > conftest.$ac_ext <<EOF | 4895 cat > conftest.$ac_ext <<EOF |
4897 #line 4898 "configure" | 4896 #line 4897 "configure" |
4898 #include "confdefs.h" | 4897 #include "confdefs.h" |
4899 #include <stdio.h> | 4898 #include <stdio.h> |
4900 #include <sys/types.h> | 4899 #include <sys/types.h> |
4901 main() | 4900 main() |
4902 { | 4901 { |
4904 if (!f) exit(1); | 4903 if (!f) exit(1); |
4905 fprintf(f, "%d\n", sizeof(long long)); | 4904 fprintf(f, "%d\n", sizeof(long long)); |
4906 exit(0); | 4905 exit(0); |
4907 } | 4906 } |
4908 EOF | 4907 EOF |
4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4910 then | 4909 then |
4911 ac_cv_sizeof_long_long=`cat conftestval` | 4910 ac_cv_sizeof_long_long=`cat conftestval` |
4912 else | 4911 else |
4913 conftest_rc="$?" | 4912 conftest_rc="$?" |
4914 echo "configure: failed program was:" >&5 | 4913 echo "configure: failed program was:" >&5 |
4926 EOF | 4925 EOF |
4927 } | 4926 } |
4928 | 4927 |
4929 | 4928 |
4930 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4929 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4931 echo "configure:4932: checking size of void *" >&5 | 4930 echo "configure:4931: checking size of void *" >&5 |
4932 | 4931 |
4933 cat > conftest.$ac_ext <<EOF | 4932 cat > conftest.$ac_ext <<EOF |
4934 #line 4935 "configure" | 4933 #line 4934 "configure" |
4935 #include "confdefs.h" | 4934 #include "confdefs.h" |
4936 #include <stdio.h> | 4935 #include <stdio.h> |
4937 #include <sys/types.h> | 4936 #include <sys/types.h> |
4938 main() | 4937 main() |
4939 { | 4938 { |
4941 if (!f) exit(1); | 4940 if (!f) exit(1); |
4942 fprintf(f, "%d\n", sizeof(void *)); | 4941 fprintf(f, "%d\n", sizeof(void *)); |
4943 exit(0); | 4942 exit(0); |
4944 } | 4943 } |
4945 EOF | 4944 EOF |
4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4947 then | 4946 then |
4948 ac_cv_sizeof_void_p=`cat conftestval` | 4947 ac_cv_sizeof_void_p=`cat conftestval` |
4949 else | 4948 else |
4950 conftest_rc="$?" | 4949 conftest_rc="$?" |
4951 echo "configure: failed program was:" >&5 | 4950 echo "configure: failed program was:" >&5 |
4963 EOF | 4962 EOF |
4964 } | 4963 } |
4965 | 4964 |
4966 | 4965 |
4967 echo $ac_n "checking size of double""... $ac_c" 1>&6 | 4966 echo $ac_n "checking size of double""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking size of double" >&5 | 4967 echo "configure:4968: checking size of double" >&5 |
4969 | 4968 |
4970 cat > conftest.$ac_ext <<EOF | 4969 cat > conftest.$ac_ext <<EOF |
4971 #line 4972 "configure" | 4970 #line 4971 "configure" |
4972 #include "confdefs.h" | 4971 #include "confdefs.h" |
4973 #include <stdio.h> | 4972 #include <stdio.h> |
4974 #include <sys/types.h> | 4973 #include <sys/types.h> |
4975 main() | 4974 main() |
4976 { | 4975 { |
4978 if (!f) exit(1); | 4977 if (!f) exit(1); |
4979 fprintf(f, "%d\n", sizeof(double)); | 4978 fprintf(f, "%d\n", sizeof(double)); |
4980 exit(0); | 4979 exit(0); |
4981 } | 4980 } |
4982 EOF | 4981 EOF |
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4984 then | 4983 then |
4985 ac_cv_sizeof_double=`cat conftestval` | 4984 ac_cv_sizeof_double=`cat conftestval` |
4986 else | 4985 else |
4987 conftest_rc="$?" | 4986 conftest_rc="$?" |
4988 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
5001 } | 5000 } |
5002 | 5001 |
5003 | 5002 |
5004 | 5003 |
5005 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 5004 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
5006 echo "configure:5007: checking for long file names" >&5 | 5005 echo "configure:5006: checking for long file names" >&5 |
5007 | 5006 |
5008 ac_cv_sys_long_file_names=yes | 5007 ac_cv_sys_long_file_names=yes |
5009 # Test for long file names in all the places we know might matter: | 5008 # Test for long file names in all the places we know might matter: |
5010 # . the current directory, where building will happen | 5009 # . the current directory, where building will happen |
5011 # $prefix/lib where we will be installing things | 5010 # $prefix/lib where we will be installing things |
5047 | 5046 |
5048 fi | 5047 fi |
5049 | 5048 |
5050 | 5049 |
5051 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
5052 echo "configure:5053: checking for sin" >&5 | 5051 echo "configure:5052: checking for sin" >&5 |
5053 | 5052 |
5054 cat > conftest.$ac_ext <<EOF | 5053 cat > conftest.$ac_ext <<EOF |
5055 #line 5056 "configure" | 5054 #line 5055 "configure" |
5056 #include "confdefs.h" | 5055 #include "confdefs.h" |
5057 /* System header to define __stub macros and hopefully few prototypes, | 5056 /* System header to define __stub macros and hopefully few prototypes, |
5058 which can conflict with char sin(); below. */ | 5057 which can conflict with char sin(); below. */ |
5059 #include <assert.h> | 5058 #include <assert.h> |
5060 /* Override any gcc2 internal prototype to avoid an error. */ | 5059 /* Override any gcc2 internal prototype to avoid an error. */ |
5073 sin(); | 5072 sin(); |
5074 #endif | 5073 #endif |
5075 | 5074 |
5076 ; return 0; } | 5075 ; return 0; } |
5077 EOF | 5076 EOF |
5078 if { (eval echo configure:5079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5079 rm -rf conftest* | 5078 rm -rf conftest* |
5080 eval "ac_cv_func_sin=yes" | 5079 eval "ac_cv_func_sin=yes" |
5081 else | 5080 else |
5082 echo "configure: failed program was:" >&5 | 5081 echo "configure: failed program was:" >&5 |
5083 cat conftest.$ac_ext >&5 | 5082 cat conftest.$ac_ext >&5 |
5091 : | 5090 : |
5092 else | 5091 else |
5093 echo "$ac_t""no" 1>&6 | 5092 echo "$ac_t""no" 1>&6 |
5094 | 5093 |
5095 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5094 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5096 echo "configure:5097: checking for sin in -lm" >&5 | 5095 echo "configure:5096: checking for sin in -lm" >&5 |
5097 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5096 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5098 | 5097 |
5099 xe_check_libs=" -lm " | 5098 xe_check_libs=" -lm " |
5100 cat > conftest.$ac_ext <<EOF | 5099 cat > conftest.$ac_ext <<EOF |
5101 #line 5102 "configure" | 5100 #line 5101 "configure" |
5102 #include "confdefs.h" | 5101 #include "confdefs.h" |
5103 /* Override any gcc2 internal prototype to avoid an error. */ | 5102 /* Override any gcc2 internal prototype to avoid an error. */ |
5104 /* We use char because int might match the return type of a gcc2 | 5103 /* We use char because int might match the return type of a gcc2 |
5105 builtin and then its argument prototype would still apply. */ | 5104 builtin and then its argument prototype would still apply. */ |
5106 char sin(); | 5105 char sin(); |
5107 | 5106 |
5108 int main() { | 5107 int main() { |
5109 sin() | 5108 sin() |
5110 ; return 0; } | 5109 ; return 0; } |
5111 EOF | 5110 EOF |
5112 if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5113 rm -rf conftest* | 5112 rm -rf conftest* |
5114 eval "ac_cv_lib_$ac_lib_var=yes" | 5113 eval "ac_cv_lib_$ac_lib_var=yes" |
5115 else | 5114 else |
5116 echo "configure: failed program was:" >&5 | 5115 echo "configure: failed program was:" >&5 |
5117 cat conftest.$ac_ext >&5 | 5116 cat conftest.$ac_ext >&5 |
5142 | 5141 |
5143 fi | 5142 fi |
5144 | 5143 |
5145 | 5144 |
5146 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
5147 #line 5148 "configure" | 5146 #line 5147 "configure" |
5148 #include "confdefs.h" | 5147 #include "confdefs.h" |
5149 #include <math.h> | 5148 #include <math.h> |
5150 int main() { | 5149 int main() { |
5151 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5150 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5152 ; return 0; } | 5151 ; return 0; } |
5153 EOF | 5152 EOF |
5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5155 rm -rf conftest* | 5154 rm -rf conftest* |
5156 { test "$extra_verbose" = "yes" && cat << \EOF | 5155 { test "$extra_verbose" = "yes" && cat << \EOF |
5157 Defining HAVE_INVERSE_HYPERBOLIC | 5156 Defining HAVE_INVERSE_HYPERBOLIC |
5158 EOF | 5157 EOF |
5159 cat >> confdefs.h <<\EOF | 5158 cat >> confdefs.h <<\EOF |
5168 rm -f conftest* | 5167 rm -f conftest* |
5169 | 5168 |
5170 for ac_func in mkstemp | 5169 for ac_func in mkstemp |
5171 do | 5170 do |
5172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5173 echo "configure:5174: checking for $ac_func" >&5 | 5172 echo "configure:5173: checking for $ac_func" >&5 |
5174 | 5173 |
5175 cat > conftest.$ac_ext <<EOF | 5174 cat > conftest.$ac_ext <<EOF |
5176 #line 5177 "configure" | 5175 #line 5176 "configure" |
5177 #include "confdefs.h" | 5176 #include "confdefs.h" |
5178 /* System header to define __stub macros and hopefully few prototypes, | 5177 /* System header to define __stub macros and hopefully few prototypes, |
5179 which can conflict with char $ac_func(); below. */ | 5178 which can conflict with char $ac_func(); below. */ |
5180 #include <assert.h> | 5179 #include <assert.h> |
5181 /* Override any gcc2 internal prototype to avoid an error. */ | 5180 /* Override any gcc2 internal prototype to avoid an error. */ |
5194 $ac_func(); | 5193 $ac_func(); |
5195 #endif | 5194 #endif |
5196 | 5195 |
5197 ; return 0; } | 5196 ; return 0; } |
5198 EOF | 5197 EOF |
5199 if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5200 rm -rf conftest* | 5199 rm -rf conftest* |
5201 eval "ac_cv_func_$ac_func=yes" | 5200 eval "ac_cv_func_$ac_func=yes" |
5202 else | 5201 else |
5203 echo "configure: failed program was:" >&5 | 5202 echo "configure: failed program was:" >&5 |
5204 cat conftest.$ac_ext >&5 | 5203 cat conftest.$ac_ext >&5 |
5223 fi | 5222 fi |
5224 done | 5223 done |
5225 | 5224 |
5226 | 5225 |
5227 echo "checking type of mail spool file locking" 1>&6 | 5226 echo "checking type of mail spool file locking" 1>&6 |
5228 echo "configure:5229: checking type of mail spool file locking" >&5 | 5227 echo "configure:5228: checking type of mail spool file locking" >&5 |
5229 for ac_func in lockf flock | 5228 for ac_func in lockf flock |
5230 do | 5229 do |
5231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5232 echo "configure:5233: checking for $ac_func" >&5 | 5231 echo "configure:5232: checking for $ac_func" >&5 |
5233 | 5232 |
5234 cat > conftest.$ac_ext <<EOF | 5233 cat > conftest.$ac_ext <<EOF |
5235 #line 5236 "configure" | 5234 #line 5235 "configure" |
5236 #include "confdefs.h" | 5235 #include "confdefs.h" |
5237 /* System header to define __stub macros and hopefully few prototypes, | 5236 /* System header to define __stub macros and hopefully few prototypes, |
5238 which can conflict with char $ac_func(); below. */ | 5237 which can conflict with char $ac_func(); below. */ |
5239 #include <assert.h> | 5238 #include <assert.h> |
5240 /* Override any gcc2 internal prototype to avoid an error. */ | 5239 /* Override any gcc2 internal prototype to avoid an error. */ |
5253 $ac_func(); | 5252 $ac_func(); |
5254 #endif | 5253 #endif |
5255 | 5254 |
5256 ; return 0; } | 5255 ; return 0; } |
5257 EOF | 5256 EOF |
5258 if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5257 if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5259 rm -rf conftest* | 5258 rm -rf conftest* |
5260 eval "ac_cv_func_$ac_func=yes" | 5259 eval "ac_cv_func_$ac_func=yes" |
5261 else | 5260 else |
5262 echo "configure: failed program was:" >&5 | 5261 echo "configure: failed program was:" >&5 |
5263 cat conftest.$ac_ext >&5 | 5262 cat conftest.$ac_ext >&5 |
5335 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5334 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5336 | 5335 |
5337 case "$opsys" in decosf*) | 5336 case "$opsys" in decosf*) |
5338 | 5337 |
5339 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5338 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5340 echo "configure:5341: checking for cma_open in -lpthreads" >&5 | 5339 echo "configure:5340: checking for cma_open in -lpthreads" >&5 |
5341 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5340 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5342 | 5341 |
5343 xe_check_libs=" -lpthreads " | 5342 xe_check_libs=" -lpthreads " |
5344 cat > conftest.$ac_ext <<EOF | 5343 cat > conftest.$ac_ext <<EOF |
5345 #line 5346 "configure" | 5344 #line 5345 "configure" |
5346 #include "confdefs.h" | 5345 #include "confdefs.h" |
5347 /* Override any gcc2 internal prototype to avoid an error. */ | 5346 /* Override any gcc2 internal prototype to avoid an error. */ |
5348 /* We use char because int might match the return type of a gcc2 | 5347 /* We use char because int might match the return type of a gcc2 |
5349 builtin and then its argument prototype would still apply. */ | 5348 builtin and then its argument prototype would still apply. */ |
5350 char cma_open(); | 5349 char cma_open(); |
5351 | 5350 |
5352 int main() { | 5351 int main() { |
5353 cma_open() | 5352 cma_open() |
5354 ; return 0; } | 5353 ; return 0; } |
5355 EOF | 5354 EOF |
5356 if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5357 rm -rf conftest* | 5356 rm -rf conftest* |
5358 eval "ac_cv_lib_$ac_lib_var=yes" | 5357 eval "ac_cv_lib_$ac_lib_var=yes" |
5359 else | 5358 else |
5360 echo "configure: failed program was:" >&5 | 5359 echo "configure: failed program was:" >&5 |
5361 cat conftest.$ac_ext >&5 | 5360 cat conftest.$ac_ext >&5 |
5388 c_switch_site="$c_switch_site -threads" ;; | 5387 c_switch_site="$c_switch_site -threads" ;; |
5389 esac | 5388 esac |
5390 | 5389 |
5391 | 5390 |
5392 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5391 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5393 echo "configure:5394: checking whether the -xildoff compiler flag is required" >&5 | 5392 echo "configure:5393: checking whether the -xildoff compiler flag is required" >&5 |
5394 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5393 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5395 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5394 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5396 then echo "$ac_t""no" 1>&6; | 5395 then echo "$ac_t""no" 1>&6; |
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 | 5396 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 |
5398 fi | 5397 fi |
5400 fi | 5399 fi |
5401 | 5400 |
5402 if test "$opsys" = "sol2"; then | 5401 if test "$opsys" = "sol2"; then |
5403 if test "$os_release" -ge 506; then | 5402 if test "$os_release" -ge 506; then |
5404 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5403 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5405 echo "configure:5406: checking for \"-z ignore\" linker flag" >&5 | 5404 echo "configure:5405: checking for \"-z ignore\" linker flag" >&5 |
5406 case "`ld -h 2>&1`" in | 5405 case "`ld -h 2>&1`" in |
5407 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5406 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5408 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5407 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5409 *) echo "$ac_t""no" 1>&6 ;; | 5408 *) echo "$ac_t""no" 1>&6 ;; |
5410 esac | 5409 esac |
5411 fi | 5410 fi |
5412 fi | 5411 fi |
5413 | 5412 |
5414 | 5413 |
5415 echo "checking "for specified window system"" 1>&6 | 5414 echo "checking "for specified window system"" 1>&6 |
5416 echo "configure:5417: checking "for specified window system"" >&5 | 5415 echo "configure:5416: checking "for specified window system"" >&5 |
5417 | 5416 |
5418 | 5417 |
5419 GNOME_CONFIG=no | 5418 GNOME_CONFIG=no |
5420 GTK_CONFIG=no | 5419 GTK_CONFIG=no |
5421 | 5420 |
5422 if test "$with_gnome" != "no"; then | 5421 if test "$with_gnome" != "no"; then |
5423 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5422 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5424 echo "configure:5425: checking for GNOME configuration script" >&5 | 5423 echo "configure:5424: checking for GNOME configuration script" >&5 |
5425 for possible in gnome-config | 5424 for possible in gnome-config |
5426 do | 5425 do |
5427 possible_version=`${possible} --version 2> /dev/null` | 5426 possible_version=`${possible} --version 2> /dev/null` |
5428 if test "x${possible_version}" != "x"; then | 5427 if test "x${possible_version}" != "x"; then |
5429 GNOME_CONFIG="${possible}" | 5428 GNOME_CONFIG="${possible}" |
5450 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5449 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5451 fi | 5450 fi |
5452 | 5451 |
5453 if test "$with_gtk" != "no";then | 5452 if test "$with_gtk" != "no";then |
5454 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5453 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5455 echo "configure:5456: checking for GTK configuration script" >&5 | 5454 echo "configure:5455: checking for GTK configuration script" >&5 |
5456 for possible in gtk12-config gtk14-config gtk-config | 5455 for possible in gtk12-config gtk14-config gtk-config |
5457 do | 5456 do |
5458 possible_version=`${possible} --version 2> /dev/null` | 5457 possible_version=`${possible} --version 2> /dev/null` |
5459 if test "x${possible_version}" != "x"; then | 5458 if test "x${possible_version}" != "x"; then |
5460 GTK_CONFIG="${possible}" | 5459 GTK_CONFIG="${possible}" |
5472 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5471 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5473 fi | 5472 fi |
5474 | 5473 |
5475 if test "${GTK_CONFIG}" != "no"; then | 5474 if test "${GTK_CONFIG}" != "no"; then |
5476 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5475 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5477 echo "configure:5478: checking gtk version" >&5 | 5476 echo "configure:5477: checking gtk version" >&5 |
5478 GTK_VERSION=`${GTK_CONFIG} --version` | 5477 GTK_VERSION=`${GTK_CONFIG} --version` |
5479 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5478 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5480 | 5479 |
5481 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5480 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5482 echo "configure:5483: checking gtk libs" >&5 | 5481 echo "configure:5482: checking gtk libs" >&5 |
5483 GTK_LIBS=`${GTK_CONFIG} --libs` | 5482 GTK_LIBS=`${GTK_CONFIG} --libs` |
5484 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5483 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5485 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5484 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5486 | 5485 |
5487 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5486 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5488 echo "configure:5489: checking gtk cflags" >&5 | 5487 echo "configure:5488: checking gtk cflags" >&5 |
5489 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5488 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5490 if test "$GCC" = "yes"; then | 5489 if test "$GCC" = "yes"; then |
5491 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5490 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5492 fi | 5491 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 | 5492 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5494 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5493 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5495 | 5494 |
5496 | 5495 |
5497 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5496 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5498 echo "configure:5499: checking for main in -lgdk_imlib" >&5 | 5497 echo "configure:5498: checking for main in -lgdk_imlib" >&5 |
5499 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5498 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5500 | 5499 |
5501 xe_check_libs=" -lgdk_imlib " | 5500 xe_check_libs=" -lgdk_imlib " |
5502 cat > conftest.$ac_ext <<EOF | 5501 cat > conftest.$ac_ext <<EOF |
5503 #line 5504 "configure" | 5502 #line 5503 "configure" |
5504 #include "confdefs.h" | 5503 #include "confdefs.h" |
5505 | 5504 |
5506 int main() { | 5505 int main() { |
5507 main() | 5506 main() |
5508 ; return 0; } | 5507 ; return 0; } |
5509 EOF | 5508 EOF |
5510 if { (eval echo configure:5511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5511 rm -rf conftest* | 5510 rm -rf conftest* |
5512 eval "ac_cv_lib_$ac_lib_var=yes" | 5511 eval "ac_cv_lib_$ac_lib_var=yes" |
5513 else | 5512 else |
5514 echo "configure: failed program was:" >&5 | 5513 echo "configure: failed program was:" >&5 |
5515 cat conftest.$ac_ext >&5 | 5514 cat conftest.$ac_ext >&5 |
5527 fi | 5526 fi |
5528 | 5527 |
5529 | 5528 |
5530 | 5529 |
5531 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5530 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5532 echo "configure:5533: checking for Imlib_init in -lImlib" >&5 | 5531 echo "configure:5532: checking for Imlib_init in -lImlib" >&5 |
5533 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5532 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5534 | 5533 |
5535 xe_check_libs=" -lImlib " | 5534 xe_check_libs=" -lImlib " |
5536 cat > conftest.$ac_ext <<EOF | 5535 cat > conftest.$ac_ext <<EOF |
5537 #line 5538 "configure" | 5536 #line 5537 "configure" |
5538 #include "confdefs.h" | 5537 #include "confdefs.h" |
5539 /* Override any gcc2 internal prototype to avoid an error. */ | 5538 /* Override any gcc2 internal prototype to avoid an error. */ |
5540 /* We use char because int might match the return type of a gcc2 | 5539 /* We use char because int might match the return type of a gcc2 |
5541 builtin and then its argument prototype would still apply. */ | 5540 builtin and then its argument prototype would still apply. */ |
5542 char Imlib_init(); | 5541 char Imlib_init(); |
5543 | 5542 |
5544 int main() { | 5543 int main() { |
5545 Imlib_init() | 5544 Imlib_init() |
5546 ; return 0; } | 5545 ; return 0; } |
5547 EOF | 5546 EOF |
5548 if { (eval echo configure:5549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5549 rm -rf conftest* | 5548 rm -rf conftest* |
5550 eval "ac_cv_lib_$ac_lib_var=yes" | 5549 eval "ac_cv_lib_$ac_lib_var=yes" |
5551 else | 5550 else |
5552 echo "configure: failed program was:" >&5 | 5551 echo "configure: failed program was:" >&5 |
5553 cat conftest.$ac_ext >&5 | 5552 cat conftest.$ac_ext >&5 |
5566 | 5565 |
5567 | 5566 |
5568 for ac_func in gdk_imlib_init | 5567 for ac_func in gdk_imlib_init |
5569 do | 5568 do |
5570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5571 echo "configure:5572: checking for $ac_func" >&5 | 5570 echo "configure:5571: checking for $ac_func" >&5 |
5572 | 5571 |
5573 cat > conftest.$ac_ext <<EOF | 5572 cat > conftest.$ac_ext <<EOF |
5574 #line 5575 "configure" | 5573 #line 5574 "configure" |
5575 #include "confdefs.h" | 5574 #include "confdefs.h" |
5576 /* System header to define __stub macros and hopefully few prototypes, | 5575 /* System header to define __stub macros and hopefully few prototypes, |
5577 which can conflict with char $ac_func(); below. */ | 5576 which can conflict with char $ac_func(); below. */ |
5578 #include <assert.h> | 5577 #include <assert.h> |
5579 /* Override any gcc2 internal prototype to avoid an error. */ | 5578 /* Override any gcc2 internal prototype to avoid an error. */ |
5592 $ac_func(); | 5591 $ac_func(); |
5593 #endif | 5592 #endif |
5594 | 5593 |
5595 ; return 0; } | 5594 ; return 0; } |
5596 EOF | 5595 EOF |
5597 if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5598 rm -rf conftest* | 5597 rm -rf conftest* |
5599 eval "ac_cv_func_$ac_func=yes" | 5598 eval "ac_cv_func_$ac_func=yes" |
5600 else | 5599 else |
5601 echo "configure: failed program was:" >&5 | 5600 echo "configure: failed program was:" >&5 |
5602 cat conftest.$ac_ext >&5 | 5601 cat conftest.$ac_ext >&5 |
5658 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5657 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5659 for ac_hdr in glade/glade.h glade.h | 5658 for ac_hdr in glade/glade.h glade.h |
5660 do | 5659 do |
5661 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5660 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5662 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5663 echo "configure:5664: checking for $ac_hdr" >&5 | 5662 echo "configure:5663: checking for $ac_hdr" >&5 |
5664 | 5663 |
5665 cat > conftest.$ac_ext <<EOF | 5664 cat > conftest.$ac_ext <<EOF |
5666 #line 5667 "configure" | 5665 #line 5666 "configure" |
5667 #include "confdefs.h" | 5666 #include "confdefs.h" |
5668 #include <$ac_hdr> | 5667 #include <$ac_hdr> |
5669 EOF | 5668 EOF |
5670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5671 { (eval echo configure:5672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5670 { (eval echo configure:5671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5673 if test -z "$ac_err"; then | 5672 if test -z "$ac_err"; then |
5674 rm -rf conftest* | 5673 rm -rf conftest* |
5675 eval "ac_cv_header_$ac_safe=yes" | 5674 eval "ac_cv_header_$ac_safe=yes" |
5676 else | 5675 else |
5697 fi | 5696 fi |
5698 done | 5697 done |
5699 | 5698 |
5700 | 5699 |
5701 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5700 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5702 echo "configure:5703: checking for main in -lxml" >&5 | 5701 echo "configure:5702: checking for main in -lxml" >&5 |
5703 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5702 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5704 | 5703 |
5705 xe_check_libs=" -lxml " | 5704 xe_check_libs=" -lxml " |
5706 cat > conftest.$ac_ext <<EOF | 5705 cat > conftest.$ac_ext <<EOF |
5707 #line 5708 "configure" | 5706 #line 5707 "configure" |
5708 #include "confdefs.h" | 5707 #include "confdefs.h" |
5709 | 5708 |
5710 int main() { | 5709 int main() { |
5711 main() | 5710 main() |
5712 ; return 0; } | 5711 ; return 0; } |
5713 EOF | 5712 EOF |
5714 if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5713 if { (eval echo configure:5714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5715 rm -rf conftest* | 5714 rm -rf conftest* |
5716 eval "ac_cv_lib_$ac_lib_var=yes" | 5715 eval "ac_cv_lib_$ac_lib_var=yes" |
5717 else | 5716 else |
5718 echo "configure: failed program was:" >&5 | 5717 echo "configure: failed program was:" >&5 |
5719 cat conftest.$ac_ext >&5 | 5718 cat conftest.$ac_ext >&5 |
5731 fi | 5730 fi |
5732 | 5731 |
5733 | 5732 |
5734 | 5733 |
5735 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5734 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5736 echo "configure:5737: checking for main in -lglade" >&5 | 5735 echo "configure:5736: checking for main in -lglade" >&5 |
5737 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5736 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5738 | 5737 |
5739 xe_check_libs=" -lglade " | 5738 xe_check_libs=" -lglade " |
5740 cat > conftest.$ac_ext <<EOF | 5739 cat > conftest.$ac_ext <<EOF |
5741 #line 5742 "configure" | 5740 #line 5741 "configure" |
5742 #include "confdefs.h" | 5741 #include "confdefs.h" |
5743 | 5742 |
5744 int main() { | 5743 int main() { |
5745 main() | 5744 main() |
5746 ; return 0; } | 5745 ; return 0; } |
5747 EOF | 5746 EOF |
5748 if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5747 if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5749 rm -rf conftest* | 5748 rm -rf conftest* |
5750 eval "ac_cv_lib_$ac_lib_var=yes" | 5749 eval "ac_cv_lib_$ac_lib_var=yes" |
5751 else | 5750 else |
5752 echo "configure: failed program was:" >&5 | 5751 echo "configure: failed program was:" >&5 |
5753 cat conftest.$ac_ext >&5 | 5752 cat conftest.$ac_ext >&5 |
5765 fi | 5764 fi |
5766 | 5765 |
5767 | 5766 |
5768 | 5767 |
5769 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5768 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5770 echo "configure:5771: checking for main in -lglade-gnome" >&5 | 5769 echo "configure:5770: checking for main in -lglade-gnome" >&5 |
5771 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5770 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5772 | 5771 |
5773 xe_check_libs=" -lglade-gnome " | 5772 xe_check_libs=" -lglade-gnome " |
5774 cat > conftest.$ac_ext <<EOF | 5773 cat > conftest.$ac_ext <<EOF |
5775 #line 5776 "configure" | 5774 #line 5775 "configure" |
5776 #include "confdefs.h" | 5775 #include "confdefs.h" |
5777 | 5776 |
5778 int main() { | 5777 int main() { |
5779 main() | 5778 main() |
5780 ; return 0; } | 5779 ; return 0; } |
5781 EOF | 5780 EOF |
5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5783 rm -rf conftest* | 5782 rm -rf conftest* |
5784 eval "ac_cv_lib_$ac_lib_var=yes" | 5783 eval "ac_cv_lib_$ac_lib_var=yes" |
5785 else | 5784 else |
5786 echo "configure: failed program was:" >&5 | 5785 echo "configure: failed program was:" >&5 |
5787 cat conftest.$ac_ext >&5 | 5786 cat conftest.$ac_ext >&5 |
5798 echo "$ac_t""no" 1>&6 | 5797 echo "$ac_t""no" 1>&6 |
5799 fi | 5798 fi |
5800 | 5799 |
5801 | 5800 |
5802 cat > conftest.$ac_ext <<EOF | 5801 cat > conftest.$ac_ext <<EOF |
5803 #line 5804 "configure" | 5802 #line 5803 "configure" |
5804 #include "confdefs.h" | 5803 #include "confdefs.h" |
5805 #include <glade/glade-xml.h> | 5804 #include <glade/glade-xml.h> |
5806 EOF | 5805 EOF |
5807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5808 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5807 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5857 # If we find X, set shell vars x_includes and x_libraries to the | 5856 # If we find X, set shell vars x_includes and x_libraries to the |
5858 # paths, otherwise set no_x=yes. | 5857 # paths, otherwise set no_x=yes. |
5859 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5858 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5860 # --without-x overrides everything else, but does not touch the cache. | 5859 # --without-x overrides everything else, but does not touch the cache. |
5861 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5860 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5862 echo "configure:5863: checking for X" >&5 | 5861 echo "configure:5862: checking for X" >&5 |
5863 | 5862 |
5864 # Check whether --with-x or --without-x was given. | 5863 # Check whether --with-x or --without-x was given. |
5865 if test "${with_x+set}" = set; then | 5864 if test "${with_x+set}" = set; then |
5866 withval="$with_x" | 5865 withval="$with_x" |
5867 : | 5866 : |
5917 # Guess where to find include files, by looking for this one X11 .h file. | 5916 # Guess where to find include files, by looking for this one X11 .h file. |
5918 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5917 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5919 | 5918 |
5920 # First, try using that file with no special directory specified. | 5919 # First, try using that file with no special directory specified. |
5921 cat > conftest.$ac_ext <<EOF | 5920 cat > conftest.$ac_ext <<EOF |
5922 #line 5923 "configure" | 5921 #line 5922 "configure" |
5923 #include "confdefs.h" | 5922 #include "confdefs.h" |
5924 #include <$x_direct_test_include> | 5923 #include <$x_direct_test_include> |
5925 EOF | 5924 EOF |
5926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5927 { (eval echo configure:5928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5926 { (eval echo configure:5927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5929 if test -z "$ac_err"; then | 5928 if test -z "$ac_err"; then |
5930 rm -rf conftest* | 5929 rm -rf conftest* |
5931 # We can compile using X headers with no special include directory. | 5930 # We can compile using X headers with no special include directory. |
5932 ac_x_includes= | 5931 ac_x_includes= |
5991 # See if we find them without any special options. | 5990 # See if we find them without any special options. |
5992 # Don't add to $LIBS permanently. | 5991 # Don't add to $LIBS permanently. |
5993 ac_save_LIBS="$LIBS" | 5992 ac_save_LIBS="$LIBS" |
5994 LIBS="-l$x_direct_test_library $LIBS" | 5993 LIBS="-l$x_direct_test_library $LIBS" |
5995 cat > conftest.$ac_ext <<EOF | 5994 cat > conftest.$ac_ext <<EOF |
5996 #line 5997 "configure" | 5995 #line 5996 "configure" |
5997 #include "confdefs.h" | 5996 #include "confdefs.h" |
5998 | 5997 |
5999 int main() { | 5998 int main() { |
6000 ${x_direct_test_function}() | 5999 ${x_direct_test_function}() |
6001 ; return 0; } | 6000 ; return 0; } |
6002 EOF | 6001 EOF |
6003 if { (eval echo configure:6004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6002 if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6004 rm -rf conftest* | 6003 rm -rf conftest* |
6005 LIBS="$ac_save_LIBS" | 6004 LIBS="$ac_save_LIBS" |
6006 # We can link X programs with no special library path. | 6005 # We can link X programs with no special library path. |
6007 ac_x_libraries= | 6006 ac_x_libraries= |
6008 else | 6007 else |
6107 # For Solaris; some versions of Sun CC require a space after -R and | 6106 # For Solaris; some versions of Sun CC require a space after -R and |
6108 # others require no space. Words are not sufficient . . . . | 6107 # others require no space. Words are not sufficient . . . . |
6109 case "`(uname -sr) 2>/dev/null`" in | 6108 case "`(uname -sr) 2>/dev/null`" in |
6110 "SunOS 5"*) | 6109 "SunOS 5"*) |
6111 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6110 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6112 echo "configure:6113: checking whether -R must be followed by a space" >&5 | 6111 echo "configure:6112: checking whether -R must be followed by a space" >&5 |
6113 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6112 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6114 cat > conftest.$ac_ext <<EOF | 6113 cat > conftest.$ac_ext <<EOF |
6115 #line 6116 "configure" | 6114 #line 6115 "configure" |
6116 #include "confdefs.h" | 6115 #include "confdefs.h" |
6117 | 6116 |
6118 int main() { | 6117 int main() { |
6119 | 6118 |
6120 ; return 0; } | 6119 ; return 0; } |
6121 EOF | 6120 EOF |
6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6123 rm -rf conftest* | 6122 rm -rf conftest* |
6124 ac_R_nospace=yes | 6123 ac_R_nospace=yes |
6125 else | 6124 else |
6126 echo "configure: failed program was:" >&5 | 6125 echo "configure: failed program was:" >&5 |
6127 cat conftest.$ac_ext >&5 | 6126 cat conftest.$ac_ext >&5 |
6133 echo "$ac_t""no" 1>&6 | 6132 echo "$ac_t""no" 1>&6 |
6134 X_LIBS="$X_LIBS -R$x_libraries" | 6133 X_LIBS="$X_LIBS -R$x_libraries" |
6135 else | 6134 else |
6136 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6135 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6137 cat > conftest.$ac_ext <<EOF | 6136 cat > conftest.$ac_ext <<EOF |
6138 #line 6139 "configure" | 6137 #line 6138 "configure" |
6139 #include "confdefs.h" | 6138 #include "confdefs.h" |
6140 | 6139 |
6141 int main() { | 6140 int main() { |
6142 | 6141 |
6143 ; return 0; } | 6142 ; return 0; } |
6144 EOF | 6143 EOF |
6145 if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6146 rm -rf conftest* | 6145 rm -rf conftest* |
6147 ac_R_space=yes | 6146 ac_R_space=yes |
6148 else | 6147 else |
6149 echo "configure: failed program was:" >&5 | 6148 echo "configure: failed program was:" >&5 |
6150 cat conftest.$ac_ext >&5 | 6149 cat conftest.$ac_ext >&5 |
6176 if test "$with_dnet" = "no" ; then | 6175 if test "$with_dnet" = "no" ; then |
6177 ac_cv_lib_dnet_dnet_ntoa=no | 6176 ac_cv_lib_dnet_dnet_ntoa=no |
6178 else | 6177 else |
6179 | 6178 |
6180 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6179 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6181 echo "configure:6182: checking for dnet_ntoa in -ldnet" >&5 | 6180 echo "configure:6181: checking for dnet_ntoa in -ldnet" >&5 |
6182 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6181 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6183 | 6182 |
6184 xe_check_libs=" -ldnet " | 6183 xe_check_libs=" -ldnet " |
6185 cat > conftest.$ac_ext <<EOF | 6184 cat > conftest.$ac_ext <<EOF |
6186 #line 6187 "configure" | 6185 #line 6186 "configure" |
6187 #include "confdefs.h" | 6186 #include "confdefs.h" |
6188 /* Override any gcc2 internal prototype to avoid an error. */ | 6187 /* Override any gcc2 internal prototype to avoid an error. */ |
6189 /* We use char because int might match the return type of a gcc2 | 6188 /* We use char because int might match the return type of a gcc2 |
6190 builtin and then its argument prototype would still apply. */ | 6189 builtin and then its argument prototype would still apply. */ |
6191 char dnet_ntoa(); | 6190 char dnet_ntoa(); |
6192 | 6191 |
6193 int main() { | 6192 int main() { |
6194 dnet_ntoa() | 6193 dnet_ntoa() |
6195 ; return 0; } | 6194 ; return 0; } |
6196 EOF | 6195 EOF |
6197 if { (eval echo configure:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6196 if { (eval echo configure:6197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6198 rm -rf conftest* | 6197 rm -rf conftest* |
6199 eval "ac_cv_lib_$ac_lib_var=yes" | 6198 eval "ac_cv_lib_$ac_lib_var=yes" |
6200 else | 6199 else |
6201 echo "configure: failed program was:" >&5 | 6200 echo "configure: failed program was:" >&5 |
6202 cat conftest.$ac_ext >&5 | 6201 cat conftest.$ac_ext >&5 |
6216 fi | 6215 fi |
6217 | 6216 |
6218 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6217 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6219 | 6218 |
6220 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6219 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6221 echo "configure:6222: checking for dnet_ntoa in -ldnet_stub" >&5 | 6220 echo "configure:6221: checking for dnet_ntoa in -ldnet_stub" >&5 |
6222 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6221 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6223 | 6222 |
6224 xe_check_libs=" -ldnet_stub " | 6223 xe_check_libs=" -ldnet_stub " |
6225 cat > conftest.$ac_ext <<EOF | 6224 cat > conftest.$ac_ext <<EOF |
6226 #line 6227 "configure" | 6225 #line 6226 "configure" |
6227 #include "confdefs.h" | 6226 #include "confdefs.h" |
6228 /* Override any gcc2 internal prototype to avoid an error. */ | 6227 /* Override any gcc2 internal prototype to avoid an error. */ |
6229 /* We use char because int might match the return type of a gcc2 | 6228 /* We use char because int might match the return type of a gcc2 |
6230 builtin and then its argument prototype would still apply. */ | 6229 builtin and then its argument prototype would still apply. */ |
6231 char dnet_ntoa(); | 6230 char dnet_ntoa(); |
6232 | 6231 |
6233 int main() { | 6232 int main() { |
6234 dnet_ntoa() | 6233 dnet_ntoa() |
6235 ; return 0; } | 6234 ; return 0; } |
6236 EOF | 6235 EOF |
6237 if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6236 if { (eval echo configure:6237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6238 rm -rf conftest* | 6237 rm -rf conftest* |
6239 eval "ac_cv_lib_$ac_lib_var=yes" | 6238 eval "ac_cv_lib_$ac_lib_var=yes" |
6240 else | 6239 else |
6241 echo "configure: failed program was:" >&5 | 6240 echo "configure: failed program was:" >&5 |
6242 cat conftest.$ac_ext >&5 | 6241 cat conftest.$ac_ext >&5 |
6261 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6260 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6262 # needs -lnsl. | 6261 # needs -lnsl. |
6263 # The nsl library prevents programs from opening the X display | 6262 # The nsl library prevents programs from opening the X display |
6264 # on Irix 5.2, according to dickey@clark.net. | 6263 # on Irix 5.2, according to dickey@clark.net. |
6265 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6264 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6266 echo "configure:6267: checking for gethostbyname" >&5 | 6265 echo "configure:6266: checking for gethostbyname" >&5 |
6267 | 6266 |
6268 cat > conftest.$ac_ext <<EOF | 6267 cat > conftest.$ac_ext <<EOF |
6269 #line 6270 "configure" | 6268 #line 6269 "configure" |
6270 #include "confdefs.h" | 6269 #include "confdefs.h" |
6271 /* System header to define __stub macros and hopefully few prototypes, | 6270 /* System header to define __stub macros and hopefully few prototypes, |
6272 which can conflict with char gethostbyname(); below. */ | 6271 which can conflict with char gethostbyname(); below. */ |
6273 #include <assert.h> | 6272 #include <assert.h> |
6274 /* Override any gcc2 internal prototype to avoid an error. */ | 6273 /* Override any gcc2 internal prototype to avoid an error. */ |
6287 gethostbyname(); | 6286 gethostbyname(); |
6288 #endif | 6287 #endif |
6289 | 6288 |
6290 ; return 0; } | 6289 ; return 0; } |
6291 EOF | 6290 EOF |
6292 if { (eval echo configure:6293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6293 rm -rf conftest* | 6292 rm -rf conftest* |
6294 eval "ac_cv_func_gethostbyname=yes" | 6293 eval "ac_cv_func_gethostbyname=yes" |
6295 else | 6294 else |
6296 echo "configure: failed program was:" >&5 | 6295 echo "configure: failed program was:" >&5 |
6297 cat conftest.$ac_ext >&5 | 6296 cat conftest.$ac_ext >&5 |
6308 fi | 6307 fi |
6309 | 6308 |
6310 if test $ac_cv_func_gethostbyname = no; then | 6309 if test $ac_cv_func_gethostbyname = no; then |
6311 | 6310 |
6312 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6311 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6313 echo "configure:6314: checking for gethostbyname in -lnsl" >&5 | 6312 echo "configure:6313: checking for gethostbyname in -lnsl" >&5 |
6314 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6313 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6315 | 6314 |
6316 xe_check_libs=" -lnsl " | 6315 xe_check_libs=" -lnsl " |
6317 cat > conftest.$ac_ext <<EOF | 6316 cat > conftest.$ac_ext <<EOF |
6318 #line 6319 "configure" | 6317 #line 6318 "configure" |
6319 #include "confdefs.h" | 6318 #include "confdefs.h" |
6320 /* Override any gcc2 internal prototype to avoid an error. */ | 6319 /* Override any gcc2 internal prototype to avoid an error. */ |
6321 /* We use char because int might match the return type of a gcc2 | 6320 /* We use char because int might match the return type of a gcc2 |
6322 builtin and then its argument prototype would still apply. */ | 6321 builtin and then its argument prototype would still apply. */ |
6323 char gethostbyname(); | 6322 char gethostbyname(); |
6324 | 6323 |
6325 int main() { | 6324 int main() { |
6326 gethostbyname() | 6325 gethostbyname() |
6327 ; return 0; } | 6326 ; return 0; } |
6328 EOF | 6327 EOF |
6329 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6328 if { (eval echo configure:6329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6330 rm -rf conftest* | 6329 rm -rf conftest* |
6331 eval "ac_cv_lib_$ac_lib_var=yes" | 6330 eval "ac_cv_lib_$ac_lib_var=yes" |
6332 else | 6331 else |
6333 echo "configure: failed program was:" >&5 | 6332 echo "configure: failed program was:" >&5 |
6334 cat conftest.$ac_ext >&5 | 6333 cat conftest.$ac_ext >&5 |
6354 # on later versions), says simon@lia.di.epfl.ch: it contains | 6353 # on later versions), says simon@lia.di.epfl.ch: it contains |
6355 # gethostby* variants that don't use the nameserver (or something). | 6354 # gethostby* variants that don't use the nameserver (or something). |
6356 # -lsocket must be given before -lnsl if both are needed. | 6355 # -lsocket must be given before -lnsl if both are needed. |
6357 # We assume that if connect needs -lnsl, so does gethostbyname. | 6356 # We assume that if connect needs -lnsl, so does gethostbyname. |
6358 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6357 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6359 echo "configure:6360: checking for connect" >&5 | 6358 echo "configure:6359: checking for connect" >&5 |
6360 | 6359 |
6361 cat > conftest.$ac_ext <<EOF | 6360 cat > conftest.$ac_ext <<EOF |
6362 #line 6363 "configure" | 6361 #line 6362 "configure" |
6363 #include "confdefs.h" | 6362 #include "confdefs.h" |
6364 /* System header to define __stub macros and hopefully few prototypes, | 6363 /* System header to define __stub macros and hopefully few prototypes, |
6365 which can conflict with char connect(); below. */ | 6364 which can conflict with char connect(); below. */ |
6366 #include <assert.h> | 6365 #include <assert.h> |
6367 /* Override any gcc2 internal prototype to avoid an error. */ | 6366 /* Override any gcc2 internal prototype to avoid an error. */ |
6380 connect(); | 6379 connect(); |
6381 #endif | 6380 #endif |
6382 | 6381 |
6383 ; return 0; } | 6382 ; return 0; } |
6384 EOF | 6383 EOF |
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6386 rm -rf conftest* | 6385 rm -rf conftest* |
6387 eval "ac_cv_func_connect=yes" | 6386 eval "ac_cv_func_connect=yes" |
6388 else | 6387 else |
6389 echo "configure: failed program was:" >&5 | 6388 echo "configure: failed program was:" >&5 |
6390 cat conftest.$ac_ext >&5 | 6389 cat conftest.$ac_ext >&5 |
6403 if test $ac_cv_func_connect = no; then | 6402 if test $ac_cv_func_connect = no; then |
6404 | 6403 |
6405 xe_msg_checking="for connect in -lsocket" | 6404 xe_msg_checking="for connect in -lsocket" |
6406 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6405 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6407 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6406 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6408 echo "configure:6409: checking "$xe_msg_checking"" >&5 | 6407 echo "configure:6408: checking "$xe_msg_checking"" >&5 |
6409 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6408 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6410 | 6409 |
6411 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6410 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6412 cat > conftest.$ac_ext <<EOF | 6411 cat > conftest.$ac_ext <<EOF |
6413 #line 6414 "configure" | 6412 #line 6413 "configure" |
6414 #include "confdefs.h" | 6413 #include "confdefs.h" |
6415 /* Override any gcc2 internal prototype to avoid an error. */ | 6414 /* Override any gcc2 internal prototype to avoid an error. */ |
6416 /* We use char because int might match the return type of a gcc2 | 6415 /* We use char because int might match the return type of a gcc2 |
6417 builtin and then its argument prototype would still apply. */ | 6416 builtin and then its argument prototype would still apply. */ |
6418 char connect(); | 6417 char connect(); |
6419 | 6418 |
6420 int main() { | 6419 int main() { |
6421 connect() | 6420 connect() |
6422 ; return 0; } | 6421 ; return 0; } |
6423 EOF | 6422 EOF |
6424 if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6423 if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6425 rm -rf conftest* | 6424 rm -rf conftest* |
6426 eval "ac_cv_lib_$ac_lib_var=yes" | 6425 eval "ac_cv_lib_$ac_lib_var=yes" |
6427 else | 6426 else |
6428 echo "configure: failed program was:" >&5 | 6427 echo "configure: failed program was:" >&5 |
6429 cat conftest.$ac_ext >&5 | 6428 cat conftest.$ac_ext >&5 |
6443 | 6442 |
6444 fi | 6443 fi |
6445 | 6444 |
6446 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6445 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6447 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6446 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6448 echo "configure:6449: checking for remove" >&5 | 6447 echo "configure:6448: checking for remove" >&5 |
6449 | 6448 |
6450 cat > conftest.$ac_ext <<EOF | 6449 cat > conftest.$ac_ext <<EOF |
6451 #line 6452 "configure" | 6450 #line 6451 "configure" |
6452 #include "confdefs.h" | 6451 #include "confdefs.h" |
6453 /* System header to define __stub macros and hopefully few prototypes, | 6452 /* System header to define __stub macros and hopefully few prototypes, |
6454 which can conflict with char remove(); below. */ | 6453 which can conflict with char remove(); below. */ |
6455 #include <assert.h> | 6454 #include <assert.h> |
6456 /* Override any gcc2 internal prototype to avoid an error. */ | 6455 /* Override any gcc2 internal prototype to avoid an error. */ |
6469 remove(); | 6468 remove(); |
6470 #endif | 6469 #endif |
6471 | 6470 |
6472 ; return 0; } | 6471 ; return 0; } |
6473 EOF | 6472 EOF |
6474 if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6473 if { (eval echo configure:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6475 rm -rf conftest* | 6474 rm -rf conftest* |
6476 eval "ac_cv_func_remove=yes" | 6475 eval "ac_cv_func_remove=yes" |
6477 else | 6476 else |
6478 echo "configure: failed program was:" >&5 | 6477 echo "configure: failed program was:" >&5 |
6479 cat conftest.$ac_ext >&5 | 6478 cat conftest.$ac_ext >&5 |
6490 fi | 6489 fi |
6491 | 6490 |
6492 if test $ac_cv_func_remove = no; then | 6491 if test $ac_cv_func_remove = no; then |
6493 | 6492 |
6494 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6493 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6495 echo "configure:6496: checking for remove in -lposix" >&5 | 6494 echo "configure:6495: checking for remove in -lposix" >&5 |
6496 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6495 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6497 | 6496 |
6498 xe_check_libs=" -lposix " | 6497 xe_check_libs=" -lposix " |
6499 cat > conftest.$ac_ext <<EOF | 6498 cat > conftest.$ac_ext <<EOF |
6500 #line 6501 "configure" | 6499 #line 6500 "configure" |
6501 #include "confdefs.h" | 6500 #include "confdefs.h" |
6502 /* Override any gcc2 internal prototype to avoid an error. */ | 6501 /* Override any gcc2 internal prototype to avoid an error. */ |
6503 /* We use char because int might match the return type of a gcc2 | 6502 /* We use char because int might match the return type of a gcc2 |
6504 builtin and then its argument prototype would still apply. */ | 6503 builtin and then its argument prototype would still apply. */ |
6505 char remove(); | 6504 char remove(); |
6506 | 6505 |
6507 int main() { | 6506 int main() { |
6508 remove() | 6507 remove() |
6509 ; return 0; } | 6508 ; return 0; } |
6510 EOF | 6509 EOF |
6511 if { (eval echo configure:6512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6512 rm -rf conftest* | 6511 rm -rf conftest* |
6513 eval "ac_cv_lib_$ac_lib_var=yes" | 6512 eval "ac_cv_lib_$ac_lib_var=yes" |
6514 else | 6513 else |
6515 echo "configure: failed program was:" >&5 | 6514 echo "configure: failed program was:" >&5 |
6516 cat conftest.$ac_ext >&5 | 6515 cat conftest.$ac_ext >&5 |
6530 | 6529 |
6531 fi | 6530 fi |
6532 | 6531 |
6533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6532 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6534 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6533 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6535 echo "configure:6536: checking for shmat" >&5 | 6534 echo "configure:6535: checking for shmat" >&5 |
6536 | 6535 |
6537 cat > conftest.$ac_ext <<EOF | 6536 cat > conftest.$ac_ext <<EOF |
6538 #line 6539 "configure" | 6537 #line 6538 "configure" |
6539 #include "confdefs.h" | 6538 #include "confdefs.h" |
6540 /* System header to define __stub macros and hopefully few prototypes, | 6539 /* System header to define __stub macros and hopefully few prototypes, |
6541 which can conflict with char shmat(); below. */ | 6540 which can conflict with char shmat(); below. */ |
6542 #include <assert.h> | 6541 #include <assert.h> |
6543 /* Override any gcc2 internal prototype to avoid an error. */ | 6542 /* Override any gcc2 internal prototype to avoid an error. */ |
6556 shmat(); | 6555 shmat(); |
6557 #endif | 6556 #endif |
6558 | 6557 |
6559 ; return 0; } | 6558 ; return 0; } |
6560 EOF | 6559 EOF |
6561 if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6560 if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6562 rm -rf conftest* | 6561 rm -rf conftest* |
6563 eval "ac_cv_func_shmat=yes" | 6562 eval "ac_cv_func_shmat=yes" |
6564 else | 6563 else |
6565 echo "configure: failed program was:" >&5 | 6564 echo "configure: failed program was:" >&5 |
6566 cat conftest.$ac_ext >&5 | 6565 cat conftest.$ac_ext >&5 |
6577 fi | 6576 fi |
6578 | 6577 |
6579 if test $ac_cv_func_shmat = no; then | 6578 if test $ac_cv_func_shmat = no; then |
6580 | 6579 |
6581 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6580 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6582 echo "configure:6583: checking for shmat in -lipc" >&5 | 6581 echo "configure:6582: checking for shmat in -lipc" >&5 |
6583 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6582 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6584 | 6583 |
6585 xe_check_libs=" -lipc " | 6584 xe_check_libs=" -lipc " |
6586 cat > conftest.$ac_ext <<EOF | 6585 cat > conftest.$ac_ext <<EOF |
6587 #line 6588 "configure" | 6586 #line 6587 "configure" |
6588 #include "confdefs.h" | 6587 #include "confdefs.h" |
6589 /* Override any gcc2 internal prototype to avoid an error. */ | 6588 /* Override any gcc2 internal prototype to avoid an error. */ |
6590 /* We use char because int might match the return type of a gcc2 | 6589 /* We use char because int might match the return type of a gcc2 |
6591 builtin and then its argument prototype would still apply. */ | 6590 builtin and then its argument prototype would still apply. */ |
6592 char shmat(); | 6591 char shmat(); |
6593 | 6592 |
6594 int main() { | 6593 int main() { |
6595 shmat() | 6594 shmat() |
6596 ; return 0; } | 6595 ; return 0; } |
6597 EOF | 6596 EOF |
6598 if { (eval echo configure:6599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6597 if { (eval echo configure:6598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6599 rm -rf conftest* | 6598 rm -rf conftest* |
6600 eval "ac_cv_lib_$ac_lib_var=yes" | 6599 eval "ac_cv_lib_$ac_lib_var=yes" |
6601 else | 6600 else |
6602 echo "configure: failed program was:" >&5 | 6601 echo "configure: failed program was:" >&5 |
6603 cat conftest.$ac_ext >&5 | 6602 cat conftest.$ac_ext >&5 |
6629 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6628 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6630 | 6629 |
6631 xe_msg_checking="for IceConnectionNumber in -lICE" | 6630 xe_msg_checking="for IceConnectionNumber in -lICE" |
6632 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6631 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6633 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6632 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6634 echo "configure:6635: checking "$xe_msg_checking"" >&5 | 6633 echo "configure:6634: checking "$xe_msg_checking"" >&5 |
6635 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6634 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6636 | 6635 |
6637 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6636 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6638 cat > conftest.$ac_ext <<EOF | 6637 cat > conftest.$ac_ext <<EOF |
6639 #line 6640 "configure" | 6638 #line 6639 "configure" |
6640 #include "confdefs.h" | 6639 #include "confdefs.h" |
6641 /* Override any gcc2 internal prototype to avoid an error. */ | 6640 /* Override any gcc2 internal prototype to avoid an error. */ |
6642 /* We use char because int might match the return type of a gcc2 | 6641 /* We use char because int might match the return type of a gcc2 |
6643 builtin and then its argument prototype would still apply. */ | 6642 builtin and then its argument prototype would still apply. */ |
6644 char IceConnectionNumber(); | 6643 char IceConnectionNumber(); |
6645 | 6644 |
6646 int main() { | 6645 int main() { |
6647 IceConnectionNumber() | 6646 IceConnectionNumber() |
6648 ; return 0; } | 6647 ; return 0; } |
6649 EOF | 6648 EOF |
6650 if { (eval echo configure:6651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6651 rm -rf conftest* | 6650 rm -rf conftest* |
6652 eval "ac_cv_lib_$ac_lib_var=yes" | 6651 eval "ac_cv_lib_$ac_lib_var=yes" |
6653 else | 6652 else |
6654 echo "configure: failed program was:" >&5 | 6653 echo "configure: failed program was:" >&5 |
6655 cat conftest.$ac_ext >&5 | 6654 cat conftest.$ac_ext >&5 |
6691 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6690 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6692 | 6691 |
6693 | 6692 |
6694 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6693 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6695 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6694 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6696 echo "configure:6697: checking for Xm/Xm.h" >&5 | 6695 echo "configure:6696: checking for Xm/Xm.h" >&5 |
6697 | 6696 |
6698 cat > conftest.$ac_ext <<EOF | 6697 cat > conftest.$ac_ext <<EOF |
6699 #line 6700 "configure" | 6698 #line 6699 "configure" |
6700 #include "confdefs.h" | 6699 #include "confdefs.h" |
6701 #include <Xm/Xm.h> | 6700 #include <Xm/Xm.h> |
6702 EOF | 6701 EOF |
6703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6704 { (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6703 { (eval echo configure:6704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6706 if test -z "$ac_err"; then | 6705 if test -z "$ac_err"; then |
6707 rm -rf conftest* | 6706 rm -rf conftest* |
6708 eval "ac_cv_header_$ac_safe=yes" | 6707 eval "ac_cv_header_$ac_safe=yes" |
6709 else | 6708 else |
6716 rm -f conftest* | 6715 rm -f conftest* |
6717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6718 echo "$ac_t""yes" 1>&6 | 6717 echo "$ac_t""yes" 1>&6 |
6719 | 6718 |
6720 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6719 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6721 echo "configure:6722: checking for XmStringFree in -lXm" >&5 | 6720 echo "configure:6721: checking for XmStringFree in -lXm" >&5 |
6722 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6721 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6723 | 6722 |
6724 xe_check_libs=" -lXm " | 6723 xe_check_libs=" -lXm " |
6725 cat > conftest.$ac_ext <<EOF | 6724 cat > conftest.$ac_ext <<EOF |
6726 #line 6727 "configure" | 6725 #line 6726 "configure" |
6727 #include "confdefs.h" | 6726 #include "confdefs.h" |
6728 /* Override any gcc2 internal prototype to avoid an error. */ | 6727 /* Override any gcc2 internal prototype to avoid an error. */ |
6729 /* We use char because int might match the return type of a gcc2 | 6728 /* We use char because int might match the return type of a gcc2 |
6730 builtin and then its argument prototype would still apply. */ | 6729 builtin and then its argument prototype would still apply. */ |
6731 char XmStringFree(); | 6730 char XmStringFree(); |
6732 | 6731 |
6733 int main() { | 6732 int main() { |
6734 XmStringFree() | 6733 XmStringFree() |
6735 ; return 0; } | 6734 ; return 0; } |
6736 EOF | 6735 EOF |
6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6736 if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6738 rm -rf conftest* | 6737 rm -rf conftest* |
6739 eval "ac_cv_lib_$ac_lib_var=yes" | 6738 eval "ac_cv_lib_$ac_lib_var=yes" |
6740 else | 6739 else |
6741 echo "configure: failed program was:" >&5 | 6740 echo "configure: failed program was:" >&5 |
6742 cat conftest.$ac_ext >&5 | 6741 cat conftest.$ac_ext >&5 |
6884 EOF | 6883 EOF |
6885 } | 6884 } |
6886 | 6885 |
6887 | 6886 |
6888 echo "checking for X defines extracted by xmkmf" 1>&6 | 6887 echo "checking for X defines extracted by xmkmf" 1>&6 |
6889 echo "configure:6890: checking for X defines extracted by xmkmf" >&5 | 6888 echo "configure:6889: checking for X defines extracted by xmkmf" >&5 |
6890 rm -fr conftestdir | 6889 rm -fr conftestdir |
6891 if mkdir conftestdir; then | 6890 if mkdir conftestdir; then |
6892 cd conftestdir | 6891 cd conftestdir |
6893 cat > Imakefile <<'EOF' | 6892 cat > Imakefile <<'EOF' |
6894 xetest: | 6893 xetest: |
6933 done | 6932 done |
6934 fi | 6933 fi |
6935 | 6934 |
6936 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6935 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6937 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6936 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6938 echo "configure:6939: checking for X11/Intrinsic.h" >&5 | 6937 echo "configure:6938: checking for X11/Intrinsic.h" >&5 |
6939 | 6938 |
6940 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6941 #line 6942 "configure" | 6940 #line 6941 "configure" |
6942 #include "confdefs.h" | 6941 #include "confdefs.h" |
6943 #include <X11/Intrinsic.h> | 6942 #include <X11/Intrinsic.h> |
6944 EOF | 6943 EOF |
6945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6946 { (eval echo configure:6947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6948 if test -z "$ac_err"; then | 6947 if test -z "$ac_err"; then |
6949 rm -rf conftest* | 6948 rm -rf conftest* |
6950 eval "ac_cv_header_$ac_safe=yes" | 6949 eval "ac_cv_header_$ac_safe=yes" |
6951 else | 6950 else |
6965 fi | 6964 fi |
6966 | 6965 |
6967 | 6966 |
6968 | 6967 |
6969 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6968 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6970 echo "configure:6971: checking for XOpenDisplay in -lX11" >&5 | 6969 echo "configure:6970: checking for XOpenDisplay in -lX11" >&5 |
6971 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6970 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6972 | 6971 |
6973 xe_check_libs=" -lX11 " | 6972 xe_check_libs=" -lX11 " |
6974 cat > conftest.$ac_ext <<EOF | 6973 cat > conftest.$ac_ext <<EOF |
6975 #line 6976 "configure" | 6974 #line 6975 "configure" |
6976 #include "confdefs.h" | 6975 #include "confdefs.h" |
6977 /* Override any gcc2 internal prototype to avoid an error. */ | 6976 /* Override any gcc2 internal prototype to avoid an error. */ |
6978 /* We use char because int might match the return type of a gcc2 | 6977 /* We use char because int might match the return type of a gcc2 |
6979 builtin and then its argument prototype would still apply. */ | 6978 builtin and then its argument prototype would still apply. */ |
6980 char XOpenDisplay(); | 6979 char XOpenDisplay(); |
6981 | 6980 |
6982 int main() { | 6981 int main() { |
6983 XOpenDisplay() | 6982 XOpenDisplay() |
6984 ; return 0; } | 6983 ; return 0; } |
6985 EOF | 6984 EOF |
6986 if { (eval echo configure:6987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6987 rm -rf conftest* | 6986 rm -rf conftest* |
6988 eval "ac_cv_lib_$ac_lib_var=yes" | 6987 eval "ac_cv_lib_$ac_lib_var=yes" |
6989 else | 6988 else |
6990 echo "configure: failed program was:" >&5 | 6989 echo "configure: failed program was:" >&5 |
6991 cat conftest.$ac_ext >&5 | 6990 cat conftest.$ac_ext >&5 |
7006 if test "$have_lib_x11" != "yes"; then | 7005 if test "$have_lib_x11" != "yes"; then |
7007 | 7006 |
7008 xe_msg_checking="for XGetFontProperty in -lX11" | 7007 xe_msg_checking="for XGetFontProperty in -lX11" |
7009 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 7008 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
7010 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7009 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7011 echo "configure:7012: checking "$xe_msg_checking"" >&5 | 7010 echo "configure:7011: checking "$xe_msg_checking"" >&5 |
7012 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 7011 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
7013 | 7012 |
7014 xe_check_libs=" -lX11 -b i486-linuxaout" | 7013 xe_check_libs=" -lX11 -b i486-linuxaout" |
7015 cat > conftest.$ac_ext <<EOF | 7014 cat > conftest.$ac_ext <<EOF |
7016 #line 7017 "configure" | 7015 #line 7016 "configure" |
7017 #include "confdefs.h" | 7016 #include "confdefs.h" |
7018 /* Override any gcc2 internal prototype to avoid an error. */ | 7017 /* Override any gcc2 internal prototype to avoid an error. */ |
7019 /* We use char because int might match the return type of a gcc2 | 7018 /* We use char because int might match the return type of a gcc2 |
7020 builtin and then its argument prototype would still apply. */ | 7019 builtin and then its argument prototype would still apply. */ |
7021 char XGetFontProperty(); | 7020 char XGetFontProperty(); |
7022 | 7021 |
7023 int main() { | 7022 int main() { |
7024 XGetFontProperty() | 7023 XGetFontProperty() |
7025 ; return 0; } | 7024 ; return 0; } |
7026 EOF | 7025 EOF |
7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7028 rm -rf conftest* | 7027 rm -rf conftest* |
7029 eval "ac_cv_lib_$ac_lib_var=yes" | 7028 eval "ac_cv_lib_$ac_lib_var=yes" |
7030 else | 7029 else |
7031 echo "configure: failed program was:" >&5 | 7030 echo "configure: failed program was:" >&5 |
7032 cat conftest.$ac_ext >&5 | 7031 cat conftest.$ac_ext >&5 |
7049 libs_x="-lX11" | 7048 libs_x="-lX11" |
7050 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7049 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7051 | 7050 |
7052 | 7051 |
7053 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7052 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7054 echo "configure:7055: checking for XShapeSelectInput in -lXext" >&5 | 7053 echo "configure:7054: checking for XShapeSelectInput in -lXext" >&5 |
7055 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7054 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7056 | 7055 |
7057 xe_check_libs=" -lXext " | 7056 xe_check_libs=" -lXext " |
7058 cat > conftest.$ac_ext <<EOF | 7057 cat > conftest.$ac_ext <<EOF |
7059 #line 7060 "configure" | 7058 #line 7059 "configure" |
7060 #include "confdefs.h" | 7059 #include "confdefs.h" |
7061 /* Override any gcc2 internal prototype to avoid an error. */ | 7060 /* Override any gcc2 internal prototype to avoid an error. */ |
7062 /* We use char because int might match the return type of a gcc2 | 7061 /* We use char because int might match the return type of a gcc2 |
7063 builtin and then its argument prototype would still apply. */ | 7062 builtin and then its argument prototype would still apply. */ |
7064 char XShapeSelectInput(); | 7063 char XShapeSelectInput(); |
7065 | 7064 |
7066 int main() { | 7065 int main() { |
7067 XShapeSelectInput() | 7066 XShapeSelectInput() |
7068 ; return 0; } | 7067 ; return 0; } |
7069 EOF | 7068 EOF |
7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7069 if { (eval echo configure:7070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7071 rm -rf conftest* | 7070 rm -rf conftest* |
7072 eval "ac_cv_lib_$ac_lib_var=yes" | 7071 eval "ac_cv_lib_$ac_lib_var=yes" |
7073 else | 7072 else |
7074 echo "configure: failed program was:" >&5 | 7073 echo "configure: failed program was:" >&5 |
7075 cat conftest.$ac_ext >&5 | 7074 cat conftest.$ac_ext >&5 |
7088 | 7087 |
7089 | 7088 |
7090 | 7089 |
7091 | 7090 |
7092 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7091 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7093 echo "configure:7094: checking for XtOpenDisplay in -lXt" >&5 | 7092 echo "configure:7093: checking for XtOpenDisplay in -lXt" >&5 |
7094 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7093 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7095 | 7094 |
7096 xe_check_libs=" -lXt " | 7095 xe_check_libs=" -lXt " |
7097 cat > conftest.$ac_ext <<EOF | 7096 cat > conftest.$ac_ext <<EOF |
7098 #line 7099 "configure" | 7097 #line 7098 "configure" |
7099 #include "confdefs.h" | 7098 #include "confdefs.h" |
7100 /* Override any gcc2 internal prototype to avoid an error. */ | 7099 /* Override any gcc2 internal prototype to avoid an error. */ |
7101 /* We use char because int might match the return type of a gcc2 | 7100 /* We use char because int might match the return type of a gcc2 |
7102 builtin and then its argument prototype would still apply. */ | 7101 builtin and then its argument prototype would still apply. */ |
7103 char XtOpenDisplay(); | 7102 char XtOpenDisplay(); |
7104 | 7103 |
7105 int main() { | 7104 int main() { |
7106 XtOpenDisplay() | 7105 XtOpenDisplay() |
7107 ; return 0; } | 7106 ; return 0; } |
7108 EOF | 7107 EOF |
7109 if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7110 rm -rf conftest* | 7109 rm -rf conftest* |
7111 eval "ac_cv_lib_$ac_lib_var=yes" | 7110 eval "ac_cv_lib_$ac_lib_var=yes" |
7112 else | 7111 else |
7113 echo "configure: failed program was:" >&5 | 7112 echo "configure: failed program was:" >&5 |
7114 cat conftest.$ac_ext >&5 | 7113 cat conftest.$ac_ext >&5 |
7127 fi | 7126 fi |
7128 | 7127 |
7129 | 7128 |
7130 | 7129 |
7131 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7130 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7132 echo "configure:7133: checking the version of X11 being used" >&5 | 7131 echo "configure:7132: checking the version of X11 being used" >&5 |
7133 cat > conftest.$ac_ext <<EOF | 7132 cat > conftest.$ac_ext <<EOF |
7134 #line 7135 "configure" | 7133 #line 7134 "configure" |
7135 #include "confdefs.h" | 7134 #include "confdefs.h" |
7136 #include <X11/Intrinsic.h> | 7135 #include <X11/Intrinsic.h> |
7137 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7136 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7138 EOF | 7137 EOF |
7139 if { (eval echo configure:7140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7138 if { (eval echo configure:7139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7140 then | 7139 then |
7141 ./conftest foobar; x11_release=$? | 7140 ./conftest foobar; x11_release=$? |
7142 else | 7141 else |
7143 conftest_rc="$?" | 7142 conftest_rc="$?" |
7144 echo "configure: failed program was:" >&5 | 7143 echo "configure: failed program was:" >&5 |
7165 fi | 7164 fi |
7166 | 7165 |
7167 for ac_func in XConvertCase | 7166 for ac_func in XConvertCase |
7168 do | 7167 do |
7169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7170 echo "configure:7171: checking for $ac_func" >&5 | 7169 echo "configure:7170: checking for $ac_func" >&5 |
7171 | 7170 |
7172 cat > conftest.$ac_ext <<EOF | 7171 cat > conftest.$ac_ext <<EOF |
7173 #line 7174 "configure" | 7172 #line 7173 "configure" |
7174 #include "confdefs.h" | 7173 #include "confdefs.h" |
7175 /* System header to define __stub macros and hopefully few prototypes, | 7174 /* System header to define __stub macros and hopefully few prototypes, |
7176 which can conflict with char $ac_func(); below. */ | 7175 which can conflict with char $ac_func(); below. */ |
7177 #include <assert.h> | 7176 #include <assert.h> |
7178 /* Override any gcc2 internal prototype to avoid an error. */ | 7177 /* Override any gcc2 internal prototype to avoid an error. */ |
7191 $ac_func(); | 7190 $ac_func(); |
7192 #endif | 7191 #endif |
7193 | 7192 |
7194 ; return 0; } | 7193 ; return 0; } |
7195 EOF | 7194 EOF |
7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7197 rm -rf conftest* | 7196 rm -rf conftest* |
7198 eval "ac_cv_func_$ac_func=yes" | 7197 eval "ac_cv_func_$ac_func=yes" |
7199 else | 7198 else |
7200 echo "configure: failed program was:" >&5 | 7199 echo "configure: failed program was:" >&5 |
7201 cat conftest.$ac_ext >&5 | 7200 cat conftest.$ac_ext >&5 |
7223 | 7222 |
7224 for ac_hdr in X11/Xlocale.h | 7223 for ac_hdr in X11/Xlocale.h |
7225 do | 7224 do |
7226 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7228 echo "configure:7229: checking for $ac_hdr" >&5 | 7227 echo "configure:7228: checking for $ac_hdr" >&5 |
7229 | 7228 |
7230 cat > conftest.$ac_ext <<EOF | 7229 cat > conftest.$ac_ext <<EOF |
7231 #line 7232 "configure" | 7230 #line 7231 "configure" |
7232 #include "confdefs.h" | 7231 #include "confdefs.h" |
7233 #include <$ac_hdr> | 7232 #include <$ac_hdr> |
7234 EOF | 7233 EOF |
7235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7236 { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7238 if test -z "$ac_err"; then | 7237 if test -z "$ac_err"; then |
7239 rm -rf conftest* | 7238 rm -rf conftest* |
7240 eval "ac_cv_header_$ac_safe=yes" | 7239 eval "ac_cv_header_$ac_safe=yes" |
7241 else | 7240 else |
7264 | 7263 |
7265 | 7264 |
7266 for ac_func in XRegisterIMInstantiateCallback | 7265 for ac_func in XRegisterIMInstantiateCallback |
7267 do | 7266 do |
7268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7269 echo "configure:7270: checking for $ac_func" >&5 | 7268 echo "configure:7269: checking for $ac_func" >&5 |
7270 | 7269 |
7271 cat > conftest.$ac_ext <<EOF | 7270 cat > conftest.$ac_ext <<EOF |
7272 #line 7273 "configure" | 7271 #line 7272 "configure" |
7273 #include "confdefs.h" | 7272 #include "confdefs.h" |
7274 /* System header to define __stub macros and hopefully few prototypes, | 7273 /* System header to define __stub macros and hopefully few prototypes, |
7275 which can conflict with char $ac_func(); below. */ | 7274 which can conflict with char $ac_func(); below. */ |
7276 #include <assert.h> | 7275 #include <assert.h> |
7277 /* Override any gcc2 internal prototype to avoid an error. */ | 7276 /* Override any gcc2 internal prototype to avoid an error. */ |
7290 $ac_func(); | 7289 $ac_func(); |
7291 #endif | 7290 #endif |
7292 | 7291 |
7293 ; return 0; } | 7292 ; return 0; } |
7294 EOF | 7293 EOF |
7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7296 rm -rf conftest* | 7295 rm -rf conftest* |
7297 eval "ac_cv_func_$ac_func=yes" | 7296 eval "ac_cv_func_$ac_func=yes" |
7298 else | 7297 else |
7299 echo "configure: failed program was:" >&5 | 7298 echo "configure: failed program was:" >&5 |
7300 cat conftest.$ac_ext >&5 | 7299 cat conftest.$ac_ext >&5 |
7318 echo "$ac_t""no" 1>&6 | 7317 echo "$ac_t""no" 1>&6 |
7319 fi | 7318 fi |
7320 done | 7319 done |
7321 | 7320 |
7322 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7321 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7323 echo "configure:7324: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7322 echo "configure:7323: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7324 cat > conftest.$ac_ext <<EOF | 7323 cat > conftest.$ac_ext <<EOF |
7325 #line 7326 "configure" | 7324 #line 7325 "configure" |
7326 #include "confdefs.h" | 7325 #include "confdefs.h" |
7327 | 7326 |
7328 #define NeedFunctionPrototypes 1 | 7327 #define NeedFunctionPrototypes 1 |
7329 #include <X11/Xlib.h> | 7328 #include <X11/Xlib.h> |
7330 extern Bool XRegisterIMInstantiateCallback( | 7329 extern Bool XRegisterIMInstantiateCallback( |
7332 | 7331 |
7333 int main() { | 7332 int main() { |
7334 | 7333 |
7335 ; return 0; } | 7334 ; return 0; } |
7336 EOF | 7335 EOF |
7337 if { (eval echo configure:7338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7336 if { (eval echo configure:7337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7338 rm -rf conftest* | 7337 rm -rf conftest* |
7339 echo "$ac_t""yes" 1>&6 | 7338 echo "$ac_t""yes" 1>&6 |
7340 else | 7339 else |
7341 echo "configure: failed program was:" >&5 | 7340 echo "configure: failed program was:" >&5 |
7342 cat conftest.$ac_ext >&5 | 7341 cat conftest.$ac_ext >&5 |
7353 fi | 7352 fi |
7354 rm -f conftest* | 7353 rm -f conftest* |
7355 | 7354 |
7356 test -z "$with_xmu" && { | 7355 test -z "$with_xmu" && { |
7357 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7356 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7358 echo "configure:7359: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7357 echo "configure:7358: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7359 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7358 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7360 | 7359 |
7361 xe_check_libs=" -lXmu " | 7360 xe_check_libs=" -lXmu " |
7362 cat > conftest.$ac_ext <<EOF | 7361 cat > conftest.$ac_ext <<EOF |
7363 #line 7364 "configure" | 7362 #line 7363 "configure" |
7364 #include "confdefs.h" | 7363 #include "confdefs.h" |
7365 /* Override any gcc2 internal prototype to avoid an error. */ | 7364 /* Override any gcc2 internal prototype to avoid an error. */ |
7366 /* We use char because int might match the return type of a gcc2 | 7365 /* We use char because int might match the return type of a gcc2 |
7367 builtin and then its argument prototype would still apply. */ | 7366 builtin and then its argument prototype would still apply. */ |
7368 char XmuReadBitmapDataFromFile(); | 7367 char XmuReadBitmapDataFromFile(); |
7369 | 7368 |
7370 int main() { | 7369 int main() { |
7371 XmuReadBitmapDataFromFile() | 7370 XmuReadBitmapDataFromFile() |
7372 ; return 0; } | 7371 ; return 0; } |
7373 EOF | 7372 EOF |
7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7375 rm -rf conftest* | 7374 rm -rf conftest* |
7376 eval "ac_cv_lib_$ac_lib_var=yes" | 7375 eval "ac_cv_lib_$ac_lib_var=yes" |
7377 else | 7376 else |
7378 echo "configure: failed program was:" >&5 | 7377 echo "configure: failed program was:" >&5 |
7379 cat conftest.$ac_ext >&5 | 7378 cat conftest.$ac_ext >&5 |
7408 | 7407 |
7409 fi | 7408 fi |
7410 | 7409 |
7411 | 7410 |
7412 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7411 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking for main in -lXbsd" >&5 | 7412 echo "configure:7413: checking for main in -lXbsd" >&5 |
7414 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7413 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7415 | 7414 |
7416 xe_check_libs=" -lXbsd " | 7415 xe_check_libs=" -lXbsd " |
7417 cat > conftest.$ac_ext <<EOF | 7416 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7417 #line 7418 "configure" |
7419 #include "confdefs.h" | 7418 #include "confdefs.h" |
7420 | 7419 |
7421 int main() { | 7420 int main() { |
7422 main() | 7421 main() |
7423 ; return 0; } | 7422 ; return 0; } |
7424 EOF | 7423 EOF |
7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7426 rm -rf conftest* | 7425 rm -rf conftest* |
7427 eval "ac_cv_lib_$ac_lib_var=yes" | 7426 eval "ac_cv_lib_$ac_lib_var=yes" |
7428 else | 7427 else |
7429 echo "configure: failed program was:" >&5 | 7428 echo "configure: failed program was:" >&5 |
7430 cat conftest.$ac_ext >&5 | 7429 cat conftest.$ac_ext >&5 |
7457 fi | 7456 fi |
7458 | 7457 |
7459 fi | 7458 fi |
7460 if test "$with_msw" != "no"; then | 7459 if test "$with_msw" != "no"; then |
7461 echo "checking for MS-Windows" 1>&6 | 7460 echo "checking for MS-Windows" 1>&6 |
7462 echo "configure:7463: checking for MS-Windows" >&5 | 7461 echo "configure:7462: checking for MS-Windows" >&5 |
7463 | 7462 |
7464 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7463 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7465 echo "configure:7466: checking for main in -lgdi32" >&5 | 7464 echo "configure:7465: checking for main in -lgdi32" >&5 |
7466 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7465 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7467 | 7466 |
7468 xe_check_libs=" -lgdi32 " | 7467 xe_check_libs=" -lgdi32 " |
7469 cat > conftest.$ac_ext <<EOF | 7468 cat > conftest.$ac_ext <<EOF |
7470 #line 7471 "configure" | 7469 #line 7470 "configure" |
7471 #include "confdefs.h" | 7470 #include "confdefs.h" |
7472 | 7471 |
7473 int main() { | 7472 int main() { |
7474 main() | 7473 main() |
7475 ; return 0; } | 7474 ; return 0; } |
7476 EOF | 7475 EOF |
7477 if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7476 if { (eval echo configure:7477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7478 rm -rf conftest* | 7477 rm -rf conftest* |
7479 eval "ac_cv_lib_$ac_lib_var=yes" | 7478 eval "ac_cv_lib_$ac_lib_var=yes" |
7480 else | 7479 else |
7481 echo "configure: failed program was:" >&5 | 7480 echo "configure: failed program was:" >&5 |
7482 cat conftest.$ac_ext >&5 | 7481 cat conftest.$ac_ext >&5 |
7523 test "$with_toolbars" != "no" && with_toolbars=msw | 7522 test "$with_toolbars" != "no" && with_toolbars=msw |
7524 test "$with_dialogs" != "no" && with_dialogs=msw | 7523 test "$with_dialogs" != "no" && with_dialogs=msw |
7525 test "$with_widgets" != "no" && with_widgets=msw | 7524 test "$with_widgets" != "no" && with_widgets=msw |
7526 fi | 7525 fi |
7527 cat > conftest.$ac_ext <<EOF | 7526 cat > conftest.$ac_ext <<EOF |
7528 #line 7529 "configure" | 7527 #line 7528 "configure" |
7529 #include "confdefs.h" | 7528 #include "confdefs.h" |
7530 #include <fcntl.h> | 7529 #include <fcntl.h> |
7531 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7530 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7532 EOF | 7531 EOF |
7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7532 if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7534 then | 7533 then |
7535 { test "$extra_verbose" = "yes" && cat << \EOF | 7534 { test "$extra_verbose" = "yes" && cat << \EOF |
7536 Defining HAVE_MSG_SELECT | 7535 Defining HAVE_MSG_SELECT |
7537 EOF | 7536 EOF |
7538 cat >> confdefs.h <<\EOF | 7537 cat >> confdefs.h <<\EOF |
7589 fi | 7588 fi |
7590 | 7589 |
7591 if test "$with_x11" = "yes"; then | 7590 if test "$with_x11" = "yes"; then |
7592 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7591 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7593 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7592 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7594 echo "configure:7595: checking for X11/extensions/shape.h" >&5 | 7593 echo "configure:7594: checking for X11/extensions/shape.h" >&5 |
7595 | 7594 |
7596 cat > conftest.$ac_ext <<EOF | 7595 cat > conftest.$ac_ext <<EOF |
7597 #line 7598 "configure" | 7596 #line 7597 "configure" |
7598 #include "confdefs.h" | 7597 #include "confdefs.h" |
7599 #include <X11/extensions/shape.h> | 7598 #include <X11/extensions/shape.h> |
7600 EOF | 7599 EOF |
7601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7602 { (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7601 { (eval echo configure:7602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7604 if test -z "$ac_err"; then | 7603 if test -z "$ac_err"; then |
7605 rm -rf conftest* | 7604 rm -rf conftest* |
7606 eval "ac_cv_header_$ac_safe=yes" | 7605 eval "ac_cv_header_$ac_safe=yes" |
7607 else | 7606 else |
7647 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7646 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7648 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7647 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7649 esac | 7648 esac |
7650 | 7649 |
7651 echo "checking for WM_COMMAND option" 1>&6 | 7650 echo "checking for WM_COMMAND option" 1>&6 |
7652 echo "configure:7653: checking for WM_COMMAND option" >&5; | 7651 echo "configure:7652: checking for WM_COMMAND option" >&5; |
7653 if test "$with_wmcommand" != "no"; then | 7652 if test "$with_wmcommand" != "no"; then |
7654 { test "$extra_verbose" = "yes" && cat << \EOF | 7653 { test "$extra_verbose" = "yes" && cat << \EOF |
7655 Defining HAVE_WMCOMMAND | 7654 Defining HAVE_WMCOMMAND |
7656 EOF | 7655 EOF |
7657 cat >> confdefs.h <<\EOF | 7656 cat >> confdefs.h <<\EOF |
7662 fi | 7661 fi |
7663 | 7662 |
7664 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7663 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7665 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7664 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7666 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7665 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7667 echo "configure:7668: checking for X11/Xauth.h" >&5 | 7666 echo "configure:7667: checking for X11/Xauth.h" >&5 |
7668 | 7667 |
7669 cat > conftest.$ac_ext <<EOF | 7668 cat > conftest.$ac_ext <<EOF |
7670 #line 7671 "configure" | 7669 #line 7670 "configure" |
7671 #include "confdefs.h" | 7670 #include "confdefs.h" |
7672 #include <X11/Xauth.h> | 7671 #include <X11/Xauth.h> |
7673 EOF | 7672 EOF |
7674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7675 { (eval echo configure:7676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7674 { (eval echo configure:7675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7677 if test -z "$ac_err"; then | 7676 if test -z "$ac_err"; then |
7678 rm -rf conftest* | 7677 rm -rf conftest* |
7679 eval "ac_cv_header_$ac_safe=yes" | 7678 eval "ac_cv_header_$ac_safe=yes" |
7680 else | 7679 else |
7693 with_xauth=no | 7692 with_xauth=no |
7694 fi | 7693 fi |
7695 } | 7694 } |
7696 test -z "$with_xauth" && { | 7695 test -z "$with_xauth" && { |
7697 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7696 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7698 echo "configure:7699: checking for XauGetAuthByAddr in -lXau" >&5 | 7697 echo "configure:7698: checking for XauGetAuthByAddr in -lXau" >&5 |
7699 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7698 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7700 | 7699 |
7701 xe_check_libs=" -lXau " | 7700 xe_check_libs=" -lXau " |
7702 cat > conftest.$ac_ext <<EOF | 7701 cat > conftest.$ac_ext <<EOF |
7703 #line 7704 "configure" | 7702 #line 7703 "configure" |
7704 #include "confdefs.h" | 7703 #include "confdefs.h" |
7705 /* Override any gcc2 internal prototype to avoid an error. */ | 7704 /* Override any gcc2 internal prototype to avoid an error. */ |
7706 /* We use char because int might match the return type of a gcc2 | 7705 /* We use char because int might match the return type of a gcc2 |
7707 builtin and then its argument prototype would still apply. */ | 7706 builtin and then its argument prototype would still apply. */ |
7708 char XauGetAuthByAddr(); | 7707 char XauGetAuthByAddr(); |
7709 | 7708 |
7710 int main() { | 7709 int main() { |
7711 XauGetAuthByAddr() | 7710 XauGetAuthByAddr() |
7712 ; return 0; } | 7711 ; return 0; } |
7713 EOF | 7712 EOF |
7714 if { (eval echo configure:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7715 rm -rf conftest* | 7714 rm -rf conftest* |
7716 eval "ac_cv_lib_$ac_lib_var=yes" | 7715 eval "ac_cv_lib_$ac_lib_var=yes" |
7717 else | 7716 else |
7718 echo "configure: failed program was:" >&5 | 7717 echo "configure: failed program was:" >&5 |
7719 cat conftest.$ac_ext >&5 | 7718 cat conftest.$ac_ext >&5 |
7760 fi | 7759 fi |
7761 | 7760 |
7762 | 7761 |
7763 if test "$with_modules" != "no"; then | 7762 if test "$with_modules" != "no"; then |
7764 echo "checking for module support" 1>&6 | 7763 echo "checking for module support" 1>&6 |
7765 echo "configure:7766: checking for module support" >&5 | 7764 echo "configure:7765: checking for module support" >&5 |
7766 | 7765 |
7767 if test "$with_msw" = "yes"; then | 7766 if test "$with_msw" = "yes"; then |
7768 have_dl=yes; | 7767 have_dl=yes; |
7769 else | 7768 else |
7770 case "$opsys" in | 7769 case "$opsys" in |
7777 } | 7776 } |
7778 ;; | 7777 ;; |
7779 * ) | 7778 * ) |
7780 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7779 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7781 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7780 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7782 echo "configure:7783: checking for dlfcn.h" >&5 | 7781 echo "configure:7782: checking for dlfcn.h" >&5 |
7783 | 7782 |
7784 cat > conftest.$ac_ext <<EOF | 7783 cat > conftest.$ac_ext <<EOF |
7785 #line 7786 "configure" | 7784 #line 7785 "configure" |
7786 #include "confdefs.h" | 7785 #include "confdefs.h" |
7787 #include <dlfcn.h> | 7786 #include <dlfcn.h> |
7788 EOF | 7787 EOF |
7789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7790 { (eval echo configure:7791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7789 { (eval echo configure:7790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7792 if test -z "$ac_err"; then | 7791 if test -z "$ac_err"; then |
7793 rm -rf conftest* | 7792 rm -rf conftest* |
7794 eval "ac_cv_header_$ac_safe=yes" | 7793 eval "ac_cv_header_$ac_safe=yes" |
7795 else | 7794 else |
7802 rm -f conftest* | 7801 rm -f conftest* |
7803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7804 echo "$ac_t""yes" 1>&6 | 7803 echo "$ac_t""yes" 1>&6 |
7805 | 7804 |
7806 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7805 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7807 echo "configure:7808: checking for dlopen in -lc" >&5 | 7806 echo "configure:7807: checking for dlopen in -lc" >&5 |
7808 cat > conftest.$ac_ext <<EOF | 7807 cat > conftest.$ac_ext <<EOF |
7809 #line 7810 "configure" | 7808 #line 7809 "configure" |
7810 #include "confdefs.h" | 7809 #include "confdefs.h" |
7811 #include <dlfcn.h> | 7810 #include <dlfcn.h> |
7812 int main() { | 7811 int main() { |
7813 dlopen ("", 0); | 7812 dlopen ("", 0); |
7814 ; return 0; } | 7813 ; return 0; } |
7815 EOF | 7814 EOF |
7816 if { (eval echo configure:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7817 rm -rf conftest* | 7816 rm -rf conftest* |
7818 have_dl=yes | 7817 have_dl=yes |
7819 else | 7818 else |
7820 echo "configure: failed program was:" >&5 | 7819 echo "configure: failed program was:" >&5 |
7821 cat conftest.$ac_ext >&5 | 7820 cat conftest.$ac_ext >&5 |
7822 rm -rf conftest* | 7821 rm -rf conftest* |
7823 | 7822 |
7824 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7823 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7825 echo "configure:7826: checking for dlopen in -ldl" >&5 | 7824 echo "configure:7825: checking for dlopen in -ldl" >&5 |
7826 ac_save_LIBS="$LIBS" | 7825 ac_save_LIBS="$LIBS" |
7827 LIBS="-ldl $LIBS" | 7826 LIBS="-ldl $LIBS" |
7828 cat > conftest.$ac_ext <<EOF | 7827 cat > conftest.$ac_ext <<EOF |
7829 #line 7830 "configure" | 7828 #line 7829 "configure" |
7830 #include "confdefs.h" | 7829 #include "confdefs.h" |
7831 #include <dlfcn.h> | 7830 #include <dlfcn.h> |
7832 int main() { | 7831 int main() { |
7833 dlopen ("", 0); | 7832 dlopen ("", 0); |
7834 ; return 0; } | 7833 ; return 0; } |
7835 EOF | 7834 EOF |
7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7837 rm -rf conftest* | 7836 rm -rf conftest* |
7838 have_dl=yes | 7837 have_dl=yes |
7839 else | 7838 else |
7840 echo "configure: failed program was:" >&5 | 7839 echo "configure: failed program was:" >&5 |
7841 cat conftest.$ac_ext >&5 | 7840 cat conftest.$ac_ext >&5 |
7871 ld_dynamic_link_flags= | 7870 ld_dynamic_link_flags= |
7872 xehost=$canonical | 7871 xehost=$canonical |
7873 xealias=$internal_configuration | 7872 xealias=$internal_configuration |
7874 | 7873 |
7875 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7874 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7876 echo "configure:7877: checking how to build dynamic libraries for ${xehost}" >&5 | 7875 echo "configure:7876: checking how to build dynamic libraries for ${xehost}" >&5 |
7877 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7876 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7878 case "$xehost" in | 7877 case "$xehost" in |
7879 *-*-linux-gnu*) ;; | 7878 *-*-linux-gnu*) ;; |
7880 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7879 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7881 esac | 7880 esac |
7899 # Now see if the compiler is really GCC. | 7898 # Now see if the compiler is really GCC. |
7900 if test "$GCC" = "yes"; then | 7899 if test "$GCC" = "yes"; then |
7901 XEGCC=yes | 7900 XEGCC=yes |
7902 else | 7901 else |
7903 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7902 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7904 echo "configure:7905: checking checking whether we are using GNU C" >&5 | 7903 echo "configure:7904: checking checking whether we are using GNU C" >&5 |
7905 cat > conftest.$ac_ext <<EOF | 7904 cat > conftest.$ac_ext <<EOF |
7906 #line 7907 "configure" | 7905 #line 7906 "configure" |
7907 #include "confdefs.h" | 7906 #include "confdefs.h" |
7908 | 7907 |
7909 #ifdef __GNUC__ | 7908 #ifdef __GNUC__ |
7910 yes; | 7909 yes; |
7911 #endif | 7910 #endif |
7923 | 7922 |
7924 echo "$ac_t""${XEGCC}" 1>&6 | 7923 echo "$ac_t""${XEGCC}" 1>&6 |
7925 fi | 7924 fi |
7926 | 7925 |
7927 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7926 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7928 echo "configure:7929: checking how to produce PIC code" >&5 | 7927 echo "configure:7928: checking how to produce PIC code" >&5 |
7929 wl= | 7928 wl= |
7930 | 7929 |
7931 can_build_shared=yes | 7930 can_build_shared=yes |
7932 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7931 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7933 wl='-Wl,' | 7932 wl='-Wl,' |
8027 if test -n "$dll_cflags"; then | 8026 if test -n "$dll_cflags"; then |
8028 echo "$ac_t""${dll_cflags}" 1>&6 | 8027 echo "$ac_t""${dll_cflags}" 1>&6 |
8029 | 8028 |
8030 # Check to make sure the dll_cflags actually works. | 8029 # Check to make sure the dll_cflags actually works. |
8031 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8030 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8032 echo "configure:8033: checking if PIC flag ${dll_cflags} really works" >&5 | 8031 echo "configure:8032: checking if PIC flag ${dll_cflags} really works" >&5 |
8033 save_CFLAGS="$CFLAGS" | 8032 save_CFLAGS="$CFLAGS" |
8034 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8033 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8035 cat > conftest.$ac_ext <<EOF | 8034 cat > conftest.$ac_ext <<EOF |
8036 #line 8037 "configure" | 8035 #line 8036 "configure" |
8037 #include "confdefs.h" | 8036 #include "confdefs.h" |
8038 | 8037 |
8039 int main() { | 8038 int main() { |
8040 int x=0; | 8039 int x=0; |
8041 ; return 0; } | 8040 ; return 0; } |
8042 EOF | 8041 EOF |
8043 if { (eval echo configure:8044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8042 if { (eval echo configure:8043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8044 rm -rf conftest* | 8043 rm -rf conftest* |
8045 | 8044 |
8046 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8045 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8047 # reports no error. So, we need to grep stderr for (Bundled). | 8046 # reports no error. So, we need to grep stderr for (Bundled). |
8048 if grep '(Bundled)' config.log >/dev/null; then | 8047 if grep '(Bundled)' config.log >/dev/null; then |
8069 if test "$can_build_shared" = "yes"; then | 8068 if test "$can_build_shared" = "yes"; then |
8070 cc_produces_so=no | 8069 cc_produces_so=no |
8071 xldf= | 8070 xldf= |
8072 xcldf= | 8071 xcldf= |
8073 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8072 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8074 echo "configure:8075: checking if C compiler can produce shared libraries" >&5 | 8073 echo "configure:8074: checking if C compiler can produce shared libraries" >&5 |
8075 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8074 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8076 case "$xehost_os" in | 8075 case "$xehost_os" in |
8077 *darwin*) | 8076 *darwin*) |
8078 xcldf='-bundle' | 8077 xcldf='-bundle' |
8079 xldf='-bundle -bundle_loader ../../src/xemacs' | 8078 xldf='-bundle -bundle_loader ../../src/xemacs' |
8128 LDFLAGS="$xcldf $LDFLAGS" | 8127 LDFLAGS="$xcldf $LDFLAGS" |
8129 LIBS= | 8128 LIBS= |
8130 xe_libs= | 8129 xe_libs= |
8131 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8130 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8132 cat > conftest.$ac_ext <<EOF | 8131 cat > conftest.$ac_ext <<EOF |
8133 #line 8134 "configure" | 8132 #line 8133 "configure" |
8134 #include "confdefs.h" | 8133 #include "confdefs.h" |
8135 | 8134 |
8136 int main() { | 8135 int main() { |
8137 int x=0; | 8136 int x=0; |
8138 ; return 0; } | 8137 ; return 0; } |
8139 EOF | 8138 EOF |
8140 if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8139 if { (eval echo configure:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8141 rm -rf conftest* | 8140 rm -rf conftest* |
8142 cc_produces_so=yes | 8141 cc_produces_so=yes |
8143 else | 8142 else |
8144 echo "configure: failed program was:" >&5 | 8143 echo "configure: failed program was:" >&5 |
8145 cat conftest.$ac_ext >&5 | 8144 cat conftest.$ac_ext >&5 |
8160 if test -z "$LTLD"; then | 8159 if test -z "$LTLD"; then |
8161 ac_prog=ld | 8160 ac_prog=ld |
8162 if test "$XEGCC" = yes; then | 8161 if test "$XEGCC" = yes; then |
8163 # Check if gcc -print-prog-name=ld gives a path. | 8162 # Check if gcc -print-prog-name=ld gives a path. |
8164 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8163 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8165 echo "configure:8166: checking for ld used by GCC" >&5 | 8164 echo "configure:8165: checking for ld used by GCC" >&5 |
8166 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8165 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8167 case "$ac_prog" in | 8166 case "$ac_prog" in |
8168 # Accept absolute paths. | 8167 # Accept absolute paths. |
8169 /*) | 8168 /*) |
8170 if test -z "$LTLD"; then | 8169 if test -z "$LTLD"; then |
8186 with_gnu_ld=unknown | 8185 with_gnu_ld=unknown |
8187 ;; | 8186 ;; |
8188 esac | 8187 esac |
8189 else | 8188 else |
8190 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8189 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8191 echo "configure:8192: checking for GNU ld" >&5 | 8190 echo "configure:8191: checking for GNU ld" >&5 |
8192 fi | 8191 fi |
8193 | 8192 |
8194 if test -z "$LTLD"; then | 8193 if test -z "$LTLD"; then |
8195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8196 for ac_dir in $PATH; do | 8195 for ac_dir in $PATH; do |
8224 | 8223 |
8225 ld_dynamic_link_flags= | 8224 ld_dynamic_link_flags= |
8226 | 8225 |
8227 # Check to see if it really is or isn't GNU ld. | 8226 # Check to see if it really is or isn't GNU ld. |
8228 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8227 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8229 echo "configure:8230: checking if the linker is GNU ld" >&5 | 8228 echo "configure:8229: checking if the linker is GNU ld" >&5 |
8230 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8229 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8231 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8230 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8232 xe_gnu_ld=yes | 8231 xe_gnu_ld=yes |
8233 else | 8232 else |
8234 xe_gnu_ld=no | 8233 xe_gnu_ld=no |
8259 ld_shlibs=yes | 8258 ld_shlibs=yes |
8260 else | 8259 else |
8261 # OK - only NOW do we futz about with ld. | 8260 # OK - only NOW do we futz about with ld. |
8262 # See if the linker supports building shared libraries. | 8261 # See if the linker supports building shared libraries. |
8263 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8262 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8264 echo "configure:8265: checking whether the linker supports shared libraries" >&5 | 8263 echo "configure:8264: checking whether the linker supports shared libraries" >&5 |
8265 dll_ld=$CC | 8264 dll_ld=$CC |
8266 dll_ldflags=$LDFLAGS | 8265 dll_ldflags=$LDFLAGS |
8267 ld_shlibs=yes | 8266 ld_shlibs=yes |
8268 can_build_shared=yes | 8267 can_build_shared=yes |
8269 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8268 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
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 | 8471 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8473 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8472 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8474 for ac_func in dlerror _dlerror | 8473 for ac_func in dlerror _dlerror |
8475 do | 8474 do |
8476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8477 echo "configure:8478: checking for $ac_func" >&5 | 8476 echo "configure:8477: checking for $ac_func" >&5 |
8478 | 8477 |
8479 cat > conftest.$ac_ext <<EOF | 8478 cat > conftest.$ac_ext <<EOF |
8480 #line 8481 "configure" | 8479 #line 8480 "configure" |
8481 #include "confdefs.h" | 8480 #include "confdefs.h" |
8482 /* System header to define __stub macros and hopefully few prototypes, | 8481 /* System header to define __stub macros and hopefully few prototypes, |
8483 which can conflict with char $ac_func(); below. */ | 8482 which can conflict with char $ac_func(); below. */ |
8484 #include <assert.h> | 8483 #include <assert.h> |
8485 /* Override any gcc2 internal prototype to avoid an error. */ | 8484 /* Override any gcc2 internal prototype to avoid an error. */ |
8498 $ac_func(); | 8497 $ac_func(); |
8499 #endif | 8498 #endif |
8500 | 8499 |
8501 ; return 0; } | 8500 ; return 0; } |
8502 EOF | 8501 EOF |
8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8502 if { (eval echo configure:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8504 rm -rf conftest* | 8503 rm -rf conftest* |
8505 eval "ac_cv_func_$ac_func=yes" | 8504 eval "ac_cv_func_$ac_func=yes" |
8506 else | 8505 else |
8507 echo "configure: failed program was:" >&5 | 8506 echo "configure: failed program was:" >&5 |
8508 cat conftest.$ac_ext >&5 | 8507 cat conftest.$ac_ext >&5 |
8562 | 8561 |
8563 if test "$with_tooltalk" != "no" ; then | 8562 if test "$with_tooltalk" != "no" ; then |
8564 for dir in "" "Tt/" "desktop/" ; do | 8563 for dir in "" "Tt/" "desktop/" ; do |
8565 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8564 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8566 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8565 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8567 echo "configure:8568: checking for ${dir}tt_c.h" >&5 | 8566 echo "configure:8567: checking for ${dir}tt_c.h" >&5 |
8568 | 8567 |
8569 cat > conftest.$ac_ext <<EOF | 8568 cat > conftest.$ac_ext <<EOF |
8570 #line 8571 "configure" | 8569 #line 8570 "configure" |
8571 #include "confdefs.h" | 8570 #include "confdefs.h" |
8572 #include <${dir}tt_c.h> | 8571 #include <${dir}tt_c.h> |
8573 EOF | 8572 EOF |
8574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8575 { (eval echo configure:8576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8577 if test -z "$ac_err"; then | 8576 if test -z "$ac_err"; then |
8578 rm -rf conftest* | 8577 rm -rf conftest* |
8579 eval "ac_cv_header_$ac_safe=yes" | 8578 eval "ac_cv_header_$ac_safe=yes" |
8580 else | 8579 else |
8606 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8605 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8607 | 8606 |
8608 xe_msg_checking="for tt_message_create in -ltt" | 8607 xe_msg_checking="for tt_message_create in -ltt" |
8609 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8608 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8610 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8609 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8611 echo "configure:8612: checking "$xe_msg_checking"" >&5 | 8610 echo "configure:8611: checking "$xe_msg_checking"" >&5 |
8612 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8611 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8613 | 8612 |
8614 xe_check_libs=" -ltt $extra_libs" | 8613 xe_check_libs=" -ltt $extra_libs" |
8615 cat > conftest.$ac_ext <<EOF | 8614 cat > conftest.$ac_ext <<EOF |
8616 #line 8617 "configure" | 8615 #line 8616 "configure" |
8617 #include "confdefs.h" | 8616 #include "confdefs.h" |
8618 /* Override any gcc2 internal prototype to avoid an error. */ | 8617 /* Override any gcc2 internal prototype to avoid an error. */ |
8619 /* We use char because int might match the return type of a gcc2 | 8618 /* We use char because int might match the return type of a gcc2 |
8620 builtin and then its argument prototype would still apply. */ | 8619 builtin and then its argument prototype would still apply. */ |
8621 char tt_message_create(); | 8620 char tt_message_create(); |
8622 | 8621 |
8623 int main() { | 8622 int main() { |
8624 tt_message_create() | 8623 tt_message_create() |
8625 ; return 0; } | 8624 ; return 0; } |
8626 EOF | 8625 EOF |
8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8626 if { (eval echo configure:8627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8628 rm -rf conftest* | 8627 rm -rf conftest* |
8629 eval "ac_cv_lib_$ac_lib_var=yes" | 8628 eval "ac_cv_lib_$ac_lib_var=yes" |
8630 else | 8629 else |
8631 echo "configure: failed program was:" >&5 | 8630 echo "configure: failed program was:" >&5 |
8632 cat conftest.$ac_ext >&5 | 8631 cat conftest.$ac_ext >&5 |
8676 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8675 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8677 fi | 8676 fi |
8678 | 8677 |
8679 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8678 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8680 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8679 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8681 echo "configure:8682: checking for Dt/Dt.h" >&5 | 8680 echo "configure:8681: checking for Dt/Dt.h" >&5 |
8682 | 8681 |
8683 cat > conftest.$ac_ext <<EOF | 8682 cat > conftest.$ac_ext <<EOF |
8684 #line 8685 "configure" | 8683 #line 8684 "configure" |
8685 #include "confdefs.h" | 8684 #include "confdefs.h" |
8686 #include <Dt/Dt.h> | 8685 #include <Dt/Dt.h> |
8687 EOF | 8686 EOF |
8688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8689 { (eval echo configure:8690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8688 { (eval echo configure:8689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8691 if test -z "$ac_err"; then | 8690 if test -z "$ac_err"; then |
8692 rm -rf conftest* | 8691 rm -rf conftest* |
8693 eval "ac_cv_header_$ac_safe=yes" | 8692 eval "ac_cv_header_$ac_safe=yes" |
8694 else | 8693 else |
8707 with_cde=no | 8706 with_cde=no |
8708 fi | 8707 fi |
8709 } | 8708 } |
8710 test -z "$with_cde" && { | 8709 test -z "$with_cde" && { |
8711 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8710 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8712 echo "configure:8713: checking for DtDndDragStart in -lDtSvc" >&5 | 8711 echo "configure:8712: checking for DtDndDragStart in -lDtSvc" >&5 |
8713 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8712 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8714 | 8713 |
8715 xe_check_libs=" -lDtSvc " | 8714 xe_check_libs=" -lDtSvc " |
8716 cat > conftest.$ac_ext <<EOF | 8715 cat > conftest.$ac_ext <<EOF |
8717 #line 8718 "configure" | 8716 #line 8717 "configure" |
8718 #include "confdefs.h" | 8717 #include "confdefs.h" |
8719 /* Override any gcc2 internal prototype to avoid an error. */ | 8718 /* Override any gcc2 internal prototype to avoid an error. */ |
8720 /* We use char because int might match the return type of a gcc2 | 8719 /* We use char because int might match the return type of a gcc2 |
8721 builtin and then its argument prototype would still apply. */ | 8720 builtin and then its argument prototype would still apply. */ |
8722 char DtDndDragStart(); | 8721 char DtDndDragStart(); |
8723 | 8722 |
8724 int main() { | 8723 int main() { |
8725 DtDndDragStart() | 8724 DtDndDragStart() |
8726 ; return 0; } | 8725 ; return 0; } |
8727 EOF | 8726 EOF |
8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8727 if { (eval echo configure:8728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8729 rm -rf conftest* | 8728 rm -rf conftest* |
8730 eval "ac_cv_lib_$ac_lib_var=yes" | 8729 eval "ac_cv_lib_$ac_lib_var=yes" |
8731 else | 8730 else |
8732 echo "configure: failed program was:" >&5 | 8731 echo "configure: failed program was:" >&5 |
8733 cat conftest.$ac_ext >&5 | 8732 cat conftest.$ac_ext >&5 |
8804 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8803 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8805 fi | 8804 fi |
8806 | 8805 |
8807 if test "$with_dragndrop" != "no" ; then | 8806 if test "$with_dragndrop" != "no" ; then |
8808 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8807 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8809 echo "configure:8810: checking if drag and drop API is needed" >&5 | 8808 echo "configure:8809: checking if drag and drop API is needed" >&5 |
8810 if test -n "$dragndrop_proto" ; then | 8809 if test -n "$dragndrop_proto" ; then |
8811 with_dragndrop=yes | 8810 with_dragndrop=yes |
8812 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8811 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8813 { test "$extra_verbose" = "yes" && cat << \EOF | 8812 { test "$extra_verbose" = "yes" && cat << \EOF |
8814 Defining HAVE_DRAGNDROP | 8813 Defining HAVE_DRAGNDROP |
8824 echo "$ac_t""no" 1>&6 | 8823 echo "$ac_t""no" 1>&6 |
8825 fi | 8824 fi |
8826 fi | 8825 fi |
8827 | 8826 |
8828 echo "checking for LDAP" 1>&6 | 8827 echo "checking for LDAP" 1>&6 |
8829 echo "configure:8830: checking for LDAP" >&5 | 8828 echo "configure:8829: checking for LDAP" >&5 |
8830 ldap_libs= | 8829 ldap_libs= |
8831 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8830 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8832 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8831 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8833 echo "configure:8834: checking for ldap.h" >&5 | 8832 echo "configure:8833: checking for ldap.h" >&5 |
8834 | 8833 |
8835 cat > conftest.$ac_ext <<EOF | 8834 cat > conftest.$ac_ext <<EOF |
8836 #line 8837 "configure" | 8835 #line 8836 "configure" |
8837 #include "confdefs.h" | 8836 #include "confdefs.h" |
8838 #include <ldap.h> | 8837 #include <ldap.h> |
8839 EOF | 8838 EOF |
8840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8841 { (eval echo configure:8842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8840 { (eval echo configure:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8843 if test -z "$ac_err"; then | 8842 if test -z "$ac_err"; then |
8844 rm -rf conftest* | 8843 rm -rf conftest* |
8845 eval "ac_cv_header_$ac_safe=yes" | 8844 eval "ac_cv_header_$ac_safe=yes" |
8846 else | 8845 else |
8859 with_ldap=no | 8858 with_ldap=no |
8860 fi | 8859 fi |
8861 } | 8860 } |
8862 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8861 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8863 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8862 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8864 echo "configure:8865: checking for lber.h" >&5 | 8863 echo "configure:8864: checking for lber.h" >&5 |
8865 | 8864 |
8866 cat > conftest.$ac_ext <<EOF | 8865 cat > conftest.$ac_ext <<EOF |
8867 #line 8868 "configure" | 8866 #line 8867 "configure" |
8868 #include "confdefs.h" | 8867 #include "confdefs.h" |
8869 #include <lber.h> | 8868 #include <lber.h> |
8870 EOF | 8869 EOF |
8871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8872 { (eval echo configure:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8871 { (eval echo configure:8872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8874 if test -z "$ac_err"; then | 8873 if test -z "$ac_err"; then |
8875 rm -rf conftest* | 8874 rm -rf conftest* |
8876 eval "ac_cv_header_$ac_safe=yes" | 8875 eval "ac_cv_header_$ac_safe=yes" |
8877 else | 8876 else |
8891 fi | 8890 fi |
8892 } | 8891 } |
8893 if test "$with_ldap" != "no"; then | 8892 if test "$with_ldap" != "no"; then |
8894 | 8893 |
8895 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8894 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8896 echo "configure:8897: checking for ldap_search in -lldap" >&5 | 8895 echo "configure:8896: checking for ldap_search in -lldap" >&5 |
8897 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8896 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8898 | 8897 |
8899 xe_check_libs=" -lldap " | 8898 xe_check_libs=" -lldap " |
8900 cat > conftest.$ac_ext <<EOF | 8899 cat > conftest.$ac_ext <<EOF |
8901 #line 8902 "configure" | 8900 #line 8901 "configure" |
8902 #include "confdefs.h" | 8901 #include "confdefs.h" |
8903 /* Override any gcc2 internal prototype to avoid an error. */ | 8902 /* Override any gcc2 internal prototype to avoid an error. */ |
8904 /* We use char because int might match the return type of a gcc2 | 8903 /* We use char because int might match the return type of a gcc2 |
8905 builtin and then its argument prototype would still apply. */ | 8904 builtin and then its argument prototype would still apply. */ |
8906 char ldap_search(); | 8905 char ldap_search(); |
8907 | 8906 |
8908 int main() { | 8907 int main() { |
8909 ldap_search() | 8908 ldap_search() |
8910 ; return 0; } | 8909 ; return 0; } |
8911 EOF | 8910 EOF |
8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8911 if { (eval echo configure:8912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8913 rm -rf conftest* | 8912 rm -rf conftest* |
8914 eval "ac_cv_lib_$ac_lib_var=yes" | 8913 eval "ac_cv_lib_$ac_lib_var=yes" |
8915 else | 8914 else |
8916 echo "configure: failed program was:" >&5 | 8915 echo "configure: failed program was:" >&5 |
8917 cat conftest.$ac_ext >&5 | 8916 cat conftest.$ac_ext >&5 |
8932 | 8931 |
8933 test "$with_ldap_nolber" = "no" && { | 8932 test "$with_ldap_nolber" = "no" && { |
8934 xe_msg_checking="for ldap_open in -lldap" | 8933 xe_msg_checking="for ldap_open in -lldap" |
8935 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8934 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8935 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8937 echo "configure:8938: checking "$xe_msg_checking"" >&5 | 8936 echo "configure:8937: checking "$xe_msg_checking"" >&5 |
8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8937 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8939 | 8938 |
8940 xe_check_libs=" -lldap -llber" | 8939 xe_check_libs=" -lldap -llber" |
8941 cat > conftest.$ac_ext <<EOF | 8940 cat > conftest.$ac_ext <<EOF |
8942 #line 8943 "configure" | 8941 #line 8942 "configure" |
8943 #include "confdefs.h" | 8942 #include "confdefs.h" |
8944 /* Override any gcc2 internal prototype to avoid an error. */ | 8943 /* Override any gcc2 internal prototype to avoid an error. */ |
8945 /* We use char because int might match the return type of a gcc2 | 8944 /* We use char because int might match the return type of a gcc2 |
8946 builtin and then its argument prototype would still apply. */ | 8945 builtin and then its argument prototype would still apply. */ |
8947 char ldap_open(); | 8946 char ldap_open(); |
8948 | 8947 |
8949 int main() { | 8948 int main() { |
8950 ldap_open() | 8949 ldap_open() |
8951 ; return 0; } | 8950 ; return 0; } |
8952 EOF | 8951 EOF |
8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8952 if { (eval echo configure:8953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8954 rm -rf conftest* | 8953 rm -rf conftest* |
8955 eval "ac_cv_lib_$ac_lib_var=yes" | 8954 eval "ac_cv_lib_$ac_lib_var=yes" |
8956 else | 8955 else |
8957 echo "configure: failed program was:" >&5 | 8956 echo "configure: failed program was:" >&5 |
8958 cat conftest.$ac_ext >&5 | 8957 cat conftest.$ac_ext >&5 |
8973 } | 8972 } |
8974 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8973 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8975 xe_msg_checking="for ldap_open in -lldap" | 8974 xe_msg_checking="for ldap_open in -lldap" |
8976 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8975 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8977 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8976 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8978 echo "configure:8979: checking "$xe_msg_checking"" >&5 | 8977 echo "configure:8978: checking "$xe_msg_checking"" >&5 |
8979 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8978 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8980 | 8979 |
8981 xe_check_libs=" -lldap -llber -lkrb" | 8980 xe_check_libs=" -lldap -llber -lkrb" |
8982 cat > conftest.$ac_ext <<EOF | 8981 cat > conftest.$ac_ext <<EOF |
8983 #line 8984 "configure" | 8982 #line 8983 "configure" |
8984 #include "confdefs.h" | 8983 #include "confdefs.h" |
8985 /* Override any gcc2 internal prototype to avoid an error. */ | 8984 /* Override any gcc2 internal prototype to avoid an error. */ |
8986 /* We use char because int might match the return type of a gcc2 | 8985 /* We use char because int might match the return type of a gcc2 |
8987 builtin and then its argument prototype would still apply. */ | 8986 builtin and then its argument prototype would still apply. */ |
8988 char ldap_open(); | 8987 char ldap_open(); |
8989 | 8988 |
8990 int main() { | 8989 int main() { |
8991 ldap_open() | 8990 ldap_open() |
8992 ; return 0; } | 8991 ; return 0; } |
8993 EOF | 8992 EOF |
8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8993 if { (eval echo configure:8994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8995 rm -rf conftest* | 8994 rm -rf conftest* |
8996 eval "ac_cv_lib_$ac_lib_var=yes" | 8995 eval "ac_cv_lib_$ac_lib_var=yes" |
8997 else | 8996 else |
8998 echo "configure: failed program was:" >&5 | 8997 echo "configure: failed program was:" >&5 |
8999 cat conftest.$ac_ext >&5 | 8998 cat conftest.$ac_ext >&5 |
9014 } | 9013 } |
9015 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 9014 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
9016 xe_msg_checking="for ldap_open in -lldap" | 9015 xe_msg_checking="for ldap_open in -lldap" |
9017 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9016 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9018 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9017 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9019 echo "configure:9020: checking "$xe_msg_checking"" >&5 | 9018 echo "configure:9019: checking "$xe_msg_checking"" >&5 |
9020 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9019 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9021 | 9020 |
9022 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9021 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9023 cat > conftest.$ac_ext <<EOF | 9022 cat > conftest.$ac_ext <<EOF |
9024 #line 9025 "configure" | 9023 #line 9024 "configure" |
9025 #include "confdefs.h" | 9024 #include "confdefs.h" |
9026 /* Override any gcc2 internal prototype to avoid an error. */ | 9025 /* Override any gcc2 internal prototype to avoid an error. */ |
9027 /* We use char because int might match the return type of a gcc2 | 9026 /* We use char because int might match the return type of a gcc2 |
9028 builtin and then its argument prototype would still apply. */ | 9027 builtin and then its argument prototype would still apply. */ |
9029 char ldap_open(); | 9028 char ldap_open(); |
9030 | 9029 |
9031 int main() { | 9030 int main() { |
9032 ldap_open() | 9031 ldap_open() |
9033 ; return 0; } | 9032 ; return 0; } |
9034 EOF | 9033 EOF |
9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9036 rm -rf conftest* | 9035 rm -rf conftest* |
9037 eval "ac_cv_lib_$ac_lib_var=yes" | 9036 eval "ac_cv_lib_$ac_lib_var=yes" |
9038 else | 9037 else |
9039 echo "configure: failed program was:" >&5 | 9038 echo "configure: failed program was:" >&5 |
9040 cat conftest.$ac_ext >&5 | 9039 cat conftest.$ac_ext >&5 |
9079 fi | 9078 fi |
9080 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9079 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9081 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9080 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9082 do | 9081 do |
9083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9084 echo "configure:9085: checking for $ac_func" >&5 | 9083 echo "configure:9084: checking for $ac_func" >&5 |
9085 | 9084 |
9086 cat > conftest.$ac_ext <<EOF | 9085 cat > conftest.$ac_ext <<EOF |
9087 #line 9088 "configure" | 9086 #line 9087 "configure" |
9088 #include "confdefs.h" | 9087 #include "confdefs.h" |
9089 /* System header to define __stub macros and hopefully few prototypes, | 9088 /* System header to define __stub macros and hopefully few prototypes, |
9090 which can conflict with char $ac_func(); below. */ | 9089 which can conflict with char $ac_func(); below. */ |
9091 #include <assert.h> | 9090 #include <assert.h> |
9092 /* Override any gcc2 internal prototype to avoid an error. */ | 9091 /* Override any gcc2 internal prototype to avoid an error. */ |
9105 $ac_func(); | 9104 $ac_func(); |
9106 #endif | 9105 #endif |
9107 | 9106 |
9108 ; return 0; } | 9107 ; return 0; } |
9109 EOF | 9108 EOF |
9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9109 if { (eval echo configure:9110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9111 rm -rf conftest* | 9110 rm -rf conftest* |
9112 eval "ac_cv_func_$ac_func=yes" | 9111 eval "ac_cv_func_$ac_func=yes" |
9113 else | 9112 else |
9114 echo "configure: failed program was:" >&5 | 9113 echo "configure: failed program was:" >&5 |
9115 cat conftest.$ac_ext >&5 | 9114 cat conftest.$ac_ext >&5 |
9144 | 9143 |
9145 | 9144 |
9146 postgresql_libs= | 9145 postgresql_libs= |
9147 if test "$with_postgresql" != "no"; then | 9146 if test "$with_postgresql" != "no"; then |
9148 echo "checking for PostgreSQL" 1>&6 | 9147 echo "checking for PostgreSQL" 1>&6 |
9149 echo "configure:9150: checking for PostgreSQL" >&5 | 9148 echo "configure:9149: checking for PostgreSQL" >&5 |
9150 | 9149 |
9151 for header_dir in "" "pgsql/" "postgresql/"; do | 9150 for header_dir in "" "pgsql/" "postgresql/"; do |
9152 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9151 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9153 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9154 echo "configure:9155: checking for ${header_dir}libpq-fe.h" >&5 | 9153 echo "configure:9154: checking for ${header_dir}libpq-fe.h" >&5 |
9155 | 9154 |
9156 cat > conftest.$ac_ext <<EOF | 9155 cat > conftest.$ac_ext <<EOF |
9157 #line 9158 "configure" | 9156 #line 9157 "configure" |
9158 #include "confdefs.h" | 9157 #include "confdefs.h" |
9159 #include <${header_dir}libpq-fe.h> | 9158 #include <${header_dir}libpq-fe.h> |
9160 EOF | 9159 EOF |
9161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9162 { (eval echo configure:9163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9161 { (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9164 if test -z "$ac_err"; then | 9163 if test -z "$ac_err"; then |
9165 rm -rf conftest* | 9164 rm -rf conftest* |
9166 eval "ac_cv_header_$ac_safe=yes" | 9165 eval "ac_cv_header_$ac_safe=yes" |
9167 else | 9166 else |
9181 | 9180 |
9182 done | 9181 done |
9183 | 9182 |
9184 test -n "$libpq_fe_h_file" && { | 9183 test -n "$libpq_fe_h_file" && { |
9185 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9184 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9186 echo "configure:9187: checking for PQconnectdb in -lpq" >&5 | 9185 echo "configure:9186: checking for PQconnectdb in -lpq" >&5 |
9187 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9186 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9188 | 9187 |
9189 xe_check_libs=" -lpq " | 9188 xe_check_libs=" -lpq " |
9190 cat > conftest.$ac_ext <<EOF | 9189 cat > conftest.$ac_ext <<EOF |
9191 #line 9192 "configure" | 9190 #line 9191 "configure" |
9192 #include "confdefs.h" | 9191 #include "confdefs.h" |
9193 /* Override any gcc2 internal prototype to avoid an error. */ | 9192 /* Override any gcc2 internal prototype to avoid an error. */ |
9194 /* We use char because int might match the return type of a gcc2 | 9193 /* We use char because int might match the return type of a gcc2 |
9195 builtin and then its argument prototype would still apply. */ | 9194 builtin and then its argument prototype would still apply. */ |
9196 char PQconnectdb(); | 9195 char PQconnectdb(); |
9197 | 9196 |
9198 int main() { | 9197 int main() { |
9199 PQconnectdb() | 9198 PQconnectdb() |
9200 ; return 0; } | 9199 ; return 0; } |
9201 EOF | 9200 EOF |
9202 if { (eval echo configure:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9201 if { (eval echo configure:9202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9203 rm -rf conftest* | 9202 rm -rf conftest* |
9204 eval "ac_cv_lib_$ac_lib_var=yes" | 9203 eval "ac_cv_lib_$ac_lib_var=yes" |
9205 else | 9204 else |
9206 echo "configure: failed program was:" >&5 | 9205 echo "configure: failed program was:" >&5 |
9207 cat conftest.$ac_ext >&5 | 9206 cat conftest.$ac_ext >&5 |
9230 EOF | 9229 EOF |
9231 } | 9230 } |
9232 | 9231 |
9233 | 9232 |
9234 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9233 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9235 echo "configure:9236: checking for PQconnectStart in -lpq" >&5 | 9234 echo "configure:9235: checking for PQconnectStart in -lpq" >&5 |
9236 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9235 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9237 | 9236 |
9238 xe_check_libs=" -lpq " | 9237 xe_check_libs=" -lpq " |
9239 cat > conftest.$ac_ext <<EOF | 9238 cat > conftest.$ac_ext <<EOF |
9240 #line 9241 "configure" | 9239 #line 9240 "configure" |
9241 #include "confdefs.h" | 9240 #include "confdefs.h" |
9242 /* Override any gcc2 internal prototype to avoid an error. */ | 9241 /* Override any gcc2 internal prototype to avoid an error. */ |
9243 /* We use char because int might match the return type of a gcc2 | 9242 /* We use char because int might match the return type of a gcc2 |
9244 builtin and then its argument prototype would still apply. */ | 9243 builtin and then its argument prototype would still apply. */ |
9245 char PQconnectStart(); | 9244 char PQconnectStart(); |
9246 | 9245 |
9247 int main() { | 9246 int main() { |
9248 PQconnectStart() | 9247 PQconnectStart() |
9249 ; return 0; } | 9248 ; return 0; } |
9250 EOF | 9249 EOF |
9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9252 rm -rf conftest* | 9251 rm -rf conftest* |
9253 eval "ac_cv_lib_$ac_lib_var=yes" | 9252 eval "ac_cv_lib_$ac_lib_var=yes" |
9254 else | 9253 else |
9255 echo "configure: failed program was:" >&5 | 9254 echo "configure: failed program was:" >&5 |
9256 cat conftest.$ac_ext >&5 | 9255 cat conftest.$ac_ext >&5 |
9297 | 9296 |
9298 | 9297 |
9299 | 9298 |
9300 if test "$window_system" != "none"; then | 9299 if test "$window_system" != "none"; then |
9301 echo "checking for graphics libraries" 1>&6 | 9300 echo "checking for graphics libraries" 1>&6 |
9302 echo "configure:9303: checking for graphics libraries" >&5 | 9301 echo "configure:9302: checking for graphics libraries" >&5 |
9303 | 9302 |
9304 libpath_xpm= | 9303 libpath_xpm= |
9305 incpath_xpm= | 9304 incpath_xpm= |
9306 case "$opsys" in | 9305 case "$opsys" in |
9307 cygwin*) | 9306 cygwin*) |
9323 xpm_problem="" | 9322 xpm_problem="" |
9324 if test -z "$with_xpm"; then | 9323 if test -z "$with_xpm"; then |
9325 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9324 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9326 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9325 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9327 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9326 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9328 echo "configure:9329: checking for Xpm - no older than 3.4f" >&5 | 9327 echo "configure:9328: checking for Xpm - no older than 3.4f" >&5 |
9329 xe_check_libs=-lXpm | 9328 xe_check_libs=-lXpm |
9330 cat > conftest.$ac_ext <<EOF | 9329 cat > conftest.$ac_ext <<EOF |
9331 #line 9332 "configure" | 9330 #line 9331 "configure" |
9332 #include "confdefs.h" | 9331 #include "confdefs.h" |
9333 #define XPM_NUMBERS | 9332 #define XPM_NUMBERS |
9334 #include <X11/xpm.h> | 9333 #include <X11/xpm.h> |
9335 int main(int c, char **v) { | 9334 int main(int c, char **v) { |
9336 return c == 1 ? 0 : | 9335 return c == 1 ? 0 : |
9337 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9336 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9338 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9337 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9339 EOF | 9338 EOF |
9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9339 if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9341 then | 9340 then |
9342 ./conftest dummy_arg; xpm_status=$?; | 9341 ./conftest dummy_arg; xpm_status=$?; |
9343 if test "$xpm_status" = "0"; then | 9342 if test "$xpm_status" = "0"; then |
9344 with_xpm=yes; | 9343 with_xpm=yes; |
9345 else | 9344 else |
9379 | 9378 |
9380 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9379 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9381 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9380 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9382 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9381 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9383 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9382 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9384 echo "configure:9385: checking for \"FOR_MSW\" xpm" >&5 | 9383 echo "configure:9384: checking for \"FOR_MSW\" xpm" >&5 |
9385 xe_check_libs=-lXpm | 9384 xe_check_libs=-lXpm |
9386 cat > conftest.$ac_ext <<EOF | 9385 cat > conftest.$ac_ext <<EOF |
9387 #line 9388 "configure" | 9386 #line 9387 "configure" |
9388 #include "confdefs.h" | 9387 #include "confdefs.h" |
9389 | 9388 |
9390 int main() { | 9389 int main() { |
9391 XpmCreatePixmapFromData() | 9390 XpmCreatePixmapFromData() |
9392 ; return 0; } | 9391 ; return 0; } |
9393 EOF | 9392 EOF |
9394 if { (eval echo configure:9395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9395 rm -rf conftest* | 9394 rm -rf conftest* |
9396 xpm_for_msw=no | 9395 xpm_for_msw=no |
9397 else | 9396 else |
9398 echo "configure: failed program was:" >&5 | 9397 echo "configure: failed program was:" >&5 |
9399 cat conftest.$ac_ext >&5 | 9398 cat conftest.$ac_ext >&5 |
9415 fi | 9414 fi |
9416 fi | 9415 fi |
9417 | 9416 |
9418 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9417 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9419 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9420 echo "configure:9421: checking for compface.h" >&5 | 9419 echo "configure:9420: checking for compface.h" >&5 |
9421 | 9420 |
9422 cat > conftest.$ac_ext <<EOF | 9421 cat > conftest.$ac_ext <<EOF |
9423 #line 9424 "configure" | 9422 #line 9423 "configure" |
9424 #include "confdefs.h" | 9423 #include "confdefs.h" |
9425 #include <compface.h> | 9424 #include <compface.h> |
9426 EOF | 9425 EOF |
9427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9428 { (eval echo configure:9429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9430 if test -z "$ac_err"; then | 9429 if test -z "$ac_err"; then |
9431 rm -rf conftest* | 9430 rm -rf conftest* |
9432 eval "ac_cv_header_$ac_safe=yes" | 9431 eval "ac_cv_header_$ac_safe=yes" |
9433 else | 9432 else |
9446 with_xface=no | 9445 with_xface=no |
9447 fi | 9446 fi |
9448 } | 9447 } |
9449 test -z "$with_xface" && { | 9448 test -z "$with_xface" && { |
9450 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9449 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9451 echo "configure:9452: checking for UnGenFace in -lcompface" >&5 | 9450 echo "configure:9451: checking for UnGenFace in -lcompface" >&5 |
9452 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9451 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9453 | 9452 |
9454 xe_check_libs=" -lcompface " | 9453 xe_check_libs=" -lcompface " |
9455 cat > conftest.$ac_ext <<EOF | 9454 cat > conftest.$ac_ext <<EOF |
9456 #line 9457 "configure" | 9455 #line 9456 "configure" |
9457 #include "confdefs.h" | 9456 #include "confdefs.h" |
9458 /* Override any gcc2 internal prototype to avoid an error. */ | 9457 /* Override any gcc2 internal prototype to avoid an error. */ |
9459 /* We use char because int might match the return type of a gcc2 | 9458 /* We use char because int might match the return type of a gcc2 |
9460 builtin and then its argument prototype would still apply. */ | 9459 builtin and then its argument prototype would still apply. */ |
9461 char UnGenFace(); | 9460 char UnGenFace(); |
9462 | 9461 |
9463 int main() { | 9462 int main() { |
9464 UnGenFace() | 9463 UnGenFace() |
9465 ; return 0; } | 9464 ; return 0; } |
9466 EOF | 9465 EOF |
9467 if { (eval echo configure:9468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9466 if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9468 rm -rf conftest* | 9467 rm -rf conftest* |
9469 eval "ac_cv_lib_$ac_lib_var=yes" | 9468 eval "ac_cv_lib_$ac_lib_var=yes" |
9470 else | 9469 else |
9471 echo "configure: failed program was:" >&5 | 9470 echo "configure: failed program was:" >&5 |
9472 cat conftest.$ac_ext >&5 | 9471 cat conftest.$ac_ext >&5 |
9511 fi | 9510 fi |
9512 | 9511 |
9513 if test "$with_png $with_tiff" != "no no"; then | 9512 if test "$with_png $with_tiff" != "no no"; then |
9514 | 9513 |
9515 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9514 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9516 echo "configure:9517: checking for inflate in -lc" >&5 | 9515 echo "configure:9516: checking for inflate in -lc" >&5 |
9517 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9516 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9518 | 9517 |
9519 xe_check_libs=" -lc " | 9518 xe_check_libs=" -lc " |
9520 cat > conftest.$ac_ext <<EOF | 9519 cat > conftest.$ac_ext <<EOF |
9521 #line 9522 "configure" | 9520 #line 9521 "configure" |
9522 #include "confdefs.h" | 9521 #include "confdefs.h" |
9523 /* Override any gcc2 internal prototype to avoid an error. */ | 9522 /* Override any gcc2 internal prototype to avoid an error. */ |
9524 /* We use char because int might match the return type of a gcc2 | 9523 /* We use char because int might match the return type of a gcc2 |
9525 builtin and then its argument prototype would still apply. */ | 9524 builtin and then its argument prototype would still apply. */ |
9526 char inflate(); | 9525 char inflate(); |
9527 | 9526 |
9528 int main() { | 9527 int main() { |
9529 inflate() | 9528 inflate() |
9530 ; return 0; } | 9529 ; return 0; } |
9531 EOF | 9530 EOF |
9532 if { (eval echo configure:9533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9531 if { (eval echo configure:9532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9533 rm -rf conftest* | 9532 rm -rf conftest* |
9534 eval "ac_cv_lib_$ac_lib_var=yes" | 9533 eval "ac_cv_lib_$ac_lib_var=yes" |
9535 else | 9534 else |
9536 echo "configure: failed program was:" >&5 | 9535 echo "configure: failed program was:" >&5 |
9537 cat conftest.$ac_ext >&5 | 9536 cat conftest.$ac_ext >&5 |
9546 : | 9545 : |
9547 else | 9546 else |
9548 echo "$ac_t""no" 1>&6 | 9547 echo "$ac_t""no" 1>&6 |
9549 | 9548 |
9550 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9549 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9551 echo "configure:9552: checking for inflate in -lz" >&5 | 9550 echo "configure:9551: checking for inflate in -lz" >&5 |
9552 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9551 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9553 | 9552 |
9554 xe_check_libs=" -lz " | 9553 xe_check_libs=" -lz " |
9555 cat > conftest.$ac_ext <<EOF | 9554 cat > conftest.$ac_ext <<EOF |
9556 #line 9557 "configure" | 9555 #line 9556 "configure" |
9557 #include "confdefs.h" | 9556 #include "confdefs.h" |
9558 /* Override any gcc2 internal prototype to avoid an error. */ | 9557 /* Override any gcc2 internal prototype to avoid an error. */ |
9559 /* We use char because int might match the return type of a gcc2 | 9558 /* We use char because int might match the return type of a gcc2 |
9560 builtin and then its argument prototype would still apply. */ | 9559 builtin and then its argument prototype would still apply. */ |
9561 char inflate(); | 9560 char inflate(); |
9562 | 9561 |
9563 int main() { | 9562 int main() { |
9564 inflate() | 9563 inflate() |
9565 ; return 0; } | 9564 ; return 0; } |
9566 EOF | 9565 EOF |
9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9568 rm -rf conftest* | 9567 rm -rf conftest* |
9569 eval "ac_cv_lib_$ac_lib_var=yes" | 9568 eval "ac_cv_lib_$ac_lib_var=yes" |
9570 else | 9569 else |
9571 echo "configure: failed program was:" >&5 | 9570 echo "configure: failed program was:" >&5 |
9572 cat conftest.$ac_ext >&5 | 9571 cat conftest.$ac_ext >&5 |
9581 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9580 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9582 else | 9581 else |
9583 echo "$ac_t""no" 1>&6 | 9582 echo "$ac_t""no" 1>&6 |
9584 | 9583 |
9585 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9584 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9586 echo "configure:9587: checking for inflate in -lgz" >&5 | 9585 echo "configure:9586: checking for inflate in -lgz" >&5 |
9587 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9586 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9588 | 9587 |
9589 xe_check_libs=" -lgz " | 9588 xe_check_libs=" -lgz " |
9590 cat > conftest.$ac_ext <<EOF | 9589 cat > conftest.$ac_ext <<EOF |
9591 #line 9592 "configure" | 9590 #line 9591 "configure" |
9592 #include "confdefs.h" | 9591 #include "confdefs.h" |
9593 /* Override any gcc2 internal prototype to avoid an error. */ | 9592 /* Override any gcc2 internal prototype to avoid an error. */ |
9594 /* We use char because int might match the return type of a gcc2 | 9593 /* We use char because int might match the return type of a gcc2 |
9595 builtin and then its argument prototype would still apply. */ | 9594 builtin and then its argument prototype would still apply. */ |
9596 char inflate(); | 9595 char inflate(); |
9597 | 9596 |
9598 int main() { | 9597 int main() { |
9599 inflate() | 9598 inflate() |
9600 ; return 0; } | 9599 ; return 0; } |
9601 EOF | 9600 EOF |
9602 if { (eval echo configure:9603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9603 rm -rf conftest* | 9602 rm -rf conftest* |
9604 eval "ac_cv_lib_$ac_lib_var=yes" | 9603 eval "ac_cv_lib_$ac_lib_var=yes" |
9605 else | 9604 else |
9606 echo "configure: failed program was:" >&5 | 9605 echo "configure: failed program was:" >&5 |
9607 cat conftest.$ac_ext >&5 | 9606 cat conftest.$ac_ext >&5 |
9627 | 9626 |
9628 fi | 9627 fi |
9629 | 9628 |
9630 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9629 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9631 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9630 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9632 echo "configure:9633: checking for jpeglib.h" >&5 | 9631 echo "configure:9632: checking for jpeglib.h" >&5 |
9633 | 9632 |
9634 cat > conftest.$ac_ext <<EOF | 9633 cat > conftest.$ac_ext <<EOF |
9635 #line 9636 "configure" | 9634 #line 9635 "configure" |
9636 #include "confdefs.h" | 9635 #include "confdefs.h" |
9637 #include <jpeglib.h> | 9636 #include <jpeglib.h> |
9638 EOF | 9637 EOF |
9639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9640 { (eval echo configure:9641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9639 { (eval echo configure:9640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9642 if test -z "$ac_err"; then | 9641 if test -z "$ac_err"; then |
9643 rm -rf conftest* | 9642 rm -rf conftest* |
9644 eval "ac_cv_header_$ac_safe=yes" | 9643 eval "ac_cv_header_$ac_safe=yes" |
9645 else | 9644 else |
9658 with_jpeg=no | 9657 with_jpeg=no |
9659 fi | 9658 fi |
9660 } | 9659 } |
9661 test -z "$with_jpeg" && { | 9660 test -z "$with_jpeg" && { |
9662 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9661 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9663 echo "configure:9664: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9662 echo "configure:9663: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9664 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9663 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9665 | 9664 |
9666 xe_check_libs=" -ljpeg " | 9665 xe_check_libs=" -ljpeg " |
9667 cat > conftest.$ac_ext <<EOF | 9666 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9667 #line 9668 "configure" |
9669 #include "confdefs.h" | 9668 #include "confdefs.h" |
9670 /* Override any gcc2 internal prototype to avoid an error. */ | 9669 /* Override any gcc2 internal prototype to avoid an error. */ |
9671 /* We use char because int might match the return type of a gcc2 | 9670 /* We use char because int might match the return type of a gcc2 |
9672 builtin and then its argument prototype would still apply. */ | 9671 builtin and then its argument prototype would still apply. */ |
9673 char jpeg_destroy_decompress(); | 9672 char jpeg_destroy_decompress(); |
9674 | 9673 |
9675 int main() { | 9674 int main() { |
9676 jpeg_destroy_decompress() | 9675 jpeg_destroy_decompress() |
9677 ; return 0; } | 9676 ; return 0; } |
9678 EOF | 9677 EOF |
9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9678 if { (eval echo configure:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9680 rm -rf conftest* | 9679 rm -rf conftest* |
9681 eval "ac_cv_lib_$ac_lib_var=yes" | 9680 eval "ac_cv_lib_$ac_lib_var=yes" |
9682 else | 9681 else |
9683 echo "configure: failed program was:" >&5 | 9682 echo "configure: failed program was:" >&5 |
9684 cat conftest.$ac_ext >&5 | 9683 cat conftest.$ac_ext >&5 |
9710 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9709 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9711 fi | 9710 fi |
9712 | 9711 |
9713 png_problem="" | 9712 png_problem="" |
9714 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9713 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9715 echo "configure:9716: checking for pow" >&5 | 9714 echo "configure:9715: checking for pow" >&5 |
9716 | 9715 |
9717 cat > conftest.$ac_ext <<EOF | 9716 cat > conftest.$ac_ext <<EOF |
9718 #line 9719 "configure" | 9717 #line 9718 "configure" |
9719 #include "confdefs.h" | 9718 #include "confdefs.h" |
9720 /* System header to define __stub macros and hopefully few prototypes, | 9719 /* System header to define __stub macros and hopefully few prototypes, |
9721 which can conflict with char pow(); below. */ | 9720 which can conflict with char pow(); below. */ |
9722 #include <assert.h> | 9721 #include <assert.h> |
9723 /* Override any gcc2 internal prototype to avoid an error. */ | 9722 /* Override any gcc2 internal prototype to avoid an error. */ |
9736 pow(); | 9735 pow(); |
9737 #endif | 9736 #endif |
9738 | 9737 |
9739 ; return 0; } | 9738 ; return 0; } |
9740 EOF | 9739 EOF |
9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9740 if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9742 rm -rf conftest* | 9741 rm -rf conftest* |
9743 eval "ac_cv_func_pow=yes" | 9742 eval "ac_cv_func_pow=yes" |
9744 else | 9743 else |
9745 echo "configure: failed program was:" >&5 | 9744 echo "configure: failed program was:" >&5 |
9746 cat conftest.$ac_ext >&5 | 9745 cat conftest.$ac_ext >&5 |
9757 with_png=no | 9756 with_png=no |
9758 fi | 9757 fi |
9759 } | 9758 } |
9760 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9759 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9761 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9760 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9762 echo "configure:9763: checking for png.h" >&5 | 9761 echo "configure:9762: checking for png.h" >&5 |
9763 | 9762 |
9764 cat > conftest.$ac_ext <<EOF | 9763 cat > conftest.$ac_ext <<EOF |
9765 #line 9766 "configure" | 9764 #line 9765 "configure" |
9766 #include "confdefs.h" | 9765 #include "confdefs.h" |
9767 #include <png.h> | 9766 #include <png.h> |
9768 EOF | 9767 EOF |
9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9769 { (eval echo configure:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9772 if test -z "$ac_err"; then | 9771 if test -z "$ac_err"; then |
9773 rm -rf conftest* | 9772 rm -rf conftest* |
9774 eval "ac_cv_header_$ac_safe=yes" | 9773 eval "ac_cv_header_$ac_safe=yes" |
9775 else | 9774 else |
9788 with_png=no | 9787 with_png=no |
9789 fi | 9788 fi |
9790 } | 9789 } |
9791 test -z "$with_png" && { | 9790 test -z "$with_png" && { |
9792 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9791 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9793 echo "configure:9794: checking for png_read_image in -lpng" >&5 | 9792 echo "configure:9793: checking for png_read_image in -lpng" >&5 |
9794 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9793 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9795 | 9794 |
9796 xe_check_libs=" -lpng " | 9795 xe_check_libs=" -lpng " |
9797 cat > conftest.$ac_ext <<EOF | 9796 cat > conftest.$ac_ext <<EOF |
9798 #line 9799 "configure" | 9797 #line 9798 "configure" |
9799 #include "confdefs.h" | 9798 #include "confdefs.h" |
9800 /* Override any gcc2 internal prototype to avoid an error. */ | 9799 /* Override any gcc2 internal prototype to avoid an error. */ |
9801 /* We use char because int might match the return type of a gcc2 | 9800 /* We use char because int might match the return type of a gcc2 |
9802 builtin and then its argument prototype would still apply. */ | 9801 builtin and then its argument prototype would still apply. */ |
9803 char png_read_image(); | 9802 char png_read_image(); |
9804 | 9803 |
9805 int main() { | 9804 int main() { |
9806 png_read_image() | 9805 png_read_image() |
9807 ; return 0; } | 9806 ; return 0; } |
9808 EOF | 9807 EOF |
9809 if { (eval echo configure:9810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9808 if { (eval echo configure:9809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9810 rm -rf conftest* | 9809 rm -rf conftest* |
9811 eval "ac_cv_lib_$ac_lib_var=yes" | 9810 eval "ac_cv_lib_$ac_lib_var=yes" |
9812 else | 9811 else |
9813 echo "configure: failed program was:" >&5 | 9812 echo "configure: failed program was:" >&5 |
9814 cat conftest.$ac_ext >&5 | 9813 cat conftest.$ac_ext >&5 |
9827 fi | 9826 fi |
9828 | 9827 |
9829 } | 9828 } |
9830 if test -z "$with_png"; then | 9829 if test -z "$with_png"; then |
9831 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9830 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9832 echo "configure:9833: checking for workable png version information" >&5 | 9831 echo "configure:9832: checking for workable png version information" >&5 |
9833 xe_check_libs="-lpng -lz" | 9832 xe_check_libs="-lpng -lz" |
9834 cat > conftest.$ac_ext <<EOF | 9833 cat > conftest.$ac_ext <<EOF |
9835 #line 9836 "configure" | 9834 #line 9835 "configure" |
9836 #include "confdefs.h" | 9835 #include "confdefs.h" |
9837 #include <png.h> | 9836 #include <png.h> |
9838 int main(int c, char **v) { | 9837 int main(int c, char **v) { |
9839 if (c == 1) return 0; | 9838 if (c == 1) return 0; |
9840 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9839 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9841 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9840 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9842 EOF | 9841 EOF |
9843 if { (eval echo configure:9844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9842 if { (eval echo configure:9843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9844 then | 9843 then |
9845 ./conftest dummy_arg; png_status=$?; | 9844 ./conftest dummy_arg; png_status=$?; |
9846 if test "$png_status" = "0"; then | 9845 if test "$png_status" = "0"; then |
9847 with_png=yes; | 9846 with_png=yes; |
9848 else | 9847 else |
9881 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9880 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9882 fi | 9881 fi |
9883 | 9882 |
9884 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9883 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9885 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9884 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9886 echo "configure:9887: checking for tiffio.h" >&5 | 9885 echo "configure:9886: checking for tiffio.h" >&5 |
9887 | 9886 |
9888 cat > conftest.$ac_ext <<EOF | 9887 cat > conftest.$ac_ext <<EOF |
9889 #line 9890 "configure" | 9888 #line 9889 "configure" |
9890 #include "confdefs.h" | 9889 #include "confdefs.h" |
9891 #include <tiffio.h> | 9890 #include <tiffio.h> |
9892 EOF | 9891 EOF |
9893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9894 { (eval echo configure:9895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9893 { (eval echo configure:9894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9896 if test -z "$ac_err"; then | 9895 if test -z "$ac_err"; then |
9897 rm -rf conftest* | 9896 rm -rf conftest* |
9898 eval "ac_cv_header_$ac_safe=yes" | 9897 eval "ac_cv_header_$ac_safe=yes" |
9899 else | 9898 else |
9912 with_tiff=no | 9911 with_tiff=no |
9913 fi | 9912 fi |
9914 } | 9913 } |
9915 test -z "$with_tiff" && { | 9914 test -z "$with_tiff" && { |
9916 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9915 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9917 echo "configure:9918: checking for TIFFClientOpen in -ltiff" >&5 | 9916 echo "configure:9917: checking for TIFFClientOpen in -ltiff" >&5 |
9918 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9917 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9919 | 9918 |
9920 xe_check_libs=" -ltiff " | 9919 xe_check_libs=" -ltiff " |
9921 cat > conftest.$ac_ext <<EOF | 9920 cat > conftest.$ac_ext <<EOF |
9922 #line 9923 "configure" | 9921 #line 9922 "configure" |
9923 #include "confdefs.h" | 9922 #include "confdefs.h" |
9924 /* Override any gcc2 internal prototype to avoid an error. */ | 9923 /* Override any gcc2 internal prototype to avoid an error. */ |
9925 /* We use char because int might match the return type of a gcc2 | 9924 /* We use char because int might match the return type of a gcc2 |
9926 builtin and then its argument prototype would still apply. */ | 9925 builtin and then its argument prototype would still apply. */ |
9927 char TIFFClientOpen(); | 9926 char TIFFClientOpen(); |
9928 | 9927 |
9929 int main() { | 9928 int main() { |
9930 TIFFClientOpen() | 9929 TIFFClientOpen() |
9931 ; return 0; } | 9930 ; return 0; } |
9932 EOF | 9931 EOF |
9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9934 rm -rf conftest* | 9933 rm -rf conftest* |
9935 eval "ac_cv_lib_$ac_lib_var=yes" | 9934 eval "ac_cv_lib_$ac_lib_var=yes" |
9936 else | 9935 else |
9937 echo "configure: failed program was:" >&5 | 9936 echo "configure: failed program was:" >&5 |
9938 cat conftest.$ac_ext >&5 | 9937 cat conftest.$ac_ext >&5 |
9967 | 9966 |
9968 | 9967 |
9969 if test "$with_gtk" = "yes"; then | 9968 if test "$with_gtk" = "yes"; then |
9970 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9969 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9971 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9970 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9972 echo "configure:9973: checking for compface.h" >&5 | 9971 echo "configure:9972: checking for compface.h" >&5 |
9973 | 9972 |
9974 cat > conftest.$ac_ext <<EOF | 9973 cat > conftest.$ac_ext <<EOF |
9975 #line 9976 "configure" | 9974 #line 9975 "configure" |
9976 #include "confdefs.h" | 9975 #include "confdefs.h" |
9977 #include <compface.h> | 9976 #include <compface.h> |
9978 EOF | 9977 EOF |
9979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9980 { (eval echo configure:9981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9979 { (eval echo configure:9980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9982 if test -z "$ac_err"; then | 9981 if test -z "$ac_err"; then |
9983 rm -rf conftest* | 9982 rm -rf conftest* |
9984 eval "ac_cv_header_$ac_safe=yes" | 9983 eval "ac_cv_header_$ac_safe=yes" |
9985 else | 9984 else |
9998 with_xface=no | 9997 with_xface=no |
9999 fi | 9998 fi |
10000 } | 9999 } |
10001 test -z "$with_xface" && { | 10000 test -z "$with_xface" && { |
10002 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 10001 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
10003 echo "configure:10004: checking for UnGenFace in -lcompface" >&5 | 10002 echo "configure:10003: checking for UnGenFace in -lcompface" >&5 |
10004 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 10003 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
10005 | 10004 |
10006 xe_check_libs=" -lcompface " | 10005 xe_check_libs=" -lcompface " |
10007 cat > conftest.$ac_ext <<EOF | 10006 cat > conftest.$ac_ext <<EOF |
10008 #line 10009 "configure" | 10007 #line 10008 "configure" |
10009 #include "confdefs.h" | 10008 #include "confdefs.h" |
10010 /* Override any gcc2 internal prototype to avoid an error. */ | 10009 /* Override any gcc2 internal prototype to avoid an error. */ |
10011 /* We use char because int might match the return type of a gcc2 | 10010 /* We use char because int might match the return type of a gcc2 |
10012 builtin and then its argument prototype would still apply. */ | 10011 builtin and then its argument prototype would still apply. */ |
10013 char UnGenFace(); | 10012 char UnGenFace(); |
10014 | 10013 |
10015 int main() { | 10014 int main() { |
10016 UnGenFace() | 10015 UnGenFace() |
10017 ; return 0; } | 10016 ; return 0; } |
10018 EOF | 10017 EOF |
10019 if { (eval echo configure:10020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10018 if { (eval echo configure:10019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10020 rm -rf conftest* | 10019 rm -rf conftest* |
10021 eval "ac_cv_lib_$ac_lib_var=yes" | 10020 eval "ac_cv_lib_$ac_lib_var=yes" |
10022 else | 10021 else |
10023 echo "configure: failed program was:" >&5 | 10022 echo "configure: failed program was:" >&5 |
10024 cat conftest.$ac_ext >&5 | 10023 cat conftest.$ac_ext >&5 |
10053 | 10052 |
10054 | 10053 |
10055 | 10054 |
10056 if test "$with_x11" = "yes"; then | 10055 if test "$with_x11" = "yes"; then |
10057 echo "checking for X11 graphics libraries" 1>&6 | 10056 echo "checking for X11 graphics libraries" 1>&6 |
10058 echo "configure:10059: checking for X11 graphics libraries" >&5 | 10057 echo "configure:10058: checking for X11 graphics libraries" >&5 |
10059 fi | 10058 fi |
10060 | 10059 |
10061 case "$with_widgets" in | 10060 case "$with_widgets" in |
10062 "yes" | "athena") detect_athena=yes ;; | 10061 "yes" | "athena") detect_athena=yes ;; |
10063 *) detect_athena=no ;; | 10062 *) detect_athena=no ;; |
10064 esac | 10063 esac |
10065 | 10064 |
10066 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10065 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10067 echo "checking for the Athena widgets" 1>&6 | 10066 echo "checking for the Athena widgets" 1>&6 |
10068 echo "configure:10069: checking for the Athena widgets" >&5 | 10067 echo "configure:10068: checking for the Athena widgets" >&5 |
10069 | 10068 |
10070 case "$with_athena" in | 10069 case "$with_athena" in |
10071 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10070 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10072 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10071 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10073 "next") athena_variant=neXtaw athena_3d=yes ;; | 10072 "next") athena_variant=neXtaw athena_3d=yes ;; |
10077 esac | 10076 esac |
10078 | 10077 |
10079 if test "$athena_3d" = "no"; then | 10078 if test "$athena_3d" = "no"; then |
10080 | 10079 |
10081 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10080 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10082 echo "configure:10083: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10081 echo "configure:10082: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10083 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10082 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10084 | 10083 |
10085 xe_check_libs=" -l$athena_variant " | 10084 xe_check_libs=" -l$athena_variant " |
10086 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10087 #line 10088 "configure" | 10086 #line 10087 "configure" |
10088 #include "confdefs.h" | 10087 #include "confdefs.h" |
10089 /* Override any gcc2 internal prototype to avoid an error. */ | 10088 /* Override any gcc2 internal prototype to avoid an error. */ |
10090 /* We use char because int might match the return type of a gcc2 | 10089 /* We use char because int might match the return type of a gcc2 |
10091 builtin and then its argument prototype would still apply. */ | 10090 builtin and then its argument prototype would still apply. */ |
10092 char XawScrollbarSetThumb(); | 10091 char XawScrollbarSetThumb(); |
10093 | 10092 |
10094 int main() { | 10093 int main() { |
10095 XawScrollbarSetThumb() | 10094 XawScrollbarSetThumb() |
10096 ; return 0; } | 10095 ; return 0; } |
10097 EOF | 10096 EOF |
10098 if { (eval echo configure:10099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10099 rm -rf conftest* | 10098 rm -rf conftest* |
10100 eval "ac_cv_lib_$ac_lib_var=yes" | 10099 eval "ac_cv_lib_$ac_lib_var=yes" |
10101 else | 10100 else |
10102 echo "configure: failed program was:" >&5 | 10101 echo "configure: failed program was:" >&5 |
10103 cat conftest.$ac_ext >&5 | 10102 cat conftest.$ac_ext >&5 |
10109 | 10108 |
10110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10109 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10111 echo "$ac_t""yes" 1>&6 | 10110 echo "$ac_t""yes" 1>&6 |
10112 | 10111 |
10113 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10112 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10114 echo "configure:10115: checking for threeDClassRec in -l$athena_variant" >&5 | 10113 echo "configure:10114: checking for threeDClassRec in -l$athena_variant" >&5 |
10115 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10114 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10116 | 10115 |
10117 xe_check_libs=" -l$athena_variant " | 10116 xe_check_libs=" -l$athena_variant " |
10118 cat > conftest.$ac_ext <<EOF | 10117 cat > conftest.$ac_ext <<EOF |
10119 #line 10120 "configure" | 10118 #line 10119 "configure" |
10120 #include "confdefs.h" | 10119 #include "confdefs.h" |
10121 /* Override any gcc2 internal prototype to avoid an error. */ | 10120 /* Override any gcc2 internal prototype to avoid an error. */ |
10122 /* We use char because int might match the return type of a gcc2 | 10121 /* We use char because int might match the return type of a gcc2 |
10123 builtin and then its argument prototype would still apply. */ | 10122 builtin and then its argument prototype would still apply. */ |
10124 char threeDClassRec(); | 10123 char threeDClassRec(); |
10125 | 10124 |
10126 int main() { | 10125 int main() { |
10127 threeDClassRec() | 10126 threeDClassRec() |
10128 ; return 0; } | 10127 ; return 0; } |
10129 EOF | 10128 EOF |
10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10131 rm -rf conftest* | 10130 rm -rf conftest* |
10132 eval "ac_cv_lib_$ac_lib_var=yes" | 10131 eval "ac_cv_lib_$ac_lib_var=yes" |
10133 else | 10132 else |
10134 echo "configure: failed program was:" >&5 | 10133 echo "configure: failed program was:" >&5 |
10135 cat conftest.$ac_ext >&5 | 10134 cat conftest.$ac_ext >&5 |
10156 | 10155 |
10157 | 10156 |
10158 else | 10157 else |
10159 | 10158 |
10160 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10159 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10161 echo "configure:10162: checking for threeDClassRec in -l$athena_variant" >&5 | 10160 echo "configure:10161: checking for threeDClassRec in -l$athena_variant" >&5 |
10162 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10161 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10163 | 10162 |
10164 xe_check_libs=" -l$athena_variant " | 10163 xe_check_libs=" -l$athena_variant " |
10165 cat > conftest.$ac_ext <<EOF | 10164 cat > conftest.$ac_ext <<EOF |
10166 #line 10167 "configure" | 10165 #line 10166 "configure" |
10167 #include "confdefs.h" | 10166 #include "confdefs.h" |
10168 /* Override any gcc2 internal prototype to avoid an error. */ | 10167 /* Override any gcc2 internal prototype to avoid an error. */ |
10169 /* We use char because int might match the return type of a gcc2 | 10168 /* We use char because int might match the return type of a gcc2 |
10170 builtin and then its argument prototype would still apply. */ | 10169 builtin and then its argument prototype would still apply. */ |
10171 char threeDClassRec(); | 10170 char threeDClassRec(); |
10172 | 10171 |
10173 int main() { | 10172 int main() { |
10174 threeDClassRec() | 10173 threeDClassRec() |
10175 ; return 0; } | 10174 ; return 0; } |
10176 EOF | 10175 EOF |
10177 if { (eval echo configure:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10176 if { (eval echo configure:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10178 rm -rf conftest* | 10177 rm -rf conftest* |
10179 eval "ac_cv_lib_$ac_lib_var=yes" | 10178 eval "ac_cv_lib_$ac_lib_var=yes" |
10180 else | 10179 else |
10181 echo "configure: failed program was:" >&5 | 10180 echo "configure: failed program was:" >&5 |
10182 cat conftest.$ac_ext >&5 | 10181 cat conftest.$ac_ext >&5 |
10190 echo "$ac_t""yes" 1>&6 | 10189 echo "$ac_t""yes" 1>&6 |
10191 athena_lib=$athena_variant | 10190 athena_lib=$athena_variant |
10192 else | 10191 else |
10193 echo "$ac_t""no" 1>&6 | 10192 echo "$ac_t""no" 1>&6 |
10194 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10193 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10195 echo "configure:10196: checking for threeDClassRec in -lXaw" >&5 | 10194 echo "configure:10195: checking for threeDClassRec in -lXaw" >&5 |
10196 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10195 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10197 | 10196 |
10198 xe_check_libs=" -lXaw " | 10197 xe_check_libs=" -lXaw " |
10199 cat > conftest.$ac_ext <<EOF | 10198 cat > conftest.$ac_ext <<EOF |
10200 #line 10201 "configure" | 10199 #line 10200 "configure" |
10201 #include "confdefs.h" | 10200 #include "confdefs.h" |
10202 /* Override any gcc2 internal prototype to avoid an error. */ | 10201 /* Override any gcc2 internal prototype to avoid an error. */ |
10203 /* We use char because int might match the return type of a gcc2 | 10202 /* We use char because int might match the return type of a gcc2 |
10204 builtin and then its argument prototype would still apply. */ | 10203 builtin and then its argument prototype would still apply. */ |
10205 char threeDClassRec(); | 10204 char threeDClassRec(); |
10206 | 10205 |
10207 int main() { | 10206 int main() { |
10208 threeDClassRec() | 10207 threeDClassRec() |
10209 ; return 0; } | 10208 ; return 0; } |
10210 EOF | 10209 EOF |
10211 if { (eval echo configure:10212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10210 if { (eval echo configure:10211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10212 rm -rf conftest* | 10211 rm -rf conftest* |
10213 eval "ac_cv_lib_$ac_lib_var=yes" | 10212 eval "ac_cv_lib_$ac_lib_var=yes" |
10214 else | 10213 else |
10215 echo "configure: failed program was:" >&5 | 10214 echo "configure: failed program was:" >&5 |
10216 cat conftest.$ac_ext >&5 | 10215 cat conftest.$ac_ext >&5 |
10237 fi | 10236 fi |
10238 | 10237 |
10239 if test "$athena_3d" = "no"; then | 10238 if test "$athena_3d" = "no"; then |
10240 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10239 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10241 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10240 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10242 echo "configure:10243: checking for X11/Xaw/ThreeD.h" >&5 | 10241 echo "configure:10242: checking for X11/Xaw/ThreeD.h" >&5 |
10243 | 10242 |
10244 cat > conftest.$ac_ext <<EOF | 10243 cat > conftest.$ac_ext <<EOF |
10245 #line 10246 "configure" | 10244 #line 10245 "configure" |
10246 #include "confdefs.h" | 10245 #include "confdefs.h" |
10247 #include <X11/Xaw/ThreeD.h> | 10246 #include <X11/Xaw/ThreeD.h> |
10248 EOF | 10247 EOF |
10249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10250 { (eval echo configure:10251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10252 if test -z "$ac_err"; then | 10251 if test -z "$ac_err"; then |
10253 rm -rf conftest* | 10252 rm -rf conftest* |
10254 eval "ac_cv_header_$ac_safe=yes" | 10253 eval "ac_cv_header_$ac_safe=yes" |
10255 else | 10254 else |
10265 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10264 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10266 else | 10265 else |
10267 echo "$ac_t""no" 1>&6 | 10266 echo "$ac_t""no" 1>&6 |
10268 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10267 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10269 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10268 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10270 echo "configure:10271: checking for X11/Xaw/XawInit.h" >&5 | 10269 echo "configure:10270: checking for X11/Xaw/XawInit.h" >&5 |
10271 | 10270 |
10272 cat > conftest.$ac_ext <<EOF | 10271 cat > conftest.$ac_ext <<EOF |
10273 #line 10274 "configure" | 10272 #line 10273 "configure" |
10274 #include "confdefs.h" | 10273 #include "confdefs.h" |
10275 #include <X11/Xaw/XawInit.h> | 10274 #include <X11/Xaw/XawInit.h> |
10276 EOF | 10275 EOF |
10277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10278 { (eval echo configure:10279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10277 { (eval echo configure:10278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10280 if test -z "$ac_err"; then | 10279 if test -z "$ac_err"; then |
10281 rm -rf conftest* | 10280 rm -rf conftest* |
10282 eval "ac_cv_header_$ac_safe=yes" | 10281 eval "ac_cv_header_$ac_safe=yes" |
10283 else | 10282 else |
10299 fi | 10298 fi |
10300 | 10299 |
10301 else | 10300 else |
10302 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10301 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10303 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10302 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10304 echo "configure:10305: checking for X11/$athena_variant/XawInit.h" >&5 | 10303 echo "configure:10304: checking for X11/$athena_variant/XawInit.h" >&5 |
10305 | 10304 |
10306 cat > conftest.$ac_ext <<EOF | 10305 cat > conftest.$ac_ext <<EOF |
10307 #line 10308 "configure" | 10306 #line 10307 "configure" |
10308 #include "confdefs.h" | 10307 #include "confdefs.h" |
10309 #include <X11/$athena_variant/XawInit.h> | 10308 #include <X11/$athena_variant/XawInit.h> |
10310 EOF | 10309 EOF |
10311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10312 { (eval echo configure:10313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10311 { (eval echo configure:10312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10314 if test -z "$ac_err"; then | 10313 if test -z "$ac_err"; then |
10315 rm -rf conftest* | 10314 rm -rf conftest* |
10316 eval "ac_cv_header_$ac_safe=yes" | 10315 eval "ac_cv_header_$ac_safe=yes" |
10317 else | 10316 else |
10324 rm -f conftest* | 10323 rm -f conftest* |
10325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10326 echo "$ac_t""yes" 1>&6 | 10325 echo "$ac_t""yes" 1>&6 |
10327 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10326 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10328 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10327 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10329 echo "configure:10330: checking for X11/$athena_variant/ThreeD.h" >&5 | 10328 echo "configure:10329: checking for X11/$athena_variant/ThreeD.h" >&5 |
10330 | 10329 |
10331 cat > conftest.$ac_ext <<EOF | 10330 cat > conftest.$ac_ext <<EOF |
10332 #line 10333 "configure" | 10331 #line 10332 "configure" |
10333 #include "confdefs.h" | 10332 #include "confdefs.h" |
10334 #include <X11/$athena_variant/ThreeD.h> | 10333 #include <X11/$athena_variant/ThreeD.h> |
10335 EOF | 10334 EOF |
10336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10337 { (eval echo configure:10338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10336 { (eval echo configure:10337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10339 if test -z "$ac_err"; then | 10338 if test -z "$ac_err"; then |
10340 rm -rf conftest* | 10339 rm -rf conftest* |
10341 eval "ac_cv_header_$ac_safe=yes" | 10340 eval "ac_cv_header_$ac_safe=yes" |
10342 else | 10341 else |
10360 | 10359 |
10361 | 10360 |
10362 if test -z "$athena_h_path"; then | 10361 if test -z "$athena_h_path"; then |
10363 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10362 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10364 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10363 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10365 echo "configure:10366: checking for $athena_variant/XawInit.h" >&5 | 10364 echo "configure:10365: checking for $athena_variant/XawInit.h" >&5 |
10366 | 10365 |
10367 cat > conftest.$ac_ext <<EOF | 10366 cat > conftest.$ac_ext <<EOF |
10368 #line 10369 "configure" | 10367 #line 10368 "configure" |
10369 #include "confdefs.h" | 10368 #include "confdefs.h" |
10370 #include <$athena_variant/XawInit.h> | 10369 #include <$athena_variant/XawInit.h> |
10371 EOF | 10370 EOF |
10372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10373 { (eval echo configure:10374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10372 { (eval echo configure:10373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10375 if test -z "$ac_err"; then | 10374 if test -z "$ac_err"; then |
10376 rm -rf conftest* | 10375 rm -rf conftest* |
10377 eval "ac_cv_header_$ac_safe=yes" | 10376 eval "ac_cv_header_$ac_safe=yes" |
10378 else | 10377 else |
10385 rm -f conftest* | 10384 rm -f conftest* |
10386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10387 echo "$ac_t""yes" 1>&6 | 10386 echo "$ac_t""yes" 1>&6 |
10388 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10387 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10389 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10388 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10390 echo "configure:10391: checking for $athena_variant/ThreeD.h" >&5 | 10389 echo "configure:10390: checking for $athena_variant/ThreeD.h" >&5 |
10391 | 10390 |
10392 cat > conftest.$ac_ext <<EOF | 10391 cat > conftest.$ac_ext <<EOF |
10393 #line 10394 "configure" | 10392 #line 10393 "configure" |
10394 #include "confdefs.h" | 10393 #include "confdefs.h" |
10395 #include <$athena_variant/ThreeD.h> | 10394 #include <$athena_variant/ThreeD.h> |
10396 EOF | 10395 EOF |
10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10400 if test -z "$ac_err"; then | 10399 if test -z "$ac_err"; then |
10401 rm -rf conftest* | 10400 rm -rf conftest* |
10402 eval "ac_cv_header_$ac_safe=yes" | 10401 eval "ac_cv_header_$ac_safe=yes" |
10403 else | 10402 else |
10422 fi | 10421 fi |
10423 | 10422 |
10424 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10423 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10425 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10424 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10426 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10425 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10427 echo "configure:10428: checking for X11/Xaw3d/XawInit.h" >&5 | 10426 echo "configure:10427: checking for X11/Xaw3d/XawInit.h" >&5 |
10428 | 10427 |
10429 cat > conftest.$ac_ext <<EOF | 10428 cat > conftest.$ac_ext <<EOF |
10430 #line 10431 "configure" | 10429 #line 10430 "configure" |
10431 #include "confdefs.h" | 10430 #include "confdefs.h" |
10432 #include <X11/Xaw3d/XawInit.h> | 10431 #include <X11/Xaw3d/XawInit.h> |
10433 EOF | 10432 EOF |
10434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10435 { (eval echo configure:10436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10437 if test -z "$ac_err"; then | 10436 if test -z "$ac_err"; then |
10438 rm -rf conftest* | 10437 rm -rf conftest* |
10439 eval "ac_cv_header_$ac_safe=yes" | 10438 eval "ac_cv_header_$ac_safe=yes" |
10440 else | 10439 else |
10447 rm -f conftest* | 10446 rm -f conftest* |
10448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10449 echo "$ac_t""yes" 1>&6 | 10448 echo "$ac_t""yes" 1>&6 |
10450 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10449 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10451 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10450 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10452 echo "configure:10453: checking for X11/Xaw3d/ThreeD.h" >&5 | 10451 echo "configure:10452: checking for X11/Xaw3d/ThreeD.h" >&5 |
10453 | 10452 |
10454 cat > conftest.$ac_ext <<EOF | 10453 cat > conftest.$ac_ext <<EOF |
10455 #line 10456 "configure" | 10454 #line 10455 "configure" |
10456 #include "confdefs.h" | 10455 #include "confdefs.h" |
10457 #include <X11/Xaw3d/ThreeD.h> | 10456 #include <X11/Xaw3d/ThreeD.h> |
10458 EOF | 10457 EOF |
10459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10460 { (eval echo configure:10461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10462 if test -z "$ac_err"; then | 10461 if test -z "$ac_err"; then |
10463 rm -rf conftest* | 10462 rm -rf conftest* |
10464 eval "ac_cv_header_$ac_safe=yes" | 10463 eval "ac_cv_header_$ac_safe=yes" |
10465 else | 10464 else |
10487 fi | 10486 fi |
10488 | 10487 |
10489 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10488 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10490 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10489 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10491 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10490 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10492 echo "configure:10493: checking for Xaw3d/XawInit.h" >&5 | 10491 echo "configure:10492: checking for Xaw3d/XawInit.h" >&5 |
10493 | 10492 |
10494 cat > conftest.$ac_ext <<EOF | 10493 cat > conftest.$ac_ext <<EOF |
10495 #line 10496 "configure" | 10494 #line 10495 "configure" |
10496 #include "confdefs.h" | 10495 #include "confdefs.h" |
10497 #include <Xaw3d/XawInit.h> | 10496 #include <Xaw3d/XawInit.h> |
10498 EOF | 10497 EOF |
10499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10500 { (eval echo configure:10501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10499 { (eval echo configure:10500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10502 if test -z "$ac_err"; then | 10501 if test -z "$ac_err"; then |
10503 rm -rf conftest* | 10502 rm -rf conftest* |
10504 eval "ac_cv_header_$ac_safe=yes" | 10503 eval "ac_cv_header_$ac_safe=yes" |
10505 else | 10504 else |
10512 rm -f conftest* | 10511 rm -f conftest* |
10513 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10514 echo "$ac_t""yes" 1>&6 | 10513 echo "$ac_t""yes" 1>&6 |
10515 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10514 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10516 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10515 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10517 echo "configure:10518: checking for Xaw3d/ThreeD.h" >&5 | 10516 echo "configure:10517: checking for Xaw3d/ThreeD.h" >&5 |
10518 | 10517 |
10519 cat > conftest.$ac_ext <<EOF | 10518 cat > conftest.$ac_ext <<EOF |
10520 #line 10521 "configure" | 10519 #line 10520 "configure" |
10521 #include "confdefs.h" | 10520 #include "confdefs.h" |
10522 #include <Xaw3d/ThreeD.h> | 10521 #include <Xaw3d/ThreeD.h> |
10523 EOF | 10522 EOF |
10524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10525 { (eval echo configure:10526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10524 { (eval echo configure:10525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10527 if test -z "$ac_err"; then | 10526 if test -z "$ac_err"; then |
10528 rm -rf conftest* | 10527 rm -rf conftest* |
10529 eval "ac_cv_header_$ac_safe=yes" | 10528 eval "ac_cv_header_$ac_safe=yes" |
10530 else | 10529 else |
10552 fi | 10551 fi |
10553 | 10552 |
10554 if test -z "$athena_h_path"; then | 10553 if test -z "$athena_h_path"; then |
10555 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10554 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10556 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10555 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10557 echo "configure:10558: checking for X11/Xaw/ThreeD.h" >&5 | 10556 echo "configure:10557: checking for X11/Xaw/ThreeD.h" >&5 |
10558 | 10557 |
10559 cat > conftest.$ac_ext <<EOF | 10558 cat > conftest.$ac_ext <<EOF |
10560 #line 10561 "configure" | 10559 #line 10560 "configure" |
10561 #include "confdefs.h" | 10560 #include "confdefs.h" |
10562 #include <X11/Xaw/ThreeD.h> | 10561 #include <X11/Xaw/ThreeD.h> |
10563 EOF | 10562 EOF |
10564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10565 { (eval echo configure:10566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10564 { (eval echo configure:10565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10567 if test -z "$ac_err"; then | 10566 if test -z "$ac_err"; then |
10568 rm -rf conftest* | 10567 rm -rf conftest* |
10569 eval "ac_cv_header_$ac_safe=yes" | 10568 eval "ac_cv_header_$ac_safe=yes" |
10570 else | 10569 else |
10599 have_xaw=no | 10598 have_xaw=no |
10600 fi | 10599 fi |
10601 if test "$with_x11" = "yes"; then | 10600 if test "$with_x11" = "yes"; then |
10602 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10601 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10603 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10602 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10604 echo "configure:10605: checking for Xm/Xm.h" >&5 | 10603 echo "configure:10604: checking for Xm/Xm.h" >&5 |
10605 | 10604 |
10606 cat > conftest.$ac_ext <<EOF | 10605 cat > conftest.$ac_ext <<EOF |
10607 #line 10608 "configure" | 10606 #line 10607 "configure" |
10608 #include "confdefs.h" | 10607 #include "confdefs.h" |
10609 #include <Xm/Xm.h> | 10608 #include <Xm/Xm.h> |
10610 EOF | 10609 EOF |
10611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10612 { (eval echo configure:10613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10611 { (eval echo configure:10612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10614 if test -z "$ac_err"; then | 10613 if test -z "$ac_err"; then |
10615 rm -rf conftest* | 10614 rm -rf conftest* |
10616 eval "ac_cv_header_$ac_safe=yes" | 10615 eval "ac_cv_header_$ac_safe=yes" |
10617 else | 10616 else |
10624 rm -f conftest* | 10623 rm -f conftest* |
10625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10626 echo "$ac_t""yes" 1>&6 | 10625 echo "$ac_t""yes" 1>&6 |
10627 | 10626 |
10628 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10627 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10629 echo "configure:10630: checking for XmStringFree in -lXm" >&5 | 10628 echo "configure:10629: checking for XmStringFree in -lXm" >&5 |
10630 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10629 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10631 | 10630 |
10632 xe_check_libs=" -lXm " | 10631 xe_check_libs=" -lXm " |
10633 cat > conftest.$ac_ext <<EOF | 10632 cat > conftest.$ac_ext <<EOF |
10634 #line 10635 "configure" | 10633 #line 10634 "configure" |
10635 #include "confdefs.h" | 10634 #include "confdefs.h" |
10636 /* Override any gcc2 internal prototype to avoid an error. */ | 10635 /* Override any gcc2 internal prototype to avoid an error. */ |
10637 /* We use char because int might match the return type of a gcc2 | 10636 /* We use char because int might match the return type of a gcc2 |
10638 builtin and then its argument prototype would still apply. */ | 10637 builtin and then its argument prototype would still apply. */ |
10639 char XmStringFree(); | 10638 char XmStringFree(); |
10640 | 10639 |
10641 int main() { | 10640 int main() { |
10642 XmStringFree() | 10641 XmStringFree() |
10643 ; return 0; } | 10642 ; return 0; } |
10644 EOF | 10643 EOF |
10645 if { (eval echo configure:10646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10646 rm -rf conftest* | 10645 rm -rf conftest* |
10647 eval "ac_cv_lib_$ac_lib_var=yes" | 10646 eval "ac_cv_lib_$ac_lib_var=yes" |
10648 else | 10647 else |
10649 echo "configure: failed program was:" >&5 | 10648 echo "configure: failed program was:" >&5 |
10650 cat conftest.$ac_ext >&5 | 10649 cat conftest.$ac_ext >&5 |
10669 fi | 10668 fi |
10670 | 10669 |
10671 | 10670 |
10672 if test "$have_motif" = "yes"; then | 10671 if test "$have_motif" = "yes"; then |
10673 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10672 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10674 echo "configure:10675: checking for Lesstif" >&5 | 10673 echo "configure:10674: checking for Lesstif" >&5 |
10675 cat > conftest.$ac_ext <<EOF | 10674 cat > conftest.$ac_ext <<EOF |
10676 #line 10677 "configure" | 10675 #line 10676 "configure" |
10677 #include "confdefs.h" | 10676 #include "confdefs.h" |
10678 #include <Xm/Xm.h> | 10677 #include <Xm/Xm.h> |
10679 #ifdef LESSTIF_VERSION | 10678 #ifdef LESSTIF_VERSION |
10680 yes | 10679 yes |
10681 #endif | 10680 #endif |
11044 | 11043 |
11045 fi | 11044 fi |
11046 | 11045 |
11047 if test "$with_mule" = "yes" ; then | 11046 if test "$with_mule" = "yes" ; then |
11048 echo "checking for Mule-related features" 1>&6 | 11047 echo "checking for Mule-related features" 1>&6 |
11049 echo "configure:11050: checking for Mule-related features" >&5 | 11048 echo "configure:11049: checking for Mule-related features" >&5 |
11050 { test "$extra_verbose" = "yes" && cat << \EOF | 11049 { test "$extra_verbose" = "yes" && cat << \EOF |
11051 Defining MULE | 11050 Defining MULE |
11052 EOF | 11051 EOF |
11053 cat >> confdefs.h <<\EOF | 11052 cat >> confdefs.h <<\EOF |
11054 #define MULE 1 | 11053 #define MULE 1 |
11058 | 11057 |
11059 for ac_hdr in libintl.h | 11058 for ac_hdr in libintl.h |
11060 do | 11059 do |
11061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11060 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11063 echo "configure:11064: checking for $ac_hdr" >&5 | 11062 echo "configure:11063: checking for $ac_hdr" >&5 |
11064 | 11063 |
11065 cat > conftest.$ac_ext <<EOF | 11064 cat > conftest.$ac_ext <<EOF |
11066 #line 11067 "configure" | 11065 #line 11066 "configure" |
11067 #include "confdefs.h" | 11066 #include "confdefs.h" |
11068 #include <$ac_hdr> | 11067 #include <$ac_hdr> |
11069 EOF | 11068 EOF |
11070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11071 { (eval echo configure:11072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11070 { (eval echo configure:11071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11073 if test -z "$ac_err"; then | 11072 if test -z "$ac_err"; then |
11074 rm -rf conftest* | 11073 rm -rf conftest* |
11075 eval "ac_cv_header_$ac_safe=yes" | 11074 eval "ac_cv_header_$ac_safe=yes" |
11076 else | 11075 else |
11097 fi | 11096 fi |
11098 done | 11097 done |
11099 | 11098 |
11100 | 11099 |
11101 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11100 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11102 echo "configure:11103: checking for strerror in -lintl" >&5 | 11101 echo "configure:11102: checking for strerror in -lintl" >&5 |
11103 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11102 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11104 | 11103 |
11105 xe_check_libs=" -lintl " | 11104 xe_check_libs=" -lintl " |
11106 cat > conftest.$ac_ext <<EOF | 11105 cat > conftest.$ac_ext <<EOF |
11107 #line 11108 "configure" | 11106 #line 11107 "configure" |
11108 #include "confdefs.h" | 11107 #include "confdefs.h" |
11109 /* Override any gcc2 internal prototype to avoid an error. */ | 11108 /* Override any gcc2 internal prototype to avoid an error. */ |
11110 /* We use char because int might match the return type of a gcc2 | 11109 /* We use char because int might match the return type of a gcc2 |
11111 builtin and then its argument prototype would still apply. */ | 11110 builtin and then its argument prototype would still apply. */ |
11112 char strerror(); | 11111 char strerror(); |
11113 | 11112 |
11114 int main() { | 11113 int main() { |
11115 strerror() | 11114 strerror() |
11116 ; return 0; } | 11115 ; return 0; } |
11117 EOF | 11116 EOF |
11118 if { (eval echo configure:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11117 if { (eval echo configure:11118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11119 rm -rf conftest* | 11118 rm -rf conftest* |
11120 eval "ac_cv_lib_$ac_lib_var=yes" | 11119 eval "ac_cv_lib_$ac_lib_var=yes" |
11121 else | 11120 else |
11122 echo "configure: failed program was:" >&5 | 11121 echo "configure: failed program was:" >&5 |
11123 cat conftest.$ac_ext >&5 | 11122 cat conftest.$ac_ext >&5 |
11146 fi | 11145 fi |
11147 | 11146 |
11148 | 11147 |
11149 | 11148 |
11150 echo "checking for Mule input methods" 1>&6 | 11149 echo "checking for Mule input methods" 1>&6 |
11151 echo "configure:11152: checking for Mule input methods" >&5 | 11150 echo "configure:11151: checking for Mule input methods" >&5 |
11152 case "$with_xim" in "" | "yes" ) | 11151 case "$with_xim" in "" | "yes" ) |
11153 echo "checking for XIM" 1>&6 | 11152 echo "checking for XIM" 1>&6 |
11154 echo "configure:11155: checking for XIM" >&5 | 11153 echo "configure:11154: checking for XIM" >&5 |
11155 | 11154 |
11156 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11155 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11157 echo "configure:11158: checking for XOpenIM in -lX11" >&5 | 11156 echo "configure:11157: checking for XOpenIM in -lX11" >&5 |
11158 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11157 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11159 | 11158 |
11160 xe_check_libs=" -lX11 " | 11159 xe_check_libs=" -lX11 " |
11161 cat > conftest.$ac_ext <<EOF | 11160 cat > conftest.$ac_ext <<EOF |
11162 #line 11163 "configure" | 11161 #line 11162 "configure" |
11163 #include "confdefs.h" | 11162 #include "confdefs.h" |
11164 /* Override any gcc2 internal prototype to avoid an error. */ | 11163 /* Override any gcc2 internal prototype to avoid an error. */ |
11165 /* We use char because int might match the return type of a gcc2 | 11164 /* We use char because int might match the return type of a gcc2 |
11166 builtin and then its argument prototype would still apply. */ | 11165 builtin and then its argument prototype would still apply. */ |
11167 char XOpenIM(); | 11166 char XOpenIM(); |
11168 | 11167 |
11169 int main() { | 11168 int main() { |
11170 XOpenIM() | 11169 XOpenIM() |
11171 ; return 0; } | 11170 ; return 0; } |
11172 EOF | 11171 EOF |
11173 if { (eval echo configure:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11172 if { (eval echo configure:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11174 rm -rf conftest* | 11173 rm -rf conftest* |
11175 eval "ac_cv_lib_$ac_lib_var=yes" | 11174 eval "ac_cv_lib_$ac_lib_var=yes" |
11176 else | 11175 else |
11177 echo "configure: failed program was:" >&5 | 11176 echo "configure: failed program was:" >&5 |
11178 cat conftest.$ac_ext >&5 | 11177 cat conftest.$ac_ext >&5 |
11192 | 11191 |
11193 | 11192 |
11194 if test "$have_motif $have_lesstif" = "yes no"; then | 11193 if test "$have_motif $have_lesstif" = "yes no"; then |
11195 | 11194 |
11196 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11195 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11197 echo "configure:11198: checking for XmImMbLookupString in -lXm" >&5 | 11196 echo "configure:11197: checking for XmImMbLookupString in -lXm" >&5 |
11198 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11197 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11199 | 11198 |
11200 xe_check_libs=" -lXm " | 11199 xe_check_libs=" -lXm " |
11201 cat > conftest.$ac_ext <<EOF | 11200 cat > conftest.$ac_ext <<EOF |
11202 #line 11203 "configure" | 11201 #line 11202 "configure" |
11203 #include "confdefs.h" | 11202 #include "confdefs.h" |
11204 /* Override any gcc2 internal prototype to avoid an error. */ | 11203 /* Override any gcc2 internal prototype to avoid an error. */ |
11205 /* We use char because int might match the return type of a gcc2 | 11204 /* We use char because int might match the return type of a gcc2 |
11206 builtin and then its argument prototype would still apply. */ | 11205 builtin and then its argument prototype would still apply. */ |
11207 char XmImMbLookupString(); | 11206 char XmImMbLookupString(); |
11208 | 11207 |
11209 int main() { | 11208 int main() { |
11210 XmImMbLookupString() | 11209 XmImMbLookupString() |
11211 ; return 0; } | 11210 ; return 0; } |
11212 EOF | 11211 EOF |
11213 if { (eval echo configure:11214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11212 if { (eval echo configure:11213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11214 rm -rf conftest* | 11213 rm -rf conftest* |
11215 eval "ac_cv_lib_$ac_lib_var=yes" | 11214 eval "ac_cv_lib_$ac_lib_var=yes" |
11216 else | 11215 else |
11217 echo "configure: failed program was:" >&5 | 11216 echo "configure: failed program was:" >&5 |
11218 cat conftest.$ac_ext >&5 | 11217 cat conftest.$ac_ext >&5 |
11273 fi | 11272 fi |
11274 fi | 11273 fi |
11275 | 11274 |
11276 if test "$with_xfs" = "yes" ; then | 11275 if test "$with_xfs" = "yes" ; then |
11277 echo "checking for XFontSet" 1>&6 | 11276 echo "checking for XFontSet" 1>&6 |
11278 echo "configure:11279: checking for XFontSet" >&5 | 11277 echo "configure:11278: checking for XFontSet" >&5 |
11279 | 11278 |
11280 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11279 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11281 echo "configure:11282: checking for XmbDrawString in -lX11" >&5 | 11280 echo "configure:11281: checking for XmbDrawString in -lX11" >&5 |
11282 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11281 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11283 | 11282 |
11284 xe_check_libs=" -lX11 " | 11283 xe_check_libs=" -lX11 " |
11285 cat > conftest.$ac_ext <<EOF | 11284 cat > conftest.$ac_ext <<EOF |
11286 #line 11287 "configure" | 11285 #line 11286 "configure" |
11287 #include "confdefs.h" | 11286 #include "confdefs.h" |
11288 /* Override any gcc2 internal prototype to avoid an error. */ | 11287 /* Override any gcc2 internal prototype to avoid an error. */ |
11289 /* We use char because int might match the return type of a gcc2 | 11288 /* We use char because int might match the return type of a gcc2 |
11290 builtin and then its argument prototype would still apply. */ | 11289 builtin and then its argument prototype would still apply. */ |
11291 char XmbDrawString(); | 11290 char XmbDrawString(); |
11292 | 11291 |
11293 int main() { | 11292 int main() { |
11294 XmbDrawString() | 11293 XmbDrawString() |
11295 ; return 0; } | 11294 ; return 0; } |
11296 EOF | 11295 EOF |
11297 if { (eval echo configure:11298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11296 if { (eval echo configure:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11298 rm -rf conftest* | 11297 rm -rf conftest* |
11299 eval "ac_cv_lib_$ac_lib_var=yes" | 11298 eval "ac_cv_lib_$ac_lib_var=yes" |
11300 else | 11299 else |
11301 echo "configure: failed program was:" >&5 | 11300 echo "configure: failed program was:" >&5 |
11302 cat conftest.$ac_ext >&5 | 11301 cat conftest.$ac_ext >&5 |
11332 fi | 11331 fi |
11333 fi | 11332 fi |
11334 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11333 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11335 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11334 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11336 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11335 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11337 echo "configure:11338: checking for wnn/jllib.h" >&5 | 11336 echo "configure:11337: checking for wnn/jllib.h" >&5 |
11338 | 11337 |
11339 cat > conftest.$ac_ext <<EOF | 11338 cat > conftest.$ac_ext <<EOF |
11340 #line 11341 "configure" | 11339 #line 11340 "configure" |
11341 #include "confdefs.h" | 11340 #include "confdefs.h" |
11342 #include <wnn/jllib.h> | 11341 #include <wnn/jllib.h> |
11343 EOF | 11342 EOF |
11344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11345 { (eval echo configure:11346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11344 { (eval echo configure:11345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11347 if test -z "$ac_err"; then | 11346 if test -z "$ac_err"; then |
11348 rm -rf conftest* | 11347 rm -rf conftest* |
11349 eval "ac_cv_header_$ac_safe=yes" | 11348 eval "ac_cv_header_$ac_safe=yes" |
11350 else | 11349 else |
11363 with_wnn=no | 11362 with_wnn=no |
11364 fi | 11363 fi |
11365 } | 11364 } |
11366 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11365 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11367 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11366 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11368 echo "configure:11369: checking for wnn/commonhd.h" >&5 | 11367 echo "configure:11368: checking for wnn/commonhd.h" >&5 |
11369 | 11368 |
11370 cat > conftest.$ac_ext <<EOF | 11369 cat > conftest.$ac_ext <<EOF |
11371 #line 11372 "configure" | 11370 #line 11371 "configure" |
11372 #include "confdefs.h" | 11371 #include "confdefs.h" |
11373 #include <wnn/commonhd.h> | 11372 #include <wnn/commonhd.h> |
11374 EOF | 11373 EOF |
11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11375 { (eval echo configure:11376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11378 if test -z "$ac_err"; then | 11377 if test -z "$ac_err"; then |
11379 rm -rf conftest* | 11378 rm -rf conftest* |
11380 eval "ac_cv_header_$ac_safe=yes" | 11379 eval "ac_cv_header_$ac_safe=yes" |
11381 else | 11380 else |
11396 } | 11395 } |
11397 if test "$with_wnn" != "no"; then | 11396 if test "$with_wnn" != "no"; then |
11398 for ac_func in crypt | 11397 for ac_func in crypt |
11399 do | 11398 do |
11400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11401 echo "configure:11402: checking for $ac_func" >&5 | 11400 echo "configure:11401: checking for $ac_func" >&5 |
11402 | 11401 |
11403 cat > conftest.$ac_ext <<EOF | 11402 cat > conftest.$ac_ext <<EOF |
11404 #line 11405 "configure" | 11403 #line 11404 "configure" |
11405 #include "confdefs.h" | 11404 #include "confdefs.h" |
11406 /* System header to define __stub macros and hopefully few prototypes, | 11405 /* System header to define __stub macros and hopefully few prototypes, |
11407 which can conflict with char $ac_func(); below. */ | 11406 which can conflict with char $ac_func(); below. */ |
11408 #include <assert.h> | 11407 #include <assert.h> |
11409 /* Override any gcc2 internal prototype to avoid an error. */ | 11408 /* Override any gcc2 internal prototype to avoid an error. */ |
11422 $ac_func(); | 11421 $ac_func(); |
11423 #endif | 11422 #endif |
11424 | 11423 |
11425 ; return 0; } | 11424 ; return 0; } |
11426 EOF | 11425 EOF |
11427 if { (eval echo configure:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11428 rm -rf conftest* | 11427 rm -rf conftest* |
11429 eval "ac_cv_func_$ac_func=yes" | 11428 eval "ac_cv_func_$ac_func=yes" |
11430 else | 11429 else |
11431 echo "configure: failed program was:" >&5 | 11430 echo "configure: failed program was:" >&5 |
11432 cat conftest.$ac_ext >&5 | 11431 cat conftest.$ac_ext >&5 |
11451 fi | 11450 fi |
11452 done | 11451 done |
11453 | 11452 |
11454 test "$ac_cv_func_crypt" != "yes" && { | 11453 test "$ac_cv_func_crypt" != "yes" && { |
11455 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11454 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11456 echo "configure:11457: checking for crypt in -lcrypt" >&5 | 11455 echo "configure:11456: checking for crypt in -lcrypt" >&5 |
11457 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11456 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11458 | 11457 |
11459 xe_check_libs=" -lcrypt " | 11458 xe_check_libs=" -lcrypt " |
11460 cat > conftest.$ac_ext <<EOF | 11459 cat > conftest.$ac_ext <<EOF |
11461 #line 11462 "configure" | 11460 #line 11461 "configure" |
11462 #include "confdefs.h" | 11461 #include "confdefs.h" |
11463 /* Override any gcc2 internal prototype to avoid an error. */ | 11462 /* Override any gcc2 internal prototype to avoid an error. */ |
11464 /* We use char because int might match the return type of a gcc2 | 11463 /* We use char because int might match the return type of a gcc2 |
11465 builtin and then its argument prototype would still apply. */ | 11464 builtin and then its argument prototype would still apply. */ |
11466 char crypt(); | 11465 char crypt(); |
11467 | 11466 |
11468 int main() { | 11467 int main() { |
11469 crypt() | 11468 crypt() |
11470 ; return 0; } | 11469 ; return 0; } |
11471 EOF | 11470 EOF |
11472 if { (eval echo configure:11473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11473 rm -rf conftest* | 11472 rm -rf conftest* |
11474 eval "ac_cv_lib_$ac_lib_var=yes" | 11473 eval "ac_cv_lib_$ac_lib_var=yes" |
11475 else | 11474 else |
11476 echo "configure: failed program was:" >&5 | 11475 echo "configure: failed program was:" >&5 |
11477 cat conftest.$ac_ext >&5 | 11476 cat conftest.$ac_ext >&5 |
11502 } | 11501 } |
11503 fi | 11502 fi |
11504 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11503 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11505 | 11504 |
11506 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11505 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11507 echo "configure:11508: checking for jl_dic_list_e in -lwnn" >&5 | 11506 echo "configure:11507: checking for jl_dic_list_e in -lwnn" >&5 |
11508 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11507 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11509 | 11508 |
11510 xe_check_libs=" -lwnn " | 11509 xe_check_libs=" -lwnn " |
11511 cat > conftest.$ac_ext <<EOF | 11510 cat > conftest.$ac_ext <<EOF |
11512 #line 11513 "configure" | 11511 #line 11512 "configure" |
11513 #include "confdefs.h" | 11512 #include "confdefs.h" |
11514 /* Override any gcc2 internal prototype to avoid an error. */ | 11513 /* Override any gcc2 internal prototype to avoid an error. */ |
11515 /* We use char because int might match the return type of a gcc2 | 11514 /* We use char because int might match the return type of a gcc2 |
11516 builtin and then its argument prototype would still apply. */ | 11515 builtin and then its argument prototype would still apply. */ |
11517 char jl_dic_list_e(); | 11516 char jl_dic_list_e(); |
11518 | 11517 |
11519 int main() { | 11518 int main() { |
11520 jl_dic_list_e() | 11519 jl_dic_list_e() |
11521 ; return 0; } | 11520 ; return 0; } |
11522 EOF | 11521 EOF |
11523 if { (eval echo configure:11524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11522 if { (eval echo configure:11523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11524 rm -rf conftest* | 11523 rm -rf conftest* |
11525 eval "ac_cv_lib_$ac_lib_var=yes" | 11524 eval "ac_cv_lib_$ac_lib_var=yes" |
11526 else | 11525 else |
11527 echo "configure: failed program was:" >&5 | 11526 echo "configure: failed program was:" >&5 |
11528 cat conftest.$ac_ext >&5 | 11527 cat conftest.$ac_ext >&5 |
11536 echo "$ac_t""yes" 1>&6 | 11535 echo "$ac_t""yes" 1>&6 |
11537 libwnn=wnn | 11536 libwnn=wnn |
11538 else | 11537 else |
11539 echo "$ac_t""no" 1>&6 | 11538 echo "$ac_t""no" 1>&6 |
11540 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11539 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11541 echo "configure:11542: checking for jl_dic_list_e in -lwnn4" >&5 | 11540 echo "configure:11541: checking for jl_dic_list_e in -lwnn4" >&5 |
11542 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11541 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11543 | 11542 |
11544 xe_check_libs=" -lwnn4 " | 11543 xe_check_libs=" -lwnn4 " |
11545 cat > conftest.$ac_ext <<EOF | 11544 cat > conftest.$ac_ext <<EOF |
11546 #line 11547 "configure" | 11545 #line 11546 "configure" |
11547 #include "confdefs.h" | 11546 #include "confdefs.h" |
11548 /* Override any gcc2 internal prototype to avoid an error. */ | 11547 /* Override any gcc2 internal prototype to avoid an error. */ |
11549 /* We use char because int might match the return type of a gcc2 | 11548 /* We use char because int might match the return type of a gcc2 |
11550 builtin and then its argument prototype would still apply. */ | 11549 builtin and then its argument prototype would still apply. */ |
11551 char jl_dic_list_e(); | 11550 char jl_dic_list_e(); |
11552 | 11551 |
11553 int main() { | 11552 int main() { |
11554 jl_dic_list_e() | 11553 jl_dic_list_e() |
11555 ; return 0; } | 11554 ; return 0; } |
11556 EOF | 11555 EOF |
11557 if { (eval echo configure:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11556 if { (eval echo configure:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11558 rm -rf conftest* | 11557 rm -rf conftest* |
11559 eval "ac_cv_lib_$ac_lib_var=yes" | 11558 eval "ac_cv_lib_$ac_lib_var=yes" |
11560 else | 11559 else |
11561 echo "configure: failed program was:" >&5 | 11560 echo "configure: failed program was:" >&5 |
11562 cat conftest.$ac_ext >&5 | 11561 cat conftest.$ac_ext >&5 |
11570 echo "$ac_t""yes" 1>&6 | 11569 echo "$ac_t""yes" 1>&6 |
11571 libwnn=wnn4 | 11570 libwnn=wnn4 |
11572 else | 11571 else |
11573 echo "$ac_t""no" 1>&6 | 11572 echo "$ac_t""no" 1>&6 |
11574 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11573 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11575 echo "configure:11576: checking for jl_dic_list_e in -lwnn6" >&5 | 11574 echo "configure:11575: checking for jl_dic_list_e in -lwnn6" >&5 |
11576 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11575 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11577 | 11576 |
11578 xe_check_libs=" -lwnn6 " | 11577 xe_check_libs=" -lwnn6 " |
11579 cat > conftest.$ac_ext <<EOF | 11578 cat > conftest.$ac_ext <<EOF |
11580 #line 11581 "configure" | 11579 #line 11580 "configure" |
11581 #include "confdefs.h" | 11580 #include "confdefs.h" |
11582 /* Override any gcc2 internal prototype to avoid an error. */ | 11581 /* Override any gcc2 internal prototype to avoid an error. */ |
11583 /* We use char because int might match the return type of a gcc2 | 11582 /* We use char because int might match the return type of a gcc2 |
11584 builtin and then its argument prototype would still apply. */ | 11583 builtin and then its argument prototype would still apply. */ |
11585 char jl_dic_list_e(); | 11584 char jl_dic_list_e(); |
11586 | 11585 |
11587 int main() { | 11586 int main() { |
11588 jl_dic_list_e() | 11587 jl_dic_list_e() |
11589 ; return 0; } | 11588 ; return 0; } |
11590 EOF | 11589 EOF |
11591 if { (eval echo configure:11592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11590 if { (eval echo configure:11591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11592 rm -rf conftest* | 11591 rm -rf conftest* |
11593 eval "ac_cv_lib_$ac_lib_var=yes" | 11592 eval "ac_cv_lib_$ac_lib_var=yes" |
11594 else | 11593 else |
11595 echo "configure: failed program was:" >&5 | 11594 echo "configure: failed program was:" >&5 |
11596 cat conftest.$ac_ext >&5 | 11595 cat conftest.$ac_ext >&5 |
11604 echo "$ac_t""yes" 1>&6 | 11603 echo "$ac_t""yes" 1>&6 |
11605 libwnn=wnn6 | 11604 libwnn=wnn6 |
11606 else | 11605 else |
11607 echo "$ac_t""no" 1>&6 | 11606 echo "$ac_t""no" 1>&6 |
11608 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11607 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11609 echo "configure:11610: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11608 echo "configure:11609: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11610 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11609 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11611 | 11610 |
11612 xe_check_libs=" -lwnn6_fromsrc " | 11611 xe_check_libs=" -lwnn6_fromsrc " |
11613 cat > conftest.$ac_ext <<EOF | 11612 cat > conftest.$ac_ext <<EOF |
11614 #line 11615 "configure" | 11613 #line 11614 "configure" |
11615 #include "confdefs.h" | 11614 #include "confdefs.h" |
11616 /* Override any gcc2 internal prototype to avoid an error. */ | 11615 /* Override any gcc2 internal prototype to avoid an error. */ |
11617 /* We use char because int might match the return type of a gcc2 | 11616 /* We use char because int might match the return type of a gcc2 |
11618 builtin and then its argument prototype would still apply. */ | 11617 builtin and then its argument prototype would still apply. */ |
11619 char dic_list_e(); | 11618 char dic_list_e(); |
11620 | 11619 |
11621 int main() { | 11620 int main() { |
11622 dic_list_e() | 11621 dic_list_e() |
11623 ; return 0; } | 11622 ; return 0; } |
11624 EOF | 11623 EOF |
11625 if { (eval echo configure:11626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11624 if { (eval echo configure:11625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11626 rm -rf conftest* | 11625 rm -rf conftest* |
11627 eval "ac_cv_lib_$ac_lib_var=yes" | 11626 eval "ac_cv_lib_$ac_lib_var=yes" |
11628 else | 11627 else |
11629 echo "configure: failed program was:" >&5 | 11628 echo "configure: failed program was:" >&5 |
11630 cat conftest.$ac_ext >&5 | 11629 cat conftest.$ac_ext >&5 |
11665 | 11664 |
11666 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11665 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11667 if test "$with_wnn6" != "no"; then | 11666 if test "$with_wnn6" != "no"; then |
11668 | 11667 |
11669 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11668 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11670 echo "configure:11671: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11669 echo "configure:11670: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11671 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11670 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11672 | 11671 |
11673 xe_check_libs=" -l$libwnn " | 11672 xe_check_libs=" -l$libwnn " |
11674 cat > conftest.$ac_ext <<EOF | 11673 cat > conftest.$ac_ext <<EOF |
11675 #line 11676 "configure" | 11674 #line 11675 "configure" |
11676 #include "confdefs.h" | 11675 #include "confdefs.h" |
11677 /* Override any gcc2 internal prototype to avoid an error. */ | 11676 /* Override any gcc2 internal prototype to avoid an error. */ |
11678 /* We use char because int might match the return type of a gcc2 | 11677 /* We use char because int might match the return type of a gcc2 |
11679 builtin and then its argument prototype would still apply. */ | 11678 builtin and then its argument prototype would still apply. */ |
11680 char jl_fi_dic_list(); | 11679 char jl_fi_dic_list(); |
11681 | 11680 |
11682 int main() { | 11681 int main() { |
11683 jl_fi_dic_list() | 11682 jl_fi_dic_list() |
11684 ; return 0; } | 11683 ; return 0; } |
11685 EOF | 11684 EOF |
11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11687 rm -rf conftest* | 11686 rm -rf conftest* |
11688 eval "ac_cv_lib_$ac_lib_var=yes" | 11687 eval "ac_cv_lib_$ac_lib_var=yes" |
11689 else | 11688 else |
11690 echo "configure: failed program was:" >&5 | 11689 echo "configure: failed program was:" >&5 |
11691 cat conftest.$ac_ext >&5 | 11690 cat conftest.$ac_ext >&5 |
11716 | 11715 |
11717 canna_includes_found=no | 11716 canna_includes_found=no |
11718 if test "$with_canna" != "no"; then | 11717 if test "$with_canna" != "no"; then |
11719 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11718 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11720 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11719 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11721 echo "configure:11722: checking for canna/jrkanji.h" >&5 | 11720 echo "configure:11721: checking for canna/jrkanji.h" >&5 |
11722 | 11721 |
11723 cat > conftest.$ac_ext <<EOF | 11722 cat > conftest.$ac_ext <<EOF |
11724 #line 11725 "configure" | 11723 #line 11724 "configure" |
11725 #include "confdefs.h" | 11724 #include "confdefs.h" |
11726 #include <canna/jrkanji.h> | 11725 #include <canna/jrkanji.h> |
11727 EOF | 11726 EOF |
11728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11729 { (eval echo configure:11730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11728 { (eval echo configure:11729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11731 if test -z "$ac_err"; then | 11730 if test -z "$ac_err"; then |
11732 rm -rf conftest* | 11731 rm -rf conftest* |
11733 eval "ac_cv_header_$ac_safe=yes" | 11732 eval "ac_cv_header_$ac_safe=yes" |
11734 else | 11733 else |
11751 -d "/usr/local/canna/include"; then | 11750 -d "/usr/local/canna/include"; then |
11752 save_c_switch_site="$c_switch_site" | 11751 save_c_switch_site="$c_switch_site" |
11753 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11752 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11754 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11753 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11755 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11754 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11756 echo "configure:11757: checking for canna/jrkanji.h" >&5 | 11755 echo "configure:11756: checking for canna/jrkanji.h" >&5 |
11757 | 11756 |
11758 cat > conftest.$ac_ext <<EOF | 11757 cat > conftest.$ac_ext <<EOF |
11759 #line 11760 "configure" | 11758 #line 11759 "configure" |
11760 #include "confdefs.h" | 11759 #include "confdefs.h" |
11761 #include <canna/jrkanji.h> | 11760 #include <canna/jrkanji.h> |
11762 EOF | 11761 EOF |
11763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11764 { (eval echo configure:11765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11763 { (eval echo configure:11764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11766 if test -z "$ac_err"; then | 11765 if test -z "$ac_err"; then |
11767 rm -rf conftest* | 11766 rm -rf conftest* |
11768 eval "ac_cv_header_$ac_safe=yes" | 11767 eval "ac_cv_header_$ac_safe=yes" |
11769 else | 11768 else |
11787 fi | 11786 fi |
11788 fi | 11787 fi |
11789 | 11788 |
11790 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11789 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11791 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11790 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11792 echo "configure:11793: checking for canna/RK.h" >&5 | 11791 echo "configure:11792: checking for canna/RK.h" >&5 |
11793 | 11792 |
11794 cat > conftest.$ac_ext <<EOF | 11793 cat > conftest.$ac_ext <<EOF |
11795 #line 11796 "configure" | 11794 #line 11795 "configure" |
11796 #include "confdefs.h" | 11795 #include "confdefs.h" |
11797 #include <canna/RK.h> | 11796 #include <canna/RK.h> |
11798 EOF | 11797 EOF |
11799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11800 { (eval echo configure:11801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11799 { (eval echo configure:11800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11802 if test -z "$ac_err"; then | 11801 if test -z "$ac_err"; then |
11803 rm -rf conftest* | 11802 rm -rf conftest* |
11804 eval "ac_cv_header_$ac_safe=yes" | 11803 eval "ac_cv_header_$ac_safe=yes" |
11805 else | 11804 else |
11818 with_canna=no | 11817 with_canna=no |
11819 fi | 11818 fi |
11820 } | 11819 } |
11821 test -z "$with_canna" && { | 11820 test -z "$with_canna" && { |
11822 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11821 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11823 echo "configure:11824: checking for RkBgnBun in -lRKC" >&5 | 11822 echo "configure:11823: checking for RkBgnBun in -lRKC" >&5 |
11824 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11823 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11825 | 11824 |
11826 xe_check_libs=" -lRKC " | 11825 xe_check_libs=" -lRKC " |
11827 cat > conftest.$ac_ext <<EOF | 11826 cat > conftest.$ac_ext <<EOF |
11828 #line 11829 "configure" | 11827 #line 11828 "configure" |
11829 #include "confdefs.h" | 11828 #include "confdefs.h" |
11830 /* Override any gcc2 internal prototype to avoid an error. */ | 11829 /* Override any gcc2 internal prototype to avoid an error. */ |
11831 /* We use char because int might match the return type of a gcc2 | 11830 /* We use char because int might match the return type of a gcc2 |
11832 builtin and then its argument prototype would still apply. */ | 11831 builtin and then its argument prototype would still apply. */ |
11833 char RkBgnBun(); | 11832 char RkBgnBun(); |
11834 | 11833 |
11835 int main() { | 11834 int main() { |
11836 RkBgnBun() | 11835 RkBgnBun() |
11837 ; return 0; } | 11836 ; return 0; } |
11838 EOF | 11837 EOF |
11839 if { (eval echo configure:11840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11838 if { (eval echo configure:11839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11840 rm -rf conftest* | 11839 rm -rf conftest* |
11841 eval "ac_cv_lib_$ac_lib_var=yes" | 11840 eval "ac_cv_lib_$ac_lib_var=yes" |
11842 else | 11841 else |
11843 echo "configure: failed program was:" >&5 | 11842 echo "configure: failed program was:" >&5 |
11844 cat conftest.$ac_ext >&5 | 11843 cat conftest.$ac_ext >&5 |
11857 fi | 11856 fi |
11858 | 11857 |
11859 } | 11858 } |
11860 test -z "$with_canna" && { | 11859 test -z "$with_canna" && { |
11861 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11860 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11862 echo "configure:11863: checking for jrKanjiControl in -lcanna" >&5 | 11861 echo "configure:11862: checking for jrKanjiControl in -lcanna" >&5 |
11863 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11862 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11864 | 11863 |
11865 xe_check_libs=" -lcanna " | 11864 xe_check_libs=" -lcanna " |
11866 cat > conftest.$ac_ext <<EOF | 11865 cat > conftest.$ac_ext <<EOF |
11867 #line 11868 "configure" | 11866 #line 11867 "configure" |
11868 #include "confdefs.h" | 11867 #include "confdefs.h" |
11869 /* Override any gcc2 internal prototype to avoid an error. */ | 11868 /* Override any gcc2 internal prototype to avoid an error. */ |
11870 /* We use char because int might match the return type of a gcc2 | 11869 /* We use char because int might match the return type of a gcc2 |
11871 builtin and then its argument prototype would still apply. */ | 11870 builtin and then its argument prototype would still apply. */ |
11872 char jrKanjiControl(); | 11871 char jrKanjiControl(); |
11873 | 11872 |
11874 int main() { | 11873 int main() { |
11875 jrKanjiControl() | 11874 jrKanjiControl() |
11876 ; return 0; } | 11875 ; return 0; } |
11877 EOF | 11876 EOF |
11878 if { (eval echo configure:11879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11877 if { (eval echo configure:11878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11879 rm -rf conftest* | 11878 rm -rf conftest* |
11880 eval "ac_cv_lib_$ac_lib_var=yes" | 11879 eval "ac_cv_lib_$ac_lib_var=yes" |
11881 else | 11880 else |
11882 echo "configure: failed program was:" >&5 | 11881 echo "configure: failed program was:" >&5 |
11883 cat conftest.$ac_ext >&5 | 11882 cat conftest.$ac_ext >&5 |
11919 | 11918 |
11920 if test "$need_motif" = "yes" ; then | 11919 if test "$need_motif" = "yes" ; then |
11921 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11920 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11922 | 11921 |
11923 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11922 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11924 echo "configure:11925: checking for layout_object_getvalue in -li18n" >&5 | 11923 echo "configure:11924: checking for layout_object_getvalue in -li18n" >&5 |
11925 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11924 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11926 | 11925 |
11927 xe_check_libs=" -li18n " | 11926 xe_check_libs=" -li18n " |
11928 cat > conftest.$ac_ext <<EOF | 11927 cat > conftest.$ac_ext <<EOF |
11929 #line 11930 "configure" | 11928 #line 11929 "configure" |
11930 #include "confdefs.h" | 11929 #include "confdefs.h" |
11931 /* Override any gcc2 internal prototype to avoid an error. */ | 11930 /* Override any gcc2 internal prototype to avoid an error. */ |
11932 /* We use char because int might match the return type of a gcc2 | 11931 /* We use char because int might match the return type of a gcc2 |
11933 builtin and then its argument prototype would still apply. */ | 11932 builtin and then its argument prototype would still apply. */ |
11934 char layout_object_getvalue(); | 11933 char layout_object_getvalue(); |
11935 | 11934 |
11936 int main() { | 11935 int main() { |
11937 layout_object_getvalue() | 11936 layout_object_getvalue() |
11938 ; return 0; } | 11937 ; return 0; } |
11939 EOF | 11938 EOF |
11940 if { (eval echo configure:11941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11939 if { (eval echo configure:11940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11941 rm -rf conftest* | 11940 rm -rf conftest* |
11942 eval "ac_cv_lib_$ac_lib_var=yes" | 11941 eval "ac_cv_lib_$ac_lib_var=yes" |
11943 else | 11942 else |
11944 echo "configure: failed program was:" >&5 | 11943 echo "configure: failed program was:" >&5 |
11945 cat conftest.$ac_ext >&5 | 11944 cat conftest.$ac_ext >&5 |
12022 | 12021 |
12023 | 12022 |
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 | 12023 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 |
12025 do | 12024 do |
12026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12027 echo "configure:12028: checking for $ac_func" >&5 | 12026 echo "configure:12027: checking for $ac_func" >&5 |
12028 | 12027 |
12029 cat > conftest.$ac_ext <<EOF | 12028 cat > conftest.$ac_ext <<EOF |
12030 #line 12031 "configure" | 12029 #line 12030 "configure" |
12031 #include "confdefs.h" | 12030 #include "confdefs.h" |
12032 /* System header to define __stub macros and hopefully few prototypes, | 12031 /* System header to define __stub macros and hopefully few prototypes, |
12033 which can conflict with char $ac_func(); below. */ | 12032 which can conflict with char $ac_func(); below. */ |
12034 #include <assert.h> | 12033 #include <assert.h> |
12035 /* Override any gcc2 internal prototype to avoid an error. */ | 12034 /* Override any gcc2 internal prototype to avoid an error. */ |
12048 $ac_func(); | 12047 $ac_func(); |
12049 #endif | 12048 #endif |
12050 | 12049 |
12051 ; return 0; } | 12050 ; return 0; } |
12052 EOF | 12051 EOF |
12053 if { (eval echo configure:12054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12052 if { (eval echo configure:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12054 rm -rf conftest* | 12053 rm -rf conftest* |
12055 eval "ac_cv_func_$ac_func=yes" | 12054 eval "ac_cv_func_$ac_func=yes" |
12056 else | 12055 else |
12057 echo "configure: failed program was:" >&5 | 12056 echo "configure: failed program was:" >&5 |
12058 cat conftest.$ac_ext >&5 | 12057 cat conftest.$ac_ext >&5 |
12089 | 12088 |
12090 | 12089 |
12091 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12090 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12092 do | 12091 do |
12093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12094 echo "configure:12095: checking for $ac_func" >&5 | 12093 echo "configure:12094: checking for $ac_func" >&5 |
12095 | 12094 |
12096 cat > conftest.$ac_ext <<EOF | 12095 cat > conftest.$ac_ext <<EOF |
12097 #line 12098 "configure" | 12096 #line 12097 "configure" |
12098 #include "confdefs.h" | 12097 #include "confdefs.h" |
12099 /* System header to define __stub macros and hopefully few prototypes, | 12098 /* System header to define __stub macros and hopefully few prototypes, |
12100 which can conflict with char $ac_func(); below. */ | 12099 which can conflict with char $ac_func(); below. */ |
12101 #include <assert.h> | 12100 #include <assert.h> |
12102 /* Override any gcc2 internal prototype to avoid an error. */ | 12101 /* Override any gcc2 internal prototype to avoid an error. */ |
12115 $ac_func(); | 12114 $ac_func(); |
12116 #endif | 12115 #endif |
12117 | 12116 |
12118 ; return 0; } | 12117 ; return 0; } |
12119 EOF | 12118 EOF |
12120 if { (eval echo configure:12121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12121 rm -rf conftest* | 12120 rm -rf conftest* |
12122 eval "ac_cv_func_$ac_func=yes" | 12121 eval "ac_cv_func_$ac_func=yes" |
12123 else | 12122 else |
12124 echo "configure: failed program was:" >&5 | 12123 echo "configure: failed program was:" >&5 |
12125 cat conftest.$ac_ext >&5 | 12124 cat conftest.$ac_ext >&5 |
12144 fi | 12143 fi |
12145 done | 12144 done |
12146 | 12145 |
12147 | 12146 |
12148 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12147 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12149 echo "configure:12150: checking for openpty" >&5 | 12148 echo "configure:12149: checking for openpty" >&5 |
12150 | 12149 |
12151 cat > conftest.$ac_ext <<EOF | 12150 cat > conftest.$ac_ext <<EOF |
12152 #line 12153 "configure" | 12151 #line 12152 "configure" |
12153 #include "confdefs.h" | 12152 #include "confdefs.h" |
12154 /* System header to define __stub macros and hopefully few prototypes, | 12153 /* System header to define __stub macros and hopefully few prototypes, |
12155 which can conflict with char openpty(); below. */ | 12154 which can conflict with char openpty(); below. */ |
12156 #include <assert.h> | 12155 #include <assert.h> |
12157 /* Override any gcc2 internal prototype to avoid an error. */ | 12156 /* Override any gcc2 internal prototype to avoid an error. */ |
12170 openpty(); | 12169 openpty(); |
12171 #endif | 12170 #endif |
12172 | 12171 |
12173 ; return 0; } | 12172 ; return 0; } |
12174 EOF | 12173 EOF |
12175 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12174 if { (eval echo configure:12175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12176 rm -rf conftest* | 12175 rm -rf conftest* |
12177 eval "ac_cv_func_openpty=yes" | 12176 eval "ac_cv_func_openpty=yes" |
12178 else | 12177 else |
12179 echo "configure: failed program was:" >&5 | 12178 echo "configure: failed program was:" >&5 |
12180 cat conftest.$ac_ext >&5 | 12179 cat conftest.$ac_ext >&5 |
12189 else | 12188 else |
12190 echo "$ac_t""no" 1>&6 | 12189 echo "$ac_t""no" 1>&6 |
12191 | 12190 |
12192 | 12191 |
12193 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12192 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12194 echo "configure:12195: checking for openpty in -lutil" >&5 | 12193 echo "configure:12194: checking for openpty in -lutil" >&5 |
12195 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12194 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12196 | 12195 |
12197 xe_check_libs=" -lutil " | 12196 xe_check_libs=" -lutil " |
12198 cat > conftest.$ac_ext <<EOF | 12197 cat > conftest.$ac_ext <<EOF |
12199 #line 12200 "configure" | 12198 #line 12199 "configure" |
12200 #include "confdefs.h" | 12199 #include "confdefs.h" |
12201 /* Override any gcc2 internal prototype to avoid an error. */ | 12200 /* Override any gcc2 internal prototype to avoid an error. */ |
12202 /* We use char because int might match the return type of a gcc2 | 12201 /* We use char because int might match the return type of a gcc2 |
12203 builtin and then its argument prototype would still apply. */ | 12202 builtin and then its argument prototype would still apply. */ |
12204 char openpty(); | 12203 char openpty(); |
12205 | 12204 |
12206 int main() { | 12205 int main() { |
12207 openpty() | 12206 openpty() |
12208 ; return 0; } | 12207 ; return 0; } |
12209 EOF | 12208 EOF |
12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12211 rm -rf conftest* | 12210 rm -rf conftest* |
12212 eval "ac_cv_lib_$ac_lib_var=yes" | 12211 eval "ac_cv_lib_$ac_lib_var=yes" |
12213 else | 12212 else |
12214 echo "configure: failed program was:" >&5 | 12213 echo "configure: failed program was:" >&5 |
12215 cat conftest.$ac_ext >&5 | 12214 cat conftest.$ac_ext >&5 |
12240 | 12239 |
12241 for ac_hdr in libutil.h util.h | 12240 for ac_hdr in libutil.h util.h |
12242 do | 12241 do |
12243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12245 echo "configure:12246: checking for $ac_hdr" >&5 | 12244 echo "configure:12245: checking for $ac_hdr" >&5 |
12246 | 12245 |
12247 cat > conftest.$ac_ext <<EOF | 12246 cat > conftest.$ac_ext <<EOF |
12248 #line 12249 "configure" | 12247 #line 12248 "configure" |
12249 #include "confdefs.h" | 12248 #include "confdefs.h" |
12250 #include <$ac_hdr> | 12249 #include <$ac_hdr> |
12251 EOF | 12250 EOF |
12252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12253 { (eval echo configure:12254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12252 { (eval echo configure:12253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12255 if test -z "$ac_err"; then | 12254 if test -z "$ac_err"; then |
12256 rm -rf conftest* | 12255 rm -rf conftest* |
12257 eval "ac_cv_header_$ac_safe=yes" | 12256 eval "ac_cv_header_$ac_safe=yes" |
12258 else | 12257 else |
12285 case "$opsys" in | 12284 case "$opsys" in |
12286 hpux*) for ac_hdr in sys/ptyio.h | 12285 hpux*) for ac_hdr in sys/ptyio.h |
12287 do | 12286 do |
12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12290 echo "configure:12291: checking for $ac_hdr" >&5 | 12289 echo "configure:12290: checking for $ac_hdr" >&5 |
12291 | 12290 |
12292 cat > conftest.$ac_ext <<EOF | 12291 cat > conftest.$ac_ext <<EOF |
12293 #line 12294 "configure" | 12292 #line 12293 "configure" |
12294 #include "confdefs.h" | 12293 #include "confdefs.h" |
12295 #include <$ac_hdr> | 12294 #include <$ac_hdr> |
12296 EOF | 12295 EOF |
12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12297 { (eval echo configure:12298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12300 if test -z "$ac_err"; then | 12299 if test -z "$ac_err"; then |
12301 rm -rf conftest* | 12300 rm -rf conftest* |
12302 eval "ac_cv_header_$ac_safe=yes" | 12301 eval "ac_cv_header_$ac_safe=yes" |
12303 else | 12302 else |
12326 ;; | 12325 ;; |
12327 *) for ac_hdr in pty.h | 12326 *) for ac_hdr in pty.h |
12328 do | 12327 do |
12329 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12328 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12329 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12331 echo "configure:12332: checking for $ac_hdr" >&5 | 12330 echo "configure:12331: checking for $ac_hdr" >&5 |
12332 | 12331 |
12333 cat > conftest.$ac_ext <<EOF | 12332 cat > conftest.$ac_ext <<EOF |
12334 #line 12335 "configure" | 12333 #line 12334 "configure" |
12335 #include "confdefs.h" | 12334 #include "confdefs.h" |
12336 #include <$ac_hdr> | 12335 #include <$ac_hdr> |
12337 EOF | 12336 EOF |
12338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12339 { (eval echo configure:12340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12338 { (eval echo configure:12339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12341 if test -z "$ac_err"; then | 12340 if test -z "$ac_err"; then |
12342 rm -rf conftest* | 12341 rm -rf conftest* |
12343 eval "ac_cv_header_$ac_safe=yes" | 12342 eval "ac_cv_header_$ac_safe=yes" |
12344 else | 12343 else |
12367 | 12366 |
12368 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12367 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12369 do | 12368 do |
12370 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12369 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12371 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12370 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12372 echo "configure:12373: checking for $ac_hdr" >&5 | 12371 echo "configure:12372: checking for $ac_hdr" >&5 |
12373 | 12372 |
12374 cat > conftest.$ac_ext <<EOF | 12373 cat > conftest.$ac_ext <<EOF |
12375 #line 12376 "configure" | 12374 #line 12375 "configure" |
12376 #include "confdefs.h" | 12375 #include "confdefs.h" |
12377 #include <$ac_hdr> | 12376 #include <$ac_hdr> |
12378 EOF | 12377 EOF |
12379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12380 { (eval echo configure:12381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12379 { (eval echo configure:12380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12382 if test -z "$ac_err"; then | 12381 if test -z "$ac_err"; then |
12383 rm -rf conftest* | 12382 rm -rf conftest* |
12384 eval "ac_cv_header_$ac_safe=yes" | 12383 eval "ac_cv_header_$ac_safe=yes" |
12385 else | 12384 else |
12411 | 12410 |
12412 for ac_hdr in stropts.h | 12411 for ac_hdr in stropts.h |
12413 do | 12412 do |
12414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12413 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12414 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12416 echo "configure:12417: checking for $ac_hdr" >&5 | 12415 echo "configure:12416: checking for $ac_hdr" >&5 |
12417 | 12416 |
12418 cat > conftest.$ac_ext <<EOF | 12417 cat > conftest.$ac_ext <<EOF |
12419 #line 12420 "configure" | 12418 #line 12419 "configure" |
12420 #include "confdefs.h" | 12419 #include "confdefs.h" |
12421 #include <$ac_hdr> | 12420 #include <$ac_hdr> |
12422 EOF | 12421 EOF |
12423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12424 { (eval echo configure:12425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12423 { (eval echo configure:12424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12426 if test -z "$ac_err"; then | 12425 if test -z "$ac_err"; then |
12427 rm -rf conftest* | 12426 rm -rf conftest* |
12428 eval "ac_cv_header_$ac_safe=yes" | 12427 eval "ac_cv_header_$ac_safe=yes" |
12429 else | 12428 else |
12452 | 12451 |
12453 if test "$ac_cv_header_stropts_h" = "yes"; then | 12452 if test "$ac_cv_header_stropts_h" = "yes"; then |
12454 for ac_func in isastream | 12453 for ac_func in isastream |
12455 do | 12454 do |
12456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12457 echo "configure:12458: checking for $ac_func" >&5 | 12456 echo "configure:12457: checking for $ac_func" >&5 |
12458 | 12457 |
12459 cat > conftest.$ac_ext <<EOF | 12458 cat > conftest.$ac_ext <<EOF |
12460 #line 12461 "configure" | 12459 #line 12460 "configure" |
12461 #include "confdefs.h" | 12460 #include "confdefs.h" |
12462 /* System header to define __stub macros and hopefully few prototypes, | 12461 /* System header to define __stub macros and hopefully few prototypes, |
12463 which can conflict with char $ac_func(); below. */ | 12462 which can conflict with char $ac_func(); below. */ |
12464 #include <assert.h> | 12463 #include <assert.h> |
12465 /* Override any gcc2 internal prototype to avoid an error. */ | 12464 /* Override any gcc2 internal prototype to avoid an error. */ |
12478 $ac_func(); | 12477 $ac_func(); |
12479 #endif | 12478 #endif |
12480 | 12479 |
12481 ; return 0; } | 12480 ; return 0; } |
12482 EOF | 12481 EOF |
12483 if { (eval echo configure:12484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12482 if { (eval echo configure:12483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12484 rm -rf conftest* | 12483 rm -rf conftest* |
12485 eval "ac_cv_func_$ac_func=yes" | 12484 eval "ac_cv_func_$ac_func=yes" |
12486 else | 12485 else |
12487 echo "configure: failed program was:" >&5 | 12486 echo "configure: failed program was:" >&5 |
12488 cat conftest.$ac_ext >&5 | 12487 cat conftest.$ac_ext >&5 |
12509 | 12508 |
12510 for ac_hdr in strtio.h | 12509 for ac_hdr in strtio.h |
12511 do | 12510 do |
12512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12514 echo "configure:12515: checking for $ac_hdr" >&5 | 12513 echo "configure:12514: checking for $ac_hdr" >&5 |
12515 | 12514 |
12516 cat > conftest.$ac_ext <<EOF | 12515 cat > conftest.$ac_ext <<EOF |
12517 #line 12518 "configure" | 12516 #line 12517 "configure" |
12518 #include "confdefs.h" | 12517 #include "confdefs.h" |
12519 #include <$ac_hdr> | 12518 #include <$ac_hdr> |
12520 EOF | 12519 EOF |
12521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12522 { (eval echo configure:12523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12521 { (eval echo configure:12522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12524 if test -z "$ac_err"; then | 12523 if test -z "$ac_err"; then |
12525 rm -rf conftest* | 12524 rm -rf conftest* |
12526 eval "ac_cv_header_$ac_safe=yes" | 12525 eval "ac_cv_header_$ac_safe=yes" |
12527 else | 12526 else |
12550 fi | 12549 fi |
12551 | 12550 |
12552 for ac_func in getloadavg | 12551 for ac_func in getloadavg |
12553 do | 12552 do |
12554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12555 echo "configure:12556: checking for $ac_func" >&5 | 12554 echo "configure:12555: checking for $ac_func" >&5 |
12556 | 12555 |
12557 cat > conftest.$ac_ext <<EOF | 12556 cat > conftest.$ac_ext <<EOF |
12558 #line 12559 "configure" | 12557 #line 12558 "configure" |
12559 #include "confdefs.h" | 12558 #include "confdefs.h" |
12560 /* System header to define __stub macros and hopefully few prototypes, | 12559 /* System header to define __stub macros and hopefully few prototypes, |
12561 which can conflict with char $ac_func(); below. */ | 12560 which can conflict with char $ac_func(); below. */ |
12562 #include <assert.h> | 12561 #include <assert.h> |
12563 /* Override any gcc2 internal prototype to avoid an error. */ | 12562 /* Override any gcc2 internal prototype to avoid an error. */ |
12576 $ac_func(); | 12575 $ac_func(); |
12577 #endif | 12576 #endif |
12578 | 12577 |
12579 ; return 0; } | 12578 ; return 0; } |
12580 EOF | 12579 EOF |
12581 if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12580 if { (eval echo configure:12581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12582 rm -rf conftest* | 12581 rm -rf conftest* |
12583 eval "ac_cv_func_$ac_func=yes" | 12582 eval "ac_cv_func_$ac_func=yes" |
12584 else | 12583 else |
12585 echo "configure: failed program was:" >&5 | 12584 echo "configure: failed program was:" >&5 |
12586 cat conftest.$ac_ext >&5 | 12585 cat conftest.$ac_ext >&5 |
12609 if test "$ac_cv_func_getloadavg" = "yes"; then | 12608 if test "$ac_cv_func_getloadavg" = "yes"; then |
12610 for ac_hdr in sys/loadavg.h | 12609 for ac_hdr in sys/loadavg.h |
12611 do | 12610 do |
12612 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12611 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12613 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12612 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12614 echo "configure:12615: checking for $ac_hdr" >&5 | 12613 echo "configure:12614: checking for $ac_hdr" >&5 |
12615 | 12614 |
12616 cat > conftest.$ac_ext <<EOF | 12615 cat > conftest.$ac_ext <<EOF |
12617 #line 12618 "configure" | 12616 #line 12617 "configure" |
12618 #include "confdefs.h" | 12617 #include "confdefs.h" |
12619 #include <$ac_hdr> | 12618 #include <$ac_hdr> |
12620 EOF | 12619 EOF |
12621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12622 { (eval echo configure:12623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12621 { (eval echo configure:12622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12624 if test -z "$ac_err"; then | 12623 if test -z "$ac_err"; then |
12625 rm -rf conftest* | 12624 rm -rf conftest* |
12626 eval "ac_cv_header_$ac_safe=yes" | 12625 eval "ac_cv_header_$ac_safe=yes" |
12627 else | 12626 else |
12653 echo " xemacs will be linked with \"getloadavg.o\"" | 12652 echo " xemacs will be linked with \"getloadavg.o\"" |
12654 fi | 12653 fi |
12655 | 12654 |
12656 | 12655 |
12657 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12656 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12658 echo "configure:12659: checking for kstat_open in -lkstat" >&5 | 12657 echo "configure:12658: checking for kstat_open in -lkstat" >&5 |
12659 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12658 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12660 | 12659 |
12661 xe_check_libs=" -lkstat " | 12660 xe_check_libs=" -lkstat " |
12662 cat > conftest.$ac_ext <<EOF | 12661 cat > conftest.$ac_ext <<EOF |
12663 #line 12664 "configure" | 12662 #line 12663 "configure" |
12664 #include "confdefs.h" | 12663 #include "confdefs.h" |
12665 /* Override any gcc2 internal prototype to avoid an error. */ | 12664 /* Override any gcc2 internal prototype to avoid an error. */ |
12666 /* We use char because int might match the return type of a gcc2 | 12665 /* We use char because int might match the return type of a gcc2 |
12667 builtin and then its argument prototype would still apply. */ | 12666 builtin and then its argument prototype would still apply. */ |
12668 char kstat_open(); | 12667 char kstat_open(); |
12669 | 12668 |
12670 int main() { | 12669 int main() { |
12671 kstat_open() | 12670 kstat_open() |
12672 ; return 0; } | 12671 ; return 0; } |
12673 EOF | 12672 EOF |
12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12673 if { (eval echo configure:12674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12675 rm -rf conftest* | 12674 rm -rf conftest* |
12676 eval "ac_cv_lib_$ac_lib_var=yes" | 12675 eval "ac_cv_lib_$ac_lib_var=yes" |
12677 else | 12676 else |
12678 echo "configure: failed program was:" >&5 | 12677 echo "configure: failed program was:" >&5 |
12679 cat conftest.$ac_ext >&5 | 12678 cat conftest.$ac_ext >&5 |
12704 | 12703 |
12705 for ac_hdr in kstat.h | 12704 for ac_hdr in kstat.h |
12706 do | 12705 do |
12707 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12708 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12709 echo "configure:12710: checking for $ac_hdr" >&5 | 12708 echo "configure:12709: checking for $ac_hdr" >&5 |
12710 | 12709 |
12711 cat > conftest.$ac_ext <<EOF | 12710 cat > conftest.$ac_ext <<EOF |
12712 #line 12713 "configure" | 12711 #line 12712 "configure" |
12713 #include "confdefs.h" | 12712 #include "confdefs.h" |
12714 #include <$ac_hdr> | 12713 #include <$ac_hdr> |
12715 EOF | 12714 EOF |
12716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12717 { (eval echo configure:12718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12716 { (eval echo configure:12717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12719 if test -z "$ac_err"; then | 12718 if test -z "$ac_err"; then |
12720 rm -rf conftest* | 12719 rm -rf conftest* |
12721 eval "ac_cv_header_$ac_safe=yes" | 12720 eval "ac_cv_header_$ac_safe=yes" |
12722 else | 12721 else |
12744 done | 12743 done |
12745 | 12744 |
12746 | 12745 |
12747 | 12746 |
12748 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12747 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12749 echo "configure:12750: checking for kvm_read in -lkvm" >&5 | 12748 echo "configure:12749: checking for kvm_read in -lkvm" >&5 |
12750 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12749 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12751 | 12750 |
12752 xe_check_libs=" -lkvm " | 12751 xe_check_libs=" -lkvm " |
12753 cat > conftest.$ac_ext <<EOF | 12752 cat > conftest.$ac_ext <<EOF |
12754 #line 12755 "configure" | 12753 #line 12754 "configure" |
12755 #include "confdefs.h" | 12754 #include "confdefs.h" |
12756 /* Override any gcc2 internal prototype to avoid an error. */ | 12755 /* Override any gcc2 internal prototype to avoid an error. */ |
12757 /* We use char because int might match the return type of a gcc2 | 12756 /* We use char because int might match the return type of a gcc2 |
12758 builtin and then its argument prototype would still apply. */ | 12757 builtin and then its argument prototype would still apply. */ |
12759 char kvm_read(); | 12758 char kvm_read(); |
12760 | 12759 |
12761 int main() { | 12760 int main() { |
12762 kvm_read() | 12761 kvm_read() |
12763 ; return 0; } | 12762 ; return 0; } |
12764 EOF | 12763 EOF |
12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12764 if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12766 rm -rf conftest* | 12765 rm -rf conftest* |
12767 eval "ac_cv_lib_$ac_lib_var=yes" | 12766 eval "ac_cv_lib_$ac_lib_var=yes" |
12768 else | 12767 else |
12769 echo "configure: failed program was:" >&5 | 12768 echo "configure: failed program was:" >&5 |
12770 cat conftest.$ac_ext >&5 | 12769 cat conftest.$ac_ext >&5 |
12794 | 12793 |
12795 | 12794 |
12796 fi | 12795 fi |
12797 | 12796 |
12798 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12797 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12799 echo "configure:12800: checking whether netdb declares h_errno" >&5 | 12798 echo "configure:12799: checking whether netdb declares h_errno" >&5 |
12800 cat > conftest.$ac_ext <<EOF | 12799 cat > conftest.$ac_ext <<EOF |
12801 #line 12802 "configure" | 12800 #line 12801 "configure" |
12802 #include "confdefs.h" | 12801 #include "confdefs.h" |
12803 #include <netdb.h> | 12802 #include <netdb.h> |
12804 int main() { | 12803 int main() { |
12805 return h_errno; | 12804 return h_errno; |
12806 ; return 0; } | 12805 ; return 0; } |
12807 EOF | 12806 EOF |
12808 if { (eval echo configure:12809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12807 if { (eval echo configure:12808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12809 rm -rf conftest* | 12808 rm -rf conftest* |
12810 echo "$ac_t""yes" 1>&6 | 12809 echo "$ac_t""yes" 1>&6 |
12811 { test "$extra_verbose" = "yes" && cat << \EOF | 12810 { test "$extra_verbose" = "yes" && cat << \EOF |
12812 Defining HAVE_H_ERRNO | 12811 Defining HAVE_H_ERRNO |
12813 EOF | 12812 EOF |
12823 echo "$ac_t""no" 1>&6 | 12822 echo "$ac_t""no" 1>&6 |
12824 fi | 12823 fi |
12825 rm -f conftest* | 12824 rm -f conftest* |
12826 | 12825 |
12827 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12826 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12828 echo "configure:12829: checking for sigsetjmp" >&5 | 12827 echo "configure:12828: checking for sigsetjmp" >&5 |
12829 cat > conftest.$ac_ext <<EOF | 12828 cat > conftest.$ac_ext <<EOF |
12830 #line 12831 "configure" | 12829 #line 12830 "configure" |
12831 #include "confdefs.h" | 12830 #include "confdefs.h" |
12832 #include <setjmp.h> | 12831 #include <setjmp.h> |
12833 int main() { | 12832 int main() { |
12834 sigjmp_buf bar; sigsetjmp (bar, 0); | 12833 sigjmp_buf bar; sigsetjmp (bar, 0); |
12835 ; return 0; } | 12834 ; return 0; } |
12836 EOF | 12835 EOF |
12837 if { (eval echo configure:12838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12836 if { (eval echo configure:12837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12838 rm -rf conftest* | 12837 rm -rf conftest* |
12839 echo "$ac_t""yes" 1>&6 | 12838 echo "$ac_t""yes" 1>&6 |
12840 { test "$extra_verbose" = "yes" && cat << \EOF | 12839 { test "$extra_verbose" = "yes" && cat << \EOF |
12841 Defining HAVE_SIGSETJMP | 12840 Defining HAVE_SIGSETJMP |
12842 EOF | 12841 EOF |
12852 echo "$ac_t""no" 1>&6 | 12851 echo "$ac_t""no" 1>&6 |
12853 fi | 12852 fi |
12854 rm -f conftest* | 12853 rm -f conftest* |
12855 | 12854 |
12856 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12855 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12857 echo "configure:12858: checking whether localtime caches TZ" >&5 | 12856 echo "configure:12857: checking whether localtime caches TZ" >&5 |
12858 | 12857 |
12859 if test "$ac_cv_func_tzset" = "yes"; then | 12858 if test "$ac_cv_func_tzset" = "yes"; then |
12860 cat > conftest.$ac_ext <<EOF | 12859 cat > conftest.$ac_ext <<EOF |
12861 #line 12862 "configure" | 12860 #line 12861 "configure" |
12862 #include "confdefs.h" | 12861 #include "confdefs.h" |
12863 #include <time.h> | 12862 #include <time.h> |
12864 #if STDC_HEADERS | 12863 #if STDC_HEADERS |
12865 # include <stdlib.h> | 12864 # include <stdlib.h> |
12866 #endif | 12865 #endif |
12891 if (localtime (&now)->tm_hour != hour_unset) | 12890 if (localtime (&now)->tm_hour != hour_unset) |
12892 exit (1); | 12891 exit (1); |
12893 exit (0); | 12892 exit (0); |
12894 } | 12893 } |
12895 EOF | 12894 EOF |
12896 if { (eval echo configure:12897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12897 then | 12896 then |
12898 emacs_cv_localtime_cache=no | 12897 emacs_cv_localtime_cache=no |
12899 else | 12898 else |
12900 conftest_rc="$?" | 12899 conftest_rc="$?" |
12901 echo "configure: failed program was:" >&5 | 12900 echo "configure: failed program was:" >&5 |
12921 | 12920 |
12922 fi | 12921 fi |
12923 | 12922 |
12924 if test "$HAVE_TIMEVAL" = "yes"; then | 12923 if test "$HAVE_TIMEVAL" = "yes"; then |
12925 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12924 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12926 echo "configure:12927: checking whether gettimeofday accepts one or two arguments" >&5 | 12925 echo "configure:12926: checking whether gettimeofday accepts one or two arguments" >&5 |
12927 cat > conftest.$ac_ext <<EOF | 12926 cat > conftest.$ac_ext <<EOF |
12928 #line 12929 "configure" | 12927 #line 12928 "configure" |
12929 #include "confdefs.h" | 12928 #include "confdefs.h" |
12930 | 12929 |
12931 #ifdef TIME_WITH_SYS_TIME | 12930 #ifdef TIME_WITH_SYS_TIME |
12932 #include <sys/time.h> | 12931 #include <sys/time.h> |
12933 #include <time.h> | 12932 #include <time.h> |
12944 struct timeval time; | 12943 struct timeval time; |
12945 gettimeofday (&time, 0); | 12944 gettimeofday (&time, 0); |
12946 | 12945 |
12947 ; return 0; } | 12946 ; return 0; } |
12948 EOF | 12947 EOF |
12949 if { (eval echo configure:12950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12948 if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12950 rm -rf conftest* | 12949 rm -rf conftest* |
12951 echo "$ac_t""two" 1>&6 | 12950 echo "$ac_t""two" 1>&6 |
12952 else | 12951 else |
12953 echo "configure: failed program was:" >&5 | 12952 echo "configure: failed program was:" >&5 |
12954 cat conftest.$ac_ext >&5 | 12953 cat conftest.$ac_ext >&5 |
12966 rm -f conftest* | 12965 rm -f conftest* |
12967 fi | 12966 fi |
12968 | 12967 |
12969 | 12968 |
12970 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12969 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12971 echo "configure:12972: checking for inline" >&5 | 12970 echo "configure:12971: checking for inline" >&5 |
12972 | 12971 |
12973 ac_cv_c_inline=no | 12972 ac_cv_c_inline=no |
12974 for ac_kw in inline __inline__ __inline; do | 12973 for ac_kw in inline __inline__ __inline; do |
12975 cat > conftest.$ac_ext <<EOF | 12974 cat > conftest.$ac_ext <<EOF |
12976 #line 12977 "configure" | 12975 #line 12976 "configure" |
12977 #include "confdefs.h" | 12976 #include "confdefs.h" |
12978 | 12977 |
12979 int main() { | 12978 int main() { |
12980 } $ac_kw foo() { | 12979 } $ac_kw foo() { |
12981 ; return 0; } | 12980 ; return 0; } |
12982 EOF | 12981 EOF |
12983 if { (eval echo configure:12984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12982 if { (eval echo configure:12983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12984 rm -rf conftest* | 12983 rm -rf conftest* |
12985 ac_cv_c_inline=$ac_kw; break | 12984 ac_cv_c_inline=$ac_kw; break |
12986 else | 12985 else |
12987 echo "configure: failed program was:" >&5 | 12986 echo "configure: failed program was:" >&5 |
12988 cat conftest.$ac_ext >&5 | 12987 cat conftest.$ac_ext >&5 |
13015 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13014 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13016 echo " xemacs will be linked with \"inline.o\"" | 13015 echo " xemacs will be linked with \"inline.o\"" |
13017 fi | 13016 fi |
13018 | 13017 |
13019 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13018 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13020 echo "configure:13021: checking for typeof" >&5 | 13019 echo "configure:13020: checking for typeof" >&5 |
13021 cat > conftest.$ac_ext <<EOF | 13020 cat > conftest.$ac_ext <<EOF |
13022 #line 13023 "configure" | 13021 #line 13022 "configure" |
13023 #include "confdefs.h" | 13022 #include "confdefs.h" |
13024 | 13023 |
13025 int main() { | 13024 int main() { |
13026 int i; __typeof__(i) j; | 13025 int i; __typeof__(i) j; |
13027 ; return 0; } | 13026 ; return 0; } |
13028 EOF | 13027 EOF |
13029 if { (eval echo configure:13030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13028 if { (eval echo configure:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13030 rm -rf conftest* | 13029 rm -rf conftest* |
13031 typeofname="__typeof__" | 13030 typeofname="__typeof__" |
13032 else | 13031 else |
13033 echo "configure: failed program was:" >&5 | 13032 echo "configure: failed program was:" >&5 |
13034 cat conftest.$ac_ext >&5 | 13033 cat conftest.$ac_ext >&5 |
13035 rm -rf conftest* | 13034 rm -rf conftest* |
13036 cat > conftest.$ac_ext <<EOF | 13035 cat > conftest.$ac_ext <<EOF |
13037 #line 13038 "configure" | 13036 #line 13037 "configure" |
13038 #include "confdefs.h" | 13037 #include "confdefs.h" |
13039 | 13038 |
13040 int main() { | 13039 int main() { |
13041 int i; typeof(i) j; | 13040 int i; typeof(i) j; |
13042 ; return 0; } | 13041 ; return 0; } |
13043 EOF | 13042 EOF |
13044 if { (eval echo configure:13045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13043 if { (eval echo configure:13044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13045 rm -rf conftest* | 13044 rm -rf conftest* |
13046 typeofname="typeof" | 13045 typeofname="typeof" |
13047 else | 13046 else |
13048 echo "configure: failed program was:" >&5 | 13047 echo "configure: failed program was:" >&5 |
13049 cat conftest.$ac_ext >&5 | 13048 cat conftest.$ac_ext >&5 |
13068 | 13067 |
13069 if test "$__DECC" != "yes"; then | 13068 if test "$__DECC" != "yes"; then |
13070 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13069 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13071 # for constant arguments. Useless! | 13070 # for constant arguments. Useless! |
13072 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13071 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13073 echo "configure:13074: checking for working alloca.h" >&5 | 13072 echo "configure:13073: checking for working alloca.h" >&5 |
13074 | 13073 |
13075 cat > conftest.$ac_ext <<EOF | 13074 cat > conftest.$ac_ext <<EOF |
13076 #line 13077 "configure" | 13075 #line 13076 "configure" |
13077 #include "confdefs.h" | 13076 #include "confdefs.h" |
13078 #include <alloca.h> | 13077 #include <alloca.h> |
13079 int main() { | 13078 int main() { |
13080 char *p = alloca(2 * sizeof(int)); | 13079 char *p = alloca(2 * sizeof(int)); |
13081 ; return 0; } | 13080 ; return 0; } |
13082 EOF | 13081 EOF |
13083 if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13082 if { (eval echo configure:13083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13084 rm -rf conftest* | 13083 rm -rf conftest* |
13085 ac_cv_header_alloca_h=yes | 13084 ac_cv_header_alloca_h=yes |
13086 else | 13085 else |
13087 echo "configure: failed program was:" >&5 | 13086 echo "configure: failed program was:" >&5 |
13088 cat conftest.$ac_ext >&5 | 13087 cat conftest.$ac_ext >&5 |
13102 } | 13101 } |
13103 | 13102 |
13104 fi | 13103 fi |
13105 | 13104 |
13106 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13105 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13107 echo "configure:13108: checking for alloca" >&5 | 13106 echo "configure:13107: checking for alloca" >&5 |
13108 | 13107 |
13109 cat > conftest.$ac_ext <<EOF | 13108 cat > conftest.$ac_ext <<EOF |
13110 #line 13111 "configure" | 13109 #line 13110 "configure" |
13111 #include "confdefs.h" | 13110 #include "confdefs.h" |
13112 | 13111 |
13113 #ifdef __GNUC__ | 13112 #ifdef __GNUC__ |
13114 # define alloca __builtin_alloca | 13113 # define alloca __builtin_alloca |
13115 #else | 13114 #else |
13133 | 13132 |
13134 int main() { | 13133 int main() { |
13135 char *p = (char *) alloca(1); | 13134 char *p = (char *) alloca(1); |
13136 ; return 0; } | 13135 ; return 0; } |
13137 EOF | 13136 EOF |
13138 if { (eval echo configure:13139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13137 if { (eval echo configure:13138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13139 rm -rf conftest* | 13138 rm -rf conftest* |
13140 ac_cv_func_alloca_works=yes | 13139 ac_cv_func_alloca_works=yes |
13141 else | 13140 else |
13142 echo "configure: failed program was:" >&5 | 13141 echo "configure: failed program was:" >&5 |
13143 cat conftest.$ac_ext >&5 | 13142 cat conftest.$ac_ext >&5 |
13172 EOF | 13171 EOF |
13173 } | 13172 } |
13174 | 13173 |
13175 | 13174 |
13176 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13175 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13177 echo "configure:13178: checking whether alloca needs Cray hooks" >&5 | 13176 echo "configure:13177: checking whether alloca needs Cray hooks" >&5 |
13178 | 13177 |
13179 cat > conftest.$ac_ext <<EOF | 13178 cat > conftest.$ac_ext <<EOF |
13180 #line 13181 "configure" | 13179 #line 13180 "configure" |
13181 #include "confdefs.h" | 13180 #include "confdefs.h" |
13182 #if defined(CRAY) && ! defined(CRAY2) | 13181 #if defined(CRAY) && ! defined(CRAY2) |
13183 webecray | 13182 webecray |
13184 #else | 13183 #else |
13185 wenotbecray | 13184 wenotbecray |
13199 | 13198 |
13200 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13199 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13201 if test $ac_cv_os_cray = yes; then | 13200 if test $ac_cv_os_cray = yes; then |
13202 for ac_func in _getb67 GETB67 getb67; do | 13201 for ac_func in _getb67 GETB67 getb67; do |
13203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13204 echo "configure:13205: checking for $ac_func" >&5 | 13203 echo "configure:13204: checking for $ac_func" >&5 |
13205 | 13204 |
13206 cat > conftest.$ac_ext <<EOF | 13205 cat > conftest.$ac_ext <<EOF |
13207 #line 13208 "configure" | 13206 #line 13207 "configure" |
13208 #include "confdefs.h" | 13207 #include "confdefs.h" |
13209 /* System header to define __stub macros and hopefully few prototypes, | 13208 /* System header to define __stub macros and hopefully few prototypes, |
13210 which can conflict with char $ac_func(); below. */ | 13209 which can conflict with char $ac_func(); below. */ |
13211 #include <assert.h> | 13210 #include <assert.h> |
13212 /* Override any gcc2 internal prototype to avoid an error. */ | 13211 /* Override any gcc2 internal prototype to avoid an error. */ |
13225 $ac_func(); | 13224 $ac_func(); |
13226 #endif | 13225 #endif |
13227 | 13226 |
13228 ; return 0; } | 13227 ; return 0; } |
13229 EOF | 13228 EOF |
13230 if { (eval echo configure:13231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13229 if { (eval echo configure:13230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13231 rm -rf conftest* | 13230 rm -rf conftest* |
13232 eval "ac_cv_func_$ac_func=yes" | 13231 eval "ac_cv_func_$ac_func=yes" |
13233 else | 13232 else |
13234 echo "configure: failed program was:" >&5 | 13233 echo "configure: failed program was:" >&5 |
13235 cat conftest.$ac_ext >&5 | 13234 cat conftest.$ac_ext >&5 |
13255 | 13254 |
13256 done | 13255 done |
13257 fi | 13256 fi |
13258 | 13257 |
13259 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13258 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13260 echo "configure:13261: checking stack direction for C alloca" >&5 | 13259 echo "configure:13260: checking stack direction for C alloca" >&5 |
13261 | 13260 |
13262 cat > conftest.$ac_ext <<EOF | 13261 cat > conftest.$ac_ext <<EOF |
13263 #line 13264 "configure" | 13262 #line 13263 "configure" |
13264 #include "confdefs.h" | 13263 #include "confdefs.h" |
13265 find_stack_direction () | 13264 find_stack_direction () |
13266 { | 13265 { |
13267 static char *addr = 0; | 13266 static char *addr = 0; |
13268 auto char dummy; | 13267 auto char dummy; |
13277 main () | 13276 main () |
13278 { | 13277 { |
13279 exit (find_stack_direction() < 0); | 13278 exit (find_stack_direction() < 0); |
13280 } | 13279 } |
13281 EOF | 13280 EOF |
13282 if { (eval echo configure:13283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13281 if { (eval echo configure:13282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13283 then | 13282 then |
13284 ac_cv_c_stack_direction=1 | 13283 ac_cv_c_stack_direction=1 |
13285 else | 13284 else |
13286 conftest_rc="$?" | 13285 conftest_rc="$?" |
13287 echo "configure: failed program was:" >&5 | 13286 echo "configure: failed program was:" >&5 |
13306 echo " xemacs will be linked with \"$ALLOCA\"" | 13305 echo " xemacs will be linked with \"$ALLOCA\"" |
13307 fi | 13306 fi |
13308 fi | 13307 fi |
13309 | 13308 |
13310 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13309 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13311 echo "configure:13312: checking for working alloca in function calls" >&5 | 13310 echo "configure:13311: checking for working alloca in function calls" >&5 |
13312 cat > conftest.$ac_ext <<EOF | 13311 cat > conftest.$ac_ext <<EOF |
13313 #line 13314 "configure" | 13312 #line 13313 "configure" |
13314 #include "confdefs.h" | 13313 #include "confdefs.h" |
13315 | 13314 |
13316 #if defined (__CYGWIN__) | 13315 #if defined (__CYGWIN__) |
13317 #include <alloca.h> | 13316 #include <alloca.h> |
13318 #elif defined (__GNUC__) | 13317 #elif defined (__GNUC__) |
13361 return 1; | 13360 return 1; |
13362 return 0; | 13361 return 0; |
13363 } | 13362 } |
13364 | 13363 |
13365 EOF | 13364 EOF |
13366 if { (eval echo configure:13367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13367 then | 13366 then |
13368 working_alloca_in_function_calls=yes | 13367 working_alloca_in_function_calls=yes |
13369 else | 13368 else |
13370 conftest_rc="$?" | 13369 conftest_rc="$?" |
13371 echo "configure: failed program was:" >&5 | 13370 echo "configure: failed program was:" >&5 |
13384 EOF | 13383 EOF |
13385 } | 13384 } |
13386 | 13385 |
13387 | 13386 |
13388 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13387 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13389 echo "configure:13390: checking for working strcoll" >&5 | 13388 echo "configure:13389: checking for working strcoll" >&5 |
13390 | 13389 |
13391 cat > conftest.$ac_ext <<EOF | 13390 cat > conftest.$ac_ext <<EOF |
13392 #line 13393 "configure" | 13391 #line 13392 "configure" |
13393 #include "confdefs.h" | 13392 #include "confdefs.h" |
13394 #include <string.h> | 13393 #include <string.h> |
13395 main () | 13394 main () |
13396 { | 13395 { |
13397 exit (strcoll ("abc", "def") >= 0 || | 13396 exit (strcoll ("abc", "def") >= 0 || |
13398 strcoll ("ABC", "DEF") >= 0 || | 13397 strcoll ("ABC", "DEF") >= 0 || |
13399 strcoll ("123", "456") >= 0); | 13398 strcoll ("123", "456") >= 0); |
13400 } | 13399 } |
13401 EOF | 13400 EOF |
13402 if { (eval echo configure:13403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13401 if { (eval echo configure:13402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13403 then | 13402 then |
13404 ac_cv_func_strcoll_works=yes | 13403 ac_cv_func_strcoll_works=yes |
13405 else | 13404 else |
13406 conftest_rc="$?" | 13405 conftest_rc="$?" |
13407 echo "configure: failed program was:" >&5 | 13406 echo "configure: failed program was:" >&5 |
13425 | 13424 |
13426 | 13425 |
13427 for ac_func in getpgrp | 13426 for ac_func in getpgrp |
13428 do | 13427 do |
13429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13430 echo "configure:13431: checking for $ac_func" >&5 | 13429 echo "configure:13430: checking for $ac_func" >&5 |
13431 | 13430 |
13432 cat > conftest.$ac_ext <<EOF | 13431 cat > conftest.$ac_ext <<EOF |
13433 #line 13434 "configure" | 13432 #line 13433 "configure" |
13434 #include "confdefs.h" | 13433 #include "confdefs.h" |
13435 /* System header to define __stub macros and hopefully few prototypes, | 13434 /* System header to define __stub macros and hopefully few prototypes, |
13436 which can conflict with char $ac_func(); below. */ | 13435 which can conflict with char $ac_func(); below. */ |
13437 #include <assert.h> | 13436 #include <assert.h> |
13438 /* Override any gcc2 internal prototype to avoid an error. */ | 13437 /* Override any gcc2 internal prototype to avoid an error. */ |
13451 $ac_func(); | 13450 $ac_func(); |
13452 #endif | 13451 #endif |
13453 | 13452 |
13454 ; return 0; } | 13453 ; return 0; } |
13455 EOF | 13454 EOF |
13456 if { (eval echo configure:13457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13457 rm -rf conftest* | 13456 rm -rf conftest* |
13458 eval "ac_cv_func_$ac_func=yes" | 13457 eval "ac_cv_func_$ac_func=yes" |
13459 else | 13458 else |
13460 echo "configure: failed program was:" >&5 | 13459 echo "configure: failed program was:" >&5 |
13461 cat conftest.$ac_ext >&5 | 13460 cat conftest.$ac_ext >&5 |
13479 echo "$ac_t""no" 1>&6 | 13478 echo "$ac_t""no" 1>&6 |
13480 fi | 13479 fi |
13481 done | 13480 done |
13482 | 13481 |
13483 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13482 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13484 echo "configure:13485: checking whether getpgrp takes no argument" >&5 | 13483 echo "configure:13484: checking whether getpgrp takes no argument" >&5 |
13485 | 13484 |
13486 cat > conftest.$ac_ext <<EOF | 13485 cat > conftest.$ac_ext <<EOF |
13487 #line 13488 "configure" | 13486 #line 13487 "configure" |
13488 #include "confdefs.h" | 13487 #include "confdefs.h" |
13489 | 13488 |
13490 /* | 13489 /* |
13491 * If this system has a BSD-style getpgrp(), | 13490 * If this system has a BSD-style getpgrp(), |
13492 * which takes a pid argument, exit unsuccessfully. | 13491 * which takes a pid argument, exit unsuccessfully. |
13537 exit(s>>8); | 13536 exit(s>>8); |
13538 } | 13537 } |
13539 } | 13538 } |
13540 | 13539 |
13541 EOF | 13540 EOF |
13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13543 then | 13542 then |
13544 ac_cv_func_getpgrp_void=yes | 13543 ac_cv_func_getpgrp_void=yes |
13545 else | 13544 else |
13546 conftest_rc="$?" | 13545 conftest_rc="$?" |
13547 echo "configure: failed program was:" >&5 | 13546 echo "configure: failed program was:" >&5 |
13564 | 13563 |
13565 fi | 13564 fi |
13566 | 13565 |
13567 | 13566 |
13568 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13567 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13569 echo "configure:13570: checking for working mmap" >&5 | 13568 echo "configure:13569: checking for working mmap" >&5 |
13570 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13569 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13571 cat > conftest.$ac_ext <<EOF | 13570 cat > conftest.$ac_ext <<EOF |
13572 #line 13573 "configure" | 13571 #line 13572 "configure" |
13573 #include "confdefs.h" | 13572 #include "confdefs.h" |
13574 #include <stdio.h> | 13573 #include <stdio.h> |
13575 #include <unistd.h> | 13574 #include <unistd.h> |
13576 #include <fcntl.h> | 13575 #include <fcntl.h> |
13577 #include <sys/mman.h> | 13576 #include <sys/mman.h> |
13600 return 0; | 13599 return 0; |
13601 perror ("conftest: mmap failed"); | 13600 perror ("conftest: mmap failed"); |
13602 return 1; | 13601 return 1; |
13603 } | 13602 } |
13604 EOF | 13603 EOF |
13605 if { (eval echo configure:13606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13604 if { (eval echo configure:13605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13606 then | 13605 then |
13607 have_mmap=yes | 13606 have_mmap=yes |
13608 else | 13607 else |
13609 conftest_rc="$?" | 13608 conftest_rc="$?" |
13610 echo "configure: failed program was:" >&5 | 13609 echo "configure: failed program was:" >&5 |
13629 esac | 13628 esac |
13630 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13629 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13631 if test "$rel_alloc $have_mmap" = "default yes"; then | 13630 if test "$rel_alloc $have_mmap" = "default yes"; then |
13632 if test "$doug_lea_malloc" = "yes"; then | 13631 if test "$doug_lea_malloc" = "yes"; then |
13633 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13632 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13634 echo "configure:13635: checking for M_MMAP_THRESHOLD" >&5 | 13633 echo "configure:13634: checking for M_MMAP_THRESHOLD" >&5 |
13635 cat > conftest.$ac_ext <<EOF | 13634 cat > conftest.$ac_ext <<EOF |
13636 #line 13637 "configure" | 13635 #line 13636 "configure" |
13637 #include "confdefs.h" | 13636 #include "confdefs.h" |
13638 #include <malloc.h> | 13637 #include <malloc.h> |
13639 int main() { | 13638 int main() { |
13640 | 13639 |
13641 #ifndef M_MMAP_THRESHOLD | 13640 #ifndef M_MMAP_THRESHOLD |
13643 !@+$%^&*_)(_ - unlikely to compile... | 13642 !@+$%^&*_)(_ - unlikely to compile... |
13644 #endif | 13643 #endif |
13645 | 13644 |
13646 ; return 0; } | 13645 ; return 0; } |
13647 EOF | 13646 EOF |
13648 if { (eval echo configure:13649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13647 if { (eval echo configure:13648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13649 rm -rf conftest* | 13648 rm -rf conftest* |
13650 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13649 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13651 else | 13650 else |
13652 echo "configure: failed program was:" >&5 | 13651 echo "configure: failed program was:" >&5 |
13653 cat conftest.$ac_ext >&5 | 13652 cat conftest.$ac_ext >&5 |
13668 } | 13667 } |
13669 | 13668 |
13670 | 13669 |
13671 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13670 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13672 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13671 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13673 echo "configure:13674: checking for termios.h" >&5 | 13672 echo "configure:13673: checking for termios.h" >&5 |
13674 | 13673 |
13675 cat > conftest.$ac_ext <<EOF | 13674 cat > conftest.$ac_ext <<EOF |
13676 #line 13677 "configure" | 13675 #line 13676 "configure" |
13677 #include "confdefs.h" | 13676 #include "confdefs.h" |
13678 #include <termios.h> | 13677 #include <termios.h> |
13679 EOF | 13678 EOF |
13680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13681 { (eval echo configure:13682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13680 { (eval echo configure:13681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13683 if test -z "$ac_err"; then | 13682 if test -z "$ac_err"; then |
13684 rm -rf conftest* | 13683 rm -rf conftest* |
13685 eval "ac_cv_header_$ac_safe=yes" | 13684 eval "ac_cv_header_$ac_safe=yes" |
13686 else | 13685 else |
13719 | 13718 |
13720 else | 13719 else |
13721 echo "$ac_t""no" 1>&6 | 13720 echo "$ac_t""no" 1>&6 |
13722 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13721 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13723 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13722 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13724 echo "configure:13725: checking for termio.h" >&5 | 13723 echo "configure:13724: checking for termio.h" >&5 |
13725 | 13724 |
13726 cat > conftest.$ac_ext <<EOF | 13725 cat > conftest.$ac_ext <<EOF |
13727 #line 13728 "configure" | 13726 #line 13727 "configure" |
13728 #include "confdefs.h" | 13727 #include "confdefs.h" |
13729 #include <termio.h> | 13728 #include <termio.h> |
13730 EOF | 13729 EOF |
13731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13732 { (eval echo configure:13733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13731 { (eval echo configure:13732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13734 if test -z "$ac_err"; then | 13733 if test -z "$ac_err"; then |
13735 rm -rf conftest* | 13734 rm -rf conftest* |
13736 eval "ac_cv_header_$ac_safe=yes" | 13735 eval "ac_cv_header_$ac_safe=yes" |
13737 else | 13736 else |
13759 fi | 13758 fi |
13760 | 13759 |
13761 | 13760 |
13762 | 13761 |
13763 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13762 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13764 echo "configure:13765: checking for socket" >&5 | 13763 echo "configure:13764: checking for socket" >&5 |
13765 | 13764 |
13766 cat > conftest.$ac_ext <<EOF | 13765 cat > conftest.$ac_ext <<EOF |
13767 #line 13768 "configure" | 13766 #line 13767 "configure" |
13768 #include "confdefs.h" | 13767 #include "confdefs.h" |
13769 /* System header to define __stub macros and hopefully few prototypes, | 13768 /* System header to define __stub macros and hopefully few prototypes, |
13770 which can conflict with char socket(); below. */ | 13769 which can conflict with char socket(); below. */ |
13771 #include <assert.h> | 13770 #include <assert.h> |
13772 /* Override any gcc2 internal prototype to avoid an error. */ | 13771 /* Override any gcc2 internal prototype to avoid an error. */ |
13785 socket(); | 13784 socket(); |
13786 #endif | 13785 #endif |
13787 | 13786 |
13788 ; return 0; } | 13787 ; return 0; } |
13789 EOF | 13788 EOF |
13790 if { (eval echo configure:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13789 if { (eval echo configure:13790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13791 rm -rf conftest* | 13790 rm -rf conftest* |
13792 eval "ac_cv_func_socket=yes" | 13791 eval "ac_cv_func_socket=yes" |
13793 else | 13792 else |
13794 echo "configure: failed program was:" >&5 | 13793 echo "configure: failed program was:" >&5 |
13795 cat conftest.$ac_ext >&5 | 13794 cat conftest.$ac_ext >&5 |
13800 | 13799 |
13801 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13800 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13802 echo "$ac_t""yes" 1>&6 | 13801 echo "$ac_t""yes" 1>&6 |
13803 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13802 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13804 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13803 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13805 echo "configure:13806: checking for netinet/in.h" >&5 | 13804 echo "configure:13805: checking for netinet/in.h" >&5 |
13806 | 13805 |
13807 cat > conftest.$ac_ext <<EOF | 13806 cat > conftest.$ac_ext <<EOF |
13808 #line 13809 "configure" | 13807 #line 13808 "configure" |
13809 #include "confdefs.h" | 13808 #include "confdefs.h" |
13810 #include <netinet/in.h> | 13809 #include <netinet/in.h> |
13811 EOF | 13810 EOF |
13812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13813 { (eval echo configure:13814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13812 { (eval echo configure:13813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13815 if test -z "$ac_err"; then | 13814 if test -z "$ac_err"; then |
13816 rm -rf conftest* | 13815 rm -rf conftest* |
13817 eval "ac_cv_header_$ac_safe=yes" | 13816 eval "ac_cv_header_$ac_safe=yes" |
13818 else | 13817 else |
13825 rm -f conftest* | 13824 rm -f conftest* |
13826 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13827 echo "$ac_t""yes" 1>&6 | 13826 echo "$ac_t""yes" 1>&6 |
13828 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13827 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13829 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13828 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13830 echo "configure:13831: checking for arpa/inet.h" >&5 | 13829 echo "configure:13830: checking for arpa/inet.h" >&5 |
13831 | 13830 |
13832 cat > conftest.$ac_ext <<EOF | 13831 cat > conftest.$ac_ext <<EOF |
13833 #line 13834 "configure" | 13832 #line 13833 "configure" |
13834 #include "confdefs.h" | 13833 #include "confdefs.h" |
13835 #include <arpa/inet.h> | 13834 #include <arpa/inet.h> |
13836 EOF | 13835 EOF |
13837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13838 { (eval echo configure:13839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13837 { (eval echo configure:13838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13840 if test -z "$ac_err"; then | 13839 if test -z "$ac_err"; then |
13841 rm -rf conftest* | 13840 rm -rf conftest* |
13842 eval "ac_cv_header_$ac_safe=yes" | 13841 eval "ac_cv_header_$ac_safe=yes" |
13843 else | 13842 else |
13858 #define HAVE_SOCKETS 1 | 13857 #define HAVE_SOCKETS 1 |
13859 EOF | 13858 EOF |
13860 } | 13859 } |
13861 | 13860 |
13862 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13861 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13863 echo "configure:13864: checking "for sun_len member in struct sockaddr_un"" >&5 | 13862 echo "configure:13863: checking "for sun_len member in struct sockaddr_un"" >&5 |
13864 cat > conftest.$ac_ext <<EOF | 13863 cat > conftest.$ac_ext <<EOF |
13865 #line 13866 "configure" | 13864 #line 13865 "configure" |
13866 #include "confdefs.h" | 13865 #include "confdefs.h" |
13867 | 13866 |
13868 #include <sys/types.h> | 13867 #include <sys/types.h> |
13869 #include <sys/socket.h> | 13868 #include <sys/socket.h> |
13870 #include <sys/un.h> | 13869 #include <sys/un.h> |
13871 | 13870 |
13872 int main() { | 13871 int main() { |
13873 static struct sockaddr_un x; x.sun_len = 1; | 13872 static struct sockaddr_un x; x.sun_len = 1; |
13874 ; return 0; } | 13873 ; return 0; } |
13875 EOF | 13874 EOF |
13876 if { (eval echo configure:13877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13875 if { (eval echo configure:13876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13877 rm -rf conftest* | 13876 rm -rf conftest* |
13878 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13877 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13879 Defining HAVE_SOCKADDR_SUN_LEN | 13878 Defining HAVE_SOCKADDR_SUN_LEN |
13880 EOF | 13879 EOF |
13881 cat >> confdefs.h <<\EOF | 13880 cat >> confdefs.h <<\EOF |
13889 rm -rf conftest* | 13888 rm -rf conftest* |
13890 echo "$ac_t""no" 1>&6 | 13889 echo "$ac_t""no" 1>&6 |
13891 fi | 13890 fi |
13892 rm -f conftest* | 13891 rm -f conftest* |
13893 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13892 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13894 echo "configure:13895: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13893 echo "configure:13894: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13895 cat > conftest.$ac_ext <<EOF | 13894 cat > conftest.$ac_ext <<EOF |
13896 #line 13897 "configure" | 13895 #line 13896 "configure" |
13897 #include "confdefs.h" | 13896 #include "confdefs.h" |
13898 | 13897 |
13899 #include <sys/types.h> | 13898 #include <sys/types.h> |
13900 #include <netinet/in.h> | 13899 #include <netinet/in.h> |
13901 | 13900 |
13902 int main() { | 13901 int main() { |
13903 static struct ip_mreq x; | 13902 static struct ip_mreq x; |
13904 ; return 0; } | 13903 ; return 0; } |
13905 EOF | 13904 EOF |
13906 if { (eval echo configure:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13907 rm -rf conftest* | 13906 rm -rf conftest* |
13908 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13907 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13909 Defining HAVE_MULTICAST | 13908 Defining HAVE_MULTICAST |
13910 EOF | 13909 EOF |
13911 cat >> confdefs.h <<\EOF | 13910 cat >> confdefs.h <<\EOF |
13932 echo "$ac_t""no" 1>&6 | 13931 echo "$ac_t""no" 1>&6 |
13933 fi | 13932 fi |
13934 | 13933 |
13935 | 13934 |
13936 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13935 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13937 echo "configure:13938: checking for msgget" >&5 | 13936 echo "configure:13937: checking for msgget" >&5 |
13938 | 13937 |
13939 cat > conftest.$ac_ext <<EOF | 13938 cat > conftest.$ac_ext <<EOF |
13940 #line 13941 "configure" | 13939 #line 13940 "configure" |
13941 #include "confdefs.h" | 13940 #include "confdefs.h" |
13942 /* System header to define __stub macros and hopefully few prototypes, | 13941 /* System header to define __stub macros and hopefully few prototypes, |
13943 which can conflict with char msgget(); below. */ | 13942 which can conflict with char msgget(); below. */ |
13944 #include <assert.h> | 13943 #include <assert.h> |
13945 /* Override any gcc2 internal prototype to avoid an error. */ | 13944 /* Override any gcc2 internal prototype to avoid an error. */ |
13958 msgget(); | 13957 msgget(); |
13959 #endif | 13958 #endif |
13960 | 13959 |
13961 ; return 0; } | 13960 ; return 0; } |
13962 EOF | 13961 EOF |
13963 if { (eval echo configure:13964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13962 if { (eval echo configure:13963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13964 rm -rf conftest* | 13963 rm -rf conftest* |
13965 eval "ac_cv_func_msgget=yes" | 13964 eval "ac_cv_func_msgget=yes" |
13966 else | 13965 else |
13967 echo "configure: failed program was:" >&5 | 13966 echo "configure: failed program was:" >&5 |
13968 cat conftest.$ac_ext >&5 | 13967 cat conftest.$ac_ext >&5 |
13973 | 13972 |
13974 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13973 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13975 echo "$ac_t""yes" 1>&6 | 13974 echo "$ac_t""yes" 1>&6 |
13976 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13975 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13977 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13976 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13978 echo "configure:13979: checking for sys/ipc.h" >&5 | 13977 echo "configure:13978: checking for sys/ipc.h" >&5 |
13979 | 13978 |
13980 cat > conftest.$ac_ext <<EOF | 13979 cat > conftest.$ac_ext <<EOF |
13981 #line 13982 "configure" | 13980 #line 13981 "configure" |
13982 #include "confdefs.h" | 13981 #include "confdefs.h" |
13983 #include <sys/ipc.h> | 13982 #include <sys/ipc.h> |
13984 EOF | 13983 EOF |
13985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13986 { (eval echo configure:13987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13985 { (eval echo configure:13986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13988 if test -z "$ac_err"; then | 13987 if test -z "$ac_err"; then |
13989 rm -rf conftest* | 13988 rm -rf conftest* |
13990 eval "ac_cv_header_$ac_safe=yes" | 13989 eval "ac_cv_header_$ac_safe=yes" |
13991 else | 13990 else |
13998 rm -f conftest* | 13997 rm -f conftest* |
13999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14000 echo "$ac_t""yes" 1>&6 | 13999 echo "$ac_t""yes" 1>&6 |
14001 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 14000 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
14002 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 14001 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
14003 echo "configure:14004: checking for sys/msg.h" >&5 | 14002 echo "configure:14003: checking for sys/msg.h" >&5 |
14004 | 14003 |
14005 cat > conftest.$ac_ext <<EOF | 14004 cat > conftest.$ac_ext <<EOF |
14006 #line 14007 "configure" | 14005 #line 14006 "configure" |
14007 #include "confdefs.h" | 14006 #include "confdefs.h" |
14008 #include <sys/msg.h> | 14007 #include <sys/msg.h> |
14009 EOF | 14008 EOF |
14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14013 if test -z "$ac_err"; then | 14012 if test -z "$ac_err"; then |
14014 rm -rf conftest* | 14013 rm -rf conftest* |
14015 eval "ac_cv_header_$ac_safe=yes" | 14014 eval "ac_cv_header_$ac_safe=yes" |
14016 else | 14015 else |
14044 fi | 14043 fi |
14045 | 14044 |
14046 | 14045 |
14047 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14046 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14048 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14047 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14049 echo "configure:14050: checking for dirent.h" >&5 | 14048 echo "configure:14049: checking for dirent.h" >&5 |
14050 | 14049 |
14051 cat > conftest.$ac_ext <<EOF | 14050 cat > conftest.$ac_ext <<EOF |
14052 #line 14053 "configure" | 14051 #line 14052 "configure" |
14053 #include "confdefs.h" | 14052 #include "confdefs.h" |
14054 #include <dirent.h> | 14053 #include <dirent.h> |
14055 EOF | 14054 EOF |
14056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14057 { (eval echo configure:14058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14056 { (eval echo configure:14057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14059 if test -z "$ac_err"; then | 14058 if test -z "$ac_err"; then |
14060 rm -rf conftest* | 14059 rm -rf conftest* |
14061 eval "ac_cv_header_$ac_safe=yes" | 14060 eval "ac_cv_header_$ac_safe=yes" |
14062 else | 14061 else |
14079 | 14078 |
14080 else | 14079 else |
14081 echo "$ac_t""no" 1>&6 | 14080 echo "$ac_t""no" 1>&6 |
14082 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14081 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14083 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14082 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14084 echo "configure:14085: checking for sys/dir.h" >&5 | 14083 echo "configure:14084: checking for sys/dir.h" >&5 |
14085 | 14084 |
14086 cat > conftest.$ac_ext <<EOF | 14085 cat > conftest.$ac_ext <<EOF |
14087 #line 14088 "configure" | 14086 #line 14087 "configure" |
14088 #include "confdefs.h" | 14087 #include "confdefs.h" |
14089 #include <sys/dir.h> | 14088 #include <sys/dir.h> |
14090 EOF | 14089 EOF |
14091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14092 { (eval echo configure:14093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14091 { (eval echo configure:14092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14094 if test -z "$ac_err"; then | 14093 if test -z "$ac_err"; then |
14095 rm -rf conftest* | 14094 rm -rf conftest* |
14096 eval "ac_cv_header_$ac_safe=yes" | 14095 eval "ac_cv_header_$ac_safe=yes" |
14097 else | 14096 else |
14120 fi | 14119 fi |
14121 | 14120 |
14122 | 14121 |
14123 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14122 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14124 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14123 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14125 echo "configure:14126: checking for nlist.h" >&5 | 14124 echo "configure:14125: checking for nlist.h" >&5 |
14126 | 14125 |
14127 cat > conftest.$ac_ext <<EOF | 14126 cat > conftest.$ac_ext <<EOF |
14128 #line 14129 "configure" | 14127 #line 14128 "configure" |
14129 #include "confdefs.h" | 14128 #include "confdefs.h" |
14130 #include <nlist.h> | 14129 #include <nlist.h> |
14131 EOF | 14130 EOF |
14132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14133 { (eval echo configure:14134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14132 { (eval echo configure:14133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14135 if test -z "$ac_err"; then | 14134 if test -z "$ac_err"; then |
14136 rm -rf conftest* | 14135 rm -rf conftest* |
14137 eval "ac_cv_header_$ac_safe=yes" | 14136 eval "ac_cv_header_$ac_safe=yes" |
14138 else | 14137 else |
14158 fi | 14157 fi |
14159 | 14158 |
14160 | 14159 |
14161 | 14160 |
14162 echo "checking "for sound support"" 1>&6 | 14161 echo "checking "for sound support"" 1>&6 |
14163 echo "configure:14164: checking "for sound support"" >&5 | 14162 echo "configure:14163: checking "for sound support"" >&5 |
14164 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14163 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14165 | 14164 |
14166 if test "$with_native_sound" != "no"; then | 14165 if test "$with_native_sound" != "no"; then |
14167 if test -n "$native_sound_lib"; then | 14166 if test -n "$native_sound_lib"; then |
14168 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14167 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14169 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14168 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14170 echo "configure:14171: checking for multimedia/audio_device.h" >&5 | 14169 echo "configure:14170: checking for multimedia/audio_device.h" >&5 |
14171 | 14170 |
14172 cat > conftest.$ac_ext <<EOF | 14171 cat > conftest.$ac_ext <<EOF |
14173 #line 14174 "configure" | 14172 #line 14173 "configure" |
14174 #include "confdefs.h" | 14173 #include "confdefs.h" |
14175 #include <multimedia/audio_device.h> | 14174 #include <multimedia/audio_device.h> |
14176 EOF | 14175 EOF |
14177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14178 { (eval echo configure:14179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14177 { (eval echo configure:14178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14180 if test -z "$ac_err"; then | 14179 if test -z "$ac_err"; then |
14181 rm -rf conftest* | 14180 rm -rf conftest* |
14182 eval "ac_cv_header_$ac_safe=yes" | 14181 eval "ac_cv_header_$ac_safe=yes" |
14183 else | 14182 else |
14229 case "$canonical" in | 14228 case "$canonical" in |
14230 *-sgi-* ) | 14229 *-sgi-* ) |
14231 if test -z "$native_sound_lib"; then | 14230 if test -z "$native_sound_lib"; then |
14232 | 14231 |
14233 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14232 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14234 echo "configure:14235: checking for ALopenport in -laudio" >&5 | 14233 echo "configure:14234: checking for ALopenport in -laudio" >&5 |
14235 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14234 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14236 | 14235 |
14237 xe_check_libs=" -laudio " | 14236 xe_check_libs=" -laudio " |
14238 cat > conftest.$ac_ext <<EOF | 14237 cat > conftest.$ac_ext <<EOF |
14239 #line 14240 "configure" | 14238 #line 14239 "configure" |
14240 #include "confdefs.h" | 14239 #include "confdefs.h" |
14241 /* Override any gcc2 internal prototype to avoid an error. */ | 14240 /* Override any gcc2 internal prototype to avoid an error. */ |
14242 /* We use char because int might match the return type of a gcc2 | 14241 /* We use char because int might match the return type of a gcc2 |
14243 builtin and then its argument prototype would still apply. */ | 14242 builtin and then its argument prototype would still apply. */ |
14244 char ALopenport(); | 14243 char ALopenport(); |
14245 | 14244 |
14246 int main() { | 14245 int main() { |
14247 ALopenport() | 14246 ALopenport() |
14248 ; return 0; } | 14247 ; return 0; } |
14249 EOF | 14248 EOF |
14250 if { (eval echo configure:14251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14251 rm -rf conftest* | 14250 rm -rf conftest* |
14252 eval "ac_cv_lib_$ac_lib_var=yes" | 14251 eval "ac_cv_lib_$ac_lib_var=yes" |
14253 else | 14252 else |
14254 echo "configure: failed program was:" >&5 | 14253 echo "configure: failed program was:" >&5 |
14255 cat conftest.$ac_ext >&5 | 14254 cat conftest.$ac_ext >&5 |
14276 fi ;; | 14275 fi ;; |
14277 hppa*-hp-hpux* ) | 14276 hppa*-hp-hpux* ) |
14278 if test -z "$native_sound_lib"; then | 14277 if test -z "$native_sound_lib"; then |
14279 | 14278 |
14280 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14279 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14281 echo "configure:14282: checking for AOpenAudio in -lAlib" >&5 | 14280 echo "configure:14281: checking for AOpenAudio in -lAlib" >&5 |
14282 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14281 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14283 | 14282 |
14284 xe_check_libs=" -lAlib " | 14283 xe_check_libs=" -lAlib " |
14285 cat > conftest.$ac_ext <<EOF | 14284 cat > conftest.$ac_ext <<EOF |
14286 #line 14287 "configure" | 14285 #line 14286 "configure" |
14287 #include "confdefs.h" | 14286 #include "confdefs.h" |
14288 /* Override any gcc2 internal prototype to avoid an error. */ | 14287 /* Override any gcc2 internal prototype to avoid an error. */ |
14289 /* We use char because int might match the return type of a gcc2 | 14288 /* We use char because int might match the return type of a gcc2 |
14290 builtin and then its argument prototype would still apply. */ | 14289 builtin and then its argument prototype would still apply. */ |
14291 char AOpenAudio(); | 14290 char AOpenAudio(); |
14292 | 14291 |
14293 int main() { | 14292 int main() { |
14294 AOpenAudio() | 14293 AOpenAudio() |
14295 ; return 0; } | 14294 ; return 0; } |
14296 EOF | 14295 EOF |
14297 if { (eval echo configure:14298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14296 if { (eval echo configure:14297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14298 rm -rf conftest* | 14297 rm -rf conftest* |
14299 eval "ac_cv_lib_$ac_lib_var=yes" | 14298 eval "ac_cv_lib_$ac_lib_var=yes" |
14300 else | 14299 else |
14301 echo "configure: failed program was:" >&5 | 14300 echo "configure: failed program was:" >&5 |
14302 cat conftest.$ac_ext >&5 | 14301 cat conftest.$ac_ext >&5 |
14340 | 14339 |
14341 if test -z "$sound_found"; then | 14340 if test -z "$sound_found"; then |
14342 for dir in "machine" "sys" "linux"; do | 14341 for dir in "machine" "sys" "linux"; do |
14343 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14342 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14344 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14343 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14345 echo "configure:14346: checking for ${dir}/soundcard.h" >&5 | 14344 echo "configure:14345: checking for ${dir}/soundcard.h" >&5 |
14346 | 14345 |
14347 cat > conftest.$ac_ext <<EOF | 14346 cat > conftest.$ac_ext <<EOF |
14348 #line 14349 "configure" | 14347 #line 14348 "configure" |
14349 #include "confdefs.h" | 14348 #include "confdefs.h" |
14350 #include <${dir}/soundcard.h> | 14349 #include <${dir}/soundcard.h> |
14351 EOF | 14350 EOF |
14352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14353 { (eval echo configure:14354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14352 { (eval echo configure:14353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14355 if test -z "$ac_err"; then | 14354 if test -z "$ac_err"; then |
14356 rm -rf conftest* | 14355 rm -rf conftest* |
14357 eval "ac_cv_header_$ac_safe=yes" | 14356 eval "ac_cv_header_$ac_safe=yes" |
14358 else | 14357 else |
14402 fi | 14401 fi |
14403 | 14402 |
14404 if test "$with_nas_sound" != "no"; then | 14403 if test "$with_nas_sound" != "no"; then |
14405 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14404 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14406 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14405 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14407 echo "configure:14408: checking for audio/audiolib.h" >&5 | 14406 echo "configure:14407: checking for audio/audiolib.h" >&5 |
14408 | 14407 |
14409 cat > conftest.$ac_ext <<EOF | 14408 cat > conftest.$ac_ext <<EOF |
14410 #line 14411 "configure" | 14409 #line 14410 "configure" |
14411 #include "confdefs.h" | 14410 #include "confdefs.h" |
14412 #include <audio/audiolib.h> | 14411 #include <audio/audiolib.h> |
14413 EOF | 14412 EOF |
14414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14415 { (eval echo configure:14416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14414 { (eval echo configure:14415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14417 if test -z "$ac_err"; then | 14416 if test -z "$ac_err"; then |
14418 rm -rf conftest* | 14417 rm -rf conftest* |
14419 eval "ac_cv_header_$ac_safe=yes" | 14418 eval "ac_cv_header_$ac_safe=yes" |
14420 else | 14419 else |
14428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14427 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14429 echo "$ac_t""yes" 1>&6 | 14428 echo "$ac_t""yes" 1>&6 |
14430 | 14429 |
14431 | 14430 |
14432 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14431 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14433 echo "configure:14434: checking for AuOpenServer in -laudio" >&5 | 14432 echo "configure:14433: checking for AuOpenServer in -laudio" >&5 |
14434 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14433 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14435 | 14434 |
14436 xe_check_libs=" -laudio " | 14435 xe_check_libs=" -laudio " |
14437 cat > conftest.$ac_ext <<EOF | 14436 cat > conftest.$ac_ext <<EOF |
14438 #line 14439 "configure" | 14437 #line 14438 "configure" |
14439 #include "confdefs.h" | 14438 #include "confdefs.h" |
14440 /* Override any gcc2 internal prototype to avoid an error. */ | 14439 /* Override any gcc2 internal prototype to avoid an error. */ |
14441 /* We use char because int might match the return type of a gcc2 | 14440 /* We use char because int might match the return type of a gcc2 |
14442 builtin and then its argument prototype would still apply. */ | 14441 builtin and then its argument prototype would still apply. */ |
14443 char AuOpenServer(); | 14442 char AuOpenServer(); |
14444 | 14443 |
14445 int main() { | 14444 int main() { |
14446 AuOpenServer() | 14445 AuOpenServer() |
14447 ; return 0; } | 14446 ; return 0; } |
14448 EOF | 14447 EOF |
14449 if { (eval echo configure:14450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14448 if { (eval echo configure:14449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14450 rm -rf conftest* | 14449 rm -rf conftest* |
14451 eval "ac_cv_lib_$ac_lib_var=yes" | 14450 eval "ac_cv_lib_$ac_lib_var=yes" |
14452 else | 14451 else |
14453 echo "configure: failed program was:" >&5 | 14452 echo "configure: failed program was:" >&5 |
14454 cat conftest.$ac_ext >&5 | 14453 cat conftest.$ac_ext >&5 |
14483 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14482 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14484 echo " xemacs will be linked with \"nas.o\"" | 14483 echo " xemacs will be linked with \"nas.o\"" |
14485 fi | 14484 fi |
14486 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14485 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14487 cat > conftest.$ac_ext <<EOF | 14486 cat > conftest.$ac_ext <<EOF |
14488 #line 14489 "configure" | 14487 #line 14488 "configure" |
14489 #include "confdefs.h" | 14488 #include "confdefs.h" |
14490 #include <audio/Xtutil.h> | 14489 #include <audio/Xtutil.h> |
14491 EOF | 14490 EOF |
14492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14493 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14492 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14514 | 14513 |
14515 if test "$with_esd_sound" != "no"; then | 14514 if test "$with_esd_sound" != "no"; then |
14516 # Extract the first word of "esd-config", so it can be a program name with args. | 14515 # Extract the first word of "esd-config", so it can be a program name with args. |
14517 set dummy esd-config; ac_word=$2 | 14516 set dummy esd-config; ac_word=$2 |
14518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14517 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14519 echo "configure:14520: checking for $ac_word" >&5 | 14518 echo "configure:14519: checking for $ac_word" >&5 |
14520 | 14519 |
14521 if test -n "$have_esd_config"; then | 14520 if test -n "$have_esd_config"; then |
14522 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14521 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14523 else | 14522 else |
14524 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14543 if test "$have_esd_config" = "yes"; then | 14542 if test "$have_esd_config" = "yes"; then |
14544 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14543 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
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 | 14544 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 |
14546 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14545 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14547 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14546 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14548 echo "configure:14549: checking for esd_play_stream" >&5 | 14547 echo "configure:14548: checking for esd_play_stream" >&5 |
14549 | 14548 |
14550 cat > conftest.$ac_ext <<EOF | 14549 cat > conftest.$ac_ext <<EOF |
14551 #line 14552 "configure" | 14550 #line 14551 "configure" |
14552 #include "confdefs.h" | 14551 #include "confdefs.h" |
14553 /* System header to define __stub macros and hopefully few prototypes, | 14552 /* System header to define __stub macros and hopefully few prototypes, |
14554 which can conflict with char esd_play_stream(); below. */ | 14553 which can conflict with char esd_play_stream(); below. */ |
14555 #include <assert.h> | 14554 #include <assert.h> |
14556 /* Override any gcc2 internal prototype to avoid an error. */ | 14555 /* Override any gcc2 internal prototype to avoid an error. */ |
14569 esd_play_stream(); | 14568 esd_play_stream(); |
14570 #endif | 14569 #endif |
14571 | 14570 |
14572 ; return 0; } | 14571 ; return 0; } |
14573 EOF | 14572 EOF |
14574 if { (eval echo configure:14575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14573 if { (eval echo configure:14574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14575 rm -rf conftest* | 14574 rm -rf conftest* |
14576 eval "ac_cv_func_esd_play_stream=yes" | 14575 eval "ac_cv_func_esd_play_stream=yes" |
14577 else | 14576 else |
14578 echo "configure: failed program was:" >&5 | 14577 echo "configure: failed program was:" >&5 |
14579 cat conftest.$ac_ext >&5 | 14578 cat conftest.$ac_ext >&5 |
14620 | 14619 |
14621 test -z "$with_tty" && with_tty=yes | 14620 test -z "$with_tty" && with_tty=yes |
14622 | 14621 |
14623 if test "$with_tty" = "yes" ; then | 14622 if test "$with_tty" = "yes" ; then |
14624 echo "checking for TTY-related features" 1>&6 | 14623 echo "checking for TTY-related features" 1>&6 |
14625 echo "configure:14626: checking for TTY-related features" >&5 | 14624 echo "configure:14625: checking for TTY-related features" >&5 |
14626 { test "$extra_verbose" = "yes" && cat << \EOF | 14625 { test "$extra_verbose" = "yes" && cat << \EOF |
14627 Defining HAVE_TTY | 14626 Defining HAVE_TTY |
14628 EOF | 14627 EOF |
14629 cat >> confdefs.h <<\EOF | 14628 cat >> confdefs.h <<\EOF |
14630 #define HAVE_TTY 1 | 14629 #define HAVE_TTY 1 |
14633 | 14632 |
14634 | 14633 |
14635 if test -z "$with_ncurses"; then | 14634 if test -z "$with_ncurses"; then |
14636 | 14635 |
14637 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14636 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14638 echo "configure:14639: checking for tgetent in -lncurses" >&5 | 14637 echo "configure:14638: checking for tgetent in -lncurses" >&5 |
14639 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14638 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14640 | 14639 |
14641 xe_check_libs=" -lncurses " | 14640 xe_check_libs=" -lncurses " |
14642 cat > conftest.$ac_ext <<EOF | 14641 cat > conftest.$ac_ext <<EOF |
14643 #line 14644 "configure" | 14642 #line 14643 "configure" |
14644 #include "confdefs.h" | 14643 #include "confdefs.h" |
14645 /* Override any gcc2 internal prototype to avoid an error. */ | 14644 /* Override any gcc2 internal prototype to avoid an error. */ |
14646 /* We use char because int might match the return type of a gcc2 | 14645 /* We use char because int might match the return type of a gcc2 |
14647 builtin and then its argument prototype would still apply. */ | 14646 builtin and then its argument prototype would still apply. */ |
14648 char tgetent(); | 14647 char tgetent(); |
14649 | 14648 |
14650 int main() { | 14649 int main() { |
14651 tgetent() | 14650 tgetent() |
14652 ; return 0; } | 14651 ; return 0; } |
14653 EOF | 14652 EOF |
14654 if { (eval echo configure:14655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14653 if { (eval echo configure:14654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14655 rm -rf conftest* | 14654 rm -rf conftest* |
14656 eval "ac_cv_lib_$ac_lib_var=yes" | 14655 eval "ac_cv_lib_$ac_lib_var=yes" |
14657 else | 14656 else |
14658 echo "configure: failed program was:" >&5 | 14657 echo "configure: failed program was:" >&5 |
14659 cat conftest.$ac_ext >&5 | 14658 cat conftest.$ac_ext >&5 |
14682 EOF | 14681 EOF |
14683 } | 14682 } |
14684 | 14683 |
14685 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14684 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14686 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14685 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14687 echo "configure:14688: checking for ncurses/curses.h" >&5 | 14686 echo "configure:14687: checking for ncurses/curses.h" >&5 |
14688 | 14687 |
14689 cat > conftest.$ac_ext <<EOF | 14688 cat > conftest.$ac_ext <<EOF |
14690 #line 14691 "configure" | 14689 #line 14690 "configure" |
14691 #include "confdefs.h" | 14690 #include "confdefs.h" |
14692 #include <ncurses/curses.h> | 14691 #include <ncurses/curses.h> |
14693 EOF | 14692 EOF |
14694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14695 { (eval echo configure:14696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14694 { (eval echo configure:14695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14697 if test -z "$ac_err"; then | 14696 if test -z "$ac_err"; then |
14698 rm -rf conftest* | 14697 rm -rf conftest* |
14699 eval "ac_cv_header_$ac_safe=yes" | 14698 eval "ac_cv_header_$ac_safe=yes" |
14700 else | 14699 else |
14712 echo "$ac_t""no" 1>&6 | 14711 echo "$ac_t""no" 1>&6 |
14713 fi | 14712 fi |
14714 | 14713 |
14715 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14714 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14716 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14715 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14717 echo "configure:14718: checking for ncurses/term.h" >&5 | 14716 echo "configure:14717: checking for ncurses/term.h" >&5 |
14718 | 14717 |
14719 cat > conftest.$ac_ext <<EOF | 14718 cat > conftest.$ac_ext <<EOF |
14720 #line 14721 "configure" | 14719 #line 14720 "configure" |
14721 #include "confdefs.h" | 14720 #include "confdefs.h" |
14722 #include <ncurses/term.h> | 14721 #include <ncurses/term.h> |
14723 EOF | 14722 EOF |
14724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14725 { (eval echo configure:14726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14724 { (eval echo configure:14725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14727 if test -z "$ac_err"; then | 14726 if test -z "$ac_err"; then |
14728 rm -rf conftest* | 14727 rm -rf conftest* |
14729 eval "ac_cv_header_$ac_safe=yes" | 14728 eval "ac_cv_header_$ac_safe=yes" |
14730 else | 14729 else |
14750 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14749 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14751 save_c_switch_site="$c_switch_site" | 14750 save_c_switch_site="$c_switch_site" |
14752 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14751 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14753 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14752 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14754 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14753 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14755 echo "configure:14756: checking for ncurses/curses.h" >&5 | 14754 echo "configure:14755: checking for ncurses/curses.h" >&5 |
14756 | 14755 |
14757 cat > conftest.$ac_ext <<EOF | 14756 cat > conftest.$ac_ext <<EOF |
14758 #line 14759 "configure" | 14757 #line 14758 "configure" |
14759 #include "confdefs.h" | 14758 #include "confdefs.h" |
14760 #include <ncurses/curses.h> | 14759 #include <ncurses/curses.h> |
14761 EOF | 14760 EOF |
14762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14763 { (eval echo configure:14764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14762 { (eval echo configure:14763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14765 if test -z "$ac_err"; then | 14764 if test -z "$ac_err"; then |
14766 rm -rf conftest* | 14765 rm -rf conftest* |
14767 eval "ac_cv_header_$ac_safe=yes" | 14766 eval "ac_cv_header_$ac_safe=yes" |
14768 else | 14767 else |
14793 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14792 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14794 else | 14793 else |
14795 for lib in curses termlib termcap; do | 14794 for lib in curses termlib termcap; do |
14796 | 14795 |
14797 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14796 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14798 echo "configure:14799: checking for tgetent in -l$lib" >&5 | 14797 echo "configure:14798: checking for tgetent in -l$lib" >&5 |
14799 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14798 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14800 | 14799 |
14801 xe_check_libs=" -l$lib " | 14800 xe_check_libs=" -l$lib " |
14802 cat > conftest.$ac_ext <<EOF | 14801 cat > conftest.$ac_ext <<EOF |
14803 #line 14804 "configure" | 14802 #line 14803 "configure" |
14804 #include "confdefs.h" | 14803 #include "confdefs.h" |
14805 /* Override any gcc2 internal prototype to avoid an error. */ | 14804 /* Override any gcc2 internal prototype to avoid an error. */ |
14806 /* We use char because int might match the return type of a gcc2 | 14805 /* We use char because int might match the return type of a gcc2 |
14807 builtin and then its argument prototype would still apply. */ | 14806 builtin and then its argument prototype would still apply. */ |
14808 char tgetent(); | 14807 char tgetent(); |
14809 | 14808 |
14810 int main() { | 14809 int main() { |
14811 tgetent() | 14810 tgetent() |
14812 ; return 0; } | 14811 ; return 0; } |
14813 EOF | 14812 EOF |
14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14813 if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14815 rm -rf conftest* | 14814 rm -rf conftest* |
14816 eval "ac_cv_lib_$ac_lib_var=yes" | 14815 eval "ac_cv_lib_$ac_lib_var=yes" |
14817 else | 14816 else |
14818 echo "configure: failed program was:" >&5 | 14817 echo "configure: failed program was:" >&5 |
14819 cat conftest.$ac_ext >&5 | 14818 cat conftest.$ac_ext >&5 |
14840 if test -n "$libs_termcap"; then | 14839 if test -n "$libs_termcap"; then |
14841 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14840 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14842 else | 14841 else |
14843 | 14842 |
14844 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14843 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14845 echo "configure:14846: checking for tgetent in -lcurses" >&5 | 14844 echo "configure:14845: checking for tgetent in -lcurses" >&5 |
14846 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14845 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14847 | 14846 |
14848 xe_check_libs=" -lcurses " | 14847 xe_check_libs=" -lcurses " |
14849 cat > conftest.$ac_ext <<EOF | 14848 cat > conftest.$ac_ext <<EOF |
14850 #line 14851 "configure" | 14849 #line 14850 "configure" |
14851 #include "confdefs.h" | 14850 #include "confdefs.h" |
14852 /* Override any gcc2 internal prototype to avoid an error. */ | 14851 /* Override any gcc2 internal prototype to avoid an error. */ |
14853 /* We use char because int might match the return type of a gcc2 | 14852 /* We use char because int might match the return type of a gcc2 |
14854 builtin and then its argument prototype would still apply. */ | 14853 builtin and then its argument prototype would still apply. */ |
14855 char tgetent(); | 14854 char tgetent(); |
14856 | 14855 |
14857 int main() { | 14856 int main() { |
14858 tgetent() | 14857 tgetent() |
14859 ; return 0; } | 14858 ; return 0; } |
14860 EOF | 14859 EOF |
14861 if { (eval echo configure:14862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14860 if { (eval echo configure:14861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14862 rm -rf conftest* | 14861 rm -rf conftest* |
14863 eval "ac_cv_lib_$ac_lib_var=yes" | 14862 eval "ac_cv_lib_$ac_lib_var=yes" |
14864 else | 14863 else |
14865 echo "configure: failed program was:" >&5 | 14864 echo "configure: failed program was:" >&5 |
14866 cat conftest.$ac_ext >&5 | 14865 cat conftest.$ac_ext >&5 |
14874 echo "$ac_t""yes" 1>&6 | 14873 echo "$ac_t""yes" 1>&6 |
14875 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14874 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14876 else | 14875 else |
14877 echo "$ac_t""no" 1>&6 | 14876 echo "$ac_t""no" 1>&6 |
14878 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14877 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14879 echo "configure:14880: checking for tgetent in -ltermcap" >&5 | 14878 echo "configure:14879: checking for tgetent in -ltermcap" >&5 |
14880 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14879 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14881 | 14880 |
14882 xe_check_libs=" -ltermcap " | 14881 xe_check_libs=" -ltermcap " |
14883 cat > conftest.$ac_ext <<EOF | 14882 cat > conftest.$ac_ext <<EOF |
14884 #line 14885 "configure" | 14883 #line 14884 "configure" |
14885 #include "confdefs.h" | 14884 #include "confdefs.h" |
14886 /* Override any gcc2 internal prototype to avoid an error. */ | 14885 /* Override any gcc2 internal prototype to avoid an error. */ |
14887 /* We use char because int might match the return type of a gcc2 | 14886 /* We use char because int might match the return type of a gcc2 |
14888 builtin and then its argument prototype would still apply. */ | 14887 builtin and then its argument prototype would still apply. */ |
14889 char tgetent(); | 14888 char tgetent(); |
14890 | 14889 |
14891 int main() { | 14890 int main() { |
14892 tgetent() | 14891 tgetent() |
14893 ; return 0; } | 14892 ; return 0; } |
14894 EOF | 14893 EOF |
14895 if { (eval echo configure:14896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14894 if { (eval echo configure:14895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14896 rm -rf conftest* | 14895 rm -rf conftest* |
14897 eval "ac_cv_lib_$ac_lib_var=yes" | 14896 eval "ac_cv_lib_$ac_lib_var=yes" |
14898 else | 14897 else |
14899 echo "configure: failed program was:" >&5 | 14898 echo "configure: failed program was:" >&5 |
14900 cat conftest.$ac_ext >&5 | 14899 cat conftest.$ac_ext >&5 |
14938 } | 14937 } |
14939 | 14938 |
14940 | 14939 |
14941 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14940 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14942 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14941 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14943 echo "configure:14944: checking for gpm.h" >&5 | 14942 echo "configure:14943: checking for gpm.h" >&5 |
14944 | 14943 |
14945 cat > conftest.$ac_ext <<EOF | 14944 cat > conftest.$ac_ext <<EOF |
14946 #line 14947 "configure" | 14945 #line 14946 "configure" |
14947 #include "confdefs.h" | 14946 #include "confdefs.h" |
14948 #include <gpm.h> | 14947 #include <gpm.h> |
14949 EOF | 14948 EOF |
14950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14951 { (eval echo configure:14952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14950 { (eval echo configure:14951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14953 if test -z "$ac_err"; then | 14952 if test -z "$ac_err"; then |
14954 rm -rf conftest* | 14953 rm -rf conftest* |
14955 eval "ac_cv_header_$ac_safe=yes" | 14954 eval "ac_cv_header_$ac_safe=yes" |
14956 else | 14955 else |
14969 with_gpm=no | 14968 with_gpm=no |
14970 fi | 14969 fi |
14971 } | 14970 } |
14972 test -z "$with_gpm" && { | 14971 test -z "$with_gpm" && { |
14973 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14972 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14974 echo "configure:14975: checking for Gpm_Open in -lgpm" >&5 | 14973 echo "configure:14974: checking for Gpm_Open in -lgpm" >&5 |
14975 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14974 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14976 | 14975 |
14977 xe_check_libs=" -lgpm " | 14976 xe_check_libs=" -lgpm " |
14978 cat > conftest.$ac_ext <<EOF | 14977 cat > conftest.$ac_ext <<EOF |
14979 #line 14980 "configure" | 14978 #line 14979 "configure" |
14980 #include "confdefs.h" | 14979 #include "confdefs.h" |
14981 /* Override any gcc2 internal prototype to avoid an error. */ | 14980 /* Override any gcc2 internal prototype to avoid an error. */ |
14982 /* We use char because int might match the return type of a gcc2 | 14981 /* We use char because int might match the return type of a gcc2 |
14983 builtin and then its argument prototype would still apply. */ | 14982 builtin and then its argument prototype would still apply. */ |
14984 char Gpm_Open(); | 14983 char Gpm_Open(); |
14985 | 14984 |
14986 int main() { | 14985 int main() { |
14987 Gpm_Open() | 14986 Gpm_Open() |
14988 ; return 0; } | 14987 ; return 0; } |
14989 EOF | 14988 EOF |
14990 if { (eval echo configure:14991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14989 if { (eval echo configure:14990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14991 rm -rf conftest* | 14990 rm -rf conftest* |
14992 eval "ac_cv_lib_$ac_lib_var=yes" | 14991 eval "ac_cv_lib_$ac_lib_var=yes" |
14993 else | 14992 else |
14994 echo "configure: failed program was:" >&5 | 14993 echo "configure: failed program was:" >&5 |
14995 cat conftest.$ac_ext >&5 | 14994 cat conftest.$ac_ext >&5 |
15028 done | 15027 done |
15029 fi | 15028 fi |
15030 | 15029 |
15031 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15030 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15032 != "no no no" && echo "checking for database support" 1>&6 | 15031 != "no no no" && echo "checking for database support" 1>&6 |
15033 echo "configure:15034: checking for database support" >&5 | 15032 echo "configure:15033: checking for database support" >&5 |
15034 | 15033 |
15035 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15034 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15036 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15035 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15037 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15036 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15038 echo "configure:15039: checking for ndbm.h" >&5 | 15037 echo "configure:15038: checking for ndbm.h" >&5 |
15039 | 15038 |
15040 cat > conftest.$ac_ext <<EOF | 15039 cat > conftest.$ac_ext <<EOF |
15041 #line 15042 "configure" | 15040 #line 15041 "configure" |
15042 #include "confdefs.h" | 15041 #include "confdefs.h" |
15043 #include <ndbm.h> | 15042 #include <ndbm.h> |
15044 EOF | 15043 EOF |
15045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15046 { (eval echo configure:15047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15045 { (eval echo configure:15046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15048 if test -z "$ac_err"; then | 15047 if test -z "$ac_err"; then |
15049 rm -rf conftest* | 15048 rm -rf conftest* |
15050 eval "ac_cv_header_$ac_safe=yes" | 15049 eval "ac_cv_header_$ac_safe=yes" |
15051 else | 15050 else |
15071 fi | 15070 fi |
15072 | 15071 |
15073 if test "$with_database_gdbm" != "no"; then | 15072 if test "$with_database_gdbm" != "no"; then |
15074 | 15073 |
15075 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15074 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15076 echo "configure:15077: checking for dbm_open in -lgdbm" >&5 | 15075 echo "configure:15076: checking for dbm_open in -lgdbm" >&5 |
15077 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15076 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15078 | 15077 |
15079 xe_check_libs=" -lgdbm " | 15078 xe_check_libs=" -lgdbm " |
15080 cat > conftest.$ac_ext <<EOF | 15079 cat > conftest.$ac_ext <<EOF |
15081 #line 15082 "configure" | 15080 #line 15081 "configure" |
15082 #include "confdefs.h" | 15081 #include "confdefs.h" |
15083 /* Override any gcc2 internal prototype to avoid an error. */ | 15082 /* Override any gcc2 internal prototype to avoid an error. */ |
15084 /* We use char because int might match the return type of a gcc2 | 15083 /* We use char because int might match the return type of a gcc2 |
15085 builtin and then its argument prototype would still apply. */ | 15084 builtin and then its argument prototype would still apply. */ |
15086 char dbm_open(); | 15085 char dbm_open(); |
15087 | 15086 |
15088 int main() { | 15087 int main() { |
15089 dbm_open() | 15088 dbm_open() |
15090 ; return 0; } | 15089 ; return 0; } |
15091 EOF | 15090 EOF |
15092 if { (eval echo configure:15093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15091 if { (eval echo configure:15092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15093 rm -rf conftest* | 15092 rm -rf conftest* |
15094 eval "ac_cv_lib_$ac_lib_var=yes" | 15093 eval "ac_cv_lib_$ac_lib_var=yes" |
15095 else | 15094 else |
15096 echo "configure: failed program was:" >&5 | 15095 echo "configure: failed program was:" >&5 |
15097 cat conftest.$ac_ext >&5 | 15096 cat conftest.$ac_ext >&5 |
15115 | 15114 |
15116 fi | 15115 fi |
15117 | 15116 |
15118 if test "$with_database_dbm" != "no"; then | 15117 if test "$with_database_dbm" != "no"; then |
15119 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15118 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15120 echo "configure:15121: checking for dbm_open" >&5 | 15119 echo "configure:15120: checking for dbm_open" >&5 |
15121 | 15120 |
15122 cat > conftest.$ac_ext <<EOF | 15121 cat > conftest.$ac_ext <<EOF |
15123 #line 15124 "configure" | 15122 #line 15123 "configure" |
15124 #include "confdefs.h" | 15123 #include "confdefs.h" |
15125 /* System header to define __stub macros and hopefully few prototypes, | 15124 /* System header to define __stub macros and hopefully few prototypes, |
15126 which can conflict with char dbm_open(); below. */ | 15125 which can conflict with char dbm_open(); below. */ |
15127 #include <assert.h> | 15126 #include <assert.h> |
15128 /* Override any gcc2 internal prototype to avoid an error. */ | 15127 /* Override any gcc2 internal prototype to avoid an error. */ |
15141 dbm_open(); | 15140 dbm_open(); |
15142 #endif | 15141 #endif |
15143 | 15142 |
15144 ; return 0; } | 15143 ; return 0; } |
15145 EOF | 15144 EOF |
15146 if { (eval echo configure:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15145 if { (eval echo configure:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15147 rm -rf conftest* | 15146 rm -rf conftest* |
15148 eval "ac_cv_func_dbm_open=yes" | 15147 eval "ac_cv_func_dbm_open=yes" |
15149 else | 15148 else |
15150 echo "configure: failed program was:" >&5 | 15149 echo "configure: failed program was:" >&5 |
15151 cat conftest.$ac_ext >&5 | 15150 cat conftest.$ac_ext >&5 |
15160 else | 15159 else |
15161 echo "$ac_t""no" 1>&6 | 15160 echo "$ac_t""no" 1>&6 |
15162 | 15161 |
15163 | 15162 |
15164 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15163 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15165 echo "configure:15166: checking for dbm_open in -ldbm" >&5 | 15164 echo "configure:15165: checking for dbm_open in -ldbm" >&5 |
15166 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15165 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15167 | 15166 |
15168 xe_check_libs=" -ldbm " | 15167 xe_check_libs=" -ldbm " |
15169 cat > conftest.$ac_ext <<EOF | 15168 cat > conftest.$ac_ext <<EOF |
15170 #line 15171 "configure" | 15169 #line 15170 "configure" |
15171 #include "confdefs.h" | 15170 #include "confdefs.h" |
15172 /* Override any gcc2 internal prototype to avoid an error. */ | 15171 /* Override any gcc2 internal prototype to avoid an error. */ |
15173 /* We use char because int might match the return type of a gcc2 | 15172 /* We use char because int might match the return type of a gcc2 |
15174 builtin and then its argument prototype would still apply. */ | 15173 builtin and then its argument prototype would still apply. */ |
15175 char dbm_open(); | 15174 char dbm_open(); |
15176 | 15175 |
15177 int main() { | 15176 int main() { |
15178 dbm_open() | 15177 dbm_open() |
15179 ; return 0; } | 15178 ; return 0; } |
15180 EOF | 15179 EOF |
15181 if { (eval echo configure:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15180 if { (eval echo configure:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15182 rm -rf conftest* | 15181 rm -rf conftest* |
15183 eval "ac_cv_lib_$ac_lib_var=yes" | 15182 eval "ac_cv_lib_$ac_lib_var=yes" |
15184 else | 15183 else |
15185 echo "configure: failed program was:" >&5 | 15184 echo "configure: failed program was:" >&5 |
15186 cat conftest.$ac_ext >&5 | 15185 cat conftest.$ac_ext >&5 |
15217 } | 15216 } |
15218 | 15217 |
15219 | 15218 |
15220 if test "$with_database_berkdb" != "no"; then | 15219 if test "$with_database_berkdb" != "no"; then |
15221 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15220 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15222 echo "configure:15223: checking for Berkeley db.h" >&5 | 15221 echo "configure:15222: checking for Berkeley db.h" >&5 |
15223 for header in "db/db.h" "db.h"; do | 15222 for header in "db/db.h" "db.h"; do |
15224 cat > conftest.$ac_ext <<EOF | 15223 cat > conftest.$ac_ext <<EOF |
15225 #line 15226 "configure" | 15224 #line 15225 "configure" |
15226 #include "confdefs.h" | 15225 #include "confdefs.h" |
15227 | 15226 |
15228 #include <stdlib.h> | 15227 #include <stdlib.h> |
15229 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15228 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15230 #ifdef HAVE_INTTYPES_H | 15229 #ifdef HAVE_INTTYPES_H |
15242 | 15241 |
15243 int main() { | 15242 int main() { |
15244 | 15243 |
15245 ; return 0; } | 15244 ; return 0; } |
15246 EOF | 15245 EOF |
15247 if { (eval echo configure:15248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15246 if { (eval echo configure:15247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15248 rm -rf conftest* | 15247 rm -rf conftest* |
15249 db_h_file="$header"; break | 15248 db_h_file="$header"; break |
15250 else | 15249 else |
15251 echo "configure: failed program was:" >&5 | 15250 echo "configure: failed program was:" >&5 |
15252 cat conftest.$ac_ext >&5 | 15251 cat conftest.$ac_ext >&5 |
15258 else echo "$ac_t""$db_h_file" 1>&6 | 15257 else echo "$ac_t""$db_h_file" 1>&6 |
15259 fi | 15258 fi |
15260 | 15259 |
15261 if test "$with_database_berkdb" != "no"; then | 15260 if test "$with_database_berkdb" != "no"; then |
15262 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15261 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15263 echo "configure:15264: checking for Berkeley DB version" >&5 | 15262 echo "configure:15263: checking for Berkeley DB version" >&5 |
15264 cat > conftest.$ac_ext <<EOF | 15263 cat > conftest.$ac_ext <<EOF |
15265 #line 15266 "configure" | 15264 #line 15265 "configure" |
15266 #include "confdefs.h" | 15265 #include "confdefs.h" |
15267 #include <$db_h_file> | 15266 #include <$db_h_file> |
15268 #if DB_VERSION_MAJOR > 1 | 15267 #if DB_VERSION_MAJOR > 1 |
15269 yes | 15268 yes |
15270 #endif | 15269 #endif |
15272 EOF | 15271 EOF |
15273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15274 egrep "yes" >/dev/null 2>&1; then | 15273 egrep "yes" >/dev/null 2>&1; then |
15275 rm -rf conftest* | 15274 rm -rf conftest* |
15276 cat > conftest.$ac_ext <<EOF | 15275 cat > conftest.$ac_ext <<EOF |
15277 #line 15278 "configure" | 15276 #line 15277 "configure" |
15278 #include "confdefs.h" | 15277 #include "confdefs.h" |
15279 #include <$db_h_file> | 15278 #include <$db_h_file> |
15280 #if DB_VERSION_MAJOR > 2 | 15279 #if DB_VERSION_MAJOR > 2 |
15281 yes | 15280 yes |
15282 #endif | 15281 #endif |
15284 EOF | 15283 EOF |
15285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15286 egrep "yes" >/dev/null 2>&1; then | 15285 egrep "yes" >/dev/null 2>&1; then |
15287 rm -rf conftest* | 15286 rm -rf conftest* |
15288 cat > conftest.$ac_ext <<EOF | 15287 cat > conftest.$ac_ext <<EOF |
15289 #line 15290 "configure" | 15288 #line 15289 "configure" |
15290 #include "confdefs.h" | 15289 #include "confdefs.h" |
15291 #include <$db_h_file> | 15290 #include <$db_h_file> |
15292 #if DB_VERSION_MAJOR > 3 | 15291 #if DB_VERSION_MAJOR > 3 |
15293 yes | 15292 yes |
15294 #endif | 15293 #endif |
15318 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15317 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15319 fi | 15318 fi |
15320 rm -f conftest* | 15319 rm -f conftest* |
15321 | 15320 |
15322 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15321 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15323 echo "configure:15324: checking for $dbfunc" >&5 | 15322 echo "configure:15323: checking for $dbfunc" >&5 |
15324 | 15323 |
15325 cat > conftest.$ac_ext <<EOF | 15324 cat > conftest.$ac_ext <<EOF |
15326 #line 15327 "configure" | 15325 #line 15326 "configure" |
15327 #include "confdefs.h" | 15326 #include "confdefs.h" |
15328 /* System header to define __stub macros and hopefully few prototypes, | 15327 /* System header to define __stub macros and hopefully few prototypes, |
15329 which can conflict with char $dbfunc(); below. */ | 15328 which can conflict with char $dbfunc(); below. */ |
15330 #include <assert.h> | 15329 #include <assert.h> |
15331 /* Override any gcc2 internal prototype to avoid an error. */ | 15330 /* Override any gcc2 internal prototype to avoid an error. */ |
15344 $dbfunc(); | 15343 $dbfunc(); |
15345 #endif | 15344 #endif |
15346 | 15345 |
15347 ; return 0; } | 15346 ; return 0; } |
15348 EOF | 15347 EOF |
15349 if { (eval echo configure:15350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15348 if { (eval echo configure:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15350 rm -rf conftest* | 15349 rm -rf conftest* |
15351 eval "ac_cv_func_$dbfunc=yes" | 15350 eval "ac_cv_func_$dbfunc=yes" |
15352 else | 15351 else |
15353 echo "configure: failed program was:" >&5 | 15352 echo "configure: failed program was:" >&5 |
15354 cat conftest.$ac_ext >&5 | 15353 cat conftest.$ac_ext >&5 |
15363 else | 15362 else |
15364 echo "$ac_t""no" 1>&6 | 15363 echo "$ac_t""no" 1>&6 |
15365 | 15364 |
15366 | 15365 |
15367 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15366 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15368 echo "configure:15369: checking for $dbfunc in -ldb" >&5 | 15367 echo "configure:15368: checking for $dbfunc in -ldb" >&5 |
15369 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15368 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15370 | 15369 |
15371 xe_check_libs=" -ldb " | 15370 xe_check_libs=" -ldb " |
15372 cat > conftest.$ac_ext <<EOF | 15371 cat > conftest.$ac_ext <<EOF |
15373 #line 15374 "configure" | 15372 #line 15373 "configure" |
15374 #include "confdefs.h" | 15373 #include "confdefs.h" |
15375 /* Override any gcc2 internal prototype to avoid an error. */ | 15374 /* Override any gcc2 internal prototype to avoid an error. */ |
15376 /* We use char because int might match the return type of a gcc2 | 15375 /* We use char because int might match the return type of a gcc2 |
15377 builtin and then its argument prototype would still apply. */ | 15376 builtin and then its argument prototype would still apply. */ |
15378 char $dbfunc(); | 15377 char $dbfunc(); |
15379 | 15378 |
15380 int main() { | 15379 int main() { |
15381 $dbfunc() | 15380 $dbfunc() |
15382 ; return 0; } | 15381 ; return 0; } |
15383 EOF | 15382 EOF |
15384 if { (eval echo configure:15385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15383 if { (eval echo configure:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15385 rm -rf conftest* | 15384 rm -rf conftest* |
15386 eval "ac_cv_lib_$ac_lib_var=yes" | 15385 eval "ac_cv_lib_$ac_lib_var=yes" |
15387 else | 15386 else |
15388 echo "configure: failed program was:" >&5 | 15387 echo "configure: failed program was:" >&5 |
15389 cat conftest.$ac_ext >&5 | 15388 cat conftest.$ac_ext >&5 |
15413 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15412 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15414 rm -f $tempcname | 15413 rm -f $tempcname |
15415 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15414 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15416 | 15415 |
15417 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15416 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15418 echo "configure:15419: checking for $dbfunc in -ldb" >&5 | 15417 echo "configure:15418: checking for $dbfunc in -ldb" >&5 |
15419 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15418 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15420 | 15419 |
15421 xe_check_libs=" -ldb " | 15420 xe_check_libs=" -ldb " |
15422 cat > conftest.$ac_ext <<EOF | 15421 cat > conftest.$ac_ext <<EOF |
15423 #line 15424 "configure" | 15422 #line 15423 "configure" |
15424 #include "confdefs.h" | 15423 #include "confdefs.h" |
15425 /* Override any gcc2 internal prototype to avoid an error. */ | 15424 /* Override any gcc2 internal prototype to avoid an error. */ |
15426 /* We use char because int might match the return type of a gcc2 | 15425 /* We use char because int might match the return type of a gcc2 |
15427 builtin and then its argument prototype would still apply. */ | 15426 builtin and then its argument prototype would still apply. */ |
15428 char $dbfunc(); | 15427 char $dbfunc(); |
15429 | 15428 |
15430 int main() { | 15429 int main() { |
15431 $dbfunc() | 15430 $dbfunc() |
15432 ; return 0; } | 15431 ; return 0; } |
15433 EOF | 15432 EOF |
15434 if { (eval echo configure:15435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15433 if { (eval echo configure:15434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15435 rm -rf conftest* | 15434 rm -rf conftest* |
15436 eval "ac_cv_lib_$ac_lib_var=yes" | 15435 eval "ac_cv_lib_$ac_lib_var=yes" |
15437 else | 15436 else |
15438 echo "configure: failed program was:" >&5 | 15437 echo "configure: failed program was:" >&5 |
15439 cat conftest.$ac_ext >&5 | 15438 cat conftest.$ac_ext >&5 |
15488 fi | 15487 fi |
15489 | 15488 |
15490 if test "$with_socks" = "yes"; then | 15489 if test "$with_socks" = "yes"; then |
15491 | 15490 |
15492 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15491 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15493 echo "configure:15494: checking for SOCKSinit in -lsocks" >&5 | 15492 echo "configure:15493: checking for SOCKSinit in -lsocks" >&5 |
15494 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15493 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15495 | 15494 |
15496 xe_check_libs=" -lsocks " | 15495 xe_check_libs=" -lsocks " |
15497 cat > conftest.$ac_ext <<EOF | 15496 cat > conftest.$ac_ext <<EOF |
15498 #line 15499 "configure" | 15497 #line 15498 "configure" |
15499 #include "confdefs.h" | 15498 #include "confdefs.h" |
15500 /* Override any gcc2 internal prototype to avoid an error. */ | 15499 /* Override any gcc2 internal prototype to avoid an error. */ |
15501 /* We use char because int might match the return type of a gcc2 | 15500 /* We use char because int might match the return type of a gcc2 |
15502 builtin and then its argument prototype would still apply. */ | 15501 builtin and then its argument prototype would still apply. */ |
15503 char SOCKSinit(); | 15502 char SOCKSinit(); |
15504 | 15503 |
15505 int main() { | 15504 int main() { |
15506 SOCKSinit() | 15505 SOCKSinit() |
15507 ; return 0; } | 15506 ; return 0; } |
15508 EOF | 15507 EOF |
15509 if { (eval echo configure:15510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15508 if { (eval echo configure:15509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15510 rm -rf conftest* | 15509 rm -rf conftest* |
15511 eval "ac_cv_lib_$ac_lib_var=yes" | 15510 eval "ac_cv_lib_$ac_lib_var=yes" |
15512 else | 15511 else |
15513 echo "configure: failed program was:" >&5 | 15512 echo "configure: failed program was:" >&5 |
15514 cat conftest.$ac_ext >&5 | 15513 cat conftest.$ac_ext >&5 |
15560 fi | 15559 fi |
15561 | 15560 |
15562 if test "$use_number_lib" = "gmp"; then | 15561 if test "$use_number_lib" = "gmp"; then |
15563 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15562 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15564 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15563 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15565 echo "configure:15566: checking for gmp.h" >&5 | 15564 echo "configure:15565: checking for gmp.h" >&5 |
15566 | 15565 |
15567 cat > conftest.$ac_ext <<EOF | 15566 cat > conftest.$ac_ext <<EOF |
15568 #line 15569 "configure" | 15567 #line 15568 "configure" |
15569 #include "confdefs.h" | 15568 #include "confdefs.h" |
15570 #include <gmp.h> | 15569 #include <gmp.h> |
15571 EOF | 15570 EOF |
15572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15573 { (eval echo configure:15574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15572 { (eval echo configure:15573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15575 if test -z "$ac_err"; then | 15574 if test -z "$ac_err"; then |
15576 rm -rf conftest* | 15575 rm -rf conftest* |
15577 eval "ac_cv_header_$ac_safe=yes" | 15576 eval "ac_cv_header_$ac_safe=yes" |
15578 else | 15577 else |
15586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15587 echo "$ac_t""yes" 1>&6 | 15586 echo "$ac_t""yes" 1>&6 |
15588 | 15587 |
15589 | 15588 |
15590 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15589 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15591 echo "configure:15592: checking for __gmpz_init in -lgmp" >&5 | 15590 echo "configure:15591: checking for __gmpz_init in -lgmp" >&5 |
15592 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15591 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15593 | 15592 |
15594 xe_check_libs=" -lgmp " | 15593 xe_check_libs=" -lgmp " |
15595 cat > conftest.$ac_ext <<EOF | 15594 cat > conftest.$ac_ext <<EOF |
15596 #line 15597 "configure" | 15595 #line 15596 "configure" |
15597 #include "confdefs.h" | 15596 #include "confdefs.h" |
15598 /* Override any gcc2 internal prototype to avoid an error. */ | 15597 /* Override any gcc2 internal prototype to avoid an error. */ |
15599 /* We use char because int might match the return type of a gcc2 | 15598 /* We use char because int might match the return type of a gcc2 |
15600 builtin and then its argument prototype would still apply. */ | 15599 builtin and then its argument prototype would still apply. */ |
15601 char __gmpz_init(); | 15600 char __gmpz_init(); |
15602 | 15601 |
15603 int main() { | 15602 int main() { |
15604 __gmpz_init() | 15603 __gmpz_init() |
15605 ; return 0; } | 15604 ; return 0; } |
15606 EOF | 15605 EOF |
15607 if { (eval echo configure:15608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15606 if { (eval echo configure:15607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15608 rm -rf conftest* | 15607 rm -rf conftest* |
15609 eval "ac_cv_lib_$ac_lib_var=yes" | 15608 eval "ac_cv_lib_$ac_lib_var=yes" |
15610 else | 15609 else |
15611 echo "configure: failed program was:" >&5 | 15610 echo "configure: failed program was:" >&5 |
15612 cat conftest.$ac_ext >&5 | 15611 cat conftest.$ac_ext >&5 |
15651 fi | 15650 fi |
15652 elif test "$use_number_lib" = "mp"; then | 15651 elif test "$use_number_lib" = "mp"; then |
15653 for library in "" "-lcrypto"; do | 15652 for library in "" "-lcrypto"; do |
15654 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15653 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15655 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15654 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15656 echo "configure:15657: checking for mp.h" >&5 | 15655 echo "configure:15656: checking for mp.h" >&5 |
15657 | 15656 |
15658 cat > conftest.$ac_ext <<EOF | 15657 cat > conftest.$ac_ext <<EOF |
15659 #line 15660 "configure" | 15658 #line 15659 "configure" |
15660 #include "confdefs.h" | 15659 #include "confdefs.h" |
15661 #include <mp.h> | 15660 #include <mp.h> |
15662 EOF | 15661 EOF |
15663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15664 { (eval echo configure:15665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15663 { (eval echo configure:15664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15666 if test -z "$ac_err"; then | 15665 if test -z "$ac_err"; then |
15667 rm -rf conftest* | 15666 rm -rf conftest* |
15668 eval "ac_cv_header_$ac_safe=yes" | 15667 eval "ac_cv_header_$ac_safe=yes" |
15669 else | 15668 else |
15679 | 15678 |
15680 | 15679 |
15681 xe_msg_checking="for mp_mfree in -lmp" | 15680 xe_msg_checking="for mp_mfree in -lmp" |
15682 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15681 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15683 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15682 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15684 echo "configure:15685: checking "$xe_msg_checking"" >&5 | 15683 echo "configure:15684: checking "$xe_msg_checking"" >&5 |
15685 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15684 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15686 | 15685 |
15687 xe_check_libs=" -lmp $library" | 15686 xe_check_libs=" -lmp $library" |
15688 cat > conftest.$ac_ext <<EOF | 15687 cat > conftest.$ac_ext <<EOF |
15689 #line 15690 "configure" | 15688 #line 15689 "configure" |
15690 #include "confdefs.h" | 15689 #include "confdefs.h" |
15691 /* Override any gcc2 internal prototype to avoid an error. */ | 15690 /* Override any gcc2 internal prototype to avoid an error. */ |
15692 /* We use char because int might match the return type of a gcc2 | 15691 /* We use char because int might match the return type of a gcc2 |
15693 builtin and then its argument prototype would still apply. */ | 15692 builtin and then its argument prototype would still apply. */ |
15694 char mp_mfree(); | 15693 char mp_mfree(); |
15695 | 15694 |
15696 int main() { | 15695 int main() { |
15697 mp_mfree() | 15696 mp_mfree() |
15698 ; return 0; } | 15697 ; return 0; } |
15699 EOF | 15698 EOF |
15700 if { (eval echo configure:15701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15699 if { (eval echo configure:15700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15701 rm -rf conftest* | 15700 rm -rf conftest* |
15702 eval "ac_cv_lib_$ac_lib_var=yes" | 15701 eval "ac_cv_lib_$ac_lib_var=yes" |
15703 else | 15702 else |
15704 echo "configure: failed program was:" >&5 | 15703 echo "configure: failed program was:" >&5 |
15705 cat conftest.$ac_ext >&5 | 15704 cat conftest.$ac_ext >&5 |
15716 echo "$ac_t""no" 1>&6 | 15715 echo "$ac_t""no" 1>&6 |
15717 | 15716 |
15718 xe_msg_checking="for mfree in -lmp" | 15717 xe_msg_checking="for mfree in -lmp" |
15719 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15718 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15720 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15719 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15721 echo "configure:15722: checking "$xe_msg_checking"" >&5 | 15720 echo "configure:15721: checking "$xe_msg_checking"" >&5 |
15722 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15721 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15723 | 15722 |
15724 xe_check_libs=" -lmp $library" | 15723 xe_check_libs=" -lmp $library" |
15725 cat > conftest.$ac_ext <<EOF | 15724 cat > conftest.$ac_ext <<EOF |
15726 #line 15727 "configure" | 15725 #line 15726 "configure" |
15727 #include "confdefs.h" | 15726 #include "confdefs.h" |
15728 /* Override any gcc2 internal prototype to avoid an error. */ | 15727 /* Override any gcc2 internal prototype to avoid an error. */ |
15729 /* We use char because int might match the return type of a gcc2 | 15728 /* We use char because int might match the return type of a gcc2 |
15730 builtin and then its argument prototype would still apply. */ | 15729 builtin and then its argument prototype would still apply. */ |
15731 char mfree(); | 15730 char mfree(); |
15732 | 15731 |
15733 int main() { | 15732 int main() { |
15734 mfree() | 15733 mfree() |
15735 ; return 0; } | 15734 ; return 0; } |
15736 EOF | 15735 EOF |
15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15736 if { (eval echo configure:15737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15738 rm -rf conftest* | 15737 rm -rf conftest* |
15739 eval "ac_cv_lib_$ac_lib_var=yes" | 15738 eval "ac_cv_lib_$ac_lib_var=yes" |
15740 else | 15739 else |
15741 echo "configure: failed program was:" >&5 | 15740 echo "configure: failed program was:" >&5 |
15742 cat conftest.$ac_ext >&5 | 15741 cat conftest.$ac_ext >&5 |
15771 EOF | 15770 EOF |
15772 } | 15771 } |
15773 | 15772 |
15774 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15773 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15775 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15774 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15776 echo "configure:15777: checking for mp_move" >&5 | 15775 echo "configure:15776: checking for mp_move" >&5 |
15777 | 15776 |
15778 cat > conftest.$ac_ext <<EOF | 15777 cat > conftest.$ac_ext <<EOF |
15779 #line 15780 "configure" | 15778 #line 15779 "configure" |
15780 #include "confdefs.h" | 15779 #include "confdefs.h" |
15781 /* System header to define __stub macros and hopefully few prototypes, | 15780 /* System header to define __stub macros and hopefully few prototypes, |
15782 which can conflict with char mp_move(); below. */ | 15781 which can conflict with char mp_move(); below. */ |
15783 #include <assert.h> | 15782 #include <assert.h> |
15784 /* Override any gcc2 internal prototype to avoid an error. */ | 15783 /* Override any gcc2 internal prototype to avoid an error. */ |
15797 mp_move(); | 15796 mp_move(); |
15798 #endif | 15797 #endif |
15799 | 15798 |
15800 ; return 0; } | 15799 ; return 0; } |
15801 EOF | 15800 EOF |
15802 if { (eval echo configure:15803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15801 if { (eval echo configure:15802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15803 rm -rf conftest* | 15802 rm -rf conftest* |
15804 eval "ac_cv_func_mp_move=yes" | 15803 eval "ac_cv_func_mp_move=yes" |
15805 else | 15804 else |
15806 echo "configure: failed program was:" >&5 | 15805 echo "configure: failed program was:" >&5 |
15807 cat conftest.$ac_ext >&5 | 15806 cat conftest.$ac_ext >&5 |
15825 fi | 15824 fi |
15826 | 15825 |
15827 elif test "$have_mfree" = "yes"; then | 15826 elif test "$have_mfree" = "yes"; then |
15828 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15827 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15829 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15828 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15830 echo "configure:15831: checking for move" >&5 | 15829 echo "configure:15830: checking for move" >&5 |
15831 | 15830 |
15832 cat > conftest.$ac_ext <<EOF | 15831 cat > conftest.$ac_ext <<EOF |
15833 #line 15834 "configure" | 15832 #line 15833 "configure" |
15834 #include "confdefs.h" | 15833 #include "confdefs.h" |
15835 /* System header to define __stub macros and hopefully few prototypes, | 15834 /* System header to define __stub macros and hopefully few prototypes, |
15836 which can conflict with char move(); below. */ | 15835 which can conflict with char move(); below. */ |
15837 #include <assert.h> | 15836 #include <assert.h> |
15838 /* Override any gcc2 internal prototype to avoid an error. */ | 15837 /* Override any gcc2 internal prototype to avoid an error. */ |
15851 move(); | 15850 move(); |
15852 #endif | 15851 #endif |
15853 | 15852 |
15854 ; return 0; } | 15853 ; return 0; } |
15855 EOF | 15854 EOF |
15856 if { (eval echo configure:15857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15857 rm -rf conftest* | 15856 rm -rf conftest* |
15858 eval "ac_cv_func_move=yes" | 15857 eval "ac_cv_func_move=yes" |
15859 else | 15858 else |
15860 echo "configure: failed program was:" >&5 | 15859 echo "configure: failed program was:" >&5 |
15861 cat conftest.$ac_ext >&5 | 15860 cat conftest.$ac_ext >&5 |
15901 } | 15900 } |
15902 | 15901 |
15903 fi | 15902 fi |
15904 | 15903 |
15905 cat > conftest.$ac_ext <<EOF | 15904 cat > conftest.$ac_ext <<EOF |
15906 #line 15907 "configure" | 15905 #line 15906 "configure" |
15907 #include "confdefs.h" | 15906 #include "confdefs.h" |
15908 int main(int c,char *v[]){return 0;} | 15907 int main(int c,char *v[]){return 0;} |
15909 EOF | 15908 EOF |
15910 if { (eval echo configure:15911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15909 if { (eval echo configure:15910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15911 then | 15910 then |
15912 : | 15911 : |
15913 else | 15912 else |
15914 conftest_rc="$?" | 15913 conftest_rc="$?" |
15915 echo "configure: failed program was:" >&5 | 15914 echo "configure: failed program was:" >&5 |