Mercurial > hg > xemacs-beta
comparison configure @ 537:836d476763d0
[xemacs-hg @ 2001-05-14 06:27:03 by martinb]
Fix for crash in make TAGS on SunOS 4
author | martinb |
---|---|
date | Mon, 14 May 2001 06:27:10 +0000 |
parents | c69610198c35 |
children | e9a3f8b4de53 |
comparison
equal
deleted
inserted
replaced
536:8f3fb4fd879b | 537:836d476763d0 |
---|---|
3297 fi | 3297 fi |
3298 | 3298 |
3299 | 3299 |
3300 | 3300 |
3301 | 3301 |
3302 echo $ac_n "checking whether realloc accepts null pointers""... $ac_c" 1>&6 | |
3303 echo "configure:3304: checking whether realloc accepts null pointers" >&5 | |
3304 cat > conftest.$ac_ext <<EOF | |
3305 #line 3306 "configure" | |
3306 #include "confdefs.h" | |
3307 int main () | |
3308 { char *x = 0; | |
3309 x = realloc (x, 16); if (!x) return 1; x[15] = 'y'; | |
3310 x = realloc (x, 64); if (!x) return 1; x[63] = 'z'; | |
3311 return 0; | |
3312 } | |
3313 EOF | |
3314 if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | |
3315 then | |
3316 echo "$ac_t""yes" 1>&6 | |
3317 else | |
3318 conftest_rc="$?" | |
3319 echo "configure: failed program was:" >&5 | |
3320 cat conftest.$ac_ext >&5 | |
3321 rm -fr conftest* | |
3322 echo "$ac_t""no" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
3323 Defining REALLOC_NULLPTR_BUG | |
3324 EOF | |
3325 cat >> confdefs.h <<\EOF | |
3326 #define REALLOC_NULLPTR_BUG 1 | |
3327 EOF | |
3328 } | |
3329 | |
3330 fi | |
3331 rm -fr conftest* | |
3332 | |
3333 | |
3334 | |
3335 | |
3302 # Extract the first word of "ranlib", so it can be a program name with args. | 3336 # Extract the first word of "ranlib", so it can be a program name with args. |
3303 set dummy ranlib; ac_word=$2 | 3337 set dummy ranlib; ac_word=$2 |
3304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3305 echo "configure:3306: checking for $ac_word" >&5 | 3339 echo "configure:3340: checking for $ac_word" >&5 |
3306 | 3340 |
3307 if test -n "$RANLIB"; then | 3341 if test -n "$RANLIB"; then |
3308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3309 else | 3343 else |
3310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3344 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3358 # ./install, which can be erroneously created by make from ./install.sh. | 3392 # ./install, which can be erroneously created by make from ./install.sh. |
3359 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3393 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3360 echo "configure:3361: checking for a BSD compatible install" >&5 | 3394 echo "configure:3395: checking for a BSD compatible install" >&5 |
3361 if test -z "$INSTALL"; then | 3395 if test -z "$INSTALL"; then |
3362 | 3396 |
3363 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3397 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3364 for ac_dir in $PATH; do | 3398 for ac_dir in $PATH; do |
3365 # Account for people who put trailing slashes in PATH elements. | 3399 # Account for people who put trailing slashes in PATH elements. |
3409 for ac_prog in 'bison -y' byacc | 3443 for ac_prog in 'bison -y' byacc |
3410 do | 3444 do |
3411 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3445 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3412 set dummy $ac_prog; ac_word=$2 | 3446 set dummy $ac_prog; ac_word=$2 |
3413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3414 echo "configure:3415: checking for $ac_word" >&5 | 3448 echo "configure:3449: checking for $ac_word" >&5 |
3415 | 3449 |
3416 if test -n "$YACC"; then | 3450 if test -n "$YACC"; then |
3417 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3451 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3418 else | 3452 else |
3419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3441 | 3475 |
3442 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h | 3476 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3443 do | 3477 do |
3444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3446 echo "configure:3447: checking for $ac_hdr" >&5 | 3480 echo "configure:3481: checking for $ac_hdr" >&5 |
3447 | 3481 |
3448 cat > conftest.$ac_ext <<EOF | 3482 cat > conftest.$ac_ext <<EOF |
3449 #line 3450 "configure" | 3483 #line 3484 "configure" |
3450 #include "confdefs.h" | 3484 #include "confdefs.h" |
3451 #include <$ac_hdr> | 3485 #include <$ac_hdr> |
3452 EOF | 3486 EOF |
3453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3454 { (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3488 { (eval echo configure:3489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3456 if test -z "$ac_err"; then | 3490 if test -z "$ac_err"; then |
3457 rm -rf conftest* | 3491 rm -rf conftest* |
3458 eval "ac_cv_header_$ac_safe=yes" | 3492 eval "ac_cv_header_$ac_safe=yes" |
3459 else | 3493 else |
3479 echo "$ac_t""no" 1>&6 | 3513 echo "$ac_t""no" 1>&6 |
3480 fi | 3514 fi |
3481 done | 3515 done |
3482 | 3516 |
3483 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3517 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3484 echo "configure:3485: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3518 echo "configure:3519: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3485 | 3519 |
3486 cat > conftest.$ac_ext <<EOF | 3520 cat > conftest.$ac_ext <<EOF |
3487 #line 3488 "configure" | 3521 #line 3522 "configure" |
3488 #include "confdefs.h" | 3522 #include "confdefs.h" |
3489 #include <sys/types.h> | 3523 #include <sys/types.h> |
3490 #include <sys/wait.h> | 3524 #include <sys/wait.h> |
3491 #ifndef WEXITSTATUS | 3525 #ifndef WEXITSTATUS |
3492 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3526 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3498 int s; | 3532 int s; |
3499 wait (&s); | 3533 wait (&s); |
3500 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3534 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3501 ; return 0; } | 3535 ; return 0; } |
3502 EOF | 3536 EOF |
3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3504 rm -rf conftest* | 3538 rm -rf conftest* |
3505 ac_cv_header_sys_wait_h=yes | 3539 ac_cv_header_sys_wait_h=yes |
3506 else | 3540 else |
3507 echo "configure: failed program was:" >&5 | 3541 echo "configure: failed program was:" >&5 |
3508 cat conftest.$ac_ext >&5 | 3542 cat conftest.$ac_ext >&5 |
3522 } | 3556 } |
3523 | 3557 |
3524 fi | 3558 fi |
3525 | 3559 |
3526 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3560 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3527 echo "configure:3528: checking for ANSI C header files" >&5 | 3561 echo "configure:3562: checking for ANSI C header files" >&5 |
3528 | 3562 |
3529 cat > conftest.$ac_ext <<EOF | 3563 cat > conftest.$ac_ext <<EOF |
3530 #line 3531 "configure" | 3564 #line 3565 "configure" |
3531 #include "confdefs.h" | 3565 #include "confdefs.h" |
3532 #include <stdlib.h> | 3566 #include <stdlib.h> |
3533 #include <stdarg.h> | 3567 #include <stdarg.h> |
3534 #include <string.h> | 3568 #include <string.h> |
3535 #include <float.h> | 3569 #include <float.h> |
3536 EOF | 3570 EOF |
3537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3538 { (eval echo configure:3539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3572 { (eval echo configure:3573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3540 if test -z "$ac_err"; then | 3574 if test -z "$ac_err"; then |
3541 rm -rf conftest* | 3575 rm -rf conftest* |
3542 ac_cv_header_stdc=yes | 3576 ac_cv_header_stdc=yes |
3543 else | 3577 else |
3550 rm -f conftest* | 3584 rm -f conftest* |
3551 | 3585 |
3552 if test $ac_cv_header_stdc = yes; then | 3586 if test $ac_cv_header_stdc = yes; then |
3553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3554 cat > conftest.$ac_ext <<EOF | 3588 cat > conftest.$ac_ext <<EOF |
3555 #line 3556 "configure" | 3589 #line 3590 "configure" |
3556 #include "confdefs.h" | 3590 #include "confdefs.h" |
3557 #include <string.h> | 3591 #include <string.h> |
3558 EOF | 3592 EOF |
3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3560 egrep "memchr" >/dev/null 2>&1; then | 3594 egrep "memchr" >/dev/null 2>&1; then |
3568 fi | 3602 fi |
3569 | 3603 |
3570 if test $ac_cv_header_stdc = yes; then | 3604 if test $ac_cv_header_stdc = yes; then |
3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3572 cat > conftest.$ac_ext <<EOF | 3606 cat > conftest.$ac_ext <<EOF |
3573 #line 3574 "configure" | 3607 #line 3608 "configure" |
3574 #include "confdefs.h" | 3608 #include "confdefs.h" |
3575 #include <stdlib.h> | 3609 #include <stdlib.h> |
3576 EOF | 3610 EOF |
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3578 egrep "free" >/dev/null 2>&1; then | 3612 egrep "free" >/dev/null 2>&1; then |
3586 fi | 3620 fi |
3587 | 3621 |
3588 if test $ac_cv_header_stdc = yes; then | 3622 if test $ac_cv_header_stdc = yes; then |
3589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3590 cat > conftest.$ac_ext <<EOF | 3624 cat > conftest.$ac_ext <<EOF |
3591 #line 3592 "configure" | 3625 #line 3626 "configure" |
3592 #include "confdefs.h" | 3626 #include "confdefs.h" |
3593 #include <ctype.h> | 3627 #include <ctype.h> |
3594 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3628 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3595 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3629 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3597 int main () { int i; for (i = 0; i < 256; i++) | 3631 int main () { int i; for (i = 0; i < 256; i++) |
3598 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3632 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3599 exit (0); } | 3633 exit (0); } |
3600 | 3634 |
3601 EOF | 3635 EOF |
3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3636 if { (eval echo configure:3637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3603 then | 3637 then |
3604 : | 3638 : |
3605 else | 3639 else |
3606 conftest_rc="$?" | 3640 conftest_rc="$?" |
3607 echo "configure: failed program was:" >&5 | 3641 echo "configure: failed program was:" >&5 |
3623 } | 3657 } |
3624 | 3658 |
3625 fi | 3659 fi |
3626 | 3660 |
3627 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3661 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking whether time.h and sys/time.h may both be included" >&5 | 3662 echo "configure:3663: checking whether time.h and sys/time.h may both be included" >&5 |
3629 | 3663 |
3630 cat > conftest.$ac_ext <<EOF | 3664 cat > conftest.$ac_ext <<EOF |
3631 #line 3632 "configure" | 3665 #line 3666 "configure" |
3632 #include "confdefs.h" | 3666 #include "confdefs.h" |
3633 #include <sys/types.h> | 3667 #include <sys/types.h> |
3634 #include <sys/time.h> | 3668 #include <sys/time.h> |
3635 #include <time.h> | 3669 #include <time.h> |
3636 int main() { | 3670 int main() { |
3637 struct tm *tp; | 3671 struct tm *tp; |
3638 ; return 0; } | 3672 ; return 0; } |
3639 EOF | 3673 EOF |
3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3641 rm -rf conftest* | 3675 rm -rf conftest* |
3642 ac_cv_header_time=yes | 3676 ac_cv_header_time=yes |
3643 else | 3677 else |
3644 echo "configure: failed program was:" >&5 | 3678 echo "configure: failed program was:" >&5 |
3645 cat conftest.$ac_ext >&5 | 3679 cat conftest.$ac_ext >&5 |
3659 } | 3693 } |
3660 | 3694 |
3661 fi | 3695 fi |
3662 | 3696 |
3663 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3697 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3664 echo "configure:3665: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3698 echo "configure:3699: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3665 | 3699 |
3666 cat > conftest.$ac_ext <<EOF | 3700 cat > conftest.$ac_ext <<EOF |
3667 #line 3668 "configure" | 3701 #line 3702 "configure" |
3668 #include "confdefs.h" | 3702 #include "confdefs.h" |
3669 #include <sys/types.h> | 3703 #include <sys/types.h> |
3670 #include <signal.h> | 3704 #include <signal.h> |
3671 /* NetBSD declares sys_siglist in unistd.h. */ | 3705 /* NetBSD declares sys_siglist in unistd.h. */ |
3672 #ifdef HAVE_UNISTD_H | 3706 #ifdef HAVE_UNISTD_H |
3674 #endif | 3708 #endif |
3675 int main() { | 3709 int main() { |
3676 char *msg = *(sys_siglist + 1); | 3710 char *msg = *(sys_siglist + 1); |
3677 ; return 0; } | 3711 ; return 0; } |
3678 EOF | 3712 EOF |
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3713 if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3680 rm -rf conftest* | 3714 rm -rf conftest* |
3681 ac_cv_decl_sys_siglist=yes | 3715 ac_cv_decl_sys_siglist=yes |
3682 else | 3716 else |
3683 echo "configure: failed program was:" >&5 | 3717 echo "configure: failed program was:" >&5 |
3684 cat conftest.$ac_ext >&5 | 3718 cat conftest.$ac_ext >&5 |
3700 fi | 3734 fi |
3701 | 3735 |
3702 | 3736 |
3703 | 3737 |
3704 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3738 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3705 echo "configure:3706: checking for utime" >&5 | 3739 echo "configure:3740: checking for utime" >&5 |
3706 cat > conftest.$ac_ext <<EOF | 3740 cat > conftest.$ac_ext <<EOF |
3707 #line 3708 "configure" | 3741 #line 3742 "configure" |
3708 #include "confdefs.h" | 3742 #include "confdefs.h" |
3709 #include <sys/types.h> | 3743 #include <sys/types.h> |
3710 #include <utime.h> | 3744 #include <utime.h> |
3711 int main() { | 3745 int main() { |
3712 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3746 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3713 ; return 0; } | 3747 ; return 0; } |
3714 EOF | 3748 EOF |
3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3749 if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3716 rm -rf conftest* | 3750 rm -rf conftest* |
3717 echo "$ac_t""yes" 1>&6 | 3751 echo "$ac_t""yes" 1>&6 |
3718 { test "$extra_verbose" = "yes" && cat << \EOF | 3752 { test "$extra_verbose" = "yes" && cat << \EOF |
3719 Defining HAVE_UTIME | 3753 Defining HAVE_UTIME |
3720 EOF | 3754 EOF |
3729 rm -rf conftest* | 3763 rm -rf conftest* |
3730 echo "$ac_t""no" 1>&6 | 3764 echo "$ac_t""no" 1>&6 |
3731 for ac_func in utimes | 3765 for ac_func in utimes |
3732 do | 3766 do |
3733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3734 echo "configure:3735: checking for $ac_func" >&5 | 3768 echo "configure:3769: checking for $ac_func" >&5 |
3735 | 3769 |
3736 cat > conftest.$ac_ext <<EOF | 3770 cat > conftest.$ac_ext <<EOF |
3737 #line 3738 "configure" | 3771 #line 3772 "configure" |
3738 #include "confdefs.h" | 3772 #include "confdefs.h" |
3739 /* System header to define __stub macros and hopefully few prototypes, | 3773 /* System header to define __stub macros and hopefully few prototypes, |
3740 which can conflict with char $ac_func(); below. */ | 3774 which can conflict with char $ac_func(); below. */ |
3741 #include <assert.h> | 3775 #include <assert.h> |
3742 /* Override any gcc2 internal prototype to avoid an error. */ | 3776 /* Override any gcc2 internal prototype to avoid an error. */ |
3755 $ac_func(); | 3789 $ac_func(); |
3756 #endif | 3790 #endif |
3757 | 3791 |
3758 ; return 0; } | 3792 ; return 0; } |
3759 EOF | 3793 EOF |
3760 if { (eval echo configure:3761: \"$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 |
3761 rm -rf conftest* | 3795 rm -rf conftest* |
3762 eval "ac_cv_func_$ac_func=yes" | 3796 eval "ac_cv_func_$ac_func=yes" |
3763 else | 3797 else |
3764 echo "configure: failed program was:" >&5 | 3798 echo "configure: failed program was:" >&5 |
3765 cat conftest.$ac_ext >&5 | 3799 cat conftest.$ac_ext >&5 |
3787 fi | 3821 fi |
3788 rm -f conftest* | 3822 rm -f conftest* |
3789 | 3823 |
3790 | 3824 |
3791 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3825 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3792 echo "configure:3793: checking return type of signal handlers" >&5 | 3826 echo "configure:3827: checking return type of signal handlers" >&5 |
3793 | 3827 |
3794 cat > conftest.$ac_ext <<EOF | 3828 cat > conftest.$ac_ext <<EOF |
3795 #line 3796 "configure" | 3829 #line 3830 "configure" |
3796 #include "confdefs.h" | 3830 #include "confdefs.h" |
3797 #include <sys/types.h> | 3831 #include <sys/types.h> |
3798 #include <signal.h> | 3832 #include <signal.h> |
3799 #ifdef signal | 3833 #ifdef signal |
3800 #undef signal | 3834 #undef signal |
3807 | 3841 |
3808 int main() { | 3842 int main() { |
3809 int i; | 3843 int i; |
3810 ; return 0; } | 3844 ; return 0; } |
3811 EOF | 3845 EOF |
3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3846 if { (eval echo configure:3847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3813 rm -rf conftest* | 3847 rm -rf conftest* |
3814 ac_cv_type_signal=void | 3848 ac_cv_type_signal=void |
3815 else | 3849 else |
3816 echo "configure: failed program was:" >&5 | 3850 echo "configure: failed program was:" >&5 |
3817 cat conftest.$ac_ext >&5 | 3851 cat conftest.$ac_ext >&5 |
3829 EOF | 3863 EOF |
3830 } | 3864 } |
3831 | 3865 |
3832 | 3866 |
3833 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3834 echo "configure:3835: checking for size_t" >&5 | 3868 echo "configure:3869: checking for size_t" >&5 |
3835 | 3869 |
3836 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3837 #line 3838 "configure" | 3871 #line 3872 "configure" |
3838 #include "confdefs.h" | 3872 #include "confdefs.h" |
3839 #include <sys/types.h> | 3873 #include <sys/types.h> |
3840 #if STDC_HEADERS | 3874 #if STDC_HEADERS |
3841 #include <stdlib.h> | 3875 #include <stdlib.h> |
3842 #include <stddef.h> | 3876 #include <stddef.h> |
3863 } | 3897 } |
3864 | 3898 |
3865 fi | 3899 fi |
3866 | 3900 |
3867 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3901 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking for pid_t" >&5 | 3902 echo "configure:3903: checking for pid_t" >&5 |
3869 | 3903 |
3870 cat > conftest.$ac_ext <<EOF | 3904 cat > conftest.$ac_ext <<EOF |
3871 #line 3872 "configure" | 3905 #line 3906 "configure" |
3872 #include "confdefs.h" | 3906 #include "confdefs.h" |
3873 #include <sys/types.h> | 3907 #include <sys/types.h> |
3874 #if STDC_HEADERS | 3908 #if STDC_HEADERS |
3875 #include <stdlib.h> | 3909 #include <stdlib.h> |
3876 #include <stddef.h> | 3910 #include <stddef.h> |
3897 } | 3931 } |
3898 | 3932 |
3899 fi | 3933 fi |
3900 | 3934 |
3901 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3935 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3902 echo "configure:3903: checking for uid_t in sys/types.h" >&5 | 3936 echo "configure:3937: checking for uid_t in sys/types.h" >&5 |
3903 | 3937 |
3904 cat > conftest.$ac_ext <<EOF | 3938 cat > conftest.$ac_ext <<EOF |
3905 #line 3906 "configure" | 3939 #line 3940 "configure" |
3906 #include "confdefs.h" | 3940 #include "confdefs.h" |
3907 #include <sys/types.h> | 3941 #include <sys/types.h> |
3908 EOF | 3942 EOF |
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3910 egrep "uid_t" >/dev/null 2>&1; then | 3944 egrep "uid_t" >/dev/null 2>&1; then |
3936 } | 3970 } |
3937 | 3971 |
3938 fi | 3972 fi |
3939 | 3973 |
3940 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3974 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3941 echo "configure:3942: checking for mode_t" >&5 | 3975 echo "configure:3976: checking for mode_t" >&5 |
3942 | 3976 |
3943 cat > conftest.$ac_ext <<EOF | 3977 cat > conftest.$ac_ext <<EOF |
3944 #line 3945 "configure" | 3978 #line 3979 "configure" |
3945 #include "confdefs.h" | 3979 #include "confdefs.h" |
3946 #include <sys/types.h> | 3980 #include <sys/types.h> |
3947 #if STDC_HEADERS | 3981 #if STDC_HEADERS |
3948 #include <stdlib.h> | 3982 #include <stdlib.h> |
3949 #include <stddef.h> | 3983 #include <stddef.h> |
3970 } | 4004 } |
3971 | 4005 |
3972 fi | 4006 fi |
3973 | 4007 |
3974 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4008 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3975 echo "configure:3976: checking for off_t" >&5 | 4009 echo "configure:4010: checking for off_t" >&5 |
3976 | 4010 |
3977 cat > conftest.$ac_ext <<EOF | 4011 cat > conftest.$ac_ext <<EOF |
3978 #line 3979 "configure" | 4012 #line 4013 "configure" |
3979 #include "confdefs.h" | 4013 #include "confdefs.h" |
3980 #include <sys/types.h> | 4014 #include <sys/types.h> |
3981 #if STDC_HEADERS | 4015 #if STDC_HEADERS |
3982 #include <stdlib.h> | 4016 #include <stdlib.h> |
3983 #include <stddef.h> | 4017 #include <stddef.h> |
4004 } | 4038 } |
4005 | 4039 |
4006 fi | 4040 fi |
4007 | 4041 |
4008 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4042 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking for ssize_t" >&5 | 4043 echo "configure:4044: checking for ssize_t" >&5 |
4010 | 4044 |
4011 cat > conftest.$ac_ext <<EOF | 4045 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 4046 #line 4047 "configure" |
4013 #include "confdefs.h" | 4047 #include "confdefs.h" |
4014 #include <sys/types.h> | 4048 #include <sys/types.h> |
4015 #if STDC_HEADERS | 4049 #if STDC_HEADERS |
4016 #include <stdlib.h> | 4050 #include <stdlib.h> |
4017 #include <stddef.h> | 4051 #include <stddef.h> |
4039 | 4073 |
4040 fi | 4074 fi |
4041 | 4075 |
4042 | 4076 |
4043 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4077 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4044 echo "configure:4045: checking for socklen_t" >&5 | 4078 echo "configure:4079: checking for socklen_t" >&5 |
4045 cat > conftest.$ac_ext <<EOF | 4079 cat > conftest.$ac_ext <<EOF |
4046 #line 4047 "configure" | 4080 #line 4081 "configure" |
4047 #include "confdefs.h" | 4081 #include "confdefs.h" |
4048 #include <sys/socket.h> | 4082 #include <sys/socket.h> |
4049 socklen_t x; | 4083 socklen_t x; |
4050 | 4084 |
4051 int main() { | 4085 int main() { |
4052 | 4086 |
4053 ; return 0; } | 4087 ; return 0; } |
4054 EOF | 4088 EOF |
4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4089 if { (eval echo configure:4090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4056 rm -rf conftest* | 4090 rm -rf conftest* |
4057 echo "$ac_t""yes" 1>&6 | 4091 echo "$ac_t""yes" 1>&6 |
4058 else | 4092 else |
4059 echo "configure: failed program was:" >&5 | 4093 echo "configure: failed program was:" >&5 |
4060 cat conftest.$ac_ext >&5 | 4094 cat conftest.$ac_ext >&5 |
4061 rm -rf conftest* | 4095 rm -rf conftest* |
4062 | 4096 |
4063 cat > conftest.$ac_ext <<EOF | 4097 cat > conftest.$ac_ext <<EOF |
4064 #line 4065 "configure" | 4098 #line 4099 "configure" |
4065 #include "confdefs.h" | 4099 #include "confdefs.h" |
4066 #include <sys/socket.h> | 4100 #include <sys/socket.h> |
4067 int accept (int, struct sockaddr *, size_t *); | 4101 int accept (int, struct sockaddr *, size_t *); |
4068 | 4102 |
4069 int main() { | 4103 int main() { |
4070 | 4104 |
4071 ; return 0; } | 4105 ; return 0; } |
4072 EOF | 4106 EOF |
4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4107 if { (eval echo configure:4108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4074 rm -rf conftest* | 4108 rm -rf conftest* |
4075 | 4109 |
4076 echo "$ac_t""size_t" 1>&6 | 4110 echo "$ac_t""size_t" 1>&6 |
4077 { test "$extra_verbose" = "yes" && cat << \EOF | 4111 { test "$extra_verbose" = "yes" && cat << \EOF |
4078 Defining socklen_t = size_t | 4112 Defining socklen_t = size_t |
4100 rm -f conftest* | 4134 rm -f conftest* |
4101 fi | 4135 fi |
4102 rm -f conftest* | 4136 rm -f conftest* |
4103 | 4137 |
4104 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4138 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4105 echo "configure:4106: checking for struct timeval" >&5 | 4139 echo "configure:4140: checking for struct timeval" >&5 |
4106 cat > conftest.$ac_ext <<EOF | 4140 cat > conftest.$ac_ext <<EOF |
4107 #line 4108 "configure" | 4141 #line 4142 "configure" |
4108 #include "confdefs.h" | 4142 #include "confdefs.h" |
4109 #ifdef TIME_WITH_SYS_TIME | 4143 #ifdef TIME_WITH_SYS_TIME |
4110 #include <sys/time.h> | 4144 #include <sys/time.h> |
4111 #include <time.h> | 4145 #include <time.h> |
4112 #else | 4146 #else |
4118 #endif | 4152 #endif |
4119 int main() { | 4153 int main() { |
4120 static struct timeval x; x.tv_sec = x.tv_usec; | 4154 static struct timeval x; x.tv_sec = x.tv_usec; |
4121 ; return 0; } | 4155 ; return 0; } |
4122 EOF | 4156 EOF |
4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4157 if { (eval echo configure:4158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4124 rm -rf conftest* | 4158 rm -rf conftest* |
4125 echo "$ac_t""yes" 1>&6 | 4159 echo "$ac_t""yes" 1>&6 |
4126 HAVE_TIMEVAL=yes | 4160 HAVE_TIMEVAL=yes |
4127 { test "$extra_verbose" = "yes" && cat << \EOF | 4161 { test "$extra_verbose" = "yes" && cat << \EOF |
4128 Defining HAVE_TIMEVAL | 4162 Defining HAVE_TIMEVAL |
4140 HAVE_TIMEVAL=no | 4174 HAVE_TIMEVAL=no |
4141 fi | 4175 fi |
4142 rm -f conftest* | 4176 rm -f conftest* |
4143 | 4177 |
4144 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4178 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4145 echo "configure:4146: checking whether struct tm is in sys/time.h or time.h" >&5 | 4179 echo "configure:4180: checking whether struct tm is in sys/time.h or time.h" >&5 |
4146 | 4180 |
4147 cat > conftest.$ac_ext <<EOF | 4181 cat > conftest.$ac_ext <<EOF |
4148 #line 4149 "configure" | 4182 #line 4183 "configure" |
4149 #include "confdefs.h" | 4183 #include "confdefs.h" |
4150 #include <sys/types.h> | 4184 #include <sys/types.h> |
4151 #include <time.h> | 4185 #include <time.h> |
4152 int main() { | 4186 int main() { |
4153 struct tm *tp; tp->tm_sec; | 4187 struct tm *tp; tp->tm_sec; |
4154 ; return 0; } | 4188 ; return 0; } |
4155 EOF | 4189 EOF |
4156 if { (eval echo configure:4157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4190 if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4157 rm -rf conftest* | 4191 rm -rf conftest* |
4158 ac_cv_struct_tm=time.h | 4192 ac_cv_struct_tm=time.h |
4159 else | 4193 else |
4160 echo "configure: failed program was:" >&5 | 4194 echo "configure: failed program was:" >&5 |
4161 cat conftest.$ac_ext >&5 | 4195 cat conftest.$ac_ext >&5 |
4175 } | 4209 } |
4176 | 4210 |
4177 fi | 4211 fi |
4178 | 4212 |
4179 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4180 echo "configure:4181: checking for tm_zone in struct tm" >&5 | 4214 echo "configure:4215: checking for tm_zone in struct tm" >&5 |
4181 | 4215 |
4182 cat > conftest.$ac_ext <<EOF | 4216 cat > conftest.$ac_ext <<EOF |
4183 #line 4184 "configure" | 4217 #line 4218 "configure" |
4184 #include "confdefs.h" | 4218 #include "confdefs.h" |
4185 #include <sys/types.h> | 4219 #include <sys/types.h> |
4186 #include <$ac_cv_struct_tm> | 4220 #include <$ac_cv_struct_tm> |
4187 int main() { | 4221 int main() { |
4188 struct tm tm; tm.tm_zone; | 4222 struct tm tm; tm.tm_zone; |
4189 ; return 0; } | 4223 ; return 0; } |
4190 EOF | 4224 EOF |
4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4225 if { (eval echo configure:4226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4192 rm -rf conftest* | 4226 rm -rf conftest* |
4193 ac_cv_struct_tm_zone=yes | 4227 ac_cv_struct_tm_zone=yes |
4194 else | 4228 else |
4195 echo "configure: failed program was:" >&5 | 4229 echo "configure: failed program was:" >&5 |
4196 cat conftest.$ac_ext >&5 | 4230 cat conftest.$ac_ext >&5 |
4209 EOF | 4243 EOF |
4210 } | 4244 } |
4211 | 4245 |
4212 else | 4246 else |
4213 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4247 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4214 echo "configure:4215: checking for tzname" >&5 | 4248 echo "configure:4249: checking for tzname" >&5 |
4215 | 4249 |
4216 cat > conftest.$ac_ext <<EOF | 4250 cat > conftest.$ac_ext <<EOF |
4217 #line 4218 "configure" | 4251 #line 4252 "configure" |
4218 #include "confdefs.h" | 4252 #include "confdefs.h" |
4219 #include <time.h> | 4253 #include <time.h> |
4220 #ifndef tzname /* For SGI. */ | 4254 #ifndef tzname /* For SGI. */ |
4221 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4255 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4222 #endif | 4256 #endif |
4223 int main() { | 4257 int main() { |
4224 atoi(*tzname); | 4258 atoi(*tzname); |
4225 ; return 0; } | 4259 ; return 0; } |
4226 EOF | 4260 EOF |
4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4261 if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4228 rm -rf conftest* | 4262 rm -rf conftest* |
4229 ac_cv_var_tzname=yes | 4263 ac_cv_var_tzname=yes |
4230 else | 4264 else |
4231 echo "configure: failed program was:" >&5 | 4265 echo "configure: failed program was:" >&5 |
4232 cat conftest.$ac_ext >&5 | 4266 cat conftest.$ac_ext >&5 |
4248 fi | 4282 fi |
4249 fi | 4283 fi |
4250 | 4284 |
4251 | 4285 |
4252 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4286 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4253 echo "configure:4254: checking for working const" >&5 | 4287 echo "configure:4288: checking for working const" >&5 |
4254 | 4288 |
4255 cat > conftest.$ac_ext <<EOF | 4289 cat > conftest.$ac_ext <<EOF |
4256 #line 4257 "configure" | 4290 #line 4291 "configure" |
4257 #include "confdefs.h" | 4291 #include "confdefs.h" |
4258 | 4292 |
4259 int main() { | 4293 int main() { |
4260 | 4294 |
4261 /* Ultrix mips cc rejects this. */ | 4295 /* Ultrix mips cc rejects this. */ |
4300 const int foo = 10; | 4334 const int foo = 10; |
4301 } | 4335 } |
4302 | 4336 |
4303 ; return 0; } | 4337 ; return 0; } |
4304 EOF | 4338 EOF |
4305 if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4339 if { (eval echo configure:4340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4306 rm -rf conftest* | 4340 rm -rf conftest* |
4307 ac_cv_c_const=yes | 4341 ac_cv_c_const=yes |
4308 else | 4342 else |
4309 echo "configure: failed program was:" >&5 | 4343 echo "configure: failed program was:" >&5 |
4310 cat conftest.$ac_ext >&5 | 4344 cat conftest.$ac_ext >&5 |
4325 | 4359 |
4326 fi | 4360 fi |
4327 | 4361 |
4328 | 4362 |
4329 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4363 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4330 echo "configure:4331: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4364 echo "configure:4365: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4331 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4365 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4332 | 4366 |
4333 cat > conftestmake <<\EOF | 4367 cat > conftestmake <<\EOF |
4334 all: | 4368 all: |
4335 @echo 'ac_maketemp="${MAKE}"' | 4369 @echo 'ac_maketemp="${MAKE}"' |
4350 SET_MAKE="MAKE=${MAKE-make}" | 4384 SET_MAKE="MAKE=${MAKE-make}" |
4351 fi | 4385 fi |
4352 | 4386 |
4353 | 4387 |
4354 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4388 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4355 echo "configure:4356: checking whether byte ordering is bigendian" >&5 | 4389 echo "configure:4390: checking whether byte ordering is bigendian" >&5 |
4356 | 4390 |
4357 ac_cv_c_bigendian=unknown | 4391 ac_cv_c_bigendian=unknown |
4358 # See if sys/param.h defines the BYTE_ORDER macro. | 4392 # See if sys/param.h defines the BYTE_ORDER macro. |
4359 cat > conftest.$ac_ext <<EOF | 4393 cat > conftest.$ac_ext <<EOF |
4360 #line 4361 "configure" | 4394 #line 4395 "configure" |
4361 #include "confdefs.h" | 4395 #include "confdefs.h" |
4362 #include <sys/types.h> | 4396 #include <sys/types.h> |
4363 #include <sys/param.h> | 4397 #include <sys/param.h> |
4364 int main() { | 4398 int main() { |
4365 | 4399 |
4366 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4400 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4367 bogus endian macros | 4401 bogus endian macros |
4368 #endif | 4402 #endif |
4369 ; return 0; } | 4403 ; return 0; } |
4370 EOF | 4404 EOF |
4371 if { (eval echo configure:4372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4405 if { (eval echo configure:4406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4372 rm -rf conftest* | 4406 rm -rf conftest* |
4373 # It does; now see whether it defined to BIG_ENDIAN or not. | 4407 # It does; now see whether it defined to BIG_ENDIAN or not. |
4374 cat > conftest.$ac_ext <<EOF | 4408 cat > conftest.$ac_ext <<EOF |
4375 #line 4376 "configure" | 4409 #line 4410 "configure" |
4376 #include "confdefs.h" | 4410 #include "confdefs.h" |
4377 #include <sys/types.h> | 4411 #include <sys/types.h> |
4378 #include <sys/param.h> | 4412 #include <sys/param.h> |
4379 int main() { | 4413 int main() { |
4380 | 4414 |
4381 #if BYTE_ORDER != BIG_ENDIAN | 4415 #if BYTE_ORDER != BIG_ENDIAN |
4382 not big endian | 4416 not big endian |
4383 #endif | 4417 #endif |
4384 ; return 0; } | 4418 ; return 0; } |
4385 EOF | 4419 EOF |
4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4420 if { (eval echo configure:4421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4387 rm -rf conftest* | 4421 rm -rf conftest* |
4388 ac_cv_c_bigendian=yes | 4422 ac_cv_c_bigendian=yes |
4389 else | 4423 else |
4390 echo "configure: failed program was:" >&5 | 4424 echo "configure: failed program was:" >&5 |
4391 cat conftest.$ac_ext >&5 | 4425 cat conftest.$ac_ext >&5 |
4398 cat conftest.$ac_ext >&5 | 4432 cat conftest.$ac_ext >&5 |
4399 fi | 4433 fi |
4400 rm -f conftest* | 4434 rm -f conftest* |
4401 if test $ac_cv_c_bigendian = unknown; then | 4435 if test $ac_cv_c_bigendian = unknown; then |
4402 cat > conftest.$ac_ext <<EOF | 4436 cat > conftest.$ac_ext <<EOF |
4403 #line 4404 "configure" | 4437 #line 4438 "configure" |
4404 #include "confdefs.h" | 4438 #include "confdefs.h" |
4405 main () { | 4439 main () { |
4406 /* Are we little or big endian? From Harbison&Steele. */ | 4440 /* Are we little or big endian? From Harbison&Steele. */ |
4407 union | 4441 union |
4408 { | 4442 { |
4411 } u; | 4445 } u; |
4412 u.l = 1; | 4446 u.l = 1; |
4413 exit (u.c[sizeof (long) - 1] == 1); | 4447 exit (u.c[sizeof (long) - 1] == 1); |
4414 } | 4448 } |
4415 EOF | 4449 EOF |
4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4417 then | 4451 then |
4418 ac_cv_c_bigendian=no | 4452 ac_cv_c_bigendian=no |
4419 else | 4453 else |
4420 conftest_rc="$?" | 4454 conftest_rc="$?" |
4421 echo "configure: failed program was:" >&5 | 4455 echo "configure: failed program was:" >&5 |
4438 | 4472 |
4439 fi | 4473 fi |
4440 | 4474 |
4441 | 4475 |
4442 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4476 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4443 echo "configure:4444: checking size of short" >&5 | 4477 echo "configure:4478: checking size of short" >&5 |
4444 | 4478 |
4445 cat > conftest.$ac_ext <<EOF | 4479 cat > conftest.$ac_ext <<EOF |
4446 #line 4447 "configure" | 4480 #line 4481 "configure" |
4447 #include "confdefs.h" | 4481 #include "confdefs.h" |
4448 #include <stdio.h> | 4482 #include <stdio.h> |
4449 main() | 4483 main() |
4450 { | 4484 { |
4451 FILE *f=fopen("conftestval", "w"); | 4485 FILE *f=fopen("conftestval", "w"); |
4452 if (!f) exit(1); | 4486 if (!f) exit(1); |
4453 fprintf(f, "%d\n", sizeof(short)); | 4487 fprintf(f, "%d\n", sizeof(short)); |
4454 exit(0); | 4488 exit(0); |
4455 } | 4489 } |
4456 EOF | 4490 EOF |
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4458 then | 4492 then |
4459 ac_cv_sizeof_short=`cat conftestval` | 4493 ac_cv_sizeof_short=`cat conftestval` |
4460 else | 4494 else |
4461 conftest_rc="$?" | 4495 conftest_rc="$?" |
4462 echo "configure: failed program was:" >&5 | 4496 echo "configure: failed program was:" >&5 |
4480 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4514 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4481 echo "*** PANIC *** Please examine config.log for compilation errors." | 4515 echo "*** PANIC *** Please examine config.log for compilation errors." |
4482 exit 1 | 4516 exit 1 |
4483 fi | 4517 fi |
4484 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4518 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4485 echo "configure:4486: checking size of int" >&5 | 4519 echo "configure:4520: checking size of int" >&5 |
4486 | 4520 |
4487 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4488 #line 4489 "configure" | 4522 #line 4523 "configure" |
4489 #include "confdefs.h" | 4523 #include "confdefs.h" |
4490 #include <stdio.h> | 4524 #include <stdio.h> |
4491 main() | 4525 main() |
4492 { | 4526 { |
4493 FILE *f=fopen("conftestval", "w"); | 4527 FILE *f=fopen("conftestval", "w"); |
4494 if (!f) exit(1); | 4528 if (!f) exit(1); |
4495 fprintf(f, "%d\n", sizeof(int)); | 4529 fprintf(f, "%d\n", sizeof(int)); |
4496 exit(0); | 4530 exit(0); |
4497 } | 4531 } |
4498 EOF | 4532 EOF |
4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4500 then | 4534 then |
4501 ac_cv_sizeof_int=`cat conftestval` | 4535 ac_cv_sizeof_int=`cat conftestval` |
4502 else | 4536 else |
4503 conftest_rc="$?" | 4537 conftest_rc="$?" |
4504 echo "configure: failed program was:" >&5 | 4538 echo "configure: failed program was:" >&5 |
4516 EOF | 4550 EOF |
4517 } | 4551 } |
4518 | 4552 |
4519 | 4553 |
4520 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4554 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4521 echo "configure:4522: checking size of long" >&5 | 4555 echo "configure:4556: checking size of long" >&5 |
4522 | 4556 |
4523 cat > conftest.$ac_ext <<EOF | 4557 cat > conftest.$ac_ext <<EOF |
4524 #line 4525 "configure" | 4558 #line 4559 "configure" |
4525 #include "confdefs.h" | 4559 #include "confdefs.h" |
4526 #include <stdio.h> | 4560 #include <stdio.h> |
4527 main() | 4561 main() |
4528 { | 4562 { |
4529 FILE *f=fopen("conftestval", "w"); | 4563 FILE *f=fopen("conftestval", "w"); |
4530 if (!f) exit(1); | 4564 if (!f) exit(1); |
4531 fprintf(f, "%d\n", sizeof(long)); | 4565 fprintf(f, "%d\n", sizeof(long)); |
4532 exit(0); | 4566 exit(0); |
4533 } | 4567 } |
4534 EOF | 4568 EOF |
4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4569 if { (eval echo configure:4570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4536 then | 4570 then |
4537 ac_cv_sizeof_long=`cat conftestval` | 4571 ac_cv_sizeof_long=`cat conftestval` |
4538 else | 4572 else |
4539 conftest_rc="$?" | 4573 conftest_rc="$?" |
4540 echo "configure: failed program was:" >&5 | 4574 echo "configure: failed program was:" >&5 |
4552 EOF | 4586 EOF |
4553 } | 4587 } |
4554 | 4588 |
4555 | 4589 |
4556 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4590 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4557 echo "configure:4558: checking size of long long" >&5 | 4591 echo "configure:4592: checking size of long long" >&5 |
4558 | 4592 |
4559 cat > conftest.$ac_ext <<EOF | 4593 cat > conftest.$ac_ext <<EOF |
4560 #line 4561 "configure" | 4594 #line 4595 "configure" |
4561 #include "confdefs.h" | 4595 #include "confdefs.h" |
4562 #include <stdio.h> | 4596 #include <stdio.h> |
4563 main() | 4597 main() |
4564 { | 4598 { |
4565 FILE *f=fopen("conftestval", "w"); | 4599 FILE *f=fopen("conftestval", "w"); |
4566 if (!f) exit(1); | 4600 if (!f) exit(1); |
4567 fprintf(f, "%d\n", sizeof(long long)); | 4601 fprintf(f, "%d\n", sizeof(long long)); |
4568 exit(0); | 4602 exit(0); |
4569 } | 4603 } |
4570 EOF | 4604 EOF |
4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4605 if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4572 then | 4606 then |
4573 ac_cv_sizeof_long_long=`cat conftestval` | 4607 ac_cv_sizeof_long_long=`cat conftestval` |
4574 else | 4608 else |
4575 conftest_rc="$?" | 4609 conftest_rc="$?" |
4576 echo "configure: failed program was:" >&5 | 4610 echo "configure: failed program was:" >&5 |
4588 EOF | 4622 EOF |
4589 } | 4623 } |
4590 | 4624 |
4591 | 4625 |
4592 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4626 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4593 echo "configure:4594: checking size of void *" >&5 | 4627 echo "configure:4628: checking size of void *" >&5 |
4594 | 4628 |
4595 cat > conftest.$ac_ext <<EOF | 4629 cat > conftest.$ac_ext <<EOF |
4596 #line 4597 "configure" | 4630 #line 4631 "configure" |
4597 #include "confdefs.h" | 4631 #include "confdefs.h" |
4598 #include <stdio.h> | 4632 #include <stdio.h> |
4599 main() | 4633 main() |
4600 { | 4634 { |
4601 FILE *f=fopen("conftestval", "w"); | 4635 FILE *f=fopen("conftestval", "w"); |
4602 if (!f) exit(1); | 4636 if (!f) exit(1); |
4603 fprintf(f, "%d\n", sizeof(void *)); | 4637 fprintf(f, "%d\n", sizeof(void *)); |
4604 exit(0); | 4638 exit(0); |
4605 } | 4639 } |
4606 EOF | 4640 EOF |
4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4608 then | 4642 then |
4609 ac_cv_sizeof_void_p=`cat conftestval` | 4643 ac_cv_sizeof_void_p=`cat conftestval` |
4610 else | 4644 else |
4611 conftest_rc="$?" | 4645 conftest_rc="$?" |
4612 echo "configure: failed program was:" >&5 | 4646 echo "configure: failed program was:" >&5 |
4625 } | 4659 } |
4626 | 4660 |
4627 | 4661 |
4628 | 4662 |
4629 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4663 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4630 echo "configure:4631: checking for long file names" >&5 | 4664 echo "configure:4665: checking for long file names" >&5 |
4631 | 4665 |
4632 ac_cv_sys_long_file_names=yes | 4666 ac_cv_sys_long_file_names=yes |
4633 # Test for long file names in all the places we know might matter: | 4667 # Test for long file names in all the places we know might matter: |
4634 # . the current directory, where building will happen | 4668 # . the current directory, where building will happen |
4635 # $prefix/lib where we will be installing things | 4669 # $prefix/lib where we will be installing things |
4671 | 4705 |
4672 fi | 4706 fi |
4673 | 4707 |
4674 | 4708 |
4675 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4709 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4676 echo "configure:4677: checking for sin" >&5 | 4710 echo "configure:4711: checking for sin" >&5 |
4677 | 4711 |
4678 cat > conftest.$ac_ext <<EOF | 4712 cat > conftest.$ac_ext <<EOF |
4679 #line 4680 "configure" | 4713 #line 4714 "configure" |
4680 #include "confdefs.h" | 4714 #include "confdefs.h" |
4681 /* System header to define __stub macros and hopefully few prototypes, | 4715 /* System header to define __stub macros and hopefully few prototypes, |
4682 which can conflict with char sin(); below. */ | 4716 which can conflict with char sin(); below. */ |
4683 #include <assert.h> | 4717 #include <assert.h> |
4684 /* Override any gcc2 internal prototype to avoid an error. */ | 4718 /* Override any gcc2 internal prototype to avoid an error. */ |
4697 sin(); | 4731 sin(); |
4698 #endif | 4732 #endif |
4699 | 4733 |
4700 ; return 0; } | 4734 ; return 0; } |
4701 EOF | 4735 EOF |
4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4703 rm -rf conftest* | 4737 rm -rf conftest* |
4704 eval "ac_cv_func_sin=yes" | 4738 eval "ac_cv_func_sin=yes" |
4705 else | 4739 else |
4706 echo "configure: failed program was:" >&5 | 4740 echo "configure: failed program was:" >&5 |
4707 cat conftest.$ac_ext >&5 | 4741 cat conftest.$ac_ext >&5 |
4715 : | 4749 : |
4716 else | 4750 else |
4717 echo "$ac_t""no" 1>&6 | 4751 echo "$ac_t""no" 1>&6 |
4718 | 4752 |
4719 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4753 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4720 echo "configure:4721: checking for sin in -lm" >&5 | 4754 echo "configure:4755: checking for sin in -lm" >&5 |
4721 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4755 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4722 | 4756 |
4723 xe_check_libs=" -lm " | 4757 xe_check_libs=" -lm " |
4724 cat > conftest.$ac_ext <<EOF | 4758 cat > conftest.$ac_ext <<EOF |
4725 #line 4726 "configure" | 4759 #line 4760 "configure" |
4726 #include "confdefs.h" | 4760 #include "confdefs.h" |
4727 /* Override any gcc2 internal prototype to avoid an error. */ | 4761 /* Override any gcc2 internal prototype to avoid an error. */ |
4728 /* We use char because int might match the return type of a gcc2 | 4762 /* We use char because int might match the return type of a gcc2 |
4729 builtin and then its argument prototype would still apply. */ | 4763 builtin and then its argument prototype would still apply. */ |
4730 char sin(); | 4764 char sin(); |
4731 | 4765 |
4732 int main() { | 4766 int main() { |
4733 sin() | 4767 sin() |
4734 ; return 0; } | 4768 ; return 0; } |
4735 EOF | 4769 EOF |
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4770 if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4737 rm -rf conftest* | 4771 rm -rf conftest* |
4738 eval "ac_cv_lib_$ac_lib_var=yes" | 4772 eval "ac_cv_lib_$ac_lib_var=yes" |
4739 else | 4773 else |
4740 echo "configure: failed program was:" >&5 | 4774 echo "configure: failed program was:" >&5 |
4741 cat conftest.$ac_ext >&5 | 4775 cat conftest.$ac_ext >&5 |
4775 EOF | 4809 EOF |
4776 } | 4810 } |
4777 | 4811 |
4778 | 4812 |
4779 cat > conftest.$ac_ext <<EOF | 4813 cat > conftest.$ac_ext <<EOF |
4780 #line 4781 "configure" | 4814 #line 4815 "configure" |
4781 #include "confdefs.h" | 4815 #include "confdefs.h" |
4782 #include <math.h> | 4816 #include <math.h> |
4783 int main() { | 4817 int main() { |
4784 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4818 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4785 ; return 0; } | 4819 ; return 0; } |
4786 EOF | 4820 EOF |
4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4821 if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4788 rm -rf conftest* | 4822 rm -rf conftest* |
4789 { test "$extra_verbose" = "yes" && cat << \EOF | 4823 { test "$extra_verbose" = "yes" && cat << \EOF |
4790 Defining HAVE_INVERSE_HYPERBOLIC | 4824 Defining HAVE_INVERSE_HYPERBOLIC |
4791 EOF | 4825 EOF |
4792 cat >> confdefs.h <<\EOF | 4826 cat >> confdefs.h <<\EOF |
4799 cat conftest.$ac_ext >&5 | 4833 cat conftest.$ac_ext >&5 |
4800 fi | 4834 fi |
4801 rm -f conftest* | 4835 rm -f conftest* |
4802 | 4836 |
4803 echo "checking type of mail spool file locking" 1>&6 | 4837 echo "checking type of mail spool file locking" 1>&6 |
4804 echo "configure:4805: checking type of mail spool file locking" >&5 | 4838 echo "configure:4839: checking type of mail spool file locking" >&5 |
4805 for ac_func in lockf flock | 4839 for ac_func in lockf flock |
4806 do | 4840 do |
4807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4808 echo "configure:4809: checking for $ac_func" >&5 | 4842 echo "configure:4843: checking for $ac_func" >&5 |
4809 | 4843 |
4810 cat > conftest.$ac_ext <<EOF | 4844 cat > conftest.$ac_ext <<EOF |
4811 #line 4812 "configure" | 4845 #line 4846 "configure" |
4812 #include "confdefs.h" | 4846 #include "confdefs.h" |
4813 /* System header to define __stub macros and hopefully few prototypes, | 4847 /* System header to define __stub macros and hopefully few prototypes, |
4814 which can conflict with char $ac_func(); below. */ | 4848 which can conflict with char $ac_func(); below. */ |
4815 #include <assert.h> | 4849 #include <assert.h> |
4816 /* Override any gcc2 internal prototype to avoid an error. */ | 4850 /* Override any gcc2 internal prototype to avoid an error. */ |
4829 $ac_func(); | 4863 $ac_func(); |
4830 #endif | 4864 #endif |
4831 | 4865 |
4832 ; return 0; } | 4866 ; return 0; } |
4833 EOF | 4867 EOF |
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4835 rm -rf conftest* | 4869 rm -rf conftest* |
4836 eval "ac_cv_func_$ac_func=yes" | 4870 eval "ac_cv_func_$ac_func=yes" |
4837 else | 4871 else |
4838 echo "configure: failed program was:" >&5 | 4872 echo "configure: failed program was:" >&5 |
4839 cat conftest.$ac_ext >&5 | 4873 cat conftest.$ac_ext >&5 |
4911 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4945 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4912 | 4946 |
4913 case "$opsys" in decosf*) | 4947 case "$opsys" in decosf*) |
4914 | 4948 |
4915 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4949 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4916 echo "configure:4917: checking for cma_open in -lpthreads" >&5 | 4950 echo "configure:4951: checking for cma_open in -lpthreads" >&5 |
4917 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4951 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4918 | 4952 |
4919 xe_check_libs=" -lpthreads " | 4953 xe_check_libs=" -lpthreads " |
4920 cat > conftest.$ac_ext <<EOF | 4954 cat > conftest.$ac_ext <<EOF |
4921 #line 4922 "configure" | 4955 #line 4956 "configure" |
4922 #include "confdefs.h" | 4956 #include "confdefs.h" |
4923 /* Override any gcc2 internal prototype to avoid an error. */ | 4957 /* Override any gcc2 internal prototype to avoid an error. */ |
4924 /* We use char because int might match the return type of a gcc2 | 4958 /* We use char because int might match the return type of a gcc2 |
4925 builtin and then its argument prototype would still apply. */ | 4959 builtin and then its argument prototype would still apply. */ |
4926 char cma_open(); | 4960 char cma_open(); |
4927 | 4961 |
4928 int main() { | 4962 int main() { |
4929 cma_open() | 4963 cma_open() |
4930 ; return 0; } | 4964 ; return 0; } |
4931 EOF | 4965 EOF |
4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4966 if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4933 rm -rf conftest* | 4967 rm -rf conftest* |
4934 eval "ac_cv_lib_$ac_lib_var=yes" | 4968 eval "ac_cv_lib_$ac_lib_var=yes" |
4935 else | 4969 else |
4936 echo "configure: failed program was:" >&5 | 4970 echo "configure: failed program was:" >&5 |
4937 cat conftest.$ac_ext >&5 | 4971 cat conftest.$ac_ext >&5 |
4963 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4997 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4964 c_switch_site="$c_switch_site -threads" ;; | 4998 c_switch_site="$c_switch_site -threads" ;; |
4965 esac | 4999 esac |
4966 | 5000 |
4967 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5001 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking whether the -xildoff compiler flag is required" >&5 | 5002 echo "configure:5003: checking whether the -xildoff compiler flag is required" >&5 |
4969 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5003 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4970 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5004 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4971 then echo "$ac_t""no" 1>&6; | 5005 then echo "$ac_t""no" 1>&6; |
4972 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5006 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4973 fi | 5007 fi |
4975 fi | 5009 fi |
4976 | 5010 |
4977 if test "$opsys" = "sol2"; then | 5011 if test "$opsys" = "sol2"; then |
4978 if test "$os_release" -ge 56; then | 5012 if test "$os_release" -ge 56; then |
4979 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5013 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4980 echo "configure:4981: checking for \"-z ignore\" linker flag" >&5 | 5014 echo "configure:5015: checking for \"-z ignore\" linker flag" >&5 |
4981 case "`ld -h 2>&1`" in | 5015 case "`ld -h 2>&1`" in |
4982 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5016 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4983 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5017 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4984 *) echo "$ac_t""no" 1>&6 ;; | 5018 *) echo "$ac_t""no" 1>&6 ;; |
4985 esac | 5019 esac |
4986 fi | 5020 fi |
4987 fi | 5021 fi |
4988 | 5022 |
4989 | 5023 |
4990 echo "checking "for specified window system"" 1>&6 | 5024 echo "checking "for specified window system"" 1>&6 |
4991 echo "configure:4992: checking "for specified window system"" >&5 | 5025 echo "configure:5026: checking "for specified window system"" >&5 |
4992 | 5026 |
4993 | 5027 |
4994 GNOME_CONFIG=no | 5028 GNOME_CONFIG=no |
4995 GTK_CONFIG=no | 5029 GTK_CONFIG=no |
4996 | 5030 |
4997 if test "$with_gnome" != "no"; then | 5031 if test "$with_gnome" != "no"; then |
4998 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5032 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
4999 echo "configure:5000: checking for GNOME configuration script" >&5 | 5033 echo "configure:5034: checking for GNOME configuration script" >&5 |
5000 for possible in gnome-config | 5034 for possible in gnome-config |
5001 do | 5035 do |
5002 possible_version=`${possible} --version 2> /dev/null` | 5036 possible_version=`${possible} --version 2> /dev/null` |
5003 if test "x${possible_version}" != "x"; then | 5037 if test "x${possible_version}" != "x"; then |
5004 GNOME_CONFIG="${possible}" | 5038 GNOME_CONFIG="${possible}" |
5025 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5059 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5026 fi | 5060 fi |
5027 | 5061 |
5028 if test "$with_gtk" != "no";then | 5062 if test "$with_gtk" != "no";then |
5029 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5063 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5030 echo "configure:5031: checking for GTK configuration script" >&5 | 5064 echo "configure:5065: checking for GTK configuration script" >&5 |
5031 for possible in gtk12-config gtk14-config gtk-config | 5065 for possible in gtk12-config gtk14-config gtk-config |
5032 do | 5066 do |
5033 possible_version=`${possible} --version 2> /dev/null` | 5067 possible_version=`${possible} --version 2> /dev/null` |
5034 if test "x${possible_version}" != "x"; then | 5068 if test "x${possible_version}" != "x"; then |
5035 GTK_CONFIG="${possible}" | 5069 GTK_CONFIG="${possible}" |
5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5081 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5048 fi | 5082 fi |
5049 | 5083 |
5050 if test "${GTK_CONFIG}" != "no"; then | 5084 if test "${GTK_CONFIG}" != "no"; then |
5051 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5085 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5052 echo "configure:5053: checking gtk version" >&5 | 5086 echo "configure:5087: checking gtk version" >&5 |
5053 GTK_VERSION=`${GTK_CONFIG} --version` | 5087 GTK_VERSION=`${GTK_CONFIG} --version` |
5054 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5088 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5055 | 5089 |
5056 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5090 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5057 echo "configure:5058: checking gtk libs" >&5 | 5091 echo "configure:5092: checking gtk libs" >&5 |
5058 GTK_LIBS=`${GTK_CONFIG} --libs` | 5092 GTK_LIBS=`${GTK_CONFIG} --libs` |
5059 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5093 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5060 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5094 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5061 | 5095 |
5062 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5096 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5063 echo "configure:5064: checking gtk cflags" >&5 | 5097 echo "configure:5098: checking gtk cflags" >&5 |
5064 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5098 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5065 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5099 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5066 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5100 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5067 | 5101 |
5068 | 5102 |
5069 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5103 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5070 echo "configure:5071: checking for main in -lgdk_imlib" >&5 | 5104 echo "configure:5105: checking for main in -lgdk_imlib" >&5 |
5071 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5105 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5072 | 5106 |
5073 xe_check_libs=" -lgdk_imlib " | 5107 xe_check_libs=" -lgdk_imlib " |
5074 cat > conftest.$ac_ext <<EOF | 5108 cat > conftest.$ac_ext <<EOF |
5075 #line 5076 "configure" | 5109 #line 5110 "configure" |
5076 #include "confdefs.h" | 5110 #include "confdefs.h" |
5077 | 5111 |
5078 int main() { | 5112 int main() { |
5079 main() | 5113 main() |
5080 ; return 0; } | 5114 ; return 0; } |
5081 EOF | 5115 EOF |
5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5083 rm -rf conftest* | 5117 rm -rf conftest* |
5084 eval "ac_cv_lib_$ac_lib_var=yes" | 5118 eval "ac_cv_lib_$ac_lib_var=yes" |
5085 else | 5119 else |
5086 echo "configure: failed program was:" >&5 | 5120 echo "configure: failed program was:" >&5 |
5087 cat conftest.$ac_ext >&5 | 5121 cat conftest.$ac_ext >&5 |
5099 fi | 5133 fi |
5100 | 5134 |
5101 | 5135 |
5102 | 5136 |
5103 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5137 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5104 echo "configure:5105: checking for Imlib_init in -lImlib" >&5 | 5138 echo "configure:5139: checking for Imlib_init in -lImlib" >&5 |
5105 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5139 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5106 | 5140 |
5107 xe_check_libs=" -lImlib " | 5141 xe_check_libs=" -lImlib " |
5108 cat > conftest.$ac_ext <<EOF | 5142 cat > conftest.$ac_ext <<EOF |
5109 #line 5110 "configure" | 5143 #line 5144 "configure" |
5110 #include "confdefs.h" | 5144 #include "confdefs.h" |
5111 /* Override any gcc2 internal prototype to avoid an error. */ | 5145 /* Override any gcc2 internal prototype to avoid an error. */ |
5112 /* We use char because int might match the return type of a gcc2 | 5146 /* We use char because int might match the return type of a gcc2 |
5113 builtin and then its argument prototype would still apply. */ | 5147 builtin and then its argument prototype would still apply. */ |
5114 char Imlib_init(); | 5148 char Imlib_init(); |
5115 | 5149 |
5116 int main() { | 5150 int main() { |
5117 Imlib_init() | 5151 Imlib_init() |
5118 ; return 0; } | 5152 ; return 0; } |
5119 EOF | 5153 EOF |
5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5121 rm -rf conftest* | 5155 rm -rf conftest* |
5122 eval "ac_cv_lib_$ac_lib_var=yes" | 5156 eval "ac_cv_lib_$ac_lib_var=yes" |
5123 else | 5157 else |
5124 echo "configure: failed program was:" >&5 | 5158 echo "configure: failed program was:" >&5 |
5125 cat conftest.$ac_ext >&5 | 5159 cat conftest.$ac_ext >&5 |
5138 | 5172 |
5139 | 5173 |
5140 for ac_func in gdk_imlib_init | 5174 for ac_func in gdk_imlib_init |
5141 do | 5175 do |
5142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5143 echo "configure:5144: checking for $ac_func" >&5 | 5177 echo "configure:5178: checking for $ac_func" >&5 |
5144 | 5178 |
5145 cat > conftest.$ac_ext <<EOF | 5179 cat > conftest.$ac_ext <<EOF |
5146 #line 5147 "configure" | 5180 #line 5181 "configure" |
5147 #include "confdefs.h" | 5181 #include "confdefs.h" |
5148 /* System header to define __stub macros and hopefully few prototypes, | 5182 /* System header to define __stub macros and hopefully few prototypes, |
5149 which can conflict with char $ac_func(); below. */ | 5183 which can conflict with char $ac_func(); below. */ |
5150 #include <assert.h> | 5184 #include <assert.h> |
5151 /* Override any gcc2 internal prototype to avoid an error. */ | 5185 /* Override any gcc2 internal prototype to avoid an error. */ |
5164 $ac_func(); | 5198 $ac_func(); |
5165 #endif | 5199 #endif |
5166 | 5200 |
5167 ; return 0; } | 5201 ; return 0; } |
5168 EOF | 5202 EOF |
5169 if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5203 if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5170 rm -rf conftest* | 5204 rm -rf conftest* |
5171 eval "ac_cv_func_$ac_func=yes" | 5205 eval "ac_cv_func_$ac_func=yes" |
5172 else | 5206 else |
5173 echo "configure: failed program was:" >&5 | 5207 echo "configure: failed program was:" >&5 |
5174 cat conftest.$ac_ext >&5 | 5208 cat conftest.$ac_ext >&5 |
5241 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5275 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5242 for ac_hdr in glade/glade.h glade.h | 5276 for ac_hdr in glade/glade.h glade.h |
5243 do | 5277 do |
5244 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5246 echo "configure:5247: checking for $ac_hdr" >&5 | 5280 echo "configure:5281: checking for $ac_hdr" >&5 |
5247 | 5281 |
5248 cat > conftest.$ac_ext <<EOF | 5282 cat > conftest.$ac_ext <<EOF |
5249 #line 5250 "configure" | 5283 #line 5284 "configure" |
5250 #include "confdefs.h" | 5284 #include "confdefs.h" |
5251 #include <$ac_hdr> | 5285 #include <$ac_hdr> |
5252 EOF | 5286 EOF |
5253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5254 { (eval echo configure:5255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5288 { (eval echo configure:5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5256 if test -z "$ac_err"; then | 5290 if test -z "$ac_err"; then |
5257 rm -rf conftest* | 5291 rm -rf conftest* |
5258 eval "ac_cv_header_$ac_safe=yes" | 5292 eval "ac_cv_header_$ac_safe=yes" |
5259 else | 5293 else |
5280 fi | 5314 fi |
5281 done | 5315 done |
5282 | 5316 |
5283 | 5317 |
5284 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5318 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5285 echo "configure:5286: checking for main in -lxml" >&5 | 5319 echo "configure:5320: checking for main in -lxml" >&5 |
5286 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5320 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5287 | 5321 |
5288 xe_check_libs=" -lxml " | 5322 xe_check_libs=" -lxml " |
5289 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
5290 #line 5291 "configure" | 5324 #line 5325 "configure" |
5291 #include "confdefs.h" | 5325 #include "confdefs.h" |
5292 | 5326 |
5293 int main() { | 5327 int main() { |
5294 main() | 5328 main() |
5295 ; return 0; } | 5329 ; return 0; } |
5296 EOF | 5330 EOF |
5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5298 rm -rf conftest* | 5332 rm -rf conftest* |
5299 eval "ac_cv_lib_$ac_lib_var=yes" | 5333 eval "ac_cv_lib_$ac_lib_var=yes" |
5300 else | 5334 else |
5301 echo "configure: failed program was:" >&5 | 5335 echo "configure: failed program was:" >&5 |
5302 cat conftest.$ac_ext >&5 | 5336 cat conftest.$ac_ext >&5 |
5314 fi | 5348 fi |
5315 | 5349 |
5316 | 5350 |
5317 | 5351 |
5318 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5352 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5319 echo "configure:5320: checking for main in -lglade" >&5 | 5353 echo "configure:5354: checking for main in -lglade" >&5 |
5320 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5354 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5321 | 5355 |
5322 xe_check_libs=" -lglade " | 5356 xe_check_libs=" -lglade " |
5323 cat > conftest.$ac_ext <<EOF | 5357 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5358 #line 5359 "configure" |
5325 #include "confdefs.h" | 5359 #include "confdefs.h" |
5326 | 5360 |
5327 int main() { | 5361 int main() { |
5328 main() | 5362 main() |
5329 ; return 0; } | 5363 ; return 0; } |
5330 EOF | 5364 EOF |
5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5332 rm -rf conftest* | 5366 rm -rf conftest* |
5333 eval "ac_cv_lib_$ac_lib_var=yes" | 5367 eval "ac_cv_lib_$ac_lib_var=yes" |
5334 else | 5368 else |
5335 echo "configure: failed program was:" >&5 | 5369 echo "configure: failed program was:" >&5 |
5336 cat conftest.$ac_ext >&5 | 5370 cat conftest.$ac_ext >&5 |
5348 fi | 5382 fi |
5349 | 5383 |
5350 | 5384 |
5351 | 5385 |
5352 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5386 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5353 echo "configure:5354: checking for main in -lglade-gnome" >&5 | 5387 echo "configure:5388: checking for main in -lglade-gnome" >&5 |
5354 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5388 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5355 | 5389 |
5356 xe_check_libs=" -lglade-gnome " | 5390 xe_check_libs=" -lglade-gnome " |
5357 cat > conftest.$ac_ext <<EOF | 5391 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5392 #line 5393 "configure" |
5359 #include "confdefs.h" | 5393 #include "confdefs.h" |
5360 | 5394 |
5361 int main() { | 5395 int main() { |
5362 main() | 5396 main() |
5363 ; return 0; } | 5397 ; return 0; } |
5364 EOF | 5398 EOF |
5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5399 if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5366 rm -rf conftest* | 5400 rm -rf conftest* |
5367 eval "ac_cv_lib_$ac_lib_var=yes" | 5401 eval "ac_cv_lib_$ac_lib_var=yes" |
5368 else | 5402 else |
5369 echo "configure: failed program was:" >&5 | 5403 echo "configure: failed program was:" >&5 |
5370 cat conftest.$ac_ext >&5 | 5404 cat conftest.$ac_ext >&5 |
5381 echo "$ac_t""no" 1>&6 | 5415 echo "$ac_t""no" 1>&6 |
5382 fi | 5416 fi |
5383 | 5417 |
5384 | 5418 |
5385 cat > conftest.$ac_ext <<EOF | 5419 cat > conftest.$ac_ext <<EOF |
5386 #line 5387 "configure" | 5420 #line 5421 "configure" |
5387 #include "confdefs.h" | 5421 #include "confdefs.h" |
5388 #include <glade/glade-xml.h> | 5422 #include <glade/glade-xml.h> |
5389 EOF | 5423 EOF |
5390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5391 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5425 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5439 # If we find X, set shell vars x_includes and x_libraries to the | 5473 # If we find X, set shell vars x_includes and x_libraries to the |
5440 # paths, otherwise set no_x=yes. | 5474 # paths, otherwise set no_x=yes. |
5441 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5475 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5442 # --without-x overrides everything else, but does not touch the cache. | 5476 # --without-x overrides everything else, but does not touch the cache. |
5443 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5477 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5444 echo "configure:5445: checking for X" >&5 | 5478 echo "configure:5479: checking for X" >&5 |
5445 | 5479 |
5446 # Check whether --with-x or --without-x was given. | 5480 # Check whether --with-x or --without-x was given. |
5447 if test "${with_x+set}" = set; then | 5481 if test "${with_x+set}" = set; then |
5448 withval="$with_x" | 5482 withval="$with_x" |
5449 : | 5483 : |
5499 # Guess where to find include files, by looking for this one X11 .h file. | 5533 # Guess where to find include files, by looking for this one X11 .h file. |
5500 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5534 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5501 | 5535 |
5502 # First, try using that file with no special directory specified. | 5536 # First, try using that file with no special directory specified. |
5503 cat > conftest.$ac_ext <<EOF | 5537 cat > conftest.$ac_ext <<EOF |
5504 #line 5505 "configure" | 5538 #line 5539 "configure" |
5505 #include "confdefs.h" | 5539 #include "confdefs.h" |
5506 #include <$x_direct_test_include> | 5540 #include <$x_direct_test_include> |
5507 EOF | 5541 EOF |
5508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5509 { (eval echo configure:5510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5543 { (eval echo configure:5544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5511 if test -z "$ac_err"; then | 5545 if test -z "$ac_err"; then |
5512 rm -rf conftest* | 5546 rm -rf conftest* |
5513 # We can compile using X headers with no special include directory. | 5547 # We can compile using X headers with no special include directory. |
5514 ac_x_includes= | 5548 ac_x_includes= |
5573 # See if we find them without any special options. | 5607 # See if we find them without any special options. |
5574 # Don't add to $LIBS permanently. | 5608 # Don't add to $LIBS permanently. |
5575 ac_save_LIBS="$LIBS" | 5609 ac_save_LIBS="$LIBS" |
5576 LIBS="-l$x_direct_test_library $LIBS" | 5610 LIBS="-l$x_direct_test_library $LIBS" |
5577 cat > conftest.$ac_ext <<EOF | 5611 cat > conftest.$ac_ext <<EOF |
5578 #line 5579 "configure" | 5612 #line 5613 "configure" |
5579 #include "confdefs.h" | 5613 #include "confdefs.h" |
5580 | 5614 |
5581 int main() { | 5615 int main() { |
5582 ${x_direct_test_function}() | 5616 ${x_direct_test_function}() |
5583 ; return 0; } | 5617 ; return 0; } |
5584 EOF | 5618 EOF |
5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5619 if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5586 rm -rf conftest* | 5620 rm -rf conftest* |
5587 LIBS="$ac_save_LIBS" | 5621 LIBS="$ac_save_LIBS" |
5588 # We can link X programs with no special library path. | 5622 # We can link X programs with no special library path. |
5589 ac_x_libraries= | 5623 ac_x_libraries= |
5590 else | 5624 else |
5689 # For Solaris; some versions of Sun CC require a space after -R and | 5723 # For Solaris; some versions of Sun CC require a space after -R and |
5690 # others require no space. Words are not sufficient . . . . | 5724 # others require no space. Words are not sufficient . . . . |
5691 case "`(uname -sr) 2>/dev/null`" in | 5725 case "`(uname -sr) 2>/dev/null`" in |
5692 "SunOS 5"*) | 5726 "SunOS 5"*) |
5693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5727 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5694 echo "configure:5695: checking whether -R must be followed by a space" >&5 | 5728 echo "configure:5729: checking whether -R must be followed by a space" >&5 |
5695 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5729 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5696 cat > conftest.$ac_ext <<EOF | 5730 cat > conftest.$ac_ext <<EOF |
5697 #line 5698 "configure" | 5731 #line 5732 "configure" |
5698 #include "confdefs.h" | 5732 #include "confdefs.h" |
5699 | 5733 |
5700 int main() { | 5734 int main() { |
5701 | 5735 |
5702 ; return 0; } | 5736 ; return 0; } |
5703 EOF | 5737 EOF |
5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5738 if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5705 rm -rf conftest* | 5739 rm -rf conftest* |
5706 ac_R_nospace=yes | 5740 ac_R_nospace=yes |
5707 else | 5741 else |
5708 echo "configure: failed program was:" >&5 | 5742 echo "configure: failed program was:" >&5 |
5709 cat conftest.$ac_ext >&5 | 5743 cat conftest.$ac_ext >&5 |
5715 echo "$ac_t""no" 1>&6 | 5749 echo "$ac_t""no" 1>&6 |
5716 X_LIBS="$X_LIBS -R$x_libraries" | 5750 X_LIBS="$X_LIBS -R$x_libraries" |
5717 else | 5751 else |
5718 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5752 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5719 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
5720 #line 5721 "configure" | 5754 #line 5755 "configure" |
5721 #include "confdefs.h" | 5755 #include "confdefs.h" |
5722 | 5756 |
5723 int main() { | 5757 int main() { |
5724 | 5758 |
5725 ; return 0; } | 5759 ; return 0; } |
5726 EOF | 5760 EOF |
5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5728 rm -rf conftest* | 5762 rm -rf conftest* |
5729 ac_R_space=yes | 5763 ac_R_space=yes |
5730 else | 5764 else |
5731 echo "configure: failed program was:" >&5 | 5765 echo "configure: failed program was:" >&5 |
5732 cat conftest.$ac_ext >&5 | 5766 cat conftest.$ac_ext >&5 |
5758 if test "$with_dnet" = "no" ; then | 5792 if test "$with_dnet" = "no" ; then |
5759 ac_cv_lib_dnet_dnet_ntoa=no | 5793 ac_cv_lib_dnet_dnet_ntoa=no |
5760 else | 5794 else |
5761 | 5795 |
5762 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5796 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5763 echo "configure:5764: checking for dnet_ntoa in -ldnet" >&5 | 5797 echo "configure:5798: checking for dnet_ntoa in -ldnet" >&5 |
5764 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5798 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5765 | 5799 |
5766 xe_check_libs=" -ldnet " | 5800 xe_check_libs=" -ldnet " |
5767 cat > conftest.$ac_ext <<EOF | 5801 cat > conftest.$ac_ext <<EOF |
5768 #line 5769 "configure" | 5802 #line 5803 "configure" |
5769 #include "confdefs.h" | 5803 #include "confdefs.h" |
5770 /* Override any gcc2 internal prototype to avoid an error. */ | 5804 /* Override any gcc2 internal prototype to avoid an error. */ |
5771 /* We use char because int might match the return type of a gcc2 | 5805 /* We use char because int might match the return type of a gcc2 |
5772 builtin and then its argument prototype would still apply. */ | 5806 builtin and then its argument prototype would still apply. */ |
5773 char dnet_ntoa(); | 5807 char dnet_ntoa(); |
5774 | 5808 |
5775 int main() { | 5809 int main() { |
5776 dnet_ntoa() | 5810 dnet_ntoa() |
5777 ; return 0; } | 5811 ; return 0; } |
5778 EOF | 5812 EOF |
5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5780 rm -rf conftest* | 5814 rm -rf conftest* |
5781 eval "ac_cv_lib_$ac_lib_var=yes" | 5815 eval "ac_cv_lib_$ac_lib_var=yes" |
5782 else | 5816 else |
5783 echo "configure: failed program was:" >&5 | 5817 echo "configure: failed program was:" >&5 |
5784 cat conftest.$ac_ext >&5 | 5818 cat conftest.$ac_ext >&5 |
5798 fi | 5832 fi |
5799 | 5833 |
5800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5834 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5801 | 5835 |
5802 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5836 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5803 echo "configure:5804: checking for dnet_ntoa in -ldnet_stub" >&5 | 5837 echo "configure:5838: checking for dnet_ntoa in -ldnet_stub" >&5 |
5804 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5838 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5805 | 5839 |
5806 xe_check_libs=" -ldnet_stub " | 5840 xe_check_libs=" -ldnet_stub " |
5807 cat > conftest.$ac_ext <<EOF | 5841 cat > conftest.$ac_ext <<EOF |
5808 #line 5809 "configure" | 5842 #line 5843 "configure" |
5809 #include "confdefs.h" | 5843 #include "confdefs.h" |
5810 /* Override any gcc2 internal prototype to avoid an error. */ | 5844 /* Override any gcc2 internal prototype to avoid an error. */ |
5811 /* We use char because int might match the return type of a gcc2 | 5845 /* We use char because int might match the return type of a gcc2 |
5812 builtin and then its argument prototype would still apply. */ | 5846 builtin and then its argument prototype would still apply. */ |
5813 char dnet_ntoa(); | 5847 char dnet_ntoa(); |
5814 | 5848 |
5815 int main() { | 5849 int main() { |
5816 dnet_ntoa() | 5850 dnet_ntoa() |
5817 ; return 0; } | 5851 ; return 0; } |
5818 EOF | 5852 EOF |
5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5853 if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5820 rm -rf conftest* | 5854 rm -rf conftest* |
5821 eval "ac_cv_lib_$ac_lib_var=yes" | 5855 eval "ac_cv_lib_$ac_lib_var=yes" |
5822 else | 5856 else |
5823 echo "configure: failed program was:" >&5 | 5857 echo "configure: failed program was:" >&5 |
5824 cat conftest.$ac_ext >&5 | 5858 cat conftest.$ac_ext >&5 |
5843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5877 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5844 # needs -lnsl. | 5878 # needs -lnsl. |
5845 # The nsl library prevents programs from opening the X display | 5879 # The nsl library prevents programs from opening the X display |
5846 # on Irix 5.2, according to dickey@clark.net. | 5880 # on Irix 5.2, according to dickey@clark.net. |
5847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5848 echo "configure:5849: checking for gethostbyname" >&5 | 5882 echo "configure:5883: checking for gethostbyname" >&5 |
5849 | 5883 |
5850 cat > conftest.$ac_ext <<EOF | 5884 cat > conftest.$ac_ext <<EOF |
5851 #line 5852 "configure" | 5885 #line 5886 "configure" |
5852 #include "confdefs.h" | 5886 #include "confdefs.h" |
5853 /* System header to define __stub macros and hopefully few prototypes, | 5887 /* System header to define __stub macros and hopefully few prototypes, |
5854 which can conflict with char gethostbyname(); below. */ | 5888 which can conflict with char gethostbyname(); below. */ |
5855 #include <assert.h> | 5889 #include <assert.h> |
5856 /* Override any gcc2 internal prototype to avoid an error. */ | 5890 /* Override any gcc2 internal prototype to avoid an error. */ |
5869 gethostbyname(); | 5903 gethostbyname(); |
5870 #endif | 5904 #endif |
5871 | 5905 |
5872 ; return 0; } | 5906 ; return 0; } |
5873 EOF | 5907 EOF |
5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5908 if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5875 rm -rf conftest* | 5909 rm -rf conftest* |
5876 eval "ac_cv_func_gethostbyname=yes" | 5910 eval "ac_cv_func_gethostbyname=yes" |
5877 else | 5911 else |
5878 echo "configure: failed program was:" >&5 | 5912 echo "configure: failed program was:" >&5 |
5879 cat conftest.$ac_ext >&5 | 5913 cat conftest.$ac_ext >&5 |
5890 fi | 5924 fi |
5891 | 5925 |
5892 if test $ac_cv_func_gethostbyname = no; then | 5926 if test $ac_cv_func_gethostbyname = no; then |
5893 | 5927 |
5894 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5928 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5895 echo "configure:5896: checking for gethostbyname in -lnsl" >&5 | 5929 echo "configure:5930: checking for gethostbyname in -lnsl" >&5 |
5896 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5930 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5897 | 5931 |
5898 xe_check_libs=" -lnsl " | 5932 xe_check_libs=" -lnsl " |
5899 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
5900 #line 5901 "configure" | 5934 #line 5935 "configure" |
5901 #include "confdefs.h" | 5935 #include "confdefs.h" |
5902 /* Override any gcc2 internal prototype to avoid an error. */ | 5936 /* Override any gcc2 internal prototype to avoid an error. */ |
5903 /* We use char because int might match the return type of a gcc2 | 5937 /* We use char because int might match the return type of a gcc2 |
5904 builtin and then its argument prototype would still apply. */ | 5938 builtin and then its argument prototype would still apply. */ |
5905 char gethostbyname(); | 5939 char gethostbyname(); |
5906 | 5940 |
5907 int main() { | 5941 int main() { |
5908 gethostbyname() | 5942 gethostbyname() |
5909 ; return 0; } | 5943 ; return 0; } |
5910 EOF | 5944 EOF |
5911 if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5945 if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5912 rm -rf conftest* | 5946 rm -rf conftest* |
5913 eval "ac_cv_lib_$ac_lib_var=yes" | 5947 eval "ac_cv_lib_$ac_lib_var=yes" |
5914 else | 5948 else |
5915 echo "configure: failed program was:" >&5 | 5949 echo "configure: failed program was:" >&5 |
5916 cat conftest.$ac_ext >&5 | 5950 cat conftest.$ac_ext >&5 |
5936 # on later versions), says simon@lia.di.epfl.ch: it contains | 5970 # on later versions), says simon@lia.di.epfl.ch: it contains |
5937 # gethostby* variants that don't use the nameserver (or something). | 5971 # gethostby* variants that don't use the nameserver (or something). |
5938 # -lsocket must be given before -lnsl if both are needed. | 5972 # -lsocket must be given before -lnsl if both are needed. |
5939 # We assume that if connect needs -lnsl, so does gethostbyname. | 5973 # We assume that if connect needs -lnsl, so does gethostbyname. |
5940 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5974 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5941 echo "configure:5942: checking for connect" >&5 | 5975 echo "configure:5976: checking for connect" >&5 |
5942 | 5976 |
5943 cat > conftest.$ac_ext <<EOF | 5977 cat > conftest.$ac_ext <<EOF |
5944 #line 5945 "configure" | 5978 #line 5979 "configure" |
5945 #include "confdefs.h" | 5979 #include "confdefs.h" |
5946 /* System header to define __stub macros and hopefully few prototypes, | 5980 /* System header to define __stub macros and hopefully few prototypes, |
5947 which can conflict with char connect(); below. */ | 5981 which can conflict with char connect(); below. */ |
5948 #include <assert.h> | 5982 #include <assert.h> |
5949 /* Override any gcc2 internal prototype to avoid an error. */ | 5983 /* Override any gcc2 internal prototype to avoid an error. */ |
5962 connect(); | 5996 connect(); |
5963 #endif | 5997 #endif |
5964 | 5998 |
5965 ; return 0; } | 5999 ; return 0; } |
5966 EOF | 6000 EOF |
5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5968 rm -rf conftest* | 6002 rm -rf conftest* |
5969 eval "ac_cv_func_connect=yes" | 6003 eval "ac_cv_func_connect=yes" |
5970 else | 6004 else |
5971 echo "configure: failed program was:" >&5 | 6005 echo "configure: failed program was:" >&5 |
5972 cat conftest.$ac_ext >&5 | 6006 cat conftest.$ac_ext >&5 |
5985 if test $ac_cv_func_connect = no; then | 6019 if test $ac_cv_func_connect = no; then |
5986 | 6020 |
5987 xe_msg_checking="for connect in -lsocket" | 6021 xe_msg_checking="for connect in -lsocket" |
5988 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6022 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5989 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5990 echo "configure:5991: checking "$xe_msg_checking"" >&5 | 6024 echo "configure:6025: checking "$xe_msg_checking"" >&5 |
5991 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6025 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5992 | 6026 |
5993 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6027 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5994 cat > conftest.$ac_ext <<EOF | 6028 cat > conftest.$ac_ext <<EOF |
5995 #line 5996 "configure" | 6029 #line 6030 "configure" |
5996 #include "confdefs.h" | 6030 #include "confdefs.h" |
5997 /* Override any gcc2 internal prototype to avoid an error. */ | 6031 /* Override any gcc2 internal prototype to avoid an error. */ |
5998 /* We use char because int might match the return type of a gcc2 | 6032 /* We use char because int might match the return type of a gcc2 |
5999 builtin and then its argument prototype would still apply. */ | 6033 builtin and then its argument prototype would still apply. */ |
6000 char connect(); | 6034 char connect(); |
6001 | 6035 |
6002 int main() { | 6036 int main() { |
6003 connect() | 6037 connect() |
6004 ; return 0; } | 6038 ; return 0; } |
6005 EOF | 6039 EOF |
6006 if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6007 rm -rf conftest* | 6041 rm -rf conftest* |
6008 eval "ac_cv_lib_$ac_lib_var=yes" | 6042 eval "ac_cv_lib_$ac_lib_var=yes" |
6009 else | 6043 else |
6010 echo "configure: failed program was:" >&5 | 6044 echo "configure: failed program was:" >&5 |
6011 cat conftest.$ac_ext >&5 | 6045 cat conftest.$ac_ext >&5 |
6025 | 6059 |
6026 fi | 6060 fi |
6027 | 6061 |
6028 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6062 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6029 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6063 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6030 echo "configure:6031: checking for remove" >&5 | 6064 echo "configure:6065: checking for remove" >&5 |
6031 | 6065 |
6032 cat > conftest.$ac_ext <<EOF | 6066 cat > conftest.$ac_ext <<EOF |
6033 #line 6034 "configure" | 6067 #line 6068 "configure" |
6034 #include "confdefs.h" | 6068 #include "confdefs.h" |
6035 /* System header to define __stub macros and hopefully few prototypes, | 6069 /* System header to define __stub macros and hopefully few prototypes, |
6036 which can conflict with char remove(); below. */ | 6070 which can conflict with char remove(); below. */ |
6037 #include <assert.h> | 6071 #include <assert.h> |
6038 /* Override any gcc2 internal prototype to avoid an error. */ | 6072 /* Override any gcc2 internal prototype to avoid an error. */ |
6051 remove(); | 6085 remove(); |
6052 #endif | 6086 #endif |
6053 | 6087 |
6054 ; return 0; } | 6088 ; return 0; } |
6055 EOF | 6089 EOF |
6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6057 rm -rf conftest* | 6091 rm -rf conftest* |
6058 eval "ac_cv_func_remove=yes" | 6092 eval "ac_cv_func_remove=yes" |
6059 else | 6093 else |
6060 echo "configure: failed program was:" >&5 | 6094 echo "configure: failed program was:" >&5 |
6061 cat conftest.$ac_ext >&5 | 6095 cat conftest.$ac_ext >&5 |
6072 fi | 6106 fi |
6073 | 6107 |
6074 if test $ac_cv_func_remove = no; then | 6108 if test $ac_cv_func_remove = no; then |
6075 | 6109 |
6076 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6110 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6077 echo "configure:6078: checking for remove in -lposix" >&5 | 6111 echo "configure:6112: checking for remove in -lposix" >&5 |
6078 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6112 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6079 | 6113 |
6080 xe_check_libs=" -lposix " | 6114 xe_check_libs=" -lposix " |
6081 cat > conftest.$ac_ext <<EOF | 6115 cat > conftest.$ac_ext <<EOF |
6082 #line 6083 "configure" | 6116 #line 6117 "configure" |
6083 #include "confdefs.h" | 6117 #include "confdefs.h" |
6084 /* Override any gcc2 internal prototype to avoid an error. */ | 6118 /* Override any gcc2 internal prototype to avoid an error. */ |
6085 /* We use char because int might match the return type of a gcc2 | 6119 /* We use char because int might match the return type of a gcc2 |
6086 builtin and then its argument prototype would still apply. */ | 6120 builtin and then its argument prototype would still apply. */ |
6087 char remove(); | 6121 char remove(); |
6088 | 6122 |
6089 int main() { | 6123 int main() { |
6090 remove() | 6124 remove() |
6091 ; return 0; } | 6125 ; return 0; } |
6092 EOF | 6126 EOF |
6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6127 if { (eval echo configure:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6094 rm -rf conftest* | 6128 rm -rf conftest* |
6095 eval "ac_cv_lib_$ac_lib_var=yes" | 6129 eval "ac_cv_lib_$ac_lib_var=yes" |
6096 else | 6130 else |
6097 echo "configure: failed program was:" >&5 | 6131 echo "configure: failed program was:" >&5 |
6098 cat conftest.$ac_ext >&5 | 6132 cat conftest.$ac_ext >&5 |
6112 | 6146 |
6113 fi | 6147 fi |
6114 | 6148 |
6115 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6149 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6116 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6150 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6117 echo "configure:6118: checking for shmat" >&5 | 6151 echo "configure:6152: checking for shmat" >&5 |
6118 | 6152 |
6119 cat > conftest.$ac_ext <<EOF | 6153 cat > conftest.$ac_ext <<EOF |
6120 #line 6121 "configure" | 6154 #line 6155 "configure" |
6121 #include "confdefs.h" | 6155 #include "confdefs.h" |
6122 /* System header to define __stub macros and hopefully few prototypes, | 6156 /* System header to define __stub macros and hopefully few prototypes, |
6123 which can conflict with char shmat(); below. */ | 6157 which can conflict with char shmat(); below. */ |
6124 #include <assert.h> | 6158 #include <assert.h> |
6125 /* Override any gcc2 internal prototype to avoid an error. */ | 6159 /* Override any gcc2 internal prototype to avoid an error. */ |
6138 shmat(); | 6172 shmat(); |
6139 #endif | 6173 #endif |
6140 | 6174 |
6141 ; return 0; } | 6175 ; return 0; } |
6142 EOF | 6176 EOF |
6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6177 if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6144 rm -rf conftest* | 6178 rm -rf conftest* |
6145 eval "ac_cv_func_shmat=yes" | 6179 eval "ac_cv_func_shmat=yes" |
6146 else | 6180 else |
6147 echo "configure: failed program was:" >&5 | 6181 echo "configure: failed program was:" >&5 |
6148 cat conftest.$ac_ext >&5 | 6182 cat conftest.$ac_ext >&5 |
6159 fi | 6193 fi |
6160 | 6194 |
6161 if test $ac_cv_func_shmat = no; then | 6195 if test $ac_cv_func_shmat = no; then |
6162 | 6196 |
6163 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6197 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6164 echo "configure:6165: checking for shmat in -lipc" >&5 | 6198 echo "configure:6199: checking for shmat in -lipc" >&5 |
6165 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6199 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6166 | 6200 |
6167 xe_check_libs=" -lipc " | 6201 xe_check_libs=" -lipc " |
6168 cat > conftest.$ac_ext <<EOF | 6202 cat > conftest.$ac_ext <<EOF |
6169 #line 6170 "configure" | 6203 #line 6204 "configure" |
6170 #include "confdefs.h" | 6204 #include "confdefs.h" |
6171 /* Override any gcc2 internal prototype to avoid an error. */ | 6205 /* Override any gcc2 internal prototype to avoid an error. */ |
6172 /* We use char because int might match the return type of a gcc2 | 6206 /* We use char because int might match the return type of a gcc2 |
6173 builtin and then its argument prototype would still apply. */ | 6207 builtin and then its argument prototype would still apply. */ |
6174 char shmat(); | 6208 char shmat(); |
6175 | 6209 |
6176 int main() { | 6210 int main() { |
6177 shmat() | 6211 shmat() |
6178 ; return 0; } | 6212 ; return 0; } |
6179 EOF | 6213 EOF |
6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6181 rm -rf conftest* | 6215 rm -rf conftest* |
6182 eval "ac_cv_lib_$ac_lib_var=yes" | 6216 eval "ac_cv_lib_$ac_lib_var=yes" |
6183 else | 6217 else |
6184 echo "configure: failed program was:" >&5 | 6218 echo "configure: failed program was:" >&5 |
6185 cat conftest.$ac_ext >&5 | 6219 cat conftest.$ac_ext >&5 |
6211 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6245 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6212 | 6246 |
6213 xe_msg_checking="for IceConnectionNumber in -lICE" | 6247 xe_msg_checking="for IceConnectionNumber in -lICE" |
6214 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6248 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6215 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6249 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6216 echo "configure:6217: checking "$xe_msg_checking"" >&5 | 6250 echo "configure:6251: checking "$xe_msg_checking"" >&5 |
6217 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6251 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6218 | 6252 |
6219 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6253 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6220 cat > conftest.$ac_ext <<EOF | 6254 cat > conftest.$ac_ext <<EOF |
6221 #line 6222 "configure" | 6255 #line 6256 "configure" |
6222 #include "confdefs.h" | 6256 #include "confdefs.h" |
6223 /* Override any gcc2 internal prototype to avoid an error. */ | 6257 /* Override any gcc2 internal prototype to avoid an error. */ |
6224 /* We use char because int might match the return type of a gcc2 | 6258 /* We use char because int might match the return type of a gcc2 |
6225 builtin and then its argument prototype would still apply. */ | 6259 builtin and then its argument prototype would still apply. */ |
6226 char IceConnectionNumber(); | 6260 char IceConnectionNumber(); |
6227 | 6261 |
6228 int main() { | 6262 int main() { |
6229 IceConnectionNumber() | 6263 IceConnectionNumber() |
6230 ; return 0; } | 6264 ; return 0; } |
6231 EOF | 6265 EOF |
6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6233 rm -rf conftest* | 6267 rm -rf conftest* |
6234 eval "ac_cv_lib_$ac_lib_var=yes" | 6268 eval "ac_cv_lib_$ac_lib_var=yes" |
6235 else | 6269 else |
6236 echo "configure: failed program was:" >&5 | 6270 echo "configure: failed program was:" >&5 |
6237 cat conftest.$ac_ext >&5 | 6271 cat conftest.$ac_ext >&5 |
6394 EOF | 6428 EOF |
6395 } | 6429 } |
6396 | 6430 |
6397 | 6431 |
6398 echo "checking for X defines extracted by xmkmf" 1>&6 | 6432 echo "checking for X defines extracted by xmkmf" 1>&6 |
6399 echo "configure:6400: checking for X defines extracted by xmkmf" >&5 | 6433 echo "configure:6434: checking for X defines extracted by xmkmf" >&5 |
6400 rm -fr conftestdir | 6434 rm -fr conftestdir |
6401 if mkdir conftestdir; then | 6435 if mkdir conftestdir; then |
6402 cd conftestdir | 6436 cd conftestdir |
6403 cat > Imakefile <<'EOF' | 6437 cat > Imakefile <<'EOF' |
6404 xetest: | 6438 xetest: |
6443 done | 6477 done |
6444 fi | 6478 fi |
6445 | 6479 |
6446 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6480 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6447 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6481 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6448 echo "configure:6449: checking for X11/Intrinsic.h" >&5 | 6482 echo "configure:6483: checking for X11/Intrinsic.h" >&5 |
6449 | 6483 |
6450 cat > conftest.$ac_ext <<EOF | 6484 cat > conftest.$ac_ext <<EOF |
6451 #line 6452 "configure" | 6485 #line 6486 "configure" |
6452 #include "confdefs.h" | 6486 #include "confdefs.h" |
6453 #include <X11/Intrinsic.h> | 6487 #include <X11/Intrinsic.h> |
6454 EOF | 6488 EOF |
6455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6456 { (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6490 { (eval echo configure:6491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6458 if test -z "$ac_err"; then | 6492 if test -z "$ac_err"; then |
6459 rm -rf conftest* | 6493 rm -rf conftest* |
6460 eval "ac_cv_header_$ac_safe=yes" | 6494 eval "ac_cv_header_$ac_safe=yes" |
6461 else | 6495 else |
6475 fi | 6509 fi |
6476 | 6510 |
6477 | 6511 |
6478 | 6512 |
6479 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6513 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6480 echo "configure:6481: checking for XOpenDisplay in -lX11" >&5 | 6514 echo "configure:6515: checking for XOpenDisplay in -lX11" >&5 |
6481 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6515 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6482 | 6516 |
6483 xe_check_libs=" -lX11 " | 6517 xe_check_libs=" -lX11 " |
6484 cat > conftest.$ac_ext <<EOF | 6518 cat > conftest.$ac_ext <<EOF |
6485 #line 6486 "configure" | 6519 #line 6520 "configure" |
6486 #include "confdefs.h" | 6520 #include "confdefs.h" |
6487 /* Override any gcc2 internal prototype to avoid an error. */ | 6521 /* Override any gcc2 internal prototype to avoid an error. */ |
6488 /* We use char because int might match the return type of a gcc2 | 6522 /* We use char because int might match the return type of a gcc2 |
6489 builtin and then its argument prototype would still apply. */ | 6523 builtin and then its argument prototype would still apply. */ |
6490 char XOpenDisplay(); | 6524 char XOpenDisplay(); |
6491 | 6525 |
6492 int main() { | 6526 int main() { |
6493 XOpenDisplay() | 6527 XOpenDisplay() |
6494 ; return 0; } | 6528 ; return 0; } |
6495 EOF | 6529 EOF |
6496 if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6530 if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6497 rm -rf conftest* | 6531 rm -rf conftest* |
6498 eval "ac_cv_lib_$ac_lib_var=yes" | 6532 eval "ac_cv_lib_$ac_lib_var=yes" |
6499 else | 6533 else |
6500 echo "configure: failed program was:" >&5 | 6534 echo "configure: failed program was:" >&5 |
6501 cat conftest.$ac_ext >&5 | 6535 cat conftest.$ac_ext >&5 |
6516 if test "$have_lib_x11" != "yes"; then | 6550 if test "$have_lib_x11" != "yes"; then |
6517 | 6551 |
6518 xe_msg_checking="for XGetFontProperty in -lX11" | 6552 xe_msg_checking="for XGetFontProperty in -lX11" |
6519 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6553 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6520 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6554 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6521 echo "configure:6522: checking "$xe_msg_checking"" >&5 | 6555 echo "configure:6556: checking "$xe_msg_checking"" >&5 |
6522 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6556 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6523 | 6557 |
6524 xe_check_libs=" -lX11 -b i486-linuxaout" | 6558 xe_check_libs=" -lX11 -b i486-linuxaout" |
6525 cat > conftest.$ac_ext <<EOF | 6559 cat > conftest.$ac_ext <<EOF |
6526 #line 6527 "configure" | 6560 #line 6561 "configure" |
6527 #include "confdefs.h" | 6561 #include "confdefs.h" |
6528 /* Override any gcc2 internal prototype to avoid an error. */ | 6562 /* Override any gcc2 internal prototype to avoid an error. */ |
6529 /* We use char because int might match the return type of a gcc2 | 6563 /* We use char because int might match the return type of a gcc2 |
6530 builtin and then its argument prototype would still apply. */ | 6564 builtin and then its argument prototype would still apply. */ |
6531 char XGetFontProperty(); | 6565 char XGetFontProperty(); |
6532 | 6566 |
6533 int main() { | 6567 int main() { |
6534 XGetFontProperty() | 6568 XGetFontProperty() |
6535 ; return 0; } | 6569 ; return 0; } |
6536 EOF | 6570 EOF |
6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6538 rm -rf conftest* | 6572 rm -rf conftest* |
6539 eval "ac_cv_lib_$ac_lib_var=yes" | 6573 eval "ac_cv_lib_$ac_lib_var=yes" |
6540 else | 6574 else |
6541 echo "configure: failed program was:" >&5 | 6575 echo "configure: failed program was:" >&5 |
6542 cat conftest.$ac_ext >&5 | 6576 cat conftest.$ac_ext >&5 |
6559 libs_x="-lX11" | 6593 libs_x="-lX11" |
6560 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6594 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6561 | 6595 |
6562 | 6596 |
6563 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6564 echo "configure:6565: checking for XShapeSelectInput in -lXext" >&5 | 6598 echo "configure:6599: checking for XShapeSelectInput in -lXext" >&5 |
6565 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6599 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6566 | 6600 |
6567 xe_check_libs=" -lXext " | 6601 xe_check_libs=" -lXext " |
6568 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6569 #line 6570 "configure" | 6603 #line 6604 "configure" |
6570 #include "confdefs.h" | 6604 #include "confdefs.h" |
6571 /* Override any gcc2 internal prototype to avoid an error. */ | 6605 /* Override any gcc2 internal prototype to avoid an error. */ |
6572 /* We use char because int might match the return type of a gcc2 | 6606 /* We use char because int might match the return type of a gcc2 |
6573 builtin and then its argument prototype would still apply. */ | 6607 builtin and then its argument prototype would still apply. */ |
6574 char XShapeSelectInput(); | 6608 char XShapeSelectInput(); |
6575 | 6609 |
6576 int main() { | 6610 int main() { |
6577 XShapeSelectInput() | 6611 XShapeSelectInput() |
6578 ; return 0; } | 6612 ; return 0; } |
6579 EOF | 6613 EOF |
6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6581 rm -rf conftest* | 6615 rm -rf conftest* |
6582 eval "ac_cv_lib_$ac_lib_var=yes" | 6616 eval "ac_cv_lib_$ac_lib_var=yes" |
6583 else | 6617 else |
6584 echo "configure: failed program was:" >&5 | 6618 echo "configure: failed program was:" >&5 |
6585 cat conftest.$ac_ext >&5 | 6619 cat conftest.$ac_ext >&5 |
6598 | 6632 |
6599 | 6633 |
6600 | 6634 |
6601 | 6635 |
6602 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6636 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for XtOpenDisplay in -lXt" >&5 | 6637 echo "configure:6638: checking for XtOpenDisplay in -lXt" >&5 |
6604 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6638 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6605 | 6639 |
6606 xe_check_libs=" -lXt " | 6640 xe_check_libs=" -lXt " |
6607 cat > conftest.$ac_ext <<EOF | 6641 cat > conftest.$ac_ext <<EOF |
6608 #line 6609 "configure" | 6642 #line 6643 "configure" |
6609 #include "confdefs.h" | 6643 #include "confdefs.h" |
6610 /* Override any gcc2 internal prototype to avoid an error. */ | 6644 /* Override any gcc2 internal prototype to avoid an error. */ |
6611 /* We use char because int might match the return type of a gcc2 | 6645 /* We use char because int might match the return type of a gcc2 |
6612 builtin and then its argument prototype would still apply. */ | 6646 builtin and then its argument prototype would still apply. */ |
6613 char XtOpenDisplay(); | 6647 char XtOpenDisplay(); |
6614 | 6648 |
6615 int main() { | 6649 int main() { |
6616 XtOpenDisplay() | 6650 XtOpenDisplay() |
6617 ; return 0; } | 6651 ; return 0; } |
6618 EOF | 6652 EOF |
6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6653 if { (eval echo configure:6654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6620 rm -rf conftest* | 6654 rm -rf conftest* |
6621 eval "ac_cv_lib_$ac_lib_var=yes" | 6655 eval "ac_cv_lib_$ac_lib_var=yes" |
6622 else | 6656 else |
6623 echo "configure: failed program was:" >&5 | 6657 echo "configure: failed program was:" >&5 |
6624 cat conftest.$ac_ext >&5 | 6658 cat conftest.$ac_ext >&5 |
6637 fi | 6671 fi |
6638 | 6672 |
6639 | 6673 |
6640 | 6674 |
6641 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6675 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6642 echo "configure:6643: checking the version of X11 being used" >&5 | 6676 echo "configure:6677: checking the version of X11 being used" >&5 |
6643 cat > conftest.$ac_ext <<EOF | 6677 cat > conftest.$ac_ext <<EOF |
6644 #line 6645 "configure" | 6678 #line 6679 "configure" |
6645 #include "confdefs.h" | 6679 #include "confdefs.h" |
6646 #include <X11/Intrinsic.h> | 6680 #include <X11/Intrinsic.h> |
6647 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6681 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6648 EOF | 6682 EOF |
6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6683 if { (eval echo configure:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6650 then | 6684 then |
6651 ./conftest foobar; x11_release=$? | 6685 ./conftest foobar; x11_release=$? |
6652 else | 6686 else |
6653 conftest_rc="$?" | 6687 conftest_rc="$?" |
6654 echo "configure: failed program was:" >&5 | 6688 echo "configure: failed program was:" >&5 |
6675 fi | 6709 fi |
6676 | 6710 |
6677 for ac_func in XConvertCase | 6711 for ac_func in XConvertCase |
6678 do | 6712 do |
6679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6680 echo "configure:6681: checking for $ac_func" >&5 | 6714 echo "configure:6715: checking for $ac_func" >&5 |
6681 | 6715 |
6682 cat > conftest.$ac_ext <<EOF | 6716 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6717 #line 6718 "configure" |
6684 #include "confdefs.h" | 6718 #include "confdefs.h" |
6685 /* System header to define __stub macros and hopefully few prototypes, | 6719 /* System header to define __stub macros and hopefully few prototypes, |
6686 which can conflict with char $ac_func(); below. */ | 6720 which can conflict with char $ac_func(); below. */ |
6687 #include <assert.h> | 6721 #include <assert.h> |
6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6722 /* Override any gcc2 internal prototype to avoid an error. */ |
6701 $ac_func(); | 6735 $ac_func(); |
6702 #endif | 6736 #endif |
6703 | 6737 |
6704 ; return 0; } | 6738 ; return 0; } |
6705 EOF | 6739 EOF |
6706 if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6740 if { (eval echo configure:6741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6707 rm -rf conftest* | 6741 rm -rf conftest* |
6708 eval "ac_cv_func_$ac_func=yes" | 6742 eval "ac_cv_func_$ac_func=yes" |
6709 else | 6743 else |
6710 echo "configure: failed program was:" >&5 | 6744 echo "configure: failed program was:" >&5 |
6711 cat conftest.$ac_ext >&5 | 6745 cat conftest.$ac_ext >&5 |
6733 | 6767 |
6734 for ac_hdr in X11/Xlocale.h | 6768 for ac_hdr in X11/Xlocale.h |
6735 do | 6769 do |
6736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6738 echo "configure:6739: checking for $ac_hdr" >&5 | 6772 echo "configure:6773: checking for $ac_hdr" >&5 |
6739 | 6773 |
6740 cat > conftest.$ac_ext <<EOF | 6774 cat > conftest.$ac_ext <<EOF |
6741 #line 6742 "configure" | 6775 #line 6776 "configure" |
6742 #include "confdefs.h" | 6776 #include "confdefs.h" |
6743 #include <$ac_hdr> | 6777 #include <$ac_hdr> |
6744 EOF | 6778 EOF |
6745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6780 { (eval echo configure:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6748 if test -z "$ac_err"; then | 6782 if test -z "$ac_err"; then |
6749 rm -rf conftest* | 6783 rm -rf conftest* |
6750 eval "ac_cv_header_$ac_safe=yes" | 6784 eval "ac_cv_header_$ac_safe=yes" |
6751 else | 6785 else |
6774 | 6808 |
6775 | 6809 |
6776 for ac_func in XRegisterIMInstantiateCallback | 6810 for ac_func in XRegisterIMInstantiateCallback |
6777 do | 6811 do |
6778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6779 echo "configure:6780: checking for $ac_func" >&5 | 6813 echo "configure:6814: checking for $ac_func" >&5 |
6780 | 6814 |
6781 cat > conftest.$ac_ext <<EOF | 6815 cat > conftest.$ac_ext <<EOF |
6782 #line 6783 "configure" | 6816 #line 6817 "configure" |
6783 #include "confdefs.h" | 6817 #include "confdefs.h" |
6784 /* System header to define __stub macros and hopefully few prototypes, | 6818 /* System header to define __stub macros and hopefully few prototypes, |
6785 which can conflict with char $ac_func(); below. */ | 6819 which can conflict with char $ac_func(); below. */ |
6786 #include <assert.h> | 6820 #include <assert.h> |
6787 /* Override any gcc2 internal prototype to avoid an error. */ | 6821 /* Override any gcc2 internal prototype to avoid an error. */ |
6800 $ac_func(); | 6834 $ac_func(); |
6801 #endif | 6835 #endif |
6802 | 6836 |
6803 ; return 0; } | 6837 ; return 0; } |
6804 EOF | 6838 EOF |
6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6839 if { (eval echo configure:6840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6806 rm -rf conftest* | 6840 rm -rf conftest* |
6807 eval "ac_cv_func_$ac_func=yes" | 6841 eval "ac_cv_func_$ac_func=yes" |
6808 else | 6842 else |
6809 echo "configure: failed program was:" >&5 | 6843 echo "configure: failed program was:" >&5 |
6810 cat conftest.$ac_ext >&5 | 6844 cat conftest.$ac_ext >&5 |
6828 echo "$ac_t""no" 1>&6 | 6862 echo "$ac_t""no" 1>&6 |
6829 fi | 6863 fi |
6830 done | 6864 done |
6831 | 6865 |
6832 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6833 echo "configure:6834: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6867 echo "configure:6868: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6834 cat > conftest.$ac_ext <<EOF | 6868 cat > conftest.$ac_ext <<EOF |
6835 #line 6836 "configure" | 6869 #line 6870 "configure" |
6836 #include "confdefs.h" | 6870 #include "confdefs.h" |
6837 | 6871 |
6838 #define NeedFunctionPrototypes 1 | 6872 #define NeedFunctionPrototypes 1 |
6839 #include <X11/Xlib.h> | 6873 #include <X11/Xlib.h> |
6840 extern Bool XRegisterIMInstantiateCallback( | 6874 extern Bool XRegisterIMInstantiateCallback( |
6842 | 6876 |
6843 int main() { | 6877 int main() { |
6844 | 6878 |
6845 ; return 0; } | 6879 ; return 0; } |
6846 EOF | 6880 EOF |
6847 if { (eval echo configure:6848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6881 if { (eval echo configure:6882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6848 rm -rf conftest* | 6882 rm -rf conftest* |
6849 echo "$ac_t""yes" 1>&6 | 6883 echo "$ac_t""yes" 1>&6 |
6850 else | 6884 else |
6851 echo "configure: failed program was:" >&5 | 6885 echo "configure: failed program was:" >&5 |
6852 cat conftest.$ac_ext >&5 | 6886 cat conftest.$ac_ext >&5 |
6863 fi | 6897 fi |
6864 rm -f conftest* | 6898 rm -f conftest* |
6865 | 6899 |
6866 test -z "$with_xmu" && { | 6900 test -z "$with_xmu" && { |
6867 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6901 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6868 echo "configure:6869: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6902 echo "configure:6903: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6869 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6903 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6870 | 6904 |
6871 xe_check_libs=" -lXmu " | 6905 xe_check_libs=" -lXmu " |
6872 cat > conftest.$ac_ext <<EOF | 6906 cat > conftest.$ac_ext <<EOF |
6873 #line 6874 "configure" | 6907 #line 6908 "configure" |
6874 #include "confdefs.h" | 6908 #include "confdefs.h" |
6875 /* Override any gcc2 internal prototype to avoid an error. */ | 6909 /* Override any gcc2 internal prototype to avoid an error. */ |
6876 /* We use char because int might match the return type of a gcc2 | 6910 /* We use char because int might match the return type of a gcc2 |
6877 builtin and then its argument prototype would still apply. */ | 6911 builtin and then its argument prototype would still apply. */ |
6878 char XmuReadBitmapDataFromFile(); | 6912 char XmuReadBitmapDataFromFile(); |
6879 | 6913 |
6880 int main() { | 6914 int main() { |
6881 XmuReadBitmapDataFromFile() | 6915 XmuReadBitmapDataFromFile() |
6882 ; return 0; } | 6916 ; return 0; } |
6883 EOF | 6917 EOF |
6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6885 rm -rf conftest* | 6919 rm -rf conftest* |
6886 eval "ac_cv_lib_$ac_lib_var=yes" | 6920 eval "ac_cv_lib_$ac_lib_var=yes" |
6887 else | 6921 else |
6888 echo "configure: failed program was:" >&5 | 6922 echo "configure: failed program was:" >&5 |
6889 cat conftest.$ac_ext >&5 | 6923 cat conftest.$ac_ext >&5 |
6918 | 6952 |
6919 fi | 6953 fi |
6920 | 6954 |
6921 | 6955 |
6922 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6956 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6923 echo "configure:6924: checking for main in -lXbsd" >&5 | 6957 echo "configure:6958: checking for main in -lXbsd" >&5 |
6924 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6958 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6925 | 6959 |
6926 xe_check_libs=" -lXbsd " | 6960 xe_check_libs=" -lXbsd " |
6927 cat > conftest.$ac_ext <<EOF | 6961 cat > conftest.$ac_ext <<EOF |
6928 #line 6929 "configure" | 6962 #line 6963 "configure" |
6929 #include "confdefs.h" | 6963 #include "confdefs.h" |
6930 | 6964 |
6931 int main() { | 6965 int main() { |
6932 main() | 6966 main() |
6933 ; return 0; } | 6967 ; return 0; } |
6934 EOF | 6968 EOF |
6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6936 rm -rf conftest* | 6970 rm -rf conftest* |
6937 eval "ac_cv_lib_$ac_lib_var=yes" | 6971 eval "ac_cv_lib_$ac_lib_var=yes" |
6938 else | 6972 else |
6939 echo "configure: failed program was:" >&5 | 6973 echo "configure: failed program was:" >&5 |
6940 cat conftest.$ac_ext >&5 | 6974 cat conftest.$ac_ext >&5 |
6967 fi | 7001 fi |
6968 | 7002 |
6969 fi | 7003 fi |
6970 if test "$with_msw" != "no"; then | 7004 if test "$with_msw" != "no"; then |
6971 echo "checking for MS-Windows" 1>&6 | 7005 echo "checking for MS-Windows" 1>&6 |
6972 echo "configure:6973: checking for MS-Windows" >&5 | 7006 echo "configure:7007: checking for MS-Windows" >&5 |
6973 | 7007 |
6974 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7008 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6975 echo "configure:6976: checking for main in -lgdi32" >&5 | 7009 echo "configure:7010: checking for main in -lgdi32" >&5 |
6976 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7010 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6977 | 7011 |
6978 xe_check_libs=" -lgdi32 " | 7012 xe_check_libs=" -lgdi32 " |
6979 cat > conftest.$ac_ext <<EOF | 7013 cat > conftest.$ac_ext <<EOF |
6980 #line 6981 "configure" | 7014 #line 7015 "configure" |
6981 #include "confdefs.h" | 7015 #include "confdefs.h" |
6982 | 7016 |
6983 int main() { | 7017 int main() { |
6984 main() | 7018 main() |
6985 ; return 0; } | 7019 ; return 0; } |
6986 EOF | 7020 EOF |
6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7021 if { (eval echo configure:7022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6988 rm -rf conftest* | 7022 rm -rf conftest* |
6989 eval "ac_cv_lib_$ac_lib_var=yes" | 7023 eval "ac_cv_lib_$ac_lib_var=yes" |
6990 else | 7024 else |
6991 echo "configure: failed program was:" >&5 | 7025 echo "configure: failed program was:" >&5 |
6992 cat conftest.$ac_ext >&5 | 7026 cat conftest.$ac_ext >&5 |
7055 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7089 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7056 echo " xemacs will be linked with \"dialog-msw.o\"" | 7090 echo " xemacs will be linked with \"dialog-msw.o\"" |
7057 fi | 7091 fi |
7058 fi | 7092 fi |
7059 cat > conftest.$ac_ext <<EOF | 7093 cat > conftest.$ac_ext <<EOF |
7060 #line 7061 "configure" | 7094 #line 7095 "configure" |
7061 #include "confdefs.h" | 7095 #include "confdefs.h" |
7062 #include <fcntl.h> | 7096 #include <fcntl.h> |
7063 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7097 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7064 EOF | 7098 EOF |
7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7099 if { (eval echo configure:7100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7066 then | 7100 then |
7067 { test "$extra_verbose" = "yes" && cat << \EOF | 7101 { test "$extra_verbose" = "yes" && cat << \EOF |
7068 Defining HAVE_MSG_SELECT | 7102 Defining HAVE_MSG_SELECT |
7069 EOF | 7103 EOF |
7070 cat >> confdefs.h <<\EOF | 7104 cat >> confdefs.h <<\EOF |
7124 fi | 7158 fi |
7125 | 7159 |
7126 if test "$with_x11" = "yes"; then | 7160 if test "$with_x11" = "yes"; then |
7127 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7161 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7128 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7162 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7129 echo "configure:7130: checking for X11/extensions/shape.h" >&5 | 7163 echo "configure:7164: checking for X11/extensions/shape.h" >&5 |
7130 | 7164 |
7131 cat > conftest.$ac_ext <<EOF | 7165 cat > conftest.$ac_ext <<EOF |
7132 #line 7133 "configure" | 7166 #line 7167 "configure" |
7133 #include "confdefs.h" | 7167 #include "confdefs.h" |
7134 #include <X11/extensions/shape.h> | 7168 #include <X11/extensions/shape.h> |
7135 EOF | 7169 EOF |
7136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7137 { (eval echo configure:7138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7171 { (eval echo configure:7172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7139 if test -z "$ac_err"; then | 7173 if test -z "$ac_err"; then |
7140 rm -rf conftest* | 7174 rm -rf conftest* |
7141 eval "ac_cv_header_$ac_safe=yes" | 7175 eval "ac_cv_header_$ac_safe=yes" |
7142 else | 7176 else |
7184 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7218 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7185 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7219 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7186 esac | 7220 esac |
7187 | 7221 |
7188 echo "checking for WM_COMMAND option" 1>&6 | 7222 echo "checking for WM_COMMAND option" 1>&6 |
7189 echo "configure:7190: checking for WM_COMMAND option" >&5; | 7223 echo "configure:7224: checking for WM_COMMAND option" >&5; |
7190 if test "$with_wmcommand" != "no"; then | 7224 if test "$with_wmcommand" != "no"; then |
7191 { test "$extra_verbose" = "yes" && cat << \EOF | 7225 { test "$extra_verbose" = "yes" && cat << \EOF |
7192 Defining HAVE_WMCOMMAND | 7226 Defining HAVE_WMCOMMAND |
7193 EOF | 7227 EOF |
7194 cat >> confdefs.h <<\EOF | 7228 cat >> confdefs.h <<\EOF |
7199 fi | 7233 fi |
7200 | 7234 |
7201 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7235 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7202 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7236 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7203 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7237 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for X11/Xauth.h" >&5 | 7238 echo "configure:7239: checking for X11/Xauth.h" >&5 |
7205 | 7239 |
7206 cat > conftest.$ac_ext <<EOF | 7240 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 7241 #line 7242 "configure" |
7208 #include "confdefs.h" | 7242 #include "confdefs.h" |
7209 #include <X11/Xauth.h> | 7243 #include <X11/Xauth.h> |
7210 EOF | 7244 EOF |
7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7246 { (eval echo configure:7247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7214 if test -z "$ac_err"; then | 7248 if test -z "$ac_err"; then |
7215 rm -rf conftest* | 7249 rm -rf conftest* |
7216 eval "ac_cv_header_$ac_safe=yes" | 7250 eval "ac_cv_header_$ac_safe=yes" |
7217 else | 7251 else |
7230 with_xauth=no | 7264 with_xauth=no |
7231 fi | 7265 fi |
7232 } | 7266 } |
7233 test -z "$with_xauth" && { | 7267 test -z "$with_xauth" && { |
7234 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7268 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7235 echo "configure:7236: checking for XauGetAuthByAddr in -lXau" >&5 | 7269 echo "configure:7270: checking for XauGetAuthByAddr in -lXau" >&5 |
7236 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7270 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7237 | 7271 |
7238 xe_check_libs=" -lXau " | 7272 xe_check_libs=" -lXau " |
7239 cat > conftest.$ac_ext <<EOF | 7273 cat > conftest.$ac_ext <<EOF |
7240 #line 7241 "configure" | 7274 #line 7275 "configure" |
7241 #include "confdefs.h" | 7275 #include "confdefs.h" |
7242 /* Override any gcc2 internal prototype to avoid an error. */ | 7276 /* Override any gcc2 internal prototype to avoid an error. */ |
7243 /* We use char because int might match the return type of a gcc2 | 7277 /* We use char because int might match the return type of a gcc2 |
7244 builtin and then its argument prototype would still apply. */ | 7278 builtin and then its argument prototype would still apply. */ |
7245 char XauGetAuthByAddr(); | 7279 char XauGetAuthByAddr(); |
7246 | 7280 |
7247 int main() { | 7281 int main() { |
7248 XauGetAuthByAddr() | 7282 XauGetAuthByAddr() |
7249 ; return 0; } | 7283 ; return 0; } |
7250 EOF | 7284 EOF |
7251 if { (eval echo configure:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7252 rm -rf conftest* | 7286 rm -rf conftest* |
7253 eval "ac_cv_lib_$ac_lib_var=yes" | 7287 eval "ac_cv_lib_$ac_lib_var=yes" |
7254 else | 7288 else |
7255 echo "configure: failed program was:" >&5 | 7289 echo "configure: failed program was:" >&5 |
7256 cat conftest.$ac_ext >&5 | 7290 cat conftest.$ac_ext >&5 |
7291 | 7325 |
7292 if test "$with_tooltalk" != "no" ; then | 7326 if test "$with_tooltalk" != "no" ; then |
7293 for dir in "" "Tt/" "desktop/" ; do | 7327 for dir in "" "Tt/" "desktop/" ; do |
7294 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7328 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7295 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7329 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for ${dir}tt_c.h" >&5 | 7330 echo "configure:7331: checking for ${dir}tt_c.h" >&5 |
7297 | 7331 |
7298 cat > conftest.$ac_ext <<EOF | 7332 cat > conftest.$ac_ext <<EOF |
7299 #line 7300 "configure" | 7333 #line 7334 "configure" |
7300 #include "confdefs.h" | 7334 #include "confdefs.h" |
7301 #include <${dir}tt_c.h> | 7335 #include <${dir}tt_c.h> |
7302 EOF | 7336 EOF |
7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7338 { (eval echo configure:7339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7306 if test -z "$ac_err"; then | 7340 if test -z "$ac_err"; then |
7307 rm -rf conftest* | 7341 rm -rf conftest* |
7308 eval "ac_cv_header_$ac_safe=yes" | 7342 eval "ac_cv_header_$ac_safe=yes" |
7309 else | 7343 else |
7335 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7369 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7336 | 7370 |
7337 xe_msg_checking="for tt_message_create in -ltt" | 7371 xe_msg_checking="for tt_message_create in -ltt" |
7338 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7372 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7339 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7373 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7340 echo "configure:7341: checking "$xe_msg_checking"" >&5 | 7374 echo "configure:7375: checking "$xe_msg_checking"" >&5 |
7341 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7375 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7342 | 7376 |
7343 xe_check_libs=" -ltt $extra_libs" | 7377 xe_check_libs=" -ltt $extra_libs" |
7344 cat > conftest.$ac_ext <<EOF | 7378 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7379 #line 7380 "configure" |
7346 #include "confdefs.h" | 7380 #include "confdefs.h" |
7347 /* Override any gcc2 internal prototype to avoid an error. */ | 7381 /* Override any gcc2 internal prototype to avoid an error. */ |
7348 /* We use char because int might match the return type of a gcc2 | 7382 /* We use char because int might match the return type of a gcc2 |
7349 builtin and then its argument prototype would still apply. */ | 7383 builtin and then its argument prototype would still apply. */ |
7350 char tt_message_create(); | 7384 char tt_message_create(); |
7351 | 7385 |
7352 int main() { | 7386 int main() { |
7353 tt_message_create() | 7387 tt_message_create() |
7354 ; return 0; } | 7388 ; return 0; } |
7355 EOF | 7389 EOF |
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7390 if { (eval echo configure:7391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7357 rm -rf conftest* | 7391 rm -rf conftest* |
7358 eval "ac_cv_lib_$ac_lib_var=yes" | 7392 eval "ac_cv_lib_$ac_lib_var=yes" |
7359 else | 7393 else |
7360 echo "configure: failed program was:" >&5 | 7394 echo "configure: failed program was:" >&5 |
7361 cat conftest.$ac_ext >&5 | 7395 cat conftest.$ac_ext >&5 |
7408 fi | 7442 fi |
7409 fi | 7443 fi |
7410 | 7444 |
7411 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7445 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7412 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7446 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking for Dt/Dt.h" >&5 | 7447 echo "configure:7448: checking for Dt/Dt.h" >&5 |
7414 | 7448 |
7415 cat > conftest.$ac_ext <<EOF | 7449 cat > conftest.$ac_ext <<EOF |
7416 #line 7417 "configure" | 7450 #line 7451 "configure" |
7417 #include "confdefs.h" | 7451 #include "confdefs.h" |
7418 #include <Dt/Dt.h> | 7452 #include <Dt/Dt.h> |
7419 EOF | 7453 EOF |
7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7455 { (eval echo configure:7456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7423 if test -z "$ac_err"; then | 7457 if test -z "$ac_err"; then |
7424 rm -rf conftest* | 7458 rm -rf conftest* |
7425 eval "ac_cv_header_$ac_safe=yes" | 7459 eval "ac_cv_header_$ac_safe=yes" |
7426 else | 7460 else |
7439 with_cde=no | 7473 with_cde=no |
7440 fi | 7474 fi |
7441 } | 7475 } |
7442 test -z "$with_cde" && { | 7476 test -z "$with_cde" && { |
7443 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7477 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7444 echo "configure:7445: checking for DtDndDragStart in -lDtSvc" >&5 | 7478 echo "configure:7479: checking for DtDndDragStart in -lDtSvc" >&5 |
7445 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7479 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7446 | 7480 |
7447 xe_check_libs=" -lDtSvc " | 7481 xe_check_libs=" -lDtSvc " |
7448 cat > conftest.$ac_ext <<EOF | 7482 cat > conftest.$ac_ext <<EOF |
7449 #line 7450 "configure" | 7483 #line 7484 "configure" |
7450 #include "confdefs.h" | 7484 #include "confdefs.h" |
7451 /* Override any gcc2 internal prototype to avoid an error. */ | 7485 /* Override any gcc2 internal prototype to avoid an error. */ |
7452 /* We use char because int might match the return type of a gcc2 | 7486 /* We use char because int might match the return type of a gcc2 |
7453 builtin and then its argument prototype would still apply. */ | 7487 builtin and then its argument prototype would still apply. */ |
7454 char DtDndDragStart(); | 7488 char DtDndDragStart(); |
7455 | 7489 |
7456 int main() { | 7490 int main() { |
7457 DtDndDragStart() | 7491 DtDndDragStart() |
7458 ; return 0; } | 7492 ; return 0; } |
7459 EOF | 7493 EOF |
7460 if { (eval echo configure:7461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7494 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7461 rm -rf conftest* | 7495 rm -rf conftest* |
7462 eval "ac_cv_lib_$ac_lib_var=yes" | 7496 eval "ac_cv_lib_$ac_lib_var=yes" |
7463 else | 7497 else |
7464 echo "configure: failed program was:" >&5 | 7498 echo "configure: failed program was:" >&5 |
7465 cat conftest.$ac_ext >&5 | 7499 cat conftest.$ac_ext >&5 |
7528 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7562 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7529 fi | 7563 fi |
7530 | 7564 |
7531 if test "$with_dragndrop" != "no" ; then | 7565 if test "$with_dragndrop" != "no" ; then |
7532 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7566 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7533 echo "configure:7534: checking if drag and drop API is needed" >&5 | 7567 echo "configure:7568: checking if drag and drop API is needed" >&5 |
7534 if test -n "$dragndrop_proto" ; then | 7568 if test -n "$dragndrop_proto" ; then |
7535 with_dragndrop=yes | 7569 with_dragndrop=yes |
7536 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7570 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7537 { test "$extra_verbose" = "yes" && cat << \EOF | 7571 { test "$extra_verbose" = "yes" && cat << \EOF |
7538 Defining HAVE_DRAGNDROP | 7572 Defining HAVE_DRAGNDROP |
7548 echo "$ac_t""no" 1>&6 | 7582 echo "$ac_t""no" 1>&6 |
7549 fi | 7583 fi |
7550 fi | 7584 fi |
7551 | 7585 |
7552 echo "checking for LDAP" 1>&6 | 7586 echo "checking for LDAP" 1>&6 |
7553 echo "configure:7554: checking for LDAP" >&5 | 7587 echo "configure:7588: checking for LDAP" >&5 |
7554 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7588 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7555 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7589 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7556 echo "configure:7557: checking for ldap.h" >&5 | 7590 echo "configure:7591: checking for ldap.h" >&5 |
7557 | 7591 |
7558 cat > conftest.$ac_ext <<EOF | 7592 cat > conftest.$ac_ext <<EOF |
7559 #line 7560 "configure" | 7593 #line 7594 "configure" |
7560 #include "confdefs.h" | 7594 #include "confdefs.h" |
7561 #include <ldap.h> | 7595 #include <ldap.h> |
7562 EOF | 7596 EOF |
7563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7564 { (eval echo configure:7565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7598 { (eval echo configure:7599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7566 if test -z "$ac_err"; then | 7600 if test -z "$ac_err"; then |
7567 rm -rf conftest* | 7601 rm -rf conftest* |
7568 eval "ac_cv_header_$ac_safe=yes" | 7602 eval "ac_cv_header_$ac_safe=yes" |
7569 else | 7603 else |
7582 with_ldap=no | 7616 with_ldap=no |
7583 fi | 7617 fi |
7584 } | 7618 } |
7585 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7619 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7586 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7620 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7587 echo "configure:7588: checking for lber.h" >&5 | 7621 echo "configure:7622: checking for lber.h" >&5 |
7588 | 7622 |
7589 cat > conftest.$ac_ext <<EOF | 7623 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7624 #line 7625 "configure" |
7591 #include "confdefs.h" | 7625 #include "confdefs.h" |
7592 #include <lber.h> | 7626 #include <lber.h> |
7593 EOF | 7627 EOF |
7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7629 { (eval echo configure:7630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7597 if test -z "$ac_err"; then | 7631 if test -z "$ac_err"; then |
7598 rm -rf conftest* | 7632 rm -rf conftest* |
7599 eval "ac_cv_header_$ac_safe=yes" | 7633 eval "ac_cv_header_$ac_safe=yes" |
7600 else | 7634 else |
7614 fi | 7648 fi |
7615 } | 7649 } |
7616 if test "$with_ldap" != "no"; then | 7650 if test "$with_ldap" != "no"; then |
7617 | 7651 |
7618 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7652 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7619 echo "configure:7620: checking for ldap_search in -lldap" >&5 | 7653 echo "configure:7654: checking for ldap_search in -lldap" >&5 |
7620 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7654 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7621 | 7655 |
7622 xe_check_libs=" -lldap " | 7656 xe_check_libs=" -lldap " |
7623 cat > conftest.$ac_ext <<EOF | 7657 cat > conftest.$ac_ext <<EOF |
7624 #line 7625 "configure" | 7658 #line 7659 "configure" |
7625 #include "confdefs.h" | 7659 #include "confdefs.h" |
7626 /* Override any gcc2 internal prototype to avoid an error. */ | 7660 /* Override any gcc2 internal prototype to avoid an error. */ |
7627 /* We use char because int might match the return type of a gcc2 | 7661 /* We use char because int might match the return type of a gcc2 |
7628 builtin and then its argument prototype would still apply. */ | 7662 builtin and then its argument prototype would still apply. */ |
7629 char ldap_search(); | 7663 char ldap_search(); |
7630 | 7664 |
7631 int main() { | 7665 int main() { |
7632 ldap_search() | 7666 ldap_search() |
7633 ; return 0; } | 7667 ; return 0; } |
7634 EOF | 7668 EOF |
7635 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7669 if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7636 rm -rf conftest* | 7670 rm -rf conftest* |
7637 eval "ac_cv_lib_$ac_lib_var=yes" | 7671 eval "ac_cv_lib_$ac_lib_var=yes" |
7638 else | 7672 else |
7639 echo "configure: failed program was:" >&5 | 7673 echo "configure: failed program was:" >&5 |
7640 cat conftest.$ac_ext >&5 | 7674 cat conftest.$ac_ext >&5 |
7655 | 7689 |
7656 test "$with_ldap_nolber" = "no" && { | 7690 test "$with_ldap_nolber" = "no" && { |
7657 xe_msg_checking="for ldap_open in -lldap" | 7691 xe_msg_checking="for ldap_open in -lldap" |
7658 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7692 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7659 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7693 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7660 echo "configure:7661: checking "$xe_msg_checking"" >&5 | 7694 echo "configure:7695: checking "$xe_msg_checking"" >&5 |
7661 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7695 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7662 | 7696 |
7663 xe_check_libs=" -lldap -llber" | 7697 xe_check_libs=" -lldap -llber" |
7664 cat > conftest.$ac_ext <<EOF | 7698 cat > conftest.$ac_ext <<EOF |
7665 #line 7666 "configure" | 7699 #line 7700 "configure" |
7666 #include "confdefs.h" | 7700 #include "confdefs.h" |
7667 /* Override any gcc2 internal prototype to avoid an error. */ | 7701 /* Override any gcc2 internal prototype to avoid an error. */ |
7668 /* We use char because int might match the return type of a gcc2 | 7702 /* We use char because int might match the return type of a gcc2 |
7669 builtin and then its argument prototype would still apply. */ | 7703 builtin and then its argument prototype would still apply. */ |
7670 char ldap_open(); | 7704 char ldap_open(); |
7671 | 7705 |
7672 int main() { | 7706 int main() { |
7673 ldap_open() | 7707 ldap_open() |
7674 ; return 0; } | 7708 ; return 0; } |
7675 EOF | 7709 EOF |
7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7710 if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7677 rm -rf conftest* | 7711 rm -rf conftest* |
7678 eval "ac_cv_lib_$ac_lib_var=yes" | 7712 eval "ac_cv_lib_$ac_lib_var=yes" |
7679 else | 7713 else |
7680 echo "configure: failed program was:" >&5 | 7714 echo "configure: failed program was:" >&5 |
7681 cat conftest.$ac_ext >&5 | 7715 cat conftest.$ac_ext >&5 |
7696 } | 7730 } |
7697 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7731 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7698 xe_msg_checking="for ldap_open in -lldap" | 7732 xe_msg_checking="for ldap_open in -lldap" |
7699 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7733 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7700 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7734 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7701 echo "configure:7702: checking "$xe_msg_checking"" >&5 | 7735 echo "configure:7736: checking "$xe_msg_checking"" >&5 |
7702 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7736 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7703 | 7737 |
7704 xe_check_libs=" -lldap -llber -lkrb" | 7738 xe_check_libs=" -lldap -llber -lkrb" |
7705 cat > conftest.$ac_ext <<EOF | 7739 cat > conftest.$ac_ext <<EOF |
7706 #line 7707 "configure" | 7740 #line 7741 "configure" |
7707 #include "confdefs.h" | 7741 #include "confdefs.h" |
7708 /* Override any gcc2 internal prototype to avoid an error. */ | 7742 /* Override any gcc2 internal prototype to avoid an error. */ |
7709 /* We use char because int might match the return type of a gcc2 | 7743 /* We use char because int might match the return type of a gcc2 |
7710 builtin and then its argument prototype would still apply. */ | 7744 builtin and then its argument prototype would still apply. */ |
7711 char ldap_open(); | 7745 char ldap_open(); |
7712 | 7746 |
7713 int main() { | 7747 int main() { |
7714 ldap_open() | 7748 ldap_open() |
7715 ; return 0; } | 7749 ; return 0; } |
7716 EOF | 7750 EOF |
7717 if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7751 if { (eval echo configure:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7718 rm -rf conftest* | 7752 rm -rf conftest* |
7719 eval "ac_cv_lib_$ac_lib_var=yes" | 7753 eval "ac_cv_lib_$ac_lib_var=yes" |
7720 else | 7754 else |
7721 echo "configure: failed program was:" >&5 | 7755 echo "configure: failed program was:" >&5 |
7722 cat conftest.$ac_ext >&5 | 7756 cat conftest.$ac_ext >&5 |
7737 } | 7771 } |
7738 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7772 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7739 xe_msg_checking="for ldap_open in -lldap" | 7773 xe_msg_checking="for ldap_open in -lldap" |
7740 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7774 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7741 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7775 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7742 echo "configure:7743: checking "$xe_msg_checking"" >&5 | 7776 echo "configure:7777: checking "$xe_msg_checking"" >&5 |
7743 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7777 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7744 | 7778 |
7745 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7779 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7746 cat > conftest.$ac_ext <<EOF | 7780 cat > conftest.$ac_ext <<EOF |
7747 #line 7748 "configure" | 7781 #line 7782 "configure" |
7748 #include "confdefs.h" | 7782 #include "confdefs.h" |
7749 /* Override any gcc2 internal prototype to avoid an error. */ | 7783 /* Override any gcc2 internal prototype to avoid an error. */ |
7750 /* We use char because int might match the return type of a gcc2 | 7784 /* We use char because int might match the return type of a gcc2 |
7751 builtin and then its argument prototype would still apply. */ | 7785 builtin and then its argument prototype would still apply. */ |
7752 char ldap_open(); | 7786 char ldap_open(); |
7753 | 7787 |
7754 int main() { | 7788 int main() { |
7755 ldap_open() | 7789 ldap_open() |
7756 ; return 0; } | 7790 ; return 0; } |
7757 EOF | 7791 EOF |
7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7792 if { (eval echo configure:7793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7759 rm -rf conftest* | 7793 rm -rf conftest* |
7760 eval "ac_cv_lib_$ac_lib_var=yes" | 7794 eval "ac_cv_lib_$ac_lib_var=yes" |
7761 else | 7795 else |
7762 echo "configure: failed program was:" >&5 | 7796 echo "configure: failed program was:" >&5 |
7763 cat conftest.$ac_ext >&5 | 7797 cat conftest.$ac_ext >&5 |
7804 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7838 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7805 fi | 7839 fi |
7806 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7840 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7807 do | 7841 do |
7808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7809 echo "configure:7810: checking for $ac_func" >&5 | 7843 echo "configure:7844: checking for $ac_func" >&5 |
7810 | 7844 |
7811 cat > conftest.$ac_ext <<EOF | 7845 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7846 #line 7847 "configure" |
7813 #include "confdefs.h" | 7847 #include "confdefs.h" |
7814 /* System header to define __stub macros and hopefully few prototypes, | 7848 /* System header to define __stub macros and hopefully few prototypes, |
7815 which can conflict with char $ac_func(); below. */ | 7849 which can conflict with char $ac_func(); below. */ |
7816 #include <assert.h> | 7850 #include <assert.h> |
7817 /* Override any gcc2 internal prototype to avoid an error. */ | 7851 /* Override any gcc2 internal prototype to avoid an error. */ |
7830 $ac_func(); | 7864 $ac_func(); |
7831 #endif | 7865 #endif |
7832 | 7866 |
7833 ; return 0; } | 7867 ; return 0; } |
7834 EOF | 7868 EOF |
7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7869 if { (eval echo configure:7870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7836 rm -rf conftest* | 7870 rm -rf conftest* |
7837 eval "ac_cv_func_$ac_func=yes" | 7871 eval "ac_cv_func_$ac_func=yes" |
7838 else | 7872 else |
7839 echo "configure: failed program was:" >&5 | 7873 echo "configure: failed program was:" >&5 |
7840 cat conftest.$ac_ext >&5 | 7874 cat conftest.$ac_ext >&5 |
7861 | 7895 |
7862 fi | 7896 fi |
7863 | 7897 |
7864 if test "$with_postgresql" != "no"; then | 7898 if test "$with_postgresql" != "no"; then |
7865 echo "checking for PostgreSQL" 1>&6 | 7899 echo "checking for PostgreSQL" 1>&6 |
7866 echo "configure:7867: checking for PostgreSQL" >&5 | 7900 echo "configure:7901: checking for PostgreSQL" >&5 |
7867 | 7901 |
7868 for header_dir in "" "pgsql/" "postgresql/"; do | 7902 for header_dir in "" "pgsql/" "postgresql/"; do |
7869 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7903 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7870 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7904 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7871 echo "configure:7872: checking for ${header_dir}libpq-fe.h" >&5 | 7905 echo "configure:7906: checking for ${header_dir}libpq-fe.h" >&5 |
7872 | 7906 |
7873 cat > conftest.$ac_ext <<EOF | 7907 cat > conftest.$ac_ext <<EOF |
7874 #line 7875 "configure" | 7908 #line 7909 "configure" |
7875 #include "confdefs.h" | 7909 #include "confdefs.h" |
7876 #include <${header_dir}libpq-fe.h> | 7910 #include <${header_dir}libpq-fe.h> |
7877 EOF | 7911 EOF |
7878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7879 { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7913 { (eval echo configure:7914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7881 if test -z "$ac_err"; then | 7915 if test -z "$ac_err"; then |
7882 rm -rf conftest* | 7916 rm -rf conftest* |
7883 eval "ac_cv_header_$ac_safe=yes" | 7917 eval "ac_cv_header_$ac_safe=yes" |
7884 else | 7918 else |
7898 | 7932 |
7899 done | 7933 done |
7900 | 7934 |
7901 test -n "$libpq_fe_h_file" && { | 7935 test -n "$libpq_fe_h_file" && { |
7902 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7936 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7903 echo "configure:7904: checking for PQconnectdb in -lpq" >&5 | 7937 echo "configure:7938: checking for PQconnectdb in -lpq" >&5 |
7904 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7938 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7905 | 7939 |
7906 xe_check_libs=" -lpq " | 7940 xe_check_libs=" -lpq " |
7907 cat > conftest.$ac_ext <<EOF | 7941 cat > conftest.$ac_ext <<EOF |
7908 #line 7909 "configure" | 7942 #line 7943 "configure" |
7909 #include "confdefs.h" | 7943 #include "confdefs.h" |
7910 /* Override any gcc2 internal prototype to avoid an error. */ | 7944 /* Override any gcc2 internal prototype to avoid an error. */ |
7911 /* We use char because int might match the return type of a gcc2 | 7945 /* We use char because int might match the return type of a gcc2 |
7912 builtin and then its argument prototype would still apply. */ | 7946 builtin and then its argument prototype would still apply. */ |
7913 char PQconnectdb(); | 7947 char PQconnectdb(); |
7914 | 7948 |
7915 int main() { | 7949 int main() { |
7916 PQconnectdb() | 7950 PQconnectdb() |
7917 ; return 0; } | 7951 ; return 0; } |
7918 EOF | 7952 EOF |
7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7953 if { (eval echo configure:7954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7920 rm -rf conftest* | 7954 rm -rf conftest* |
7921 eval "ac_cv_lib_$ac_lib_var=yes" | 7955 eval "ac_cv_lib_$ac_lib_var=yes" |
7922 else | 7956 else |
7923 echo "configure: failed program was:" >&5 | 7957 echo "configure: failed program was:" >&5 |
7924 cat conftest.$ac_ext >&5 | 7958 cat conftest.$ac_ext >&5 |
7947 EOF | 7981 EOF |
7948 } | 7982 } |
7949 | 7983 |
7950 | 7984 |
7951 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7985 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7952 echo "configure:7953: checking for PQconnectStart in -lpq" >&5 | 7986 echo "configure:7987: checking for PQconnectStart in -lpq" >&5 |
7953 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7987 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7954 | 7988 |
7955 xe_check_libs=" -lpq " | 7989 xe_check_libs=" -lpq " |
7956 cat > conftest.$ac_ext <<EOF | 7990 cat > conftest.$ac_ext <<EOF |
7957 #line 7958 "configure" | 7991 #line 7992 "configure" |
7958 #include "confdefs.h" | 7992 #include "confdefs.h" |
7959 /* Override any gcc2 internal prototype to avoid an error. */ | 7993 /* Override any gcc2 internal prototype to avoid an error. */ |
7960 /* We use char because int might match the return type of a gcc2 | 7994 /* We use char because int might match the return type of a gcc2 |
7961 builtin and then its argument prototype would still apply. */ | 7995 builtin and then its argument prototype would still apply. */ |
7962 char PQconnectStart(); | 7996 char PQconnectStart(); |
7963 | 7997 |
7964 int main() { | 7998 int main() { |
7965 PQconnectStart() | 7999 PQconnectStart() |
7966 ; return 0; } | 8000 ; return 0; } |
7967 EOF | 8001 EOF |
7968 if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8002 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7969 rm -rf conftest* | 8003 rm -rf conftest* |
7970 eval "ac_cv_lib_$ac_lib_var=yes" | 8004 eval "ac_cv_lib_$ac_lib_var=yes" |
7971 else | 8005 else |
7972 echo "configure: failed program was:" >&5 | 8006 echo "configure: failed program was:" >&5 |
7973 cat conftest.$ac_ext >&5 | 8007 cat conftest.$ac_ext >&5 |
8011 fi | 8045 fi |
8012 | 8046 |
8013 | 8047 |
8014 if test "$window_system" != "none"; then | 8048 if test "$window_system" != "none"; then |
8015 echo "checking for graphics libraries" 1>&6 | 8049 echo "checking for graphics libraries" 1>&6 |
8016 echo "configure:8017: checking for graphics libraries" >&5 | 8050 echo "configure:8051: checking for graphics libraries" >&5 |
8017 | 8051 |
8018 xpm_problem="" | 8052 xpm_problem="" |
8019 if test -z "$with_xpm"; then | 8053 if test -z "$with_xpm"; then |
8020 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8054 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8021 echo "configure:8022: checking for Xpm - no older than 3.4f" >&5 | 8055 echo "configure:8056: checking for Xpm - no older than 3.4f" >&5 |
8022 xe_check_libs=-lXpm | 8056 xe_check_libs=-lXpm |
8023 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
8024 #line 8025 "configure" | 8058 #line 8059 "configure" |
8025 #include "confdefs.h" | 8059 #include "confdefs.h" |
8026 #define XPM_NUMBERS | 8060 #define XPM_NUMBERS |
8027 #include <X11/xpm.h> | 8061 #include <X11/xpm.h> |
8028 int main(int c, char **v) { | 8062 int main(int c, char **v) { |
8029 return c == 1 ? 0 : | 8063 return c == 1 ? 0 : |
8030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8064 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8031 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8065 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8032 EOF | 8066 EOF |
8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8067 if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8034 then | 8068 then |
8035 ./conftest dummy_arg; xpm_status=$?; | 8069 ./conftest dummy_arg; xpm_status=$?; |
8036 if test "$xpm_status" = "0"; then | 8070 if test "$xpm_status" = "0"; then |
8037 with_xpm=yes; | 8071 with_xpm=yes; |
8038 else | 8072 else |
8070 EOF | 8104 EOF |
8071 } | 8105 } |
8072 | 8106 |
8073 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8107 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8074 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8108 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8075 echo "configure:8076: checking for \"FOR_MSW\" xpm" >&5 | 8109 echo "configure:8110: checking for \"FOR_MSW\" xpm" >&5 |
8076 xe_check_libs=-lXpm | 8110 xe_check_libs=-lXpm |
8077 cat > conftest.$ac_ext <<EOF | 8111 cat > conftest.$ac_ext <<EOF |
8078 #line 8079 "configure" | 8112 #line 8113 "configure" |
8079 #include "confdefs.h" | 8113 #include "confdefs.h" |
8080 | 8114 |
8081 int main() { | 8115 int main() { |
8082 XpmCreatePixmapFromData() | 8116 XpmCreatePixmapFromData() |
8083 ; return 0; } | 8117 ; return 0; } |
8084 EOF | 8118 EOF |
8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8086 rm -rf conftest* | 8120 rm -rf conftest* |
8087 xpm_for_msw=no | 8121 xpm_for_msw=no |
8088 else | 8122 else |
8089 echo "configure: failed program was:" >&5 | 8123 echo "configure: failed program was:" >&5 |
8090 cat conftest.$ac_ext >&5 | 8124 cat conftest.$ac_ext >&5 |
8106 fi | 8140 fi |
8107 fi | 8141 fi |
8108 | 8142 |
8109 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8143 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8110 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8144 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8111 echo "configure:8112: checking for compface.h" >&5 | 8145 echo "configure:8146: checking for compface.h" >&5 |
8112 | 8146 |
8113 cat > conftest.$ac_ext <<EOF | 8147 cat > conftest.$ac_ext <<EOF |
8114 #line 8115 "configure" | 8148 #line 8149 "configure" |
8115 #include "confdefs.h" | 8149 #include "confdefs.h" |
8116 #include <compface.h> | 8150 #include <compface.h> |
8117 EOF | 8151 EOF |
8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8153 { (eval echo configure:8154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8121 if test -z "$ac_err"; then | 8155 if test -z "$ac_err"; then |
8122 rm -rf conftest* | 8156 rm -rf conftest* |
8123 eval "ac_cv_header_$ac_safe=yes" | 8157 eval "ac_cv_header_$ac_safe=yes" |
8124 else | 8158 else |
8137 with_xface=no | 8171 with_xface=no |
8138 fi | 8172 fi |
8139 } | 8173 } |
8140 test -z "$with_xface" && { | 8174 test -z "$with_xface" && { |
8141 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8175 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8142 echo "configure:8143: checking for UnGenFace in -lcompface" >&5 | 8176 echo "configure:8177: checking for UnGenFace in -lcompface" >&5 |
8143 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8177 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8144 | 8178 |
8145 xe_check_libs=" -lcompface " | 8179 xe_check_libs=" -lcompface " |
8146 cat > conftest.$ac_ext <<EOF | 8180 cat > conftest.$ac_ext <<EOF |
8147 #line 8148 "configure" | 8181 #line 8182 "configure" |
8148 #include "confdefs.h" | 8182 #include "confdefs.h" |
8149 /* Override any gcc2 internal prototype to avoid an error. */ | 8183 /* Override any gcc2 internal prototype to avoid an error. */ |
8150 /* We use char because int might match the return type of a gcc2 | 8184 /* We use char because int might match the return type of a gcc2 |
8151 builtin and then its argument prototype would still apply. */ | 8185 builtin and then its argument prototype would still apply. */ |
8152 char UnGenFace(); | 8186 char UnGenFace(); |
8153 | 8187 |
8154 int main() { | 8188 int main() { |
8155 UnGenFace() | 8189 UnGenFace() |
8156 ; return 0; } | 8190 ; return 0; } |
8157 EOF | 8191 EOF |
8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8159 rm -rf conftest* | 8193 rm -rf conftest* |
8160 eval "ac_cv_lib_$ac_lib_var=yes" | 8194 eval "ac_cv_lib_$ac_lib_var=yes" |
8161 else | 8195 else |
8162 echo "configure: failed program was:" >&5 | 8196 echo "configure: failed program was:" >&5 |
8163 cat conftest.$ac_ext >&5 | 8197 cat conftest.$ac_ext >&5 |
8205 fi | 8239 fi |
8206 | 8240 |
8207 if test "$with_png $with_tiff" != "no no"; then | 8241 if test "$with_png $with_tiff" != "no no"; then |
8208 | 8242 |
8209 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8243 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8210 echo "configure:8211: checking for inflate in -lc" >&5 | 8244 echo "configure:8245: checking for inflate in -lc" >&5 |
8211 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8245 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8212 | 8246 |
8213 xe_check_libs=" -lc " | 8247 xe_check_libs=" -lc " |
8214 cat > conftest.$ac_ext <<EOF | 8248 cat > conftest.$ac_ext <<EOF |
8215 #line 8216 "configure" | 8249 #line 8250 "configure" |
8216 #include "confdefs.h" | 8250 #include "confdefs.h" |
8217 /* Override any gcc2 internal prototype to avoid an error. */ | 8251 /* Override any gcc2 internal prototype to avoid an error. */ |
8218 /* We use char because int might match the return type of a gcc2 | 8252 /* We use char because int might match the return type of a gcc2 |
8219 builtin and then its argument prototype would still apply. */ | 8253 builtin and then its argument prototype would still apply. */ |
8220 char inflate(); | 8254 char inflate(); |
8221 | 8255 |
8222 int main() { | 8256 int main() { |
8223 inflate() | 8257 inflate() |
8224 ; return 0; } | 8258 ; return 0; } |
8225 EOF | 8259 EOF |
8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8227 rm -rf conftest* | 8261 rm -rf conftest* |
8228 eval "ac_cv_lib_$ac_lib_var=yes" | 8262 eval "ac_cv_lib_$ac_lib_var=yes" |
8229 else | 8263 else |
8230 echo "configure: failed program was:" >&5 | 8264 echo "configure: failed program was:" >&5 |
8231 cat conftest.$ac_ext >&5 | 8265 cat conftest.$ac_ext >&5 |
8240 : | 8274 : |
8241 else | 8275 else |
8242 echo "$ac_t""no" 1>&6 | 8276 echo "$ac_t""no" 1>&6 |
8243 | 8277 |
8244 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8278 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8245 echo "configure:8246: checking for inflate in -lz" >&5 | 8279 echo "configure:8280: checking for inflate in -lz" >&5 |
8246 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8280 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8247 | 8281 |
8248 xe_check_libs=" -lz " | 8282 xe_check_libs=" -lz " |
8249 cat > conftest.$ac_ext <<EOF | 8283 cat > conftest.$ac_ext <<EOF |
8250 #line 8251 "configure" | 8284 #line 8285 "configure" |
8251 #include "confdefs.h" | 8285 #include "confdefs.h" |
8252 /* Override any gcc2 internal prototype to avoid an error. */ | 8286 /* Override any gcc2 internal prototype to avoid an error. */ |
8253 /* We use char because int might match the return type of a gcc2 | 8287 /* We use char because int might match the return type of a gcc2 |
8254 builtin and then its argument prototype would still apply. */ | 8288 builtin and then its argument prototype would still apply. */ |
8255 char inflate(); | 8289 char inflate(); |
8256 | 8290 |
8257 int main() { | 8291 int main() { |
8258 inflate() | 8292 inflate() |
8259 ; return 0; } | 8293 ; return 0; } |
8260 EOF | 8294 EOF |
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8262 rm -rf conftest* | 8296 rm -rf conftest* |
8263 eval "ac_cv_lib_$ac_lib_var=yes" | 8297 eval "ac_cv_lib_$ac_lib_var=yes" |
8264 else | 8298 else |
8265 echo "configure: failed program was:" >&5 | 8299 echo "configure: failed program was:" >&5 |
8266 cat conftest.$ac_ext >&5 | 8300 cat conftest.$ac_ext >&5 |
8275 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8309 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8276 else | 8310 else |
8277 echo "$ac_t""no" 1>&6 | 8311 echo "$ac_t""no" 1>&6 |
8278 | 8312 |
8279 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8313 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8280 echo "configure:8281: checking for inflate in -lgz" >&5 | 8314 echo "configure:8315: checking for inflate in -lgz" >&5 |
8281 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8315 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8282 | 8316 |
8283 xe_check_libs=" -lgz " | 8317 xe_check_libs=" -lgz " |
8284 cat > conftest.$ac_ext <<EOF | 8318 cat > conftest.$ac_ext <<EOF |
8285 #line 8286 "configure" | 8319 #line 8320 "configure" |
8286 #include "confdefs.h" | 8320 #include "confdefs.h" |
8287 /* Override any gcc2 internal prototype to avoid an error. */ | 8321 /* Override any gcc2 internal prototype to avoid an error. */ |
8288 /* We use char because int might match the return type of a gcc2 | 8322 /* We use char because int might match the return type of a gcc2 |
8289 builtin and then its argument prototype would still apply. */ | 8323 builtin and then its argument prototype would still apply. */ |
8290 char inflate(); | 8324 char inflate(); |
8291 | 8325 |
8292 int main() { | 8326 int main() { |
8293 inflate() | 8327 inflate() |
8294 ; return 0; } | 8328 ; return 0; } |
8295 EOF | 8329 EOF |
8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8330 if { (eval echo configure:8331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8297 rm -rf conftest* | 8331 rm -rf conftest* |
8298 eval "ac_cv_lib_$ac_lib_var=yes" | 8332 eval "ac_cv_lib_$ac_lib_var=yes" |
8299 else | 8333 else |
8300 echo "configure: failed program was:" >&5 | 8334 echo "configure: failed program was:" >&5 |
8301 cat conftest.$ac_ext >&5 | 8335 cat conftest.$ac_ext >&5 |
8321 | 8355 |
8322 fi | 8356 fi |
8323 | 8357 |
8324 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8358 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8325 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8359 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8326 echo "configure:8327: checking for jpeglib.h" >&5 | 8360 echo "configure:8361: checking for jpeglib.h" >&5 |
8327 | 8361 |
8328 cat > conftest.$ac_ext <<EOF | 8362 cat > conftest.$ac_ext <<EOF |
8329 #line 8330 "configure" | 8363 #line 8364 "configure" |
8330 #include "confdefs.h" | 8364 #include "confdefs.h" |
8331 #include <jpeglib.h> | 8365 #include <jpeglib.h> |
8332 EOF | 8366 EOF |
8333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8334 { (eval echo configure:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8368 { (eval echo configure:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8336 if test -z "$ac_err"; then | 8370 if test -z "$ac_err"; then |
8337 rm -rf conftest* | 8371 rm -rf conftest* |
8338 eval "ac_cv_header_$ac_safe=yes" | 8372 eval "ac_cv_header_$ac_safe=yes" |
8339 else | 8373 else |
8352 with_jpeg=no | 8386 with_jpeg=no |
8353 fi | 8387 fi |
8354 } | 8388 } |
8355 test -z "$with_jpeg" && { | 8389 test -z "$with_jpeg" && { |
8356 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8390 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8357 echo "configure:8358: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8391 echo "configure:8392: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8358 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8392 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8359 | 8393 |
8360 xe_check_libs=" -ljpeg " | 8394 xe_check_libs=" -ljpeg " |
8361 cat > conftest.$ac_ext <<EOF | 8395 cat > conftest.$ac_ext <<EOF |
8362 #line 8363 "configure" | 8396 #line 8397 "configure" |
8363 #include "confdefs.h" | 8397 #include "confdefs.h" |
8364 /* Override any gcc2 internal prototype to avoid an error. */ | 8398 /* Override any gcc2 internal prototype to avoid an error. */ |
8365 /* We use char because int might match the return type of a gcc2 | 8399 /* We use char because int might match the return type of a gcc2 |
8366 builtin and then its argument prototype would still apply. */ | 8400 builtin and then its argument prototype would still apply. */ |
8367 char jpeg_destroy_decompress(); | 8401 char jpeg_destroy_decompress(); |
8368 | 8402 |
8369 int main() { | 8403 int main() { |
8370 jpeg_destroy_decompress() | 8404 jpeg_destroy_decompress() |
8371 ; return 0; } | 8405 ; return 0; } |
8372 EOF | 8406 EOF |
8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8374 rm -rf conftest* | 8408 rm -rf conftest* |
8375 eval "ac_cv_lib_$ac_lib_var=yes" | 8409 eval "ac_cv_lib_$ac_lib_var=yes" |
8376 else | 8410 else |
8377 echo "configure: failed program was:" >&5 | 8411 echo "configure: failed program was:" >&5 |
8378 cat conftest.$ac_ext >&5 | 8412 cat conftest.$ac_ext >&5 |
8404 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8438 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8405 fi | 8439 fi |
8406 | 8440 |
8407 png_problem="" | 8441 png_problem="" |
8408 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8442 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking for pow" >&5 | 8443 echo "configure:8444: checking for pow" >&5 |
8410 | 8444 |
8411 cat > conftest.$ac_ext <<EOF | 8445 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8446 #line 8447 "configure" |
8413 #include "confdefs.h" | 8447 #include "confdefs.h" |
8414 /* System header to define __stub macros and hopefully few prototypes, | 8448 /* System header to define __stub macros and hopefully few prototypes, |
8415 which can conflict with char pow(); below. */ | 8449 which can conflict with char pow(); below. */ |
8416 #include <assert.h> | 8450 #include <assert.h> |
8417 /* Override any gcc2 internal prototype to avoid an error. */ | 8451 /* Override any gcc2 internal prototype to avoid an error. */ |
8430 pow(); | 8464 pow(); |
8431 #endif | 8465 #endif |
8432 | 8466 |
8433 ; return 0; } | 8467 ; return 0; } |
8434 EOF | 8468 EOF |
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8436 rm -rf conftest* | 8470 rm -rf conftest* |
8437 eval "ac_cv_func_pow=yes" | 8471 eval "ac_cv_func_pow=yes" |
8438 else | 8472 else |
8439 echo "configure: failed program was:" >&5 | 8473 echo "configure: failed program was:" >&5 |
8440 cat conftest.$ac_ext >&5 | 8474 cat conftest.$ac_ext >&5 |
8451 with_png=no | 8485 with_png=no |
8452 fi | 8486 fi |
8453 } | 8487 } |
8454 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8488 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8455 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8489 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8456 echo "configure:8457: checking for png.h" >&5 | 8490 echo "configure:8491: checking for png.h" >&5 |
8457 | 8491 |
8458 cat > conftest.$ac_ext <<EOF | 8492 cat > conftest.$ac_ext <<EOF |
8459 #line 8460 "configure" | 8493 #line 8494 "configure" |
8460 #include "confdefs.h" | 8494 #include "confdefs.h" |
8461 #include <png.h> | 8495 #include <png.h> |
8462 EOF | 8496 EOF |
8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8498 { (eval echo configure:8499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8466 if test -z "$ac_err"; then | 8500 if test -z "$ac_err"; then |
8467 rm -rf conftest* | 8501 rm -rf conftest* |
8468 eval "ac_cv_header_$ac_safe=yes" | 8502 eval "ac_cv_header_$ac_safe=yes" |
8469 else | 8503 else |
8482 with_png=no | 8516 with_png=no |
8483 fi | 8517 fi |
8484 } | 8518 } |
8485 test -z "$with_png" && { | 8519 test -z "$with_png" && { |
8486 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8520 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8487 echo "configure:8488: checking for png_read_image in -lpng" >&5 | 8521 echo "configure:8522: checking for png_read_image in -lpng" >&5 |
8488 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8522 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8489 | 8523 |
8490 xe_check_libs=" -lpng " | 8524 xe_check_libs=" -lpng " |
8491 cat > conftest.$ac_ext <<EOF | 8525 cat > conftest.$ac_ext <<EOF |
8492 #line 8493 "configure" | 8526 #line 8527 "configure" |
8493 #include "confdefs.h" | 8527 #include "confdefs.h" |
8494 /* Override any gcc2 internal prototype to avoid an error. */ | 8528 /* Override any gcc2 internal prototype to avoid an error. */ |
8495 /* We use char because int might match the return type of a gcc2 | 8529 /* We use char because int might match the return type of a gcc2 |
8496 builtin and then its argument prototype would still apply. */ | 8530 builtin and then its argument prototype would still apply. */ |
8497 char png_read_image(); | 8531 char png_read_image(); |
8498 | 8532 |
8499 int main() { | 8533 int main() { |
8500 png_read_image() | 8534 png_read_image() |
8501 ; return 0; } | 8535 ; return 0; } |
8502 EOF | 8536 EOF |
8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8504 rm -rf conftest* | 8538 rm -rf conftest* |
8505 eval "ac_cv_lib_$ac_lib_var=yes" | 8539 eval "ac_cv_lib_$ac_lib_var=yes" |
8506 else | 8540 else |
8507 echo "configure: failed program was:" >&5 | 8541 echo "configure: failed program was:" >&5 |
8508 cat conftest.$ac_ext >&5 | 8542 cat conftest.$ac_ext >&5 |
8521 fi | 8555 fi |
8522 | 8556 |
8523 } | 8557 } |
8524 if test -z "$with_png"; then | 8558 if test -z "$with_png"; then |
8525 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8559 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8526 echo "configure:8527: checking for workable png version information" >&5 | 8560 echo "configure:8561: checking for workable png version information" >&5 |
8527 xe_check_libs="-lpng -lz" | 8561 xe_check_libs="-lpng -lz" |
8528 cat > conftest.$ac_ext <<EOF | 8562 cat > conftest.$ac_ext <<EOF |
8529 #line 8530 "configure" | 8563 #line 8564 "configure" |
8530 #include "confdefs.h" | 8564 #include "confdefs.h" |
8531 #include <png.h> | 8565 #include <png.h> |
8532 int main(int c, char **v) { | 8566 int main(int c, char **v) { |
8533 if (c == 1) return 0; | 8567 if (c == 1) return 0; |
8534 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8568 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8535 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8569 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8536 EOF | 8570 EOF |
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8538 then | 8572 then |
8539 ./conftest dummy_arg; png_status=$?; | 8573 ./conftest dummy_arg; png_status=$?; |
8540 if test "$png_status" = "0"; then | 8574 if test "$png_status" = "0"; then |
8541 with_png=yes; | 8575 with_png=yes; |
8542 else | 8576 else |
8575 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8609 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8576 fi | 8610 fi |
8577 | 8611 |
8578 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8612 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8579 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8613 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8580 echo "configure:8581: checking for tiffio.h" >&5 | 8614 echo "configure:8615: checking for tiffio.h" >&5 |
8581 | 8615 |
8582 cat > conftest.$ac_ext <<EOF | 8616 cat > conftest.$ac_ext <<EOF |
8583 #line 8584 "configure" | 8617 #line 8618 "configure" |
8584 #include "confdefs.h" | 8618 #include "confdefs.h" |
8585 #include <tiffio.h> | 8619 #include <tiffio.h> |
8586 EOF | 8620 EOF |
8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8590 if test -z "$ac_err"; then | 8624 if test -z "$ac_err"; then |
8591 rm -rf conftest* | 8625 rm -rf conftest* |
8592 eval "ac_cv_header_$ac_safe=yes" | 8626 eval "ac_cv_header_$ac_safe=yes" |
8593 else | 8627 else |
8606 with_tiff=no | 8640 with_tiff=no |
8607 fi | 8641 fi |
8608 } | 8642 } |
8609 test -z "$with_tiff" && { | 8643 test -z "$with_tiff" && { |
8610 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8644 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8611 echo "configure:8612: checking for TIFFClientOpen in -ltiff" >&5 | 8645 echo "configure:8646: checking for TIFFClientOpen in -ltiff" >&5 |
8612 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8646 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8613 | 8647 |
8614 xe_check_libs=" -ltiff " | 8648 xe_check_libs=" -ltiff " |
8615 cat > conftest.$ac_ext <<EOF | 8649 cat > conftest.$ac_ext <<EOF |
8616 #line 8617 "configure" | 8650 #line 8651 "configure" |
8617 #include "confdefs.h" | 8651 #include "confdefs.h" |
8618 /* Override any gcc2 internal prototype to avoid an error. */ | 8652 /* Override any gcc2 internal prototype to avoid an error. */ |
8619 /* We use char because int might match the return type of a gcc2 | 8653 /* We use char because int might match the return type of a gcc2 |
8620 builtin and then its argument prototype would still apply. */ | 8654 builtin and then its argument prototype would still apply. */ |
8621 char TIFFClientOpen(); | 8655 char TIFFClientOpen(); |
8622 | 8656 |
8623 int main() { | 8657 int main() { |
8624 TIFFClientOpen() | 8658 TIFFClientOpen() |
8625 ; return 0; } | 8659 ; return 0; } |
8626 EOF | 8660 EOF |
8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8661 if { (eval echo configure:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8628 rm -rf conftest* | 8662 rm -rf conftest* |
8629 eval "ac_cv_lib_$ac_lib_var=yes" | 8663 eval "ac_cv_lib_$ac_lib_var=yes" |
8630 else | 8664 else |
8631 echo "configure: failed program was:" >&5 | 8665 echo "configure: failed program was:" >&5 |
8632 cat conftest.$ac_ext >&5 | 8666 cat conftest.$ac_ext >&5 |
8661 | 8695 |
8662 | 8696 |
8663 if test "$with_gtk" = "yes"; then | 8697 if test "$with_gtk" = "yes"; then |
8664 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8698 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8665 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8699 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8666 echo "configure:8667: checking for compface.h" >&5 | 8700 echo "configure:8701: checking for compface.h" >&5 |
8667 | 8701 |
8668 cat > conftest.$ac_ext <<EOF | 8702 cat > conftest.$ac_ext <<EOF |
8669 #line 8670 "configure" | 8703 #line 8704 "configure" |
8670 #include "confdefs.h" | 8704 #include "confdefs.h" |
8671 #include <compface.h> | 8705 #include <compface.h> |
8672 EOF | 8706 EOF |
8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8708 { (eval echo configure:8709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8676 if test -z "$ac_err"; then | 8710 if test -z "$ac_err"; then |
8677 rm -rf conftest* | 8711 rm -rf conftest* |
8678 eval "ac_cv_header_$ac_safe=yes" | 8712 eval "ac_cv_header_$ac_safe=yes" |
8679 else | 8713 else |
8692 with_xface=no | 8726 with_xface=no |
8693 fi | 8727 fi |
8694 } | 8728 } |
8695 test -z "$with_xface" && { | 8729 test -z "$with_xface" && { |
8696 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8697 echo "configure:8698: checking for UnGenFace in -lcompface" >&5 | 8731 echo "configure:8732: checking for UnGenFace in -lcompface" >&5 |
8698 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8732 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8699 | 8733 |
8700 xe_check_libs=" -lcompface " | 8734 xe_check_libs=" -lcompface " |
8701 cat > conftest.$ac_ext <<EOF | 8735 cat > conftest.$ac_ext <<EOF |
8702 #line 8703 "configure" | 8736 #line 8737 "configure" |
8703 #include "confdefs.h" | 8737 #include "confdefs.h" |
8704 /* Override any gcc2 internal prototype to avoid an error. */ | 8738 /* Override any gcc2 internal prototype to avoid an error. */ |
8705 /* We use char because int might match the return type of a gcc2 | 8739 /* We use char because int might match the return type of a gcc2 |
8706 builtin and then its argument prototype would still apply. */ | 8740 builtin and then its argument prototype would still apply. */ |
8707 char UnGenFace(); | 8741 char UnGenFace(); |
8708 | 8742 |
8709 int main() { | 8743 int main() { |
8710 UnGenFace() | 8744 UnGenFace() |
8711 ; return 0; } | 8745 ; return 0; } |
8712 EOF | 8746 EOF |
8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8714 rm -rf conftest* | 8748 rm -rf conftest* |
8715 eval "ac_cv_lib_$ac_lib_var=yes" | 8749 eval "ac_cv_lib_$ac_lib_var=yes" |
8716 else | 8750 else |
8717 echo "configure: failed program was:" >&5 | 8751 echo "configure: failed program was:" >&5 |
8718 cat conftest.$ac_ext >&5 | 8752 cat conftest.$ac_ext >&5 |
8748 | 8782 |
8749 | 8783 |
8750 if test "$with_x11" = "yes"; then | 8784 if test "$with_x11" = "yes"; then |
8751 | 8785 |
8752 echo "checking for X11 graphics libraries" 1>&6 | 8786 echo "checking for X11 graphics libraries" 1>&6 |
8753 echo "configure:8754: checking for X11 graphics libraries" >&5 | 8787 echo "configure:8788: checking for X11 graphics libraries" >&5 |
8754 | 8788 |
8755 echo "checking for the Athena widgets" 1>&6 | 8789 echo "checking for the Athena widgets" 1>&6 |
8756 echo "configure:8757: checking for the Athena widgets" >&5 | 8790 echo "configure:8791: checking for the Athena widgets" >&5 |
8757 | 8791 |
8758 case "$with_athena" in | 8792 case "$with_athena" in |
8759 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8793 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8760 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8794 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8761 "next") athena_variant=neXtaw athena_3d=yes ;; | 8795 "next") athena_variant=neXtaw athena_3d=yes ;; |
8765 esac | 8799 esac |
8766 | 8800 |
8767 if test "$athena_3d" = "no"; then | 8801 if test "$athena_3d" = "no"; then |
8768 | 8802 |
8769 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8803 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8770 echo "configure:8771: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8804 echo "configure:8805: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8771 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8805 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8772 | 8806 |
8773 xe_check_libs=" -l$athena_variant " | 8807 xe_check_libs=" -l$athena_variant " |
8774 cat > conftest.$ac_ext <<EOF | 8808 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8809 #line 8810 "configure" |
8776 #include "confdefs.h" | 8810 #include "confdefs.h" |
8777 /* Override any gcc2 internal prototype to avoid an error. */ | 8811 /* Override any gcc2 internal prototype to avoid an error. */ |
8778 /* We use char because int might match the return type of a gcc2 | 8812 /* We use char because int might match the return type of a gcc2 |
8779 builtin and then its argument prototype would still apply. */ | 8813 builtin and then its argument prototype would still apply. */ |
8780 char XawScrollbarSetThumb(); | 8814 char XawScrollbarSetThumb(); |
8781 | 8815 |
8782 int main() { | 8816 int main() { |
8783 XawScrollbarSetThumb() | 8817 XawScrollbarSetThumb() |
8784 ; return 0; } | 8818 ; return 0; } |
8785 EOF | 8819 EOF |
8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8820 if { (eval echo configure:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8787 rm -rf conftest* | 8821 rm -rf conftest* |
8788 eval "ac_cv_lib_$ac_lib_var=yes" | 8822 eval "ac_cv_lib_$ac_lib_var=yes" |
8789 else | 8823 else |
8790 echo "configure: failed program was:" >&5 | 8824 echo "configure: failed program was:" >&5 |
8791 cat conftest.$ac_ext >&5 | 8825 cat conftest.$ac_ext >&5 |
8797 | 8831 |
8798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8799 echo "$ac_t""yes" 1>&6 | 8833 echo "$ac_t""yes" 1>&6 |
8800 | 8834 |
8801 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8835 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8802 echo "configure:8803: checking for threeDClassRec in -l$athena_variant" >&5 | 8836 echo "configure:8837: checking for threeDClassRec in -l$athena_variant" >&5 |
8803 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8837 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8804 | 8838 |
8805 xe_check_libs=" -l$athena_variant " | 8839 xe_check_libs=" -l$athena_variant " |
8806 cat > conftest.$ac_ext <<EOF | 8840 cat > conftest.$ac_ext <<EOF |
8807 #line 8808 "configure" | 8841 #line 8842 "configure" |
8808 #include "confdefs.h" | 8842 #include "confdefs.h" |
8809 /* Override any gcc2 internal prototype to avoid an error. */ | 8843 /* Override any gcc2 internal prototype to avoid an error. */ |
8810 /* We use char because int might match the return type of a gcc2 | 8844 /* We use char because int might match the return type of a gcc2 |
8811 builtin and then its argument prototype would still apply. */ | 8845 builtin and then its argument prototype would still apply. */ |
8812 char threeDClassRec(); | 8846 char threeDClassRec(); |
8813 | 8847 |
8814 int main() { | 8848 int main() { |
8815 threeDClassRec() | 8849 threeDClassRec() |
8816 ; return 0; } | 8850 ; return 0; } |
8817 EOF | 8851 EOF |
8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8852 if { (eval echo configure:8853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8819 rm -rf conftest* | 8853 rm -rf conftest* |
8820 eval "ac_cv_lib_$ac_lib_var=yes" | 8854 eval "ac_cv_lib_$ac_lib_var=yes" |
8821 else | 8855 else |
8822 echo "configure: failed program was:" >&5 | 8856 echo "configure: failed program was:" >&5 |
8823 cat conftest.$ac_ext >&5 | 8857 cat conftest.$ac_ext >&5 |
8844 | 8878 |
8845 | 8879 |
8846 else | 8880 else |
8847 | 8881 |
8848 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8849 echo "configure:8850: checking for threeDClassRec in -l$athena_variant" >&5 | 8883 echo "configure:8884: checking for threeDClassRec in -l$athena_variant" >&5 |
8850 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8884 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8851 | 8885 |
8852 xe_check_libs=" -l$athena_variant " | 8886 xe_check_libs=" -l$athena_variant " |
8853 cat > conftest.$ac_ext <<EOF | 8887 cat > conftest.$ac_ext <<EOF |
8854 #line 8855 "configure" | 8888 #line 8889 "configure" |
8855 #include "confdefs.h" | 8889 #include "confdefs.h" |
8856 /* Override any gcc2 internal prototype to avoid an error. */ | 8890 /* Override any gcc2 internal prototype to avoid an error. */ |
8857 /* We use char because int might match the return type of a gcc2 | 8891 /* We use char because int might match the return type of a gcc2 |
8858 builtin and then its argument prototype would still apply. */ | 8892 builtin and then its argument prototype would still apply. */ |
8859 char threeDClassRec(); | 8893 char threeDClassRec(); |
8860 | 8894 |
8861 int main() { | 8895 int main() { |
8862 threeDClassRec() | 8896 threeDClassRec() |
8863 ; return 0; } | 8897 ; return 0; } |
8864 EOF | 8898 EOF |
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8866 rm -rf conftest* | 8900 rm -rf conftest* |
8867 eval "ac_cv_lib_$ac_lib_var=yes" | 8901 eval "ac_cv_lib_$ac_lib_var=yes" |
8868 else | 8902 else |
8869 echo "configure: failed program was:" >&5 | 8903 echo "configure: failed program was:" >&5 |
8870 cat conftest.$ac_ext >&5 | 8904 cat conftest.$ac_ext >&5 |
8878 echo "$ac_t""yes" 1>&6 | 8912 echo "$ac_t""yes" 1>&6 |
8879 athena_lib=$athena_variant | 8913 athena_lib=$athena_variant |
8880 else | 8914 else |
8881 echo "$ac_t""no" 1>&6 | 8915 echo "$ac_t""no" 1>&6 |
8882 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8916 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8883 echo "configure:8884: checking for threeDClassRec in -lXaw" >&5 | 8917 echo "configure:8918: checking for threeDClassRec in -lXaw" >&5 |
8884 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8918 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8885 | 8919 |
8886 xe_check_libs=" -lXaw " | 8920 xe_check_libs=" -lXaw " |
8887 cat > conftest.$ac_ext <<EOF | 8921 cat > conftest.$ac_ext <<EOF |
8888 #line 8889 "configure" | 8922 #line 8923 "configure" |
8889 #include "confdefs.h" | 8923 #include "confdefs.h" |
8890 /* Override any gcc2 internal prototype to avoid an error. */ | 8924 /* Override any gcc2 internal prototype to avoid an error. */ |
8891 /* We use char because int might match the return type of a gcc2 | 8925 /* We use char because int might match the return type of a gcc2 |
8892 builtin and then its argument prototype would still apply. */ | 8926 builtin and then its argument prototype would still apply. */ |
8893 char threeDClassRec(); | 8927 char threeDClassRec(); |
8894 | 8928 |
8895 int main() { | 8929 int main() { |
8896 threeDClassRec() | 8930 threeDClassRec() |
8897 ; return 0; } | 8931 ; return 0; } |
8898 EOF | 8932 EOF |
8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8933 if { (eval echo configure:8934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8900 rm -rf conftest* | 8934 rm -rf conftest* |
8901 eval "ac_cv_lib_$ac_lib_var=yes" | 8935 eval "ac_cv_lib_$ac_lib_var=yes" |
8902 else | 8936 else |
8903 echo "configure: failed program was:" >&5 | 8937 echo "configure: failed program was:" >&5 |
8904 cat conftest.$ac_ext >&5 | 8938 cat conftest.$ac_ext >&5 |
8925 fi | 8959 fi |
8926 | 8960 |
8927 if test "$athena_3d" = "no"; then | 8961 if test "$athena_3d" = "no"; then |
8928 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8962 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8929 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8963 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8930 echo "configure:8931: checking for X11/Xaw/ThreeD.h" >&5 | 8964 echo "configure:8965: checking for X11/Xaw/ThreeD.h" >&5 |
8931 | 8965 |
8932 cat > conftest.$ac_ext <<EOF | 8966 cat > conftest.$ac_ext <<EOF |
8933 #line 8934 "configure" | 8967 #line 8968 "configure" |
8934 #include "confdefs.h" | 8968 #include "confdefs.h" |
8935 #include <X11/Xaw/ThreeD.h> | 8969 #include <X11/Xaw/ThreeD.h> |
8936 EOF | 8970 EOF |
8937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8938 { (eval echo configure:8939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8972 { (eval echo configure:8973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8940 if test -z "$ac_err"; then | 8974 if test -z "$ac_err"; then |
8941 rm -rf conftest* | 8975 rm -rf conftest* |
8942 eval "ac_cv_header_$ac_safe=yes" | 8976 eval "ac_cv_header_$ac_safe=yes" |
8943 else | 8977 else |
8953 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8987 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8954 else | 8988 else |
8955 echo "$ac_t""no" 1>&6 | 8989 echo "$ac_t""no" 1>&6 |
8956 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8990 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8957 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8991 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8958 echo "configure:8959: checking for X11/Xaw/XawInit.h" >&5 | 8992 echo "configure:8993: checking for X11/Xaw/XawInit.h" >&5 |
8959 | 8993 |
8960 cat > conftest.$ac_ext <<EOF | 8994 cat > conftest.$ac_ext <<EOF |
8961 #line 8962 "configure" | 8995 #line 8996 "configure" |
8962 #include "confdefs.h" | 8996 #include "confdefs.h" |
8963 #include <X11/Xaw/XawInit.h> | 8997 #include <X11/Xaw/XawInit.h> |
8964 EOF | |
8965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8966 { (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
8968 if test -z "$ac_err"; then | |
8969 rm -rf conftest* | |
8970 eval "ac_cv_header_$ac_safe=yes" | |
8971 else | |
8972 echo "$ac_err" >&5 | |
8973 echo "configure: failed program was:" >&5 | |
8974 cat conftest.$ac_ext >&5 | |
8975 rm -rf conftest* | |
8976 eval "ac_cv_header_$ac_safe=no" | |
8977 fi | |
8978 rm -f conftest* | |
8979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8980 echo "$ac_t""yes" 1>&6 | |
8981 athena_h_path=X11/Xaw | |
8982 else | |
8983 echo "$ac_t""no" 1>&6 | |
8984 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | |
8985 fi | |
8986 | |
8987 fi | |
8988 | |
8989 else | |
8990 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | |
8991 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | |
8992 echo "configure:8993: checking for X11/$athena_variant/XawInit.h" >&5 | |
8993 | |
8994 cat > conftest.$ac_ext <<EOF | |
8995 #line 8996 "configure" | |
8996 #include "confdefs.h" | |
8997 #include <X11/$athena_variant/XawInit.h> | |
8998 EOF | 8998 EOF |
8999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9000 { (eval echo configure:9001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9000 { (eval echo configure:9001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9002 if test -z "$ac_err"; then | 9002 if test -z "$ac_err"; then |
9010 eval "ac_cv_header_$ac_safe=no" | 9010 eval "ac_cv_header_$ac_safe=no" |
9011 fi | 9011 fi |
9012 rm -f conftest* | 9012 rm -f conftest* |
9013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9014 echo "$ac_t""yes" 1>&6 | 9014 echo "$ac_t""yes" 1>&6 |
9015 athena_h_path=X11/Xaw | |
9016 else | |
9017 echo "$ac_t""no" 1>&6 | |
9018 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | |
9019 fi | |
9020 | |
9021 fi | |
9022 | |
9023 else | |
9024 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | |
9025 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | |
9026 echo "configure:9027: checking for X11/$athena_variant/XawInit.h" >&5 | |
9027 | |
9028 cat > conftest.$ac_ext <<EOF | |
9029 #line 9030 "configure" | |
9030 #include "confdefs.h" | |
9031 #include <X11/$athena_variant/XawInit.h> | |
9032 EOF | |
9033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
9034 { (eval echo configure:9035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
9035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
9036 if test -z "$ac_err"; then | |
9037 rm -rf conftest* | |
9038 eval "ac_cv_header_$ac_safe=yes" | |
9039 else | |
9040 echo "$ac_err" >&5 | |
9041 echo "configure: failed program was:" >&5 | |
9042 cat conftest.$ac_ext >&5 | |
9043 rm -rf conftest* | |
9044 eval "ac_cv_header_$ac_safe=no" | |
9045 fi | |
9046 rm -f conftest* | |
9047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
9048 echo "$ac_t""yes" 1>&6 | |
9015 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9049 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9016 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9050 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9017 echo "configure:9018: checking for X11/$athena_variant/ThreeD.h" >&5 | 9051 echo "configure:9052: checking for X11/$athena_variant/ThreeD.h" >&5 |
9018 | 9052 |
9019 cat > conftest.$ac_ext <<EOF | 9053 cat > conftest.$ac_ext <<EOF |
9020 #line 9021 "configure" | 9054 #line 9055 "configure" |
9021 #include "confdefs.h" | 9055 #include "confdefs.h" |
9022 #include <X11/$athena_variant/ThreeD.h> | 9056 #include <X11/$athena_variant/ThreeD.h> |
9023 EOF | 9057 EOF |
9024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9025 { (eval echo configure:9026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9059 { (eval echo configure:9060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9027 if test -z "$ac_err"; then | 9061 if test -z "$ac_err"; then |
9028 rm -rf conftest* | 9062 rm -rf conftest* |
9029 eval "ac_cv_header_$ac_safe=yes" | 9063 eval "ac_cv_header_$ac_safe=yes" |
9030 else | 9064 else |
9048 | 9082 |
9049 | 9083 |
9050 if test -z "$athena_h_path"; then | 9084 if test -z "$athena_h_path"; then |
9051 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9085 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9052 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9086 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9053 echo "configure:9054: checking for $athena_variant/XawInit.h" >&5 | 9087 echo "configure:9088: checking for $athena_variant/XawInit.h" >&5 |
9054 | 9088 |
9055 cat > conftest.$ac_ext <<EOF | 9089 cat > conftest.$ac_ext <<EOF |
9056 #line 9057 "configure" | 9090 #line 9091 "configure" |
9057 #include "confdefs.h" | 9091 #include "confdefs.h" |
9058 #include <$athena_variant/XawInit.h> | 9092 #include <$athena_variant/XawInit.h> |
9059 EOF | 9093 EOF |
9060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9061 { (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9095 { (eval echo configure:9096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9063 if test -z "$ac_err"; then | 9097 if test -z "$ac_err"; then |
9064 rm -rf conftest* | 9098 rm -rf conftest* |
9065 eval "ac_cv_header_$ac_safe=yes" | 9099 eval "ac_cv_header_$ac_safe=yes" |
9066 else | 9100 else |
9073 rm -f conftest* | 9107 rm -f conftest* |
9074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9075 echo "$ac_t""yes" 1>&6 | 9109 echo "$ac_t""yes" 1>&6 |
9076 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9110 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9077 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9111 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9078 echo "configure:9079: checking for $athena_variant/ThreeD.h" >&5 | 9112 echo "configure:9113: checking for $athena_variant/ThreeD.h" >&5 |
9079 | 9113 |
9080 cat > conftest.$ac_ext <<EOF | 9114 cat > conftest.$ac_ext <<EOF |
9081 #line 9082 "configure" | 9115 #line 9116 "configure" |
9082 #include "confdefs.h" | 9116 #include "confdefs.h" |
9083 #include <$athena_variant/ThreeD.h> | 9117 #include <$athena_variant/ThreeD.h> |
9084 EOF | 9118 EOF |
9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9120 { (eval echo configure:9121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9088 if test -z "$ac_err"; then | 9122 if test -z "$ac_err"; then |
9089 rm -rf conftest* | 9123 rm -rf conftest* |
9090 eval "ac_cv_header_$ac_safe=yes" | 9124 eval "ac_cv_header_$ac_safe=yes" |
9091 else | 9125 else |
9110 fi | 9144 fi |
9111 | 9145 |
9112 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9146 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9113 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9147 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9148 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for X11/Xaw3d/XawInit.h" >&5 | 9149 echo "configure:9150: checking for X11/Xaw3d/XawInit.h" >&5 |
9116 | 9150 |
9117 cat > conftest.$ac_ext <<EOF | 9151 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9152 #line 9153 "configure" |
9119 #include "confdefs.h" | 9153 #include "confdefs.h" |
9120 #include <X11/Xaw3d/XawInit.h> | 9154 #include <X11/Xaw3d/XawInit.h> |
9121 EOF | 9155 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9157 { (eval echo configure:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9125 if test -z "$ac_err"; then | 9159 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9160 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9161 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9162 else |
9135 rm -f conftest* | 9169 rm -f conftest* |
9136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9137 echo "$ac_t""yes" 1>&6 | 9171 echo "$ac_t""yes" 1>&6 |
9138 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9172 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9139 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9173 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9140 echo "configure:9141: checking for X11/Xaw3d/ThreeD.h" >&5 | 9174 echo "configure:9175: checking for X11/Xaw3d/ThreeD.h" >&5 |
9141 | 9175 |
9142 cat > conftest.$ac_ext <<EOF | 9176 cat > conftest.$ac_ext <<EOF |
9143 #line 9144 "configure" | 9177 #line 9178 "configure" |
9144 #include "confdefs.h" | 9178 #include "confdefs.h" |
9145 #include <X11/Xaw3d/ThreeD.h> | 9179 #include <X11/Xaw3d/ThreeD.h> |
9146 EOF | 9180 EOF |
9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9182 { (eval echo configure:9183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9150 if test -z "$ac_err"; then | 9184 if test -z "$ac_err"; then |
9151 rm -rf conftest* | 9185 rm -rf conftest* |
9152 eval "ac_cv_header_$ac_safe=yes" | 9186 eval "ac_cv_header_$ac_safe=yes" |
9153 else | 9187 else |
9175 fi | 9209 fi |
9176 | 9210 |
9177 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9211 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9178 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9212 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9179 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9213 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9180 echo "configure:9181: checking for Xaw3d/XawInit.h" >&5 | 9214 echo "configure:9215: checking for Xaw3d/XawInit.h" >&5 |
9181 | 9215 |
9182 cat > conftest.$ac_ext <<EOF | 9216 cat > conftest.$ac_ext <<EOF |
9183 #line 9184 "configure" | 9217 #line 9218 "configure" |
9184 #include "confdefs.h" | 9218 #include "confdefs.h" |
9185 #include <Xaw3d/XawInit.h> | 9219 #include <Xaw3d/XawInit.h> |
9186 EOF | 9220 EOF |
9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9190 if test -z "$ac_err"; then | 9224 if test -z "$ac_err"; then |
9191 rm -rf conftest* | 9225 rm -rf conftest* |
9192 eval "ac_cv_header_$ac_safe=yes" | 9226 eval "ac_cv_header_$ac_safe=yes" |
9193 else | 9227 else |
9200 rm -f conftest* | 9234 rm -f conftest* |
9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9202 echo "$ac_t""yes" 1>&6 | 9236 echo "$ac_t""yes" 1>&6 |
9203 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9237 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9204 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9238 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9205 echo "configure:9206: checking for Xaw3d/ThreeD.h" >&5 | 9239 echo "configure:9240: checking for Xaw3d/ThreeD.h" >&5 |
9206 | 9240 |
9207 cat > conftest.$ac_ext <<EOF | 9241 cat > conftest.$ac_ext <<EOF |
9208 #line 9209 "configure" | 9242 #line 9243 "configure" |
9209 #include "confdefs.h" | 9243 #include "confdefs.h" |
9210 #include <Xaw3d/ThreeD.h> | 9244 #include <Xaw3d/ThreeD.h> |
9211 EOF | 9245 EOF |
9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9247 { (eval echo configure:9248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9215 if test -z "$ac_err"; then | 9249 if test -z "$ac_err"; then |
9216 rm -rf conftest* | 9250 rm -rf conftest* |
9217 eval "ac_cv_header_$ac_safe=yes" | 9251 eval "ac_cv_header_$ac_safe=yes" |
9218 else | 9252 else |
9240 fi | 9274 fi |
9241 | 9275 |
9242 if test -z "$athena_h_path"; then | 9276 if test -z "$athena_h_path"; then |
9243 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9277 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9244 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9278 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9245 echo "configure:9246: checking for X11/Xaw/ThreeD.h" >&5 | 9279 echo "configure:9280: checking for X11/Xaw/ThreeD.h" >&5 |
9246 | 9280 |
9247 cat > conftest.$ac_ext <<EOF | 9281 cat > conftest.$ac_ext <<EOF |
9248 #line 9249 "configure" | 9282 #line 9283 "configure" |
9249 #include "confdefs.h" | 9283 #include "confdefs.h" |
9250 #include <X11/Xaw/ThreeD.h> | 9284 #include <X11/Xaw/ThreeD.h> |
9251 EOF | 9285 EOF |
9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9255 if test -z "$ac_err"; then | 9289 if test -z "$ac_err"; then |
9256 rm -rf conftest* | 9290 rm -rf conftest* |
9257 eval "ac_cv_header_$ac_safe=yes" | 9291 eval "ac_cv_header_$ac_safe=yes" |
9258 else | 9292 else |
9283 have_xaw=no | 9317 have_xaw=no |
9284 fi | 9318 fi |
9285 | 9319 |
9286 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9320 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9287 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9321 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9288 echo "configure:9289: checking for Xm/Xm.h" >&5 | 9322 echo "configure:9323: checking for Xm/Xm.h" >&5 |
9289 | 9323 |
9290 cat > conftest.$ac_ext <<EOF | 9324 cat > conftest.$ac_ext <<EOF |
9291 #line 9292 "configure" | 9325 #line 9326 "configure" |
9292 #include "confdefs.h" | 9326 #include "confdefs.h" |
9293 #include <Xm/Xm.h> | 9327 #include <Xm/Xm.h> |
9294 EOF | 9328 EOF |
9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9298 if test -z "$ac_err"; then | 9332 if test -z "$ac_err"; then |
9299 rm -rf conftest* | 9333 rm -rf conftest* |
9300 eval "ac_cv_header_$ac_safe=yes" | 9334 eval "ac_cv_header_$ac_safe=yes" |
9301 else | 9335 else |
9308 rm -f conftest* | 9342 rm -f conftest* |
9309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9310 echo "$ac_t""yes" 1>&6 | 9344 echo "$ac_t""yes" 1>&6 |
9311 | 9345 |
9312 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9346 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9313 echo "configure:9314: checking for XmStringFree in -lXm" >&5 | 9347 echo "configure:9348: checking for XmStringFree in -lXm" >&5 |
9314 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9348 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9315 | 9349 |
9316 xe_check_libs=" -lXm " | 9350 xe_check_libs=" -lXm " |
9317 cat > conftest.$ac_ext <<EOF | 9351 cat > conftest.$ac_ext <<EOF |
9318 #line 9319 "configure" | 9352 #line 9353 "configure" |
9319 #include "confdefs.h" | 9353 #include "confdefs.h" |
9320 /* Override any gcc2 internal prototype to avoid an error. */ | 9354 /* Override any gcc2 internal prototype to avoid an error. */ |
9321 /* We use char because int might match the return type of a gcc2 | 9355 /* We use char because int might match the return type of a gcc2 |
9322 builtin and then its argument prototype would still apply. */ | 9356 builtin and then its argument prototype would still apply. */ |
9323 char XmStringFree(); | 9357 char XmStringFree(); |
9324 | 9358 |
9325 int main() { | 9359 int main() { |
9326 XmStringFree() | 9360 XmStringFree() |
9327 ; return 0; } | 9361 ; return 0; } |
9328 EOF | 9362 EOF |
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9330 rm -rf conftest* | 9364 rm -rf conftest* |
9331 eval "ac_cv_lib_$ac_lib_var=yes" | 9365 eval "ac_cv_lib_$ac_lib_var=yes" |
9332 else | 9366 else |
9333 echo "configure: failed program was:" >&5 | 9367 echo "configure: failed program was:" >&5 |
9334 cat conftest.$ac_ext >&5 | 9368 cat conftest.$ac_ext >&5 |
9353 fi | 9387 fi |
9354 | 9388 |
9355 | 9389 |
9356 if test "$have_motif" = "yes"; then | 9390 if test "$have_motif" = "yes"; then |
9357 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9391 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9358 echo "configure:9359: checking for Lesstif" >&5 | 9392 echo "configure:9393: checking for Lesstif" >&5 |
9359 cat > conftest.$ac_ext <<EOF | 9393 cat > conftest.$ac_ext <<EOF |
9360 #line 9361 "configure" | 9394 #line 9395 "configure" |
9361 #include "confdefs.h" | 9395 #include "confdefs.h" |
9362 #include <Xm/Xm.h> | 9396 #include <Xm/Xm.h> |
9363 #ifdef LESSTIF_VERSION | 9397 #ifdef LESSTIF_VERSION |
9364 yes | 9398 yes |
9365 #endif | 9399 #endif |
9779 fi | 9813 fi |
9780 fi | 9814 fi |
9781 | 9815 |
9782 if test "$with_mule" = "yes" ; then | 9816 if test "$with_mule" = "yes" ; then |
9783 echo "checking for Mule-related features" 1>&6 | 9817 echo "checking for Mule-related features" 1>&6 |
9784 echo "configure:9785: checking for Mule-related features" >&5 | 9818 echo "configure:9819: checking for Mule-related features" >&5 |
9785 { test "$extra_verbose" = "yes" && cat << \EOF | 9819 { test "$extra_verbose" = "yes" && cat << \EOF |
9786 Defining MULE | 9820 Defining MULE |
9787 EOF | 9821 EOF |
9788 cat >> confdefs.h <<\EOF | 9822 cat >> confdefs.h <<\EOF |
9789 #define MULE 1 | 9823 #define MULE 1 |
9804 | 9838 |
9805 for ac_hdr in libintl.h | 9839 for ac_hdr in libintl.h |
9806 do | 9840 do |
9807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9809 echo "configure:9810: checking for $ac_hdr" >&5 | 9843 echo "configure:9844: checking for $ac_hdr" >&5 |
9810 | 9844 |
9811 cat > conftest.$ac_ext <<EOF | 9845 cat > conftest.$ac_ext <<EOF |
9812 #line 9813 "configure" | 9846 #line 9847 "configure" |
9813 #include "confdefs.h" | 9847 #include "confdefs.h" |
9814 #include <$ac_hdr> | 9848 #include <$ac_hdr> |
9815 EOF | 9849 EOF |
9816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9817 { (eval echo configure:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9851 { (eval echo configure:9852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9819 if test -z "$ac_err"; then | 9853 if test -z "$ac_err"; then |
9820 rm -rf conftest* | 9854 rm -rf conftest* |
9821 eval "ac_cv_header_$ac_safe=yes" | 9855 eval "ac_cv_header_$ac_safe=yes" |
9822 else | 9856 else |
9843 fi | 9877 fi |
9844 done | 9878 done |
9845 | 9879 |
9846 | 9880 |
9847 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9881 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9848 echo "configure:9849: checking for strerror in -lintl" >&5 | 9882 echo "configure:9883: checking for strerror in -lintl" >&5 |
9849 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9883 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9850 | 9884 |
9851 xe_check_libs=" -lintl " | 9885 xe_check_libs=" -lintl " |
9852 cat > conftest.$ac_ext <<EOF | 9886 cat > conftest.$ac_ext <<EOF |
9853 #line 9854 "configure" | 9887 #line 9888 "configure" |
9854 #include "confdefs.h" | 9888 #include "confdefs.h" |
9855 /* Override any gcc2 internal prototype to avoid an error. */ | 9889 /* Override any gcc2 internal prototype to avoid an error. */ |
9856 /* We use char because int might match the return type of a gcc2 | 9890 /* We use char because int might match the return type of a gcc2 |
9857 builtin and then its argument prototype would still apply. */ | 9891 builtin and then its argument prototype would still apply. */ |
9858 char strerror(); | 9892 char strerror(); |
9859 | 9893 |
9860 int main() { | 9894 int main() { |
9861 strerror() | 9895 strerror() |
9862 ; return 0; } | 9896 ; return 0; } |
9863 EOF | 9897 EOF |
9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9865 rm -rf conftest* | 9899 rm -rf conftest* |
9866 eval "ac_cv_lib_$ac_lib_var=yes" | 9900 eval "ac_cv_lib_$ac_lib_var=yes" |
9867 else | 9901 else |
9868 echo "configure: failed program was:" >&5 | 9902 echo "configure: failed program was:" >&5 |
9869 cat conftest.$ac_ext >&5 | 9903 cat conftest.$ac_ext >&5 |
9892 fi | 9926 fi |
9893 | 9927 |
9894 | 9928 |
9895 | 9929 |
9896 echo "checking for Mule input methods" 1>&6 | 9930 echo "checking for Mule input methods" 1>&6 |
9897 echo "configure:9898: checking for Mule input methods" >&5 | 9931 echo "configure:9932: checking for Mule input methods" >&5 |
9898 case "$with_xim" in "" | "yes" ) | 9932 case "$with_xim" in "" | "yes" ) |
9899 echo "checking for XIM" 1>&6 | 9933 echo "checking for XIM" 1>&6 |
9900 echo "configure:9901: checking for XIM" >&5 | 9934 echo "configure:9935: checking for XIM" >&5 |
9901 | 9935 |
9902 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9936 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9903 echo "configure:9904: checking for XOpenIM in -lX11" >&5 | 9937 echo "configure:9938: checking for XOpenIM in -lX11" >&5 |
9904 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9938 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9905 | 9939 |
9906 xe_check_libs=" -lX11 " | 9940 xe_check_libs=" -lX11 " |
9907 cat > conftest.$ac_ext <<EOF | 9941 cat > conftest.$ac_ext <<EOF |
9908 #line 9909 "configure" | 9942 #line 9943 "configure" |
9909 #include "confdefs.h" | 9943 #include "confdefs.h" |
9910 /* Override any gcc2 internal prototype to avoid an error. */ | 9944 /* Override any gcc2 internal prototype to avoid an error. */ |
9911 /* We use char because int might match the return type of a gcc2 | 9945 /* We use char because int might match the return type of a gcc2 |
9912 builtin and then its argument prototype would still apply. */ | 9946 builtin and then its argument prototype would still apply. */ |
9913 char XOpenIM(); | 9947 char XOpenIM(); |
9914 | 9948 |
9915 int main() { | 9949 int main() { |
9916 XOpenIM() | 9950 XOpenIM() |
9917 ; return 0; } | 9951 ; return 0; } |
9918 EOF | 9952 EOF |
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9953 if { (eval echo configure:9954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9920 rm -rf conftest* | 9954 rm -rf conftest* |
9921 eval "ac_cv_lib_$ac_lib_var=yes" | 9955 eval "ac_cv_lib_$ac_lib_var=yes" |
9922 else | 9956 else |
9923 echo "configure: failed program was:" >&5 | 9957 echo "configure: failed program was:" >&5 |
9924 cat conftest.$ac_ext >&5 | 9958 cat conftest.$ac_ext >&5 |
9938 | 9972 |
9939 | 9973 |
9940 if test "$have_motif $have_lesstif" = "yes no"; then | 9974 if test "$have_motif $have_lesstif" = "yes no"; then |
9941 | 9975 |
9942 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9976 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9943 echo "configure:9944: checking for XmImMbLookupString in -lXm" >&5 | 9977 echo "configure:9978: checking for XmImMbLookupString in -lXm" >&5 |
9944 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9978 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9945 | 9979 |
9946 xe_check_libs=" -lXm " | 9980 xe_check_libs=" -lXm " |
9947 cat > conftest.$ac_ext <<EOF | 9981 cat > conftest.$ac_ext <<EOF |
9948 #line 9949 "configure" | 9982 #line 9983 "configure" |
9949 #include "confdefs.h" | 9983 #include "confdefs.h" |
9950 /* Override any gcc2 internal prototype to avoid an error. */ | 9984 /* Override any gcc2 internal prototype to avoid an error. */ |
9951 /* We use char because int might match the return type of a gcc2 | 9985 /* We use char because int might match the return type of a gcc2 |
9952 builtin and then its argument prototype would still apply. */ | 9986 builtin and then its argument prototype would still apply. */ |
9953 char XmImMbLookupString(); | 9987 char XmImMbLookupString(); |
9954 | 9988 |
9955 int main() { | 9989 int main() { |
9956 XmImMbLookupString() | 9990 XmImMbLookupString() |
9957 ; return 0; } | 9991 ; return 0; } |
9958 EOF | 9992 EOF |
9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9993 if { (eval echo configure:9994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9960 rm -rf conftest* | 9994 rm -rf conftest* |
9961 eval "ac_cv_lib_$ac_lib_var=yes" | 9995 eval "ac_cv_lib_$ac_lib_var=yes" |
9962 else | 9996 else |
9963 echo "configure: failed program was:" >&5 | 9997 echo "configure: failed program was:" >&5 |
9964 cat conftest.$ac_ext >&5 | 9998 cat conftest.$ac_ext >&5 |
10019 fi | 10053 fi |
10020 fi | 10054 fi |
10021 | 10055 |
10022 if test "$with_xfs" = "yes" ; then | 10056 if test "$with_xfs" = "yes" ; then |
10023 echo "checking for XFontSet" 1>&6 | 10057 echo "checking for XFontSet" 1>&6 |
10024 echo "configure:10025: checking for XFontSet" >&5 | 10058 echo "configure:10059: checking for XFontSet" >&5 |
10025 | 10059 |
10026 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10060 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10027 echo "configure:10028: checking for XmbDrawString in -lX11" >&5 | 10061 echo "configure:10062: checking for XmbDrawString in -lX11" >&5 |
10028 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10062 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10029 | 10063 |
10030 xe_check_libs=" -lX11 " | 10064 xe_check_libs=" -lX11 " |
10031 cat > conftest.$ac_ext <<EOF | 10065 cat > conftest.$ac_ext <<EOF |
10032 #line 10033 "configure" | 10066 #line 10067 "configure" |
10033 #include "confdefs.h" | 10067 #include "confdefs.h" |
10034 /* Override any gcc2 internal prototype to avoid an error. */ | 10068 /* Override any gcc2 internal prototype to avoid an error. */ |
10035 /* We use char because int might match the return type of a gcc2 | 10069 /* We use char because int might match the return type of a gcc2 |
10036 builtin and then its argument prototype would still apply. */ | 10070 builtin and then its argument prototype would still apply. */ |
10037 char XmbDrawString(); | 10071 char XmbDrawString(); |
10038 | 10072 |
10039 int main() { | 10073 int main() { |
10040 XmbDrawString() | 10074 XmbDrawString() |
10041 ; return 0; } | 10075 ; return 0; } |
10042 EOF | 10076 EOF |
10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10077 if { (eval echo configure:10078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10044 rm -rf conftest* | 10078 rm -rf conftest* |
10045 eval "ac_cv_lib_$ac_lib_var=yes" | 10079 eval "ac_cv_lib_$ac_lib_var=yes" |
10046 else | 10080 else |
10047 echo "configure: failed program was:" >&5 | 10081 echo "configure: failed program was:" >&5 |
10048 cat conftest.$ac_ext >&5 | 10082 cat conftest.$ac_ext >&5 |
10078 fi | 10112 fi |
10079 fi | 10113 fi |
10080 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10114 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10081 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10115 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10082 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10083 echo "configure:10084: checking for wnn/jllib.h" >&5 | 10117 echo "configure:10118: checking for wnn/jllib.h" >&5 |
10084 | 10118 |
10085 cat > conftest.$ac_ext <<EOF | 10119 cat > conftest.$ac_ext <<EOF |
10086 #line 10087 "configure" | 10120 #line 10121 "configure" |
10087 #include "confdefs.h" | 10121 #include "confdefs.h" |
10088 #include <wnn/jllib.h> | 10122 #include <wnn/jllib.h> |
10089 EOF | 10123 EOF |
10090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10093 if test -z "$ac_err"; then | 10127 if test -z "$ac_err"; then |
10094 rm -rf conftest* | 10128 rm -rf conftest* |
10095 eval "ac_cv_header_$ac_safe=yes" | 10129 eval "ac_cv_header_$ac_safe=yes" |
10096 else | 10130 else |
10109 with_wnn=no | 10143 with_wnn=no |
10110 fi | 10144 fi |
10111 } | 10145 } |
10112 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10146 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10113 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10147 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10114 echo "configure:10115: checking for wnn/commonhd.h" >&5 | 10148 echo "configure:10149: checking for wnn/commonhd.h" >&5 |
10115 | 10149 |
10116 cat > conftest.$ac_ext <<EOF | 10150 cat > conftest.$ac_ext <<EOF |
10117 #line 10118 "configure" | 10151 #line 10152 "configure" |
10118 #include "confdefs.h" | 10152 #include "confdefs.h" |
10119 #include <wnn/commonhd.h> | 10153 #include <wnn/commonhd.h> |
10120 EOF | 10154 EOF |
10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10156 { (eval echo configure:10157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10124 if test -z "$ac_err"; then | 10158 if test -z "$ac_err"; then |
10125 rm -rf conftest* | 10159 rm -rf conftest* |
10126 eval "ac_cv_header_$ac_safe=yes" | 10160 eval "ac_cv_header_$ac_safe=yes" |
10127 else | 10161 else |
10142 } | 10176 } |
10143 if test "$with_wnn" != "no"; then | 10177 if test "$with_wnn" != "no"; then |
10144 for ac_func in crypt | 10178 for ac_func in crypt |
10145 do | 10179 do |
10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10147 echo "configure:10148: checking for $ac_func" >&5 | 10181 echo "configure:10182: checking for $ac_func" >&5 |
10148 | 10182 |
10149 cat > conftest.$ac_ext <<EOF | 10183 cat > conftest.$ac_ext <<EOF |
10150 #line 10151 "configure" | 10184 #line 10185 "configure" |
10151 #include "confdefs.h" | 10185 #include "confdefs.h" |
10152 /* System header to define __stub macros and hopefully few prototypes, | 10186 /* System header to define __stub macros and hopefully few prototypes, |
10153 which can conflict with char $ac_func(); below. */ | 10187 which can conflict with char $ac_func(); below. */ |
10154 #include <assert.h> | 10188 #include <assert.h> |
10155 /* Override any gcc2 internal prototype to avoid an error. */ | 10189 /* Override any gcc2 internal prototype to avoid an error. */ |
10168 $ac_func(); | 10202 $ac_func(); |
10169 #endif | 10203 #endif |
10170 | 10204 |
10171 ; return 0; } | 10205 ; return 0; } |
10172 EOF | 10206 EOF |
10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10207 if { (eval echo configure:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10174 rm -rf conftest* | 10208 rm -rf conftest* |
10175 eval "ac_cv_func_$ac_func=yes" | 10209 eval "ac_cv_func_$ac_func=yes" |
10176 else | 10210 else |
10177 echo "configure: failed program was:" >&5 | 10211 echo "configure: failed program was:" >&5 |
10178 cat conftest.$ac_ext >&5 | 10212 cat conftest.$ac_ext >&5 |
10197 fi | 10231 fi |
10198 done | 10232 done |
10199 | 10233 |
10200 test "$ac_cv_func_crypt" != "yes" && { | 10234 test "$ac_cv_func_crypt" != "yes" && { |
10201 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10235 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10202 echo "configure:10203: checking for crypt in -lcrypt" >&5 | 10236 echo "configure:10237: checking for crypt in -lcrypt" >&5 |
10203 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10237 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10204 | 10238 |
10205 xe_check_libs=" -lcrypt " | 10239 xe_check_libs=" -lcrypt " |
10206 cat > conftest.$ac_ext <<EOF | 10240 cat > conftest.$ac_ext <<EOF |
10207 #line 10208 "configure" | 10241 #line 10242 "configure" |
10208 #include "confdefs.h" | 10242 #include "confdefs.h" |
10209 /* Override any gcc2 internal prototype to avoid an error. */ | 10243 /* Override any gcc2 internal prototype to avoid an error. */ |
10210 /* We use char because int might match the return type of a gcc2 | 10244 /* We use char because int might match the return type of a gcc2 |
10211 builtin and then its argument prototype would still apply. */ | 10245 builtin and then its argument prototype would still apply. */ |
10212 char crypt(); | 10246 char crypt(); |
10213 | 10247 |
10214 int main() { | 10248 int main() { |
10215 crypt() | 10249 crypt() |
10216 ; return 0; } | 10250 ; return 0; } |
10217 EOF | 10251 EOF |
10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10219 rm -rf conftest* | 10253 rm -rf conftest* |
10220 eval "ac_cv_lib_$ac_lib_var=yes" | 10254 eval "ac_cv_lib_$ac_lib_var=yes" |
10221 else | 10255 else |
10222 echo "configure: failed program was:" >&5 | 10256 echo "configure: failed program was:" >&5 |
10223 cat conftest.$ac_ext >&5 | 10257 cat conftest.$ac_ext >&5 |
10248 } | 10282 } |
10249 fi | 10283 fi |
10250 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10284 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10251 | 10285 |
10252 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10286 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10253 echo "configure:10254: checking for jl_dic_list_e in -lwnn" >&5 | 10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn" >&5 |
10254 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10288 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10255 | 10289 |
10256 xe_check_libs=" -lwnn " | 10290 xe_check_libs=" -lwnn " |
10257 cat > conftest.$ac_ext <<EOF | 10291 cat > conftest.$ac_ext <<EOF |
10258 #line 10259 "configure" | 10292 #line 10293 "configure" |
10259 #include "confdefs.h" | 10293 #include "confdefs.h" |
10260 /* Override any gcc2 internal prototype to avoid an error. */ | 10294 /* Override any gcc2 internal prototype to avoid an error. */ |
10261 /* We use char because int might match the return type of a gcc2 | 10295 /* We use char because int might match the return type of a gcc2 |
10262 builtin and then its argument prototype would still apply. */ | 10296 builtin and then its argument prototype would still apply. */ |
10263 char jl_dic_list_e(); | 10297 char jl_dic_list_e(); |
10264 | 10298 |
10265 int main() { | 10299 int main() { |
10266 jl_dic_list_e() | 10300 jl_dic_list_e() |
10267 ; return 0; } | 10301 ; return 0; } |
10268 EOF | 10302 EOF |
10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10303 if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10270 rm -rf conftest* | 10304 rm -rf conftest* |
10271 eval "ac_cv_lib_$ac_lib_var=yes" | 10305 eval "ac_cv_lib_$ac_lib_var=yes" |
10272 else | 10306 else |
10273 echo "configure: failed program was:" >&5 | 10307 echo "configure: failed program was:" >&5 |
10274 cat conftest.$ac_ext >&5 | 10308 cat conftest.$ac_ext >&5 |
10282 echo "$ac_t""yes" 1>&6 | 10316 echo "$ac_t""yes" 1>&6 |
10283 libwnn=wnn | 10317 libwnn=wnn |
10284 else | 10318 else |
10285 echo "$ac_t""no" 1>&6 | 10319 echo "$ac_t""no" 1>&6 |
10286 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10320 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn4" >&5 | 10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn4" >&5 |
10288 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10322 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10289 | 10323 |
10290 xe_check_libs=" -lwnn4 " | 10324 xe_check_libs=" -lwnn4 " |
10291 cat > conftest.$ac_ext <<EOF | 10325 cat > conftest.$ac_ext <<EOF |
10292 #line 10293 "configure" | 10326 #line 10327 "configure" |
10293 #include "confdefs.h" | 10327 #include "confdefs.h" |
10294 /* Override any gcc2 internal prototype to avoid an error. */ | 10328 /* Override any gcc2 internal prototype to avoid an error. */ |
10295 /* We use char because int might match the return type of a gcc2 | 10329 /* We use char because int might match the return type of a gcc2 |
10296 builtin and then its argument prototype would still apply. */ | 10330 builtin and then its argument prototype would still apply. */ |
10297 char jl_dic_list_e(); | 10331 char jl_dic_list_e(); |
10298 | 10332 |
10299 int main() { | 10333 int main() { |
10300 jl_dic_list_e() | 10334 jl_dic_list_e() |
10301 ; return 0; } | 10335 ; return 0; } |
10302 EOF | 10336 EOF |
10303 if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10337 if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10304 rm -rf conftest* | 10338 rm -rf conftest* |
10305 eval "ac_cv_lib_$ac_lib_var=yes" | 10339 eval "ac_cv_lib_$ac_lib_var=yes" |
10306 else | 10340 else |
10307 echo "configure: failed program was:" >&5 | 10341 echo "configure: failed program was:" >&5 |
10308 cat conftest.$ac_ext >&5 | 10342 cat conftest.$ac_ext >&5 |
10316 echo "$ac_t""yes" 1>&6 | 10350 echo "$ac_t""yes" 1>&6 |
10317 libwnn=wnn4 | 10351 libwnn=wnn4 |
10318 else | 10352 else |
10319 echo "$ac_t""no" 1>&6 | 10353 echo "$ac_t""no" 1>&6 |
10320 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10354 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn6" >&5 | 10355 echo "configure:10356: checking for jl_dic_list_e in -lwnn6" >&5 |
10322 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10356 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10323 | 10357 |
10324 xe_check_libs=" -lwnn6 " | 10358 xe_check_libs=" -lwnn6 " |
10325 cat > conftest.$ac_ext <<EOF | 10359 cat > conftest.$ac_ext <<EOF |
10326 #line 10327 "configure" | 10360 #line 10361 "configure" |
10327 #include "confdefs.h" | 10361 #include "confdefs.h" |
10328 /* Override any gcc2 internal prototype to avoid an error. */ | 10362 /* Override any gcc2 internal prototype to avoid an error. */ |
10329 /* We use char because int might match the return type of a gcc2 | 10363 /* We use char because int might match the return type of a gcc2 |
10330 builtin and then its argument prototype would still apply. */ | 10364 builtin and then its argument prototype would still apply. */ |
10331 char jl_dic_list_e(); | 10365 char jl_dic_list_e(); |
10332 | 10366 |
10333 int main() { | 10367 int main() { |
10334 jl_dic_list_e() | 10368 jl_dic_list_e() |
10335 ; return 0; } | 10369 ; return 0; } |
10336 EOF | 10370 EOF |
10337 if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10338 rm -rf conftest* | 10372 rm -rf conftest* |
10339 eval "ac_cv_lib_$ac_lib_var=yes" | 10373 eval "ac_cv_lib_$ac_lib_var=yes" |
10340 else | 10374 else |
10341 echo "configure: failed program was:" >&5 | 10375 echo "configure: failed program was:" >&5 |
10342 cat conftest.$ac_ext >&5 | 10376 cat conftest.$ac_ext >&5 |
10350 echo "$ac_t""yes" 1>&6 | 10384 echo "$ac_t""yes" 1>&6 |
10351 libwnn=wnn6 | 10385 libwnn=wnn6 |
10352 else | 10386 else |
10353 echo "$ac_t""no" 1>&6 | 10387 echo "$ac_t""no" 1>&6 |
10354 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10388 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10355 echo "configure:10356: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10389 echo "configure:10390: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10356 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10390 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10357 | 10391 |
10358 xe_check_libs=" -lwnn6_fromsrc " | 10392 xe_check_libs=" -lwnn6_fromsrc " |
10359 cat > conftest.$ac_ext <<EOF | 10393 cat > conftest.$ac_ext <<EOF |
10360 #line 10361 "configure" | 10394 #line 10395 "configure" |
10361 #include "confdefs.h" | 10395 #include "confdefs.h" |
10362 /* Override any gcc2 internal prototype to avoid an error. */ | 10396 /* Override any gcc2 internal prototype to avoid an error. */ |
10363 /* We use char because int might match the return type of a gcc2 | 10397 /* We use char because int might match the return type of a gcc2 |
10364 builtin and then its argument prototype would still apply. */ | 10398 builtin and then its argument prototype would still apply. */ |
10365 char dic_list_e(); | 10399 char dic_list_e(); |
10366 | 10400 |
10367 int main() { | 10401 int main() { |
10368 dic_list_e() | 10402 dic_list_e() |
10369 ; return 0; } | 10403 ; return 0; } |
10370 EOF | 10404 EOF |
10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10405 if { (eval echo configure:10406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10372 rm -rf conftest* | 10406 rm -rf conftest* |
10373 eval "ac_cv_lib_$ac_lib_var=yes" | 10407 eval "ac_cv_lib_$ac_lib_var=yes" |
10374 else | 10408 else |
10375 echo "configure: failed program was:" >&5 | 10409 echo "configure: failed program was:" >&5 |
10376 cat conftest.$ac_ext >&5 | 10410 cat conftest.$ac_ext >&5 |
10414 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10448 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10415 fi | 10449 fi |
10416 if test "$with_wnn6" != "no"; then | 10450 if test "$with_wnn6" != "no"; then |
10417 | 10451 |
10418 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10452 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10419 echo "configure:10420: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10453 echo "configure:10454: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10420 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10454 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10421 | 10455 |
10422 xe_check_libs=" -l$libwnn " | 10456 xe_check_libs=" -l$libwnn " |
10423 cat > conftest.$ac_ext <<EOF | 10457 cat > conftest.$ac_ext <<EOF |
10424 #line 10425 "configure" | 10458 #line 10459 "configure" |
10425 #include "confdefs.h" | 10459 #include "confdefs.h" |
10426 /* Override any gcc2 internal prototype to avoid an error. */ | 10460 /* Override any gcc2 internal prototype to avoid an error. */ |
10427 /* We use char because int might match the return type of a gcc2 | 10461 /* We use char because int might match the return type of a gcc2 |
10428 builtin and then its argument prototype would still apply. */ | 10462 builtin and then its argument prototype would still apply. */ |
10429 char jl_fi_dic_list(); | 10463 char jl_fi_dic_list(); |
10430 | 10464 |
10431 int main() { | 10465 int main() { |
10432 jl_fi_dic_list() | 10466 jl_fi_dic_list() |
10433 ; return 0; } | 10467 ; return 0; } |
10434 EOF | 10468 EOF |
10435 if { (eval echo configure:10436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10469 if { (eval echo configure:10470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10436 rm -rf conftest* | 10470 rm -rf conftest* |
10437 eval "ac_cv_lib_$ac_lib_var=yes" | 10471 eval "ac_cv_lib_$ac_lib_var=yes" |
10438 else | 10472 else |
10439 echo "configure: failed program was:" >&5 | 10473 echo "configure: failed program was:" >&5 |
10440 cat conftest.$ac_ext >&5 | 10474 cat conftest.$ac_ext >&5 |
10465 | 10499 |
10466 canna_includes_found=no | 10500 canna_includes_found=no |
10467 if test "$with_canna" != "no"; then | 10501 if test "$with_canna" != "no"; then |
10468 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10502 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10469 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10503 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10470 echo "configure:10471: checking for canna/jrkanji.h" >&5 | 10504 echo "configure:10505: checking for canna/jrkanji.h" >&5 |
10471 | 10505 |
10472 cat > conftest.$ac_ext <<EOF | 10506 cat > conftest.$ac_ext <<EOF |
10473 #line 10474 "configure" | 10507 #line 10508 "configure" |
10474 #include "confdefs.h" | 10508 #include "confdefs.h" |
10475 #include <canna/jrkanji.h> | 10509 #include <canna/jrkanji.h> |
10476 EOF | 10510 EOF |
10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10512 { (eval echo configure:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10480 if test -z "$ac_err"; then | 10514 if test -z "$ac_err"; then |
10481 rm -rf conftest* | 10515 rm -rf conftest* |
10482 eval "ac_cv_header_$ac_safe=yes" | 10516 eval "ac_cv_header_$ac_safe=yes" |
10483 else | 10517 else |
10500 -d "/usr/local/canna/include"; then | 10534 -d "/usr/local/canna/include"; then |
10501 save_c_switch_site="$c_switch_site" | 10535 save_c_switch_site="$c_switch_site" |
10502 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10536 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10503 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10537 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10504 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10538 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10505 echo "configure:10506: checking for canna/jrkanji.h" >&5 | 10539 echo "configure:10540: checking for canna/jrkanji.h" >&5 |
10506 | 10540 |
10507 cat > conftest.$ac_ext <<EOF | 10541 cat > conftest.$ac_ext <<EOF |
10508 #line 10509 "configure" | 10542 #line 10543 "configure" |
10509 #include "confdefs.h" | 10543 #include "confdefs.h" |
10510 #include <canna/jrkanji.h> | 10544 #include <canna/jrkanji.h> |
10511 EOF | 10545 EOF |
10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10515 if test -z "$ac_err"; then | 10549 if test -z "$ac_err"; then |
10516 rm -rf conftest* | 10550 rm -rf conftest* |
10517 eval "ac_cv_header_$ac_safe=yes" | 10551 eval "ac_cv_header_$ac_safe=yes" |
10518 else | 10552 else |
10536 fi | 10570 fi |
10537 fi | 10571 fi |
10538 | 10572 |
10539 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10573 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10540 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10574 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10541 echo "configure:10542: checking for canna/RK.h" >&5 | 10575 echo "configure:10576: checking for canna/RK.h" >&5 |
10542 | 10576 |
10543 cat > conftest.$ac_ext <<EOF | 10577 cat > conftest.$ac_ext <<EOF |
10544 #line 10545 "configure" | 10578 #line 10579 "configure" |
10545 #include "confdefs.h" | 10579 #include "confdefs.h" |
10546 #include <canna/RK.h> | 10580 #include <canna/RK.h> |
10547 EOF | 10581 EOF |
10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10583 { (eval echo configure:10584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10551 if test -z "$ac_err"; then | 10585 if test -z "$ac_err"; then |
10552 rm -rf conftest* | 10586 rm -rf conftest* |
10553 eval "ac_cv_header_$ac_safe=yes" | 10587 eval "ac_cv_header_$ac_safe=yes" |
10554 else | 10588 else |
10567 with_canna=no | 10601 with_canna=no |
10568 fi | 10602 fi |
10569 } | 10603 } |
10570 test -z "$with_canna" && { | 10604 test -z "$with_canna" && { |
10571 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10605 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10572 echo "configure:10573: checking for RkBgnBun in -lRKC" >&5 | 10606 echo "configure:10607: checking for RkBgnBun in -lRKC" >&5 |
10573 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10607 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10574 | 10608 |
10575 xe_check_libs=" -lRKC " | 10609 xe_check_libs=" -lRKC " |
10576 cat > conftest.$ac_ext <<EOF | 10610 cat > conftest.$ac_ext <<EOF |
10577 #line 10578 "configure" | 10611 #line 10612 "configure" |
10578 #include "confdefs.h" | 10612 #include "confdefs.h" |
10579 /* Override any gcc2 internal prototype to avoid an error. */ | 10613 /* Override any gcc2 internal prototype to avoid an error. */ |
10580 /* We use char because int might match the return type of a gcc2 | 10614 /* We use char because int might match the return type of a gcc2 |
10581 builtin and then its argument prototype would still apply. */ | 10615 builtin and then its argument prototype would still apply. */ |
10582 char RkBgnBun(); | 10616 char RkBgnBun(); |
10583 | 10617 |
10584 int main() { | 10618 int main() { |
10585 RkBgnBun() | 10619 RkBgnBun() |
10586 ; return 0; } | 10620 ; return 0; } |
10587 EOF | 10621 EOF |
10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10622 if { (eval echo configure:10623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10589 rm -rf conftest* | 10623 rm -rf conftest* |
10590 eval "ac_cv_lib_$ac_lib_var=yes" | 10624 eval "ac_cv_lib_$ac_lib_var=yes" |
10591 else | 10625 else |
10592 echo "configure: failed program was:" >&5 | 10626 echo "configure: failed program was:" >&5 |
10593 cat conftest.$ac_ext >&5 | 10627 cat conftest.$ac_ext >&5 |
10606 fi | 10640 fi |
10607 | 10641 |
10608 } | 10642 } |
10609 test -z "$with_canna" && { | 10643 test -z "$with_canna" && { |
10610 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10644 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10611 echo "configure:10612: checking for jrKanjiControl in -lcanna" >&5 | 10645 echo "configure:10646: checking for jrKanjiControl in -lcanna" >&5 |
10612 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10646 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10613 | 10647 |
10614 xe_check_libs=" -lcanna " | 10648 xe_check_libs=" -lcanna " |
10615 cat > conftest.$ac_ext <<EOF | 10649 cat > conftest.$ac_ext <<EOF |
10616 #line 10617 "configure" | 10650 #line 10651 "configure" |
10617 #include "confdefs.h" | 10651 #include "confdefs.h" |
10618 /* Override any gcc2 internal prototype to avoid an error. */ | 10652 /* Override any gcc2 internal prototype to avoid an error. */ |
10619 /* We use char because int might match the return type of a gcc2 | 10653 /* We use char because int might match the return type of a gcc2 |
10620 builtin and then its argument prototype would still apply. */ | 10654 builtin and then its argument prototype would still apply. */ |
10621 char jrKanjiControl(); | 10655 char jrKanjiControl(); |
10622 | 10656 |
10623 int main() { | 10657 int main() { |
10624 jrKanjiControl() | 10658 jrKanjiControl() |
10625 ; return 0; } | 10659 ; return 0; } |
10626 EOF | 10660 EOF |
10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10628 rm -rf conftest* | 10662 rm -rf conftest* |
10629 eval "ac_cv_lib_$ac_lib_var=yes" | 10663 eval "ac_cv_lib_$ac_lib_var=yes" |
10630 else | 10664 else |
10631 echo "configure: failed program was:" >&5 | 10665 echo "configure: failed program was:" >&5 |
10632 cat conftest.$ac_ext >&5 | 10666 cat conftest.$ac_ext >&5 |
10671 | 10705 |
10672 if test "$need_motif" = "yes" ; then | 10706 if test "$need_motif" = "yes" ; then |
10673 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10674 | 10708 |
10675 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10676 echo "configure:10677: checking for layout_object_getvalue in -li18n" >&5 | 10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5 |
10677 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10678 | 10712 |
10679 xe_check_libs=" -li18n " | 10713 xe_check_libs=" -li18n " |
10680 cat > conftest.$ac_ext <<EOF | 10714 cat > conftest.$ac_ext <<EOF |
10681 #line 10682 "configure" | 10715 #line 10716 "configure" |
10682 #include "confdefs.h" | 10716 #include "confdefs.h" |
10683 /* Override any gcc2 internal prototype to avoid an error. */ | 10717 /* Override any gcc2 internal prototype to avoid an error. */ |
10684 /* We use char because int might match the return type of a gcc2 | 10718 /* We use char because int might match the return type of a gcc2 |
10685 builtin and then its argument prototype would still apply. */ | 10719 builtin and then its argument prototype would still apply. */ |
10686 char layout_object_getvalue(); | 10720 char layout_object_getvalue(); |
10687 | 10721 |
10688 int main() { | 10722 int main() { |
10689 layout_object_getvalue() | 10723 layout_object_getvalue() |
10690 ; return 0; } | 10724 ; return 0; } |
10691 EOF | 10725 EOF |
10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10693 rm -rf conftest* | 10727 rm -rf conftest* |
10694 eval "ac_cv_lib_$ac_lib_var=yes" | 10728 eval "ac_cv_lib_$ac_lib_var=yes" |
10695 else | 10729 else |
10696 echo "configure: failed program was:" >&5 | 10730 echo "configure: failed program was:" >&5 |
10697 cat conftest.$ac_ext >&5 | 10731 cat conftest.$ac_ext >&5 |
10773 fi | 10807 fi |
10774 | 10808 |
10775 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10809 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10776 do | 10810 do |
10777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10778 echo "configure:10779: checking for $ac_func" >&5 | 10812 echo "configure:10813: checking for $ac_func" >&5 |
10779 | 10813 |
10780 cat > conftest.$ac_ext <<EOF | 10814 cat > conftest.$ac_ext <<EOF |
10781 #line 10782 "configure" | 10815 #line 10816 "configure" |
10782 #include "confdefs.h" | 10816 #include "confdefs.h" |
10783 /* System header to define __stub macros and hopefully few prototypes, | 10817 /* System header to define __stub macros and hopefully few prototypes, |
10784 which can conflict with char $ac_func(); below. */ | 10818 which can conflict with char $ac_func(); below. */ |
10785 #include <assert.h> | 10819 #include <assert.h> |
10786 /* Override any gcc2 internal prototype to avoid an error. */ | 10820 /* Override any gcc2 internal prototype to avoid an error. */ |
10799 $ac_func(); | 10833 $ac_func(); |
10800 #endif | 10834 #endif |
10801 | 10835 |
10802 ; return 0; } | 10836 ; return 0; } |
10803 EOF | 10837 EOF |
10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10805 rm -rf conftest* | 10839 rm -rf conftest* |
10806 eval "ac_cv_func_$ac_func=yes" | 10840 eval "ac_cv_func_$ac_func=yes" |
10807 else | 10841 else |
10808 echo "configure: failed program was:" >&5 | 10842 echo "configure: failed program was:" >&5 |
10809 cat conftest.$ac_ext >&5 | 10843 cat conftest.$ac_ext >&5 |
10831 | 10865 |
10832 | 10866 |
10833 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10834 do | 10868 do |
10835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10836 echo "configure:10837: checking for $ac_func" >&5 | 10870 echo "configure:10871: checking for $ac_func" >&5 |
10837 | 10871 |
10838 cat > conftest.$ac_ext <<EOF | 10872 cat > conftest.$ac_ext <<EOF |
10839 #line 10840 "configure" | 10873 #line 10874 "configure" |
10840 #include "confdefs.h" | 10874 #include "confdefs.h" |
10841 /* System header to define __stub macros and hopefully few prototypes, | 10875 /* System header to define __stub macros and hopefully few prototypes, |
10842 which can conflict with char $ac_func(); below. */ | 10876 which can conflict with char $ac_func(); below. */ |
10843 #include <assert.h> | 10877 #include <assert.h> |
10844 /* Override any gcc2 internal prototype to avoid an error. */ | 10878 /* Override any gcc2 internal prototype to avoid an error. */ |
10857 $ac_func(); | 10891 $ac_func(); |
10858 #endif | 10892 #endif |
10859 | 10893 |
10860 ; return 0; } | 10894 ; return 0; } |
10861 EOF | 10895 EOF |
10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10863 rm -rf conftest* | 10897 rm -rf conftest* |
10864 eval "ac_cv_func_$ac_func=yes" | 10898 eval "ac_cv_func_$ac_func=yes" |
10865 else | 10899 else |
10866 echo "configure: failed program was:" >&5 | 10900 echo "configure: failed program was:" >&5 |
10867 cat conftest.$ac_ext >&5 | 10901 cat conftest.$ac_ext >&5 |
10886 fi | 10920 fi |
10887 done | 10921 done |
10888 | 10922 |
10889 | 10923 |
10890 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10891 echo "configure:10892: checking for openpty" >&5 | 10925 echo "configure:10926: checking for openpty" >&5 |
10892 | 10926 |
10893 cat > conftest.$ac_ext <<EOF | 10927 cat > conftest.$ac_ext <<EOF |
10894 #line 10895 "configure" | 10928 #line 10929 "configure" |
10895 #include "confdefs.h" | 10929 #include "confdefs.h" |
10896 /* System header to define __stub macros and hopefully few prototypes, | 10930 /* System header to define __stub macros and hopefully few prototypes, |
10897 which can conflict with char openpty(); below. */ | 10931 which can conflict with char openpty(); below. */ |
10898 #include <assert.h> | 10932 #include <assert.h> |
10899 /* Override any gcc2 internal prototype to avoid an error. */ | 10933 /* Override any gcc2 internal prototype to avoid an error. */ |
10912 openpty(); | 10946 openpty(); |
10913 #endif | 10947 #endif |
10914 | 10948 |
10915 ; return 0; } | 10949 ; return 0; } |
10916 EOF | 10950 EOF |
10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10918 rm -rf conftest* | 10952 rm -rf conftest* |
10919 eval "ac_cv_func_openpty=yes" | 10953 eval "ac_cv_func_openpty=yes" |
10920 else | 10954 else |
10921 echo "configure: failed program was:" >&5 | 10955 echo "configure: failed program was:" >&5 |
10922 cat conftest.$ac_ext >&5 | 10956 cat conftest.$ac_ext >&5 |
10931 else | 10965 else |
10932 echo "$ac_t""no" 1>&6 | 10966 echo "$ac_t""no" 1>&6 |
10933 | 10967 |
10934 | 10968 |
10935 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10936 echo "configure:10937: checking for openpty in -lutil" >&5 | 10970 echo "configure:10971: checking for openpty in -lutil" >&5 |
10937 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10938 | 10972 |
10939 xe_check_libs=" -lutil " | 10973 xe_check_libs=" -lutil " |
10940 cat > conftest.$ac_ext <<EOF | 10974 cat > conftest.$ac_ext <<EOF |
10941 #line 10942 "configure" | 10975 #line 10976 "configure" |
10942 #include "confdefs.h" | 10976 #include "confdefs.h" |
10943 /* Override any gcc2 internal prototype to avoid an error. */ | 10977 /* Override any gcc2 internal prototype to avoid an error. */ |
10944 /* We use char because int might match the return type of a gcc2 | 10978 /* We use char because int might match the return type of a gcc2 |
10945 builtin and then its argument prototype would still apply. */ | 10979 builtin and then its argument prototype would still apply. */ |
10946 char openpty(); | 10980 char openpty(); |
10947 | 10981 |
10948 int main() { | 10982 int main() { |
10949 openpty() | 10983 openpty() |
10950 ; return 0; } | 10984 ; return 0; } |
10951 EOF | 10985 EOF |
10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10953 rm -rf conftest* | 10987 rm -rf conftest* |
10954 eval "ac_cv_lib_$ac_lib_var=yes" | 10988 eval "ac_cv_lib_$ac_lib_var=yes" |
10955 else | 10989 else |
10956 echo "configure: failed program was:" >&5 | 10990 echo "configure: failed program was:" >&5 |
10957 cat conftest.$ac_ext >&5 | 10991 cat conftest.$ac_ext >&5 |
10982 | 11016 |
10983 for ac_hdr in libutil.h util.h | 11017 for ac_hdr in libutil.h util.h |
10984 do | 11018 do |
10985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10987 echo "configure:10988: checking for $ac_hdr" >&5 | 11021 echo "configure:11022: checking for $ac_hdr" >&5 |
10988 | 11022 |
10989 cat > conftest.$ac_ext <<EOF | 11023 cat > conftest.$ac_ext <<EOF |
10990 #line 10991 "configure" | 11024 #line 11025 "configure" |
10991 #include "confdefs.h" | 11025 #include "confdefs.h" |
10992 #include <$ac_hdr> | 11026 #include <$ac_hdr> |
10993 EOF | 11027 EOF |
10994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10995 { (eval echo configure:10996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10997 if test -z "$ac_err"; then | 11031 if test -z "$ac_err"; then |
10998 rm -rf conftest* | 11032 rm -rf conftest* |
10999 eval "ac_cv_header_$ac_safe=yes" | 11033 eval "ac_cv_header_$ac_safe=yes" |
11000 else | 11034 else |
11027 case "$opsys" in | 11061 case "$opsys" in |
11028 hpux*) for ac_hdr in sys/ptyio.h | 11062 hpux*) for ac_hdr in sys/ptyio.h |
11029 do | 11063 do |
11030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11032 echo "configure:11033: checking for $ac_hdr" >&5 | 11066 echo "configure:11067: checking for $ac_hdr" >&5 |
11033 | 11067 |
11034 cat > conftest.$ac_ext <<EOF | 11068 cat > conftest.$ac_ext <<EOF |
11035 #line 11036 "configure" | 11069 #line 11070 "configure" |
11036 #include "confdefs.h" | 11070 #include "confdefs.h" |
11037 #include <$ac_hdr> | 11071 #include <$ac_hdr> |
11038 EOF | 11072 EOF |
11039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11040 { (eval echo configure:11041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11042 if test -z "$ac_err"; then | 11076 if test -z "$ac_err"; then |
11043 rm -rf conftest* | 11077 rm -rf conftest* |
11044 eval "ac_cv_header_$ac_safe=yes" | 11078 eval "ac_cv_header_$ac_safe=yes" |
11045 else | 11079 else |
11068 ;; | 11102 ;; |
11069 *) for ac_hdr in pty.h | 11103 *) for ac_hdr in pty.h |
11070 do | 11104 do |
11071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11073 echo "configure:11074: checking for $ac_hdr" >&5 | 11107 echo "configure:11108: checking for $ac_hdr" >&5 |
11074 | 11108 |
11075 cat > conftest.$ac_ext <<EOF | 11109 cat > conftest.$ac_ext <<EOF |
11076 #line 11077 "configure" | 11110 #line 11111 "configure" |
11077 #include "confdefs.h" | 11111 #include "confdefs.h" |
11078 #include <$ac_hdr> | 11112 #include <$ac_hdr> |
11079 EOF | 11113 EOF |
11080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11081 { (eval echo configure:11082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11083 if test -z "$ac_err"; then | 11117 if test -z "$ac_err"; then |
11084 rm -rf conftest* | 11118 rm -rf conftest* |
11085 eval "ac_cv_header_$ac_safe=yes" | 11119 eval "ac_cv_header_$ac_safe=yes" |
11086 else | 11120 else |
11109 | 11143 |
11110 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11111 do | 11145 do |
11112 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11113 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11114 echo "configure:11115: checking for $ac_hdr" >&5 | 11148 echo "configure:11149: checking for $ac_hdr" >&5 |
11115 | 11149 |
11116 cat > conftest.$ac_ext <<EOF | 11150 cat > conftest.$ac_ext <<EOF |
11117 #line 11118 "configure" | 11151 #line 11152 "configure" |
11118 #include "confdefs.h" | 11152 #include "confdefs.h" |
11119 #include <$ac_hdr> | 11153 #include <$ac_hdr> |
11120 EOF | 11154 EOF |
11121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11122 { (eval echo configure:11123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11124 if test -z "$ac_err"; then | 11158 if test -z "$ac_err"; then |
11125 rm -rf conftest* | 11159 rm -rf conftest* |
11126 eval "ac_cv_header_$ac_safe=yes" | 11160 eval "ac_cv_header_$ac_safe=yes" |
11127 else | 11161 else |
11153 | 11187 |
11154 for ac_hdr in stropts.h | 11188 for ac_hdr in stropts.h |
11155 do | 11189 do |
11156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11158 echo "configure:11159: checking for $ac_hdr" >&5 | 11192 echo "configure:11193: checking for $ac_hdr" >&5 |
11159 | 11193 |
11160 cat > conftest.$ac_ext <<EOF | 11194 cat > conftest.$ac_ext <<EOF |
11161 #line 11162 "configure" | 11195 #line 11196 "configure" |
11162 #include "confdefs.h" | 11196 #include "confdefs.h" |
11163 #include <$ac_hdr> | 11197 #include <$ac_hdr> |
11164 EOF | 11198 EOF |
11165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11166 { (eval echo configure:11167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11168 if test -z "$ac_err"; then | 11202 if test -z "$ac_err"; then |
11169 rm -rf conftest* | 11203 rm -rf conftest* |
11170 eval "ac_cv_header_$ac_safe=yes" | 11204 eval "ac_cv_header_$ac_safe=yes" |
11171 else | 11205 else |
11194 | 11228 |
11195 if test "$ac_cv_header_stropts_h" = "yes"; then | 11229 if test "$ac_cv_header_stropts_h" = "yes"; then |
11196 for ac_func in isastream | 11230 for ac_func in isastream |
11197 do | 11231 do |
11198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11199 echo "configure:11200: checking for $ac_func" >&5 | 11233 echo "configure:11234: checking for $ac_func" >&5 |
11200 | 11234 |
11201 cat > conftest.$ac_ext <<EOF | 11235 cat > conftest.$ac_ext <<EOF |
11202 #line 11203 "configure" | 11236 #line 11237 "configure" |
11203 #include "confdefs.h" | 11237 #include "confdefs.h" |
11204 /* System header to define __stub macros and hopefully few prototypes, | 11238 /* System header to define __stub macros and hopefully few prototypes, |
11205 which can conflict with char $ac_func(); below. */ | 11239 which can conflict with char $ac_func(); below. */ |
11206 #include <assert.h> | 11240 #include <assert.h> |
11207 /* Override any gcc2 internal prototype to avoid an error. */ | 11241 /* Override any gcc2 internal prototype to avoid an error. */ |
11220 $ac_func(); | 11254 $ac_func(); |
11221 #endif | 11255 #endif |
11222 | 11256 |
11223 ; return 0; } | 11257 ; return 0; } |
11224 EOF | 11258 EOF |
11225 if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11226 rm -rf conftest* | 11260 rm -rf conftest* |
11227 eval "ac_cv_func_$ac_func=yes" | 11261 eval "ac_cv_func_$ac_func=yes" |
11228 else | 11262 else |
11229 echo "configure: failed program was:" >&5 | 11263 echo "configure: failed program was:" >&5 |
11230 cat conftest.$ac_ext >&5 | 11264 cat conftest.$ac_ext >&5 |
11251 | 11285 |
11252 for ac_hdr in strtio.h | 11286 for ac_hdr in strtio.h |
11253 do | 11287 do |
11254 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11255 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11256 echo "configure:11257: checking for $ac_hdr" >&5 | 11290 echo "configure:11291: checking for $ac_hdr" >&5 |
11257 | 11291 |
11258 cat > conftest.$ac_ext <<EOF | 11292 cat > conftest.$ac_ext <<EOF |
11259 #line 11260 "configure" | 11293 #line 11294 "configure" |
11260 #include "confdefs.h" | 11294 #include "confdefs.h" |
11261 #include <$ac_hdr> | 11295 #include <$ac_hdr> |
11262 EOF | 11296 EOF |
11263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11264 { (eval echo configure:11265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11266 if test -z "$ac_err"; then | 11300 if test -z "$ac_err"; then |
11267 rm -rf conftest* | 11301 rm -rf conftest* |
11268 eval "ac_cv_header_$ac_safe=yes" | 11302 eval "ac_cv_header_$ac_safe=yes" |
11269 else | 11303 else |
11296 fi | 11330 fi |
11297 | 11331 |
11298 for ac_func in getloadavg | 11332 for ac_func in getloadavg |
11299 do | 11333 do |
11300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11301 echo "configure:11302: checking for $ac_func" >&5 | 11335 echo "configure:11336: checking for $ac_func" >&5 |
11302 | 11336 |
11303 cat > conftest.$ac_ext <<EOF | 11337 cat > conftest.$ac_ext <<EOF |
11304 #line 11305 "configure" | 11338 #line 11339 "configure" |
11305 #include "confdefs.h" | 11339 #include "confdefs.h" |
11306 /* System header to define __stub macros and hopefully few prototypes, | 11340 /* System header to define __stub macros and hopefully few prototypes, |
11307 which can conflict with char $ac_func(); below. */ | 11341 which can conflict with char $ac_func(); below. */ |
11308 #include <assert.h> | 11342 #include <assert.h> |
11309 /* Override any gcc2 internal prototype to avoid an error. */ | 11343 /* Override any gcc2 internal prototype to avoid an error. */ |
11322 $ac_func(); | 11356 $ac_func(); |
11323 #endif | 11357 #endif |
11324 | 11358 |
11325 ; return 0; } | 11359 ; return 0; } |
11326 EOF | 11360 EOF |
11327 if { (eval echo configure:11328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11328 rm -rf conftest* | 11362 rm -rf conftest* |
11329 eval "ac_cv_func_$ac_func=yes" | 11363 eval "ac_cv_func_$ac_func=yes" |
11330 else | 11364 else |
11331 echo "configure: failed program was:" >&5 | 11365 echo "configure: failed program was:" >&5 |
11332 cat conftest.$ac_ext >&5 | 11366 cat conftest.$ac_ext >&5 |
11355 if test "$ac_cv_func_getloadavg" = "yes"; then | 11389 if test "$ac_cv_func_getloadavg" = "yes"; then |
11356 for ac_hdr in sys/loadavg.h | 11390 for ac_hdr in sys/loadavg.h |
11357 do | 11391 do |
11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11360 echo "configure:11361: checking for $ac_hdr" >&5 | 11394 echo "configure:11395: checking for $ac_hdr" >&5 |
11361 | 11395 |
11362 cat > conftest.$ac_ext <<EOF | 11396 cat > conftest.$ac_ext <<EOF |
11363 #line 11364 "configure" | 11397 #line 11398 "configure" |
11364 #include "confdefs.h" | 11398 #include "confdefs.h" |
11365 #include <$ac_hdr> | 11399 #include <$ac_hdr> |
11366 EOF | 11400 EOF |
11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11402 { (eval echo configure:11403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11370 if test -z "$ac_err"; then | 11404 if test -z "$ac_err"; then |
11371 rm -rf conftest* | 11405 rm -rf conftest* |
11372 eval "ac_cv_header_$ac_safe=yes" | 11406 eval "ac_cv_header_$ac_safe=yes" |
11373 else | 11407 else |
11399 echo " xemacs will be linked with \"getloadavg.o\"" | 11433 echo " xemacs will be linked with \"getloadavg.o\"" |
11400 fi | 11434 fi |
11401 | 11435 |
11402 | 11436 |
11403 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11437 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11404 echo "configure:11405: checking for kstat_open in -lkstat" >&5 | 11438 echo "configure:11439: checking for kstat_open in -lkstat" >&5 |
11405 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11439 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11406 | 11440 |
11407 xe_check_libs=" -lkstat " | 11441 xe_check_libs=" -lkstat " |
11408 cat > conftest.$ac_ext <<EOF | 11442 cat > conftest.$ac_ext <<EOF |
11409 #line 11410 "configure" | 11443 #line 11444 "configure" |
11410 #include "confdefs.h" | 11444 #include "confdefs.h" |
11411 /* Override any gcc2 internal prototype to avoid an error. */ | 11445 /* Override any gcc2 internal prototype to avoid an error. */ |
11412 /* We use char because int might match the return type of a gcc2 | 11446 /* We use char because int might match the return type of a gcc2 |
11413 builtin and then its argument prototype would still apply. */ | 11447 builtin and then its argument prototype would still apply. */ |
11414 char kstat_open(); | 11448 char kstat_open(); |
11415 | 11449 |
11416 int main() { | 11450 int main() { |
11417 kstat_open() | 11451 kstat_open() |
11418 ; return 0; } | 11452 ; return 0; } |
11419 EOF | 11453 EOF |
11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11454 if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11421 rm -rf conftest* | 11455 rm -rf conftest* |
11422 eval "ac_cv_lib_$ac_lib_var=yes" | 11456 eval "ac_cv_lib_$ac_lib_var=yes" |
11423 else | 11457 else |
11424 echo "configure: failed program was:" >&5 | 11458 echo "configure: failed program was:" >&5 |
11425 cat conftest.$ac_ext >&5 | 11459 cat conftest.$ac_ext >&5 |
11450 | 11484 |
11451 for ac_hdr in kstat.h | 11485 for ac_hdr in kstat.h |
11452 do | 11486 do |
11453 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11454 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11455 echo "configure:11456: checking for $ac_hdr" >&5 | 11489 echo "configure:11490: checking for $ac_hdr" >&5 |
11456 | 11490 |
11457 cat > conftest.$ac_ext <<EOF | 11491 cat > conftest.$ac_ext <<EOF |
11458 #line 11459 "configure" | 11492 #line 11493 "configure" |
11459 #include "confdefs.h" | 11493 #include "confdefs.h" |
11460 #include <$ac_hdr> | 11494 #include <$ac_hdr> |
11461 EOF | 11495 EOF |
11462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11463 { (eval echo configure:11464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11497 { (eval echo configure:11498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11465 if test -z "$ac_err"; then | 11499 if test -z "$ac_err"; then |
11466 rm -rf conftest* | 11500 rm -rf conftest* |
11467 eval "ac_cv_header_$ac_safe=yes" | 11501 eval "ac_cv_header_$ac_safe=yes" |
11468 else | 11502 else |
11490 done | 11524 done |
11491 | 11525 |
11492 | 11526 |
11493 | 11527 |
11494 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11528 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11495 echo "configure:11496: checking for kvm_read in -lkvm" >&5 | 11529 echo "configure:11530: checking for kvm_read in -lkvm" >&5 |
11496 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11530 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11497 | 11531 |
11498 xe_check_libs=" -lkvm " | 11532 xe_check_libs=" -lkvm " |
11499 cat > conftest.$ac_ext <<EOF | 11533 cat > conftest.$ac_ext <<EOF |
11500 #line 11501 "configure" | 11534 #line 11535 "configure" |
11501 #include "confdefs.h" | 11535 #include "confdefs.h" |
11502 /* Override any gcc2 internal prototype to avoid an error. */ | 11536 /* Override any gcc2 internal prototype to avoid an error. */ |
11503 /* We use char because int might match the return type of a gcc2 | 11537 /* We use char because int might match the return type of a gcc2 |
11504 builtin and then its argument prototype would still apply. */ | 11538 builtin and then its argument prototype would still apply. */ |
11505 char kvm_read(); | 11539 char kvm_read(); |
11506 | 11540 |
11507 int main() { | 11541 int main() { |
11508 kvm_read() | 11542 kvm_read() |
11509 ; return 0; } | 11543 ; return 0; } |
11510 EOF | 11544 EOF |
11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11545 if { (eval echo configure:11546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11512 rm -rf conftest* | 11546 rm -rf conftest* |
11513 eval "ac_cv_lib_$ac_lib_var=yes" | 11547 eval "ac_cv_lib_$ac_lib_var=yes" |
11514 else | 11548 else |
11515 echo "configure: failed program was:" >&5 | 11549 echo "configure: failed program was:" >&5 |
11516 cat conftest.$ac_ext >&5 | 11550 cat conftest.$ac_ext >&5 |
11540 | 11574 |
11541 | 11575 |
11542 fi | 11576 fi |
11543 | 11577 |
11544 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11578 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11545 echo "configure:11546: checking whether netdb declares h_errno" >&5 | 11579 echo "configure:11580: checking whether netdb declares h_errno" >&5 |
11546 cat > conftest.$ac_ext <<EOF | 11580 cat > conftest.$ac_ext <<EOF |
11547 #line 11548 "configure" | 11581 #line 11582 "configure" |
11548 #include "confdefs.h" | 11582 #include "confdefs.h" |
11549 #include <netdb.h> | 11583 #include <netdb.h> |
11550 int main() { | 11584 int main() { |
11551 return h_errno; | 11585 return h_errno; |
11552 ; return 0; } | 11586 ; return 0; } |
11553 EOF | 11587 EOF |
11554 if { (eval echo configure:11555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11555 rm -rf conftest* | 11589 rm -rf conftest* |
11556 echo "$ac_t""yes" 1>&6 | 11590 echo "$ac_t""yes" 1>&6 |
11557 { test "$extra_verbose" = "yes" && cat << \EOF | 11591 { test "$extra_verbose" = "yes" && cat << \EOF |
11558 Defining HAVE_H_ERRNO | 11592 Defining HAVE_H_ERRNO |
11559 EOF | 11593 EOF |
11569 echo "$ac_t""no" 1>&6 | 11603 echo "$ac_t""no" 1>&6 |
11570 fi | 11604 fi |
11571 rm -f conftest* | 11605 rm -f conftest* |
11572 | 11606 |
11573 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11607 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11574 echo "configure:11575: checking for sigsetjmp" >&5 | 11608 echo "configure:11609: checking for sigsetjmp" >&5 |
11575 cat > conftest.$ac_ext <<EOF | 11609 cat > conftest.$ac_ext <<EOF |
11576 #line 11577 "configure" | 11610 #line 11611 "configure" |
11577 #include "confdefs.h" | 11611 #include "confdefs.h" |
11578 #include <setjmp.h> | 11612 #include <setjmp.h> |
11579 int main() { | 11613 int main() { |
11580 sigjmp_buf bar; sigsetjmp (bar, 0); | 11614 sigjmp_buf bar; sigsetjmp (bar, 0); |
11581 ; return 0; } | 11615 ; return 0; } |
11582 EOF | 11616 EOF |
11583 if { (eval echo configure:11584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11617 if { (eval echo configure:11618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11584 rm -rf conftest* | 11618 rm -rf conftest* |
11585 echo "$ac_t""yes" 1>&6 | 11619 echo "$ac_t""yes" 1>&6 |
11586 { test "$extra_verbose" = "yes" && cat << \EOF | 11620 { test "$extra_verbose" = "yes" && cat << \EOF |
11587 Defining HAVE_SIGSETJMP | 11621 Defining HAVE_SIGSETJMP |
11588 EOF | 11622 EOF |
11598 echo "$ac_t""no" 1>&6 | 11632 echo "$ac_t""no" 1>&6 |
11599 fi | 11633 fi |
11600 rm -f conftest* | 11634 rm -f conftest* |
11601 | 11635 |
11602 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11636 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11603 echo "configure:11604: checking whether localtime caches TZ" >&5 | 11637 echo "configure:11638: checking whether localtime caches TZ" >&5 |
11604 | 11638 |
11605 if test "$ac_cv_func_tzset" = "yes"; then | 11639 if test "$ac_cv_func_tzset" = "yes"; then |
11606 cat > conftest.$ac_ext <<EOF | 11640 cat > conftest.$ac_ext <<EOF |
11607 #line 11608 "configure" | 11641 #line 11642 "configure" |
11608 #include "confdefs.h" | 11642 #include "confdefs.h" |
11609 #include <time.h> | 11643 #include <time.h> |
11610 #if STDC_HEADERS | 11644 #if STDC_HEADERS |
11611 # include <stdlib.h> | 11645 # include <stdlib.h> |
11612 #endif | 11646 #endif |
11637 if (localtime (&now)->tm_hour != hour_unset) | 11671 if (localtime (&now)->tm_hour != hour_unset) |
11638 exit (1); | 11672 exit (1); |
11639 exit (0); | 11673 exit (0); |
11640 } | 11674 } |
11641 EOF | 11675 EOF |
11642 if { (eval echo configure:11643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11676 if { (eval echo configure:11677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11643 then | 11677 then |
11644 emacs_cv_localtime_cache=no | 11678 emacs_cv_localtime_cache=no |
11645 else | 11679 else |
11646 conftest_rc="$?" | 11680 conftest_rc="$?" |
11647 echo "configure: failed program was:" >&5 | 11681 echo "configure: failed program was:" >&5 |
11667 | 11701 |
11668 fi | 11702 fi |
11669 | 11703 |
11670 if test "$HAVE_TIMEVAL" = "yes"; then | 11704 if test "$HAVE_TIMEVAL" = "yes"; then |
11671 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11705 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11672 echo "configure:11673: checking whether gettimeofday accepts one or two arguments" >&5 | 11706 echo "configure:11707: checking whether gettimeofday accepts one or two arguments" >&5 |
11673 cat > conftest.$ac_ext <<EOF | 11707 cat > conftest.$ac_ext <<EOF |
11674 #line 11675 "configure" | 11708 #line 11709 "configure" |
11675 #include "confdefs.h" | 11709 #include "confdefs.h" |
11676 | 11710 |
11677 #ifdef TIME_WITH_SYS_TIME | 11711 #ifdef TIME_WITH_SYS_TIME |
11678 #include <sys/time.h> | 11712 #include <sys/time.h> |
11679 #include <time.h> | 11713 #include <time.h> |
11690 struct timeval time; | 11724 struct timeval time; |
11691 gettimeofday (&time, 0); | 11725 gettimeofday (&time, 0); |
11692 | 11726 |
11693 ; return 0; } | 11727 ; return 0; } |
11694 EOF | 11728 EOF |
11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11696 rm -rf conftest* | 11730 rm -rf conftest* |
11697 echo "$ac_t""two" 1>&6 | 11731 echo "$ac_t""two" 1>&6 |
11698 else | 11732 else |
11699 echo "configure: failed program was:" >&5 | 11733 echo "configure: failed program was:" >&5 |
11700 cat conftest.$ac_ext >&5 | 11734 cat conftest.$ac_ext >&5 |
11712 rm -f conftest* | 11746 rm -f conftest* |
11713 fi | 11747 fi |
11714 | 11748 |
11715 | 11749 |
11716 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11750 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11717 echo "configure:11718: checking for inline" >&5 | 11751 echo "configure:11752: checking for inline" >&5 |
11718 | 11752 |
11719 ac_cv_c_inline=no | 11753 ac_cv_c_inline=no |
11720 for ac_kw in inline __inline__ __inline; do | 11754 for ac_kw in inline __inline__ __inline; do |
11721 cat > conftest.$ac_ext <<EOF | 11755 cat > conftest.$ac_ext <<EOF |
11722 #line 11723 "configure" | 11756 #line 11757 "configure" |
11723 #include "confdefs.h" | 11757 #include "confdefs.h" |
11724 | 11758 |
11725 int main() { | 11759 int main() { |
11726 } $ac_kw foo() { | 11760 } $ac_kw foo() { |
11727 ; return 0; } | 11761 ; return 0; } |
11728 EOF | 11762 EOF |
11729 if { (eval echo configure:11730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11763 if { (eval echo configure:11764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11730 rm -rf conftest* | 11764 rm -rf conftest* |
11731 ac_cv_c_inline=$ac_kw; break | 11765 ac_cv_c_inline=$ac_kw; break |
11732 else | 11766 else |
11733 echo "configure: failed program was:" >&5 | 11767 echo "configure: failed program was:" >&5 |
11734 cat conftest.$ac_ext >&5 | 11768 cat conftest.$ac_ext >&5 |
11765 | 11799 |
11766 if test "$__DECC" != "yes"; then | 11800 if test "$__DECC" != "yes"; then |
11767 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11801 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11768 # for constant arguments. Useless! | 11802 # for constant arguments. Useless! |
11769 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11803 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11770 echo "configure:11771: checking for working alloca.h" >&5 | 11804 echo "configure:11805: checking for working alloca.h" >&5 |
11771 | 11805 |
11772 cat > conftest.$ac_ext <<EOF | 11806 cat > conftest.$ac_ext <<EOF |
11773 #line 11774 "configure" | 11807 #line 11808 "configure" |
11774 #include "confdefs.h" | 11808 #include "confdefs.h" |
11775 #include <alloca.h> | 11809 #include <alloca.h> |
11776 int main() { | 11810 int main() { |
11777 char *p = alloca(2 * sizeof(int)); | 11811 char *p = alloca(2 * sizeof(int)); |
11778 ; return 0; } | 11812 ; return 0; } |
11779 EOF | 11813 EOF |
11780 if { (eval echo configure:11781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11781 rm -rf conftest* | 11815 rm -rf conftest* |
11782 ac_cv_header_alloca_h=yes | 11816 ac_cv_header_alloca_h=yes |
11783 else | 11817 else |
11784 echo "configure: failed program was:" >&5 | 11818 echo "configure: failed program was:" >&5 |
11785 cat conftest.$ac_ext >&5 | 11819 cat conftest.$ac_ext >&5 |
11799 } | 11833 } |
11800 | 11834 |
11801 fi | 11835 fi |
11802 | 11836 |
11803 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11837 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11804 echo "configure:11805: checking for alloca" >&5 | 11838 echo "configure:11839: checking for alloca" >&5 |
11805 | 11839 |
11806 cat > conftest.$ac_ext <<EOF | 11840 cat > conftest.$ac_ext <<EOF |
11807 #line 11808 "configure" | 11841 #line 11842 "configure" |
11808 #include "confdefs.h" | 11842 #include "confdefs.h" |
11809 | 11843 |
11810 #ifdef __GNUC__ | 11844 #ifdef __GNUC__ |
11811 # define alloca __builtin_alloca | 11845 # define alloca __builtin_alloca |
11812 #else | 11846 #else |
11830 | 11864 |
11831 int main() { | 11865 int main() { |
11832 char *p = (char *) alloca(1); | 11866 char *p = (char *) alloca(1); |
11833 ; return 0; } | 11867 ; return 0; } |
11834 EOF | 11868 EOF |
11835 if { (eval echo configure:11836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11869 if { (eval echo configure:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11836 rm -rf conftest* | 11870 rm -rf conftest* |
11837 ac_cv_func_alloca_works=yes | 11871 ac_cv_func_alloca_works=yes |
11838 else | 11872 else |
11839 echo "configure: failed program was:" >&5 | 11873 echo "configure: failed program was:" >&5 |
11840 cat conftest.$ac_ext >&5 | 11874 cat conftest.$ac_ext >&5 |
11869 EOF | 11903 EOF |
11870 } | 11904 } |
11871 | 11905 |
11872 | 11906 |
11873 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11907 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11874 echo "configure:11875: checking whether alloca needs Cray hooks" >&5 | 11908 echo "configure:11909: checking whether alloca needs Cray hooks" >&5 |
11875 | 11909 |
11876 cat > conftest.$ac_ext <<EOF | 11910 cat > conftest.$ac_ext <<EOF |
11877 #line 11878 "configure" | 11911 #line 11912 "configure" |
11878 #include "confdefs.h" | 11912 #include "confdefs.h" |
11879 #if defined(CRAY) && ! defined(CRAY2) | 11913 #if defined(CRAY) && ! defined(CRAY2) |
11880 webecray | 11914 webecray |
11881 #else | 11915 #else |
11882 wenotbecray | 11916 wenotbecray |
11896 | 11930 |
11897 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11931 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11898 if test $ac_cv_os_cray = yes; then | 11932 if test $ac_cv_os_cray = yes; then |
11899 for ac_func in _getb67 GETB67 getb67; do | 11933 for ac_func in _getb67 GETB67 getb67; do |
11900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11901 echo "configure:11902: checking for $ac_func" >&5 | 11935 echo "configure:11936: checking for $ac_func" >&5 |
11902 | 11936 |
11903 cat > conftest.$ac_ext <<EOF | 11937 cat > conftest.$ac_ext <<EOF |
11904 #line 11905 "configure" | 11938 #line 11939 "configure" |
11905 #include "confdefs.h" | 11939 #include "confdefs.h" |
11906 /* System header to define __stub macros and hopefully few prototypes, | 11940 /* System header to define __stub macros and hopefully few prototypes, |
11907 which can conflict with char $ac_func(); below. */ | 11941 which can conflict with char $ac_func(); below. */ |
11908 #include <assert.h> | 11942 #include <assert.h> |
11909 /* Override any gcc2 internal prototype to avoid an error. */ | 11943 /* Override any gcc2 internal prototype to avoid an error. */ |
11922 $ac_func(); | 11956 $ac_func(); |
11923 #endif | 11957 #endif |
11924 | 11958 |
11925 ; return 0; } | 11959 ; return 0; } |
11926 EOF | 11960 EOF |
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11961 if { (eval echo configure:11962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11928 rm -rf conftest* | 11962 rm -rf conftest* |
11929 eval "ac_cv_func_$ac_func=yes" | 11963 eval "ac_cv_func_$ac_func=yes" |
11930 else | 11964 else |
11931 echo "configure: failed program was:" >&5 | 11965 echo "configure: failed program was:" >&5 |
11932 cat conftest.$ac_ext >&5 | 11966 cat conftest.$ac_ext >&5 |
11952 | 11986 |
11953 done | 11987 done |
11954 fi | 11988 fi |
11955 | 11989 |
11956 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11990 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11957 echo "configure:11958: checking stack direction for C alloca" >&5 | 11991 echo "configure:11992: checking stack direction for C alloca" >&5 |
11958 | 11992 |
11959 cat > conftest.$ac_ext <<EOF | 11993 cat > conftest.$ac_ext <<EOF |
11960 #line 11961 "configure" | 11994 #line 11995 "configure" |
11961 #include "confdefs.h" | 11995 #include "confdefs.h" |
11962 find_stack_direction () | 11996 find_stack_direction () |
11963 { | 11997 { |
11964 static char *addr = 0; | 11998 static char *addr = 0; |
11965 auto char dummy; | 11999 auto char dummy; |
11974 main () | 12008 main () |
11975 { | 12009 { |
11976 exit (find_stack_direction() < 0); | 12010 exit (find_stack_direction() < 0); |
11977 } | 12011 } |
11978 EOF | 12012 EOF |
11979 if { (eval echo configure:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12013 if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11980 then | 12014 then |
11981 ac_cv_c_stack_direction=1 | 12015 ac_cv_c_stack_direction=1 |
11982 else | 12016 else |
11983 conftest_rc="$?" | 12017 conftest_rc="$?" |
11984 echo "configure: failed program was:" >&5 | 12018 echo "configure: failed program was:" >&5 |
12004 fi | 12038 fi |
12005 fi | 12039 fi |
12006 | 12040 |
12007 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12041 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12008 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12042 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12009 echo "configure:12010: checking for vfork.h" >&5 | 12043 echo "configure:12044: checking for vfork.h" >&5 |
12010 | 12044 |
12011 cat > conftest.$ac_ext <<EOF | 12045 cat > conftest.$ac_ext <<EOF |
12012 #line 12013 "configure" | 12046 #line 12047 "configure" |
12013 #include "confdefs.h" | 12047 #include "confdefs.h" |
12014 #include <vfork.h> | 12048 #include <vfork.h> |
12015 EOF | 12049 EOF |
12016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12017 { (eval echo configure:12018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12051 { (eval echo configure:12052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12019 if test -z "$ac_err"; then | 12053 if test -z "$ac_err"; then |
12020 rm -rf conftest* | 12054 rm -rf conftest* |
12021 eval "ac_cv_header_$ac_safe=yes" | 12055 eval "ac_cv_header_$ac_safe=yes" |
12022 else | 12056 else |
12040 else | 12074 else |
12041 echo "$ac_t""no" 1>&6 | 12075 echo "$ac_t""no" 1>&6 |
12042 fi | 12076 fi |
12043 | 12077 |
12044 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12078 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12045 echo "configure:12046: checking for working vfork" >&5 | 12079 echo "configure:12080: checking for working vfork" >&5 |
12046 | 12080 |
12047 cat > conftest.$ac_ext <<EOF | 12081 cat > conftest.$ac_ext <<EOF |
12048 #line 12049 "configure" | 12082 #line 12083 "configure" |
12049 #include "confdefs.h" | 12083 #include "confdefs.h" |
12050 /* Thanks to Paul Eggert for this test. */ | 12084 /* Thanks to Paul Eggert for this test. */ |
12051 #include <stdio.h> | 12085 #include <stdio.h> |
12052 #include <sys/types.h> | 12086 #include <sys/types.h> |
12053 #include <sys/stat.h> | 12087 #include <sys/stat.h> |
12138 || fstat(fileno(stdout), &st) != 0 | 12172 || fstat(fileno(stdout), &st) != 0 |
12139 ); | 12173 ); |
12140 } | 12174 } |
12141 } | 12175 } |
12142 EOF | 12176 EOF |
12143 if { (eval echo configure:12144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12177 if { (eval echo configure:12178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12144 then | 12178 then |
12145 ac_cv_func_vfork_works=yes | 12179 ac_cv_func_vfork_works=yes |
12146 else | 12180 else |
12147 conftest_rc="$?" | 12181 conftest_rc="$?" |
12148 echo "configure: failed program was:" >&5 | 12182 echo "configure: failed program was:" >&5 |
12164 | 12198 |
12165 fi | 12199 fi |
12166 | 12200 |
12167 | 12201 |
12168 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12202 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12169 echo "configure:12170: checking for working strcoll" >&5 | 12203 echo "configure:12204: checking for working strcoll" >&5 |
12170 | 12204 |
12171 cat > conftest.$ac_ext <<EOF | 12205 cat > conftest.$ac_ext <<EOF |
12172 #line 12173 "configure" | 12206 #line 12207 "configure" |
12173 #include "confdefs.h" | 12207 #include "confdefs.h" |
12174 #include <string.h> | 12208 #include <string.h> |
12175 main () | 12209 main () |
12176 { | 12210 { |
12177 exit (strcoll ("abc", "def") >= 0 || | 12211 exit (strcoll ("abc", "def") >= 0 || |
12178 strcoll ("ABC", "DEF") >= 0 || | 12212 strcoll ("ABC", "DEF") >= 0 || |
12179 strcoll ("123", "456") >= 0); | 12213 strcoll ("123", "456") >= 0); |
12180 } | 12214 } |
12181 EOF | 12215 EOF |
12182 if { (eval echo configure:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12216 if { (eval echo configure:12217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12183 then | 12217 then |
12184 ac_cv_func_strcoll_works=yes | 12218 ac_cv_func_strcoll_works=yes |
12185 else | 12219 else |
12186 conftest_rc="$?" | 12220 conftest_rc="$?" |
12187 echo "configure: failed program was:" >&5 | 12221 echo "configure: failed program was:" >&5 |
12205 | 12239 |
12206 | 12240 |
12207 for ac_func in getpgrp | 12241 for ac_func in getpgrp |
12208 do | 12242 do |
12209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12210 echo "configure:12211: checking for $ac_func" >&5 | 12244 echo "configure:12245: checking for $ac_func" >&5 |
12211 | 12245 |
12212 cat > conftest.$ac_ext <<EOF | 12246 cat > conftest.$ac_ext <<EOF |
12213 #line 12214 "configure" | 12247 #line 12248 "configure" |
12214 #include "confdefs.h" | 12248 #include "confdefs.h" |
12215 /* System header to define __stub macros and hopefully few prototypes, | 12249 /* System header to define __stub macros and hopefully few prototypes, |
12216 which can conflict with char $ac_func(); below. */ | 12250 which can conflict with char $ac_func(); below. */ |
12217 #include <assert.h> | 12251 #include <assert.h> |
12218 /* Override any gcc2 internal prototype to avoid an error. */ | 12252 /* Override any gcc2 internal prototype to avoid an error. */ |
12231 $ac_func(); | 12265 $ac_func(); |
12232 #endif | 12266 #endif |
12233 | 12267 |
12234 ; return 0; } | 12268 ; return 0; } |
12235 EOF | 12269 EOF |
12236 if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12237 rm -rf conftest* | 12271 rm -rf conftest* |
12238 eval "ac_cv_func_$ac_func=yes" | 12272 eval "ac_cv_func_$ac_func=yes" |
12239 else | 12273 else |
12240 echo "configure: failed program was:" >&5 | 12274 echo "configure: failed program was:" >&5 |
12241 cat conftest.$ac_ext >&5 | 12275 cat conftest.$ac_ext >&5 |
12259 echo "$ac_t""no" 1>&6 | 12293 echo "$ac_t""no" 1>&6 |
12260 fi | 12294 fi |
12261 done | 12295 done |
12262 | 12296 |
12263 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12297 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12264 echo "configure:12265: checking whether getpgrp takes no argument" >&5 | 12298 echo "configure:12299: checking whether getpgrp takes no argument" >&5 |
12265 | 12299 |
12266 cat > conftest.$ac_ext <<EOF | 12300 cat > conftest.$ac_ext <<EOF |
12267 #line 12268 "configure" | 12301 #line 12302 "configure" |
12268 #include "confdefs.h" | 12302 #include "confdefs.h" |
12269 | 12303 |
12270 /* | 12304 /* |
12271 * If this system has a BSD-style getpgrp(), | 12305 * If this system has a BSD-style getpgrp(), |
12272 * which takes a pid argument, exit unsuccessfully. | 12306 * which takes a pid argument, exit unsuccessfully. |
12317 exit(s>>8); | 12351 exit(s>>8); |
12318 } | 12352 } |
12319 } | 12353 } |
12320 | 12354 |
12321 EOF | 12355 EOF |
12322 if { (eval echo configure:12323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12323 then | 12357 then |
12324 ac_cv_func_getpgrp_void=yes | 12358 ac_cv_func_getpgrp_void=yes |
12325 else | 12359 else |
12326 conftest_rc="$?" | 12360 conftest_rc="$?" |
12327 echo "configure: failed program was:" >&5 | 12361 echo "configure: failed program was:" >&5 |
12344 | 12378 |
12345 fi | 12379 fi |
12346 | 12380 |
12347 | 12381 |
12348 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12382 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12349 echo "configure:12350: checking for working mmap" >&5 | 12383 echo "configure:12384: checking for working mmap" >&5 |
12350 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12384 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12351 cat > conftest.$ac_ext <<EOF | 12385 cat > conftest.$ac_ext <<EOF |
12352 #line 12353 "configure" | 12386 #line 12387 "configure" |
12353 #include "confdefs.h" | 12387 #include "confdefs.h" |
12354 #include <stdio.h> | 12388 #include <stdio.h> |
12355 #include <unistd.h> | 12389 #include <unistd.h> |
12356 #include <fcntl.h> | 12390 #include <fcntl.h> |
12357 #include <sys/mman.h> | 12391 #include <sys/mman.h> |
12380 return 0; | 12414 return 0; |
12381 perror ("conftest: mmap failed"); | 12415 perror ("conftest: mmap failed"); |
12382 return 1; | 12416 return 1; |
12383 } | 12417 } |
12384 EOF | 12418 EOF |
12385 if { (eval echo configure:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12419 if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12386 then | 12420 then |
12387 have_mmap=yes | 12421 have_mmap=yes |
12388 else | 12422 else |
12389 conftest_rc="$?" | 12423 conftest_rc="$?" |
12390 echo "configure: failed program was:" >&5 | 12424 echo "configure: failed program was:" >&5 |
12409 esac | 12443 esac |
12410 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12444 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12411 if test "$rel_alloc $have_mmap" = "default yes"; then | 12445 if test "$rel_alloc $have_mmap" = "default yes"; then |
12412 if test "$doug_lea_malloc" = "yes"; then | 12446 if test "$doug_lea_malloc" = "yes"; then |
12413 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12447 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12414 echo "configure:12415: checking for M_MMAP_THRESHOLD" >&5 | 12448 echo "configure:12449: checking for M_MMAP_THRESHOLD" >&5 |
12415 cat > conftest.$ac_ext <<EOF | 12449 cat > conftest.$ac_ext <<EOF |
12416 #line 12417 "configure" | 12450 #line 12451 "configure" |
12417 #include "confdefs.h" | 12451 #include "confdefs.h" |
12418 #include <malloc.h> | 12452 #include <malloc.h> |
12419 int main() { | 12453 int main() { |
12420 | 12454 |
12421 #ifndef M_MMAP_THRESHOLD | 12455 #ifndef M_MMAP_THRESHOLD |
12423 !@+$%^&*_)(_ - unlikely to compile... | 12457 !@+$%^&*_)(_ - unlikely to compile... |
12424 #endif | 12458 #endif |
12425 | 12459 |
12426 ; return 0; } | 12460 ; return 0; } |
12427 EOF | 12461 EOF |
12428 if { (eval echo configure:12429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12462 if { (eval echo configure:12463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12429 rm -rf conftest* | 12463 rm -rf conftest* |
12430 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12464 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12431 else | 12465 else |
12432 echo "configure: failed program was:" >&5 | 12466 echo "configure: failed program was:" >&5 |
12433 cat conftest.$ac_ext >&5 | 12467 cat conftest.$ac_ext >&5 |
12448 } | 12482 } |
12449 | 12483 |
12450 | 12484 |
12451 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12485 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12452 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12486 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12453 echo "configure:12454: checking for termios.h" >&5 | 12487 echo "configure:12488: checking for termios.h" >&5 |
12454 | 12488 |
12455 cat > conftest.$ac_ext <<EOF | 12489 cat > conftest.$ac_ext <<EOF |
12456 #line 12457 "configure" | 12490 #line 12491 "configure" |
12457 #include "confdefs.h" | 12491 #include "confdefs.h" |
12458 #include <termios.h> | 12492 #include <termios.h> |
12459 EOF | 12493 EOF |
12460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12461 { (eval echo configure:12462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12495 { (eval echo configure:12496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12463 if test -z "$ac_err"; then | 12497 if test -z "$ac_err"; then |
12464 rm -rf conftest* | 12498 rm -rf conftest* |
12465 eval "ac_cv_header_$ac_safe=yes" | 12499 eval "ac_cv_header_$ac_safe=yes" |
12466 else | 12500 else |
12499 | 12533 |
12500 else | 12534 else |
12501 echo "$ac_t""no" 1>&6 | 12535 echo "$ac_t""no" 1>&6 |
12502 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12536 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12503 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12537 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12504 echo "configure:12505: checking for termio.h" >&5 | 12538 echo "configure:12539: checking for termio.h" >&5 |
12505 | 12539 |
12506 cat > conftest.$ac_ext <<EOF | 12540 cat > conftest.$ac_ext <<EOF |
12507 #line 12508 "configure" | 12541 #line 12542 "configure" |
12508 #include "confdefs.h" | 12542 #include "confdefs.h" |
12509 #include <termio.h> | 12543 #include <termio.h> |
12510 EOF | 12544 EOF |
12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12546 { (eval echo configure:12547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12514 if test -z "$ac_err"; then | 12548 if test -z "$ac_err"; then |
12515 rm -rf conftest* | 12549 rm -rf conftest* |
12516 eval "ac_cv_header_$ac_safe=yes" | 12550 eval "ac_cv_header_$ac_safe=yes" |
12517 else | 12551 else |
12539 fi | 12573 fi |
12540 | 12574 |
12541 | 12575 |
12542 | 12576 |
12543 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12577 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12544 echo "configure:12545: checking for socket" >&5 | 12578 echo "configure:12579: checking for socket" >&5 |
12545 | 12579 |
12546 cat > conftest.$ac_ext <<EOF | 12580 cat > conftest.$ac_ext <<EOF |
12547 #line 12548 "configure" | 12581 #line 12582 "configure" |
12548 #include "confdefs.h" | 12582 #include "confdefs.h" |
12549 /* System header to define __stub macros and hopefully few prototypes, | 12583 /* System header to define __stub macros and hopefully few prototypes, |
12550 which can conflict with char socket(); below. */ | 12584 which can conflict with char socket(); below. */ |
12551 #include <assert.h> | 12585 #include <assert.h> |
12552 /* Override any gcc2 internal prototype to avoid an error. */ | 12586 /* Override any gcc2 internal prototype to avoid an error. */ |
12565 socket(); | 12599 socket(); |
12566 #endif | 12600 #endif |
12567 | 12601 |
12568 ; return 0; } | 12602 ; return 0; } |
12569 EOF | 12603 EOF |
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12604 if { (eval echo configure:12605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12571 rm -rf conftest* | 12605 rm -rf conftest* |
12572 eval "ac_cv_func_socket=yes" | 12606 eval "ac_cv_func_socket=yes" |
12573 else | 12607 else |
12574 echo "configure: failed program was:" >&5 | 12608 echo "configure: failed program was:" >&5 |
12575 cat conftest.$ac_ext >&5 | 12609 cat conftest.$ac_ext >&5 |
12580 | 12614 |
12581 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12615 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12582 echo "$ac_t""yes" 1>&6 | 12616 echo "$ac_t""yes" 1>&6 |
12583 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12617 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12584 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12618 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12585 echo "configure:12586: checking for netinet/in.h" >&5 | 12619 echo "configure:12620: checking for netinet/in.h" >&5 |
12586 | 12620 |
12587 cat > conftest.$ac_ext <<EOF | 12621 cat > conftest.$ac_ext <<EOF |
12588 #line 12589 "configure" | 12622 #line 12623 "configure" |
12589 #include "confdefs.h" | 12623 #include "confdefs.h" |
12590 #include <netinet/in.h> | 12624 #include <netinet/in.h> |
12591 EOF | 12625 EOF |
12592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12593 { (eval echo configure:12594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12627 { (eval echo configure:12628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12595 if test -z "$ac_err"; then | 12629 if test -z "$ac_err"; then |
12596 rm -rf conftest* | 12630 rm -rf conftest* |
12597 eval "ac_cv_header_$ac_safe=yes" | 12631 eval "ac_cv_header_$ac_safe=yes" |
12598 else | 12632 else |
12605 rm -f conftest* | 12639 rm -f conftest* |
12606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12607 echo "$ac_t""yes" 1>&6 | 12641 echo "$ac_t""yes" 1>&6 |
12608 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12642 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12609 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12643 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12610 echo "configure:12611: checking for arpa/inet.h" >&5 | 12644 echo "configure:12645: checking for arpa/inet.h" >&5 |
12611 | 12645 |
12612 cat > conftest.$ac_ext <<EOF | 12646 cat > conftest.$ac_ext <<EOF |
12613 #line 12614 "configure" | 12647 #line 12648 "configure" |
12614 #include "confdefs.h" | 12648 #include "confdefs.h" |
12615 #include <arpa/inet.h> | 12649 #include <arpa/inet.h> |
12616 EOF | 12650 EOF |
12617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12618 { (eval echo configure:12619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12652 { (eval echo configure:12653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12620 if test -z "$ac_err"; then | 12654 if test -z "$ac_err"; then |
12621 rm -rf conftest* | 12655 rm -rf conftest* |
12622 eval "ac_cv_header_$ac_safe=yes" | 12656 eval "ac_cv_header_$ac_safe=yes" |
12623 else | 12657 else |
12638 #define HAVE_SOCKETS 1 | 12672 #define HAVE_SOCKETS 1 |
12639 EOF | 12673 EOF |
12640 } | 12674 } |
12641 | 12675 |
12642 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12676 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12643 echo "configure:12644: checking "for sun_len member in struct sockaddr_un"" >&5 | 12677 echo "configure:12678: checking "for sun_len member in struct sockaddr_un"" >&5 |
12644 cat > conftest.$ac_ext <<EOF | 12678 cat > conftest.$ac_ext <<EOF |
12645 #line 12646 "configure" | 12679 #line 12680 "configure" |
12646 #include "confdefs.h" | 12680 #include "confdefs.h" |
12647 | 12681 |
12648 #include <sys/types.h> | 12682 #include <sys/types.h> |
12649 #include <sys/socket.h> | 12683 #include <sys/socket.h> |
12650 #include <sys/un.h> | 12684 #include <sys/un.h> |
12651 | 12685 |
12652 int main() { | 12686 int main() { |
12653 static struct sockaddr_un x; x.sun_len = 1; | 12687 static struct sockaddr_un x; x.sun_len = 1; |
12654 ; return 0; } | 12688 ; return 0; } |
12655 EOF | 12689 EOF |
12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12690 if { (eval echo configure:12691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12657 rm -rf conftest* | 12691 rm -rf conftest* |
12658 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12692 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12659 Defining HAVE_SOCKADDR_SUN_LEN | 12693 Defining HAVE_SOCKADDR_SUN_LEN |
12660 EOF | 12694 EOF |
12661 cat >> confdefs.h <<\EOF | 12695 cat >> confdefs.h <<\EOF |
12669 rm -rf conftest* | 12703 rm -rf conftest* |
12670 echo "$ac_t""no" 1>&6 | 12704 echo "$ac_t""no" 1>&6 |
12671 fi | 12705 fi |
12672 rm -f conftest* | 12706 rm -f conftest* |
12673 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12707 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12674 echo "configure:12675: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12708 echo "configure:12709: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12675 cat > conftest.$ac_ext <<EOF | 12709 cat > conftest.$ac_ext <<EOF |
12676 #line 12677 "configure" | 12710 #line 12711 "configure" |
12677 #include "confdefs.h" | 12711 #include "confdefs.h" |
12678 | 12712 |
12679 #include <sys/types.h> | 12713 #include <sys/types.h> |
12680 #include <netinet/in.h> | 12714 #include <netinet/in.h> |
12681 | 12715 |
12682 int main() { | 12716 int main() { |
12683 static struct ip_mreq x; | 12717 static struct ip_mreq x; |
12684 ; return 0; } | 12718 ; return 0; } |
12685 EOF | 12719 EOF |
12686 if { (eval echo configure:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12720 if { (eval echo configure:12721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12687 rm -rf conftest* | 12721 rm -rf conftest* |
12688 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12722 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12689 Defining HAVE_MULTICAST | 12723 Defining HAVE_MULTICAST |
12690 EOF | 12724 EOF |
12691 cat >> confdefs.h <<\EOF | 12725 cat >> confdefs.h <<\EOF |
12712 echo "$ac_t""no" 1>&6 | 12746 echo "$ac_t""no" 1>&6 |
12713 fi | 12747 fi |
12714 | 12748 |
12715 | 12749 |
12716 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12750 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12717 echo "configure:12718: checking for msgget" >&5 | 12751 echo "configure:12752: checking for msgget" >&5 |
12718 | 12752 |
12719 cat > conftest.$ac_ext <<EOF | 12753 cat > conftest.$ac_ext <<EOF |
12720 #line 12721 "configure" | 12754 #line 12755 "configure" |
12721 #include "confdefs.h" | 12755 #include "confdefs.h" |
12722 /* System header to define __stub macros and hopefully few prototypes, | 12756 /* System header to define __stub macros and hopefully few prototypes, |
12723 which can conflict with char msgget(); below. */ | 12757 which can conflict with char msgget(); below. */ |
12724 #include <assert.h> | 12758 #include <assert.h> |
12725 /* Override any gcc2 internal prototype to avoid an error. */ | 12759 /* Override any gcc2 internal prototype to avoid an error. */ |
12738 msgget(); | 12772 msgget(); |
12739 #endif | 12773 #endif |
12740 | 12774 |
12741 ; return 0; } | 12775 ; return 0; } |
12742 EOF | 12776 EOF |
12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12777 if { (eval echo configure:12778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12744 rm -rf conftest* | 12778 rm -rf conftest* |
12745 eval "ac_cv_func_msgget=yes" | 12779 eval "ac_cv_func_msgget=yes" |
12746 else | 12780 else |
12747 echo "configure: failed program was:" >&5 | 12781 echo "configure: failed program was:" >&5 |
12748 cat conftest.$ac_ext >&5 | 12782 cat conftest.$ac_ext >&5 |
12753 | 12787 |
12754 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12788 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12755 echo "$ac_t""yes" 1>&6 | 12789 echo "$ac_t""yes" 1>&6 |
12756 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12790 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12757 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12791 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12758 echo "configure:12759: checking for sys/ipc.h" >&5 | 12792 echo "configure:12793: checking for sys/ipc.h" >&5 |
12759 | 12793 |
12760 cat > conftest.$ac_ext <<EOF | 12794 cat > conftest.$ac_ext <<EOF |
12761 #line 12762 "configure" | 12795 #line 12796 "configure" |
12762 #include "confdefs.h" | 12796 #include "confdefs.h" |
12763 #include <sys/ipc.h> | 12797 #include <sys/ipc.h> |
12764 EOF | 12798 EOF |
12765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12766 { (eval echo configure:12767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12768 if test -z "$ac_err"; then | 12802 if test -z "$ac_err"; then |
12769 rm -rf conftest* | 12803 rm -rf conftest* |
12770 eval "ac_cv_header_$ac_safe=yes" | 12804 eval "ac_cv_header_$ac_safe=yes" |
12771 else | 12805 else |
12778 rm -f conftest* | 12812 rm -f conftest* |
12779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12813 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12780 echo "$ac_t""yes" 1>&6 | 12814 echo "$ac_t""yes" 1>&6 |
12781 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12815 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12782 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12816 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12783 echo "configure:12784: checking for sys/msg.h" >&5 | 12817 echo "configure:12818: checking for sys/msg.h" >&5 |
12784 | 12818 |
12785 cat > conftest.$ac_ext <<EOF | 12819 cat > conftest.$ac_ext <<EOF |
12786 #line 12787 "configure" | 12820 #line 12821 "configure" |
12787 #include "confdefs.h" | 12821 #include "confdefs.h" |
12788 #include <sys/msg.h> | 12822 #include <sys/msg.h> |
12789 EOF | 12823 EOF |
12790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12791 { (eval echo configure:12792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12825 { (eval echo configure:12826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12793 if test -z "$ac_err"; then | 12827 if test -z "$ac_err"; then |
12794 rm -rf conftest* | 12828 rm -rf conftest* |
12795 eval "ac_cv_header_$ac_safe=yes" | 12829 eval "ac_cv_header_$ac_safe=yes" |
12796 else | 12830 else |
12824 fi | 12858 fi |
12825 | 12859 |
12826 | 12860 |
12827 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12861 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12828 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12862 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12829 echo "configure:12830: checking for dirent.h" >&5 | 12863 echo "configure:12864: checking for dirent.h" >&5 |
12830 | 12864 |
12831 cat > conftest.$ac_ext <<EOF | 12865 cat > conftest.$ac_ext <<EOF |
12832 #line 12833 "configure" | 12866 #line 12867 "configure" |
12833 #include "confdefs.h" | 12867 #include "confdefs.h" |
12834 #include <dirent.h> | 12868 #include <dirent.h> |
12835 EOF | 12869 EOF |
12836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12837 { (eval echo configure:12838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12871 { (eval echo configure:12872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12839 if test -z "$ac_err"; then | 12873 if test -z "$ac_err"; then |
12840 rm -rf conftest* | 12874 rm -rf conftest* |
12841 eval "ac_cv_header_$ac_safe=yes" | 12875 eval "ac_cv_header_$ac_safe=yes" |
12842 else | 12876 else |
12859 | 12893 |
12860 else | 12894 else |
12861 echo "$ac_t""no" 1>&6 | 12895 echo "$ac_t""no" 1>&6 |
12862 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12896 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12863 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12897 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12864 echo "configure:12865: checking for sys/dir.h" >&5 | 12898 echo "configure:12899: checking for sys/dir.h" >&5 |
12865 | 12899 |
12866 cat > conftest.$ac_ext <<EOF | 12900 cat > conftest.$ac_ext <<EOF |
12867 #line 12868 "configure" | 12901 #line 12902 "configure" |
12868 #include "confdefs.h" | 12902 #include "confdefs.h" |
12869 #include <sys/dir.h> | 12903 #include <sys/dir.h> |
12870 EOF | 12904 EOF |
12871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12872 { (eval echo configure:12873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12906 { (eval echo configure:12907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12874 if test -z "$ac_err"; then | 12908 if test -z "$ac_err"; then |
12875 rm -rf conftest* | 12909 rm -rf conftest* |
12876 eval "ac_cv_header_$ac_safe=yes" | 12910 eval "ac_cv_header_$ac_safe=yes" |
12877 else | 12911 else |
12900 fi | 12934 fi |
12901 | 12935 |
12902 | 12936 |
12903 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12937 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12904 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12938 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12905 echo "configure:12906: checking for nlist.h" >&5 | 12939 echo "configure:12940: checking for nlist.h" >&5 |
12906 | 12940 |
12907 cat > conftest.$ac_ext <<EOF | 12941 cat > conftest.$ac_ext <<EOF |
12908 #line 12909 "configure" | 12942 #line 12943 "configure" |
12909 #include "confdefs.h" | 12943 #include "confdefs.h" |
12910 #include <nlist.h> | 12944 #include <nlist.h> |
12911 EOF | 12945 EOF |
12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12947 { (eval echo configure:12948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12915 if test -z "$ac_err"; then | 12949 if test -z "$ac_err"; then |
12916 rm -rf conftest* | 12950 rm -rf conftest* |
12917 eval "ac_cv_header_$ac_safe=yes" | 12951 eval "ac_cv_header_$ac_safe=yes" |
12918 else | 12952 else |
12938 fi | 12972 fi |
12939 | 12973 |
12940 | 12974 |
12941 | 12975 |
12942 echo "checking "for sound support"" 1>&6 | 12976 echo "checking "for sound support"" 1>&6 |
12943 echo "configure:12944: checking "for sound support"" >&5 | 12977 echo "configure:12978: checking "for sound support"" >&5 |
12944 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12978 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12945 | 12979 |
12946 if test "$with_native_sound" != "no"; then | 12980 if test "$with_native_sound" != "no"; then |
12947 if test -n "$native_sound_lib"; then | 12981 if test -n "$native_sound_lib"; then |
12948 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12982 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12949 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12983 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12950 echo "configure:12951: checking for multimedia/audio_device.h" >&5 | 12984 echo "configure:12985: checking for multimedia/audio_device.h" >&5 |
12951 | 12985 |
12952 cat > conftest.$ac_ext <<EOF | 12986 cat > conftest.$ac_ext <<EOF |
12953 #line 12954 "configure" | 12987 #line 12988 "configure" |
12954 #include "confdefs.h" | 12988 #include "confdefs.h" |
12955 #include <multimedia/audio_device.h> | 12989 #include <multimedia/audio_device.h> |
12956 EOF | 12990 EOF |
12957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12958 { (eval echo configure:12959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12992 { (eval echo configure:12993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12960 if test -z "$ac_err"; then | 12994 if test -z "$ac_err"; then |
12961 rm -rf conftest* | 12995 rm -rf conftest* |
12962 eval "ac_cv_header_$ac_safe=yes" | 12996 eval "ac_cv_header_$ac_safe=yes" |
12963 else | 12997 else |
13001 case "$canonical" in | 13035 case "$canonical" in |
13002 *-sgi-* ) | 13036 *-sgi-* ) |
13003 if test -z "$native_sound_lib"; then | 13037 if test -z "$native_sound_lib"; then |
13004 | 13038 |
13005 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13039 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13006 echo "configure:13007: checking for ALopenport in -laudio" >&5 | 13040 echo "configure:13041: checking for ALopenport in -laudio" >&5 |
13007 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13041 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13008 | 13042 |
13009 xe_check_libs=" -laudio " | 13043 xe_check_libs=" -laudio " |
13010 cat > conftest.$ac_ext <<EOF | 13044 cat > conftest.$ac_ext <<EOF |
13011 #line 13012 "configure" | 13045 #line 13046 "configure" |
13012 #include "confdefs.h" | 13046 #include "confdefs.h" |
13013 /* Override any gcc2 internal prototype to avoid an error. */ | 13047 /* Override any gcc2 internal prototype to avoid an error. */ |
13014 /* We use char because int might match the return type of a gcc2 | 13048 /* We use char because int might match the return type of a gcc2 |
13015 builtin and then its argument prototype would still apply. */ | 13049 builtin and then its argument prototype would still apply. */ |
13016 char ALopenport(); | 13050 char ALopenport(); |
13017 | 13051 |
13018 int main() { | 13052 int main() { |
13019 ALopenport() | 13053 ALopenport() |
13020 ; return 0; } | 13054 ; return 0; } |
13021 EOF | 13055 EOF |
13022 if { (eval echo configure:13023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13023 rm -rf conftest* | 13057 rm -rf conftest* |
13024 eval "ac_cv_lib_$ac_lib_var=yes" | 13058 eval "ac_cv_lib_$ac_lib_var=yes" |
13025 else | 13059 else |
13026 echo "configure: failed program was:" >&5 | 13060 echo "configure: failed program was:" >&5 |
13027 cat conftest.$ac_ext >&5 | 13061 cat conftest.$ac_ext >&5 |
13048 fi ;; | 13082 fi ;; |
13049 hppa*-hp-hpux* ) | 13083 hppa*-hp-hpux* ) |
13050 if test -z "$native_sound_lib"; then | 13084 if test -z "$native_sound_lib"; then |
13051 | 13085 |
13052 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13086 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13053 echo "configure:13054: checking for AOpenAudio in -lAlib" >&5 | 13087 echo "configure:13088: checking for AOpenAudio in -lAlib" >&5 |
13054 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13088 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13055 | 13089 |
13056 xe_check_libs=" -lAlib " | 13090 xe_check_libs=" -lAlib " |
13057 cat > conftest.$ac_ext <<EOF | 13091 cat > conftest.$ac_ext <<EOF |
13058 #line 13059 "configure" | 13092 #line 13093 "configure" |
13059 #include "confdefs.h" | 13093 #include "confdefs.h" |
13060 /* Override any gcc2 internal prototype to avoid an error. */ | 13094 /* Override any gcc2 internal prototype to avoid an error. */ |
13061 /* We use char because int might match the return type of a gcc2 | 13095 /* We use char because int might match the return type of a gcc2 |
13062 builtin and then its argument prototype would still apply. */ | 13096 builtin and then its argument prototype would still apply. */ |
13063 char AOpenAudio(); | 13097 char AOpenAudio(); |
13064 | 13098 |
13065 int main() { | 13099 int main() { |
13066 AOpenAudio() | 13100 AOpenAudio() |
13067 ; return 0; } | 13101 ; return 0; } |
13068 EOF | 13102 EOF |
13069 if { (eval echo configure:13070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13103 if { (eval echo configure:13104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13070 rm -rf conftest* | 13104 rm -rf conftest* |
13071 eval "ac_cv_lib_$ac_lib_var=yes" | 13105 eval "ac_cv_lib_$ac_lib_var=yes" |
13072 else | 13106 else |
13073 echo "configure: failed program was:" >&5 | 13107 echo "configure: failed program was:" >&5 |
13074 cat conftest.$ac_ext >&5 | 13108 cat conftest.$ac_ext >&5 |
13102 | 13136 |
13103 if test -z "$sound_found"; then | 13137 if test -z "$sound_found"; then |
13104 for dir in "machine" "sys" "linux"; do | 13138 for dir in "machine" "sys" "linux"; do |
13105 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13139 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13106 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13140 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13107 echo "configure:13108: checking for ${dir}/soundcard.h" >&5 | 13141 echo "configure:13142: checking for ${dir}/soundcard.h" >&5 |
13108 | 13142 |
13109 cat > conftest.$ac_ext <<EOF | 13143 cat > conftest.$ac_ext <<EOF |
13110 #line 13111 "configure" | 13144 #line 13145 "configure" |
13111 #include "confdefs.h" | 13145 #include "confdefs.h" |
13112 #include <${dir}/soundcard.h> | 13146 #include <${dir}/soundcard.h> |
13113 EOF | 13147 EOF |
13114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13115 { (eval echo configure:13116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13149 { (eval echo configure:13150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13117 if test -z "$ac_err"; then | 13151 if test -z "$ac_err"; then |
13118 rm -rf conftest* | 13152 rm -rf conftest* |
13119 eval "ac_cv_header_$ac_safe=yes" | 13153 eval "ac_cv_header_$ac_safe=yes" |
13120 else | 13154 else |
13171 fi | 13205 fi |
13172 | 13206 |
13173 if test "$with_nas_sound" != "no"; then | 13207 if test "$with_nas_sound" != "no"; then |
13174 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13208 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13175 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13209 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13176 echo "configure:13177: checking for audio/audiolib.h" >&5 | 13210 echo "configure:13211: checking for audio/audiolib.h" >&5 |
13177 | 13211 |
13178 cat > conftest.$ac_ext <<EOF | 13212 cat > conftest.$ac_ext <<EOF |
13179 #line 13180 "configure" | 13213 #line 13214 "configure" |
13180 #include "confdefs.h" | 13214 #include "confdefs.h" |
13181 #include <audio/audiolib.h> | 13215 #include <audio/audiolib.h> |
13182 EOF | 13216 EOF |
13183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13184 { (eval echo configure:13185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13218 { (eval echo configure:13219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13186 if test -z "$ac_err"; then | 13220 if test -z "$ac_err"; then |
13187 rm -rf conftest* | 13221 rm -rf conftest* |
13188 eval "ac_cv_header_$ac_safe=yes" | 13222 eval "ac_cv_header_$ac_safe=yes" |
13189 else | 13223 else |
13197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13198 echo "$ac_t""yes" 1>&6 | 13232 echo "$ac_t""yes" 1>&6 |
13199 | 13233 |
13200 | 13234 |
13201 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13235 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13202 echo "configure:13203: checking for AuOpenServer in -laudio" >&5 | 13236 echo "configure:13237: checking for AuOpenServer in -laudio" >&5 |
13203 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13237 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13204 | 13238 |
13205 xe_check_libs=" -laudio " | 13239 xe_check_libs=" -laudio " |
13206 cat > conftest.$ac_ext <<EOF | 13240 cat > conftest.$ac_ext <<EOF |
13207 #line 13208 "configure" | 13241 #line 13242 "configure" |
13208 #include "confdefs.h" | 13242 #include "confdefs.h" |
13209 /* Override any gcc2 internal prototype to avoid an error. */ | 13243 /* Override any gcc2 internal prototype to avoid an error. */ |
13210 /* We use char because int might match the return type of a gcc2 | 13244 /* We use char because int might match the return type of a gcc2 |
13211 builtin and then its argument prototype would still apply. */ | 13245 builtin and then its argument prototype would still apply. */ |
13212 char AuOpenServer(); | 13246 char AuOpenServer(); |
13213 | 13247 |
13214 int main() { | 13248 int main() { |
13215 AuOpenServer() | 13249 AuOpenServer() |
13216 ; return 0; } | 13250 ; return 0; } |
13217 EOF | 13251 EOF |
13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13252 if { (eval echo configure:13253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13219 rm -rf conftest* | 13253 rm -rf conftest* |
13220 eval "ac_cv_lib_$ac_lib_var=yes" | 13254 eval "ac_cv_lib_$ac_lib_var=yes" |
13221 else | 13255 else |
13222 echo "configure: failed program was:" >&5 | 13256 echo "configure: failed program was:" >&5 |
13223 cat conftest.$ac_ext >&5 | 13257 cat conftest.$ac_ext >&5 |
13252 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13286 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13253 echo " xemacs will be linked with \"nas.o\"" | 13287 echo " xemacs will be linked with \"nas.o\"" |
13254 fi | 13288 fi |
13255 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13289 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13256 cat > conftest.$ac_ext <<EOF | 13290 cat > conftest.$ac_ext <<EOF |
13257 #line 13258 "configure" | 13291 #line 13292 "configure" |
13258 #include "confdefs.h" | 13292 #include "confdefs.h" |
13259 #include <audio/Xtutil.h> | 13293 #include <audio/Xtutil.h> |
13260 EOF | 13294 EOF |
13261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13262 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13296 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13283 | 13317 |
13284 if test "$with_esd_sound" != "no"; then | 13318 if test "$with_esd_sound" != "no"; then |
13285 # Extract the first word of "esd-config", so it can be a program name with args. | 13319 # Extract the first word of "esd-config", so it can be a program name with args. |
13286 set dummy esd-config; ac_word=$2 | 13320 set dummy esd-config; ac_word=$2 |
13287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13288 echo "configure:13289: checking for $ac_word" >&5 | 13322 echo "configure:13323: checking for $ac_word" >&5 |
13289 | 13323 |
13290 if test -n "$have_esd_config"; then | 13324 if test -n "$have_esd_config"; then |
13291 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13325 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13292 else | 13326 else |
13293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13312 if test "$have_esd_config" = "yes"; then | 13346 if test "$have_esd_config" = "yes"; then |
13313 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13347 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13314 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13348 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
13315 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13349 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13316 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13350 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13317 echo "configure:13318: checking for esd_play_stream" >&5 | 13351 echo "configure:13352: checking for esd_play_stream" >&5 |
13318 | 13352 |
13319 cat > conftest.$ac_ext <<EOF | 13353 cat > conftest.$ac_ext <<EOF |
13320 #line 13321 "configure" | 13354 #line 13355 "configure" |
13321 #include "confdefs.h" | 13355 #include "confdefs.h" |
13322 /* System header to define __stub macros and hopefully few prototypes, | 13356 /* System header to define __stub macros and hopefully few prototypes, |
13323 which can conflict with char esd_play_stream(); below. */ | 13357 which can conflict with char esd_play_stream(); below. */ |
13324 #include <assert.h> | 13358 #include <assert.h> |
13325 /* Override any gcc2 internal prototype to avoid an error. */ | 13359 /* Override any gcc2 internal prototype to avoid an error. */ |
13338 esd_play_stream(); | 13372 esd_play_stream(); |
13339 #endif | 13373 #endif |
13340 | 13374 |
13341 ; return 0; } | 13375 ; return 0; } |
13342 EOF | 13376 EOF |
13343 if { (eval echo configure:13344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13377 if { (eval echo configure:13378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13344 rm -rf conftest* | 13378 rm -rf conftest* |
13345 eval "ac_cv_func_esd_play_stream=yes" | 13379 eval "ac_cv_func_esd_play_stream=yes" |
13346 else | 13380 else |
13347 echo "configure: failed program was:" >&5 | 13381 echo "configure: failed program was:" >&5 |
13348 cat conftest.$ac_ext >&5 | 13382 cat conftest.$ac_ext >&5 |
13389 | 13423 |
13390 test -z "$with_tty" && with_tty=yes | 13424 test -z "$with_tty" && with_tty=yes |
13391 | 13425 |
13392 if test "$with_tty" = "yes" ; then | 13426 if test "$with_tty" = "yes" ; then |
13393 echo "checking for TTY-related features" 1>&6 | 13427 echo "checking for TTY-related features" 1>&6 |
13394 echo "configure:13395: checking for TTY-related features" >&5 | 13428 echo "configure:13429: checking for TTY-related features" >&5 |
13395 { test "$extra_verbose" = "yes" && cat << \EOF | 13429 { test "$extra_verbose" = "yes" && cat << \EOF |
13396 Defining HAVE_TTY | 13430 Defining HAVE_TTY |
13397 EOF | 13431 EOF |
13398 cat >> confdefs.h <<\EOF | 13432 cat >> confdefs.h <<\EOF |
13399 #define HAVE_TTY 1 | 13433 #define HAVE_TTY 1 |
13405 fi | 13439 fi |
13406 | 13440 |
13407 if test -z "$with_ncurses"; then | 13441 if test -z "$with_ncurses"; then |
13408 | 13442 |
13409 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13443 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13410 echo "configure:13411: checking for tgetent in -lncurses" >&5 | 13444 echo "configure:13445: checking for tgetent in -lncurses" >&5 |
13411 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13445 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13412 | 13446 |
13413 xe_check_libs=" -lncurses " | 13447 xe_check_libs=" -lncurses " |
13414 cat > conftest.$ac_ext <<EOF | 13448 cat > conftest.$ac_ext <<EOF |
13415 #line 13416 "configure" | 13449 #line 13450 "configure" |
13416 #include "confdefs.h" | 13450 #include "confdefs.h" |
13417 /* Override any gcc2 internal prototype to avoid an error. */ | 13451 /* Override any gcc2 internal prototype to avoid an error. */ |
13418 /* We use char because int might match the return type of a gcc2 | 13452 /* We use char because int might match the return type of a gcc2 |
13419 builtin and then its argument prototype would still apply. */ | 13453 builtin and then its argument prototype would still apply. */ |
13420 char tgetent(); | 13454 char tgetent(); |
13421 | 13455 |
13422 int main() { | 13456 int main() { |
13423 tgetent() | 13457 tgetent() |
13424 ; return 0; } | 13458 ; return 0; } |
13425 EOF | 13459 EOF |
13426 if { (eval echo configure:13427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13427 rm -rf conftest* | 13461 rm -rf conftest* |
13428 eval "ac_cv_lib_$ac_lib_var=yes" | 13462 eval "ac_cv_lib_$ac_lib_var=yes" |
13429 else | 13463 else |
13430 echo "configure: failed program was:" >&5 | 13464 echo "configure: failed program was:" >&5 |
13431 cat conftest.$ac_ext >&5 | 13465 cat conftest.$ac_ext >&5 |
13454 EOF | 13488 EOF |
13455 } | 13489 } |
13456 | 13490 |
13457 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13491 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13458 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13492 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13459 echo "configure:13460: checking for ncurses/curses.h" >&5 | 13493 echo "configure:13494: checking for ncurses/curses.h" >&5 |
13460 | 13494 |
13461 cat > conftest.$ac_ext <<EOF | 13495 cat > conftest.$ac_ext <<EOF |
13462 #line 13463 "configure" | 13496 #line 13497 "configure" |
13463 #include "confdefs.h" | 13497 #include "confdefs.h" |
13464 #include <ncurses/curses.h> | 13498 #include <ncurses/curses.h> |
13465 EOF | 13499 EOF |
13466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13467 { (eval echo configure:13468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13501 { (eval echo configure:13502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13469 if test -z "$ac_err"; then | 13503 if test -z "$ac_err"; then |
13470 rm -rf conftest* | 13504 rm -rf conftest* |
13471 eval "ac_cv_header_$ac_safe=yes" | 13505 eval "ac_cv_header_$ac_safe=yes" |
13472 else | 13506 else |
13484 echo "$ac_t""no" 1>&6 | 13518 echo "$ac_t""no" 1>&6 |
13485 fi | 13519 fi |
13486 | 13520 |
13487 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13521 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13488 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13522 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13489 echo "configure:13490: checking for ncurses/term.h" >&5 | 13523 echo "configure:13524: checking for ncurses/term.h" >&5 |
13490 | 13524 |
13491 cat > conftest.$ac_ext <<EOF | 13525 cat > conftest.$ac_ext <<EOF |
13492 #line 13493 "configure" | 13526 #line 13527 "configure" |
13493 #include "confdefs.h" | 13527 #include "confdefs.h" |
13494 #include <ncurses/term.h> | 13528 #include <ncurses/term.h> |
13495 EOF | 13529 EOF |
13496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13497 { (eval echo configure:13498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13531 { (eval echo configure:13532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13499 if test -z "$ac_err"; then | 13533 if test -z "$ac_err"; then |
13500 rm -rf conftest* | 13534 rm -rf conftest* |
13501 eval "ac_cv_header_$ac_safe=yes" | 13535 eval "ac_cv_header_$ac_safe=yes" |
13502 else | 13536 else |
13522 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13556 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13523 save_c_switch_site="$c_switch_site" | 13557 save_c_switch_site="$c_switch_site" |
13524 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13558 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13525 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13559 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13526 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13560 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13527 echo "configure:13528: checking for ncurses/curses.h" >&5 | 13561 echo "configure:13562: checking for ncurses/curses.h" >&5 |
13528 | 13562 |
13529 cat > conftest.$ac_ext <<EOF | 13563 cat > conftest.$ac_ext <<EOF |
13530 #line 13531 "configure" | 13564 #line 13565 "configure" |
13531 #include "confdefs.h" | 13565 #include "confdefs.h" |
13532 #include <ncurses/curses.h> | 13566 #include <ncurses/curses.h> |
13533 EOF | 13567 EOF |
13534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13535 { (eval echo configure:13536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13569 { (eval echo configure:13570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13537 if test -z "$ac_err"; then | 13571 if test -z "$ac_err"; then |
13538 rm -rf conftest* | 13572 rm -rf conftest* |
13539 eval "ac_cv_header_$ac_safe=yes" | 13573 eval "ac_cv_header_$ac_safe=yes" |
13540 else | 13574 else |
13565 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13599 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13566 else | 13600 else |
13567 for lib in curses termlib termcap; do | 13601 for lib in curses termlib termcap; do |
13568 | 13602 |
13569 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13603 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13570 echo "configure:13571: checking for tgetent in -l$lib" >&5 | 13604 echo "configure:13605: checking for tgetent in -l$lib" >&5 |
13571 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13605 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13572 | 13606 |
13573 xe_check_libs=" -l$lib " | 13607 xe_check_libs=" -l$lib " |
13574 cat > conftest.$ac_ext <<EOF | 13608 cat > conftest.$ac_ext <<EOF |
13575 #line 13576 "configure" | 13609 #line 13610 "configure" |
13576 #include "confdefs.h" | 13610 #include "confdefs.h" |
13577 /* Override any gcc2 internal prototype to avoid an error. */ | 13611 /* Override any gcc2 internal prototype to avoid an error. */ |
13578 /* We use char because int might match the return type of a gcc2 | 13612 /* We use char because int might match the return type of a gcc2 |
13579 builtin and then its argument prototype would still apply. */ | 13613 builtin and then its argument prototype would still apply. */ |
13580 char tgetent(); | 13614 char tgetent(); |
13581 | 13615 |
13582 int main() { | 13616 int main() { |
13583 tgetent() | 13617 tgetent() |
13584 ; return 0; } | 13618 ; return 0; } |
13585 EOF | 13619 EOF |
13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13620 if { (eval echo configure:13621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13587 rm -rf conftest* | 13621 rm -rf conftest* |
13588 eval "ac_cv_lib_$ac_lib_var=yes" | 13622 eval "ac_cv_lib_$ac_lib_var=yes" |
13589 else | 13623 else |
13590 echo "configure: failed program was:" >&5 | 13624 echo "configure: failed program was:" >&5 |
13591 cat conftest.$ac_ext >&5 | 13625 cat conftest.$ac_ext >&5 |
13612 if test -n "$libs_termcap"; then | 13646 if test -n "$libs_termcap"; then |
13613 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13647 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13614 else | 13648 else |
13615 | 13649 |
13616 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13650 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13617 echo "configure:13618: checking for tgetent in -lcurses" >&5 | 13651 echo "configure:13652: checking for tgetent in -lcurses" >&5 |
13618 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13652 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13619 | 13653 |
13620 xe_check_libs=" -lcurses " | 13654 xe_check_libs=" -lcurses " |
13621 cat > conftest.$ac_ext <<EOF | 13655 cat > conftest.$ac_ext <<EOF |
13622 #line 13623 "configure" | 13656 #line 13657 "configure" |
13623 #include "confdefs.h" | 13657 #include "confdefs.h" |
13624 /* Override any gcc2 internal prototype to avoid an error. */ | 13658 /* Override any gcc2 internal prototype to avoid an error. */ |
13625 /* We use char because int might match the return type of a gcc2 | 13659 /* We use char because int might match the return type of a gcc2 |
13626 builtin and then its argument prototype would still apply. */ | 13660 builtin and then its argument prototype would still apply. */ |
13627 char tgetent(); | 13661 char tgetent(); |
13628 | 13662 |
13629 int main() { | 13663 int main() { |
13630 tgetent() | 13664 tgetent() |
13631 ; return 0; } | 13665 ; return 0; } |
13632 EOF | 13666 EOF |
13633 if { (eval echo configure:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13634 rm -rf conftest* | 13668 rm -rf conftest* |
13635 eval "ac_cv_lib_$ac_lib_var=yes" | 13669 eval "ac_cv_lib_$ac_lib_var=yes" |
13636 else | 13670 else |
13637 echo "configure: failed program was:" >&5 | 13671 echo "configure: failed program was:" >&5 |
13638 cat conftest.$ac_ext >&5 | 13672 cat conftest.$ac_ext >&5 |
13646 echo "$ac_t""yes" 1>&6 | 13680 echo "$ac_t""yes" 1>&6 |
13647 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13681 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13648 else | 13682 else |
13649 echo "$ac_t""no" 1>&6 | 13683 echo "$ac_t""no" 1>&6 |
13650 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13684 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13651 echo "configure:13652: checking for tgetent in -ltermcap" >&5 | 13685 echo "configure:13686: checking for tgetent in -ltermcap" >&5 |
13652 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13686 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13653 | 13687 |
13654 xe_check_libs=" -ltermcap " | 13688 xe_check_libs=" -ltermcap " |
13655 cat > conftest.$ac_ext <<EOF | 13689 cat > conftest.$ac_ext <<EOF |
13656 #line 13657 "configure" | 13690 #line 13691 "configure" |
13657 #include "confdefs.h" | 13691 #include "confdefs.h" |
13658 /* Override any gcc2 internal prototype to avoid an error. */ | 13692 /* Override any gcc2 internal prototype to avoid an error. */ |
13659 /* We use char because int might match the return type of a gcc2 | 13693 /* We use char because int might match the return type of a gcc2 |
13660 builtin and then its argument prototype would still apply. */ | 13694 builtin and then its argument prototype would still apply. */ |
13661 char tgetent(); | 13695 char tgetent(); |
13662 | 13696 |
13663 int main() { | 13697 int main() { |
13664 tgetent() | 13698 tgetent() |
13665 ; return 0; } | 13699 ; return 0; } |
13666 EOF | 13700 EOF |
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13701 if { (eval echo configure:13702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13668 rm -rf conftest* | 13702 rm -rf conftest* |
13669 eval "ac_cv_lib_$ac_lib_var=yes" | 13703 eval "ac_cv_lib_$ac_lib_var=yes" |
13670 else | 13704 else |
13671 echo "configure: failed program was:" >&5 | 13705 echo "configure: failed program was:" >&5 |
13672 cat conftest.$ac_ext >&5 | 13706 cat conftest.$ac_ext >&5 |
13710 } | 13744 } |
13711 | 13745 |
13712 | 13746 |
13713 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13747 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13714 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13748 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13715 echo "configure:13716: checking for gpm.h" >&5 | 13749 echo "configure:13750: checking for gpm.h" >&5 |
13716 | 13750 |
13717 cat > conftest.$ac_ext <<EOF | 13751 cat > conftest.$ac_ext <<EOF |
13718 #line 13719 "configure" | 13752 #line 13753 "configure" |
13719 #include "confdefs.h" | 13753 #include "confdefs.h" |
13720 #include <gpm.h> | 13754 #include <gpm.h> |
13721 EOF | 13755 EOF |
13722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13723 { (eval echo configure:13724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13725 if test -z "$ac_err"; then | 13759 if test -z "$ac_err"; then |
13726 rm -rf conftest* | 13760 rm -rf conftest* |
13727 eval "ac_cv_header_$ac_safe=yes" | 13761 eval "ac_cv_header_$ac_safe=yes" |
13728 else | 13762 else |
13741 with_gpm=no | 13775 with_gpm=no |
13742 fi | 13776 fi |
13743 } | 13777 } |
13744 test -z "$with_gpm" && { | 13778 test -z "$with_gpm" && { |
13745 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13779 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13746 echo "configure:13747: checking for Gpm_Open in -lgpm" >&5 | 13780 echo "configure:13781: checking for Gpm_Open in -lgpm" >&5 |
13747 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13781 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13748 | 13782 |
13749 xe_check_libs=" -lgpm " | 13783 xe_check_libs=" -lgpm " |
13750 cat > conftest.$ac_ext <<EOF | 13784 cat > conftest.$ac_ext <<EOF |
13751 #line 13752 "configure" | 13785 #line 13786 "configure" |
13752 #include "confdefs.h" | 13786 #include "confdefs.h" |
13753 /* Override any gcc2 internal prototype to avoid an error. */ | 13787 /* Override any gcc2 internal prototype to avoid an error. */ |
13754 /* We use char because int might match the return type of a gcc2 | 13788 /* We use char because int might match the return type of a gcc2 |
13755 builtin and then its argument prototype would still apply. */ | 13789 builtin and then its argument prototype would still apply. */ |
13756 char Gpm_Open(); | 13790 char Gpm_Open(); |
13757 | 13791 |
13758 int main() { | 13792 int main() { |
13759 Gpm_Open() | 13793 Gpm_Open() |
13760 ; return 0; } | 13794 ; return 0; } |
13761 EOF | 13795 EOF |
13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13763 rm -rf conftest* | 13797 rm -rf conftest* |
13764 eval "ac_cv_lib_$ac_lib_var=yes" | 13798 eval "ac_cv_lib_$ac_lib_var=yes" |
13765 else | 13799 else |
13766 echo "configure: failed program was:" >&5 | 13800 echo "configure: failed program was:" >&5 |
13767 cat conftest.$ac_ext >&5 | 13801 cat conftest.$ac_ext >&5 |
13807 fi | 13841 fi |
13808 | 13842 |
13809 | 13843 |
13810 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13844 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13811 != "no no no" && echo "checking for database support" 1>&6 | 13845 != "no no no" && echo "checking for database support" 1>&6 |
13812 echo "configure:13813: checking for database support" >&5 | 13846 echo "configure:13847: checking for database support" >&5 |
13813 | 13847 |
13814 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13848 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13815 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13849 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13816 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13850 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13817 echo "configure:13818: checking for ndbm.h" >&5 | 13851 echo "configure:13852: checking for ndbm.h" >&5 |
13818 | 13852 |
13819 cat > conftest.$ac_ext <<EOF | 13853 cat > conftest.$ac_ext <<EOF |
13820 #line 13821 "configure" | 13854 #line 13855 "configure" |
13821 #include "confdefs.h" | 13855 #include "confdefs.h" |
13822 #include <ndbm.h> | 13856 #include <ndbm.h> |
13823 EOF | 13857 EOF |
13824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13825 { (eval echo configure:13826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13859 { (eval echo configure:13860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13827 if test -z "$ac_err"; then | 13861 if test -z "$ac_err"; then |
13828 rm -rf conftest* | 13862 rm -rf conftest* |
13829 eval "ac_cv_header_$ac_safe=yes" | 13863 eval "ac_cv_header_$ac_safe=yes" |
13830 else | 13864 else |
13850 fi | 13884 fi |
13851 | 13885 |
13852 if test "$with_database_gdbm" != "no"; then | 13886 if test "$with_database_gdbm" != "no"; then |
13853 | 13887 |
13854 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13888 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13855 echo "configure:13856: checking for dbm_open in -lgdbm" >&5 | 13889 echo "configure:13890: checking for dbm_open in -lgdbm" >&5 |
13856 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13890 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13857 | 13891 |
13858 xe_check_libs=" -lgdbm " | 13892 xe_check_libs=" -lgdbm " |
13859 cat > conftest.$ac_ext <<EOF | 13893 cat > conftest.$ac_ext <<EOF |
13860 #line 13861 "configure" | 13894 #line 13895 "configure" |
13861 #include "confdefs.h" | 13895 #include "confdefs.h" |
13862 /* Override any gcc2 internal prototype to avoid an error. */ | 13896 /* Override any gcc2 internal prototype to avoid an error. */ |
13863 /* We use char because int might match the return type of a gcc2 | 13897 /* We use char because int might match the return type of a gcc2 |
13864 builtin and then its argument prototype would still apply. */ | 13898 builtin and then its argument prototype would still apply. */ |
13865 char dbm_open(); | 13899 char dbm_open(); |
13866 | 13900 |
13867 int main() { | 13901 int main() { |
13868 dbm_open() | 13902 dbm_open() |
13869 ; return 0; } | 13903 ; return 0; } |
13870 EOF | 13904 EOF |
13871 if { (eval echo configure:13872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13872 rm -rf conftest* | 13906 rm -rf conftest* |
13873 eval "ac_cv_lib_$ac_lib_var=yes" | 13907 eval "ac_cv_lib_$ac_lib_var=yes" |
13874 else | 13908 else |
13875 echo "configure: failed program was:" >&5 | 13909 echo "configure: failed program was:" >&5 |
13876 cat conftest.$ac_ext >&5 | 13910 cat conftest.$ac_ext >&5 |
13894 | 13928 |
13895 fi | 13929 fi |
13896 | 13930 |
13897 if test "$with_database_dbm" != "no"; then | 13931 if test "$with_database_dbm" != "no"; then |
13898 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13932 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13899 echo "configure:13900: checking for dbm_open" >&5 | 13933 echo "configure:13934: checking for dbm_open" >&5 |
13900 | 13934 |
13901 cat > conftest.$ac_ext <<EOF | 13935 cat > conftest.$ac_ext <<EOF |
13902 #line 13903 "configure" | 13936 #line 13937 "configure" |
13903 #include "confdefs.h" | 13937 #include "confdefs.h" |
13904 /* System header to define __stub macros and hopefully few prototypes, | 13938 /* System header to define __stub macros and hopefully few prototypes, |
13905 which can conflict with char dbm_open(); below. */ | 13939 which can conflict with char dbm_open(); below. */ |
13906 #include <assert.h> | 13940 #include <assert.h> |
13907 /* Override any gcc2 internal prototype to avoid an error. */ | 13941 /* Override any gcc2 internal prototype to avoid an error. */ |
13920 dbm_open(); | 13954 dbm_open(); |
13921 #endif | 13955 #endif |
13922 | 13956 |
13923 ; return 0; } | 13957 ; return 0; } |
13924 EOF | 13958 EOF |
13925 if { (eval echo configure:13926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13959 if { (eval echo configure:13960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13926 rm -rf conftest* | 13960 rm -rf conftest* |
13927 eval "ac_cv_func_dbm_open=yes" | 13961 eval "ac_cv_func_dbm_open=yes" |
13928 else | 13962 else |
13929 echo "configure: failed program was:" >&5 | 13963 echo "configure: failed program was:" >&5 |
13930 cat conftest.$ac_ext >&5 | 13964 cat conftest.$ac_ext >&5 |
13939 else | 13973 else |
13940 echo "$ac_t""no" 1>&6 | 13974 echo "$ac_t""no" 1>&6 |
13941 | 13975 |
13942 | 13976 |
13943 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13977 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13944 echo "configure:13945: checking for dbm_open in -ldbm" >&5 | 13978 echo "configure:13979: checking for dbm_open in -ldbm" >&5 |
13945 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13979 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13946 | 13980 |
13947 xe_check_libs=" -ldbm " | 13981 xe_check_libs=" -ldbm " |
13948 cat > conftest.$ac_ext <<EOF | 13982 cat > conftest.$ac_ext <<EOF |
13949 #line 13950 "configure" | 13983 #line 13984 "configure" |
13950 #include "confdefs.h" | 13984 #include "confdefs.h" |
13951 /* Override any gcc2 internal prototype to avoid an error. */ | 13985 /* Override any gcc2 internal prototype to avoid an error. */ |
13952 /* We use char because int might match the return type of a gcc2 | 13986 /* We use char because int might match the return type of a gcc2 |
13953 builtin and then its argument prototype would still apply. */ | 13987 builtin and then its argument prototype would still apply. */ |
13954 char dbm_open(); | 13988 char dbm_open(); |
13955 | 13989 |
13956 int main() { | 13990 int main() { |
13957 dbm_open() | 13991 dbm_open() |
13958 ; return 0; } | 13992 ; return 0; } |
13959 EOF | 13993 EOF |
13960 if { (eval echo configure:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13994 if { (eval echo configure:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13961 rm -rf conftest* | 13995 rm -rf conftest* |
13962 eval "ac_cv_lib_$ac_lib_var=yes" | 13996 eval "ac_cv_lib_$ac_lib_var=yes" |
13963 else | 13997 else |
13964 echo "configure: failed program was:" >&5 | 13998 echo "configure: failed program was:" >&5 |
13965 cat conftest.$ac_ext >&5 | 13999 cat conftest.$ac_ext >&5 |
13996 } | 14030 } |
13997 | 14031 |
13998 | 14032 |
13999 if test "$with_database_berkdb" != "no"; then | 14033 if test "$with_database_berkdb" != "no"; then |
14000 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14034 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14001 echo "configure:14002: checking for Berkeley db.h" >&5 | 14035 echo "configure:14036: checking for Berkeley db.h" >&5 |
14002 for header in "db/db.h" "db.h"; do | 14036 for header in "db/db.h" "db.h"; do |
14003 cat > conftest.$ac_ext <<EOF | 14037 cat > conftest.$ac_ext <<EOF |
14004 #line 14005 "configure" | 14038 #line 14039 "configure" |
14005 #include "confdefs.h" | 14039 #include "confdefs.h" |
14006 | 14040 |
14007 #include <stdlib.h> | 14041 #include <stdlib.h> |
14008 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14042 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14009 #ifdef HAVE_INTTYPES_H | 14043 #ifdef HAVE_INTTYPES_H |
14021 | 14055 |
14022 int main() { | 14056 int main() { |
14023 | 14057 |
14024 ; return 0; } | 14058 ; return 0; } |
14025 EOF | 14059 EOF |
14026 if { (eval echo configure:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14060 if { (eval echo configure:14061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14027 rm -rf conftest* | 14061 rm -rf conftest* |
14028 db_h_file="$header"; break | 14062 db_h_file="$header"; break |
14029 else | 14063 else |
14030 echo "configure: failed program was:" >&5 | 14064 echo "configure: failed program was:" >&5 |
14031 cat conftest.$ac_ext >&5 | 14065 cat conftest.$ac_ext >&5 |
14037 else echo "$ac_t""$db_h_file" 1>&6 | 14071 else echo "$ac_t""$db_h_file" 1>&6 |
14038 fi | 14072 fi |
14039 | 14073 |
14040 if test "$with_database_berkdb" != "no"; then | 14074 if test "$with_database_berkdb" != "no"; then |
14041 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14075 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14042 echo "configure:14043: checking for Berkeley DB version" >&5 | 14076 echo "configure:14077: checking for Berkeley DB version" >&5 |
14043 cat > conftest.$ac_ext <<EOF | 14077 cat > conftest.$ac_ext <<EOF |
14044 #line 14045 "configure" | 14078 #line 14079 "configure" |
14045 #include "confdefs.h" | 14079 #include "confdefs.h" |
14046 #include <$db_h_file> | 14080 #include <$db_h_file> |
14047 #if DB_VERSION_MAJOR > 1 | 14081 #if DB_VERSION_MAJOR > 1 |
14048 yes | 14082 yes |
14049 #endif | 14083 #endif |
14051 EOF | 14085 EOF |
14052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14053 egrep "yes" >/dev/null 2>&1; then | 14087 egrep "yes" >/dev/null 2>&1; then |
14054 rm -rf conftest* | 14088 rm -rf conftest* |
14055 cat > conftest.$ac_ext <<EOF | 14089 cat > conftest.$ac_ext <<EOF |
14056 #line 14057 "configure" | 14090 #line 14091 "configure" |
14057 #include "confdefs.h" | 14091 #include "confdefs.h" |
14058 #include <$db_h_file> | 14092 #include <$db_h_file> |
14059 #if DB_VERSION_MAJOR > 2 | 14093 #if DB_VERSION_MAJOR > 2 |
14060 yes | 14094 yes |
14061 #endif | 14095 #endif |
14078 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14112 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14079 fi | 14113 fi |
14080 rm -f conftest* | 14114 rm -f conftest* |
14081 | 14115 |
14082 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14116 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14083 echo "configure:14084: checking for $dbfunc" >&5 | 14117 echo "configure:14118: checking for $dbfunc" >&5 |
14084 | 14118 |
14085 cat > conftest.$ac_ext <<EOF | 14119 cat > conftest.$ac_ext <<EOF |
14086 #line 14087 "configure" | 14120 #line 14121 "configure" |
14087 #include "confdefs.h" | 14121 #include "confdefs.h" |
14088 /* System header to define __stub macros and hopefully few prototypes, | 14122 /* System header to define __stub macros and hopefully few prototypes, |
14089 which can conflict with char $dbfunc(); below. */ | 14123 which can conflict with char $dbfunc(); below. */ |
14090 #include <assert.h> | 14124 #include <assert.h> |
14091 /* Override any gcc2 internal prototype to avoid an error. */ | 14125 /* Override any gcc2 internal prototype to avoid an error. */ |
14104 $dbfunc(); | 14138 $dbfunc(); |
14105 #endif | 14139 #endif |
14106 | 14140 |
14107 ; return 0; } | 14141 ; return 0; } |
14108 EOF | 14142 EOF |
14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14110 rm -rf conftest* | 14144 rm -rf conftest* |
14111 eval "ac_cv_func_$dbfunc=yes" | 14145 eval "ac_cv_func_$dbfunc=yes" |
14112 else | 14146 else |
14113 echo "configure: failed program was:" >&5 | 14147 echo "configure: failed program was:" >&5 |
14114 cat conftest.$ac_ext >&5 | 14148 cat conftest.$ac_ext >&5 |
14123 else | 14157 else |
14124 echo "$ac_t""no" 1>&6 | 14158 echo "$ac_t""no" 1>&6 |
14125 | 14159 |
14126 | 14160 |
14127 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14161 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14128 echo "configure:14129: checking for $dbfunc in -ldb" >&5 | 14162 echo "configure:14163: checking for $dbfunc in -ldb" >&5 |
14129 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14163 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14130 | 14164 |
14131 xe_check_libs=" -ldb " | 14165 xe_check_libs=" -ldb " |
14132 cat > conftest.$ac_ext <<EOF | 14166 cat > conftest.$ac_ext <<EOF |
14133 #line 14134 "configure" | 14167 #line 14168 "configure" |
14134 #include "confdefs.h" | 14168 #include "confdefs.h" |
14135 /* Override any gcc2 internal prototype to avoid an error. */ | 14169 /* Override any gcc2 internal prototype to avoid an error. */ |
14136 /* We use char because int might match the return type of a gcc2 | 14170 /* We use char because int might match the return type of a gcc2 |
14137 builtin and then its argument prototype would still apply. */ | 14171 builtin and then its argument prototype would still apply. */ |
14138 char $dbfunc(); | 14172 char $dbfunc(); |
14139 | 14173 |
14140 int main() { | 14174 int main() { |
14141 $dbfunc() | 14175 $dbfunc() |
14142 ; return 0; } | 14176 ; return 0; } |
14143 EOF | 14177 EOF |
14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14178 if { (eval echo configure:14179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14145 rm -rf conftest* | 14179 rm -rf conftest* |
14146 eval "ac_cv_lib_$ac_lib_var=yes" | 14180 eval "ac_cv_lib_$ac_lib_var=yes" |
14147 else | 14181 else |
14148 echo "configure: failed program was:" >&5 | 14182 echo "configure: failed program was:" >&5 |
14149 cat conftest.$ac_ext >&5 | 14183 cat conftest.$ac_ext >&5 |
14203 fi | 14237 fi |
14204 | 14238 |
14205 if test "$with_socks" = "yes"; then | 14239 if test "$with_socks" = "yes"; then |
14206 | 14240 |
14207 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14241 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14208 echo "configure:14209: checking for SOCKSinit in -lsocks" >&5 | 14242 echo "configure:14243: checking for SOCKSinit in -lsocks" >&5 |
14209 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14243 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14210 | 14244 |
14211 xe_check_libs=" -lsocks " | 14245 xe_check_libs=" -lsocks " |
14212 cat > conftest.$ac_ext <<EOF | 14246 cat > conftest.$ac_ext <<EOF |
14213 #line 14214 "configure" | 14247 #line 14248 "configure" |
14214 #include "confdefs.h" | 14248 #include "confdefs.h" |
14215 /* Override any gcc2 internal prototype to avoid an error. */ | 14249 /* Override any gcc2 internal prototype to avoid an error. */ |
14216 /* We use char because int might match the return type of a gcc2 | 14250 /* We use char because int might match the return type of a gcc2 |
14217 builtin and then its argument prototype would still apply. */ | 14251 builtin and then its argument prototype would still apply. */ |
14218 char SOCKSinit(); | 14252 char SOCKSinit(); |
14219 | 14253 |
14220 int main() { | 14254 int main() { |
14221 SOCKSinit() | 14255 SOCKSinit() |
14222 ; return 0; } | 14256 ; return 0; } |
14223 EOF | 14257 EOF |
14224 if { (eval echo configure:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14225 rm -rf conftest* | 14259 rm -rf conftest* |
14226 eval "ac_cv_lib_$ac_lib_var=yes" | 14260 eval "ac_cv_lib_$ac_lib_var=yes" |
14227 else | 14261 else |
14228 echo "configure: failed program was:" >&5 | 14262 echo "configure: failed program was:" >&5 |
14229 cat conftest.$ac_ext >&5 | 14263 cat conftest.$ac_ext >&5 |
14274 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14308 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14275 fi | 14309 fi |
14276 | 14310 |
14277 if test "$with_modules" != "no"; then | 14311 if test "$with_modules" != "no"; then |
14278 echo "checking for module support" 1>&6 | 14312 echo "checking for module support" 1>&6 |
14279 echo "configure:14280: checking for module support" >&5 | 14313 echo "configure:14314: checking for module support" >&5 |
14280 | 14314 |
14281 if test "$with_msw" = "yes"; then | 14315 if test "$with_msw" = "yes"; then |
14282 have_dl=yes; | 14316 have_dl=yes; |
14283 else | 14317 else |
14284 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14318 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14285 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14319 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14286 echo "configure:14287: checking for dlfcn.h" >&5 | 14320 echo "configure:14321: checking for dlfcn.h" >&5 |
14287 | 14321 |
14288 cat > conftest.$ac_ext <<EOF | 14322 cat > conftest.$ac_ext <<EOF |
14289 #line 14290 "configure" | 14323 #line 14324 "configure" |
14290 #include "confdefs.h" | 14324 #include "confdefs.h" |
14291 #include <dlfcn.h> | 14325 #include <dlfcn.h> |
14292 EOF | 14326 EOF |
14293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14294 { (eval echo configure:14295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14328 { (eval echo configure:14329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14296 if test -z "$ac_err"; then | 14330 if test -z "$ac_err"; then |
14297 rm -rf conftest* | 14331 rm -rf conftest* |
14298 eval "ac_cv_header_$ac_safe=yes" | 14332 eval "ac_cv_header_$ac_safe=yes" |
14299 else | 14333 else |
14306 rm -f conftest* | 14340 rm -f conftest* |
14307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14308 echo "$ac_t""yes" 1>&6 | 14342 echo "$ac_t""yes" 1>&6 |
14309 | 14343 |
14310 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14344 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14311 echo "configure:14312: checking for dlopen in -lc" >&5 | 14345 echo "configure:14346: checking for dlopen in -lc" >&5 |
14312 cat > conftest.$ac_ext <<EOF | 14346 cat > conftest.$ac_ext <<EOF |
14313 #line 14314 "configure" | 14347 #line 14348 "configure" |
14314 #include "confdefs.h" | 14348 #include "confdefs.h" |
14315 #include <dlfcn.h> | 14349 #include <dlfcn.h> |
14316 int main() { | 14350 int main() { |
14317 dlopen ("", 0); | 14351 dlopen ("", 0); |
14318 ; return 0; } | 14352 ; return 0; } |
14319 EOF | 14353 EOF |
14320 if { (eval echo configure:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14354 if { (eval echo configure:14355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14321 rm -rf conftest* | 14355 rm -rf conftest* |
14322 have_dl=yes | 14356 have_dl=yes |
14323 else | 14357 else |
14324 echo "configure: failed program was:" >&5 | 14358 echo "configure: failed program was:" >&5 |
14325 cat conftest.$ac_ext >&5 | 14359 cat conftest.$ac_ext >&5 |
14326 rm -rf conftest* | 14360 rm -rf conftest* |
14327 | 14361 |
14328 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14362 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14329 echo "configure:14330: checking for dlopen in -ldl" >&5 | 14363 echo "configure:14364: checking for dlopen in -ldl" >&5 |
14330 ac_save_LIBS="$LIBS" | 14364 ac_save_LIBS="$LIBS" |
14331 LIBS="-ldl $LIBS" | 14365 LIBS="-ldl $LIBS" |
14332 cat > conftest.$ac_ext <<EOF | 14366 cat > conftest.$ac_ext <<EOF |
14333 #line 14334 "configure" | 14367 #line 14368 "configure" |
14334 #include "confdefs.h" | 14368 #include "confdefs.h" |
14335 #include <dlfcn.h> | 14369 #include <dlfcn.h> |
14336 int main() { | 14370 int main() { |
14337 dlopen ("", 0); | 14371 dlopen ("", 0); |
14338 ; return 0; } | 14372 ; return 0; } |
14339 EOF | 14373 EOF |
14340 if { (eval echo configure:14341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14374 if { (eval echo configure:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14341 rm -rf conftest* | 14375 rm -rf conftest* |
14342 have_dl=yes | 14376 have_dl=yes |
14343 else | 14377 else |
14344 echo "configure: failed program was:" >&5 | 14378 echo "configure: failed program was:" >&5 |
14345 cat conftest.$ac_ext >&5 | 14379 cat conftest.$ac_ext >&5 |
14364 } | 14398 } |
14365 | 14399 |
14366 else | 14400 else |
14367 | 14401 |
14368 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14402 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14369 echo "configure:14370: checking for shl_load in -ldld" >&5 | 14403 echo "configure:14404: checking for shl_load in -ldld" >&5 |
14370 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14404 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14371 | 14405 |
14372 xe_check_libs=" -ldld " | 14406 xe_check_libs=" -ldld " |
14373 cat > conftest.$ac_ext <<EOF | 14407 cat > conftest.$ac_ext <<EOF |
14374 #line 14375 "configure" | 14408 #line 14409 "configure" |
14375 #include "confdefs.h" | 14409 #include "confdefs.h" |
14376 /* Override any gcc2 internal prototype to avoid an error. */ | 14410 /* Override any gcc2 internal prototype to avoid an error. */ |
14377 /* We use char because int might match the return type of a gcc2 | 14411 /* We use char because int might match the return type of a gcc2 |
14378 builtin and then its argument prototype would still apply. */ | 14412 builtin and then its argument prototype would still apply. */ |
14379 char shl_load(); | 14413 char shl_load(); |
14380 | 14414 |
14381 int main() { | 14415 int main() { |
14382 shl_load() | 14416 shl_load() |
14383 ; return 0; } | 14417 ; return 0; } |
14384 EOF | 14418 EOF |
14385 if { (eval echo configure:14386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14419 if { (eval echo configure:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14386 rm -rf conftest* | 14420 rm -rf conftest* |
14387 eval "ac_cv_lib_$ac_lib_var=yes" | 14421 eval "ac_cv_lib_$ac_lib_var=yes" |
14388 else | 14422 else |
14389 echo "configure: failed program was:" >&5 | 14423 echo "configure: failed program was:" >&5 |
14390 cat conftest.$ac_ext >&5 | 14424 cat conftest.$ac_ext >&5 |
14407 | 14441 |
14408 else | 14442 else |
14409 echo "$ac_t""no" 1>&6 | 14443 echo "$ac_t""no" 1>&6 |
14410 | 14444 |
14411 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14445 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14412 echo "configure:14413: checking for dld_init in -ldld" >&5 | 14446 echo "configure:14447: checking for dld_init in -ldld" >&5 |
14413 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14447 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14414 | 14448 |
14415 xe_check_libs=" -ldld " | 14449 xe_check_libs=" -ldld " |
14416 cat > conftest.$ac_ext <<EOF | 14450 cat > conftest.$ac_ext <<EOF |
14417 #line 14418 "configure" | 14451 #line 14452 "configure" |
14418 #include "confdefs.h" | 14452 #include "confdefs.h" |
14419 /* Override any gcc2 internal prototype to avoid an error. */ | 14453 /* Override any gcc2 internal prototype to avoid an error. */ |
14420 /* We use char because int might match the return type of a gcc2 | 14454 /* We use char because int might match the return type of a gcc2 |
14421 builtin and then its argument prototype would still apply. */ | 14455 builtin and then its argument prototype would still apply. */ |
14422 char dld_init(); | 14456 char dld_init(); |
14423 | 14457 |
14424 int main() { | 14458 int main() { |
14425 dld_init() | 14459 dld_init() |
14426 ; return 0; } | 14460 ; return 0; } |
14427 EOF | 14461 EOF |
14428 if { (eval echo configure:14429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14462 if { (eval echo configure:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14429 rm -rf conftest* | 14463 rm -rf conftest* |
14430 eval "ac_cv_lib_$ac_lib_var=yes" | 14464 eval "ac_cv_lib_$ac_lib_var=yes" |
14431 else | 14465 else |
14432 echo "configure: failed program was:" >&5 | 14466 echo "configure: failed program was:" >&5 |
14433 cat conftest.$ac_ext >&5 | 14467 cat conftest.$ac_ext >&5 |
14468 ld_dynamic_link_flags= | 14502 ld_dynamic_link_flags= |
14469 xehost=$canonical | 14503 xehost=$canonical |
14470 xealias=$internal_configuration | 14504 xealias=$internal_configuration |
14471 | 14505 |
14472 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14506 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14473 echo "configure:14474: checking how to build dynamic libraries for ${xehost}" >&5 | 14507 echo "configure:14508: checking how to build dynamic libraries for ${xehost}" >&5 |
14474 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14508 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14475 case "$xehost" in | 14509 case "$xehost" in |
14476 *-*-linux-gnu*) ;; | 14510 *-*-linux-gnu*) ;; |
14477 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14511 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14478 esac | 14512 esac |
14496 # Now see if the compiler is really GCC. | 14530 # Now see if the compiler is really GCC. |
14497 if test "$GCC" = "yes"; then | 14531 if test "$GCC" = "yes"; then |
14498 XEGCC=yes | 14532 XEGCC=yes |
14499 else | 14533 else |
14500 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14534 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14501 echo "configure:14502: checking checking whether we are using GNU C" >&5 | 14535 echo "configure:14536: checking checking whether we are using GNU C" >&5 |
14502 cat > conftest.$ac_ext <<EOF | 14536 cat > conftest.$ac_ext <<EOF |
14503 #line 14504 "configure" | 14537 #line 14538 "configure" |
14504 #include "confdefs.h" | 14538 #include "confdefs.h" |
14505 | 14539 |
14506 #ifdef __GNUC__ | 14540 #ifdef __GNUC__ |
14507 yes; | 14541 yes; |
14508 #endif | 14542 #endif |
14520 | 14554 |
14521 echo "$ac_t""${XEGCC}" 1>&6 | 14555 echo "$ac_t""${XEGCC}" 1>&6 |
14522 fi | 14556 fi |
14523 | 14557 |
14524 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14558 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14525 echo "configure:14526: checking how to produce PIC code" >&5 | 14559 echo "configure:14560: checking how to produce PIC code" >&5 |
14526 wl= | 14560 wl= |
14527 | 14561 |
14528 can_build_shared=yes | 14562 can_build_shared=yes |
14529 if test "$XEGCC" = yes; then | 14563 if test "$XEGCC" = yes; then |
14530 wl='-Wl,' | 14564 wl='-Wl,' |
14621 if test -n "$dll_cflags"; then | 14655 if test -n "$dll_cflags"; then |
14622 echo "$ac_t""${dll_cflags}" 1>&6 | 14656 echo "$ac_t""${dll_cflags}" 1>&6 |
14623 | 14657 |
14624 # Check to make sure the dll_cflags actually works. | 14658 # Check to make sure the dll_cflags actually works. |
14625 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14659 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14626 echo "configure:14627: checking if PIC flag ${dll_cflags} really works" >&5 | 14660 echo "configure:14661: checking if PIC flag ${dll_cflags} really works" >&5 |
14627 save_CFLAGS="$CFLAGS" | 14661 save_CFLAGS="$CFLAGS" |
14628 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14662 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14629 cat > conftest.$ac_ext <<EOF | 14663 cat > conftest.$ac_ext <<EOF |
14630 #line 14631 "configure" | 14664 #line 14665 "configure" |
14631 #include "confdefs.h" | 14665 #include "confdefs.h" |
14632 | 14666 |
14633 int main() { | 14667 int main() { |
14634 int x=0; | 14668 int x=0; |
14635 ; return 0; } | 14669 ; return 0; } |
14636 EOF | 14670 EOF |
14637 if { (eval echo configure:14638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14671 if { (eval echo configure:14672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14638 rm -rf conftest* | 14672 rm -rf conftest* |
14639 | 14673 |
14640 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14674 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14641 # reports no error. So, we need to grep stderr for (Bundled). | 14675 # reports no error. So, we need to grep stderr for (Bundled). |
14642 if grep '(Bundled)' config.log >/dev/null; then | 14676 if grep '(Bundled)' config.log >/dev/null; then |
14663 if test "$can_build_shared" = "yes"; then | 14697 if test "$can_build_shared" = "yes"; then |
14664 cc_produces_so=no | 14698 cc_produces_so=no |
14665 xldf= | 14699 xldf= |
14666 xcldf= | 14700 xcldf= |
14667 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14701 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14668 echo "configure:14669: checking if C compiler can produce shared libraries" >&5 | 14702 echo "configure:14703: checking if C compiler can produce shared libraries" >&5 |
14669 if test "$XEGCC" = yes; then | 14703 if test "$XEGCC" = yes; then |
14670 xcldf="-shared" | 14704 xcldf="-shared" |
14671 xldf="-shared" | 14705 xldf="-shared" |
14672 else # Not using GCC | 14706 else # Not using GCC |
14673 case "$xehost_os" in | 14707 case "$xehost_os" in |
14714 LDFLAGS="$xcldf $LDFLAGS" | 14748 LDFLAGS="$xcldf $LDFLAGS" |
14715 LIBS= | 14749 LIBS= |
14716 xe_libs= | 14750 xe_libs= |
14717 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14751 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14718 cat > conftest.$ac_ext <<EOF | 14752 cat > conftest.$ac_ext <<EOF |
14719 #line 14720 "configure" | 14753 #line 14754 "configure" |
14720 #include "confdefs.h" | 14754 #include "confdefs.h" |
14721 | 14755 |
14722 int main() { | 14756 int main() { |
14723 int x=0; | 14757 int x=0; |
14724 ; return 0; } | 14758 ; return 0; } |
14725 EOF | 14759 EOF |
14726 if { (eval echo configure:14727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14760 if { (eval echo configure:14761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14727 rm -rf conftest* | 14761 rm -rf conftest* |
14728 cc_produces_so=yes | 14762 cc_produces_so=yes |
14729 else | 14763 else |
14730 echo "configure: failed program was:" >&5 | 14764 echo "configure: failed program was:" >&5 |
14731 cat conftest.$ac_ext >&5 | 14765 cat conftest.$ac_ext >&5 |
14746 if test -z "$LTLD"; then | 14780 if test -z "$LTLD"; then |
14747 ac_prog=ld | 14781 ac_prog=ld |
14748 if test "$XEGCC" = yes; then | 14782 if test "$XEGCC" = yes; then |
14749 # Check if gcc -print-prog-name=ld gives a path. | 14783 # Check if gcc -print-prog-name=ld gives a path. |
14750 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14784 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14751 echo "configure:14752: checking for ld used by GCC" >&5 | 14785 echo "configure:14786: checking for ld used by GCC" >&5 |
14752 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14786 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14753 case "$ac_prog" in | 14787 case "$ac_prog" in |
14754 # Accept absolute paths. | 14788 # Accept absolute paths. |
14755 /*) | 14789 /*) |
14756 if test -z "$LTLD"; then | 14790 if test -z "$LTLD"; then |
14771 with_gnu_ld=unknown | 14805 with_gnu_ld=unknown |
14772 ;; | 14806 ;; |
14773 esac | 14807 esac |
14774 else | 14808 else |
14775 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14809 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14776 echo "configure:14777: checking for GNU ld" >&5 | 14810 echo "configure:14811: checking for GNU ld" >&5 |
14777 fi | 14811 fi |
14778 | 14812 |
14779 if test -z "$LTLD"; then | 14813 if test -z "$LTLD"; then |
14780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14781 for ac_dir in $PATH; do | 14815 for ac_dir in $PATH; do |
14809 | 14843 |
14810 ld_dynamic_link_flags= | 14844 ld_dynamic_link_flags= |
14811 | 14845 |
14812 # Check to see if it really is or isn't GNU ld. | 14846 # Check to see if it really is or isn't GNU ld. |
14813 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14847 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14814 echo "configure:14815: checking if the linker is GNU ld" >&5 | 14848 echo "configure:14849: checking if the linker is GNU ld" >&5 |
14815 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14849 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14816 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14850 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14817 xe_gnu_ld=yes | 14851 xe_gnu_ld=yes |
14818 else | 14852 else |
14819 xe_gnu_ld=no | 14853 xe_gnu_ld=no |
14837 ld_shlibs=yes | 14871 ld_shlibs=yes |
14838 else | 14872 else |
14839 # OK - only NOW do we futz about with ld. | 14873 # OK - only NOW do we futz about with ld. |
14840 # See if the linker supports building shared libraries. | 14874 # See if the linker supports building shared libraries. |
14841 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14875 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14842 echo "configure:14843: checking whether the linker supports shared libraries" >&5 | 14876 echo "configure:14877: checking whether the linker supports shared libraries" >&5 |
14843 dll_ld=$CC | 14877 dll_ld=$CC |
14844 dll_ldflags=$LDFLAGS | 14878 dll_ldflags=$LDFLAGS |
14845 ld_shlibs=yes | 14879 ld_shlibs=yes |
14846 can_build_shared=yes | 14880 can_build_shared=yes |
14847 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14881 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15048 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15082 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15049 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15083 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15050 for ac_func in dlerror _dlerror | 15084 for ac_func in dlerror _dlerror |
15051 do | 15085 do |
15052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15053 echo "configure:15054: checking for $ac_func" >&5 | 15087 echo "configure:15088: checking for $ac_func" >&5 |
15054 | 15088 |
15055 cat > conftest.$ac_ext <<EOF | 15089 cat > conftest.$ac_ext <<EOF |
15056 #line 15057 "configure" | 15090 #line 15091 "configure" |
15057 #include "confdefs.h" | 15091 #include "confdefs.h" |
15058 /* System header to define __stub macros and hopefully few prototypes, | 15092 /* System header to define __stub macros and hopefully few prototypes, |
15059 which can conflict with char $ac_func(); below. */ | 15093 which can conflict with char $ac_func(); below. */ |
15060 #include <assert.h> | 15094 #include <assert.h> |
15061 /* Override any gcc2 internal prototype to avoid an error. */ | 15095 /* Override any gcc2 internal prototype to avoid an error. */ |
15074 $ac_func(); | 15108 $ac_func(); |
15075 #endif | 15109 #endif |
15076 | 15110 |
15077 ; return 0; } | 15111 ; return 0; } |
15078 EOF | 15112 EOF |
15079 if { (eval echo configure:15080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15113 if { (eval echo configure:15114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15080 rm -rf conftest* | 15114 rm -rf conftest* |
15081 eval "ac_cv_func_$ac_func=yes" | 15115 eval "ac_cv_func_$ac_func=yes" |
15082 else | 15116 else |
15083 echo "configure: failed program was:" >&5 | 15117 echo "configure: failed program was:" >&5 |
15084 cat conftest.$ac_ext >&5 | 15118 cat conftest.$ac_ext >&5 |
15113 with_modules=no | 15147 with_modules=no |
15114 fi | 15148 fi |
15115 fi | 15149 fi |
15116 | 15150 |
15117 cat > conftest.$ac_ext <<EOF | 15151 cat > conftest.$ac_ext <<EOF |
15118 #line 15119 "configure" | 15152 #line 15153 "configure" |
15119 #include "confdefs.h" | 15153 #include "confdefs.h" |
15120 int main(int c,char *v[]){return 0;} | 15154 int main(int c,char *v[]){return 0;} |
15121 EOF | 15155 EOF |
15122 if { (eval echo configure:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15156 if { (eval echo configure:15157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15123 then | 15157 then |
15124 : | 15158 : |
15125 else | 15159 else |
15126 conftest_rc="$?" | 15160 conftest_rc="$?" |
15127 echo "configure: failed program was:" >&5 | 15161 echo "configure: failed program was:" >&5 |