Mercurial > emacs
comparison configure @ 27910:cb2cc19e288e
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 29 Feb 2000 10:16:31 +0000 |
parents | 7c90c9f169f4 |
children | 82d519ae67da |
comparison
equal
deleted
inserted
replaced
27909:2bf72063e6f0 | 27910:cb2cc19e288e |
---|---|
3267 #ifndef C_DEBUG_SWITCH | 3267 #ifndef C_DEBUG_SWITCH |
3268 #define C_DEBUG_SWITCH -g | 3268 #define C_DEBUG_SWITCH -g |
3269 #endif | 3269 #endif |
3270 | 3270 |
3271 #ifndef C_OPTIMIZE_SWITCH | 3271 #ifndef C_OPTIMIZE_SWITCH |
3272 #ifdef __GNUC__ | |
3273 #define C_OPTIMIZE_SWITCH -O2 | |
3274 #else | |
3272 #define C_OPTIMIZE_SWITCH -O | 3275 #define C_OPTIMIZE_SWITCH -O |
3276 #endif | |
3273 #endif | 3277 #endif |
3274 | 3278 |
3275 #ifndef LD_SWITCH_MACHINE | 3279 #ifndef LD_SWITCH_MACHINE |
3276 #define LD_SWITCH_MACHINE | 3280 #define LD_SWITCH_MACHINE |
3277 #endif | 3281 #endif |
3329 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3333 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3330 # Assume not, until told otherwise. | 3334 # Assume not, until told otherwise. |
3331 GNU_MALLOC=yes | 3335 GNU_MALLOC=yes |
3332 doug_lea_malloc=yes | 3336 doug_lea_malloc=yes |
3333 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3337 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3334 echo "configure:3335: checking for malloc_get_state" >&5 | 3338 echo "configure:3339: checking for malloc_get_state" >&5 |
3335 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3339 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
3336 echo $ac_n "(cached) $ac_c" 1>&6 | 3340 echo $ac_n "(cached) $ac_c" 1>&6 |
3337 else | 3341 else |
3338 cat > conftest.$ac_ext <<EOF | 3342 cat > conftest.$ac_ext <<EOF |
3339 #line 3340 "configure" | 3343 #line 3344 "configure" |
3340 #include "confdefs.h" | 3344 #include "confdefs.h" |
3341 /* System header to define __stub macros and hopefully few prototypes, | 3345 /* System header to define __stub macros and hopefully few prototypes, |
3342 which can conflict with char malloc_get_state(); below. */ | 3346 which can conflict with char malloc_get_state(); below. */ |
3343 #include <assert.h> | 3347 #include <assert.h> |
3344 /* Override any gcc2 internal prototype to avoid an error. */ | 3348 /* Override any gcc2 internal prototype to avoid an error. */ |
3357 malloc_get_state(); | 3361 malloc_get_state(); |
3358 #endif | 3362 #endif |
3359 | 3363 |
3360 ; return 0; } | 3364 ; return 0; } |
3361 EOF | 3365 EOF |
3362 if { (eval echo configure:3363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3366 if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3363 rm -rf conftest* | 3367 rm -rf conftest* |
3364 eval "ac_cv_func_malloc_get_state=yes" | 3368 eval "ac_cv_func_malloc_get_state=yes" |
3365 else | 3369 else |
3366 echo "configure: failed program was:" >&5 | 3370 echo "configure: failed program was:" >&5 |
3367 cat conftest.$ac_ext >&5 | 3371 cat conftest.$ac_ext >&5 |
3378 echo "$ac_t""no" 1>&6 | 3382 echo "$ac_t""no" 1>&6 |
3379 doug_lea_malloc=no | 3383 doug_lea_malloc=no |
3380 fi | 3384 fi |
3381 | 3385 |
3382 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3386 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3383 echo "configure:3384: checking for malloc_set_state" >&5 | 3387 echo "configure:3388: checking for malloc_set_state" >&5 |
3384 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3388 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
3385 echo $ac_n "(cached) $ac_c" 1>&6 | 3389 echo $ac_n "(cached) $ac_c" 1>&6 |
3386 else | 3390 else |
3387 cat > conftest.$ac_ext <<EOF | 3391 cat > conftest.$ac_ext <<EOF |
3388 #line 3389 "configure" | 3392 #line 3393 "configure" |
3389 #include "confdefs.h" | 3393 #include "confdefs.h" |
3390 /* System header to define __stub macros and hopefully few prototypes, | 3394 /* System header to define __stub macros and hopefully few prototypes, |
3391 which can conflict with char malloc_set_state(); below. */ | 3395 which can conflict with char malloc_set_state(); below. */ |
3392 #include <assert.h> | 3396 #include <assert.h> |
3393 /* Override any gcc2 internal prototype to avoid an error. */ | 3397 /* Override any gcc2 internal prototype to avoid an error. */ |
3406 malloc_set_state(); | 3410 malloc_set_state(); |
3407 #endif | 3411 #endif |
3408 | 3412 |
3409 ; return 0; } | 3413 ; return 0; } |
3410 EOF | 3414 EOF |
3411 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3415 if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3412 rm -rf conftest* | 3416 rm -rf conftest* |
3413 eval "ac_cv_func_malloc_set_state=yes" | 3417 eval "ac_cv_func_malloc_set_state=yes" |
3414 else | 3418 else |
3415 echo "configure: failed program was:" >&5 | 3419 echo "configure: failed program was:" >&5 |
3416 cat conftest.$ac_ext >&5 | 3420 cat conftest.$ac_ext >&5 |
3427 echo "$ac_t""no" 1>&6 | 3431 echo "$ac_t""no" 1>&6 |
3428 doug_lea_malloc=no | 3432 doug_lea_malloc=no |
3429 fi | 3433 fi |
3430 | 3434 |
3431 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3435 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3432 echo "configure:3433: checking whether __after_morecore_hook exists" >&5 | 3436 echo "configure:3437: checking whether __after_morecore_hook exists" >&5 |
3433 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3437 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
3434 echo $ac_n "(cached) $ac_c" 1>&6 | 3438 echo $ac_n "(cached) $ac_c" 1>&6 |
3435 else | 3439 else |
3436 cat > conftest.$ac_ext <<EOF | 3440 cat > conftest.$ac_ext <<EOF |
3437 #line 3438 "configure" | 3441 #line 3442 "configure" |
3438 #include "confdefs.h" | 3442 #include "confdefs.h" |
3439 extern void (* __after_morecore_hook)(); | 3443 extern void (* __after_morecore_hook)(); |
3440 int main() { | 3444 int main() { |
3441 __after_morecore_hook = 0 | 3445 __after_morecore_hook = 0 |
3442 ; return 0; } | 3446 ; return 0; } |
3443 EOF | 3447 EOF |
3444 if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3448 if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3445 rm -rf conftest* | 3449 rm -rf conftest* |
3446 emacs_cv_var___after_morecore_hook=yes | 3450 emacs_cv_var___after_morecore_hook=yes |
3447 else | 3451 else |
3448 echo "configure: failed program was:" >&5 | 3452 echo "configure: failed program was:" >&5 |
3449 cat conftest.$ac_ext >&5 | 3453 cat conftest.$ac_ext >&5 |
3486 fi | 3490 fi |
3487 | 3491 |
3488 LIBS="$libsrc_libs $LIBS" | 3492 LIBS="$libsrc_libs $LIBS" |
3489 | 3493 |
3490 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3494 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3491 echo "configure:3492: checking for dnet_ntoa in -ldnet" >&5 | 3495 echo "configure:3496: checking for dnet_ntoa in -ldnet" >&5 |
3492 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3496 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3497 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3494 echo $ac_n "(cached) $ac_c" 1>&6 | 3498 echo $ac_n "(cached) $ac_c" 1>&6 |
3495 else | 3499 else |
3496 ac_save_LIBS="$LIBS" | 3500 ac_save_LIBS="$LIBS" |
3497 LIBS="-ldnet $LIBS" | 3501 LIBS="-ldnet $LIBS" |
3498 cat > conftest.$ac_ext <<EOF | 3502 cat > conftest.$ac_ext <<EOF |
3499 #line 3500 "configure" | 3503 #line 3504 "configure" |
3500 #include "confdefs.h" | 3504 #include "confdefs.h" |
3501 /* Override any gcc2 internal prototype to avoid an error. */ | 3505 /* Override any gcc2 internal prototype to avoid an error. */ |
3502 /* We use char because int might match the return type of a gcc2 | 3506 /* We use char because int might match the return type of a gcc2 |
3503 builtin and then its argument prototype would still apply. */ | 3507 builtin and then its argument prototype would still apply. */ |
3504 char dnet_ntoa(); | 3508 char dnet_ntoa(); |
3505 | 3509 |
3506 int main() { | 3510 int main() { |
3507 dnet_ntoa() | 3511 dnet_ntoa() |
3508 ; return 0; } | 3512 ; return 0; } |
3509 EOF | 3513 EOF |
3510 if { (eval echo configure:3511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3514 if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3511 rm -rf conftest* | 3515 rm -rf conftest* |
3512 eval "ac_cv_lib_$ac_lib_var=yes" | 3516 eval "ac_cv_lib_$ac_lib_var=yes" |
3513 else | 3517 else |
3514 echo "configure: failed program was:" >&5 | 3518 echo "configure: failed program was:" >&5 |
3515 cat conftest.$ac_ext >&5 | 3519 cat conftest.$ac_ext >&5 |
3534 echo "$ac_t""no" 1>&6 | 3538 echo "$ac_t""no" 1>&6 |
3535 fi | 3539 fi |
3536 | 3540 |
3537 | 3541 |
3538 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3542 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3539 echo "configure:3540: checking for main in -lXbsd" >&5 | 3543 echo "configure:3544: checking for main in -lXbsd" >&5 |
3540 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3544 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3542 echo $ac_n "(cached) $ac_c" 1>&6 | 3546 echo $ac_n "(cached) $ac_c" 1>&6 |
3543 else | 3547 else |
3544 ac_save_LIBS="$LIBS" | 3548 ac_save_LIBS="$LIBS" |
3545 LIBS="-lXbsd $LIBS" | 3549 LIBS="-lXbsd $LIBS" |
3546 cat > conftest.$ac_ext <<EOF | 3550 cat > conftest.$ac_ext <<EOF |
3547 #line 3548 "configure" | 3551 #line 3552 "configure" |
3548 #include "confdefs.h" | 3552 #include "confdefs.h" |
3549 | 3553 |
3550 int main() { | 3554 int main() { |
3551 main() | 3555 main() |
3552 ; return 0; } | 3556 ; return 0; } |
3553 EOF | 3557 EOF |
3554 if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3555 rm -rf conftest* | 3559 rm -rf conftest* |
3556 eval "ac_cv_lib_$ac_lib_var=yes" | 3560 eval "ac_cv_lib_$ac_lib_var=yes" |
3557 else | 3561 else |
3558 echo "configure: failed program was:" >&5 | 3562 echo "configure: failed program was:" >&5 |
3559 cat conftest.$ac_ext >&5 | 3563 cat conftest.$ac_ext >&5 |
3571 echo "$ac_t""no" 1>&6 | 3575 echo "$ac_t""no" 1>&6 |
3572 fi | 3576 fi |
3573 | 3577 |
3574 | 3578 |
3575 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3579 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3576 echo "configure:3577: checking for cma_open in -lpthreads" >&5 | 3580 echo "configure:3581: checking for cma_open in -lpthreads" >&5 |
3577 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3581 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3579 echo $ac_n "(cached) $ac_c" 1>&6 | 3583 echo $ac_n "(cached) $ac_c" 1>&6 |
3580 else | 3584 else |
3581 ac_save_LIBS="$LIBS" | 3585 ac_save_LIBS="$LIBS" |
3582 LIBS="-lpthreads $LIBS" | 3586 LIBS="-lpthreads $LIBS" |
3583 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
3584 #line 3585 "configure" | 3588 #line 3589 "configure" |
3585 #include "confdefs.h" | 3589 #include "confdefs.h" |
3586 /* Override any gcc2 internal prototype to avoid an error. */ | 3590 /* Override any gcc2 internal prototype to avoid an error. */ |
3587 /* We use char because int might match the return type of a gcc2 | 3591 /* We use char because int might match the return type of a gcc2 |
3588 builtin and then its argument prototype would still apply. */ | 3592 builtin and then its argument prototype would still apply. */ |
3589 char cma_open(); | 3593 char cma_open(); |
3590 | 3594 |
3591 int main() { | 3595 int main() { |
3592 cma_open() | 3596 cma_open() |
3593 ; return 0; } | 3597 ; return 0; } |
3594 EOF | 3598 EOF |
3595 if { (eval echo configure:3596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3596 rm -rf conftest* | 3600 rm -rf conftest* |
3597 eval "ac_cv_lib_$ac_lib_var=yes" | 3601 eval "ac_cv_lib_$ac_lib_var=yes" |
3598 else | 3602 else |
3599 echo "configure: failed program was:" >&5 | 3603 echo "configure: failed program was:" >&5 |
3600 cat conftest.$ac_ext >&5 | 3604 cat conftest.$ac_ext >&5 |
3619 echo "$ac_t""no" 1>&6 | 3623 echo "$ac_t""no" 1>&6 |
3620 fi | 3624 fi |
3621 | 3625 |
3622 | 3626 |
3623 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3627 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3624 echo "configure:3625: checking for XFree86 in /usr/X386" >&5 | 3628 echo "configure:3629: checking for XFree86 in /usr/X386" >&5 |
3625 if test -d /usr/X386/include; then | 3629 if test -d /usr/X386/include; then |
3626 HAVE_XFREE386=yes | 3630 HAVE_XFREE386=yes |
3627 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3631 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3628 else | 3632 else |
3629 HAVE_XFREE386=no | 3633 HAVE_XFREE386=no |
3648 export LD_RUN_PATH | 3652 export LD_RUN_PATH |
3649 fi | 3653 fi |
3650 | 3654 |
3651 if test "${opsys}" = "gnu-linux"; then | 3655 if test "${opsys}" = "gnu-linux"; then |
3652 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3656 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3653 echo "configure:3654: checking whether X on GNU/Linux needs -b to link" >&5 | 3657 echo "configure:3658: checking whether X on GNU/Linux needs -b to link" >&5 |
3654 cat > conftest.$ac_ext <<EOF | 3658 cat > conftest.$ac_ext <<EOF |
3655 #line 3656 "configure" | 3659 #line 3660 "configure" |
3656 #include "confdefs.h" | 3660 #include "confdefs.h" |
3657 | 3661 |
3658 int main() { | 3662 int main() { |
3659 XOpenDisplay ("foo"); | 3663 XOpenDisplay ("foo"); |
3660 ; return 0; } | 3664 ; return 0; } |
3661 EOF | 3665 EOF |
3662 if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3666 if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3663 rm -rf conftest* | 3667 rm -rf conftest* |
3664 xlinux_first_failure=no | 3668 xlinux_first_failure=no |
3665 else | 3669 else |
3666 echo "configure: failed program was:" >&5 | 3670 echo "configure: failed program was:" >&5 |
3667 cat conftest.$ac_ext >&5 | 3671 cat conftest.$ac_ext >&5 |
3677 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3681 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3678 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3682 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3679 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3683 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3680 LIBS="$LIBS -b i486-linuxaout" | 3684 LIBS="$LIBS -b i486-linuxaout" |
3681 cat > conftest.$ac_ext <<EOF | 3685 cat > conftest.$ac_ext <<EOF |
3682 #line 3683 "configure" | 3686 #line 3687 "configure" |
3683 #include "confdefs.h" | 3687 #include "confdefs.h" |
3684 | 3688 |
3685 int main() { | 3689 int main() { |
3686 XOpenDisplay ("foo"); | 3690 XOpenDisplay ("foo"); |
3687 ; return 0; } | 3691 ; return 0; } |
3688 EOF | 3692 EOF |
3689 if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3693 if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3690 rm -rf conftest* | 3694 rm -rf conftest* |
3691 xlinux_second_failure=no | 3695 xlinux_second_failure=no |
3692 else | 3696 else |
3693 echo "configure: failed program was:" >&5 | 3697 echo "configure: failed program was:" >&5 |
3694 cat conftest.$ac_ext >&5 | 3698 cat conftest.$ac_ext >&5 |
3714 | 3718 |
3715 for ac_func in XrmSetDatabase XScreenResourceString \ | 3719 for ac_func in XrmSetDatabase XScreenResourceString \ |
3716 XScreenNumberOfScreen XSetWMProtocols | 3720 XScreenNumberOfScreen XSetWMProtocols |
3717 do | 3721 do |
3718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3719 echo "configure:3720: checking for $ac_func" >&5 | 3723 echo "configure:3724: checking for $ac_func" >&5 |
3720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3721 echo $ac_n "(cached) $ac_c" 1>&6 | 3725 echo $ac_n "(cached) $ac_c" 1>&6 |
3722 else | 3726 else |
3723 cat > conftest.$ac_ext <<EOF | 3727 cat > conftest.$ac_ext <<EOF |
3724 #line 3725 "configure" | 3728 #line 3729 "configure" |
3725 #include "confdefs.h" | 3729 #include "confdefs.h" |
3726 /* System header to define __stub macros and hopefully few prototypes, | 3730 /* System header to define __stub macros and hopefully few prototypes, |
3727 which can conflict with char $ac_func(); below. */ | 3731 which can conflict with char $ac_func(); below. */ |
3728 #include <assert.h> | 3732 #include <assert.h> |
3729 /* Override any gcc2 internal prototype to avoid an error. */ | 3733 /* Override any gcc2 internal prototype to avoid an error. */ |
3742 $ac_func(); | 3746 $ac_func(); |
3743 #endif | 3747 #endif |
3744 | 3748 |
3745 ; return 0; } | 3749 ; return 0; } |
3746 EOF | 3750 EOF |
3747 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3751 if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3748 rm -rf conftest* | 3752 rm -rf conftest* |
3749 eval "ac_cv_func_$ac_func=yes" | 3753 eval "ac_cv_func_$ac_func=yes" |
3750 else | 3754 else |
3751 echo "configure: failed program was:" >&5 | 3755 echo "configure: failed program was:" >&5 |
3752 cat conftest.$ac_ext >&5 | 3756 cat conftest.$ac_ext >&5 |
3770 | 3774 |
3771 fi | 3775 fi |
3772 | 3776 |
3773 if test "${window_system}" = "x11"; then | 3777 if test "${window_system}" = "x11"; then |
3774 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3778 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
3775 echo "configure:3776: checking X11 version 6" >&5 | 3779 echo "configure:3780: checking X11 version 6" >&5 |
3776 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3780 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
3777 echo $ac_n "(cached) $ac_c" 1>&6 | 3781 echo $ac_n "(cached) $ac_c" 1>&6 |
3778 else | 3782 else |
3779 cat > conftest.$ac_ext <<EOF | 3783 cat > conftest.$ac_ext <<EOF |
3780 #line 3781 "configure" | 3784 #line 3785 "configure" |
3781 #include "confdefs.h" | 3785 #include "confdefs.h" |
3782 #include <X11/Xlib.h> | 3786 #include <X11/Xlib.h> |
3783 int main() { | 3787 int main() { |
3784 #if XlibSpecificationRelease < 6 | 3788 #if XlibSpecificationRelease < 6 |
3785 fail; | 3789 fail; |
3786 #endif | 3790 #endif |
3787 | 3791 |
3788 ; return 0; } | 3792 ; return 0; } |
3789 EOF | 3793 EOF |
3790 if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3794 if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3791 rm -rf conftest* | 3795 rm -rf conftest* |
3792 emacs_cv_x11_version_6=yes | 3796 emacs_cv_x11_version_6=yes |
3793 else | 3797 else |
3794 echo "configure: failed program was:" >&5 | 3798 echo "configure: failed program was:" >&5 |
3795 cat conftest.$ac_ext >&5 | 3799 cat conftest.$ac_ext >&5 |
3810 fi | 3814 fi |
3811 fi | 3815 fi |
3812 | 3816 |
3813 if test "${window_system}" = "x11"; then | 3817 if test "${window_system}" = "x11"; then |
3814 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 3818 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
3815 echo "configure:3816: checking X11 version 5" >&5 | 3819 echo "configure:3820: checking X11 version 5" >&5 |
3816 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 3820 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
3817 echo $ac_n "(cached) $ac_c" 1>&6 | 3821 echo $ac_n "(cached) $ac_c" 1>&6 |
3818 else | 3822 else |
3819 cat > conftest.$ac_ext <<EOF | 3823 cat > conftest.$ac_ext <<EOF |
3820 #line 3821 "configure" | 3824 #line 3825 "configure" |
3821 #include "confdefs.h" | 3825 #include "confdefs.h" |
3822 #include <X11/Xlib.h> | 3826 #include <X11/Xlib.h> |
3823 int main() { | 3827 int main() { |
3824 #if XlibSpecificationRelease < 5 | 3828 #if XlibSpecificationRelease < 5 |
3825 fail; | 3829 fail; |
3826 #endif | 3830 #endif |
3827 | 3831 |
3828 ; return 0; } | 3832 ; return 0; } |
3829 EOF | 3833 EOF |
3830 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3834 if { (eval echo configure:3835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3831 rm -rf conftest* | 3835 rm -rf conftest* |
3832 emacs_cv_x11_version_5=yes | 3836 emacs_cv_x11_version_5=yes |
3833 else | 3837 else |
3834 echo "configure: failed program was:" >&5 | 3838 echo "configure: failed program was:" >&5 |
3835 cat conftest.$ac_ext >&5 | 3839 cat conftest.$ac_ext >&5 |
3853 fi | 3857 fi |
3854 | 3858 |
3855 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 3859 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
3856 if test x"${HAVE_X11R5}" = xyes; then | 3860 if test x"${HAVE_X11R5}" = xyes; then |
3857 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 3861 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
3858 echo "configure:3859: checking X11 version 5 with Xaw" >&5 | 3862 echo "configure:3863: checking X11 version 5 with Xaw" >&5 |
3859 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 3863 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
3860 echo $ac_n "(cached) $ac_c" 1>&6 | 3864 echo $ac_n "(cached) $ac_c" 1>&6 |
3861 else | 3865 else |
3862 cat > conftest.$ac_ext <<EOF | 3866 cat > conftest.$ac_ext <<EOF |
3863 #line 3864 "configure" | 3867 #line 3868 "configure" |
3864 #include "confdefs.h" | 3868 #include "confdefs.h" |
3865 | 3869 |
3866 #include <X11/Intrinsic.h> | 3870 #include <X11/Intrinsic.h> |
3867 #include <X11/Xaw/Simple.h> | 3871 #include <X11/Xaw/Simple.h> |
3868 int main() { | 3872 int main() { |
3869 | 3873 |
3870 ; return 0; } | 3874 ; return 0; } |
3871 EOF | 3875 EOF |
3872 if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3876 if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3873 rm -rf conftest* | 3877 rm -rf conftest* |
3874 emacs_cv_x11_version_5_with_xaw=yes | 3878 emacs_cv_x11_version_5_with_xaw=yes |
3875 else | 3879 else |
3876 echo "configure: failed program was:" >&5 | 3880 echo "configure: failed program was:" >&5 |
3877 cat conftest.$ac_ext >&5 | 3881 cat conftest.$ac_ext >&5 |
3895 | 3899 |
3896 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 3900 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
3897 | 3901 |
3898 if test "${USE_X_TOOLKIT}" != "none"; then | 3902 if test "${USE_X_TOOLKIT}" != "none"; then |
3899 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 3903 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
3900 echo "configure:3901: checking X11 toolkit version" >&5 | 3904 echo "configure:3905: checking X11 toolkit version" >&5 |
3901 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 3905 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
3902 echo $ac_n "(cached) $ac_c" 1>&6 | 3906 echo $ac_n "(cached) $ac_c" 1>&6 |
3903 else | 3907 else |
3904 cat > conftest.$ac_ext <<EOF | 3908 cat > conftest.$ac_ext <<EOF |
3905 #line 3906 "configure" | 3909 #line 3910 "configure" |
3906 #include "confdefs.h" | 3910 #include "confdefs.h" |
3907 #include <X11/Intrinsic.h> | 3911 #include <X11/Intrinsic.h> |
3908 int main() { | 3912 int main() { |
3909 #if XtSpecificationRelease < 6 | 3913 #if XtSpecificationRelease < 6 |
3910 fail; | 3914 fail; |
3911 #endif | 3915 #endif |
3912 | 3916 |
3913 ; return 0; } | 3917 ; return 0; } |
3914 EOF | 3918 EOF |
3915 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3919 if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3916 rm -rf conftest* | 3920 rm -rf conftest* |
3917 emacs_cv_x11_toolkit_version_6=yes | 3921 emacs_cv_x11_toolkit_version_6=yes |
3918 else | 3922 else |
3919 echo "configure: failed program was:" >&5 | 3923 echo "configure: failed program was:" >&5 |
3920 cat conftest.$ac_ext >&5 | 3924 cat conftest.$ac_ext >&5 |
3940 LIBS="-lXt -lSM -lICE $LIBS" | 3944 LIBS="-lXt -lSM -lICE $LIBS" |
3941 else | 3945 else |
3942 LIBS="-lXt $LIBS" | 3946 LIBS="-lXt $LIBS" |
3943 fi | 3947 fi |
3944 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 3948 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
3945 echo "configure:3946: checking for XmuConvertStandardSelection in -lXmu" >&5 | 3949 echo "configure:3950: checking for XmuConvertStandardSelection in -lXmu" >&5 |
3946 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 3950 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
3947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3951 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3948 echo $ac_n "(cached) $ac_c" 1>&6 | 3952 echo $ac_n "(cached) $ac_c" 1>&6 |
3949 else | 3953 else |
3950 ac_save_LIBS="$LIBS" | 3954 ac_save_LIBS="$LIBS" |
3951 LIBS="-lXmu $LIBS" | 3955 LIBS="-lXmu $LIBS" |
3952 cat > conftest.$ac_ext <<EOF | 3956 cat > conftest.$ac_ext <<EOF |
3953 #line 3954 "configure" | 3957 #line 3958 "configure" |
3954 #include "confdefs.h" | 3958 #include "confdefs.h" |
3955 /* Override any gcc2 internal prototype to avoid an error. */ | 3959 /* Override any gcc2 internal prototype to avoid an error. */ |
3956 /* We use char because int might match the return type of a gcc2 | 3960 /* We use char because int might match the return type of a gcc2 |
3957 builtin and then its argument prototype would still apply. */ | 3961 builtin and then its argument prototype would still apply. */ |
3958 char XmuConvertStandardSelection(); | 3962 char XmuConvertStandardSelection(); |
3959 | 3963 |
3960 int main() { | 3964 int main() { |
3961 XmuConvertStandardSelection() | 3965 XmuConvertStandardSelection() |
3962 ; return 0; } | 3966 ; return 0; } |
3963 EOF | 3967 EOF |
3964 if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3968 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3965 rm -rf conftest* | 3969 rm -rf conftest* |
3966 eval "ac_cv_lib_$ac_lib_var=yes" | 3970 eval "ac_cv_lib_$ac_lib_var=yes" |
3967 else | 3971 else |
3968 echo "configure: failed program was:" >&5 | 3972 echo "configure: failed program was:" >&5 |
3969 cat conftest.$ac_ext >&5 | 3973 cat conftest.$ac_ext >&5 |
3991 LIBS="$OLDLIBS" | 3995 LIBS="$OLDLIBS" |
3992 fi | 3996 fi |
3993 | 3997 |
3994 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 3998 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
3995 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 3999 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
3996 echo "configure:3997: checking for Motif version 2.1" >&5 | 4000 echo "configure:4001: checking for Motif version 2.1" >&5 |
3997 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4001 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
3998 echo $ac_n "(cached) $ac_c" 1>&6 | 4002 echo $ac_n "(cached) $ac_c" 1>&6 |
3999 else | 4003 else |
4000 cat > conftest.$ac_ext <<EOF | 4004 cat > conftest.$ac_ext <<EOF |
4001 #line 4002 "configure" | 4005 #line 4006 "configure" |
4002 #include "confdefs.h" | 4006 #include "confdefs.h" |
4003 #include <Xm/Xm.h> | 4007 #include <Xm/Xm.h> |
4004 int main() { | 4008 int main() { |
4005 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4009 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4006 int x = 5; | 4010 int x = 5; |
4007 #else | 4011 #else |
4008 Motif version prior to 2.1. | 4012 Motif version prior to 2.1. |
4009 #endif | 4013 #endif |
4010 ; return 0; } | 4014 ; return 0; } |
4011 EOF | 4015 EOF |
4012 if { (eval echo configure:4013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4016 if { (eval echo configure:4017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4013 rm -rf conftest* | 4017 rm -rf conftest* |
4014 emacs_cv_motif_version_2_1=yes | 4018 emacs_cv_motif_version_2_1=yes |
4015 else | 4019 else |
4016 echo "configure: failed program was:" >&5 | 4020 echo "configure: failed program was:" >&5 |
4017 cat conftest.$ac_ext >&5 | 4021 cat conftest.$ac_ext >&5 |
4027 cat >> confdefs.h <<\EOF | 4031 cat >> confdefs.h <<\EOF |
4028 #define HAVE_MOTIF_2_1 1 | 4032 #define HAVE_MOTIF_2_1 1 |
4029 EOF | 4033 EOF |
4030 | 4034 |
4031 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4035 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4032 echo "configure:4033: checking for XpCreateContext in -lXp" >&5 | 4036 echo "configure:4037: checking for XpCreateContext in -lXp" >&5 |
4033 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4037 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4034 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4035 echo $ac_n "(cached) $ac_c" 1>&6 | 4039 echo $ac_n "(cached) $ac_c" 1>&6 |
4036 else | 4040 else |
4037 ac_save_LIBS="$LIBS" | 4041 ac_save_LIBS="$LIBS" |
4038 LIBS="-lXp $LIBS" | 4042 LIBS="-lXp $LIBS" |
4039 cat > conftest.$ac_ext <<EOF | 4043 cat > conftest.$ac_ext <<EOF |
4040 #line 4041 "configure" | 4044 #line 4045 "configure" |
4041 #include "confdefs.h" | 4045 #include "confdefs.h" |
4042 /* Override any gcc2 internal prototype to avoid an error. */ | 4046 /* Override any gcc2 internal prototype to avoid an error. */ |
4043 /* We use char because int might match the return type of a gcc2 | 4047 /* We use char because int might match the return type of a gcc2 |
4044 builtin and then its argument prototype would still apply. */ | 4048 builtin and then its argument prototype would still apply. */ |
4045 char XpCreateContext(); | 4049 char XpCreateContext(); |
4046 | 4050 |
4047 int main() { | 4051 int main() { |
4048 XpCreateContext() | 4052 XpCreateContext() |
4049 ; return 0; } | 4053 ; return 0; } |
4050 EOF | 4054 EOF |
4051 if { (eval echo configure:4052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4055 if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4052 rm -rf conftest* | 4056 rm -rf conftest* |
4053 eval "ac_cv_lib_$ac_lib_var=yes" | 4057 eval "ac_cv_lib_$ac_lib_var=yes" |
4054 else | 4058 else |
4055 echo "configure: failed program was:" >&5 | 4059 echo "configure: failed program was:" >&5 |
4056 cat conftest.$ac_ext >&5 | 4060 cat conftest.$ac_ext >&5 |
4084 if test "${USE_X_TOOLKIT}" != "none"; then | 4088 if test "${USE_X_TOOLKIT}" != "none"; then |
4085 old_c_flags="${CFLAGS}" | 4089 old_c_flags="${CFLAGS}" |
4086 CFLAGS="${LD_SWITCH_X_SITE}" | 4090 CFLAGS="${LD_SWITCH_X_SITE}" |
4087 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4091 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4088 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4092 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4089 echo "configure:4090: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4093 echo "configure:4094: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4094 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4091 echo $ac_n "(cached) $ac_c" 1>&6 | 4095 echo $ac_n "(cached) $ac_c" 1>&6 |
4092 else | 4096 else |
4093 cat > conftest.$ac_ext <<EOF | 4097 cat > conftest.$ac_ext <<EOF |
4094 #line 4095 "configure" | 4098 #line 4099 "configure" |
4095 #include "confdefs.h" | 4099 #include "confdefs.h" |
4096 #include <X11/Xaw3d/Scrollbar.h> | 4100 #include <X11/Xaw3d/Scrollbar.h> |
4097 EOF | 4101 EOF |
4098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4099 { (eval echo configure:4100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4103 { (eval echo configure:4104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4101 if test -z "$ac_err"; then | 4105 if test -z "$ac_err"; then |
4102 rm -rf conftest* | 4106 rm -rf conftest* |
4103 eval "ac_cv_header_$ac_safe=yes" | 4107 eval "ac_cv_header_$ac_safe=yes" |
4104 else | 4108 else |
4111 rm -f conftest* | 4115 rm -f conftest* |
4112 fi | 4116 fi |
4113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4114 echo "$ac_t""yes" 1>&6 | 4118 echo "$ac_t""yes" 1>&6 |
4115 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4119 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4116 echo "configure:4117: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4120 echo "configure:4121: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4117 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4121 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4119 echo $ac_n "(cached) $ac_c" 1>&6 | 4123 echo $ac_n "(cached) $ac_c" 1>&6 |
4120 else | 4124 else |
4121 ac_save_LIBS="$LIBS" | 4125 ac_save_LIBS="$LIBS" |
4122 LIBS="-lXaw3d -lX11 $LIBS" | 4126 LIBS="-lXaw3d -lX11 $LIBS" |
4123 cat > conftest.$ac_ext <<EOF | 4127 cat > conftest.$ac_ext <<EOF |
4124 #line 4125 "configure" | 4128 #line 4129 "configure" |
4125 #include "confdefs.h" | 4129 #include "confdefs.h" |
4126 /* Override any gcc2 internal prototype to avoid an error. */ | 4130 /* Override any gcc2 internal prototype to avoid an error. */ |
4127 /* We use char because int might match the return type of a gcc2 | 4131 /* We use char because int might match the return type of a gcc2 |
4128 builtin and then its argument prototype would still apply. */ | 4132 builtin and then its argument prototype would still apply. */ |
4129 char XawScrollbarSetThumb(); | 4133 char XawScrollbarSetThumb(); |
4130 | 4134 |
4131 int main() { | 4135 int main() { |
4132 XawScrollbarSetThumb() | 4136 XawScrollbarSetThumb() |
4133 ; return 0; } | 4137 ; return 0; } |
4134 EOF | 4138 EOF |
4135 if { (eval echo configure:4136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4136 rm -rf conftest* | 4140 rm -rf conftest* |
4137 eval "ac_cv_lib_$ac_lib_var=yes" | 4141 eval "ac_cv_lib_$ac_lib_var=yes" |
4138 else | 4142 else |
4139 echo "configure: failed program was:" >&5 | 4143 echo "configure: failed program was:" >&5 |
4140 cat conftest.$ac_ext >&5 | 4144 cat conftest.$ac_ext >&5 |
4194 if test "${with_xpm}" != "no"; then | 4198 if test "${with_xpm}" != "no"; then |
4195 old_c_flags="${CFLAGS}" | 4199 old_c_flags="${CFLAGS}" |
4196 CFLAGS="${LD_SWITCH_X_SITE}" | 4200 CFLAGS="${LD_SWITCH_X_SITE}" |
4197 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4201 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4198 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4202 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4199 echo "configure:4200: checking for X11/xpm.h" >&5 | 4203 echo "configure:4204: checking for X11/xpm.h" >&5 |
4200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4204 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4201 echo $ac_n "(cached) $ac_c" 1>&6 | 4205 echo $ac_n "(cached) $ac_c" 1>&6 |
4202 else | 4206 else |
4203 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
4204 #line 4205 "configure" | 4208 #line 4209 "configure" |
4205 #include "confdefs.h" | 4209 #include "confdefs.h" |
4206 #include <X11/xpm.h> | 4210 #include <X11/xpm.h> |
4207 EOF | 4211 EOF |
4208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4209 { (eval echo configure:4210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4213 { (eval echo configure:4214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4211 if test -z "$ac_err"; then | 4215 if test -z "$ac_err"; then |
4212 rm -rf conftest* | 4216 rm -rf conftest* |
4213 eval "ac_cv_header_$ac_safe=yes" | 4217 eval "ac_cv_header_$ac_safe=yes" |
4214 else | 4218 else |
4221 rm -f conftest* | 4225 rm -f conftest* |
4222 fi | 4226 fi |
4223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4227 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4224 echo "$ac_t""yes" 1>&6 | 4228 echo "$ac_t""yes" 1>&6 |
4225 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4229 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4226 echo "configure:4227: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4230 echo "configure:4231: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4227 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4231 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4229 echo $ac_n "(cached) $ac_c" 1>&6 | 4233 echo $ac_n "(cached) $ac_c" 1>&6 |
4230 else | 4234 else |
4231 ac_save_LIBS="$LIBS" | 4235 ac_save_LIBS="$LIBS" |
4232 LIBS="-lXpm -lX11 $LIBS" | 4236 LIBS="-lXpm -lX11 $LIBS" |
4233 cat > conftest.$ac_ext <<EOF | 4237 cat > conftest.$ac_ext <<EOF |
4234 #line 4235 "configure" | 4238 #line 4239 "configure" |
4235 #include "confdefs.h" | 4239 #include "confdefs.h" |
4236 /* Override any gcc2 internal prototype to avoid an error. */ | 4240 /* Override any gcc2 internal prototype to avoid an error. */ |
4237 /* We use char because int might match the return type of a gcc2 | 4241 /* We use char because int might match the return type of a gcc2 |
4238 builtin and then its argument prototype would still apply. */ | 4242 builtin and then its argument prototype would still apply. */ |
4239 char XpmReadFileToPixmap(); | 4243 char XpmReadFileToPixmap(); |
4240 | 4244 |
4241 int main() { | 4245 int main() { |
4242 XpmReadFileToPixmap() | 4246 XpmReadFileToPixmap() |
4243 ; return 0; } | 4247 ; return 0; } |
4244 EOF | 4248 EOF |
4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4246 rm -rf conftest* | 4250 rm -rf conftest* |
4247 eval "ac_cv_lib_$ac_lib_var=yes" | 4251 eval "ac_cv_lib_$ac_lib_var=yes" |
4248 else | 4252 else |
4249 echo "configure: failed program was:" >&5 | 4253 echo "configure: failed program was:" >&5 |
4250 cat conftest.$ac_ext >&5 | 4254 cat conftest.$ac_ext >&5 |
4283 if test "${with_jpeg}" != "no"; then | 4287 if test "${with_jpeg}" != "no"; then |
4284 old_c_flags="${CFLAGS}" | 4288 old_c_flags="${CFLAGS}" |
4285 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4289 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4286 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4290 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4287 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4291 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4288 echo "configure:4289: checking for jerror.h" >&5 | 4292 echo "configure:4293: checking for jerror.h" >&5 |
4289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4293 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4290 echo $ac_n "(cached) $ac_c" 1>&6 | 4294 echo $ac_n "(cached) $ac_c" 1>&6 |
4291 else | 4295 else |
4292 cat > conftest.$ac_ext <<EOF | 4296 cat > conftest.$ac_ext <<EOF |
4293 #line 4294 "configure" | 4297 #line 4298 "configure" |
4294 #include "confdefs.h" | 4298 #include "confdefs.h" |
4295 #include <jerror.h> | 4299 #include <jerror.h> |
4296 EOF | 4300 EOF |
4297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4298 { (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4302 { (eval echo configure:4303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4300 if test -z "$ac_err"; then | 4304 if test -z "$ac_err"; then |
4301 rm -rf conftest* | 4305 rm -rf conftest* |
4302 eval "ac_cv_header_$ac_safe=yes" | 4306 eval "ac_cv_header_$ac_safe=yes" |
4303 else | 4307 else |
4310 rm -f conftest* | 4314 rm -f conftest* |
4311 fi | 4315 fi |
4312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4313 echo "$ac_t""yes" 1>&6 | 4317 echo "$ac_t""yes" 1>&6 |
4314 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4318 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4315 echo "configure:4316: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4319 echo "configure:4320: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4316 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4320 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4318 echo $ac_n "(cached) $ac_c" 1>&6 | 4322 echo $ac_n "(cached) $ac_c" 1>&6 |
4319 else | 4323 else |
4320 ac_save_LIBS="$LIBS" | 4324 ac_save_LIBS="$LIBS" |
4321 LIBS="-ljpeg -lX11 $LIBS" | 4325 LIBS="-ljpeg -lX11 $LIBS" |
4322 cat > conftest.$ac_ext <<EOF | 4326 cat > conftest.$ac_ext <<EOF |
4323 #line 4324 "configure" | 4327 #line 4328 "configure" |
4324 #include "confdefs.h" | 4328 #include "confdefs.h" |
4325 /* Override any gcc2 internal prototype to avoid an error. */ | 4329 /* Override any gcc2 internal prototype to avoid an error. */ |
4326 /* We use char because int might match the return type of a gcc2 | 4330 /* We use char because int might match the return type of a gcc2 |
4327 builtin and then its argument prototype would still apply. */ | 4331 builtin and then its argument prototype would still apply. */ |
4328 char jpeg_destroy_compress(); | 4332 char jpeg_destroy_compress(); |
4329 | 4333 |
4330 int main() { | 4334 int main() { |
4331 jpeg_destroy_compress() | 4335 jpeg_destroy_compress() |
4332 ; return 0; } | 4336 ; return 0; } |
4333 EOF | 4337 EOF |
4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4338 if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4335 rm -rf conftest* | 4339 rm -rf conftest* |
4336 eval "ac_cv_lib_$ac_lib_var=yes" | 4340 eval "ac_cv_lib_$ac_lib_var=yes" |
4337 else | 4341 else |
4338 echo "configure: failed program was:" >&5 | 4342 echo "configure: failed program was:" >&5 |
4339 cat conftest.$ac_ext >&5 | 4343 cat conftest.$ac_ext >&5 |
4372 if test "${with_png}" != "no"; then | 4376 if test "${with_png}" != "no"; then |
4373 old_c_flags="${CFLAGS}" | 4377 old_c_flags="${CFLAGS}" |
4374 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4378 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4375 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4379 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4376 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4380 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4377 echo "configure:4378: checking for png.h" >&5 | 4381 echo "configure:4382: checking for png.h" >&5 |
4378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4382 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4379 echo $ac_n "(cached) $ac_c" 1>&6 | 4383 echo $ac_n "(cached) $ac_c" 1>&6 |
4380 else | 4384 else |
4381 cat > conftest.$ac_ext <<EOF | 4385 cat > conftest.$ac_ext <<EOF |
4382 #line 4383 "configure" | 4386 #line 4387 "configure" |
4383 #include "confdefs.h" | 4387 #include "confdefs.h" |
4384 #include <png.h> | 4388 #include <png.h> |
4385 EOF | 4389 EOF |
4386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4387 { (eval echo configure:4388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4391 { (eval echo configure:4392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4389 if test -z "$ac_err"; then | 4393 if test -z "$ac_err"; then |
4390 rm -rf conftest* | 4394 rm -rf conftest* |
4391 eval "ac_cv_header_$ac_safe=yes" | 4395 eval "ac_cv_header_$ac_safe=yes" |
4392 else | 4396 else |
4399 rm -f conftest* | 4403 rm -f conftest* |
4400 fi | 4404 fi |
4401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4402 echo "$ac_t""yes" 1>&6 | 4406 echo "$ac_t""yes" 1>&6 |
4403 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4407 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4404 echo "configure:4405: checking for png_set_expand in -lpng" >&5 | 4408 echo "configure:4409: checking for png_set_expand in -lpng" >&5 |
4405 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4409 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4407 echo $ac_n "(cached) $ac_c" 1>&6 | 4411 echo $ac_n "(cached) $ac_c" 1>&6 |
4408 else | 4412 else |
4409 ac_save_LIBS="$LIBS" | 4413 ac_save_LIBS="$LIBS" |
4410 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4414 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4411 cat > conftest.$ac_ext <<EOF | 4415 cat > conftest.$ac_ext <<EOF |
4412 #line 4413 "configure" | 4416 #line 4417 "configure" |
4413 #include "confdefs.h" | 4417 #include "confdefs.h" |
4414 /* Override any gcc2 internal prototype to avoid an error. */ | 4418 /* Override any gcc2 internal prototype to avoid an error. */ |
4415 /* We use char because int might match the return type of a gcc2 | 4419 /* We use char because int might match the return type of a gcc2 |
4416 builtin and then its argument prototype would still apply. */ | 4420 builtin and then its argument prototype would still apply. */ |
4417 char png_set_expand(); | 4421 char png_set_expand(); |
4418 | 4422 |
4419 int main() { | 4423 int main() { |
4420 png_set_expand() | 4424 png_set_expand() |
4421 ; return 0; } | 4425 ; return 0; } |
4422 EOF | 4426 EOF |
4423 if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4427 if { (eval echo configure:4428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4424 rm -rf conftest* | 4428 rm -rf conftest* |
4425 eval "ac_cv_lib_$ac_lib_var=yes" | 4429 eval "ac_cv_lib_$ac_lib_var=yes" |
4426 else | 4430 else |
4427 echo "configure: failed program was:" >&5 | 4431 echo "configure: failed program was:" >&5 |
4428 cat conftest.$ac_ext >&5 | 4432 cat conftest.$ac_ext >&5 |
4461 if test "${with_tiff}" != "no"; then | 4465 if test "${with_tiff}" != "no"; then |
4462 old_c_flags="${CFLAGS}" | 4466 old_c_flags="${CFLAGS}" |
4463 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4467 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4464 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4468 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4465 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4469 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4466 echo "configure:4467: checking for tiffio.h" >&5 | 4470 echo "configure:4471: checking for tiffio.h" >&5 |
4467 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4468 echo $ac_n "(cached) $ac_c" 1>&6 | 4472 echo $ac_n "(cached) $ac_c" 1>&6 |
4469 else | 4473 else |
4470 cat > conftest.$ac_ext <<EOF | 4474 cat > conftest.$ac_ext <<EOF |
4471 #line 4472 "configure" | 4475 #line 4476 "configure" |
4472 #include "confdefs.h" | 4476 #include "confdefs.h" |
4473 #include <tiffio.h> | 4477 #include <tiffio.h> |
4474 EOF | 4478 EOF |
4475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4476 { (eval echo configure:4477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4480 { (eval echo configure:4481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4478 if test -z "$ac_err"; then | 4482 if test -z "$ac_err"; then |
4479 rm -rf conftest* | 4483 rm -rf conftest* |
4480 eval "ac_cv_header_$ac_safe=yes" | 4484 eval "ac_cv_header_$ac_safe=yes" |
4481 else | 4485 else |
4491 echo "$ac_t""yes" 1>&6 | 4495 echo "$ac_t""yes" 1>&6 |
4492 tifflibs="-lX11 -lz -lm" | 4496 tifflibs="-lX11 -lz -lm" |
4493 # At least one tiff package requires the jpeg library. | 4497 # At least one tiff package requires the jpeg library. |
4494 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4498 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4495 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4499 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4496 echo "configure:4497: checking for TIFFGetVersion in -ltiff" >&5 | 4500 echo "configure:4501: checking for TIFFGetVersion in -ltiff" >&5 |
4497 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4501 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4502 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4499 echo $ac_n "(cached) $ac_c" 1>&6 | 4503 echo $ac_n "(cached) $ac_c" 1>&6 |
4500 else | 4504 else |
4501 ac_save_LIBS="$LIBS" | 4505 ac_save_LIBS="$LIBS" |
4502 LIBS="-ltiff $tifflibs $LIBS" | 4506 LIBS="-ltiff $tifflibs $LIBS" |
4503 cat > conftest.$ac_ext <<EOF | 4507 cat > conftest.$ac_ext <<EOF |
4504 #line 4505 "configure" | 4508 #line 4509 "configure" |
4505 #include "confdefs.h" | 4509 #include "confdefs.h" |
4506 /* Override any gcc2 internal prototype to avoid an error. */ | 4510 /* Override any gcc2 internal prototype to avoid an error. */ |
4507 /* We use char because int might match the return type of a gcc2 | 4511 /* We use char because int might match the return type of a gcc2 |
4508 builtin and then its argument prototype would still apply. */ | 4512 builtin and then its argument prototype would still apply. */ |
4509 char TIFFGetVersion(); | 4513 char TIFFGetVersion(); |
4510 | 4514 |
4511 int main() { | 4515 int main() { |
4512 TIFFGetVersion() | 4516 TIFFGetVersion() |
4513 ; return 0; } | 4517 ; return 0; } |
4514 EOF | 4518 EOF |
4515 if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4519 if { (eval echo configure:4520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4516 rm -rf conftest* | 4520 rm -rf conftest* |
4517 eval "ac_cv_lib_$ac_lib_var=yes" | 4521 eval "ac_cv_lib_$ac_lib_var=yes" |
4518 else | 4522 else |
4519 echo "configure: failed program was:" >&5 | 4523 echo "configure: failed program was:" >&5 |
4520 cat conftest.$ac_ext >&5 | 4524 cat conftest.$ac_ext >&5 |
4553 if test "${with_gif}" != "no"; then | 4557 if test "${with_gif}" != "no"; then |
4554 old_c_flags="${CFLAGS}" | 4558 old_c_flags="${CFLAGS}" |
4555 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4559 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4556 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4560 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4557 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4561 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4558 echo "configure:4559: checking for gif_lib.h" >&5 | 4562 echo "configure:4563: checking for gif_lib.h" >&5 |
4559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4563 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4560 echo $ac_n "(cached) $ac_c" 1>&6 | 4564 echo $ac_n "(cached) $ac_c" 1>&6 |
4561 else | 4565 else |
4562 cat > conftest.$ac_ext <<EOF | 4566 cat > conftest.$ac_ext <<EOF |
4563 #line 4564 "configure" | 4567 #line 4568 "configure" |
4564 #include "confdefs.h" | 4568 #include "confdefs.h" |
4565 #include <gif_lib.h> | 4569 #include <gif_lib.h> |
4566 EOF | 4570 EOF |
4567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4568 { (eval echo configure:4569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4572 { (eval echo configure:4573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4570 if test -z "$ac_err"; then | 4574 if test -z "$ac_err"; then |
4571 rm -rf conftest* | 4575 rm -rf conftest* |
4572 eval "ac_cv_header_$ac_safe=yes" | 4576 eval "ac_cv_header_$ac_safe=yes" |
4573 else | 4577 else |
4580 rm -f conftest* | 4584 rm -f conftest* |
4581 fi | 4585 fi |
4582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4583 echo "$ac_t""yes" 1>&6 | 4587 echo "$ac_t""yes" 1>&6 |
4584 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4588 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4585 echo "configure:4586: checking for DGifOpen in -lungif" >&5 | 4589 echo "configure:4590: checking for DGifOpen in -lungif" >&5 |
4586 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4590 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4588 echo $ac_n "(cached) $ac_c" 1>&6 | 4592 echo $ac_n "(cached) $ac_c" 1>&6 |
4589 else | 4593 else |
4590 ac_save_LIBS="$LIBS" | 4594 ac_save_LIBS="$LIBS" |
4591 LIBS="-lungif -lX11 $LIBS" | 4595 LIBS="-lungif -lX11 $LIBS" |
4592 cat > conftest.$ac_ext <<EOF | 4596 cat > conftest.$ac_ext <<EOF |
4593 #line 4594 "configure" | 4597 #line 4598 "configure" |
4594 #include "confdefs.h" | 4598 #include "confdefs.h" |
4595 /* Override any gcc2 internal prototype to avoid an error. */ | 4599 /* Override any gcc2 internal prototype to avoid an error. */ |
4596 /* We use char because int might match the return type of a gcc2 | 4600 /* We use char because int might match the return type of a gcc2 |
4597 builtin and then its argument prototype would still apply. */ | 4601 builtin and then its argument prototype would still apply. */ |
4598 char DGifOpen(); | 4602 char DGifOpen(); |
4599 | 4603 |
4600 int main() { | 4604 int main() { |
4601 DGifOpen() | 4605 DGifOpen() |
4602 ; return 0; } | 4606 ; return 0; } |
4603 EOF | 4607 EOF |
4604 if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4608 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4605 rm -rf conftest* | 4609 rm -rf conftest* |
4606 eval "ac_cv_lib_$ac_lib_var=yes" | 4610 eval "ac_cv_lib_$ac_lib_var=yes" |
4607 else | 4611 else |
4608 echo "configure: failed program was:" >&5 | 4612 echo "configure: failed program was:" >&5 |
4609 cat conftest.$ac_ext >&5 | 4613 cat conftest.$ac_ext >&5 |
4636 fi | 4640 fi |
4637 fi | 4641 fi |
4638 | 4642 |
4639 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4643 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4640 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4644 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4641 echo "configure:4642: checking whether netdb declares h_errno" >&5 | 4645 echo "configure:4646: checking whether netdb declares h_errno" >&5 |
4642 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4646 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4643 echo $ac_n "(cached) $ac_c" 1>&6 | 4647 echo $ac_n "(cached) $ac_c" 1>&6 |
4644 else | 4648 else |
4645 cat > conftest.$ac_ext <<EOF | 4649 cat > conftest.$ac_ext <<EOF |
4646 #line 4647 "configure" | 4650 #line 4651 "configure" |
4647 #include "confdefs.h" | 4651 #include "confdefs.h" |
4648 #include <netdb.h> | 4652 #include <netdb.h> |
4649 int main() { | 4653 int main() { |
4650 return h_errno; | 4654 return h_errno; |
4651 ; return 0; } | 4655 ; return 0; } |
4652 EOF | 4656 EOF |
4653 if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4657 if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4654 rm -rf conftest* | 4658 rm -rf conftest* |
4655 emacs_cv_netdb_declares_h_errno=yes | 4659 emacs_cv_netdb_declares_h_errno=yes |
4656 else | 4660 else |
4657 echo "configure: failed program was:" >&5 | 4661 echo "configure: failed program was:" >&5 |
4658 cat conftest.$ac_ext >&5 | 4662 cat conftest.$ac_ext >&5 |
4671 fi | 4675 fi |
4672 | 4676 |
4673 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4677 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4674 # for constant arguments. Useless! | 4678 # for constant arguments. Useless! |
4675 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4679 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4676 echo "configure:4677: checking for working alloca.h" >&5 | 4680 echo "configure:4681: checking for working alloca.h" >&5 |
4677 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4681 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4678 echo $ac_n "(cached) $ac_c" 1>&6 | 4682 echo $ac_n "(cached) $ac_c" 1>&6 |
4679 else | 4683 else |
4680 cat > conftest.$ac_ext <<EOF | 4684 cat > conftest.$ac_ext <<EOF |
4681 #line 4682 "configure" | 4685 #line 4686 "configure" |
4682 #include "confdefs.h" | 4686 #include "confdefs.h" |
4683 #include <alloca.h> | 4687 #include <alloca.h> |
4684 int main() { | 4688 int main() { |
4685 char *p = alloca(2 * sizeof(int)); | 4689 char *p = alloca(2 * sizeof(int)); |
4686 ; return 0; } | 4690 ; return 0; } |
4687 EOF | 4691 EOF |
4688 if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4689 rm -rf conftest* | 4693 rm -rf conftest* |
4690 ac_cv_header_alloca_h=yes | 4694 ac_cv_header_alloca_h=yes |
4691 else | 4695 else |
4692 echo "configure: failed program was:" >&5 | 4696 echo "configure: failed program was:" >&5 |
4693 cat conftest.$ac_ext >&5 | 4697 cat conftest.$ac_ext >&5 |
4704 EOF | 4708 EOF |
4705 | 4709 |
4706 fi | 4710 fi |
4707 | 4711 |
4708 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4712 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4709 echo "configure:4710: checking for alloca" >&5 | 4713 echo "configure:4714: checking for alloca" >&5 |
4710 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4714 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4711 echo $ac_n "(cached) $ac_c" 1>&6 | 4715 echo $ac_n "(cached) $ac_c" 1>&6 |
4712 else | 4716 else |
4713 cat > conftest.$ac_ext <<EOF | 4717 cat > conftest.$ac_ext <<EOF |
4714 #line 4715 "configure" | 4718 #line 4719 "configure" |
4715 #include "confdefs.h" | 4719 #include "confdefs.h" |
4716 | 4720 |
4717 #ifdef __GNUC__ | 4721 #ifdef __GNUC__ |
4718 # define alloca __builtin_alloca | 4722 # define alloca __builtin_alloca |
4719 #else | 4723 #else |
4737 | 4741 |
4738 int main() { | 4742 int main() { |
4739 char *p = (char *) alloca(1); | 4743 char *p = (char *) alloca(1); |
4740 ; return 0; } | 4744 ; return 0; } |
4741 EOF | 4745 EOF |
4742 if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4746 if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4743 rm -rf conftest* | 4747 rm -rf conftest* |
4744 ac_cv_func_alloca_works=yes | 4748 ac_cv_func_alloca_works=yes |
4745 else | 4749 else |
4746 echo "configure: failed program was:" >&5 | 4750 echo "configure: failed program was:" >&5 |
4747 cat conftest.$ac_ext >&5 | 4751 cat conftest.$ac_ext >&5 |
4769 #define C_ALLOCA 1 | 4773 #define C_ALLOCA 1 |
4770 EOF | 4774 EOF |
4771 | 4775 |
4772 | 4776 |
4773 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4777 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
4774 echo "configure:4775: checking whether alloca needs Cray hooks" >&5 | 4778 echo "configure:4779: checking whether alloca needs Cray hooks" >&5 |
4775 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4779 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
4776 echo $ac_n "(cached) $ac_c" 1>&6 | 4780 echo $ac_n "(cached) $ac_c" 1>&6 |
4777 else | 4781 else |
4778 cat > conftest.$ac_ext <<EOF | 4782 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4783 #line 4784 "configure" |
4780 #include "confdefs.h" | 4784 #include "confdefs.h" |
4781 #if defined(CRAY) && ! defined(CRAY2) | 4785 #if defined(CRAY) && ! defined(CRAY2) |
4782 webecray | 4786 webecray |
4783 #else | 4787 #else |
4784 wenotbecray | 4788 wenotbecray |
4799 | 4803 |
4800 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 4804 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
4801 if test $ac_cv_os_cray = yes; then | 4805 if test $ac_cv_os_cray = yes; then |
4802 for ac_func in _getb67 GETB67 getb67; do | 4806 for ac_func in _getb67 GETB67 getb67; do |
4803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4804 echo "configure:4805: checking for $ac_func" >&5 | 4808 echo "configure:4809: checking for $ac_func" >&5 |
4805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4806 echo $ac_n "(cached) $ac_c" 1>&6 | 4810 echo $ac_n "(cached) $ac_c" 1>&6 |
4807 else | 4811 else |
4808 cat > conftest.$ac_ext <<EOF | 4812 cat > conftest.$ac_ext <<EOF |
4809 #line 4810 "configure" | 4813 #line 4814 "configure" |
4810 #include "confdefs.h" | 4814 #include "confdefs.h" |
4811 /* System header to define __stub macros and hopefully few prototypes, | 4815 /* System header to define __stub macros and hopefully few prototypes, |
4812 which can conflict with char $ac_func(); below. */ | 4816 which can conflict with char $ac_func(); below. */ |
4813 #include <assert.h> | 4817 #include <assert.h> |
4814 /* Override any gcc2 internal prototype to avoid an error. */ | 4818 /* Override any gcc2 internal prototype to avoid an error. */ |
4827 $ac_func(); | 4831 $ac_func(); |
4828 #endif | 4832 #endif |
4829 | 4833 |
4830 ; return 0; } | 4834 ; return 0; } |
4831 EOF | 4835 EOF |
4832 if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4833 rm -rf conftest* | 4837 rm -rf conftest* |
4834 eval "ac_cv_func_$ac_func=yes" | 4838 eval "ac_cv_func_$ac_func=yes" |
4835 else | 4839 else |
4836 echo "configure: failed program was:" >&5 | 4840 echo "configure: failed program was:" >&5 |
4837 cat conftest.$ac_ext >&5 | 4841 cat conftest.$ac_ext >&5 |
4854 | 4858 |
4855 done | 4859 done |
4856 fi | 4860 fi |
4857 | 4861 |
4858 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 4862 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
4859 echo "configure:4860: checking stack direction for C alloca" >&5 | 4863 echo "configure:4864: checking stack direction for C alloca" >&5 |
4860 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 4864 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
4861 echo $ac_n "(cached) $ac_c" 1>&6 | 4865 echo $ac_n "(cached) $ac_c" 1>&6 |
4862 else | 4866 else |
4863 if test "$cross_compiling" = yes; then | 4867 if test "$cross_compiling" = yes; then |
4864 ac_cv_c_stack_direction=0 | 4868 ac_cv_c_stack_direction=0 |
4865 else | 4869 else |
4866 cat > conftest.$ac_ext <<EOF | 4870 cat > conftest.$ac_ext <<EOF |
4867 #line 4868 "configure" | 4871 #line 4872 "configure" |
4868 #include "confdefs.h" | 4872 #include "confdefs.h" |
4869 find_stack_direction () | 4873 find_stack_direction () |
4870 { | 4874 { |
4871 static char *addr = 0; | 4875 static char *addr = 0; |
4872 auto char dummy; | 4876 auto char dummy; |
4881 main () | 4885 main () |
4882 { | 4886 { |
4883 exit (find_stack_direction() < 0); | 4887 exit (find_stack_direction() < 0); |
4884 } | 4888 } |
4885 EOF | 4889 EOF |
4886 if { (eval echo configure:4887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4887 then | 4891 then |
4888 ac_cv_c_stack_direction=1 | 4892 ac_cv_c_stack_direction=1 |
4889 else | 4893 else |
4890 echo "configure: failed program was:" >&5 | 4894 echo "configure: failed program was:" >&5 |
4891 cat conftest.$ac_ext >&5 | 4895 cat conftest.$ac_ext >&5 |
4906 | 4910 |
4907 | 4911 |
4908 # fmod, logb, and frexp are found in -lm on most systems. | 4912 # fmod, logb, and frexp are found in -lm on most systems. |
4909 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 4913 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
4910 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 4914 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
4911 echo "configure:4912: checking for sqrt in -lm" >&5 | 4915 echo "configure:4916: checking for sqrt in -lm" >&5 |
4912 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 4916 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
4913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4917 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4914 echo $ac_n "(cached) $ac_c" 1>&6 | 4918 echo $ac_n "(cached) $ac_c" 1>&6 |
4915 else | 4919 else |
4916 ac_save_LIBS="$LIBS" | 4920 ac_save_LIBS="$LIBS" |
4917 LIBS="-lm $LIBS" | 4921 LIBS="-lm $LIBS" |
4918 cat > conftest.$ac_ext <<EOF | 4922 cat > conftest.$ac_ext <<EOF |
4919 #line 4920 "configure" | 4923 #line 4924 "configure" |
4920 #include "confdefs.h" | 4924 #include "confdefs.h" |
4921 /* Override any gcc2 internal prototype to avoid an error. */ | 4925 /* Override any gcc2 internal prototype to avoid an error. */ |
4922 /* We use char because int might match the return type of a gcc2 | 4926 /* We use char because int might match the return type of a gcc2 |
4923 builtin and then its argument prototype would still apply. */ | 4927 builtin and then its argument prototype would still apply. */ |
4924 char sqrt(); | 4928 char sqrt(); |
4925 | 4929 |
4926 int main() { | 4930 int main() { |
4927 sqrt() | 4931 sqrt() |
4928 ; return 0; } | 4932 ; return 0; } |
4929 EOF | 4933 EOF |
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4931 rm -rf conftest* | 4935 rm -rf conftest* |
4932 eval "ac_cv_lib_$ac_lib_var=yes" | 4936 eval "ac_cv_lib_$ac_lib_var=yes" |
4933 else | 4937 else |
4934 echo "configure: failed program was:" >&5 | 4938 echo "configure: failed program was:" >&5 |
4935 cat conftest.$ac_ext >&5 | 4939 cat conftest.$ac_ext >&5 |
4955 fi | 4959 fi |
4956 | 4960 |
4957 | 4961 |
4958 # Check for mail-locking functions in a "mail" library | 4962 # Check for mail-locking functions in a "mail" library |
4959 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 4963 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
4960 echo "configure:4961: checking for maillock in -lmail" >&5 | 4964 echo "configure:4965: checking for maillock in -lmail" >&5 |
4961 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 4965 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
4962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4963 echo $ac_n "(cached) $ac_c" 1>&6 | 4967 echo $ac_n "(cached) $ac_c" 1>&6 |
4964 else | 4968 else |
4965 ac_save_LIBS="$LIBS" | 4969 ac_save_LIBS="$LIBS" |
4966 LIBS="-lmail $LIBS" | 4970 LIBS="-lmail $LIBS" |
4967 cat > conftest.$ac_ext <<EOF | 4971 cat > conftest.$ac_ext <<EOF |
4968 #line 4969 "configure" | 4972 #line 4973 "configure" |
4969 #include "confdefs.h" | 4973 #include "confdefs.h" |
4970 /* Override any gcc2 internal prototype to avoid an error. */ | 4974 /* Override any gcc2 internal prototype to avoid an error. */ |
4971 /* We use char because int might match the return type of a gcc2 | 4975 /* We use char because int might match the return type of a gcc2 |
4972 builtin and then its argument prototype would still apply. */ | 4976 builtin and then its argument prototype would still apply. */ |
4973 char maillock(); | 4977 char maillock(); |
4974 | 4978 |
4975 int main() { | 4979 int main() { |
4976 maillock() | 4980 maillock() |
4977 ; return 0; } | 4981 ; return 0; } |
4978 EOF | 4982 EOF |
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4980 rm -rf conftest* | 4984 rm -rf conftest* |
4981 eval "ac_cv_lib_$ac_lib_var=yes" | 4985 eval "ac_cv_lib_$ac_lib_var=yes" |
4982 else | 4986 else |
4983 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
4984 cat conftest.$ac_ext >&5 | 4988 cat conftest.$ac_ext >&5 |
5002 else | 5006 else |
5003 echo "$ac_t""no" 1>&6 | 5007 echo "$ac_t""no" 1>&6 |
5004 fi | 5008 fi |
5005 | 5009 |
5006 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5010 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5007 echo "configure:5008: checking for maillock in -llockfile" >&5 | 5011 echo "configure:5012: checking for maillock in -llockfile" >&5 |
5008 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5012 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5010 echo $ac_n "(cached) $ac_c" 1>&6 | 5014 echo $ac_n "(cached) $ac_c" 1>&6 |
5011 else | 5015 else |
5012 ac_save_LIBS="$LIBS" | 5016 ac_save_LIBS="$LIBS" |
5013 LIBS="-llockfile $LIBS" | 5017 LIBS="-llockfile $LIBS" |
5014 cat > conftest.$ac_ext <<EOF | 5018 cat > conftest.$ac_ext <<EOF |
5015 #line 5016 "configure" | 5019 #line 5020 "configure" |
5016 #include "confdefs.h" | 5020 #include "confdefs.h" |
5017 /* Override any gcc2 internal prototype to avoid an error. */ | 5021 /* Override any gcc2 internal prototype to avoid an error. */ |
5018 /* We use char because int might match the return type of a gcc2 | 5022 /* We use char because int might match the return type of a gcc2 |
5019 builtin and then its argument prototype would still apply. */ | 5023 builtin and then its argument prototype would still apply. */ |
5020 char maillock(); | 5024 char maillock(); |
5021 | 5025 |
5022 int main() { | 5026 int main() { |
5023 maillock() | 5027 maillock() |
5024 ; return 0; } | 5028 ; return 0; } |
5025 EOF | 5029 EOF |
5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5027 rm -rf conftest* | 5031 rm -rf conftest* |
5028 eval "ac_cv_lib_$ac_lib_var=yes" | 5032 eval "ac_cv_lib_$ac_lib_var=yes" |
5029 else | 5033 else |
5030 echo "configure: failed program was:" >&5 | 5034 echo "configure: failed program was:" >&5 |
5031 cat conftest.$ac_ext >&5 | 5035 cat conftest.$ac_ext >&5 |
5055 # (no liblockfile.a installed), ensure that we don't need to. | 5059 # (no liblockfile.a installed), ensure that we don't need to. |
5056 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5060 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5057 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5061 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5058 set dummy liblockfile.so; ac_word=$2 | 5062 set dummy liblockfile.so; ac_word=$2 |
5059 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5060 echo "configure:5061: checking for $ac_word" >&5 | 5064 echo "configure:5065: checking for $ac_word" >&5 |
5061 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5065 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5062 echo $ac_n "(cached) $ac_c" 1>&6 | 5066 echo $ac_n "(cached) $ac_c" 1>&6 |
5063 else | 5067 else |
5064 if test -n "$liblockfile"; then | 5068 if test -n "$liblockfile"; then |
5065 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5069 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5096 else : | 5100 else : |
5097 fi | 5101 fi |
5098 for ac_func in touchlock | 5102 for ac_func in touchlock |
5099 do | 5103 do |
5100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5101 echo "configure:5102: checking for $ac_func" >&5 | 5105 echo "configure:5106: checking for $ac_func" >&5 |
5102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5103 echo $ac_n "(cached) $ac_c" 1>&6 | 5107 echo $ac_n "(cached) $ac_c" 1>&6 |
5104 else | 5108 else |
5105 cat > conftest.$ac_ext <<EOF | 5109 cat > conftest.$ac_ext <<EOF |
5106 #line 5107 "configure" | 5110 #line 5111 "configure" |
5107 #include "confdefs.h" | 5111 #include "confdefs.h" |
5108 /* System header to define __stub macros and hopefully few prototypes, | 5112 /* System header to define __stub macros and hopefully few prototypes, |
5109 which can conflict with char $ac_func(); below. */ | 5113 which can conflict with char $ac_func(); below. */ |
5110 #include <assert.h> | 5114 #include <assert.h> |
5111 /* Override any gcc2 internal prototype to avoid an error. */ | 5115 /* Override any gcc2 internal prototype to avoid an error. */ |
5124 $ac_func(); | 5128 $ac_func(); |
5125 #endif | 5129 #endif |
5126 | 5130 |
5127 ; return 0; } | 5131 ; return 0; } |
5128 EOF | 5132 EOF |
5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5133 if { (eval echo configure:5134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5130 rm -rf conftest* | 5134 rm -rf conftest* |
5131 eval "ac_cv_func_$ac_func=yes" | 5135 eval "ac_cv_func_$ac_func=yes" |
5132 else | 5136 else |
5133 echo "configure: failed program was:" >&5 | 5137 echo "configure: failed program was:" >&5 |
5134 cat conftest.$ac_ext >&5 | 5138 cat conftest.$ac_ext >&5 |
5152 | 5156 |
5153 for ac_hdr in maillock.h | 5157 for ac_hdr in maillock.h |
5154 do | 5158 do |
5155 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5159 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5160 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5157 echo "configure:5158: checking for $ac_hdr" >&5 | 5161 echo "configure:5162: checking for $ac_hdr" >&5 |
5158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5162 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5159 echo $ac_n "(cached) $ac_c" 1>&6 | 5163 echo $ac_n "(cached) $ac_c" 1>&6 |
5160 else | 5164 else |
5161 cat > conftest.$ac_ext <<EOF | 5165 cat > conftest.$ac_ext <<EOF |
5162 #line 5163 "configure" | 5166 #line 5167 "configure" |
5163 #include "confdefs.h" | 5167 #include "confdefs.h" |
5164 #include <$ac_hdr> | 5168 #include <$ac_hdr> |
5165 EOF | 5169 EOF |
5166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5167 { (eval echo configure:5168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5171 { (eval echo configure:5172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5169 if test -z "$ac_err"; then | 5173 if test -z "$ac_err"; then |
5170 rm -rf conftest* | 5174 rm -rf conftest* |
5171 eval "ac_cv_header_$ac_safe=yes" | 5175 eval "ac_cv_header_$ac_safe=yes" |
5172 else | 5176 else |
5197 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5201 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5198 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5202 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5199 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5203 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm |
5200 do | 5204 do |
5201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5202 echo "configure:5203: checking for $ac_func" >&5 | 5206 echo "configure:5207: checking for $ac_func" >&5 |
5203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5204 echo $ac_n "(cached) $ac_c" 1>&6 | 5208 echo $ac_n "(cached) $ac_c" 1>&6 |
5205 else | 5209 else |
5206 cat > conftest.$ac_ext <<EOF | 5210 cat > conftest.$ac_ext <<EOF |
5207 #line 5208 "configure" | 5211 #line 5212 "configure" |
5208 #include "confdefs.h" | 5212 #include "confdefs.h" |
5209 /* System header to define __stub macros and hopefully few prototypes, | 5213 /* System header to define __stub macros and hopefully few prototypes, |
5210 which can conflict with char $ac_func(); below. */ | 5214 which can conflict with char $ac_func(); below. */ |
5211 #include <assert.h> | 5215 #include <assert.h> |
5212 /* Override any gcc2 internal prototype to avoid an error. */ | 5216 /* Override any gcc2 internal prototype to avoid an error. */ |
5225 $ac_func(); | 5229 $ac_func(); |
5226 #endif | 5230 #endif |
5227 | 5231 |
5228 ; return 0; } | 5232 ; return 0; } |
5229 EOF | 5233 EOF |
5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5231 rm -rf conftest* | 5235 rm -rf conftest* |
5232 eval "ac_cv_func_$ac_func=yes" | 5236 eval "ac_cv_func_$ac_func=yes" |
5233 else | 5237 else |
5234 echo "configure: failed program was:" >&5 | 5238 echo "configure: failed program was:" >&5 |
5235 cat conftest.$ac_ext >&5 | 5239 cat conftest.$ac_ext >&5 |
5255 # Check this now, so that we will NOT find the above functions in ncurses. | 5259 # Check this now, so that we will NOT find the above functions in ncurses. |
5256 # That is because we have not set up to link ncurses in lib-src. | 5260 # That is because we have not set up to link ncurses in lib-src. |
5257 # It's better to believe a function is not available | 5261 # It's better to believe a function is not available |
5258 # than to expect to find it in ncurses. | 5262 # than to expect to find it in ncurses. |
5259 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5263 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5260 echo "configure:5261: checking for tparm in -lncurses" >&5 | 5264 echo "configure:5265: checking for tparm in -lncurses" >&5 |
5261 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5265 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5263 echo $ac_n "(cached) $ac_c" 1>&6 | 5267 echo $ac_n "(cached) $ac_c" 1>&6 |
5264 else | 5268 else |
5265 ac_save_LIBS="$LIBS" | 5269 ac_save_LIBS="$LIBS" |
5266 LIBS="-lncurses $LIBS" | 5270 LIBS="-lncurses $LIBS" |
5267 cat > conftest.$ac_ext <<EOF | 5271 cat > conftest.$ac_ext <<EOF |
5268 #line 5269 "configure" | 5272 #line 5273 "configure" |
5269 #include "confdefs.h" | 5273 #include "confdefs.h" |
5270 /* Override any gcc2 internal prototype to avoid an error. */ | 5274 /* Override any gcc2 internal prototype to avoid an error. */ |
5271 /* We use char because int might match the return type of a gcc2 | 5275 /* We use char because int might match the return type of a gcc2 |
5272 builtin and then its argument prototype would still apply. */ | 5276 builtin and then its argument prototype would still apply. */ |
5273 char tparm(); | 5277 char tparm(); |
5274 | 5278 |
5275 int main() { | 5279 int main() { |
5276 tparm() | 5280 tparm() |
5277 ; return 0; } | 5281 ; return 0; } |
5278 EOF | 5282 EOF |
5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5283 if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5280 rm -rf conftest* | 5284 rm -rf conftest* |
5281 eval "ac_cv_lib_$ac_lib_var=yes" | 5285 eval "ac_cv_lib_$ac_lib_var=yes" |
5282 else | 5286 else |
5283 echo "configure: failed program was:" >&5 | 5287 echo "configure: failed program was:" >&5 |
5284 cat conftest.$ac_ext >&5 | 5288 cat conftest.$ac_ext >&5 |
5305 | 5309 |
5306 | 5310 |
5307 # These tell us which Kerberos-related libraries to use. | 5311 # These tell us which Kerberos-related libraries to use. |
5308 if test "${with_kerberos+set}" = set; then | 5312 if test "${with_kerberos+set}" = set; then |
5309 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 5313 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5310 echo "configure:5311: checking for com_err in -lcom_err" >&5 | 5314 echo "configure:5315: checking for com_err in -lcom_err" >&5 |
5311 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 5315 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5313 echo $ac_n "(cached) $ac_c" 1>&6 | 5317 echo $ac_n "(cached) $ac_c" 1>&6 |
5314 else | 5318 else |
5315 ac_save_LIBS="$LIBS" | 5319 ac_save_LIBS="$LIBS" |
5316 LIBS="-lcom_err $LIBS" | 5320 LIBS="-lcom_err $LIBS" |
5317 cat > conftest.$ac_ext <<EOF | 5321 cat > conftest.$ac_ext <<EOF |
5318 #line 5319 "configure" | 5322 #line 5323 "configure" |
5319 #include "confdefs.h" | 5323 #include "confdefs.h" |
5320 /* Override any gcc2 internal prototype to avoid an error. */ | 5324 /* Override any gcc2 internal prototype to avoid an error. */ |
5321 /* We use char because int might match the return type of a gcc2 | 5325 /* We use char because int might match the return type of a gcc2 |
5322 builtin and then its argument prototype would still apply. */ | 5326 builtin and then its argument prototype would still apply. */ |
5323 char com_err(); | 5327 char com_err(); |
5324 | 5328 |
5325 int main() { | 5329 int main() { |
5326 com_err() | 5330 com_err() |
5327 ; return 0; } | 5331 ; return 0; } |
5328 EOF | 5332 EOF |
5329 if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5333 if { (eval echo configure:5334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5330 rm -rf conftest* | 5334 rm -rf conftest* |
5331 eval "ac_cv_lib_$ac_lib_var=yes" | 5335 eval "ac_cv_lib_$ac_lib_var=yes" |
5332 else | 5336 else |
5333 echo "configure: failed program was:" >&5 | 5337 echo "configure: failed program was:" >&5 |
5334 cat conftest.$ac_ext >&5 | 5338 cat conftest.$ac_ext >&5 |
5352 else | 5356 else |
5353 echo "$ac_t""no" 1>&6 | 5357 echo "$ac_t""no" 1>&6 |
5354 fi | 5358 fi |
5355 | 5359 |
5356 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5357 echo "configure:5358: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 5361 echo "configure:5362: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5358 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5362 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5360 echo $ac_n "(cached) $ac_c" 1>&6 | 5364 echo $ac_n "(cached) $ac_c" 1>&6 |
5361 else | 5365 else |
5362 ac_save_LIBS="$LIBS" | 5366 ac_save_LIBS="$LIBS" |
5363 LIBS="-lk5crypto $LIBS" | 5367 LIBS="-lk5crypto $LIBS" |
5364 cat > conftest.$ac_ext <<EOF | 5368 cat > conftest.$ac_ext <<EOF |
5365 #line 5366 "configure" | 5369 #line 5370 "configure" |
5366 #include "confdefs.h" | 5370 #include "confdefs.h" |
5367 /* Override any gcc2 internal prototype to avoid an error. */ | 5371 /* Override any gcc2 internal prototype to avoid an error. */ |
5368 /* We use char because int might match the return type of a gcc2 | 5372 /* We use char because int might match the return type of a gcc2 |
5369 builtin and then its argument prototype would still apply. */ | 5373 builtin and then its argument prototype would still apply. */ |
5370 char mit_des_cbc_encrypt(); | 5374 char mit_des_cbc_encrypt(); |
5371 | 5375 |
5372 int main() { | 5376 int main() { |
5373 mit_des_cbc_encrypt() | 5377 mit_des_cbc_encrypt() |
5374 ; return 0; } | 5378 ; return 0; } |
5375 EOF | 5379 EOF |
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5380 if { (eval echo configure:5381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5377 rm -rf conftest* | 5381 rm -rf conftest* |
5378 eval "ac_cv_lib_$ac_lib_var=yes" | 5382 eval "ac_cv_lib_$ac_lib_var=yes" |
5379 else | 5383 else |
5380 echo "configure: failed program was:" >&5 | 5384 echo "configure: failed program was:" >&5 |
5381 cat conftest.$ac_ext >&5 | 5385 cat conftest.$ac_ext >&5 |
5399 else | 5403 else |
5400 echo "$ac_t""no" 1>&6 | 5404 echo "$ac_t""no" 1>&6 |
5401 fi | 5405 fi |
5402 | 5406 |
5403 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 5407 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
5404 echo "configure:5405: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 5408 echo "configure:5409: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
5405 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5409 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5407 echo $ac_n "(cached) $ac_c" 1>&6 | 5411 echo $ac_n "(cached) $ac_c" 1>&6 |
5408 else | 5412 else |
5409 ac_save_LIBS="$LIBS" | 5413 ac_save_LIBS="$LIBS" |
5410 LIBS="-lcrypto $LIBS" | 5414 LIBS="-lcrypto $LIBS" |
5411 cat > conftest.$ac_ext <<EOF | 5415 cat > conftest.$ac_ext <<EOF |
5412 #line 5413 "configure" | 5416 #line 5417 "configure" |
5413 #include "confdefs.h" | 5417 #include "confdefs.h" |
5414 /* Override any gcc2 internal prototype to avoid an error. */ | 5418 /* Override any gcc2 internal prototype to avoid an error. */ |
5415 /* We use char because int might match the return type of a gcc2 | 5419 /* We use char because int might match the return type of a gcc2 |
5416 builtin and then its argument prototype would still apply. */ | 5420 builtin and then its argument prototype would still apply. */ |
5417 char mit_des_cbc_encrypt(); | 5421 char mit_des_cbc_encrypt(); |
5418 | 5422 |
5419 int main() { | 5423 int main() { |
5420 mit_des_cbc_encrypt() | 5424 mit_des_cbc_encrypt() |
5421 ; return 0; } | 5425 ; return 0; } |
5422 EOF | 5426 EOF |
5423 if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5427 if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5424 rm -rf conftest* | 5428 rm -rf conftest* |
5425 eval "ac_cv_lib_$ac_lib_var=yes" | 5429 eval "ac_cv_lib_$ac_lib_var=yes" |
5426 else | 5430 else |
5427 echo "configure: failed program was:" >&5 | 5431 echo "configure: failed program was:" >&5 |
5428 cat conftest.$ac_ext >&5 | 5432 cat conftest.$ac_ext >&5 |
5446 else | 5450 else |
5447 echo "$ac_t""no" 1>&6 | 5451 echo "$ac_t""no" 1>&6 |
5448 fi | 5452 fi |
5449 | 5453 |
5450 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 5454 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
5451 echo "configure:5452: checking for krb5_init_context in -lkrb5" >&5 | 5455 echo "configure:5456: checking for krb5_init_context in -lkrb5" >&5 |
5452 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 5456 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
5453 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5454 echo $ac_n "(cached) $ac_c" 1>&6 | 5458 echo $ac_n "(cached) $ac_c" 1>&6 |
5455 else | 5459 else |
5456 ac_save_LIBS="$LIBS" | 5460 ac_save_LIBS="$LIBS" |
5457 LIBS="-lkrb5 $LIBS" | 5461 LIBS="-lkrb5 $LIBS" |
5458 cat > conftest.$ac_ext <<EOF | 5462 cat > conftest.$ac_ext <<EOF |
5459 #line 5460 "configure" | 5463 #line 5464 "configure" |
5460 #include "confdefs.h" | 5464 #include "confdefs.h" |
5461 /* Override any gcc2 internal prototype to avoid an error. */ | 5465 /* Override any gcc2 internal prototype to avoid an error. */ |
5462 /* We use char because int might match the return type of a gcc2 | 5466 /* We use char because int might match the return type of a gcc2 |
5463 builtin and then its argument prototype would still apply. */ | 5467 builtin and then its argument prototype would still apply. */ |
5464 char krb5_init_context(); | 5468 char krb5_init_context(); |
5465 | 5469 |
5466 int main() { | 5470 int main() { |
5467 krb5_init_context() | 5471 krb5_init_context() |
5468 ; return 0; } | 5472 ; return 0; } |
5469 EOF | 5473 EOF |
5470 if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5474 if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5471 rm -rf conftest* | 5475 rm -rf conftest* |
5472 eval "ac_cv_lib_$ac_lib_var=yes" | 5476 eval "ac_cv_lib_$ac_lib_var=yes" |
5473 else | 5477 else |
5474 echo "configure: failed program was:" >&5 | 5478 echo "configure: failed program was:" >&5 |
5475 cat conftest.$ac_ext >&5 | 5479 cat conftest.$ac_ext >&5 |
5494 echo "$ac_t""no" 1>&6 | 5498 echo "$ac_t""no" 1>&6 |
5495 fi | 5499 fi |
5496 | 5500 |
5497 if test "${with_kerberos5+set}" != set; then | 5501 if test "${with_kerberos5+set}" != set; then |
5498 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 5502 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
5499 echo "configure:5500: checking for des_cbc_encrypt in -ldes425" >&5 | 5503 echo "configure:5504: checking for des_cbc_encrypt in -ldes425" >&5 |
5500 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5504 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5502 echo $ac_n "(cached) $ac_c" 1>&6 | 5506 echo $ac_n "(cached) $ac_c" 1>&6 |
5503 else | 5507 else |
5504 ac_save_LIBS="$LIBS" | 5508 ac_save_LIBS="$LIBS" |
5505 LIBS="-ldes425 $LIBS" | 5509 LIBS="-ldes425 $LIBS" |
5506 cat > conftest.$ac_ext <<EOF | 5510 cat > conftest.$ac_ext <<EOF |
5507 #line 5508 "configure" | 5511 #line 5512 "configure" |
5508 #include "confdefs.h" | 5512 #include "confdefs.h" |
5509 /* Override any gcc2 internal prototype to avoid an error. */ | 5513 /* Override any gcc2 internal prototype to avoid an error. */ |
5510 /* We use char because int might match the return type of a gcc2 | 5514 /* We use char because int might match the return type of a gcc2 |
5511 builtin and then its argument prototype would still apply. */ | 5515 builtin and then its argument prototype would still apply. */ |
5512 char des_cbc_encrypt(); | 5516 char des_cbc_encrypt(); |
5513 | 5517 |
5514 int main() { | 5518 int main() { |
5515 des_cbc_encrypt() | 5519 des_cbc_encrypt() |
5516 ; return 0; } | 5520 ; return 0; } |
5517 EOF | 5521 EOF |
5518 if { (eval echo configure:5519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5519 rm -rf conftest* | 5523 rm -rf conftest* |
5520 eval "ac_cv_lib_$ac_lib_var=yes" | 5524 eval "ac_cv_lib_$ac_lib_var=yes" |
5521 else | 5525 else |
5522 echo "configure: failed program was:" >&5 | 5526 echo "configure: failed program was:" >&5 |
5523 cat conftest.$ac_ext >&5 | 5527 cat conftest.$ac_ext >&5 |
5539 LIBS="-ldes425 $LIBS" | 5543 LIBS="-ldes425 $LIBS" |
5540 | 5544 |
5541 else | 5545 else |
5542 echo "$ac_t""no" 1>&6 | 5546 echo "$ac_t""no" 1>&6 |
5543 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 5547 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
5544 echo "configure:5545: checking for des_cbc_encrypt in -ldes" >&5 | 5548 echo "configure:5549: checking for des_cbc_encrypt in -ldes" >&5 |
5545 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5549 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5547 echo $ac_n "(cached) $ac_c" 1>&6 | 5551 echo $ac_n "(cached) $ac_c" 1>&6 |
5548 else | 5552 else |
5549 ac_save_LIBS="$LIBS" | 5553 ac_save_LIBS="$LIBS" |
5550 LIBS="-ldes $LIBS" | 5554 LIBS="-ldes $LIBS" |
5551 cat > conftest.$ac_ext <<EOF | 5555 cat > conftest.$ac_ext <<EOF |
5552 #line 5553 "configure" | 5556 #line 5557 "configure" |
5553 #include "confdefs.h" | 5557 #include "confdefs.h" |
5554 /* Override any gcc2 internal prototype to avoid an error. */ | 5558 /* Override any gcc2 internal prototype to avoid an error. */ |
5555 /* We use char because int might match the return type of a gcc2 | 5559 /* We use char because int might match the return type of a gcc2 |
5556 builtin and then its argument prototype would still apply. */ | 5560 builtin and then its argument prototype would still apply. */ |
5557 char des_cbc_encrypt(); | 5561 char des_cbc_encrypt(); |
5558 | 5562 |
5559 int main() { | 5563 int main() { |
5560 des_cbc_encrypt() | 5564 des_cbc_encrypt() |
5561 ; return 0; } | 5565 ; return 0; } |
5562 EOF | 5566 EOF |
5563 if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5564 rm -rf conftest* | 5568 rm -rf conftest* |
5565 eval "ac_cv_lib_$ac_lib_var=yes" | 5569 eval "ac_cv_lib_$ac_lib_var=yes" |
5566 else | 5570 else |
5567 echo "configure: failed program was:" >&5 | 5571 echo "configure: failed program was:" >&5 |
5568 cat conftest.$ac_ext >&5 | 5572 cat conftest.$ac_ext >&5 |
5588 fi | 5592 fi |
5589 | 5593 |
5590 fi | 5594 fi |
5591 | 5595 |
5592 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 5596 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
5593 echo "configure:5594: checking for krb_get_cred in -lkrb4" >&5 | 5597 echo "configure:5598: checking for krb_get_cred in -lkrb4" >&5 |
5594 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5598 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5595 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5596 echo $ac_n "(cached) $ac_c" 1>&6 | 5600 echo $ac_n "(cached) $ac_c" 1>&6 |
5597 else | 5601 else |
5598 ac_save_LIBS="$LIBS" | 5602 ac_save_LIBS="$LIBS" |
5599 LIBS="-lkrb4 $LIBS" | 5603 LIBS="-lkrb4 $LIBS" |
5600 cat > conftest.$ac_ext <<EOF | 5604 cat > conftest.$ac_ext <<EOF |
5601 #line 5602 "configure" | 5605 #line 5606 "configure" |
5602 #include "confdefs.h" | 5606 #include "confdefs.h" |
5603 /* Override any gcc2 internal prototype to avoid an error. */ | 5607 /* Override any gcc2 internal prototype to avoid an error. */ |
5604 /* We use char because int might match the return type of a gcc2 | 5608 /* We use char because int might match the return type of a gcc2 |
5605 builtin and then its argument prototype would still apply. */ | 5609 builtin and then its argument prototype would still apply. */ |
5606 char krb_get_cred(); | 5610 char krb_get_cred(); |
5607 | 5611 |
5608 int main() { | 5612 int main() { |
5609 krb_get_cred() | 5613 krb_get_cred() |
5610 ; return 0; } | 5614 ; return 0; } |
5611 EOF | 5615 EOF |
5612 if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5613 rm -rf conftest* | 5617 rm -rf conftest* |
5614 eval "ac_cv_lib_$ac_lib_var=yes" | 5618 eval "ac_cv_lib_$ac_lib_var=yes" |
5615 else | 5619 else |
5616 echo "configure: failed program was:" >&5 | 5620 echo "configure: failed program was:" >&5 |
5617 cat conftest.$ac_ext >&5 | 5621 cat conftest.$ac_ext >&5 |
5633 LIBS="-lkrb4 $LIBS" | 5637 LIBS="-lkrb4 $LIBS" |
5634 | 5638 |
5635 else | 5639 else |
5636 echo "$ac_t""no" 1>&6 | 5640 echo "$ac_t""no" 1>&6 |
5637 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 5641 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
5638 echo "configure:5639: checking for krb_get_cred in -lkrb" >&5 | 5642 echo "configure:5643: checking for krb_get_cred in -lkrb" >&5 |
5639 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5643 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5641 echo $ac_n "(cached) $ac_c" 1>&6 | 5645 echo $ac_n "(cached) $ac_c" 1>&6 |
5642 else | 5646 else |
5643 ac_save_LIBS="$LIBS" | 5647 ac_save_LIBS="$LIBS" |
5644 LIBS="-lkrb $LIBS" | 5648 LIBS="-lkrb $LIBS" |
5645 cat > conftest.$ac_ext <<EOF | 5649 cat > conftest.$ac_ext <<EOF |
5646 #line 5647 "configure" | 5650 #line 5651 "configure" |
5647 #include "confdefs.h" | 5651 #include "confdefs.h" |
5648 /* Override any gcc2 internal prototype to avoid an error. */ | 5652 /* Override any gcc2 internal prototype to avoid an error. */ |
5649 /* We use char because int might match the return type of a gcc2 | 5653 /* We use char because int might match the return type of a gcc2 |
5650 builtin and then its argument prototype would still apply. */ | 5654 builtin and then its argument prototype would still apply. */ |
5651 char krb_get_cred(); | 5655 char krb_get_cred(); |
5652 | 5656 |
5653 int main() { | 5657 int main() { |
5654 krb_get_cred() | 5658 krb_get_cred() |
5655 ; return 0; } | 5659 ; return 0; } |
5656 EOF | 5660 EOF |
5657 if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5658 rm -rf conftest* | 5662 rm -rf conftest* |
5659 eval "ac_cv_lib_$ac_lib_var=yes" | 5663 eval "ac_cv_lib_$ac_lib_var=yes" |
5660 else | 5664 else |
5661 echo "configure: failed program was:" >&5 | 5665 echo "configure: failed program was:" >&5 |
5662 cat conftest.$ac_ext >&5 | 5666 cat conftest.$ac_ext >&5 |
5688 if test "${with_kerberos5+set}" = set; then | 5692 if test "${with_kerberos5+set}" = set; then |
5689 for ac_hdr in krb5.h | 5693 for ac_hdr in krb5.h |
5690 do | 5694 do |
5691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5695 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5696 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5693 echo "configure:5694: checking for $ac_hdr" >&5 | 5697 echo "configure:5698: checking for $ac_hdr" >&5 |
5694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5695 echo $ac_n "(cached) $ac_c" 1>&6 | 5699 echo $ac_n "(cached) $ac_c" 1>&6 |
5696 else | 5700 else |
5697 cat > conftest.$ac_ext <<EOF | 5701 cat > conftest.$ac_ext <<EOF |
5698 #line 5699 "configure" | 5702 #line 5703 "configure" |
5699 #include "confdefs.h" | 5703 #include "confdefs.h" |
5700 #include <$ac_hdr> | 5704 #include <$ac_hdr> |
5701 EOF | 5705 EOF |
5702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5703 { (eval echo configure:5704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5707 { (eval echo configure:5708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5705 if test -z "$ac_err"; then | 5709 if test -z "$ac_err"; then |
5706 rm -rf conftest* | 5710 rm -rf conftest* |
5707 eval "ac_cv_header_$ac_safe=yes" | 5711 eval "ac_cv_header_$ac_safe=yes" |
5708 else | 5712 else |
5729 else | 5733 else |
5730 for ac_hdr in des.h | 5734 for ac_hdr in des.h |
5731 do | 5735 do |
5732 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5734 echo "configure:5735: checking for $ac_hdr" >&5 | 5738 echo "configure:5739: checking for $ac_hdr" >&5 |
5735 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5736 echo $ac_n "(cached) $ac_c" 1>&6 | 5740 echo $ac_n "(cached) $ac_c" 1>&6 |
5737 else | 5741 else |
5738 cat > conftest.$ac_ext <<EOF | 5742 cat > conftest.$ac_ext <<EOF |
5739 #line 5740 "configure" | 5743 #line 5744 "configure" |
5740 #include "confdefs.h" | 5744 #include "confdefs.h" |
5741 #include <$ac_hdr> | 5745 #include <$ac_hdr> |
5742 EOF | 5746 EOF |
5743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5744 { (eval echo configure:5745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5748 { (eval echo configure:5749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5746 if test -z "$ac_err"; then | 5750 if test -z "$ac_err"; then |
5747 rm -rf conftest* | 5751 rm -rf conftest* |
5748 eval "ac_cv_header_$ac_safe=yes" | 5752 eval "ac_cv_header_$ac_safe=yes" |
5749 else | 5753 else |
5766 echo "$ac_t""no" 1>&6 | 5770 echo "$ac_t""no" 1>&6 |
5767 for ac_hdr in kerberosIV/des.h | 5771 for ac_hdr in kerberosIV/des.h |
5768 do | 5772 do |
5769 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5771 echo "configure:5772: checking for $ac_hdr" >&5 | 5775 echo "configure:5776: checking for $ac_hdr" >&5 |
5772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5776 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5773 echo $ac_n "(cached) $ac_c" 1>&6 | 5777 echo $ac_n "(cached) $ac_c" 1>&6 |
5774 else | 5778 else |
5775 cat > conftest.$ac_ext <<EOF | 5779 cat > conftest.$ac_ext <<EOF |
5776 #line 5777 "configure" | 5780 #line 5781 "configure" |
5777 #include "confdefs.h" | 5781 #include "confdefs.h" |
5778 #include <$ac_hdr> | 5782 #include <$ac_hdr> |
5779 EOF | 5783 EOF |
5780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5781 { (eval echo configure:5782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5785 { (eval echo configure:5786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5783 if test -z "$ac_err"; then | 5787 if test -z "$ac_err"; then |
5784 rm -rf conftest* | 5788 rm -rf conftest* |
5785 eval "ac_cv_header_$ac_safe=yes" | 5789 eval "ac_cv_header_$ac_safe=yes" |
5786 else | 5790 else |
5803 echo "$ac_t""no" 1>&6 | 5807 echo "$ac_t""no" 1>&6 |
5804 for ac_hdr in kerberos/des.h | 5808 for ac_hdr in kerberos/des.h |
5805 do | 5809 do |
5806 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5810 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5811 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5808 echo "configure:5809: checking for $ac_hdr" >&5 | 5812 echo "configure:5813: checking for $ac_hdr" >&5 |
5809 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5813 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5810 echo $ac_n "(cached) $ac_c" 1>&6 | 5814 echo $ac_n "(cached) $ac_c" 1>&6 |
5811 else | 5815 else |
5812 cat > conftest.$ac_ext <<EOF | 5816 cat > conftest.$ac_ext <<EOF |
5813 #line 5814 "configure" | 5817 #line 5818 "configure" |
5814 #include "confdefs.h" | 5818 #include "confdefs.h" |
5815 #include <$ac_hdr> | 5819 #include <$ac_hdr> |
5816 EOF | 5820 EOF |
5817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5818 { (eval echo configure:5819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5822 { (eval echo configure:5823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5820 if test -z "$ac_err"; then | 5824 if test -z "$ac_err"; then |
5821 rm -rf conftest* | 5825 rm -rf conftest* |
5822 eval "ac_cv_header_$ac_safe=yes" | 5826 eval "ac_cv_header_$ac_safe=yes" |
5823 else | 5827 else |
5849 | 5853 |
5850 for ac_hdr in krb.h | 5854 for ac_hdr in krb.h |
5851 do | 5855 do |
5852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5856 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5857 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5854 echo "configure:5855: checking for $ac_hdr" >&5 | 5858 echo "configure:5859: checking for $ac_hdr" >&5 |
5855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5859 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5856 echo $ac_n "(cached) $ac_c" 1>&6 | 5860 echo $ac_n "(cached) $ac_c" 1>&6 |
5857 else | 5861 else |
5858 cat > conftest.$ac_ext <<EOF | 5862 cat > conftest.$ac_ext <<EOF |
5859 #line 5860 "configure" | 5863 #line 5864 "configure" |
5860 #include "confdefs.h" | 5864 #include "confdefs.h" |
5861 #include <$ac_hdr> | 5865 #include <$ac_hdr> |
5862 EOF | 5866 EOF |
5863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5864 { (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5868 { (eval echo configure:5869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5866 if test -z "$ac_err"; then | 5870 if test -z "$ac_err"; then |
5867 rm -rf conftest* | 5871 rm -rf conftest* |
5868 eval "ac_cv_header_$ac_safe=yes" | 5872 eval "ac_cv_header_$ac_safe=yes" |
5869 else | 5873 else |
5886 echo "$ac_t""no" 1>&6 | 5890 echo "$ac_t""no" 1>&6 |
5887 for ac_hdr in kerberosIV/krb.h | 5891 for ac_hdr in kerberosIV/krb.h |
5888 do | 5892 do |
5889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5891 echo "configure:5892: checking for $ac_hdr" >&5 | 5895 echo "configure:5896: checking for $ac_hdr" >&5 |
5892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5896 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5893 echo $ac_n "(cached) $ac_c" 1>&6 | 5897 echo $ac_n "(cached) $ac_c" 1>&6 |
5894 else | 5898 else |
5895 cat > conftest.$ac_ext <<EOF | 5899 cat > conftest.$ac_ext <<EOF |
5896 #line 5897 "configure" | 5900 #line 5901 "configure" |
5897 #include "confdefs.h" | 5901 #include "confdefs.h" |
5898 #include <$ac_hdr> | 5902 #include <$ac_hdr> |
5899 EOF | 5903 EOF |
5900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5901 { (eval echo configure:5902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5905 { (eval echo configure:5906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5903 if test -z "$ac_err"; then | 5907 if test -z "$ac_err"; then |
5904 rm -rf conftest* | 5908 rm -rf conftest* |
5905 eval "ac_cv_header_$ac_safe=yes" | 5909 eval "ac_cv_header_$ac_safe=yes" |
5906 else | 5910 else |
5923 echo "$ac_t""no" 1>&6 | 5927 echo "$ac_t""no" 1>&6 |
5924 for ac_hdr in kerberos/krb.h | 5928 for ac_hdr in kerberos/krb.h |
5925 do | 5929 do |
5926 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5930 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5927 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5931 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5928 echo "configure:5929: checking for $ac_hdr" >&5 | 5932 echo "configure:5933: checking for $ac_hdr" >&5 |
5929 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5930 echo $ac_n "(cached) $ac_c" 1>&6 | 5934 echo $ac_n "(cached) $ac_c" 1>&6 |
5931 else | 5935 else |
5932 cat > conftest.$ac_ext <<EOF | 5936 cat > conftest.$ac_ext <<EOF |
5933 #line 5934 "configure" | 5937 #line 5938 "configure" |
5934 #include "confdefs.h" | 5938 #include "confdefs.h" |
5935 #include <$ac_hdr> | 5939 #include <$ac_hdr> |
5936 EOF | 5940 EOF |
5937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5938 { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5942 { (eval echo configure:5943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5940 if test -z "$ac_err"; then | 5944 if test -z "$ac_err"; then |
5941 rm -rf conftest* | 5945 rm -rf conftest* |
5942 eval "ac_cv_header_$ac_safe=yes" | 5946 eval "ac_cv_header_$ac_safe=yes" |
5943 else | 5947 else |
5970 fi | 5974 fi |
5971 for ac_hdr in com_err.h | 5975 for ac_hdr in com_err.h |
5972 do | 5976 do |
5973 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5977 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5974 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5978 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5975 echo "configure:5976: checking for $ac_hdr" >&5 | 5979 echo "configure:5980: checking for $ac_hdr" >&5 |
5976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5977 echo $ac_n "(cached) $ac_c" 1>&6 | 5981 echo $ac_n "(cached) $ac_c" 1>&6 |
5978 else | 5982 else |
5979 cat > conftest.$ac_ext <<EOF | 5983 cat > conftest.$ac_ext <<EOF |
5980 #line 5981 "configure" | 5984 #line 5985 "configure" |
5981 #include "confdefs.h" | 5985 #include "confdefs.h" |
5982 #include <$ac_hdr> | 5986 #include <$ac_hdr> |
5983 EOF | 5987 EOF |
5984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5985 { (eval echo configure:5986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5989 { (eval echo configure:5990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5987 if test -z "$ac_err"; then | 5991 if test -z "$ac_err"; then |
5988 rm -rf conftest* | 5992 rm -rf conftest* |
5989 eval "ac_cv_header_$ac_safe=yes" | 5993 eval "ac_cv_header_$ac_safe=yes" |
5990 else | 5994 else |
6011 fi | 6015 fi |
6012 | 6016 |
6013 # Solaris requires -lintl if you want strerror (which calls dgettext) | 6017 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6014 # to return localized messages. | 6018 # to return localized messages. |
6015 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 6019 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6016 echo "configure:6017: checking for dgettext in -lintl" >&5 | 6020 echo "configure:6021: checking for dgettext in -lintl" >&5 |
6017 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 6021 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6019 echo $ac_n "(cached) $ac_c" 1>&6 | 6023 echo $ac_n "(cached) $ac_c" 1>&6 |
6020 else | 6024 else |
6021 ac_save_LIBS="$LIBS" | 6025 ac_save_LIBS="$LIBS" |
6022 LIBS="-lintl $LIBS" | 6026 LIBS="-lintl $LIBS" |
6023 cat > conftest.$ac_ext <<EOF | 6027 cat > conftest.$ac_ext <<EOF |
6024 #line 6025 "configure" | 6028 #line 6029 "configure" |
6025 #include "confdefs.h" | 6029 #include "confdefs.h" |
6026 /* Override any gcc2 internal prototype to avoid an error. */ | 6030 /* Override any gcc2 internal prototype to avoid an error. */ |
6027 /* We use char because int might match the return type of a gcc2 | 6031 /* We use char because int might match the return type of a gcc2 |
6028 builtin and then its argument prototype would still apply. */ | 6032 builtin and then its argument prototype would still apply. */ |
6029 char dgettext(); | 6033 char dgettext(); |
6030 | 6034 |
6031 int main() { | 6035 int main() { |
6032 dgettext() | 6036 dgettext() |
6033 ; return 0; } | 6037 ; return 0; } |
6034 EOF | 6038 EOF |
6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6039 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6036 rm -rf conftest* | 6040 rm -rf conftest* |
6037 eval "ac_cv_lib_$ac_lib_var=yes" | 6041 eval "ac_cv_lib_$ac_lib_var=yes" |
6038 else | 6042 else |
6039 echo "configure: failed program was:" >&5 | 6043 echo "configure: failed program was:" >&5 |
6040 cat conftest.$ac_ext >&5 | 6044 cat conftest.$ac_ext >&5 |
6059 echo "$ac_t""no" 1>&6 | 6063 echo "$ac_t""no" 1>&6 |
6060 fi | 6064 fi |
6061 | 6065 |
6062 | 6066 |
6063 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6067 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6064 echo "configure:6065: checking whether localtime caches TZ" >&5 | 6068 echo "configure:6069: checking whether localtime caches TZ" >&5 |
6065 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6069 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6066 echo $ac_n "(cached) $ac_c" 1>&6 | 6070 echo $ac_n "(cached) $ac_c" 1>&6 |
6067 else | 6071 else |
6068 if test x$ac_cv_func_tzset = xyes; then | 6072 if test x$ac_cv_func_tzset = xyes; then |
6069 if test "$cross_compiling" = yes; then | 6073 if test "$cross_compiling" = yes; then |
6070 # If we have tzset, assume the worst when cross-compiling. | 6074 # If we have tzset, assume the worst when cross-compiling. |
6071 emacs_cv_localtime_cache=yes | 6075 emacs_cv_localtime_cache=yes |
6072 else | 6076 else |
6073 cat > conftest.$ac_ext <<EOF | 6077 cat > conftest.$ac_ext <<EOF |
6074 #line 6075 "configure" | 6078 #line 6079 "configure" |
6075 #include "confdefs.h" | 6079 #include "confdefs.h" |
6076 #include <time.h> | 6080 #include <time.h> |
6077 extern char **environ; | 6081 extern char **environ; |
6078 unset_TZ () | 6082 unset_TZ () |
6079 { | 6083 { |
6101 if (localtime (&now)->tm_hour != hour_unset) | 6105 if (localtime (&now)->tm_hour != hour_unset) |
6102 exit (1); | 6106 exit (1); |
6103 exit (0); | 6107 exit (0); |
6104 } | 6108 } |
6105 EOF | 6109 EOF |
6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6107 then | 6111 then |
6108 emacs_cv_localtime_cache=no | 6112 emacs_cv_localtime_cache=no |
6109 else | 6113 else |
6110 echo "configure: failed program was:" >&5 | 6114 echo "configure: failed program was:" >&5 |
6111 cat conftest.$ac_ext >&5 | 6115 cat conftest.$ac_ext >&5 |
6129 | 6133 |
6130 fi | 6134 fi |
6131 | 6135 |
6132 if test "x$HAVE_TIMEVAL" = xyes; then | 6136 if test "x$HAVE_TIMEVAL" = xyes; then |
6133 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6137 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6134 echo "configure:6135: checking whether gettimeofday can accept two arguments" >&5 | 6138 echo "configure:6139: checking whether gettimeofday can accept two arguments" >&5 |
6135 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6139 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6136 echo $ac_n "(cached) $ac_c" 1>&6 | 6140 echo $ac_n "(cached) $ac_c" 1>&6 |
6137 else | 6141 else |
6138 cat > conftest.$ac_ext <<EOF | 6142 cat > conftest.$ac_ext <<EOF |
6139 #line 6140 "configure" | 6143 #line 6144 "configure" |
6140 #include "confdefs.h" | 6144 #include "confdefs.h" |
6141 | 6145 |
6142 #ifdef TIME_WITH_SYS_TIME | 6146 #ifdef TIME_WITH_SYS_TIME |
6143 #include <sys/time.h> | 6147 #include <sys/time.h> |
6144 #include <time.h> | 6148 #include <time.h> |
6156 struct timezone dummy; | 6160 struct timezone dummy; |
6157 gettimeofday (&time, &dummy); | 6161 gettimeofday (&time, &dummy); |
6158 | 6162 |
6159 ; return 0; } | 6163 ; return 0; } |
6160 EOF | 6164 EOF |
6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6162 rm -rf conftest* | 6166 rm -rf conftest* |
6163 emacs_cv_gettimeofday_two_arguments=yes | 6167 emacs_cv_gettimeofday_two_arguments=yes |
6164 else | 6168 else |
6165 echo "configure: failed program was:" >&5 | 6169 echo "configure: failed program was:" >&5 |
6166 cat conftest.$ac_ext >&5 | 6170 cat conftest.$ac_ext >&5 |
6179 fi | 6183 fi |
6180 fi | 6184 fi |
6181 | 6185 |
6182 ok_so_far=yes | 6186 ok_so_far=yes |
6183 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6187 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6184 echo "configure:6185: checking for socket" >&5 | 6188 echo "configure:6189: checking for socket" >&5 |
6185 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6189 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6186 echo $ac_n "(cached) $ac_c" 1>&6 | 6190 echo $ac_n "(cached) $ac_c" 1>&6 |
6187 else | 6191 else |
6188 cat > conftest.$ac_ext <<EOF | 6192 cat > conftest.$ac_ext <<EOF |
6189 #line 6190 "configure" | 6193 #line 6194 "configure" |
6190 #include "confdefs.h" | 6194 #include "confdefs.h" |
6191 /* System header to define __stub macros and hopefully few prototypes, | 6195 /* System header to define __stub macros and hopefully few prototypes, |
6192 which can conflict with char socket(); below. */ | 6196 which can conflict with char socket(); below. */ |
6193 #include <assert.h> | 6197 #include <assert.h> |
6194 /* Override any gcc2 internal prototype to avoid an error. */ | 6198 /* Override any gcc2 internal prototype to avoid an error. */ |
6207 socket(); | 6211 socket(); |
6208 #endif | 6212 #endif |
6209 | 6213 |
6210 ; return 0; } | 6214 ; return 0; } |
6211 EOF | 6215 EOF |
6212 if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6216 if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6213 rm -rf conftest* | 6217 rm -rf conftest* |
6214 eval "ac_cv_func_socket=yes" | 6218 eval "ac_cv_func_socket=yes" |
6215 else | 6219 else |
6216 echo "configure: failed program was:" >&5 | 6220 echo "configure: failed program was:" >&5 |
6217 cat conftest.$ac_ext >&5 | 6221 cat conftest.$ac_ext >&5 |
6230 fi | 6234 fi |
6231 | 6235 |
6232 if test $ok_so_far = yes; then | 6236 if test $ok_so_far = yes; then |
6233 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6237 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6234 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6238 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6235 echo "configure:6236: checking for netinet/in.h" >&5 | 6239 echo "configure:6240: checking for netinet/in.h" >&5 |
6236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6240 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6237 echo $ac_n "(cached) $ac_c" 1>&6 | 6241 echo $ac_n "(cached) $ac_c" 1>&6 |
6238 else | 6242 else |
6239 cat > conftest.$ac_ext <<EOF | 6243 cat > conftest.$ac_ext <<EOF |
6240 #line 6241 "configure" | 6244 #line 6245 "configure" |
6241 #include "confdefs.h" | 6245 #include "confdefs.h" |
6242 #include <netinet/in.h> | 6246 #include <netinet/in.h> |
6243 EOF | 6247 EOF |
6244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6245 { (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6249 { (eval echo configure:6250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6246 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6247 if test -z "$ac_err"; then | 6251 if test -z "$ac_err"; then |
6248 rm -rf conftest* | 6252 rm -rf conftest* |
6249 eval "ac_cv_header_$ac_safe=yes" | 6253 eval "ac_cv_header_$ac_safe=yes" |
6250 else | 6254 else |
6266 | 6270 |
6267 fi | 6271 fi |
6268 if test $ok_so_far = yes; then | 6272 if test $ok_so_far = yes; then |
6269 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6273 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6270 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6274 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6271 echo "configure:6272: checking for arpa/inet.h" >&5 | 6275 echo "configure:6276: checking for arpa/inet.h" >&5 |
6272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6276 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6273 echo $ac_n "(cached) $ac_c" 1>&6 | 6277 echo $ac_n "(cached) $ac_c" 1>&6 |
6274 else | 6278 else |
6275 cat > conftest.$ac_ext <<EOF | 6279 cat > conftest.$ac_ext <<EOF |
6276 #line 6277 "configure" | 6280 #line 6281 "configure" |
6277 #include "confdefs.h" | 6281 #include "confdefs.h" |
6278 #include <arpa/inet.h> | 6282 #include <arpa/inet.h> |
6279 EOF | 6283 EOF |
6280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6281 { (eval echo configure:6282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6285 { (eval echo configure:6286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6283 if test -z "$ac_err"; then | 6287 if test -z "$ac_err"; then |
6284 rm -rf conftest* | 6288 rm -rf conftest* |
6285 eval "ac_cv_header_$ac_safe=yes" | 6289 eval "ac_cv_header_$ac_safe=yes" |
6286 else | 6290 else |
6314 EOF | 6318 EOF |
6315 | 6319 |
6316 fi | 6320 fi |
6317 | 6321 |
6318 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6322 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6319 echo "configure:6320: checking whether system supports dynamic ptys" >&5 | 6323 echo "configure:6324: checking whether system supports dynamic ptys" >&5 |
6320 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6324 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6321 echo "$ac_t""yes" 1>&6 | 6325 echo "$ac_t""yes" 1>&6 |
6322 cat >> confdefs.h <<\EOF | 6326 cat >> confdefs.h <<\EOF |
6323 #define HAVE_DEV_PTMX 1 | 6327 #define HAVE_DEV_PTMX 1 |
6324 EOF | 6328 EOF |
6326 else | 6330 else |
6327 echo "$ac_t""no" 1>&6 | 6331 echo "$ac_t""no" 1>&6 |
6328 fi | 6332 fi |
6329 | 6333 |
6330 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6334 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6331 echo "configure:6332: checking for pid_t" >&5 | 6335 echo "configure:6336: checking for pid_t" >&5 |
6332 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6336 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6333 echo $ac_n "(cached) $ac_c" 1>&6 | 6337 echo $ac_n "(cached) $ac_c" 1>&6 |
6334 else | 6338 else |
6335 cat > conftest.$ac_ext <<EOF | 6339 cat > conftest.$ac_ext <<EOF |
6336 #line 6337 "configure" | 6340 #line 6341 "configure" |
6337 #include "confdefs.h" | 6341 #include "confdefs.h" |
6338 #include <sys/types.h> | 6342 #include <sys/types.h> |
6339 #if STDC_HEADERS | 6343 #if STDC_HEADERS |
6340 #include <stdlib.h> | 6344 #include <stdlib.h> |
6341 #include <stddef.h> | 6345 #include <stddef.h> |
6360 | 6364 |
6361 fi | 6365 fi |
6362 | 6366 |
6363 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 6367 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6364 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 6368 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6365 echo "configure:6366: checking for vfork.h" >&5 | 6369 echo "configure:6370: checking for vfork.h" >&5 |
6366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6367 echo $ac_n "(cached) $ac_c" 1>&6 | 6371 echo $ac_n "(cached) $ac_c" 1>&6 |
6368 else | 6372 else |
6369 cat > conftest.$ac_ext <<EOF | 6373 cat > conftest.$ac_ext <<EOF |
6370 #line 6371 "configure" | 6374 #line 6375 "configure" |
6371 #include "confdefs.h" | 6375 #include "confdefs.h" |
6372 #include <vfork.h> | 6376 #include <vfork.h> |
6373 EOF | 6377 EOF |
6374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6375 { (eval echo configure:6376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6379 { (eval echo configure:6380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6377 if test -z "$ac_err"; then | 6381 if test -z "$ac_err"; then |
6378 rm -rf conftest* | 6382 rm -rf conftest* |
6379 eval "ac_cv_header_$ac_safe=yes" | 6383 eval "ac_cv_header_$ac_safe=yes" |
6380 else | 6384 else |
6395 else | 6399 else |
6396 echo "$ac_t""no" 1>&6 | 6400 echo "$ac_t""no" 1>&6 |
6397 fi | 6401 fi |
6398 | 6402 |
6399 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 6403 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
6400 echo "configure:6401: checking for working vfork" >&5 | 6404 echo "configure:6405: checking for working vfork" >&5 |
6401 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 6405 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
6402 echo $ac_n "(cached) $ac_c" 1>&6 | 6406 echo $ac_n "(cached) $ac_c" 1>&6 |
6403 else | 6407 else |
6404 if test "$cross_compiling" = yes; then | 6408 if test "$cross_compiling" = yes; then |
6405 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 6409 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
6406 echo "configure:6407: checking for vfork" >&5 | 6410 echo "configure:6411: checking for vfork" >&5 |
6407 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 6411 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
6408 echo $ac_n "(cached) $ac_c" 1>&6 | 6412 echo $ac_n "(cached) $ac_c" 1>&6 |
6409 else | 6413 else |
6410 cat > conftest.$ac_ext <<EOF | 6414 cat > conftest.$ac_ext <<EOF |
6411 #line 6412 "configure" | 6415 #line 6416 "configure" |
6412 #include "confdefs.h" | 6416 #include "confdefs.h" |
6413 /* System header to define __stub macros and hopefully few prototypes, | 6417 /* System header to define __stub macros and hopefully few prototypes, |
6414 which can conflict with char vfork(); below. */ | 6418 which can conflict with char vfork(); below. */ |
6415 #include <assert.h> | 6419 #include <assert.h> |
6416 /* Override any gcc2 internal prototype to avoid an error. */ | 6420 /* Override any gcc2 internal prototype to avoid an error. */ |
6429 vfork(); | 6433 vfork(); |
6430 #endif | 6434 #endif |
6431 | 6435 |
6432 ; return 0; } | 6436 ; return 0; } |
6433 EOF | 6437 EOF |
6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6438 if { (eval echo configure:6439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6435 rm -rf conftest* | 6439 rm -rf conftest* |
6436 eval "ac_cv_func_vfork=yes" | 6440 eval "ac_cv_func_vfork=yes" |
6437 else | 6441 else |
6438 echo "configure: failed program was:" >&5 | 6442 echo "configure: failed program was:" >&5 |
6439 cat conftest.$ac_ext >&5 | 6443 cat conftest.$ac_ext >&5 |
6451 fi | 6455 fi |
6452 | 6456 |
6453 ac_cv_func_vfork_works=$ac_cv_func_vfork | 6457 ac_cv_func_vfork_works=$ac_cv_func_vfork |
6454 else | 6458 else |
6455 cat > conftest.$ac_ext <<EOF | 6459 cat > conftest.$ac_ext <<EOF |
6456 #line 6457 "configure" | 6460 #line 6461 "configure" |
6457 #include "confdefs.h" | 6461 #include "confdefs.h" |
6458 /* Thanks to Paul Eggert for this test. */ | 6462 /* Thanks to Paul Eggert for this test. */ |
6459 #include <stdio.h> | 6463 #include <stdio.h> |
6460 #include <sys/types.h> | 6464 #include <sys/types.h> |
6461 #include <sys/stat.h> | 6465 #include <sys/stat.h> |
6546 || fstat(fileno(stdout), &st) != 0 | 6550 || fstat(fileno(stdout), &st) != 0 |
6547 ); | 6551 ); |
6548 } | 6552 } |
6549 } | 6553 } |
6550 EOF | 6554 EOF |
6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6555 if { (eval echo configure:6556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6552 then | 6556 then |
6553 ac_cv_func_vfork_works=yes | 6557 ac_cv_func_vfork_works=yes |
6554 else | 6558 else |
6555 echo "configure: failed program was:" >&5 | 6559 echo "configure: failed program was:" >&5 |
6556 cat conftest.$ac_ext >&5 | 6560 cat conftest.$ac_ext >&5 |