Mercurial > emacs
comparison configure @ 27729:75463d908406
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 17 Feb 2000 09:49:05 +0000 |
parents | e655a2d4ecca |
children | 7ee8155d48c5 |
comparison
equal
deleted
inserted
replaced
27728:01121d3b9952 | 27729:75463d908406 |
---|---|
2731 #include "confdefs.h" | 2731 #include "confdefs.h" |
2732 | 2732 |
2733 int main() { | 2733 int main() { |
2734 | 2734 |
2735 /* Ultrix mips cc rejects this. */ | 2735 /* Ultrix mips cc rejects this. */ |
2736 typedef int charset[2]; const charset x = {0,0}; | 2736 typedef int charset[2]; const charset x; |
2737 /* SunOS 4.1.1 cc rejects this. */ | 2737 /* SunOS 4.1.1 cc rejects this. */ |
2738 char const *const *ccp; | 2738 char const *const *ccp; |
2739 char **p; | 2739 char **p; |
2740 /* NEC SVR4.0.2 mips cc rejects this. */ | 2740 /* NEC SVR4.0.2 mips cc rejects this. */ |
2741 struct point {int x, y;}; | 2741 struct point {int x, y;}; |
3469 | 3469 |
3470 if test x"${REL_ALLOC}" = x; then | 3470 if test x"${REL_ALLOC}" = x; then |
3471 REL_ALLOC=${GNU_MALLOC} | 3471 REL_ALLOC=${GNU_MALLOC} |
3472 fi | 3472 fi |
3473 | 3473 |
3474 LISP_FLOAT_TYPE=yes | |
3475 | |
3476 | |
3477 #### Add the libraries to LIBS and check for some functions. | 3474 #### Add the libraries to LIBS and check for some functions. |
3478 | 3475 |
3479 if test x"${OVERRIDE_CPPFLAGS}" != x; then | 3476 if test x"${OVERRIDE_CPPFLAGS}" != x; then |
3480 CPPFLAGS="${OVERRIDE_CPPFLAGS}" | 3477 CPPFLAGS="${OVERRIDE_CPPFLAGS}" |
3481 else | 3478 else |
3483 fi | 3480 fi |
3484 | 3481 |
3485 LIBS="$libsrc_libs $LIBS" | 3482 LIBS="$libsrc_libs $LIBS" |
3486 | 3483 |
3487 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3484 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3488 echo "configure:3489: checking for dnet_ntoa in -ldnet" >&5 | 3485 echo "configure:3486: checking for dnet_ntoa in -ldnet" >&5 |
3489 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3486 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3490 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3491 echo $ac_n "(cached) $ac_c" 1>&6 | 3488 echo $ac_n "(cached) $ac_c" 1>&6 |
3492 else | 3489 else |
3493 ac_save_LIBS="$LIBS" | 3490 ac_save_LIBS="$LIBS" |
3494 LIBS="-ldnet $LIBS" | 3491 LIBS="-ldnet $LIBS" |
3495 cat > conftest.$ac_ext <<EOF | 3492 cat > conftest.$ac_ext <<EOF |
3496 #line 3497 "configure" | 3493 #line 3494 "configure" |
3497 #include "confdefs.h" | 3494 #include "confdefs.h" |
3498 /* Override any gcc2 internal prototype to avoid an error. */ | 3495 /* Override any gcc2 internal prototype to avoid an error. */ |
3499 /* We use char because int might match the return type of a gcc2 | 3496 /* We use char because int might match the return type of a gcc2 |
3500 builtin and then its argument prototype would still apply. */ | 3497 builtin and then its argument prototype would still apply. */ |
3501 char dnet_ntoa(); | 3498 char dnet_ntoa(); |
3502 | 3499 |
3503 int main() { | 3500 int main() { |
3504 dnet_ntoa() | 3501 dnet_ntoa() |
3505 ; return 0; } | 3502 ; return 0; } |
3506 EOF | 3503 EOF |
3507 if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3504 if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3508 rm -rf conftest* | 3505 rm -rf conftest* |
3509 eval "ac_cv_lib_$ac_lib_var=yes" | 3506 eval "ac_cv_lib_$ac_lib_var=yes" |
3510 else | 3507 else |
3511 echo "configure: failed program was:" >&5 | 3508 echo "configure: failed program was:" >&5 |
3512 cat conftest.$ac_ext >&5 | 3509 cat conftest.$ac_ext >&5 |
3531 echo "$ac_t""no" 1>&6 | 3528 echo "$ac_t""no" 1>&6 |
3532 fi | 3529 fi |
3533 | 3530 |
3534 | 3531 |
3535 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3532 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3536 echo "configure:3537: checking for main in -lXbsd" >&5 | 3533 echo "configure:3534: checking for main in -lXbsd" >&5 |
3537 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3534 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3538 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3535 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3539 echo $ac_n "(cached) $ac_c" 1>&6 | 3536 echo $ac_n "(cached) $ac_c" 1>&6 |
3540 else | 3537 else |
3541 ac_save_LIBS="$LIBS" | 3538 ac_save_LIBS="$LIBS" |
3542 LIBS="-lXbsd $LIBS" | 3539 LIBS="-lXbsd $LIBS" |
3543 cat > conftest.$ac_ext <<EOF | 3540 cat > conftest.$ac_ext <<EOF |
3544 #line 3545 "configure" | 3541 #line 3542 "configure" |
3545 #include "confdefs.h" | 3542 #include "confdefs.h" |
3546 | 3543 |
3547 int main() { | 3544 int main() { |
3548 main() | 3545 main() |
3549 ; return 0; } | 3546 ; return 0; } |
3550 EOF | 3547 EOF |
3551 if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3552 rm -rf conftest* | 3549 rm -rf conftest* |
3553 eval "ac_cv_lib_$ac_lib_var=yes" | 3550 eval "ac_cv_lib_$ac_lib_var=yes" |
3554 else | 3551 else |
3555 echo "configure: failed program was:" >&5 | 3552 echo "configure: failed program was:" >&5 |
3556 cat conftest.$ac_ext >&5 | 3553 cat conftest.$ac_ext >&5 |
3568 echo "$ac_t""no" 1>&6 | 3565 echo "$ac_t""no" 1>&6 |
3569 fi | 3566 fi |
3570 | 3567 |
3571 | 3568 |
3572 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3569 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3573 echo "configure:3574: checking for cma_open in -lpthreads" >&5 | 3570 echo "configure:3571: checking for cma_open in -lpthreads" >&5 |
3574 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3571 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3575 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3576 echo $ac_n "(cached) $ac_c" 1>&6 | 3573 echo $ac_n "(cached) $ac_c" 1>&6 |
3577 else | 3574 else |
3578 ac_save_LIBS="$LIBS" | 3575 ac_save_LIBS="$LIBS" |
3579 LIBS="-lpthreads $LIBS" | 3576 LIBS="-lpthreads $LIBS" |
3580 cat > conftest.$ac_ext <<EOF | 3577 cat > conftest.$ac_ext <<EOF |
3581 #line 3582 "configure" | 3578 #line 3579 "configure" |
3582 #include "confdefs.h" | 3579 #include "confdefs.h" |
3583 /* Override any gcc2 internal prototype to avoid an error. */ | 3580 /* Override any gcc2 internal prototype to avoid an error. */ |
3584 /* We use char because int might match the return type of a gcc2 | 3581 /* We use char because int might match the return type of a gcc2 |
3585 builtin and then its argument prototype would still apply. */ | 3582 builtin and then its argument prototype would still apply. */ |
3586 char cma_open(); | 3583 char cma_open(); |
3587 | 3584 |
3588 int main() { | 3585 int main() { |
3589 cma_open() | 3586 cma_open() |
3590 ; return 0; } | 3587 ; return 0; } |
3591 EOF | 3588 EOF |
3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3589 if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3593 rm -rf conftest* | 3590 rm -rf conftest* |
3594 eval "ac_cv_lib_$ac_lib_var=yes" | 3591 eval "ac_cv_lib_$ac_lib_var=yes" |
3595 else | 3592 else |
3596 echo "configure: failed program was:" >&5 | 3593 echo "configure: failed program was:" >&5 |
3597 cat conftest.$ac_ext >&5 | 3594 cat conftest.$ac_ext >&5 |
3616 echo "$ac_t""no" 1>&6 | 3613 echo "$ac_t""no" 1>&6 |
3617 fi | 3614 fi |
3618 | 3615 |
3619 | 3616 |
3620 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3617 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3621 echo "configure:3622: checking for XFree86 in /usr/X386" >&5 | 3618 echo "configure:3619: checking for XFree86 in /usr/X386" >&5 |
3622 if test -d /usr/X386/include; then | 3619 if test -d /usr/X386/include; then |
3623 HAVE_XFREE386=yes | 3620 HAVE_XFREE386=yes |
3624 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3621 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3625 else | 3622 else |
3626 HAVE_XFREE386=no | 3623 HAVE_XFREE386=no |
3645 export LD_RUN_PATH | 3642 export LD_RUN_PATH |
3646 fi | 3643 fi |
3647 | 3644 |
3648 if test "${opsys}" = "gnu-linux"; then | 3645 if test "${opsys}" = "gnu-linux"; then |
3649 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3646 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3650 echo "configure:3651: checking whether X on GNU/Linux needs -b to link" >&5 | 3647 echo "configure:3648: checking whether X on GNU/Linux needs -b to link" >&5 |
3651 cat > conftest.$ac_ext <<EOF | 3648 cat > conftest.$ac_ext <<EOF |
3652 #line 3653 "configure" | 3649 #line 3650 "configure" |
3653 #include "confdefs.h" | 3650 #include "confdefs.h" |
3654 | 3651 |
3655 int main() { | 3652 int main() { |
3656 XOpenDisplay ("foo"); | 3653 XOpenDisplay ("foo"); |
3657 ; return 0; } | 3654 ; return 0; } |
3658 EOF | 3655 EOF |
3659 if { (eval echo configure:3660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3656 if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3660 rm -rf conftest* | 3657 rm -rf conftest* |
3661 xlinux_first_failure=no | 3658 xlinux_first_failure=no |
3662 else | 3659 else |
3663 echo "configure: failed program was:" >&5 | 3660 echo "configure: failed program was:" >&5 |
3664 cat conftest.$ac_ext >&5 | 3661 cat conftest.$ac_ext >&5 |
3674 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3671 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3675 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3672 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3676 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3673 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3677 LIBS="$LIBS -b i486-linuxaout" | 3674 LIBS="$LIBS -b i486-linuxaout" |
3678 cat > conftest.$ac_ext <<EOF | 3675 cat > conftest.$ac_ext <<EOF |
3679 #line 3680 "configure" | 3676 #line 3677 "configure" |
3680 #include "confdefs.h" | 3677 #include "confdefs.h" |
3681 | 3678 |
3682 int main() { | 3679 int main() { |
3683 XOpenDisplay ("foo"); | 3680 XOpenDisplay ("foo"); |
3684 ; return 0; } | 3681 ; return 0; } |
3685 EOF | 3682 EOF |
3686 if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3687 rm -rf conftest* | 3684 rm -rf conftest* |
3688 xlinux_second_failure=no | 3685 xlinux_second_failure=no |
3689 else | 3686 else |
3690 echo "configure: failed program was:" >&5 | 3687 echo "configure: failed program was:" >&5 |
3691 cat conftest.$ac_ext >&5 | 3688 cat conftest.$ac_ext >&5 |
3711 | 3708 |
3712 for ac_func in XrmSetDatabase XScreenResourceString \ | 3709 for ac_func in XrmSetDatabase XScreenResourceString \ |
3713 XScreenNumberOfScreen XSetWMProtocols | 3710 XScreenNumberOfScreen XSetWMProtocols |
3714 do | 3711 do |
3715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3716 echo "configure:3717: checking for $ac_func" >&5 | 3713 echo "configure:3714: checking for $ac_func" >&5 |
3717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3718 echo $ac_n "(cached) $ac_c" 1>&6 | 3715 echo $ac_n "(cached) $ac_c" 1>&6 |
3719 else | 3716 else |
3720 cat > conftest.$ac_ext <<EOF | 3717 cat > conftest.$ac_ext <<EOF |
3721 #line 3722 "configure" | 3718 #line 3719 "configure" |
3722 #include "confdefs.h" | 3719 #include "confdefs.h" |
3723 /* System header to define __stub macros and hopefully few prototypes, | 3720 /* System header to define __stub macros and hopefully few prototypes, |
3724 which can conflict with char $ac_func(); below. */ | 3721 which can conflict with char $ac_func(); below. */ |
3725 #include <assert.h> | 3722 #include <assert.h> |
3726 /* Override any gcc2 internal prototype to avoid an error. */ | 3723 /* Override any gcc2 internal prototype to avoid an error. */ |
3739 $ac_func(); | 3736 $ac_func(); |
3740 #endif | 3737 #endif |
3741 | 3738 |
3742 ; return 0; } | 3739 ; return 0; } |
3743 EOF | 3740 EOF |
3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3741 if { (eval echo configure:3742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3745 rm -rf conftest* | 3742 rm -rf conftest* |
3746 eval "ac_cv_func_$ac_func=yes" | 3743 eval "ac_cv_func_$ac_func=yes" |
3747 else | 3744 else |
3748 echo "configure: failed program was:" >&5 | 3745 echo "configure: failed program was:" >&5 |
3749 cat conftest.$ac_ext >&5 | 3746 cat conftest.$ac_ext >&5 |
3767 | 3764 |
3768 fi | 3765 fi |
3769 | 3766 |
3770 if test "${window_system}" = "x11"; then | 3767 if test "${window_system}" = "x11"; then |
3771 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3768 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
3772 echo "configure:3773: checking X11 version 6" >&5 | 3769 echo "configure:3770: checking X11 version 6" >&5 |
3773 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3770 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
3774 echo $ac_n "(cached) $ac_c" 1>&6 | 3771 echo $ac_n "(cached) $ac_c" 1>&6 |
3775 else | 3772 else |
3776 cat > conftest.$ac_ext <<EOF | 3773 cat > conftest.$ac_ext <<EOF |
3777 #line 3778 "configure" | 3774 #line 3775 "configure" |
3778 #include "confdefs.h" | 3775 #include "confdefs.h" |
3779 #include <X11/Xlib.h> | 3776 #include <X11/Xlib.h> |
3780 int main() { | 3777 int main() { |
3781 #if XlibSpecificationRelease < 6 | 3778 #if XlibSpecificationRelease < 6 |
3782 fail; | 3779 fail; |
3783 #endif | 3780 #endif |
3784 | 3781 |
3785 ; return 0; } | 3782 ; return 0; } |
3786 EOF | 3783 EOF |
3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3784 if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3788 rm -rf conftest* | 3785 rm -rf conftest* |
3789 emacs_cv_x11_version_6=yes | 3786 emacs_cv_x11_version_6=yes |
3790 else | 3787 else |
3791 echo "configure: failed program was:" >&5 | 3788 echo "configure: failed program was:" >&5 |
3792 cat conftest.$ac_ext >&5 | 3789 cat conftest.$ac_ext >&5 |
3807 fi | 3804 fi |
3808 fi | 3805 fi |
3809 | 3806 |
3810 if test "${window_system}" = "x11"; then | 3807 if test "${window_system}" = "x11"; then |
3811 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 3808 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
3812 echo "configure:3813: checking X11 version 5" >&5 | 3809 echo "configure:3810: checking X11 version 5" >&5 |
3813 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 3810 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
3814 echo $ac_n "(cached) $ac_c" 1>&6 | 3811 echo $ac_n "(cached) $ac_c" 1>&6 |
3815 else | 3812 else |
3816 cat > conftest.$ac_ext <<EOF | 3813 cat > conftest.$ac_ext <<EOF |
3817 #line 3818 "configure" | 3814 #line 3815 "configure" |
3818 #include "confdefs.h" | 3815 #include "confdefs.h" |
3819 #include <X11/Xlib.h> | 3816 #include <X11/Xlib.h> |
3820 int main() { | 3817 int main() { |
3821 #if XlibSpecificationRelease < 5 | 3818 #if XlibSpecificationRelease < 5 |
3822 fail; | 3819 fail; |
3823 #endif | 3820 #endif |
3824 | 3821 |
3825 ; return 0; } | 3822 ; return 0; } |
3826 EOF | 3823 EOF |
3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3824 if { (eval echo configure:3825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3828 rm -rf conftest* | 3825 rm -rf conftest* |
3829 emacs_cv_x11_version_5=yes | 3826 emacs_cv_x11_version_5=yes |
3830 else | 3827 else |
3831 echo "configure: failed program was:" >&5 | 3828 echo "configure: failed program was:" >&5 |
3832 cat conftest.$ac_ext >&5 | 3829 cat conftest.$ac_ext >&5 |
3850 fi | 3847 fi |
3851 | 3848 |
3852 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 3849 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
3853 if test x"${HAVE_X11R5}" = xyes; then | 3850 if test x"${HAVE_X11R5}" = xyes; then |
3854 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 3851 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
3855 echo "configure:3856: checking X11 version 5 with Xaw" >&5 | 3852 echo "configure:3853: checking X11 version 5 with Xaw" >&5 |
3856 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 3853 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
3857 echo $ac_n "(cached) $ac_c" 1>&6 | 3854 echo $ac_n "(cached) $ac_c" 1>&6 |
3858 else | 3855 else |
3859 cat > conftest.$ac_ext <<EOF | 3856 cat > conftest.$ac_ext <<EOF |
3860 #line 3861 "configure" | 3857 #line 3858 "configure" |
3861 #include "confdefs.h" | 3858 #include "confdefs.h" |
3862 | 3859 |
3863 #include <X11/Intrinsic.h> | 3860 #include <X11/Intrinsic.h> |
3864 #include <X11/Xaw/Simple.h> | 3861 #include <X11/Xaw/Simple.h> |
3865 int main() { | 3862 int main() { |
3866 | 3863 |
3867 ; return 0; } | 3864 ; return 0; } |
3868 EOF | 3865 EOF |
3869 if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3870 rm -rf conftest* | 3867 rm -rf conftest* |
3871 emacs_cv_x11_version_5_with_xaw=yes | 3868 emacs_cv_x11_version_5_with_xaw=yes |
3872 else | 3869 else |
3873 echo "configure: failed program was:" >&5 | 3870 echo "configure: failed program was:" >&5 |
3874 cat conftest.$ac_ext >&5 | 3871 cat conftest.$ac_ext >&5 |
3892 | 3889 |
3893 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 3890 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
3894 | 3891 |
3895 if test "${USE_X_TOOLKIT}" != "none"; then | 3892 if test "${USE_X_TOOLKIT}" != "none"; then |
3896 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 3893 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
3897 echo "configure:3898: checking X11 toolkit version" >&5 | 3894 echo "configure:3895: checking X11 toolkit version" >&5 |
3898 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 3895 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
3899 echo $ac_n "(cached) $ac_c" 1>&6 | 3896 echo $ac_n "(cached) $ac_c" 1>&6 |
3900 else | 3897 else |
3901 cat > conftest.$ac_ext <<EOF | 3898 cat > conftest.$ac_ext <<EOF |
3902 #line 3903 "configure" | 3899 #line 3900 "configure" |
3903 #include "confdefs.h" | 3900 #include "confdefs.h" |
3904 #include <X11/Intrinsic.h> | 3901 #include <X11/Intrinsic.h> |
3905 int main() { | 3902 int main() { |
3906 #if XtSpecificationRelease < 6 | 3903 #if XtSpecificationRelease < 6 |
3907 fail; | 3904 fail; |
3908 #endif | 3905 #endif |
3909 | 3906 |
3910 ; return 0; } | 3907 ; return 0; } |
3911 EOF | 3908 EOF |
3912 if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3909 if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3913 rm -rf conftest* | 3910 rm -rf conftest* |
3914 emacs_cv_x11_toolkit_version_6=yes | 3911 emacs_cv_x11_toolkit_version_6=yes |
3915 else | 3912 else |
3916 echo "configure: failed program was:" >&5 | 3913 echo "configure: failed program was:" >&5 |
3917 cat conftest.$ac_ext >&5 | 3914 cat conftest.$ac_ext >&5 |
3937 LIBS="-lXt -lSM -lICE $LIBS" | 3934 LIBS="-lXt -lSM -lICE $LIBS" |
3938 else | 3935 else |
3939 LIBS="-lXt $LIBS" | 3936 LIBS="-lXt $LIBS" |
3940 fi | 3937 fi |
3941 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 3938 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
3942 echo "configure:3943: checking for XmuConvertStandardSelection in -lXmu" >&5 | 3939 echo "configure:3940: checking for XmuConvertStandardSelection in -lXmu" >&5 |
3943 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 3940 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
3944 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3941 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3945 echo $ac_n "(cached) $ac_c" 1>&6 | 3942 echo $ac_n "(cached) $ac_c" 1>&6 |
3946 else | 3943 else |
3947 ac_save_LIBS="$LIBS" | 3944 ac_save_LIBS="$LIBS" |
3948 LIBS="-lXmu $LIBS" | 3945 LIBS="-lXmu $LIBS" |
3949 cat > conftest.$ac_ext <<EOF | 3946 cat > conftest.$ac_ext <<EOF |
3950 #line 3951 "configure" | 3947 #line 3948 "configure" |
3951 #include "confdefs.h" | 3948 #include "confdefs.h" |
3952 /* Override any gcc2 internal prototype to avoid an error. */ | 3949 /* Override any gcc2 internal prototype to avoid an error. */ |
3953 /* We use char because int might match the return type of a gcc2 | 3950 /* We use char because int might match the return type of a gcc2 |
3954 builtin and then its argument prototype would still apply. */ | 3951 builtin and then its argument prototype would still apply. */ |
3955 char XmuConvertStandardSelection(); | 3952 char XmuConvertStandardSelection(); |
3956 | 3953 |
3957 int main() { | 3954 int main() { |
3958 XmuConvertStandardSelection() | 3955 XmuConvertStandardSelection() |
3959 ; return 0; } | 3956 ; return 0; } |
3960 EOF | 3957 EOF |
3961 if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3958 if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3962 rm -rf conftest* | 3959 rm -rf conftest* |
3963 eval "ac_cv_lib_$ac_lib_var=yes" | 3960 eval "ac_cv_lib_$ac_lib_var=yes" |
3964 else | 3961 else |
3965 echo "configure: failed program was:" >&5 | 3962 echo "configure: failed program was:" >&5 |
3966 cat conftest.$ac_ext >&5 | 3963 cat conftest.$ac_ext >&5 |
3988 LIBS="$OLDLIBS" | 3985 LIBS="$OLDLIBS" |
3989 fi | 3986 fi |
3990 | 3987 |
3991 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 3988 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
3992 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 3989 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
3993 echo "configure:3994: checking for Motif version 2.1" >&5 | 3990 echo "configure:3991: checking for Motif version 2.1" >&5 |
3994 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 3991 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
3995 echo $ac_n "(cached) $ac_c" 1>&6 | 3992 echo $ac_n "(cached) $ac_c" 1>&6 |
3996 else | 3993 else |
3997 cat > conftest.$ac_ext <<EOF | 3994 cat > conftest.$ac_ext <<EOF |
3998 #line 3999 "configure" | 3995 #line 3996 "configure" |
3999 #include "confdefs.h" | 3996 #include "confdefs.h" |
4000 #include <Xm/Xm.h> | 3997 #include <Xm/Xm.h> |
4001 int main() { | 3998 int main() { |
4002 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 3999 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4003 int x = 5; | 4000 int x = 5; |
4004 #else | 4001 #else |
4005 Motif version prior to 2.1. | 4002 Motif version prior to 2.1. |
4006 #endif | 4003 #endif |
4007 ; return 0; } | 4004 ; return 0; } |
4008 EOF | 4005 EOF |
4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4006 if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4010 rm -rf conftest* | 4007 rm -rf conftest* |
4011 emacs_cv_motif_version_2_1=yes | 4008 emacs_cv_motif_version_2_1=yes |
4012 else | 4009 else |
4013 echo "configure: failed program was:" >&5 | 4010 echo "configure: failed program was:" >&5 |
4014 cat conftest.$ac_ext >&5 | 4011 cat conftest.$ac_ext >&5 |
4024 cat >> confdefs.h <<\EOF | 4021 cat >> confdefs.h <<\EOF |
4025 #define HAVE_MOTIF_2_1 1 | 4022 #define HAVE_MOTIF_2_1 1 |
4026 EOF | 4023 EOF |
4027 | 4024 |
4028 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4025 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4029 echo "configure:4030: checking for XpCreateContext in -lXp" >&5 | 4026 echo "configure:4027: checking for XpCreateContext in -lXp" >&5 |
4030 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4027 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4031 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4028 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4032 echo $ac_n "(cached) $ac_c" 1>&6 | 4029 echo $ac_n "(cached) $ac_c" 1>&6 |
4033 else | 4030 else |
4034 ac_save_LIBS="$LIBS" | 4031 ac_save_LIBS="$LIBS" |
4035 LIBS="-lXp $LIBS" | 4032 LIBS="-lXp $LIBS" |
4036 cat > conftest.$ac_ext <<EOF | 4033 cat > conftest.$ac_ext <<EOF |
4037 #line 4038 "configure" | 4034 #line 4035 "configure" |
4038 #include "confdefs.h" | 4035 #include "confdefs.h" |
4039 /* Override any gcc2 internal prototype to avoid an error. */ | 4036 /* Override any gcc2 internal prototype to avoid an error. */ |
4040 /* We use char because int might match the return type of a gcc2 | 4037 /* We use char because int might match the return type of a gcc2 |
4041 builtin and then its argument prototype would still apply. */ | 4038 builtin and then its argument prototype would still apply. */ |
4042 char XpCreateContext(); | 4039 char XpCreateContext(); |
4043 | 4040 |
4044 int main() { | 4041 int main() { |
4045 XpCreateContext() | 4042 XpCreateContext() |
4046 ; return 0; } | 4043 ; return 0; } |
4047 EOF | 4044 EOF |
4048 if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4045 if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4049 rm -rf conftest* | 4046 rm -rf conftest* |
4050 eval "ac_cv_lib_$ac_lib_var=yes" | 4047 eval "ac_cv_lib_$ac_lib_var=yes" |
4051 else | 4048 else |
4052 echo "configure: failed program was:" >&5 | 4049 echo "configure: failed program was:" >&5 |
4053 cat conftest.$ac_ext >&5 | 4050 cat conftest.$ac_ext >&5 |
4081 if test "${USE_X_TOOLKIT}" != "none"; then | 4078 if test "${USE_X_TOOLKIT}" != "none"; then |
4082 old_c_flags="${CFLAGS}" | 4079 old_c_flags="${CFLAGS}" |
4083 CFLAGS="${LD_SWITCH_X_SITE}" | 4080 CFLAGS="${LD_SWITCH_X_SITE}" |
4084 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4081 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4085 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4082 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4086 echo "configure:4087: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4083 echo "configure:4084: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4088 echo $ac_n "(cached) $ac_c" 1>&6 | 4085 echo $ac_n "(cached) $ac_c" 1>&6 |
4089 else | 4086 else |
4090 cat > conftest.$ac_ext <<EOF | 4087 cat > conftest.$ac_ext <<EOF |
4091 #line 4092 "configure" | 4088 #line 4089 "configure" |
4092 #include "confdefs.h" | 4089 #include "confdefs.h" |
4093 #include <X11/Xaw3d/Scrollbar.h> | 4090 #include <X11/Xaw3d/Scrollbar.h> |
4094 EOF | 4091 EOF |
4095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4096 { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4093 { (eval echo configure:4094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4098 if test -z "$ac_err"; then | 4095 if test -z "$ac_err"; then |
4099 rm -rf conftest* | 4096 rm -rf conftest* |
4100 eval "ac_cv_header_$ac_safe=yes" | 4097 eval "ac_cv_header_$ac_safe=yes" |
4101 else | 4098 else |
4108 rm -f conftest* | 4105 rm -f conftest* |
4109 fi | 4106 fi |
4110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4111 echo "$ac_t""yes" 1>&6 | 4108 echo "$ac_t""yes" 1>&6 |
4112 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4109 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4113 echo "configure:4114: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4110 echo "configure:4111: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4114 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4111 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4116 echo $ac_n "(cached) $ac_c" 1>&6 | 4113 echo $ac_n "(cached) $ac_c" 1>&6 |
4117 else | 4114 else |
4118 ac_save_LIBS="$LIBS" | 4115 ac_save_LIBS="$LIBS" |
4119 LIBS="-lXaw3d -lX11 $LIBS" | 4116 LIBS="-lXaw3d -lX11 $LIBS" |
4120 cat > conftest.$ac_ext <<EOF | 4117 cat > conftest.$ac_ext <<EOF |
4121 #line 4122 "configure" | 4118 #line 4119 "configure" |
4122 #include "confdefs.h" | 4119 #include "confdefs.h" |
4123 /* Override any gcc2 internal prototype to avoid an error. */ | 4120 /* Override any gcc2 internal prototype to avoid an error. */ |
4124 /* We use char because int might match the return type of a gcc2 | 4121 /* We use char because int might match the return type of a gcc2 |
4125 builtin and then its argument prototype would still apply. */ | 4122 builtin and then its argument prototype would still apply. */ |
4126 char XawScrollbarSetThumb(); | 4123 char XawScrollbarSetThumb(); |
4127 | 4124 |
4128 int main() { | 4125 int main() { |
4129 XawScrollbarSetThumb() | 4126 XawScrollbarSetThumb() |
4130 ; return 0; } | 4127 ; return 0; } |
4131 EOF | 4128 EOF |
4132 if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4129 if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4133 rm -rf conftest* | 4130 rm -rf conftest* |
4134 eval "ac_cv_lib_$ac_lib_var=yes" | 4131 eval "ac_cv_lib_$ac_lib_var=yes" |
4135 else | 4132 else |
4136 echo "configure: failed program was:" >&5 | 4133 echo "configure: failed program was:" >&5 |
4137 cat conftest.$ac_ext >&5 | 4134 cat conftest.$ac_ext >&5 |
4191 if test "${with_xpm}" != "no"; then | 4188 if test "${with_xpm}" != "no"; then |
4192 old_c_flags="${CFLAGS}" | 4189 old_c_flags="${CFLAGS}" |
4193 CFLAGS="${LD_SWITCH_X_SITE}" | 4190 CFLAGS="${LD_SWITCH_X_SITE}" |
4194 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4191 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4195 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4192 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4196 echo "configure:4197: checking for X11/xpm.h" >&5 | 4193 echo "configure:4194: checking for X11/xpm.h" >&5 |
4197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4198 echo $ac_n "(cached) $ac_c" 1>&6 | 4195 echo $ac_n "(cached) $ac_c" 1>&6 |
4199 else | 4196 else |
4200 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
4201 #line 4202 "configure" | 4198 #line 4199 "configure" |
4202 #include "confdefs.h" | 4199 #include "confdefs.h" |
4203 #include <X11/xpm.h> | 4200 #include <X11/xpm.h> |
4204 EOF | 4201 EOF |
4205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4206 { (eval echo configure:4207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4203 { (eval echo configure:4204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4208 if test -z "$ac_err"; then | 4205 if test -z "$ac_err"; then |
4209 rm -rf conftest* | 4206 rm -rf conftest* |
4210 eval "ac_cv_header_$ac_safe=yes" | 4207 eval "ac_cv_header_$ac_safe=yes" |
4211 else | 4208 else |
4218 rm -f conftest* | 4215 rm -f conftest* |
4219 fi | 4216 fi |
4220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4221 echo "$ac_t""yes" 1>&6 | 4218 echo "$ac_t""yes" 1>&6 |
4222 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4219 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4223 echo "configure:4224: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4220 echo "configure:4221: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4224 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4221 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4225 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4226 echo $ac_n "(cached) $ac_c" 1>&6 | 4223 echo $ac_n "(cached) $ac_c" 1>&6 |
4227 else | 4224 else |
4228 ac_save_LIBS="$LIBS" | 4225 ac_save_LIBS="$LIBS" |
4229 LIBS="-lXpm -lX11 $LIBS" | 4226 LIBS="-lXpm -lX11 $LIBS" |
4230 cat > conftest.$ac_ext <<EOF | 4227 cat > conftest.$ac_ext <<EOF |
4231 #line 4232 "configure" | 4228 #line 4229 "configure" |
4232 #include "confdefs.h" | 4229 #include "confdefs.h" |
4233 /* Override any gcc2 internal prototype to avoid an error. */ | 4230 /* Override any gcc2 internal prototype to avoid an error. */ |
4234 /* We use char because int might match the return type of a gcc2 | 4231 /* We use char because int might match the return type of a gcc2 |
4235 builtin and then its argument prototype would still apply. */ | 4232 builtin and then its argument prototype would still apply. */ |
4236 char XpmReadFileToPixmap(); | 4233 char XpmReadFileToPixmap(); |
4237 | 4234 |
4238 int main() { | 4235 int main() { |
4239 XpmReadFileToPixmap() | 4236 XpmReadFileToPixmap() |
4240 ; return 0; } | 4237 ; return 0; } |
4241 EOF | 4238 EOF |
4242 if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4239 if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4243 rm -rf conftest* | 4240 rm -rf conftest* |
4244 eval "ac_cv_lib_$ac_lib_var=yes" | 4241 eval "ac_cv_lib_$ac_lib_var=yes" |
4245 else | 4242 else |
4246 echo "configure: failed program was:" >&5 | 4243 echo "configure: failed program was:" >&5 |
4247 cat conftest.$ac_ext >&5 | 4244 cat conftest.$ac_ext >&5 |
4280 if test "${with_jpeg}" != "no"; then | 4277 if test "${with_jpeg}" != "no"; then |
4281 old_c_flags="${CFLAGS}" | 4278 old_c_flags="${CFLAGS}" |
4282 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4279 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4283 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4280 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4284 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4281 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4285 echo "configure:4286: checking for jerror.h" >&5 | 4282 echo "configure:4283: checking for jerror.h" >&5 |
4286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4283 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4287 echo $ac_n "(cached) $ac_c" 1>&6 | 4284 echo $ac_n "(cached) $ac_c" 1>&6 |
4288 else | 4285 else |
4289 cat > conftest.$ac_ext <<EOF | 4286 cat > conftest.$ac_ext <<EOF |
4290 #line 4291 "configure" | 4287 #line 4288 "configure" |
4291 #include "confdefs.h" | 4288 #include "confdefs.h" |
4292 #include <jerror.h> | 4289 #include <jerror.h> |
4293 EOF | 4290 EOF |
4294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4295 { (eval echo configure:4296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4292 { (eval echo configure:4293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4297 if test -z "$ac_err"; then | 4294 if test -z "$ac_err"; then |
4298 rm -rf conftest* | 4295 rm -rf conftest* |
4299 eval "ac_cv_header_$ac_safe=yes" | 4296 eval "ac_cv_header_$ac_safe=yes" |
4300 else | 4297 else |
4307 rm -f conftest* | 4304 rm -f conftest* |
4308 fi | 4305 fi |
4309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4306 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4310 echo "$ac_t""yes" 1>&6 | 4307 echo "$ac_t""yes" 1>&6 |
4311 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4308 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4312 echo "configure:4313: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4309 echo "configure:4310: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4313 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4310 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4315 echo $ac_n "(cached) $ac_c" 1>&6 | 4312 echo $ac_n "(cached) $ac_c" 1>&6 |
4316 else | 4313 else |
4317 ac_save_LIBS="$LIBS" | 4314 ac_save_LIBS="$LIBS" |
4318 LIBS="-ljpeg -lX11 $LIBS" | 4315 LIBS="-ljpeg -lX11 $LIBS" |
4319 cat > conftest.$ac_ext <<EOF | 4316 cat > conftest.$ac_ext <<EOF |
4320 #line 4321 "configure" | 4317 #line 4318 "configure" |
4321 #include "confdefs.h" | 4318 #include "confdefs.h" |
4322 /* Override any gcc2 internal prototype to avoid an error. */ | 4319 /* Override any gcc2 internal prototype to avoid an error. */ |
4323 /* We use char because int might match the return type of a gcc2 | 4320 /* We use char because int might match the return type of a gcc2 |
4324 builtin and then its argument prototype would still apply. */ | 4321 builtin and then its argument prototype would still apply. */ |
4325 char jpeg_destroy_compress(); | 4322 char jpeg_destroy_compress(); |
4326 | 4323 |
4327 int main() { | 4324 int main() { |
4328 jpeg_destroy_compress() | 4325 jpeg_destroy_compress() |
4329 ; return 0; } | 4326 ; return 0; } |
4330 EOF | 4327 EOF |
4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4328 if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4332 rm -rf conftest* | 4329 rm -rf conftest* |
4333 eval "ac_cv_lib_$ac_lib_var=yes" | 4330 eval "ac_cv_lib_$ac_lib_var=yes" |
4334 else | 4331 else |
4335 echo "configure: failed program was:" >&5 | 4332 echo "configure: failed program was:" >&5 |
4336 cat conftest.$ac_ext >&5 | 4333 cat conftest.$ac_ext >&5 |
4369 if test "${with_png}" != "no"; then | 4366 if test "${with_png}" != "no"; then |
4370 old_c_flags="${CFLAGS}" | 4367 old_c_flags="${CFLAGS}" |
4371 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4368 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4372 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4369 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4373 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4370 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4374 echo "configure:4375: checking for png.h" >&5 | 4371 echo "configure:4372: checking for png.h" >&5 |
4375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4376 echo $ac_n "(cached) $ac_c" 1>&6 | 4373 echo $ac_n "(cached) $ac_c" 1>&6 |
4377 else | 4374 else |
4378 cat > conftest.$ac_ext <<EOF | 4375 cat > conftest.$ac_ext <<EOF |
4379 #line 4380 "configure" | 4376 #line 4377 "configure" |
4380 #include "confdefs.h" | 4377 #include "confdefs.h" |
4381 #include <png.h> | 4378 #include <png.h> |
4382 EOF | 4379 EOF |
4383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4384 { (eval echo configure:4385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4381 { (eval echo configure:4382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4386 if test -z "$ac_err"; then | 4383 if test -z "$ac_err"; then |
4387 rm -rf conftest* | 4384 rm -rf conftest* |
4388 eval "ac_cv_header_$ac_safe=yes" | 4385 eval "ac_cv_header_$ac_safe=yes" |
4389 else | 4386 else |
4396 rm -f conftest* | 4393 rm -f conftest* |
4397 fi | 4394 fi |
4398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4399 echo "$ac_t""yes" 1>&6 | 4396 echo "$ac_t""yes" 1>&6 |
4400 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4397 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4401 echo "configure:4402: checking for png_set_expand in -lpng" >&5 | 4398 echo "configure:4399: checking for png_set_expand in -lpng" >&5 |
4402 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4399 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4404 echo $ac_n "(cached) $ac_c" 1>&6 | 4401 echo $ac_n "(cached) $ac_c" 1>&6 |
4405 else | 4402 else |
4406 ac_save_LIBS="$LIBS" | 4403 ac_save_LIBS="$LIBS" |
4407 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4404 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4408 cat > conftest.$ac_ext <<EOF | 4405 cat > conftest.$ac_ext <<EOF |
4409 #line 4410 "configure" | 4406 #line 4407 "configure" |
4410 #include "confdefs.h" | 4407 #include "confdefs.h" |
4411 /* Override any gcc2 internal prototype to avoid an error. */ | 4408 /* Override any gcc2 internal prototype to avoid an error. */ |
4412 /* We use char because int might match the return type of a gcc2 | 4409 /* We use char because int might match the return type of a gcc2 |
4413 builtin and then its argument prototype would still apply. */ | 4410 builtin and then its argument prototype would still apply. */ |
4414 char png_set_expand(); | 4411 char png_set_expand(); |
4415 | 4412 |
4416 int main() { | 4413 int main() { |
4417 png_set_expand() | 4414 png_set_expand() |
4418 ; return 0; } | 4415 ; return 0; } |
4419 EOF | 4416 EOF |
4420 if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4417 if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4421 rm -rf conftest* | 4418 rm -rf conftest* |
4422 eval "ac_cv_lib_$ac_lib_var=yes" | 4419 eval "ac_cv_lib_$ac_lib_var=yes" |
4423 else | 4420 else |
4424 echo "configure: failed program was:" >&5 | 4421 echo "configure: failed program was:" >&5 |
4425 cat conftest.$ac_ext >&5 | 4422 cat conftest.$ac_ext >&5 |
4458 if test "${with_tiff}" != "no"; then | 4455 if test "${with_tiff}" != "no"; then |
4459 old_c_flags="${CFLAGS}" | 4456 old_c_flags="${CFLAGS}" |
4460 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4457 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4461 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4458 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4462 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4459 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4463 echo "configure:4464: checking for tiffio.h" >&5 | 4460 echo "configure:4461: checking for tiffio.h" >&5 |
4464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4461 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4465 echo $ac_n "(cached) $ac_c" 1>&6 | 4462 echo $ac_n "(cached) $ac_c" 1>&6 |
4466 else | 4463 else |
4467 cat > conftest.$ac_ext <<EOF | 4464 cat > conftest.$ac_ext <<EOF |
4468 #line 4469 "configure" | 4465 #line 4466 "configure" |
4469 #include "confdefs.h" | 4466 #include "confdefs.h" |
4470 #include <tiffio.h> | 4467 #include <tiffio.h> |
4471 EOF | 4468 EOF |
4472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4473 { (eval echo configure:4474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4470 { (eval echo configure:4471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4475 if test -z "$ac_err"; then | 4472 if test -z "$ac_err"; then |
4476 rm -rf conftest* | 4473 rm -rf conftest* |
4477 eval "ac_cv_header_$ac_safe=yes" | 4474 eval "ac_cv_header_$ac_safe=yes" |
4478 else | 4475 else |
4485 rm -f conftest* | 4482 rm -f conftest* |
4486 fi | 4483 fi |
4487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4484 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4488 echo "$ac_t""yes" 1>&6 | 4485 echo "$ac_t""yes" 1>&6 |
4489 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4486 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4490 echo "configure:4491: checking for TIFFGetVersion in -ltiff" >&5 | 4487 echo "configure:4488: checking for TIFFGetVersion in -ltiff" >&5 |
4491 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4488 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4493 echo $ac_n "(cached) $ac_c" 1>&6 | 4490 echo $ac_n "(cached) $ac_c" 1>&6 |
4494 else | 4491 else |
4495 ac_save_LIBS="$LIBS" | 4492 ac_save_LIBS="$LIBS" |
4496 LIBS="-ltiff -lX11 -lm $LIBS" | 4493 LIBS="-ltiff -lX11 -lm $LIBS" |
4497 cat > conftest.$ac_ext <<EOF | 4494 cat > conftest.$ac_ext <<EOF |
4498 #line 4499 "configure" | 4495 #line 4496 "configure" |
4499 #include "confdefs.h" | 4496 #include "confdefs.h" |
4500 /* Override any gcc2 internal prototype to avoid an error. */ | 4497 /* Override any gcc2 internal prototype to avoid an error. */ |
4501 /* We use char because int might match the return type of a gcc2 | 4498 /* We use char because int might match the return type of a gcc2 |
4502 builtin and then its argument prototype would still apply. */ | 4499 builtin and then its argument prototype would still apply. */ |
4503 char TIFFGetVersion(); | 4500 char TIFFGetVersion(); |
4504 | 4501 |
4505 int main() { | 4502 int main() { |
4506 TIFFGetVersion() | 4503 TIFFGetVersion() |
4507 ; return 0; } | 4504 ; return 0; } |
4508 EOF | 4505 EOF |
4509 if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4506 if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4510 rm -rf conftest* | 4507 rm -rf conftest* |
4511 eval "ac_cv_lib_$ac_lib_var=yes" | 4508 eval "ac_cv_lib_$ac_lib_var=yes" |
4512 else | 4509 else |
4513 echo "configure: failed program was:" >&5 | 4510 echo "configure: failed program was:" >&5 |
4514 cat conftest.$ac_ext >&5 | 4511 cat conftest.$ac_ext >&5 |
4547 if test "${with_gif}" != "no"; then | 4544 if test "${with_gif}" != "no"; then |
4548 old_c_flags="${CFLAGS}" | 4545 old_c_flags="${CFLAGS}" |
4549 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4546 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4550 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4547 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4551 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4548 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4552 echo "configure:4553: checking for gif_lib.h" >&5 | 4549 echo "configure:4550: checking for gif_lib.h" >&5 |
4553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4554 echo $ac_n "(cached) $ac_c" 1>&6 | 4551 echo $ac_n "(cached) $ac_c" 1>&6 |
4555 else | 4552 else |
4556 cat > conftest.$ac_ext <<EOF | 4553 cat > conftest.$ac_ext <<EOF |
4557 #line 4558 "configure" | 4554 #line 4555 "configure" |
4558 #include "confdefs.h" | 4555 #include "confdefs.h" |
4559 #include <gif_lib.h> | 4556 #include <gif_lib.h> |
4560 EOF | 4557 EOF |
4561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4562 { (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4559 { (eval echo configure:4560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4564 if test -z "$ac_err"; then | 4561 if test -z "$ac_err"; then |
4565 rm -rf conftest* | 4562 rm -rf conftest* |
4566 eval "ac_cv_header_$ac_safe=yes" | 4563 eval "ac_cv_header_$ac_safe=yes" |
4567 else | 4564 else |
4574 rm -f conftest* | 4571 rm -f conftest* |
4575 fi | 4572 fi |
4576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4577 echo "$ac_t""yes" 1>&6 | 4574 echo "$ac_t""yes" 1>&6 |
4578 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4575 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4579 echo "configure:4580: checking for DGifOpen in -lungif" >&5 | 4576 echo "configure:4577: checking for DGifOpen in -lungif" >&5 |
4580 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4577 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4582 echo $ac_n "(cached) $ac_c" 1>&6 | 4579 echo $ac_n "(cached) $ac_c" 1>&6 |
4583 else | 4580 else |
4584 ac_save_LIBS="$LIBS" | 4581 ac_save_LIBS="$LIBS" |
4585 LIBS="-lungif -lX11 $LIBS" | 4582 LIBS="-lungif -lX11 $LIBS" |
4586 cat > conftest.$ac_ext <<EOF | 4583 cat > conftest.$ac_ext <<EOF |
4587 #line 4588 "configure" | 4584 #line 4585 "configure" |
4588 #include "confdefs.h" | 4585 #include "confdefs.h" |
4589 /* Override any gcc2 internal prototype to avoid an error. */ | 4586 /* Override any gcc2 internal prototype to avoid an error. */ |
4590 /* We use char because int might match the return type of a gcc2 | 4587 /* We use char because int might match the return type of a gcc2 |
4591 builtin and then its argument prototype would still apply. */ | 4588 builtin and then its argument prototype would still apply. */ |
4592 char DGifOpen(); | 4589 char DGifOpen(); |
4593 | 4590 |
4594 int main() { | 4591 int main() { |
4595 DGifOpen() | 4592 DGifOpen() |
4596 ; return 0; } | 4593 ; return 0; } |
4597 EOF | 4594 EOF |
4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4595 if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4599 rm -rf conftest* | 4596 rm -rf conftest* |
4600 eval "ac_cv_lib_$ac_lib_var=yes" | 4597 eval "ac_cv_lib_$ac_lib_var=yes" |
4601 else | 4598 else |
4602 echo "configure: failed program was:" >&5 | 4599 echo "configure: failed program was:" >&5 |
4603 cat conftest.$ac_ext >&5 | 4600 cat conftest.$ac_ext >&5 |
4630 fi | 4627 fi |
4631 fi | 4628 fi |
4632 | 4629 |
4633 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4630 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4634 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4631 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4635 echo "configure:4636: checking whether netdb declares h_errno" >&5 | 4632 echo "configure:4633: checking whether netdb declares h_errno" >&5 |
4636 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4633 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4637 echo $ac_n "(cached) $ac_c" 1>&6 | 4634 echo $ac_n "(cached) $ac_c" 1>&6 |
4638 else | 4635 else |
4639 cat > conftest.$ac_ext <<EOF | 4636 cat > conftest.$ac_ext <<EOF |
4640 #line 4641 "configure" | 4637 #line 4638 "configure" |
4641 #include "confdefs.h" | 4638 #include "confdefs.h" |
4642 #include <netdb.h> | 4639 #include <netdb.h> |
4643 int main() { | 4640 int main() { |
4644 return h_errno; | 4641 return h_errno; |
4645 ; return 0; } | 4642 ; return 0; } |
4646 EOF | 4643 EOF |
4647 if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4648 rm -rf conftest* | 4645 rm -rf conftest* |
4649 emacs_cv_netdb_declares_h_errno=yes | 4646 emacs_cv_netdb_declares_h_errno=yes |
4650 else | 4647 else |
4651 echo "configure: failed program was:" >&5 | 4648 echo "configure: failed program was:" >&5 |
4652 cat conftest.$ac_ext >&5 | 4649 cat conftest.$ac_ext >&5 |
4665 fi | 4662 fi |
4666 | 4663 |
4667 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4664 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4668 # for constant arguments. Useless! | 4665 # for constant arguments. Useless! |
4669 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4666 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4670 echo "configure:4671: checking for working alloca.h" >&5 | 4667 echo "configure:4668: checking for working alloca.h" >&5 |
4671 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4668 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4672 echo $ac_n "(cached) $ac_c" 1>&6 | 4669 echo $ac_n "(cached) $ac_c" 1>&6 |
4673 else | 4670 else |
4674 cat > conftest.$ac_ext <<EOF | 4671 cat > conftest.$ac_ext <<EOF |
4675 #line 4676 "configure" | 4672 #line 4673 "configure" |
4676 #include "confdefs.h" | 4673 #include "confdefs.h" |
4677 #include <alloca.h> | 4674 #include <alloca.h> |
4678 int main() { | 4675 int main() { |
4679 void *p = alloca(2 * sizeof(int)); | 4676 char *p = alloca(2 * sizeof(int)); |
4680 ; return 0; } | 4677 ; return 0; } |
4681 EOF | 4678 EOF |
4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4683 rm -rf conftest* | 4680 rm -rf conftest* |
4684 ac_cv_header_alloca_h=yes | 4681 ac_cv_header_alloca_h=yes |
4685 else | 4682 else |
4686 echo "configure: failed program was:" >&5 | 4683 echo "configure: failed program was:" >&5 |
4687 cat conftest.$ac_ext >&5 | 4684 cat conftest.$ac_ext >&5 |
4698 EOF | 4695 EOF |
4699 | 4696 |
4700 fi | 4697 fi |
4701 | 4698 |
4702 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4699 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4703 echo "configure:4704: checking for alloca" >&5 | 4700 echo "configure:4701: checking for alloca" >&5 |
4704 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4701 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4705 echo $ac_n "(cached) $ac_c" 1>&6 | 4702 echo $ac_n "(cached) $ac_c" 1>&6 |
4706 else | 4703 else |
4707 cat > conftest.$ac_ext <<EOF | 4704 cat > conftest.$ac_ext <<EOF |
4708 #line 4709 "configure" | 4705 #line 4706 "configure" |
4709 #include "confdefs.h" | 4706 #include "confdefs.h" |
4710 | 4707 |
4711 #ifdef __GNUC__ | 4708 #ifdef __GNUC__ |
4712 # define alloca __builtin_alloca | 4709 # define alloca __builtin_alloca |
4713 #else | 4710 #else |
4731 | 4728 |
4732 int main() { | 4729 int main() { |
4733 char *p = (char *) alloca(1); | 4730 char *p = (char *) alloca(1); |
4734 ; return 0; } | 4731 ; return 0; } |
4735 EOF | 4732 EOF |
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4737 rm -rf conftest* | 4734 rm -rf conftest* |
4738 ac_cv_func_alloca_works=yes | 4735 ac_cv_func_alloca_works=yes |
4739 else | 4736 else |
4740 echo "configure: failed program was:" >&5 | 4737 echo "configure: failed program was:" >&5 |
4741 cat conftest.$ac_ext >&5 | 4738 cat conftest.$ac_ext >&5 |
4763 #define C_ALLOCA 1 | 4760 #define C_ALLOCA 1 |
4764 EOF | 4761 EOF |
4765 | 4762 |
4766 | 4763 |
4767 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4764 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
4768 echo "configure:4769: checking whether alloca needs Cray hooks" >&5 | 4765 echo "configure:4766: checking whether alloca needs Cray hooks" >&5 |
4769 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4766 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
4770 echo $ac_n "(cached) $ac_c" 1>&6 | 4767 echo $ac_n "(cached) $ac_c" 1>&6 |
4771 else | 4768 else |
4772 cat > conftest.$ac_ext <<EOF | 4769 cat > conftest.$ac_ext <<EOF |
4773 #line 4774 "configure" | 4770 #line 4771 "configure" |
4774 #include "confdefs.h" | 4771 #include "confdefs.h" |
4775 #if defined(CRAY) && ! defined(CRAY2) | 4772 #if defined(CRAY) && ! defined(CRAY2) |
4776 webecray | 4773 webecray |
4777 #else | 4774 #else |
4778 wenotbecray | 4775 wenotbecray |
4793 | 4790 |
4794 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 4791 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
4795 if test $ac_cv_os_cray = yes; then | 4792 if test $ac_cv_os_cray = yes; then |
4796 for ac_func in _getb67 GETB67 getb67; do | 4793 for ac_func in _getb67 GETB67 getb67; do |
4797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4798 echo "configure:4799: checking for $ac_func" >&5 | 4795 echo "configure:4796: checking for $ac_func" >&5 |
4799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4800 echo $ac_n "(cached) $ac_c" 1>&6 | 4797 echo $ac_n "(cached) $ac_c" 1>&6 |
4801 else | 4798 else |
4802 cat > conftest.$ac_ext <<EOF | 4799 cat > conftest.$ac_ext <<EOF |
4803 #line 4804 "configure" | 4800 #line 4801 "configure" |
4804 #include "confdefs.h" | 4801 #include "confdefs.h" |
4805 /* System header to define __stub macros and hopefully few prototypes, | 4802 /* System header to define __stub macros and hopefully few prototypes, |
4806 which can conflict with char $ac_func(); below. */ | 4803 which can conflict with char $ac_func(); below. */ |
4807 #include <assert.h> | 4804 #include <assert.h> |
4808 /* Override any gcc2 internal prototype to avoid an error. */ | 4805 /* Override any gcc2 internal prototype to avoid an error. */ |
4821 $ac_func(); | 4818 $ac_func(); |
4822 #endif | 4819 #endif |
4823 | 4820 |
4824 ; return 0; } | 4821 ; return 0; } |
4825 EOF | 4822 EOF |
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4823 if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4827 rm -rf conftest* | 4824 rm -rf conftest* |
4828 eval "ac_cv_func_$ac_func=yes" | 4825 eval "ac_cv_func_$ac_func=yes" |
4829 else | 4826 else |
4830 echo "configure: failed program was:" >&5 | 4827 echo "configure: failed program was:" >&5 |
4831 cat conftest.$ac_ext >&5 | 4828 cat conftest.$ac_ext >&5 |
4848 | 4845 |
4849 done | 4846 done |
4850 fi | 4847 fi |
4851 | 4848 |
4852 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 4849 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
4853 echo "configure:4854: checking stack direction for C alloca" >&5 | 4850 echo "configure:4851: checking stack direction for C alloca" >&5 |
4854 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 4851 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
4855 echo $ac_n "(cached) $ac_c" 1>&6 | 4852 echo $ac_n "(cached) $ac_c" 1>&6 |
4856 else | 4853 else |
4857 if test "$cross_compiling" = yes; then | 4854 if test "$cross_compiling" = yes; then |
4858 ac_cv_c_stack_direction=0 | 4855 ac_cv_c_stack_direction=0 |
4859 else | 4856 else |
4860 cat > conftest.$ac_ext <<EOF | 4857 cat > conftest.$ac_ext <<EOF |
4861 #line 4862 "configure" | 4858 #line 4859 "configure" |
4862 #include "confdefs.h" | 4859 #include "confdefs.h" |
4863 find_stack_direction () | 4860 find_stack_direction () |
4864 { | 4861 { |
4865 static char *addr = 0; | 4862 static char *addr = 0; |
4866 auto char dummy; | 4863 auto char dummy; |
4875 main () | 4872 main () |
4876 { | 4873 { |
4877 exit (find_stack_direction() < 0); | 4874 exit (find_stack_direction() < 0); |
4878 } | 4875 } |
4879 EOF | 4876 EOF |
4880 if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4877 if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4881 then | 4878 then |
4882 ac_cv_c_stack_direction=1 | 4879 ac_cv_c_stack_direction=1 |
4883 else | 4880 else |
4884 echo "configure: failed program was:" >&5 | 4881 echo "configure: failed program was:" >&5 |
4885 cat conftest.$ac_ext >&5 | 4882 cat conftest.$ac_ext >&5 |
4900 | 4897 |
4901 | 4898 |
4902 # fmod, logb, and frexp are found in -lm on most systems. | 4899 # fmod, logb, and frexp are found in -lm on most systems. |
4903 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 4900 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
4904 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 4901 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
4905 echo "configure:4906: checking for sqrt in -lm" >&5 | 4902 echo "configure:4903: checking for sqrt in -lm" >&5 |
4906 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 4903 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
4907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4908 echo $ac_n "(cached) $ac_c" 1>&6 | 4905 echo $ac_n "(cached) $ac_c" 1>&6 |
4909 else | 4906 else |
4910 ac_save_LIBS="$LIBS" | 4907 ac_save_LIBS="$LIBS" |
4911 LIBS="-lm $LIBS" | 4908 LIBS="-lm $LIBS" |
4912 cat > conftest.$ac_ext <<EOF | 4909 cat > conftest.$ac_ext <<EOF |
4913 #line 4914 "configure" | 4910 #line 4911 "configure" |
4914 #include "confdefs.h" | 4911 #include "confdefs.h" |
4915 /* Override any gcc2 internal prototype to avoid an error. */ | 4912 /* Override any gcc2 internal prototype to avoid an error. */ |
4916 /* We use char because int might match the return type of a gcc2 | 4913 /* We use char because int might match the return type of a gcc2 |
4917 builtin and then its argument prototype would still apply. */ | 4914 builtin and then its argument prototype would still apply. */ |
4918 char sqrt(); | 4915 char sqrt(); |
4919 | 4916 |
4920 int main() { | 4917 int main() { |
4921 sqrt() | 4918 sqrt() |
4922 ; return 0; } | 4919 ; return 0; } |
4923 EOF | 4920 EOF |
4924 if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4921 if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4925 rm -rf conftest* | 4922 rm -rf conftest* |
4926 eval "ac_cv_lib_$ac_lib_var=yes" | 4923 eval "ac_cv_lib_$ac_lib_var=yes" |
4927 else | 4924 else |
4928 echo "configure: failed program was:" >&5 | 4925 echo "configure: failed program was:" >&5 |
4929 cat conftest.$ac_ext >&5 | 4926 cat conftest.$ac_ext >&5 |
4949 fi | 4946 fi |
4950 | 4947 |
4951 | 4948 |
4952 # Check for mail-locking functions in a "mail" library | 4949 # Check for mail-locking functions in a "mail" library |
4953 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 4950 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
4954 echo "configure:4955: checking for maillock in -lmail" >&5 | 4951 echo "configure:4952: checking for maillock in -lmail" >&5 |
4955 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 4952 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
4956 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4957 echo $ac_n "(cached) $ac_c" 1>&6 | 4954 echo $ac_n "(cached) $ac_c" 1>&6 |
4958 else | 4955 else |
4959 ac_save_LIBS="$LIBS" | 4956 ac_save_LIBS="$LIBS" |
4960 LIBS="-lmail $LIBS" | 4957 LIBS="-lmail $LIBS" |
4961 cat > conftest.$ac_ext <<EOF | 4958 cat > conftest.$ac_ext <<EOF |
4962 #line 4963 "configure" | 4959 #line 4960 "configure" |
4963 #include "confdefs.h" | 4960 #include "confdefs.h" |
4964 /* Override any gcc2 internal prototype to avoid an error. */ | 4961 /* Override any gcc2 internal prototype to avoid an error. */ |
4965 /* We use char because int might match the return type of a gcc2 | 4962 /* We use char because int might match the return type of a gcc2 |
4966 builtin and then its argument prototype would still apply. */ | 4963 builtin and then its argument prototype would still apply. */ |
4967 char maillock(); | 4964 char maillock(); |
4968 | 4965 |
4969 int main() { | 4966 int main() { |
4970 maillock() | 4967 maillock() |
4971 ; return 0; } | 4968 ; return 0; } |
4972 EOF | 4969 EOF |
4973 if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4970 if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4974 rm -rf conftest* | 4971 rm -rf conftest* |
4975 eval "ac_cv_lib_$ac_lib_var=yes" | 4972 eval "ac_cv_lib_$ac_lib_var=yes" |
4976 else | 4973 else |
4977 echo "configure: failed program was:" >&5 | 4974 echo "configure: failed program was:" >&5 |
4978 cat conftest.$ac_ext >&5 | 4975 cat conftest.$ac_ext >&5 |
4996 else | 4993 else |
4997 echo "$ac_t""no" 1>&6 | 4994 echo "$ac_t""no" 1>&6 |
4998 fi | 4995 fi |
4999 | 4996 |
5000 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 4997 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5001 echo "configure:5002: checking for maillock in -llockfile" >&5 | 4998 echo "configure:4999: checking for maillock in -llockfile" >&5 |
5002 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 4999 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5003 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5004 echo $ac_n "(cached) $ac_c" 1>&6 | 5001 echo $ac_n "(cached) $ac_c" 1>&6 |
5005 else | 5002 else |
5006 ac_save_LIBS="$LIBS" | 5003 ac_save_LIBS="$LIBS" |
5007 LIBS="-llockfile $LIBS" | 5004 LIBS="-llockfile $LIBS" |
5008 cat > conftest.$ac_ext <<EOF | 5005 cat > conftest.$ac_ext <<EOF |
5009 #line 5010 "configure" | 5006 #line 5007 "configure" |
5010 #include "confdefs.h" | 5007 #include "confdefs.h" |
5011 /* Override any gcc2 internal prototype to avoid an error. */ | 5008 /* Override any gcc2 internal prototype to avoid an error. */ |
5012 /* We use char because int might match the return type of a gcc2 | 5009 /* We use char because int might match the return type of a gcc2 |
5013 builtin and then its argument prototype would still apply. */ | 5010 builtin and then its argument prototype would still apply. */ |
5014 char maillock(); | 5011 char maillock(); |
5015 | 5012 |
5016 int main() { | 5013 int main() { |
5017 maillock() | 5014 maillock() |
5018 ; return 0; } | 5015 ; return 0; } |
5019 EOF | 5016 EOF |
5020 if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5017 if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5021 rm -rf conftest* | 5018 rm -rf conftest* |
5022 eval "ac_cv_lib_$ac_lib_var=yes" | 5019 eval "ac_cv_lib_$ac_lib_var=yes" |
5023 else | 5020 else |
5024 echo "configure: failed program was:" >&5 | 5021 echo "configure: failed program was:" >&5 |
5025 cat conftest.$ac_ext >&5 | 5022 cat conftest.$ac_ext >&5 |
5049 # (no liblockfile.a installed), ensure that we don't need to. | 5046 # (no liblockfile.a installed), ensure that we don't need to. |
5050 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5047 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5051 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5048 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5052 set dummy liblockfile.so; ac_word=$2 | 5049 set dummy liblockfile.so; ac_word=$2 |
5053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5054 echo "configure:5055: checking for $ac_word" >&5 | 5051 echo "configure:5052: checking for $ac_word" >&5 |
5055 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5052 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5056 echo $ac_n "(cached) $ac_c" 1>&6 | 5053 echo $ac_n "(cached) $ac_c" 1>&6 |
5057 else | 5054 else |
5058 if test -n "$liblockfile"; then | 5055 if test -n "$liblockfile"; then |
5059 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5056 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5090 else : | 5087 else : |
5091 fi | 5088 fi |
5092 for ac_func in touchlock | 5089 for ac_func in touchlock |
5093 do | 5090 do |
5094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5095 echo "configure:5096: checking for $ac_func" >&5 | 5092 echo "configure:5093: checking for $ac_func" >&5 |
5096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5097 echo $ac_n "(cached) $ac_c" 1>&6 | 5094 echo $ac_n "(cached) $ac_c" 1>&6 |
5098 else | 5095 else |
5099 cat > conftest.$ac_ext <<EOF | 5096 cat > conftest.$ac_ext <<EOF |
5100 #line 5101 "configure" | 5097 #line 5098 "configure" |
5101 #include "confdefs.h" | 5098 #include "confdefs.h" |
5102 /* System header to define __stub macros and hopefully few prototypes, | 5099 /* System header to define __stub macros and hopefully few prototypes, |
5103 which can conflict with char $ac_func(); below. */ | 5100 which can conflict with char $ac_func(); below. */ |
5104 #include <assert.h> | 5101 #include <assert.h> |
5105 /* Override any gcc2 internal prototype to avoid an error. */ | 5102 /* Override any gcc2 internal prototype to avoid an error. */ |
5118 $ac_func(); | 5115 $ac_func(); |
5119 #endif | 5116 #endif |
5120 | 5117 |
5121 ; return 0; } | 5118 ; return 0; } |
5122 EOF | 5119 EOF |
5123 if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5124 rm -rf conftest* | 5121 rm -rf conftest* |
5125 eval "ac_cv_func_$ac_func=yes" | 5122 eval "ac_cv_func_$ac_func=yes" |
5126 else | 5123 else |
5127 echo "configure: failed program was:" >&5 | 5124 echo "configure: failed program was:" >&5 |
5128 cat conftest.$ac_ext >&5 | 5125 cat conftest.$ac_ext >&5 |
5146 | 5143 |
5147 for ac_hdr in maillock.h | 5144 for ac_hdr in maillock.h |
5148 do | 5145 do |
5149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5151 echo "configure:5152: checking for $ac_hdr" >&5 | 5148 echo "configure:5149: checking for $ac_hdr" >&5 |
5152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5153 echo $ac_n "(cached) $ac_c" 1>&6 | 5150 echo $ac_n "(cached) $ac_c" 1>&6 |
5154 else | 5151 else |
5155 cat > conftest.$ac_ext <<EOF | 5152 cat > conftest.$ac_ext <<EOF |
5156 #line 5157 "configure" | 5153 #line 5154 "configure" |
5157 #include "confdefs.h" | 5154 #include "confdefs.h" |
5158 #include <$ac_hdr> | 5155 #include <$ac_hdr> |
5159 EOF | 5156 EOF |
5160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5161 { (eval echo configure:5162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5158 { (eval echo configure:5159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5163 if test -z "$ac_err"; then | 5160 if test -z "$ac_err"; then |
5164 rm -rf conftest* | 5161 rm -rf conftest* |
5165 eval "ac_cv_header_$ac_safe=yes" | 5162 eval "ac_cv_header_$ac_safe=yes" |
5166 else | 5163 else |
5191 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5188 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5192 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5189 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5193 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5190 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm |
5194 do | 5191 do |
5195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5196 echo "configure:5197: checking for $ac_func" >&5 | 5193 echo "configure:5194: checking for $ac_func" >&5 |
5197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5198 echo $ac_n "(cached) $ac_c" 1>&6 | 5195 echo $ac_n "(cached) $ac_c" 1>&6 |
5199 else | 5196 else |
5200 cat > conftest.$ac_ext <<EOF | 5197 cat > conftest.$ac_ext <<EOF |
5201 #line 5202 "configure" | 5198 #line 5199 "configure" |
5202 #include "confdefs.h" | 5199 #include "confdefs.h" |
5203 /* System header to define __stub macros and hopefully few prototypes, | 5200 /* System header to define __stub macros and hopefully few prototypes, |
5204 which can conflict with char $ac_func(); below. */ | 5201 which can conflict with char $ac_func(); below. */ |
5205 #include <assert.h> | 5202 #include <assert.h> |
5206 /* Override any gcc2 internal prototype to avoid an error. */ | 5203 /* Override any gcc2 internal prototype to avoid an error. */ |
5219 $ac_func(); | 5216 $ac_func(); |
5220 #endif | 5217 #endif |
5221 | 5218 |
5222 ; return 0; } | 5219 ; return 0; } |
5223 EOF | 5220 EOF |
5224 if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5225 rm -rf conftest* | 5222 rm -rf conftest* |
5226 eval "ac_cv_func_$ac_func=yes" | 5223 eval "ac_cv_func_$ac_func=yes" |
5227 else | 5224 else |
5228 echo "configure: failed program was:" >&5 | 5225 echo "configure: failed program was:" >&5 |
5229 cat conftest.$ac_ext >&5 | 5226 cat conftest.$ac_ext >&5 |
5249 # Check this now, so that we will NOT find the above functions in ncurses. | 5246 # Check this now, so that we will NOT find the above functions in ncurses. |
5250 # That is because we have not set up to link ncurses in lib-src. | 5247 # That is because we have not set up to link ncurses in lib-src. |
5251 # It's better to believe a function is not available | 5248 # It's better to believe a function is not available |
5252 # than to expect to find it in ncurses. | 5249 # than to expect to find it in ncurses. |
5253 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5250 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5254 echo "configure:5255: checking for tparm in -lncurses" >&5 | 5251 echo "configure:5252: checking for tparm in -lncurses" >&5 |
5255 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5252 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5253 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5257 echo $ac_n "(cached) $ac_c" 1>&6 | 5254 echo $ac_n "(cached) $ac_c" 1>&6 |
5258 else | 5255 else |
5259 ac_save_LIBS="$LIBS" | 5256 ac_save_LIBS="$LIBS" |
5260 LIBS="-lncurses $LIBS" | 5257 LIBS="-lncurses $LIBS" |
5261 cat > conftest.$ac_ext <<EOF | 5258 cat > conftest.$ac_ext <<EOF |
5262 #line 5263 "configure" | 5259 #line 5260 "configure" |
5263 #include "confdefs.h" | 5260 #include "confdefs.h" |
5264 /* Override any gcc2 internal prototype to avoid an error. */ | 5261 /* Override any gcc2 internal prototype to avoid an error. */ |
5265 /* We use char because int might match the return type of a gcc2 | 5262 /* We use char because int might match the return type of a gcc2 |
5266 builtin and then its argument prototype would still apply. */ | 5263 builtin and then its argument prototype would still apply. */ |
5267 char tparm(); | 5264 char tparm(); |
5268 | 5265 |
5269 int main() { | 5266 int main() { |
5270 tparm() | 5267 tparm() |
5271 ; return 0; } | 5268 ; return 0; } |
5272 EOF | 5269 EOF |
5273 if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5270 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5274 rm -rf conftest* | 5271 rm -rf conftest* |
5275 eval "ac_cv_lib_$ac_lib_var=yes" | 5272 eval "ac_cv_lib_$ac_lib_var=yes" |
5276 else | 5273 else |
5277 echo "configure: failed program was:" >&5 | 5274 echo "configure: failed program was:" >&5 |
5278 cat conftest.$ac_ext >&5 | 5275 cat conftest.$ac_ext >&5 |
5299 | 5296 |
5300 | 5297 |
5301 # These tell us which Kerberos-related libraries to use. | 5298 # These tell us which Kerberos-related libraries to use. |
5302 if test "${with_kerberos+set}" = set; then | 5299 if test "${with_kerberos+set}" = set; then |
5303 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 5300 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5304 echo "configure:5305: checking for com_err in -lcom_err" >&5 | 5301 echo "configure:5302: checking for com_err in -lcom_err" >&5 |
5305 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 5302 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5307 echo $ac_n "(cached) $ac_c" 1>&6 | 5304 echo $ac_n "(cached) $ac_c" 1>&6 |
5308 else | 5305 else |
5309 ac_save_LIBS="$LIBS" | 5306 ac_save_LIBS="$LIBS" |
5310 LIBS="-lcom_err $LIBS" | 5307 LIBS="-lcom_err $LIBS" |
5311 cat > conftest.$ac_ext <<EOF | 5308 cat > conftest.$ac_ext <<EOF |
5312 #line 5313 "configure" | 5309 #line 5310 "configure" |
5313 #include "confdefs.h" | 5310 #include "confdefs.h" |
5314 /* Override any gcc2 internal prototype to avoid an error. */ | 5311 /* Override any gcc2 internal prototype to avoid an error. */ |
5315 /* We use char because int might match the return type of a gcc2 | 5312 /* We use char because int might match the return type of a gcc2 |
5316 builtin and then its argument prototype would still apply. */ | 5313 builtin and then its argument prototype would still apply. */ |
5317 char com_err(); | 5314 char com_err(); |
5318 | 5315 |
5319 int main() { | 5316 int main() { |
5320 com_err() | 5317 com_err() |
5321 ; return 0; } | 5318 ; return 0; } |
5322 EOF | 5319 EOF |
5323 if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5320 if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5324 rm -rf conftest* | 5321 rm -rf conftest* |
5325 eval "ac_cv_lib_$ac_lib_var=yes" | 5322 eval "ac_cv_lib_$ac_lib_var=yes" |
5326 else | 5323 else |
5327 echo "configure: failed program was:" >&5 | 5324 echo "configure: failed program was:" >&5 |
5328 cat conftest.$ac_ext >&5 | 5325 cat conftest.$ac_ext >&5 |
5346 else | 5343 else |
5347 echo "$ac_t""no" 1>&6 | 5344 echo "$ac_t""no" 1>&6 |
5348 fi | 5345 fi |
5349 | 5346 |
5350 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 5347 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5351 echo "configure:5352: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 5348 echo "configure:5349: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5352 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5349 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5354 echo $ac_n "(cached) $ac_c" 1>&6 | 5351 echo $ac_n "(cached) $ac_c" 1>&6 |
5355 else | 5352 else |
5356 ac_save_LIBS="$LIBS" | 5353 ac_save_LIBS="$LIBS" |
5357 LIBS="-lk5crypto $LIBS" | 5354 LIBS="-lk5crypto $LIBS" |
5358 cat > conftest.$ac_ext <<EOF | 5355 cat > conftest.$ac_ext <<EOF |
5359 #line 5360 "configure" | 5356 #line 5357 "configure" |
5360 #include "confdefs.h" | 5357 #include "confdefs.h" |
5361 /* Override any gcc2 internal prototype to avoid an error. */ | 5358 /* Override any gcc2 internal prototype to avoid an error. */ |
5362 /* We use char because int might match the return type of a gcc2 | 5359 /* We use char because int might match the return type of a gcc2 |
5363 builtin and then its argument prototype would still apply. */ | 5360 builtin and then its argument prototype would still apply. */ |
5364 char mit_des_cbc_encrypt(); | 5361 char mit_des_cbc_encrypt(); |
5365 | 5362 |
5366 int main() { | 5363 int main() { |
5367 mit_des_cbc_encrypt() | 5364 mit_des_cbc_encrypt() |
5368 ; return 0; } | 5365 ; return 0; } |
5369 EOF | 5366 EOF |
5370 if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5367 if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5371 rm -rf conftest* | 5368 rm -rf conftest* |
5372 eval "ac_cv_lib_$ac_lib_var=yes" | 5369 eval "ac_cv_lib_$ac_lib_var=yes" |
5373 else | 5370 else |
5374 echo "configure: failed program was:" >&5 | 5371 echo "configure: failed program was:" >&5 |
5375 cat conftest.$ac_ext >&5 | 5372 cat conftest.$ac_ext >&5 |
5393 else | 5390 else |
5394 echo "$ac_t""no" 1>&6 | 5391 echo "$ac_t""no" 1>&6 |
5395 fi | 5392 fi |
5396 | 5393 |
5397 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 5394 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
5398 echo "configure:5399: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 5395 echo "configure:5396: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
5399 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5396 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5401 echo $ac_n "(cached) $ac_c" 1>&6 | 5398 echo $ac_n "(cached) $ac_c" 1>&6 |
5402 else | 5399 else |
5403 ac_save_LIBS="$LIBS" | 5400 ac_save_LIBS="$LIBS" |
5404 LIBS="-lcrypto $LIBS" | 5401 LIBS="-lcrypto $LIBS" |
5405 cat > conftest.$ac_ext <<EOF | 5402 cat > conftest.$ac_ext <<EOF |
5406 #line 5407 "configure" | 5403 #line 5404 "configure" |
5407 #include "confdefs.h" | 5404 #include "confdefs.h" |
5408 /* Override any gcc2 internal prototype to avoid an error. */ | 5405 /* Override any gcc2 internal prototype to avoid an error. */ |
5409 /* We use char because int might match the return type of a gcc2 | 5406 /* We use char because int might match the return type of a gcc2 |
5410 builtin and then its argument prototype would still apply. */ | 5407 builtin and then its argument prototype would still apply. */ |
5411 char mit_des_cbc_encrypt(); | 5408 char mit_des_cbc_encrypt(); |
5412 | 5409 |
5413 int main() { | 5410 int main() { |
5414 mit_des_cbc_encrypt() | 5411 mit_des_cbc_encrypt() |
5415 ; return 0; } | 5412 ; return 0; } |
5416 EOF | 5413 EOF |
5417 if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5418 rm -rf conftest* | 5415 rm -rf conftest* |
5419 eval "ac_cv_lib_$ac_lib_var=yes" | 5416 eval "ac_cv_lib_$ac_lib_var=yes" |
5420 else | 5417 else |
5421 echo "configure: failed program was:" >&5 | 5418 echo "configure: failed program was:" >&5 |
5422 cat conftest.$ac_ext >&5 | 5419 cat conftest.$ac_ext >&5 |
5440 else | 5437 else |
5441 echo "$ac_t""no" 1>&6 | 5438 echo "$ac_t""no" 1>&6 |
5442 fi | 5439 fi |
5443 | 5440 |
5444 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 5441 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
5445 echo "configure:5446: checking for krb5_init_context in -lkrb5" >&5 | 5442 echo "configure:5443: checking for krb5_init_context in -lkrb5" >&5 |
5446 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 5443 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
5447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5448 echo $ac_n "(cached) $ac_c" 1>&6 | 5445 echo $ac_n "(cached) $ac_c" 1>&6 |
5449 else | 5446 else |
5450 ac_save_LIBS="$LIBS" | 5447 ac_save_LIBS="$LIBS" |
5451 LIBS="-lkrb5 $LIBS" | 5448 LIBS="-lkrb5 $LIBS" |
5452 cat > conftest.$ac_ext <<EOF | 5449 cat > conftest.$ac_ext <<EOF |
5453 #line 5454 "configure" | 5450 #line 5451 "configure" |
5454 #include "confdefs.h" | 5451 #include "confdefs.h" |
5455 /* Override any gcc2 internal prototype to avoid an error. */ | 5452 /* Override any gcc2 internal prototype to avoid an error. */ |
5456 /* We use char because int might match the return type of a gcc2 | 5453 /* We use char because int might match the return type of a gcc2 |
5457 builtin and then its argument prototype would still apply. */ | 5454 builtin and then its argument prototype would still apply. */ |
5458 char krb5_init_context(); | 5455 char krb5_init_context(); |
5459 | 5456 |
5460 int main() { | 5457 int main() { |
5461 krb5_init_context() | 5458 krb5_init_context() |
5462 ; return 0; } | 5459 ; return 0; } |
5463 EOF | 5460 EOF |
5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5461 if { (eval echo configure:5462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5465 rm -rf conftest* | 5462 rm -rf conftest* |
5466 eval "ac_cv_lib_$ac_lib_var=yes" | 5463 eval "ac_cv_lib_$ac_lib_var=yes" |
5467 else | 5464 else |
5468 echo "configure: failed program was:" >&5 | 5465 echo "configure: failed program was:" >&5 |
5469 cat conftest.$ac_ext >&5 | 5466 cat conftest.$ac_ext >&5 |
5488 echo "$ac_t""no" 1>&6 | 5485 echo "$ac_t""no" 1>&6 |
5489 fi | 5486 fi |
5490 | 5487 |
5491 if test "${with_kerberos5+set}" != set; then | 5488 if test "${with_kerberos5+set}" != set; then |
5492 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 5489 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
5493 echo "configure:5494: checking for des_cbc_encrypt in -ldes425" >&5 | 5490 echo "configure:5491: checking for des_cbc_encrypt in -ldes425" >&5 |
5494 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5491 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5495 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5496 echo $ac_n "(cached) $ac_c" 1>&6 | 5493 echo $ac_n "(cached) $ac_c" 1>&6 |
5497 else | 5494 else |
5498 ac_save_LIBS="$LIBS" | 5495 ac_save_LIBS="$LIBS" |
5499 LIBS="-ldes425 $LIBS" | 5496 LIBS="-ldes425 $LIBS" |
5500 cat > conftest.$ac_ext <<EOF | 5497 cat > conftest.$ac_ext <<EOF |
5501 #line 5502 "configure" | 5498 #line 5499 "configure" |
5502 #include "confdefs.h" | 5499 #include "confdefs.h" |
5503 /* Override any gcc2 internal prototype to avoid an error. */ | 5500 /* Override any gcc2 internal prototype to avoid an error. */ |
5504 /* We use char because int might match the return type of a gcc2 | 5501 /* We use char because int might match the return type of a gcc2 |
5505 builtin and then its argument prototype would still apply. */ | 5502 builtin and then its argument prototype would still apply. */ |
5506 char des_cbc_encrypt(); | 5503 char des_cbc_encrypt(); |
5507 | 5504 |
5508 int main() { | 5505 int main() { |
5509 des_cbc_encrypt() | 5506 des_cbc_encrypt() |
5510 ; return 0; } | 5507 ; return 0; } |
5511 EOF | 5508 EOF |
5512 if { (eval echo configure:5513: \"$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 |
5513 rm -rf conftest* | 5510 rm -rf conftest* |
5514 eval "ac_cv_lib_$ac_lib_var=yes" | 5511 eval "ac_cv_lib_$ac_lib_var=yes" |
5515 else | 5512 else |
5516 echo "configure: failed program was:" >&5 | 5513 echo "configure: failed program was:" >&5 |
5517 cat conftest.$ac_ext >&5 | 5514 cat conftest.$ac_ext >&5 |
5533 LIBS="-ldes425 $LIBS" | 5530 LIBS="-ldes425 $LIBS" |
5534 | 5531 |
5535 else | 5532 else |
5536 echo "$ac_t""no" 1>&6 | 5533 echo "$ac_t""no" 1>&6 |
5537 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 5534 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
5538 echo "configure:5539: checking for des_cbc_encrypt in -ldes" >&5 | 5535 echo "configure:5536: checking for des_cbc_encrypt in -ldes" >&5 |
5539 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5536 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5540 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5541 echo $ac_n "(cached) $ac_c" 1>&6 | 5538 echo $ac_n "(cached) $ac_c" 1>&6 |
5542 else | 5539 else |
5543 ac_save_LIBS="$LIBS" | 5540 ac_save_LIBS="$LIBS" |
5544 LIBS="-ldes $LIBS" | 5541 LIBS="-ldes $LIBS" |
5545 cat > conftest.$ac_ext <<EOF | 5542 cat > conftest.$ac_ext <<EOF |
5546 #line 5547 "configure" | 5543 #line 5544 "configure" |
5547 #include "confdefs.h" | 5544 #include "confdefs.h" |
5548 /* Override any gcc2 internal prototype to avoid an error. */ | 5545 /* Override any gcc2 internal prototype to avoid an error. */ |
5549 /* We use char because int might match the return type of a gcc2 | 5546 /* We use char because int might match the return type of a gcc2 |
5550 builtin and then its argument prototype would still apply. */ | 5547 builtin and then its argument prototype would still apply. */ |
5551 char des_cbc_encrypt(); | 5548 char des_cbc_encrypt(); |
5552 | 5549 |
5553 int main() { | 5550 int main() { |
5554 des_cbc_encrypt() | 5551 des_cbc_encrypt() |
5555 ; return 0; } | 5552 ; return 0; } |
5556 EOF | 5553 EOF |
5557 if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5554 if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5558 rm -rf conftest* | 5555 rm -rf conftest* |
5559 eval "ac_cv_lib_$ac_lib_var=yes" | 5556 eval "ac_cv_lib_$ac_lib_var=yes" |
5560 else | 5557 else |
5561 echo "configure: failed program was:" >&5 | 5558 echo "configure: failed program was:" >&5 |
5562 cat conftest.$ac_ext >&5 | 5559 cat conftest.$ac_ext >&5 |
5582 fi | 5579 fi |
5583 | 5580 |
5584 fi | 5581 fi |
5585 | 5582 |
5586 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 5583 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
5587 echo "configure:5588: checking for krb_get_cred in -lkrb4" >&5 | 5584 echo "configure:5585: checking for krb_get_cred in -lkrb4" >&5 |
5588 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5585 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5590 echo $ac_n "(cached) $ac_c" 1>&6 | 5587 echo $ac_n "(cached) $ac_c" 1>&6 |
5591 else | 5588 else |
5592 ac_save_LIBS="$LIBS" | 5589 ac_save_LIBS="$LIBS" |
5593 LIBS="-lkrb4 $LIBS" | 5590 LIBS="-lkrb4 $LIBS" |
5594 cat > conftest.$ac_ext <<EOF | 5591 cat > conftest.$ac_ext <<EOF |
5595 #line 5596 "configure" | 5592 #line 5593 "configure" |
5596 #include "confdefs.h" | 5593 #include "confdefs.h" |
5597 /* Override any gcc2 internal prototype to avoid an error. */ | 5594 /* Override any gcc2 internal prototype to avoid an error. */ |
5598 /* We use char because int might match the return type of a gcc2 | 5595 /* We use char because int might match the return type of a gcc2 |
5599 builtin and then its argument prototype would still apply. */ | 5596 builtin and then its argument prototype would still apply. */ |
5600 char krb_get_cred(); | 5597 char krb_get_cred(); |
5601 | 5598 |
5602 int main() { | 5599 int main() { |
5603 krb_get_cred() | 5600 krb_get_cred() |
5604 ; return 0; } | 5601 ; return 0; } |
5605 EOF | 5602 EOF |
5606 if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5607 rm -rf conftest* | 5604 rm -rf conftest* |
5608 eval "ac_cv_lib_$ac_lib_var=yes" | 5605 eval "ac_cv_lib_$ac_lib_var=yes" |
5609 else | 5606 else |
5610 echo "configure: failed program was:" >&5 | 5607 echo "configure: failed program was:" >&5 |
5611 cat conftest.$ac_ext >&5 | 5608 cat conftest.$ac_ext >&5 |
5627 LIBS="-lkrb4 $LIBS" | 5624 LIBS="-lkrb4 $LIBS" |
5628 | 5625 |
5629 else | 5626 else |
5630 echo "$ac_t""no" 1>&6 | 5627 echo "$ac_t""no" 1>&6 |
5631 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 5628 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
5632 echo "configure:5633: checking for krb_get_cred in -lkrb" >&5 | 5629 echo "configure:5630: checking for krb_get_cred in -lkrb" >&5 |
5633 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5630 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5634 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5631 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5635 echo $ac_n "(cached) $ac_c" 1>&6 | 5632 echo $ac_n "(cached) $ac_c" 1>&6 |
5636 else | 5633 else |
5637 ac_save_LIBS="$LIBS" | 5634 ac_save_LIBS="$LIBS" |
5638 LIBS="-lkrb $LIBS" | 5635 LIBS="-lkrb $LIBS" |
5639 cat > conftest.$ac_ext <<EOF | 5636 cat > conftest.$ac_ext <<EOF |
5640 #line 5641 "configure" | 5637 #line 5638 "configure" |
5641 #include "confdefs.h" | 5638 #include "confdefs.h" |
5642 /* Override any gcc2 internal prototype to avoid an error. */ | 5639 /* Override any gcc2 internal prototype to avoid an error. */ |
5643 /* We use char because int might match the return type of a gcc2 | 5640 /* We use char because int might match the return type of a gcc2 |
5644 builtin and then its argument prototype would still apply. */ | 5641 builtin and then its argument prototype would still apply. */ |
5645 char krb_get_cred(); | 5642 char krb_get_cred(); |
5646 | 5643 |
5647 int main() { | 5644 int main() { |
5648 krb_get_cred() | 5645 krb_get_cred() |
5649 ; return 0; } | 5646 ; return 0; } |
5650 EOF | 5647 EOF |
5651 if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5648 if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5652 rm -rf conftest* | 5649 rm -rf conftest* |
5653 eval "ac_cv_lib_$ac_lib_var=yes" | 5650 eval "ac_cv_lib_$ac_lib_var=yes" |
5654 else | 5651 else |
5655 echo "configure: failed program was:" >&5 | 5652 echo "configure: failed program was:" >&5 |
5656 cat conftest.$ac_ext >&5 | 5653 cat conftest.$ac_ext >&5 |
5682 if test "${with_kerberos5+set}" = set; then | 5679 if test "${with_kerberos5+set}" = set; then |
5683 for ac_hdr in krb5.h | 5680 for ac_hdr in krb5.h |
5684 do | 5681 do |
5685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5682 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5687 echo "configure:5688: checking for $ac_hdr" >&5 | 5684 echo "configure:5685: checking for $ac_hdr" >&5 |
5688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5689 echo $ac_n "(cached) $ac_c" 1>&6 | 5686 echo $ac_n "(cached) $ac_c" 1>&6 |
5690 else | 5687 else |
5691 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
5692 #line 5693 "configure" | 5689 #line 5690 "configure" |
5693 #include "confdefs.h" | 5690 #include "confdefs.h" |
5694 #include <$ac_hdr> | 5691 #include <$ac_hdr> |
5695 EOF | 5692 EOF |
5696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5697 { (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5694 { (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5699 if test -z "$ac_err"; then | 5696 if test -z "$ac_err"; then |
5700 rm -rf conftest* | 5697 rm -rf conftest* |
5701 eval "ac_cv_header_$ac_safe=yes" | 5698 eval "ac_cv_header_$ac_safe=yes" |
5702 else | 5699 else |
5723 else | 5720 else |
5724 for ac_hdr in des.h | 5721 for ac_hdr in des.h |
5725 do | 5722 do |
5726 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5723 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5727 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5724 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5728 echo "configure:5729: checking for $ac_hdr" >&5 | 5725 echo "configure:5726: checking for $ac_hdr" >&5 |
5729 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5726 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5730 echo $ac_n "(cached) $ac_c" 1>&6 | 5727 echo $ac_n "(cached) $ac_c" 1>&6 |
5731 else | 5728 else |
5732 cat > conftest.$ac_ext <<EOF | 5729 cat > conftest.$ac_ext <<EOF |
5733 #line 5734 "configure" | 5730 #line 5731 "configure" |
5734 #include "confdefs.h" | 5731 #include "confdefs.h" |
5735 #include <$ac_hdr> | 5732 #include <$ac_hdr> |
5736 EOF | 5733 EOF |
5737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5738 { (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5735 { (eval echo configure:5736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5740 if test -z "$ac_err"; then | 5737 if test -z "$ac_err"; then |
5741 rm -rf conftest* | 5738 rm -rf conftest* |
5742 eval "ac_cv_header_$ac_safe=yes" | 5739 eval "ac_cv_header_$ac_safe=yes" |
5743 else | 5740 else |
5760 echo "$ac_t""no" 1>&6 | 5757 echo "$ac_t""no" 1>&6 |
5761 for ac_hdr in kerberosIV/des.h | 5758 for ac_hdr in kerberosIV/des.h |
5762 do | 5759 do |
5763 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5760 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5764 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5761 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5765 echo "configure:5766: checking for $ac_hdr" >&5 | 5762 echo "configure:5763: checking for $ac_hdr" >&5 |
5766 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5763 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5767 echo $ac_n "(cached) $ac_c" 1>&6 | 5764 echo $ac_n "(cached) $ac_c" 1>&6 |
5768 else | 5765 else |
5769 cat > conftest.$ac_ext <<EOF | 5766 cat > conftest.$ac_ext <<EOF |
5770 #line 5771 "configure" | 5767 #line 5768 "configure" |
5771 #include "confdefs.h" | 5768 #include "confdefs.h" |
5772 #include <$ac_hdr> | 5769 #include <$ac_hdr> |
5773 EOF | 5770 EOF |
5774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5775 { (eval echo configure:5776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5772 { (eval echo configure:5773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5777 if test -z "$ac_err"; then | 5774 if test -z "$ac_err"; then |
5778 rm -rf conftest* | 5775 rm -rf conftest* |
5779 eval "ac_cv_header_$ac_safe=yes" | 5776 eval "ac_cv_header_$ac_safe=yes" |
5780 else | 5777 else |
5797 echo "$ac_t""no" 1>&6 | 5794 echo "$ac_t""no" 1>&6 |
5798 for ac_hdr in kerberos/des.h | 5795 for ac_hdr in kerberos/des.h |
5799 do | 5796 do |
5800 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5797 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5801 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5798 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5802 echo "configure:5803: checking for $ac_hdr" >&5 | 5799 echo "configure:5800: checking for $ac_hdr" >&5 |
5803 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5800 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5804 echo $ac_n "(cached) $ac_c" 1>&6 | 5801 echo $ac_n "(cached) $ac_c" 1>&6 |
5805 else | 5802 else |
5806 cat > conftest.$ac_ext <<EOF | 5803 cat > conftest.$ac_ext <<EOF |
5807 #line 5808 "configure" | 5804 #line 5805 "configure" |
5808 #include "confdefs.h" | 5805 #include "confdefs.h" |
5809 #include <$ac_hdr> | 5806 #include <$ac_hdr> |
5810 EOF | 5807 EOF |
5811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5812 { (eval echo configure:5813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5809 { (eval echo configure:5810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5814 if test -z "$ac_err"; then | 5811 if test -z "$ac_err"; then |
5815 rm -rf conftest* | 5812 rm -rf conftest* |
5816 eval "ac_cv_header_$ac_safe=yes" | 5813 eval "ac_cv_header_$ac_safe=yes" |
5817 else | 5814 else |
5843 | 5840 |
5844 for ac_hdr in krb.h | 5841 for ac_hdr in krb.h |
5845 do | 5842 do |
5846 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5843 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5847 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5844 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5848 echo "configure:5849: checking for $ac_hdr" >&5 | 5845 echo "configure:5846: checking for $ac_hdr" >&5 |
5849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5850 echo $ac_n "(cached) $ac_c" 1>&6 | 5847 echo $ac_n "(cached) $ac_c" 1>&6 |
5851 else | 5848 else |
5852 cat > conftest.$ac_ext <<EOF | 5849 cat > conftest.$ac_ext <<EOF |
5853 #line 5854 "configure" | 5850 #line 5851 "configure" |
5854 #include "confdefs.h" | 5851 #include "confdefs.h" |
5855 #include <$ac_hdr> | 5852 #include <$ac_hdr> |
5856 EOF | 5853 EOF |
5857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5858 { (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5855 { (eval echo configure:5856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5860 if test -z "$ac_err"; then | 5857 if test -z "$ac_err"; then |
5861 rm -rf conftest* | 5858 rm -rf conftest* |
5862 eval "ac_cv_header_$ac_safe=yes" | 5859 eval "ac_cv_header_$ac_safe=yes" |
5863 else | 5860 else |
5880 echo "$ac_t""no" 1>&6 | 5877 echo "$ac_t""no" 1>&6 |
5881 for ac_hdr in kerberosIV/krb.h | 5878 for ac_hdr in kerberosIV/krb.h |
5882 do | 5879 do |
5883 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5880 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5884 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5885 echo "configure:5886: checking for $ac_hdr" >&5 | 5882 echo "configure:5883: checking for $ac_hdr" >&5 |
5886 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5883 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5887 echo $ac_n "(cached) $ac_c" 1>&6 | 5884 echo $ac_n "(cached) $ac_c" 1>&6 |
5888 else | 5885 else |
5889 cat > conftest.$ac_ext <<EOF | 5886 cat > conftest.$ac_ext <<EOF |
5890 #line 5891 "configure" | 5887 #line 5888 "configure" |
5891 #include "confdefs.h" | 5888 #include "confdefs.h" |
5892 #include <$ac_hdr> | 5889 #include <$ac_hdr> |
5893 EOF | 5890 EOF |
5894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5895 { (eval echo configure:5896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5892 { (eval echo configure:5893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5897 if test -z "$ac_err"; then | 5894 if test -z "$ac_err"; then |
5898 rm -rf conftest* | 5895 rm -rf conftest* |
5899 eval "ac_cv_header_$ac_safe=yes" | 5896 eval "ac_cv_header_$ac_safe=yes" |
5900 else | 5897 else |
5917 echo "$ac_t""no" 1>&6 | 5914 echo "$ac_t""no" 1>&6 |
5918 for ac_hdr in kerberos/krb.h | 5915 for ac_hdr in kerberos/krb.h |
5919 do | 5916 do |
5920 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5921 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5922 echo "configure:5923: checking for $ac_hdr" >&5 | 5919 echo "configure:5920: checking for $ac_hdr" >&5 |
5923 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5924 echo $ac_n "(cached) $ac_c" 1>&6 | 5921 echo $ac_n "(cached) $ac_c" 1>&6 |
5925 else | 5922 else |
5926 cat > conftest.$ac_ext <<EOF | 5923 cat > conftest.$ac_ext <<EOF |
5927 #line 5928 "configure" | 5924 #line 5925 "configure" |
5928 #include "confdefs.h" | 5925 #include "confdefs.h" |
5929 #include <$ac_hdr> | 5926 #include <$ac_hdr> |
5930 EOF | 5927 EOF |
5931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5932 { (eval echo configure:5933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5929 { (eval echo configure:5930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5934 if test -z "$ac_err"; then | 5931 if test -z "$ac_err"; then |
5935 rm -rf conftest* | 5932 rm -rf conftest* |
5936 eval "ac_cv_header_$ac_safe=yes" | 5933 eval "ac_cv_header_$ac_safe=yes" |
5937 else | 5934 else |
5964 fi | 5961 fi |
5965 for ac_hdr in com_err.h | 5962 for ac_hdr in com_err.h |
5966 do | 5963 do |
5967 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5964 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5968 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5969 echo "configure:5970: checking for $ac_hdr" >&5 | 5966 echo "configure:5967: checking for $ac_hdr" >&5 |
5970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5971 echo $ac_n "(cached) $ac_c" 1>&6 | 5968 echo $ac_n "(cached) $ac_c" 1>&6 |
5972 else | 5969 else |
5973 cat > conftest.$ac_ext <<EOF | 5970 cat > conftest.$ac_ext <<EOF |
5974 #line 5975 "configure" | 5971 #line 5972 "configure" |
5975 #include "confdefs.h" | 5972 #include "confdefs.h" |
5976 #include <$ac_hdr> | 5973 #include <$ac_hdr> |
5977 EOF | 5974 EOF |
5978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5979 { (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5981 if test -z "$ac_err"; then | 5978 if test -z "$ac_err"; then |
5982 rm -rf conftest* | 5979 rm -rf conftest* |
5983 eval "ac_cv_header_$ac_safe=yes" | 5980 eval "ac_cv_header_$ac_safe=yes" |
5984 else | 5981 else |
6005 fi | 6002 fi |
6006 | 6003 |
6007 # Solaris requires -lintl if you want strerror (which calls dgettext) | 6004 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6008 # to return localized messages. | 6005 # to return localized messages. |
6009 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 6006 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6010 echo "configure:6011: checking for dgettext in -lintl" >&5 | 6007 echo "configure:6008: checking for dgettext in -lintl" >&5 |
6011 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 6008 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6012 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6013 echo $ac_n "(cached) $ac_c" 1>&6 | 6010 echo $ac_n "(cached) $ac_c" 1>&6 |
6014 else | 6011 else |
6015 ac_save_LIBS="$LIBS" | 6012 ac_save_LIBS="$LIBS" |
6016 LIBS="-lintl $LIBS" | 6013 LIBS="-lintl $LIBS" |
6017 cat > conftest.$ac_ext <<EOF | 6014 cat > conftest.$ac_ext <<EOF |
6018 #line 6019 "configure" | 6015 #line 6016 "configure" |
6019 #include "confdefs.h" | 6016 #include "confdefs.h" |
6020 /* Override any gcc2 internal prototype to avoid an error. */ | 6017 /* Override any gcc2 internal prototype to avoid an error. */ |
6021 /* We use char because int might match the return type of a gcc2 | 6018 /* We use char because int might match the return type of a gcc2 |
6022 builtin and then its argument prototype would still apply. */ | 6019 builtin and then its argument prototype would still apply. */ |
6023 char dgettext(); | 6020 char dgettext(); |
6024 | 6021 |
6025 int main() { | 6022 int main() { |
6026 dgettext() | 6023 dgettext() |
6027 ; return 0; } | 6024 ; return 0; } |
6028 EOF | 6025 EOF |
6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6026 if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6030 rm -rf conftest* | 6027 rm -rf conftest* |
6031 eval "ac_cv_lib_$ac_lib_var=yes" | 6028 eval "ac_cv_lib_$ac_lib_var=yes" |
6032 else | 6029 else |
6033 echo "configure: failed program was:" >&5 | 6030 echo "configure: failed program was:" >&5 |
6034 cat conftest.$ac_ext >&5 | 6031 cat conftest.$ac_ext >&5 |
6053 echo "$ac_t""no" 1>&6 | 6050 echo "$ac_t""no" 1>&6 |
6054 fi | 6051 fi |
6055 | 6052 |
6056 | 6053 |
6057 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6054 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6058 echo "configure:6059: checking whether localtime caches TZ" >&5 | 6055 echo "configure:6056: checking whether localtime caches TZ" >&5 |
6059 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6056 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6060 echo $ac_n "(cached) $ac_c" 1>&6 | 6057 echo $ac_n "(cached) $ac_c" 1>&6 |
6061 else | 6058 else |
6062 if test x$ac_cv_func_tzset = xyes; then | 6059 if test x$ac_cv_func_tzset = xyes; then |
6063 if test "$cross_compiling" = yes; then | 6060 if test "$cross_compiling" = yes; then |
6064 # If we have tzset, assume the worst when cross-compiling. | 6061 # If we have tzset, assume the worst when cross-compiling. |
6065 emacs_cv_localtime_cache=yes | 6062 emacs_cv_localtime_cache=yes |
6066 else | 6063 else |
6067 cat > conftest.$ac_ext <<EOF | 6064 cat > conftest.$ac_ext <<EOF |
6068 #line 6069 "configure" | 6065 #line 6066 "configure" |
6069 #include "confdefs.h" | 6066 #include "confdefs.h" |
6070 #include <time.h> | 6067 #include <time.h> |
6071 extern char **environ; | 6068 extern char **environ; |
6072 unset_TZ () | 6069 unset_TZ () |
6073 { | 6070 { |
6095 if (localtime (&now)->tm_hour != hour_unset) | 6092 if (localtime (&now)->tm_hour != hour_unset) |
6096 exit (1); | 6093 exit (1); |
6097 exit (0); | 6094 exit (0); |
6098 } | 6095 } |
6099 EOF | 6096 EOF |
6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6097 if { (eval echo configure:6098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6101 then | 6098 then |
6102 emacs_cv_localtime_cache=no | 6099 emacs_cv_localtime_cache=no |
6103 else | 6100 else |
6104 echo "configure: failed program was:" >&5 | 6101 echo "configure: failed program was:" >&5 |
6105 cat conftest.$ac_ext >&5 | 6102 cat conftest.$ac_ext >&5 |
6123 | 6120 |
6124 fi | 6121 fi |
6125 | 6122 |
6126 if test "x$HAVE_TIMEVAL" = xyes; then | 6123 if test "x$HAVE_TIMEVAL" = xyes; then |
6127 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6124 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6128 echo "configure:6129: checking whether gettimeofday can accept two arguments" >&5 | 6125 echo "configure:6126: checking whether gettimeofday can accept two arguments" >&5 |
6129 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6126 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6130 echo $ac_n "(cached) $ac_c" 1>&6 | 6127 echo $ac_n "(cached) $ac_c" 1>&6 |
6131 else | 6128 else |
6132 cat > conftest.$ac_ext <<EOF | 6129 cat > conftest.$ac_ext <<EOF |
6133 #line 6134 "configure" | 6130 #line 6131 "configure" |
6134 #include "confdefs.h" | 6131 #include "confdefs.h" |
6135 | 6132 |
6136 #ifdef TIME_WITH_SYS_TIME | 6133 #ifdef TIME_WITH_SYS_TIME |
6137 #include <sys/time.h> | 6134 #include <sys/time.h> |
6138 #include <time.h> | 6135 #include <time.h> |
6150 struct timezone dummy; | 6147 struct timezone dummy; |
6151 gettimeofday (&time, &dummy); | 6148 gettimeofday (&time, &dummy); |
6152 | 6149 |
6153 ; return 0; } | 6150 ; return 0; } |
6154 EOF | 6151 EOF |
6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6152 if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6156 rm -rf conftest* | 6153 rm -rf conftest* |
6157 emacs_cv_gettimeofday_two_arguments=yes | 6154 emacs_cv_gettimeofday_two_arguments=yes |
6158 else | 6155 else |
6159 echo "configure: failed program was:" >&5 | 6156 echo "configure: failed program was:" >&5 |
6160 cat conftest.$ac_ext >&5 | 6157 cat conftest.$ac_ext >&5 |
6173 fi | 6170 fi |
6174 fi | 6171 fi |
6175 | 6172 |
6176 ok_so_far=yes | 6173 ok_so_far=yes |
6177 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6174 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6178 echo "configure:6179: checking for socket" >&5 | 6175 echo "configure:6176: checking for socket" >&5 |
6179 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6176 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6180 echo $ac_n "(cached) $ac_c" 1>&6 | 6177 echo $ac_n "(cached) $ac_c" 1>&6 |
6181 else | 6178 else |
6182 cat > conftest.$ac_ext <<EOF | 6179 cat > conftest.$ac_ext <<EOF |
6183 #line 6184 "configure" | 6180 #line 6181 "configure" |
6184 #include "confdefs.h" | 6181 #include "confdefs.h" |
6185 /* System header to define __stub macros and hopefully few prototypes, | 6182 /* System header to define __stub macros and hopefully few prototypes, |
6186 which can conflict with char socket(); below. */ | 6183 which can conflict with char socket(); below. */ |
6187 #include <assert.h> | 6184 #include <assert.h> |
6188 /* Override any gcc2 internal prototype to avoid an error. */ | 6185 /* Override any gcc2 internal prototype to avoid an error. */ |
6201 socket(); | 6198 socket(); |
6202 #endif | 6199 #endif |
6203 | 6200 |
6204 ; return 0; } | 6201 ; return 0; } |
6205 EOF | 6202 EOF |
6206 if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6207 rm -rf conftest* | 6204 rm -rf conftest* |
6208 eval "ac_cv_func_socket=yes" | 6205 eval "ac_cv_func_socket=yes" |
6209 else | 6206 else |
6210 echo "configure: failed program was:" >&5 | 6207 echo "configure: failed program was:" >&5 |
6211 cat conftest.$ac_ext >&5 | 6208 cat conftest.$ac_ext >&5 |
6224 fi | 6221 fi |
6225 | 6222 |
6226 if test $ok_so_far = yes; then | 6223 if test $ok_so_far = yes; then |
6227 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6224 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6228 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6225 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6229 echo "configure:6230: checking for netinet/in.h" >&5 | 6226 echo "configure:6227: checking for netinet/in.h" >&5 |
6230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6227 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6231 echo $ac_n "(cached) $ac_c" 1>&6 | 6228 echo $ac_n "(cached) $ac_c" 1>&6 |
6232 else | 6229 else |
6233 cat > conftest.$ac_ext <<EOF | 6230 cat > conftest.$ac_ext <<EOF |
6234 #line 6235 "configure" | 6231 #line 6232 "configure" |
6235 #include "confdefs.h" | 6232 #include "confdefs.h" |
6236 #include <netinet/in.h> | 6233 #include <netinet/in.h> |
6237 EOF | 6234 EOF |
6238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6239 { (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6236 { (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6241 if test -z "$ac_err"; then | 6238 if test -z "$ac_err"; then |
6242 rm -rf conftest* | 6239 rm -rf conftest* |
6243 eval "ac_cv_header_$ac_safe=yes" | 6240 eval "ac_cv_header_$ac_safe=yes" |
6244 else | 6241 else |
6260 | 6257 |
6261 fi | 6258 fi |
6262 if test $ok_so_far = yes; then | 6259 if test $ok_so_far = yes; then |
6263 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6260 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6264 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6261 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6265 echo "configure:6266: checking for arpa/inet.h" >&5 | 6262 echo "configure:6263: checking for arpa/inet.h" >&5 |
6266 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6267 echo $ac_n "(cached) $ac_c" 1>&6 | 6264 echo $ac_n "(cached) $ac_c" 1>&6 |
6268 else | 6265 else |
6269 cat > conftest.$ac_ext <<EOF | 6266 cat > conftest.$ac_ext <<EOF |
6270 #line 6271 "configure" | 6267 #line 6268 "configure" |
6271 #include "confdefs.h" | 6268 #include "confdefs.h" |
6272 #include <arpa/inet.h> | 6269 #include <arpa/inet.h> |
6273 EOF | 6270 EOF |
6274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6275 { (eval echo configure:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6272 { (eval echo configure:6273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6277 if test -z "$ac_err"; then | 6274 if test -z "$ac_err"; then |
6278 rm -rf conftest* | 6275 rm -rf conftest* |
6279 eval "ac_cv_header_$ac_safe=yes" | 6276 eval "ac_cv_header_$ac_safe=yes" |
6280 else | 6277 else |
6308 EOF | 6305 EOF |
6309 | 6306 |
6310 fi | 6307 fi |
6311 | 6308 |
6312 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6309 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6313 echo "configure:6314: checking whether system supports dynamic ptys" >&5 | 6310 echo "configure:6311: checking whether system supports dynamic ptys" >&5 |
6314 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6311 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6315 echo "$ac_t""yes" 1>&6 | 6312 echo "$ac_t""yes" 1>&6 |
6316 cat >> confdefs.h <<\EOF | 6313 cat >> confdefs.h <<\EOF |
6317 #define HAVE_DEV_PTMX 1 | 6314 #define HAVE_DEV_PTMX 1 |
6318 EOF | 6315 EOF |
6320 else | 6317 else |
6321 echo "$ac_t""no" 1>&6 | 6318 echo "$ac_t""no" 1>&6 |
6322 fi | 6319 fi |
6323 | 6320 |
6324 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6321 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6325 echo "configure:6326: checking for pid_t" >&5 | 6322 echo "configure:6323: checking for pid_t" >&5 |
6326 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6323 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6327 echo $ac_n "(cached) $ac_c" 1>&6 | 6324 echo $ac_n "(cached) $ac_c" 1>&6 |
6328 else | 6325 else |
6329 cat > conftest.$ac_ext <<EOF | 6326 cat > conftest.$ac_ext <<EOF |
6330 #line 6331 "configure" | 6327 #line 6328 "configure" |
6331 #include "confdefs.h" | 6328 #include "confdefs.h" |
6332 #include <sys/types.h> | 6329 #include <sys/types.h> |
6333 #if STDC_HEADERS | 6330 #if STDC_HEADERS |
6334 #include <stdlib.h> | 6331 #include <stdlib.h> |
6335 #include <stddef.h> | 6332 #include <stddef.h> |
6354 | 6351 |
6355 fi | 6352 fi |
6356 | 6353 |
6357 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 6354 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6358 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 6355 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6359 echo "configure:6360: checking for vfork.h" >&5 | 6356 echo "configure:6357: checking for vfork.h" >&5 |
6360 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6361 echo $ac_n "(cached) $ac_c" 1>&6 | 6358 echo $ac_n "(cached) $ac_c" 1>&6 |
6362 else | 6359 else |
6363 cat > conftest.$ac_ext <<EOF | 6360 cat > conftest.$ac_ext <<EOF |
6364 #line 6365 "configure" | 6361 #line 6362 "configure" |
6365 #include "confdefs.h" | 6362 #include "confdefs.h" |
6366 #include <vfork.h> | 6363 #include <vfork.h> |
6367 EOF | 6364 EOF |
6368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6369 { (eval echo configure:6370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6366 { (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6371 if test -z "$ac_err"; then | 6368 if test -z "$ac_err"; then |
6372 rm -rf conftest* | 6369 rm -rf conftest* |
6373 eval "ac_cv_header_$ac_safe=yes" | 6370 eval "ac_cv_header_$ac_safe=yes" |
6374 else | 6371 else |
6389 else | 6386 else |
6390 echo "$ac_t""no" 1>&6 | 6387 echo "$ac_t""no" 1>&6 |
6391 fi | 6388 fi |
6392 | 6389 |
6393 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 6390 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
6394 echo "configure:6395: checking for working vfork" >&5 | 6391 echo "configure:6392: checking for working vfork" >&5 |
6395 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 6392 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
6396 echo $ac_n "(cached) $ac_c" 1>&6 | 6393 echo $ac_n "(cached) $ac_c" 1>&6 |
6397 else | 6394 else |
6398 if test "$cross_compiling" = yes; then | 6395 if test "$cross_compiling" = yes; then |
6399 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 6396 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
6400 echo "configure:6401: checking for vfork" >&5 | 6397 echo "configure:6398: checking for vfork" >&5 |
6401 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 6398 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
6402 echo $ac_n "(cached) $ac_c" 1>&6 | 6399 echo $ac_n "(cached) $ac_c" 1>&6 |
6403 else | 6400 else |
6404 cat > conftest.$ac_ext <<EOF | 6401 cat > conftest.$ac_ext <<EOF |
6405 #line 6406 "configure" | 6402 #line 6403 "configure" |
6406 #include "confdefs.h" | 6403 #include "confdefs.h" |
6407 /* System header to define __stub macros and hopefully few prototypes, | 6404 /* System header to define __stub macros and hopefully few prototypes, |
6408 which can conflict with char vfork(); below. */ | 6405 which can conflict with char vfork(); below. */ |
6409 #include <assert.h> | 6406 #include <assert.h> |
6410 /* Override any gcc2 internal prototype to avoid an error. */ | 6407 /* Override any gcc2 internal prototype to avoid an error. */ |
6423 vfork(); | 6420 vfork(); |
6424 #endif | 6421 #endif |
6425 | 6422 |
6426 ; return 0; } | 6423 ; return 0; } |
6427 EOF | 6424 EOF |
6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6425 if { (eval echo configure:6426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6429 rm -rf conftest* | 6426 rm -rf conftest* |
6430 eval "ac_cv_func_vfork=yes" | 6427 eval "ac_cv_func_vfork=yes" |
6431 else | 6428 else |
6432 echo "configure: failed program was:" >&5 | 6429 echo "configure: failed program was:" >&5 |
6433 cat conftest.$ac_ext >&5 | 6430 cat conftest.$ac_ext >&5 |
6445 fi | 6442 fi |
6446 | 6443 |
6447 ac_cv_func_vfork_works=$ac_cv_func_vfork | 6444 ac_cv_func_vfork_works=$ac_cv_func_vfork |
6448 else | 6445 else |
6449 cat > conftest.$ac_ext <<EOF | 6446 cat > conftest.$ac_ext <<EOF |
6450 #line 6451 "configure" | 6447 #line 6448 "configure" |
6451 #include "confdefs.h" | 6448 #include "confdefs.h" |
6452 /* Thanks to Paul Eggert for this test. */ | 6449 /* Thanks to Paul Eggert for this test. */ |
6453 #include <stdio.h> | 6450 #include <stdio.h> |
6454 #include <sys/types.h> | 6451 #include <sys/types.h> |
6455 #include <sys/stat.h> | 6452 #include <sys/stat.h> |
6540 || fstat(fileno(stdout), &st) != 0 | 6537 || fstat(fileno(stdout), &st) != 0 |
6541 ); | 6538 ); |
6542 } | 6539 } |
6543 } | 6540 } |
6544 EOF | 6541 EOF |
6545 if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6546 then | 6543 then |
6547 ac_cv_func_vfork_works=yes | 6544 ac_cv_func_vfork_works=yes |
6548 else | 6545 else |
6549 echo "configure: failed program was:" >&5 | 6546 echo "configure: failed program was:" >&5 |
6550 cat conftest.$ac_ext >&5 | 6547 cat conftest.$ac_ext >&5 |
6678 | 6675 |
6679 fi | 6676 fi |
6680 if test "${REL_ALLOC}" = "yes" ; then | 6677 if test "${REL_ALLOC}" = "yes" ; then |
6681 cat >> confdefs.h <<\EOF | 6678 cat >> confdefs.h <<\EOF |
6682 #define REL_ALLOC 1 | 6679 #define REL_ALLOC 1 |
6683 EOF | |
6684 | |
6685 fi | |
6686 if test "${LISP_FLOAT_TYPE}" = "yes" ; then | |
6687 cat >> confdefs.h <<\EOF | |
6688 #define LISP_FLOAT_TYPE 1 | |
6689 EOF | 6680 EOF |
6690 | 6681 |
6691 fi | 6682 fi |
6692 | 6683 |
6693 #### Report on what we decided to do. | 6684 #### Report on what we decided to do. |