Mercurial > hg > xemacs-beta
comparison configure @ 551:e9a3f8b4de53
[xemacs-hg @ 2001-05-21 05:26:06 by martinb]
realloc() handling on sunos4; remove lwlib-config kludge
author | martinb |
---|---|
date | Mon, 21 May 2001 05:26:51 +0000 |
parents | 836d476763d0 |
children | 5c6dc7d576ad |
comparison
equal
deleted
inserted
replaced
550:1638aacf421d | 551:e9a3f8b4de53 |
---|---|
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 | |
3336 # Extract the first word of "ranlib", so it can be a program name with args. | 3302 # Extract the first word of "ranlib", so it can be a program name with args. |
3337 set dummy ranlib; ac_word=$2 | 3303 set dummy ranlib; ac_word=$2 |
3338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3339 echo "configure:3340: checking for $ac_word" >&5 | 3305 echo "configure:3306: checking for $ac_word" >&5 |
3340 | 3306 |
3341 if test -n "$RANLIB"; then | 3307 if test -n "$RANLIB"; then |
3342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3343 else | 3309 else |
3344 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3392 # ./install, which can be erroneously created by make from ./install.sh. | 3358 # ./install, which can be erroneously created by make from ./install.sh. |
3393 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3359 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3394 echo "configure:3395: checking for a BSD compatible install" >&5 | 3360 echo "configure:3361: checking for a BSD compatible install" >&5 |
3395 if test -z "$INSTALL"; then | 3361 if test -z "$INSTALL"; then |
3396 | 3362 |
3397 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3363 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3398 for ac_dir in $PATH; do | 3364 for ac_dir in $PATH; do |
3399 # Account for people who put trailing slashes in PATH elements. | 3365 # Account for people who put trailing slashes in PATH elements. |
3443 for ac_prog in 'bison -y' byacc | 3409 for ac_prog in 'bison -y' byacc |
3444 do | 3410 do |
3445 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3411 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3446 set dummy $ac_prog; ac_word=$2 | 3412 set dummy $ac_prog; ac_word=$2 |
3447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3448 echo "configure:3449: checking for $ac_word" >&5 | 3414 echo "configure:3415: checking for $ac_word" >&5 |
3449 | 3415 |
3450 if test -n "$YACC"; then | 3416 if test -n "$YACC"; then |
3451 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3417 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3452 else | 3418 else |
3453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3475 | 3441 |
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 | 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 |
3477 do | 3443 do |
3478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3480 echo "configure:3481: checking for $ac_hdr" >&5 | 3446 echo "configure:3447: checking for $ac_hdr" >&5 |
3481 | 3447 |
3482 cat > conftest.$ac_ext <<EOF | 3448 cat > conftest.$ac_ext <<EOF |
3483 #line 3484 "configure" | 3449 #line 3450 "configure" |
3484 #include "confdefs.h" | 3450 #include "confdefs.h" |
3485 #include <$ac_hdr> | 3451 #include <$ac_hdr> |
3486 EOF | 3452 EOF |
3487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3488 { (eval echo configure:3489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3454 { (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3490 if test -z "$ac_err"; then | 3456 if test -z "$ac_err"; then |
3491 rm -rf conftest* | 3457 rm -rf conftest* |
3492 eval "ac_cv_header_$ac_safe=yes" | 3458 eval "ac_cv_header_$ac_safe=yes" |
3493 else | 3459 else |
3513 echo "$ac_t""no" 1>&6 | 3479 echo "$ac_t""no" 1>&6 |
3514 fi | 3480 fi |
3515 done | 3481 done |
3516 | 3482 |
3517 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3483 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3518 echo "configure:3519: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3484 echo "configure:3485: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3519 | 3485 |
3520 cat > conftest.$ac_ext <<EOF | 3486 cat > conftest.$ac_ext <<EOF |
3521 #line 3522 "configure" | 3487 #line 3488 "configure" |
3522 #include "confdefs.h" | 3488 #include "confdefs.h" |
3523 #include <sys/types.h> | 3489 #include <sys/types.h> |
3524 #include <sys/wait.h> | 3490 #include <sys/wait.h> |
3525 #ifndef WEXITSTATUS | 3491 #ifndef WEXITSTATUS |
3526 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3492 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3532 int s; | 3498 int s; |
3533 wait (&s); | 3499 wait (&s); |
3534 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3500 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3535 ; return 0; } | 3501 ; return 0; } |
3536 EOF | 3502 EOF |
3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3538 rm -rf conftest* | 3504 rm -rf conftest* |
3539 ac_cv_header_sys_wait_h=yes | 3505 ac_cv_header_sys_wait_h=yes |
3540 else | 3506 else |
3541 echo "configure: failed program was:" >&5 | 3507 echo "configure: failed program was:" >&5 |
3542 cat conftest.$ac_ext >&5 | 3508 cat conftest.$ac_ext >&5 |
3556 } | 3522 } |
3557 | 3523 |
3558 fi | 3524 fi |
3559 | 3525 |
3560 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3526 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3561 echo "configure:3562: checking for ANSI C header files" >&5 | 3527 echo "configure:3528: checking for ANSI C header files" >&5 |
3562 | 3528 |
3563 cat > conftest.$ac_ext <<EOF | 3529 cat > conftest.$ac_ext <<EOF |
3564 #line 3565 "configure" | 3530 #line 3531 "configure" |
3565 #include "confdefs.h" | 3531 #include "confdefs.h" |
3566 #include <stdlib.h> | 3532 #include <stdlib.h> |
3567 #include <stdarg.h> | 3533 #include <stdarg.h> |
3568 #include <string.h> | 3534 #include <string.h> |
3569 #include <float.h> | 3535 #include <float.h> |
3570 EOF | 3536 EOF |
3571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3572 { (eval echo configure:3573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3538 { (eval echo configure:3539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3574 if test -z "$ac_err"; then | 3540 if test -z "$ac_err"; then |
3575 rm -rf conftest* | 3541 rm -rf conftest* |
3576 ac_cv_header_stdc=yes | 3542 ac_cv_header_stdc=yes |
3577 else | 3543 else |
3584 rm -f conftest* | 3550 rm -f conftest* |
3585 | 3551 |
3586 if test $ac_cv_header_stdc = yes; then | 3552 if test $ac_cv_header_stdc = yes; then |
3587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3588 cat > conftest.$ac_ext <<EOF | 3554 cat > conftest.$ac_ext <<EOF |
3589 #line 3590 "configure" | 3555 #line 3556 "configure" |
3590 #include "confdefs.h" | 3556 #include "confdefs.h" |
3591 #include <string.h> | 3557 #include <string.h> |
3592 EOF | 3558 EOF |
3593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3594 egrep "memchr" >/dev/null 2>&1; then | 3560 egrep "memchr" >/dev/null 2>&1; then |
3602 fi | 3568 fi |
3603 | 3569 |
3604 if test $ac_cv_header_stdc = yes; then | 3570 if test $ac_cv_header_stdc = yes; then |
3605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3606 cat > conftest.$ac_ext <<EOF | 3572 cat > conftest.$ac_ext <<EOF |
3607 #line 3608 "configure" | 3573 #line 3574 "configure" |
3608 #include "confdefs.h" | 3574 #include "confdefs.h" |
3609 #include <stdlib.h> | 3575 #include <stdlib.h> |
3610 EOF | 3576 EOF |
3611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3612 egrep "free" >/dev/null 2>&1; then | 3578 egrep "free" >/dev/null 2>&1; then |
3620 fi | 3586 fi |
3621 | 3587 |
3622 if test $ac_cv_header_stdc = yes; then | 3588 if test $ac_cv_header_stdc = yes; then |
3623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3624 cat > conftest.$ac_ext <<EOF | 3590 cat > conftest.$ac_ext <<EOF |
3625 #line 3626 "configure" | 3591 #line 3592 "configure" |
3626 #include "confdefs.h" | 3592 #include "confdefs.h" |
3627 #include <ctype.h> | 3593 #include <ctype.h> |
3628 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3594 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3629 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3595 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3631 int main () { int i; for (i = 0; i < 256; i++) | 3597 int main () { int i; for (i = 0; i < 256; i++) |
3632 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3598 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3633 exit (0); } | 3599 exit (0); } |
3634 | 3600 |
3635 EOF | 3601 EOF |
3636 if { (eval echo configure:3637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3637 then | 3603 then |
3638 : | 3604 : |
3639 else | 3605 else |
3640 conftest_rc="$?" | 3606 conftest_rc="$?" |
3641 echo "configure: failed program was:" >&5 | 3607 echo "configure: failed program was:" >&5 |
3657 } | 3623 } |
3658 | 3624 |
3659 fi | 3625 fi |
3660 | 3626 |
3661 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3627 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3662 echo "configure:3663: checking whether time.h and sys/time.h may both be included" >&5 | 3628 echo "configure:3629: checking whether time.h and sys/time.h may both be included" >&5 |
3663 | 3629 |
3664 cat > conftest.$ac_ext <<EOF | 3630 cat > conftest.$ac_ext <<EOF |
3665 #line 3666 "configure" | 3631 #line 3632 "configure" |
3666 #include "confdefs.h" | 3632 #include "confdefs.h" |
3667 #include <sys/types.h> | 3633 #include <sys/types.h> |
3668 #include <sys/time.h> | 3634 #include <sys/time.h> |
3669 #include <time.h> | 3635 #include <time.h> |
3670 int main() { | 3636 int main() { |
3671 struct tm *tp; | 3637 struct tm *tp; |
3672 ; return 0; } | 3638 ; return 0; } |
3673 EOF | 3639 EOF |
3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3675 rm -rf conftest* | 3641 rm -rf conftest* |
3676 ac_cv_header_time=yes | 3642 ac_cv_header_time=yes |
3677 else | 3643 else |
3678 echo "configure: failed program was:" >&5 | 3644 echo "configure: failed program was:" >&5 |
3679 cat conftest.$ac_ext >&5 | 3645 cat conftest.$ac_ext >&5 |
3693 } | 3659 } |
3694 | 3660 |
3695 fi | 3661 fi |
3696 | 3662 |
3697 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3663 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3698 echo "configure:3699: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3664 echo "configure:3665: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3699 | 3665 |
3700 cat > conftest.$ac_ext <<EOF | 3666 cat > conftest.$ac_ext <<EOF |
3701 #line 3702 "configure" | 3667 #line 3668 "configure" |
3702 #include "confdefs.h" | 3668 #include "confdefs.h" |
3703 #include <sys/types.h> | 3669 #include <sys/types.h> |
3704 #include <signal.h> | 3670 #include <signal.h> |
3705 /* NetBSD declares sys_siglist in unistd.h. */ | 3671 /* NetBSD declares sys_siglist in unistd.h. */ |
3706 #ifdef HAVE_UNISTD_H | 3672 #ifdef HAVE_UNISTD_H |
3708 #endif | 3674 #endif |
3709 int main() { | 3675 int main() { |
3710 char *msg = *(sys_siglist + 1); | 3676 char *msg = *(sys_siglist + 1); |
3711 ; return 0; } | 3677 ; return 0; } |
3712 EOF | 3678 EOF |
3713 if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3714 rm -rf conftest* | 3680 rm -rf conftest* |
3715 ac_cv_decl_sys_siglist=yes | 3681 ac_cv_decl_sys_siglist=yes |
3716 else | 3682 else |
3717 echo "configure: failed program was:" >&5 | 3683 echo "configure: failed program was:" >&5 |
3718 cat conftest.$ac_ext >&5 | 3684 cat conftest.$ac_ext >&5 |
3734 fi | 3700 fi |
3735 | 3701 |
3736 | 3702 |
3737 | 3703 |
3738 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3704 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3739 echo "configure:3740: checking for utime" >&5 | 3705 echo "configure:3706: checking for utime" >&5 |
3740 cat > conftest.$ac_ext <<EOF | 3706 cat > conftest.$ac_ext <<EOF |
3741 #line 3742 "configure" | 3707 #line 3708 "configure" |
3742 #include "confdefs.h" | 3708 #include "confdefs.h" |
3743 #include <sys/types.h> | 3709 #include <sys/types.h> |
3744 #include <utime.h> | 3710 #include <utime.h> |
3745 int main() { | 3711 int main() { |
3746 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3712 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3747 ; return 0; } | 3713 ; return 0; } |
3748 EOF | 3714 EOF |
3749 if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3750 rm -rf conftest* | 3716 rm -rf conftest* |
3751 echo "$ac_t""yes" 1>&6 | 3717 echo "$ac_t""yes" 1>&6 |
3752 { test "$extra_verbose" = "yes" && cat << \EOF | 3718 { test "$extra_verbose" = "yes" && cat << \EOF |
3753 Defining HAVE_UTIME | 3719 Defining HAVE_UTIME |
3754 EOF | 3720 EOF |
3763 rm -rf conftest* | 3729 rm -rf conftest* |
3764 echo "$ac_t""no" 1>&6 | 3730 echo "$ac_t""no" 1>&6 |
3765 for ac_func in utimes | 3731 for ac_func in utimes |
3766 do | 3732 do |
3767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3768 echo "configure:3769: checking for $ac_func" >&5 | 3734 echo "configure:3735: checking for $ac_func" >&5 |
3769 | 3735 |
3770 cat > conftest.$ac_ext <<EOF | 3736 cat > conftest.$ac_ext <<EOF |
3771 #line 3772 "configure" | 3737 #line 3738 "configure" |
3772 #include "confdefs.h" | 3738 #include "confdefs.h" |
3773 /* System header to define __stub macros and hopefully few prototypes, | 3739 /* System header to define __stub macros and hopefully few prototypes, |
3774 which can conflict with char $ac_func(); below. */ | 3740 which can conflict with char $ac_func(); below. */ |
3775 #include <assert.h> | 3741 #include <assert.h> |
3776 /* Override any gcc2 internal prototype to avoid an error. */ | 3742 /* Override any gcc2 internal prototype to avoid an error. */ |
3789 $ac_func(); | 3755 $ac_func(); |
3790 #endif | 3756 #endif |
3791 | 3757 |
3792 ; return 0; } | 3758 ; return 0; } |
3793 EOF | 3759 EOF |
3794 if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3795 rm -rf conftest* | 3761 rm -rf conftest* |
3796 eval "ac_cv_func_$ac_func=yes" | 3762 eval "ac_cv_func_$ac_func=yes" |
3797 else | 3763 else |
3798 echo "configure: failed program was:" >&5 | 3764 echo "configure: failed program was:" >&5 |
3799 cat conftest.$ac_ext >&5 | 3765 cat conftest.$ac_ext >&5 |
3821 fi | 3787 fi |
3822 rm -f conftest* | 3788 rm -f conftest* |
3823 | 3789 |
3824 | 3790 |
3825 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3791 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3826 echo "configure:3827: checking return type of signal handlers" >&5 | 3792 echo "configure:3793: checking return type of signal handlers" >&5 |
3827 | 3793 |
3828 cat > conftest.$ac_ext <<EOF | 3794 cat > conftest.$ac_ext <<EOF |
3829 #line 3830 "configure" | 3795 #line 3796 "configure" |
3830 #include "confdefs.h" | 3796 #include "confdefs.h" |
3831 #include <sys/types.h> | 3797 #include <sys/types.h> |
3832 #include <signal.h> | 3798 #include <signal.h> |
3833 #ifdef signal | 3799 #ifdef signal |
3834 #undef signal | 3800 #undef signal |
3841 | 3807 |
3842 int main() { | 3808 int main() { |
3843 int i; | 3809 int i; |
3844 ; return 0; } | 3810 ; return 0; } |
3845 EOF | 3811 EOF |
3846 if { (eval echo configure:3847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3847 rm -rf conftest* | 3813 rm -rf conftest* |
3848 ac_cv_type_signal=void | 3814 ac_cv_type_signal=void |
3849 else | 3815 else |
3850 echo "configure: failed program was:" >&5 | 3816 echo "configure: failed program was:" >&5 |
3851 cat conftest.$ac_ext >&5 | 3817 cat conftest.$ac_ext >&5 |
3863 EOF | 3829 EOF |
3864 } | 3830 } |
3865 | 3831 |
3866 | 3832 |
3867 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3833 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking for size_t" >&5 | 3834 echo "configure:3835: checking for size_t" >&5 |
3869 | 3835 |
3870 cat > conftest.$ac_ext <<EOF | 3836 cat > conftest.$ac_ext <<EOF |
3871 #line 3872 "configure" | 3837 #line 3838 "configure" |
3872 #include "confdefs.h" | 3838 #include "confdefs.h" |
3873 #include <sys/types.h> | 3839 #include <sys/types.h> |
3874 #if STDC_HEADERS | 3840 #if STDC_HEADERS |
3875 #include <stdlib.h> | 3841 #include <stdlib.h> |
3876 #include <stddef.h> | 3842 #include <stddef.h> |
3897 } | 3863 } |
3898 | 3864 |
3899 fi | 3865 fi |
3900 | 3866 |
3901 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3902 echo "configure:3903: checking for pid_t" >&5 | 3868 echo "configure:3869: checking for pid_t" >&5 |
3903 | 3869 |
3904 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3905 #line 3906 "configure" | 3871 #line 3872 "configure" |
3906 #include "confdefs.h" | 3872 #include "confdefs.h" |
3907 #include <sys/types.h> | 3873 #include <sys/types.h> |
3908 #if STDC_HEADERS | 3874 #if STDC_HEADERS |
3909 #include <stdlib.h> | 3875 #include <stdlib.h> |
3910 #include <stddef.h> | 3876 #include <stddef.h> |
3931 } | 3897 } |
3932 | 3898 |
3933 fi | 3899 fi |
3934 | 3900 |
3935 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3901 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3936 echo "configure:3937: checking for uid_t in sys/types.h" >&5 | 3902 echo "configure:3903: checking for uid_t in sys/types.h" >&5 |
3937 | 3903 |
3938 cat > conftest.$ac_ext <<EOF | 3904 cat > conftest.$ac_ext <<EOF |
3939 #line 3940 "configure" | 3905 #line 3906 "configure" |
3940 #include "confdefs.h" | 3906 #include "confdefs.h" |
3941 #include <sys/types.h> | 3907 #include <sys/types.h> |
3942 EOF | 3908 EOF |
3943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3944 egrep "uid_t" >/dev/null 2>&1; then | 3910 egrep "uid_t" >/dev/null 2>&1; then |
3970 } | 3936 } |
3971 | 3937 |
3972 fi | 3938 fi |
3973 | 3939 |
3974 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3940 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3975 echo "configure:3976: checking for mode_t" >&5 | 3941 echo "configure:3942: checking for mode_t" >&5 |
3976 | 3942 |
3977 cat > conftest.$ac_ext <<EOF | 3943 cat > conftest.$ac_ext <<EOF |
3978 #line 3979 "configure" | 3944 #line 3945 "configure" |
3979 #include "confdefs.h" | 3945 #include "confdefs.h" |
3980 #include <sys/types.h> | 3946 #include <sys/types.h> |
3981 #if STDC_HEADERS | 3947 #if STDC_HEADERS |
3982 #include <stdlib.h> | 3948 #include <stdlib.h> |
3983 #include <stddef.h> | 3949 #include <stddef.h> |
4004 } | 3970 } |
4005 | 3971 |
4006 fi | 3972 fi |
4007 | 3973 |
4008 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3974 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking for off_t" >&5 | 3975 echo "configure:3976: checking for off_t" >&5 |
4010 | 3976 |
4011 cat > conftest.$ac_ext <<EOF | 3977 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 3978 #line 3979 "configure" |
4013 #include "confdefs.h" | 3979 #include "confdefs.h" |
4014 #include <sys/types.h> | 3980 #include <sys/types.h> |
4015 #if STDC_HEADERS | 3981 #if STDC_HEADERS |
4016 #include <stdlib.h> | 3982 #include <stdlib.h> |
4017 #include <stddef.h> | 3983 #include <stddef.h> |
4038 } | 4004 } |
4039 | 4005 |
4040 fi | 4006 fi |
4041 | 4007 |
4042 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4008 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4043 echo "configure:4044: checking for ssize_t" >&5 | 4009 echo "configure:4010: checking for ssize_t" >&5 |
4044 | 4010 |
4045 cat > conftest.$ac_ext <<EOF | 4011 cat > conftest.$ac_ext <<EOF |
4046 #line 4047 "configure" | 4012 #line 4013 "configure" |
4047 #include "confdefs.h" | 4013 #include "confdefs.h" |
4048 #include <sys/types.h> | 4014 #include <sys/types.h> |
4049 #if STDC_HEADERS | 4015 #if STDC_HEADERS |
4050 #include <stdlib.h> | 4016 #include <stdlib.h> |
4051 #include <stddef.h> | 4017 #include <stddef.h> |
4073 | 4039 |
4074 fi | 4040 fi |
4075 | 4041 |
4076 | 4042 |
4077 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4043 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4078 echo "configure:4079: checking for socklen_t" >&5 | 4044 echo "configure:4045: checking for socklen_t" >&5 |
4079 cat > conftest.$ac_ext <<EOF | 4045 cat > conftest.$ac_ext <<EOF |
4080 #line 4081 "configure" | 4046 #line 4047 "configure" |
4081 #include "confdefs.h" | 4047 #include "confdefs.h" |
4082 #include <sys/socket.h> | 4048 #include <sys/socket.h> |
4083 socklen_t x; | 4049 socklen_t x; |
4084 | 4050 |
4085 int main() { | 4051 int main() { |
4086 | 4052 |
4087 ; return 0; } | 4053 ; return 0; } |
4088 EOF | 4054 EOF |
4089 if { (eval echo configure:4090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4090 rm -rf conftest* | 4056 rm -rf conftest* |
4091 echo "$ac_t""yes" 1>&6 | 4057 echo "$ac_t""yes" 1>&6 |
4092 else | 4058 else |
4093 echo "configure: failed program was:" >&5 | 4059 echo "configure: failed program was:" >&5 |
4094 cat conftest.$ac_ext >&5 | 4060 cat conftest.$ac_ext >&5 |
4095 rm -rf conftest* | 4061 rm -rf conftest* |
4096 | 4062 |
4097 cat > conftest.$ac_ext <<EOF | 4063 cat > conftest.$ac_ext <<EOF |
4098 #line 4099 "configure" | 4064 #line 4065 "configure" |
4099 #include "confdefs.h" | 4065 #include "confdefs.h" |
4100 #include <sys/socket.h> | 4066 #include <sys/socket.h> |
4101 int accept (int, struct sockaddr *, size_t *); | 4067 int accept (int, struct sockaddr *, size_t *); |
4102 | 4068 |
4103 int main() { | 4069 int main() { |
4104 | 4070 |
4105 ; return 0; } | 4071 ; return 0; } |
4106 EOF | 4072 EOF |
4107 if { (eval echo configure:4108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4108 rm -rf conftest* | 4074 rm -rf conftest* |
4109 | 4075 |
4110 echo "$ac_t""size_t" 1>&6 | 4076 echo "$ac_t""size_t" 1>&6 |
4111 { test "$extra_verbose" = "yes" && cat << \EOF | 4077 { test "$extra_verbose" = "yes" && cat << \EOF |
4112 Defining socklen_t = size_t | 4078 Defining socklen_t = size_t |
4134 rm -f conftest* | 4100 rm -f conftest* |
4135 fi | 4101 fi |
4136 rm -f conftest* | 4102 rm -f conftest* |
4137 | 4103 |
4138 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4104 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4139 echo "configure:4140: checking for struct timeval" >&5 | 4105 echo "configure:4106: checking for struct timeval" >&5 |
4140 cat > conftest.$ac_ext <<EOF | 4106 cat > conftest.$ac_ext <<EOF |
4141 #line 4142 "configure" | 4107 #line 4108 "configure" |
4142 #include "confdefs.h" | 4108 #include "confdefs.h" |
4143 #ifdef TIME_WITH_SYS_TIME | 4109 #ifdef TIME_WITH_SYS_TIME |
4144 #include <sys/time.h> | 4110 #include <sys/time.h> |
4145 #include <time.h> | 4111 #include <time.h> |
4146 #else | 4112 #else |
4152 #endif | 4118 #endif |
4153 int main() { | 4119 int main() { |
4154 static struct timeval x; x.tv_sec = x.tv_usec; | 4120 static struct timeval x; x.tv_sec = x.tv_usec; |
4155 ; return 0; } | 4121 ; return 0; } |
4156 EOF | 4122 EOF |
4157 if { (eval echo configure:4158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4158 rm -rf conftest* | 4124 rm -rf conftest* |
4159 echo "$ac_t""yes" 1>&6 | 4125 echo "$ac_t""yes" 1>&6 |
4160 HAVE_TIMEVAL=yes | 4126 HAVE_TIMEVAL=yes |
4161 { test "$extra_verbose" = "yes" && cat << \EOF | 4127 { test "$extra_verbose" = "yes" && cat << \EOF |
4162 Defining HAVE_TIMEVAL | 4128 Defining HAVE_TIMEVAL |
4174 HAVE_TIMEVAL=no | 4140 HAVE_TIMEVAL=no |
4175 fi | 4141 fi |
4176 rm -f conftest* | 4142 rm -f conftest* |
4177 | 4143 |
4178 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4144 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4179 echo "configure:4180: checking whether struct tm is in sys/time.h or time.h" >&5 | 4145 echo "configure:4146: checking whether struct tm is in sys/time.h or time.h" >&5 |
4180 | 4146 |
4181 cat > conftest.$ac_ext <<EOF | 4147 cat > conftest.$ac_ext <<EOF |
4182 #line 4183 "configure" | 4148 #line 4149 "configure" |
4183 #include "confdefs.h" | 4149 #include "confdefs.h" |
4184 #include <sys/types.h> | 4150 #include <sys/types.h> |
4185 #include <time.h> | 4151 #include <time.h> |
4186 int main() { | 4152 int main() { |
4187 struct tm *tp; tp->tm_sec; | 4153 struct tm *tp; tp->tm_sec; |
4188 ; return 0; } | 4154 ; return 0; } |
4189 EOF | 4155 EOF |
4190 if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4156 if { (eval echo configure:4157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4191 rm -rf conftest* | 4157 rm -rf conftest* |
4192 ac_cv_struct_tm=time.h | 4158 ac_cv_struct_tm=time.h |
4193 else | 4159 else |
4194 echo "configure: failed program was:" >&5 | 4160 echo "configure: failed program was:" >&5 |
4195 cat conftest.$ac_ext >&5 | 4161 cat conftest.$ac_ext >&5 |
4209 } | 4175 } |
4210 | 4176 |
4211 fi | 4177 fi |
4212 | 4178 |
4213 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4179 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4214 echo "configure:4215: checking for tm_zone in struct tm" >&5 | 4180 echo "configure:4181: checking for tm_zone in struct tm" >&5 |
4215 | 4181 |
4216 cat > conftest.$ac_ext <<EOF | 4182 cat > conftest.$ac_ext <<EOF |
4217 #line 4218 "configure" | 4183 #line 4184 "configure" |
4218 #include "confdefs.h" | 4184 #include "confdefs.h" |
4219 #include <sys/types.h> | 4185 #include <sys/types.h> |
4220 #include <$ac_cv_struct_tm> | 4186 #include <$ac_cv_struct_tm> |
4221 int main() { | 4187 int main() { |
4222 struct tm tm; tm.tm_zone; | 4188 struct tm tm; tm.tm_zone; |
4223 ; return 0; } | 4189 ; return 0; } |
4224 EOF | 4190 EOF |
4225 if { (eval echo configure:4226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4226 rm -rf conftest* | 4192 rm -rf conftest* |
4227 ac_cv_struct_tm_zone=yes | 4193 ac_cv_struct_tm_zone=yes |
4228 else | 4194 else |
4229 echo "configure: failed program was:" >&5 | 4195 echo "configure: failed program was:" >&5 |
4230 cat conftest.$ac_ext >&5 | 4196 cat conftest.$ac_ext >&5 |
4243 EOF | 4209 EOF |
4244 } | 4210 } |
4245 | 4211 |
4246 else | 4212 else |
4247 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4248 echo "configure:4249: checking for tzname" >&5 | 4214 echo "configure:4215: checking for tzname" >&5 |
4249 | 4215 |
4250 cat > conftest.$ac_ext <<EOF | 4216 cat > conftest.$ac_ext <<EOF |
4251 #line 4252 "configure" | 4217 #line 4218 "configure" |
4252 #include "confdefs.h" | 4218 #include "confdefs.h" |
4253 #include <time.h> | 4219 #include <time.h> |
4254 #ifndef tzname /* For SGI. */ | 4220 #ifndef tzname /* For SGI. */ |
4255 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4221 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4256 #endif | 4222 #endif |
4257 int main() { | 4223 int main() { |
4258 atoi(*tzname); | 4224 atoi(*tzname); |
4259 ; return 0; } | 4225 ; return 0; } |
4260 EOF | 4226 EOF |
4261 if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4262 rm -rf conftest* | 4228 rm -rf conftest* |
4263 ac_cv_var_tzname=yes | 4229 ac_cv_var_tzname=yes |
4264 else | 4230 else |
4265 echo "configure: failed program was:" >&5 | 4231 echo "configure: failed program was:" >&5 |
4266 cat conftest.$ac_ext >&5 | 4232 cat conftest.$ac_ext >&5 |
4282 fi | 4248 fi |
4283 fi | 4249 fi |
4284 | 4250 |
4285 | 4251 |
4286 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4252 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4287 echo "configure:4288: checking for working const" >&5 | 4253 echo "configure:4254: checking for working const" >&5 |
4288 | 4254 |
4289 cat > conftest.$ac_ext <<EOF | 4255 cat > conftest.$ac_ext <<EOF |
4290 #line 4291 "configure" | 4256 #line 4257 "configure" |
4291 #include "confdefs.h" | 4257 #include "confdefs.h" |
4292 | 4258 |
4293 int main() { | 4259 int main() { |
4294 | 4260 |
4295 /* Ultrix mips cc rejects this. */ | 4261 /* Ultrix mips cc rejects this. */ |
4334 const int foo = 10; | 4300 const int foo = 10; |
4335 } | 4301 } |
4336 | 4302 |
4337 ; return 0; } | 4303 ; return 0; } |
4338 EOF | 4304 EOF |
4339 if { (eval echo configure:4340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4305 if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4340 rm -rf conftest* | 4306 rm -rf conftest* |
4341 ac_cv_c_const=yes | 4307 ac_cv_c_const=yes |
4342 else | 4308 else |
4343 echo "configure: failed program was:" >&5 | 4309 echo "configure: failed program was:" >&5 |
4344 cat conftest.$ac_ext >&5 | 4310 cat conftest.$ac_ext >&5 |
4359 | 4325 |
4360 fi | 4326 fi |
4361 | 4327 |
4362 | 4328 |
4363 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4329 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4364 echo "configure:4365: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4330 echo "configure:4331: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4365 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4331 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4366 | 4332 |
4367 cat > conftestmake <<\EOF | 4333 cat > conftestmake <<\EOF |
4368 all: | 4334 all: |
4369 @echo 'ac_maketemp="${MAKE}"' | 4335 @echo 'ac_maketemp="${MAKE}"' |
4384 SET_MAKE="MAKE=${MAKE-make}" | 4350 SET_MAKE="MAKE=${MAKE-make}" |
4385 fi | 4351 fi |
4386 | 4352 |
4387 | 4353 |
4388 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4354 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4389 echo "configure:4390: checking whether byte ordering is bigendian" >&5 | 4355 echo "configure:4356: checking whether byte ordering is bigendian" >&5 |
4390 | 4356 |
4391 ac_cv_c_bigendian=unknown | 4357 ac_cv_c_bigendian=unknown |
4392 # See if sys/param.h defines the BYTE_ORDER macro. | 4358 # See if sys/param.h defines the BYTE_ORDER macro. |
4393 cat > conftest.$ac_ext <<EOF | 4359 cat > conftest.$ac_ext <<EOF |
4394 #line 4395 "configure" | 4360 #line 4361 "configure" |
4395 #include "confdefs.h" | 4361 #include "confdefs.h" |
4396 #include <sys/types.h> | 4362 #include <sys/types.h> |
4397 #include <sys/param.h> | 4363 #include <sys/param.h> |
4398 int main() { | 4364 int main() { |
4399 | 4365 |
4400 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4366 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4401 bogus endian macros | 4367 bogus endian macros |
4402 #endif | 4368 #endif |
4403 ; return 0; } | 4369 ; return 0; } |
4404 EOF | 4370 EOF |
4405 if { (eval echo configure:4406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4371 if { (eval echo configure:4372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4406 rm -rf conftest* | 4372 rm -rf conftest* |
4407 # It does; now see whether it defined to BIG_ENDIAN or not. | 4373 # It does; now see whether it defined to BIG_ENDIAN or not. |
4408 cat > conftest.$ac_ext <<EOF | 4374 cat > conftest.$ac_ext <<EOF |
4409 #line 4410 "configure" | 4375 #line 4376 "configure" |
4410 #include "confdefs.h" | 4376 #include "confdefs.h" |
4411 #include <sys/types.h> | 4377 #include <sys/types.h> |
4412 #include <sys/param.h> | 4378 #include <sys/param.h> |
4413 int main() { | 4379 int main() { |
4414 | 4380 |
4415 #if BYTE_ORDER != BIG_ENDIAN | 4381 #if BYTE_ORDER != BIG_ENDIAN |
4416 not big endian | 4382 not big endian |
4417 #endif | 4383 #endif |
4418 ; return 0; } | 4384 ; return 0; } |
4419 EOF | 4385 EOF |
4420 if { (eval echo configure:4421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4421 rm -rf conftest* | 4387 rm -rf conftest* |
4422 ac_cv_c_bigendian=yes | 4388 ac_cv_c_bigendian=yes |
4423 else | 4389 else |
4424 echo "configure: failed program was:" >&5 | 4390 echo "configure: failed program was:" >&5 |
4425 cat conftest.$ac_ext >&5 | 4391 cat conftest.$ac_ext >&5 |
4432 cat conftest.$ac_ext >&5 | 4398 cat conftest.$ac_ext >&5 |
4433 fi | 4399 fi |
4434 rm -f conftest* | 4400 rm -f conftest* |
4435 if test $ac_cv_c_bigendian = unknown; then | 4401 if test $ac_cv_c_bigendian = unknown; then |
4436 cat > conftest.$ac_ext <<EOF | 4402 cat > conftest.$ac_ext <<EOF |
4437 #line 4438 "configure" | 4403 #line 4404 "configure" |
4438 #include "confdefs.h" | 4404 #include "confdefs.h" |
4439 main () { | 4405 main () { |
4440 /* Are we little or big endian? From Harbison&Steele. */ | 4406 /* Are we little or big endian? From Harbison&Steele. */ |
4441 union | 4407 union |
4442 { | 4408 { |
4445 } u; | 4411 } u; |
4446 u.l = 1; | 4412 u.l = 1; |
4447 exit (u.c[sizeof (long) - 1] == 1); | 4413 exit (u.c[sizeof (long) - 1] == 1); |
4448 } | 4414 } |
4449 EOF | 4415 EOF |
4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4451 then | 4417 then |
4452 ac_cv_c_bigendian=no | 4418 ac_cv_c_bigendian=no |
4453 else | 4419 else |
4454 conftest_rc="$?" | 4420 conftest_rc="$?" |
4455 echo "configure: failed program was:" >&5 | 4421 echo "configure: failed program was:" >&5 |
4472 | 4438 |
4473 fi | 4439 fi |
4474 | 4440 |
4475 | 4441 |
4476 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4442 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4477 echo "configure:4478: checking size of short" >&5 | 4443 echo "configure:4444: checking size of short" >&5 |
4478 | 4444 |
4479 cat > conftest.$ac_ext <<EOF | 4445 cat > conftest.$ac_ext <<EOF |
4480 #line 4481 "configure" | 4446 #line 4447 "configure" |
4481 #include "confdefs.h" | 4447 #include "confdefs.h" |
4482 #include <stdio.h> | 4448 #include <stdio.h> |
4483 main() | 4449 main() |
4484 { | 4450 { |
4485 FILE *f=fopen("conftestval", "w"); | 4451 FILE *f=fopen("conftestval", "w"); |
4486 if (!f) exit(1); | 4452 if (!f) exit(1); |
4487 fprintf(f, "%d\n", sizeof(short)); | 4453 fprintf(f, "%d\n", sizeof(short)); |
4488 exit(0); | 4454 exit(0); |
4489 } | 4455 } |
4490 EOF | 4456 EOF |
4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4492 then | 4458 then |
4493 ac_cv_sizeof_short=`cat conftestval` | 4459 ac_cv_sizeof_short=`cat conftestval` |
4494 else | 4460 else |
4495 conftest_rc="$?" | 4461 conftest_rc="$?" |
4496 echo "configure: failed program was:" >&5 | 4462 echo "configure: failed program was:" >&5 |
4514 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4480 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4515 echo "*** PANIC *** Please examine config.log for compilation errors." | 4481 echo "*** PANIC *** Please examine config.log for compilation errors." |
4516 exit 1 | 4482 exit 1 |
4517 fi | 4483 fi |
4518 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4484 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4519 echo "configure:4520: checking size of int" >&5 | 4485 echo "configure:4486: checking size of int" >&5 |
4520 | 4486 |
4521 cat > conftest.$ac_ext <<EOF | 4487 cat > conftest.$ac_ext <<EOF |
4522 #line 4523 "configure" | 4488 #line 4489 "configure" |
4523 #include "confdefs.h" | 4489 #include "confdefs.h" |
4524 #include <stdio.h> | 4490 #include <stdio.h> |
4525 main() | 4491 main() |
4526 { | 4492 { |
4527 FILE *f=fopen("conftestval", "w"); | 4493 FILE *f=fopen("conftestval", "w"); |
4528 if (!f) exit(1); | 4494 if (!f) exit(1); |
4529 fprintf(f, "%d\n", sizeof(int)); | 4495 fprintf(f, "%d\n", sizeof(int)); |
4530 exit(0); | 4496 exit(0); |
4531 } | 4497 } |
4532 EOF | 4498 EOF |
4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4534 then | 4500 then |
4535 ac_cv_sizeof_int=`cat conftestval` | 4501 ac_cv_sizeof_int=`cat conftestval` |
4536 else | 4502 else |
4537 conftest_rc="$?" | 4503 conftest_rc="$?" |
4538 echo "configure: failed program was:" >&5 | 4504 echo "configure: failed program was:" >&5 |
4550 EOF | 4516 EOF |
4551 } | 4517 } |
4552 | 4518 |
4553 | 4519 |
4554 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4520 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4555 echo "configure:4556: checking size of long" >&5 | 4521 echo "configure:4522: checking size of long" >&5 |
4556 | 4522 |
4557 cat > conftest.$ac_ext <<EOF | 4523 cat > conftest.$ac_ext <<EOF |
4558 #line 4559 "configure" | 4524 #line 4525 "configure" |
4559 #include "confdefs.h" | 4525 #include "confdefs.h" |
4560 #include <stdio.h> | 4526 #include <stdio.h> |
4561 main() | 4527 main() |
4562 { | 4528 { |
4563 FILE *f=fopen("conftestval", "w"); | 4529 FILE *f=fopen("conftestval", "w"); |
4564 if (!f) exit(1); | 4530 if (!f) exit(1); |
4565 fprintf(f, "%d\n", sizeof(long)); | 4531 fprintf(f, "%d\n", sizeof(long)); |
4566 exit(0); | 4532 exit(0); |
4567 } | 4533 } |
4568 EOF | 4534 EOF |
4569 if { (eval echo configure:4570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4570 then | 4536 then |
4571 ac_cv_sizeof_long=`cat conftestval` | 4537 ac_cv_sizeof_long=`cat conftestval` |
4572 else | 4538 else |
4573 conftest_rc="$?" | 4539 conftest_rc="$?" |
4574 echo "configure: failed program was:" >&5 | 4540 echo "configure: failed program was:" >&5 |
4586 EOF | 4552 EOF |
4587 } | 4553 } |
4588 | 4554 |
4589 | 4555 |
4590 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4556 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4591 echo "configure:4592: checking size of long long" >&5 | 4557 echo "configure:4558: checking size of long long" >&5 |
4592 | 4558 |
4593 cat > conftest.$ac_ext <<EOF | 4559 cat > conftest.$ac_ext <<EOF |
4594 #line 4595 "configure" | 4560 #line 4561 "configure" |
4595 #include "confdefs.h" | 4561 #include "confdefs.h" |
4596 #include <stdio.h> | 4562 #include <stdio.h> |
4597 main() | 4563 main() |
4598 { | 4564 { |
4599 FILE *f=fopen("conftestval", "w"); | 4565 FILE *f=fopen("conftestval", "w"); |
4600 if (!f) exit(1); | 4566 if (!f) exit(1); |
4601 fprintf(f, "%d\n", sizeof(long long)); | 4567 fprintf(f, "%d\n", sizeof(long long)); |
4602 exit(0); | 4568 exit(0); |
4603 } | 4569 } |
4604 EOF | 4570 EOF |
4605 if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4606 then | 4572 then |
4607 ac_cv_sizeof_long_long=`cat conftestval` | 4573 ac_cv_sizeof_long_long=`cat conftestval` |
4608 else | 4574 else |
4609 conftest_rc="$?" | 4575 conftest_rc="$?" |
4610 echo "configure: failed program was:" >&5 | 4576 echo "configure: failed program was:" >&5 |
4622 EOF | 4588 EOF |
4623 } | 4589 } |
4624 | 4590 |
4625 | 4591 |
4626 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4592 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4627 echo "configure:4628: checking size of void *" >&5 | 4593 echo "configure:4594: checking size of void *" >&5 |
4628 | 4594 |
4629 cat > conftest.$ac_ext <<EOF | 4595 cat > conftest.$ac_ext <<EOF |
4630 #line 4631 "configure" | 4596 #line 4597 "configure" |
4631 #include "confdefs.h" | 4597 #include "confdefs.h" |
4632 #include <stdio.h> | 4598 #include <stdio.h> |
4633 main() | 4599 main() |
4634 { | 4600 { |
4635 FILE *f=fopen("conftestval", "w"); | 4601 FILE *f=fopen("conftestval", "w"); |
4636 if (!f) exit(1); | 4602 if (!f) exit(1); |
4637 fprintf(f, "%d\n", sizeof(void *)); | 4603 fprintf(f, "%d\n", sizeof(void *)); |
4638 exit(0); | 4604 exit(0); |
4639 } | 4605 } |
4640 EOF | 4606 EOF |
4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4642 then | 4608 then |
4643 ac_cv_sizeof_void_p=`cat conftestval` | 4609 ac_cv_sizeof_void_p=`cat conftestval` |
4644 else | 4610 else |
4645 conftest_rc="$?" | 4611 conftest_rc="$?" |
4646 echo "configure: failed program was:" >&5 | 4612 echo "configure: failed program was:" >&5 |
4659 } | 4625 } |
4660 | 4626 |
4661 | 4627 |
4662 | 4628 |
4663 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4629 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4664 echo "configure:4665: checking for long file names" >&5 | 4630 echo "configure:4631: checking for long file names" >&5 |
4665 | 4631 |
4666 ac_cv_sys_long_file_names=yes | 4632 ac_cv_sys_long_file_names=yes |
4667 # Test for long file names in all the places we know might matter: | 4633 # Test for long file names in all the places we know might matter: |
4668 # . the current directory, where building will happen | 4634 # . the current directory, where building will happen |
4669 # $prefix/lib where we will be installing things | 4635 # $prefix/lib where we will be installing things |
4705 | 4671 |
4706 fi | 4672 fi |
4707 | 4673 |
4708 | 4674 |
4709 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4675 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4710 echo "configure:4711: checking for sin" >&5 | 4676 echo "configure:4677: checking for sin" >&5 |
4711 | 4677 |
4712 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4713 #line 4714 "configure" | 4679 #line 4680 "configure" |
4714 #include "confdefs.h" | 4680 #include "confdefs.h" |
4715 /* System header to define __stub macros and hopefully few prototypes, | 4681 /* System header to define __stub macros and hopefully few prototypes, |
4716 which can conflict with char sin(); below. */ | 4682 which can conflict with char sin(); below. */ |
4717 #include <assert.h> | 4683 #include <assert.h> |
4718 /* Override any gcc2 internal prototype to avoid an error. */ | 4684 /* Override any gcc2 internal prototype to avoid an error. */ |
4731 sin(); | 4697 sin(); |
4732 #endif | 4698 #endif |
4733 | 4699 |
4734 ; return 0; } | 4700 ; return 0; } |
4735 EOF | 4701 EOF |
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4737 rm -rf conftest* | 4703 rm -rf conftest* |
4738 eval "ac_cv_func_sin=yes" | 4704 eval "ac_cv_func_sin=yes" |
4739 else | 4705 else |
4740 echo "configure: failed program was:" >&5 | 4706 echo "configure: failed program was:" >&5 |
4741 cat conftest.$ac_ext >&5 | 4707 cat conftest.$ac_ext >&5 |
4749 : | 4715 : |
4750 else | 4716 else |
4751 echo "$ac_t""no" 1>&6 | 4717 echo "$ac_t""no" 1>&6 |
4752 | 4718 |
4753 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4719 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4754 echo "configure:4755: checking for sin in -lm" >&5 | 4720 echo "configure:4721: checking for sin in -lm" >&5 |
4755 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4721 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4756 | 4722 |
4757 xe_check_libs=" -lm " | 4723 xe_check_libs=" -lm " |
4758 cat > conftest.$ac_ext <<EOF | 4724 cat > conftest.$ac_ext <<EOF |
4759 #line 4760 "configure" | 4725 #line 4726 "configure" |
4760 #include "confdefs.h" | 4726 #include "confdefs.h" |
4761 /* Override any gcc2 internal prototype to avoid an error. */ | 4727 /* Override any gcc2 internal prototype to avoid an error. */ |
4762 /* We use char because int might match the return type of a gcc2 | 4728 /* We use char because int might match the return type of a gcc2 |
4763 builtin and then its argument prototype would still apply. */ | 4729 builtin and then its argument prototype would still apply. */ |
4764 char sin(); | 4730 char sin(); |
4765 | 4731 |
4766 int main() { | 4732 int main() { |
4767 sin() | 4733 sin() |
4768 ; return 0; } | 4734 ; return 0; } |
4769 EOF | 4735 EOF |
4770 if { (eval echo configure:4771: \"$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 |
4771 rm -rf conftest* | 4737 rm -rf conftest* |
4772 eval "ac_cv_lib_$ac_lib_var=yes" | 4738 eval "ac_cv_lib_$ac_lib_var=yes" |
4773 else | 4739 else |
4774 echo "configure: failed program was:" >&5 | 4740 echo "configure: failed program was:" >&5 |
4775 cat conftest.$ac_ext >&5 | 4741 cat conftest.$ac_ext >&5 |
4809 EOF | 4775 EOF |
4810 } | 4776 } |
4811 | 4777 |
4812 | 4778 |
4813 cat > conftest.$ac_ext <<EOF | 4779 cat > conftest.$ac_ext <<EOF |
4814 #line 4815 "configure" | 4780 #line 4781 "configure" |
4815 #include "confdefs.h" | 4781 #include "confdefs.h" |
4816 #include <math.h> | 4782 #include <math.h> |
4817 int main() { | 4783 int main() { |
4818 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4784 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4819 ; return 0; } | 4785 ; return 0; } |
4820 EOF | 4786 EOF |
4821 if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4822 rm -rf conftest* | 4788 rm -rf conftest* |
4823 { test "$extra_verbose" = "yes" && cat << \EOF | 4789 { test "$extra_verbose" = "yes" && cat << \EOF |
4824 Defining HAVE_INVERSE_HYPERBOLIC | 4790 Defining HAVE_INVERSE_HYPERBOLIC |
4825 EOF | 4791 EOF |
4826 cat >> confdefs.h <<\EOF | 4792 cat >> confdefs.h <<\EOF |
4833 cat conftest.$ac_ext >&5 | 4799 cat conftest.$ac_ext >&5 |
4834 fi | 4800 fi |
4835 rm -f conftest* | 4801 rm -f conftest* |
4836 | 4802 |
4837 echo "checking type of mail spool file locking" 1>&6 | 4803 echo "checking type of mail spool file locking" 1>&6 |
4838 echo "configure:4839: checking type of mail spool file locking" >&5 | 4804 echo "configure:4805: checking type of mail spool file locking" >&5 |
4839 for ac_func in lockf flock | 4805 for ac_func in lockf flock |
4840 do | 4806 do |
4841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4842 echo "configure:4843: checking for $ac_func" >&5 | 4808 echo "configure:4809: checking for $ac_func" >&5 |
4843 | 4809 |
4844 cat > conftest.$ac_ext <<EOF | 4810 cat > conftest.$ac_ext <<EOF |
4845 #line 4846 "configure" | 4811 #line 4812 "configure" |
4846 #include "confdefs.h" | 4812 #include "confdefs.h" |
4847 /* System header to define __stub macros and hopefully few prototypes, | 4813 /* System header to define __stub macros and hopefully few prototypes, |
4848 which can conflict with char $ac_func(); below. */ | 4814 which can conflict with char $ac_func(); below. */ |
4849 #include <assert.h> | 4815 #include <assert.h> |
4850 /* Override any gcc2 internal prototype to avoid an error. */ | 4816 /* Override any gcc2 internal prototype to avoid an error. */ |
4863 $ac_func(); | 4829 $ac_func(); |
4864 #endif | 4830 #endif |
4865 | 4831 |
4866 ; return 0; } | 4832 ; return 0; } |
4867 EOF | 4833 EOF |
4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4869 rm -rf conftest* | 4835 rm -rf conftest* |
4870 eval "ac_cv_func_$ac_func=yes" | 4836 eval "ac_cv_func_$ac_func=yes" |
4871 else | 4837 else |
4872 echo "configure: failed program was:" >&5 | 4838 echo "configure: failed program was:" >&5 |
4873 cat conftest.$ac_ext >&5 | 4839 cat conftest.$ac_ext >&5 |
4945 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4911 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4946 | 4912 |
4947 case "$opsys" in decosf*) | 4913 case "$opsys" in decosf*) |
4948 | 4914 |
4949 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4915 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4950 echo "configure:4951: checking for cma_open in -lpthreads" >&5 | 4916 echo "configure:4917: checking for cma_open in -lpthreads" >&5 |
4951 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4917 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4952 | 4918 |
4953 xe_check_libs=" -lpthreads " | 4919 xe_check_libs=" -lpthreads " |
4954 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
4955 #line 4956 "configure" | 4921 #line 4922 "configure" |
4956 #include "confdefs.h" | 4922 #include "confdefs.h" |
4957 /* Override any gcc2 internal prototype to avoid an error. */ | 4923 /* Override any gcc2 internal prototype to avoid an error. */ |
4958 /* We use char because int might match the return type of a gcc2 | 4924 /* We use char because int might match the return type of a gcc2 |
4959 builtin and then its argument prototype would still apply. */ | 4925 builtin and then its argument prototype would still apply. */ |
4960 char cma_open(); | 4926 char cma_open(); |
4961 | 4927 |
4962 int main() { | 4928 int main() { |
4963 cma_open() | 4929 cma_open() |
4964 ; return 0; } | 4930 ; return 0; } |
4965 EOF | 4931 EOF |
4966 if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4967 rm -rf conftest* | 4933 rm -rf conftest* |
4968 eval "ac_cv_lib_$ac_lib_var=yes" | 4934 eval "ac_cv_lib_$ac_lib_var=yes" |
4969 else | 4935 else |
4970 echo "configure: failed program was:" >&5 | 4936 echo "configure: failed program was:" >&5 |
4971 cat conftest.$ac_ext >&5 | 4937 cat conftest.$ac_ext >&5 |
4997 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4963 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4998 c_switch_site="$c_switch_site -threads" ;; | 4964 c_switch_site="$c_switch_site -threads" ;; |
4999 esac | 4965 esac |
5000 | 4966 |
5001 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4967 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5002 echo "configure:5003: checking whether the -xildoff compiler flag is required" >&5 | 4968 echo "configure:4969: checking whether the -xildoff compiler flag is required" >&5 |
5003 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4969 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5004 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4970 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5005 then echo "$ac_t""no" 1>&6; | 4971 then echo "$ac_t""no" 1>&6; |
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 | 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 |
5007 fi | 4973 fi |
5009 fi | 4975 fi |
5010 | 4976 |
5011 if test "$opsys" = "sol2"; then | 4977 if test "$opsys" = "sol2"; then |
5012 if test "$os_release" -ge 56; then | 4978 if test "$os_release" -ge 56; then |
5013 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4979 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5014 echo "configure:5015: checking for \"-z ignore\" linker flag" >&5 | 4980 echo "configure:4981: checking for \"-z ignore\" linker flag" >&5 |
5015 case "`ld -h 2>&1`" in | 4981 case "`ld -h 2>&1`" in |
5016 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4982 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5017 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4983 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5018 *) echo "$ac_t""no" 1>&6 ;; | 4984 *) echo "$ac_t""no" 1>&6 ;; |
5019 esac | 4985 esac |
5020 fi | 4986 fi |
5021 fi | 4987 fi |
5022 | 4988 |
5023 | 4989 |
5024 echo "checking "for specified window system"" 1>&6 | 4990 echo "checking "for specified window system"" 1>&6 |
5025 echo "configure:5026: checking "for specified window system"" >&5 | 4991 echo "configure:4992: checking "for specified window system"" >&5 |
5026 | 4992 |
5027 | 4993 |
5028 GNOME_CONFIG=no | 4994 GNOME_CONFIG=no |
5029 GTK_CONFIG=no | 4995 GTK_CONFIG=no |
5030 | 4996 |
5031 if test "$with_gnome" != "no"; then | 4997 if test "$with_gnome" != "no"; then |
5032 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 4998 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5033 echo "configure:5034: checking for GNOME configuration script" >&5 | 4999 echo "configure:5000: checking for GNOME configuration script" >&5 |
5034 for possible in gnome-config | 5000 for possible in gnome-config |
5035 do | 5001 do |
5036 possible_version=`${possible} --version 2> /dev/null` | 5002 possible_version=`${possible} --version 2> /dev/null` |
5037 if test "x${possible_version}" != "x"; then | 5003 if test "x${possible_version}" != "x"; then |
5038 GNOME_CONFIG="${possible}" | 5004 GNOME_CONFIG="${possible}" |
5059 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5025 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5060 fi | 5026 fi |
5061 | 5027 |
5062 if test "$with_gtk" != "no";then | 5028 if test "$with_gtk" != "no";then |
5063 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5029 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5064 echo "configure:5065: checking for GTK configuration script" >&5 | 5030 echo "configure:5031: checking for GTK configuration script" >&5 |
5065 for possible in gtk12-config gtk14-config gtk-config | 5031 for possible in gtk12-config gtk14-config gtk-config |
5066 do | 5032 do |
5067 possible_version=`${possible} --version 2> /dev/null` | 5033 possible_version=`${possible} --version 2> /dev/null` |
5068 if test "x${possible_version}" != "x"; then | 5034 if test "x${possible_version}" != "x"; then |
5069 GTK_CONFIG="${possible}" | 5035 GTK_CONFIG="${possible}" |
5081 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5082 fi | 5048 fi |
5083 | 5049 |
5084 if test "${GTK_CONFIG}" != "no"; then | 5050 if test "${GTK_CONFIG}" != "no"; then |
5085 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5051 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5086 echo "configure:5087: checking gtk version" >&5 | 5052 echo "configure:5053: checking gtk version" >&5 |
5087 GTK_VERSION=`${GTK_CONFIG} --version` | 5053 GTK_VERSION=`${GTK_CONFIG} --version` |
5088 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5054 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5089 | 5055 |
5090 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5056 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5091 echo "configure:5092: checking gtk libs" >&5 | 5057 echo "configure:5058: checking gtk libs" >&5 |
5092 GTK_LIBS=`${GTK_CONFIG} --libs` | 5058 GTK_LIBS=`${GTK_CONFIG} --libs` |
5093 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5059 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5094 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5060 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5095 | 5061 |
5096 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5062 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5097 echo "configure:5098: checking gtk cflags" >&5 | 5063 echo "configure:5064: checking gtk cflags" >&5 |
5098 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5064 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5099 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5065 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5100 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5066 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5101 | 5067 |
5102 | 5068 |
5103 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5069 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5104 echo "configure:5105: checking for main in -lgdk_imlib" >&5 | 5070 echo "configure:5071: checking for main in -lgdk_imlib" >&5 |
5105 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5071 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5106 | 5072 |
5107 xe_check_libs=" -lgdk_imlib " | 5073 xe_check_libs=" -lgdk_imlib " |
5108 cat > conftest.$ac_ext <<EOF | 5074 cat > conftest.$ac_ext <<EOF |
5109 #line 5110 "configure" | 5075 #line 5076 "configure" |
5110 #include "confdefs.h" | 5076 #include "confdefs.h" |
5111 | 5077 |
5112 int main() { | 5078 int main() { |
5113 main() | 5079 main() |
5114 ; return 0; } | 5080 ; return 0; } |
5115 EOF | 5081 EOF |
5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5117 rm -rf conftest* | 5083 rm -rf conftest* |
5118 eval "ac_cv_lib_$ac_lib_var=yes" | 5084 eval "ac_cv_lib_$ac_lib_var=yes" |
5119 else | 5085 else |
5120 echo "configure: failed program was:" >&5 | 5086 echo "configure: failed program was:" >&5 |
5121 cat conftest.$ac_ext >&5 | 5087 cat conftest.$ac_ext >&5 |
5133 fi | 5099 fi |
5134 | 5100 |
5135 | 5101 |
5136 | 5102 |
5137 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5103 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5138 echo "configure:5139: checking for Imlib_init in -lImlib" >&5 | 5104 echo "configure:5105: checking for Imlib_init in -lImlib" >&5 |
5139 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5105 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5140 | 5106 |
5141 xe_check_libs=" -lImlib " | 5107 xe_check_libs=" -lImlib " |
5142 cat > conftest.$ac_ext <<EOF | 5108 cat > conftest.$ac_ext <<EOF |
5143 #line 5144 "configure" | 5109 #line 5110 "configure" |
5144 #include "confdefs.h" | 5110 #include "confdefs.h" |
5145 /* Override any gcc2 internal prototype to avoid an error. */ | 5111 /* Override any gcc2 internal prototype to avoid an error. */ |
5146 /* We use char because int might match the return type of a gcc2 | 5112 /* We use char because int might match the return type of a gcc2 |
5147 builtin and then its argument prototype would still apply. */ | 5113 builtin and then its argument prototype would still apply. */ |
5148 char Imlib_init(); | 5114 char Imlib_init(); |
5149 | 5115 |
5150 int main() { | 5116 int main() { |
5151 Imlib_init() | 5117 Imlib_init() |
5152 ; return 0; } | 5118 ; return 0; } |
5153 EOF | 5119 EOF |
5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5155 rm -rf conftest* | 5121 rm -rf conftest* |
5156 eval "ac_cv_lib_$ac_lib_var=yes" | 5122 eval "ac_cv_lib_$ac_lib_var=yes" |
5157 else | 5123 else |
5158 echo "configure: failed program was:" >&5 | 5124 echo "configure: failed program was:" >&5 |
5159 cat conftest.$ac_ext >&5 | 5125 cat conftest.$ac_ext >&5 |
5172 | 5138 |
5173 | 5139 |
5174 for ac_func in gdk_imlib_init | 5140 for ac_func in gdk_imlib_init |
5175 do | 5141 do |
5176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5177 echo "configure:5178: checking for $ac_func" >&5 | 5143 echo "configure:5144: checking for $ac_func" >&5 |
5178 | 5144 |
5179 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
5180 #line 5181 "configure" | 5146 #line 5147 "configure" |
5181 #include "confdefs.h" | 5147 #include "confdefs.h" |
5182 /* System header to define __stub macros and hopefully few prototypes, | 5148 /* System header to define __stub macros and hopefully few prototypes, |
5183 which can conflict with char $ac_func(); below. */ | 5149 which can conflict with char $ac_func(); below. */ |
5184 #include <assert.h> | 5150 #include <assert.h> |
5185 /* Override any gcc2 internal prototype to avoid an error. */ | 5151 /* Override any gcc2 internal prototype to avoid an error. */ |
5198 $ac_func(); | 5164 $ac_func(); |
5199 #endif | 5165 #endif |
5200 | 5166 |
5201 ; return 0; } | 5167 ; return 0; } |
5202 EOF | 5168 EOF |
5203 if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5169 if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5204 rm -rf conftest* | 5170 rm -rf conftest* |
5205 eval "ac_cv_func_$ac_func=yes" | 5171 eval "ac_cv_func_$ac_func=yes" |
5206 else | 5172 else |
5207 echo "configure: failed program was:" >&5 | 5173 echo "configure: failed program was:" >&5 |
5208 cat conftest.$ac_ext >&5 | 5174 cat conftest.$ac_ext >&5 |
5275 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5241 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5276 for ac_hdr in glade/glade.h glade.h | 5242 for ac_hdr in glade/glade.h glade.h |
5277 do | 5243 do |
5278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5244 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5280 echo "configure:5281: checking for $ac_hdr" >&5 | 5246 echo "configure:5247: checking for $ac_hdr" >&5 |
5281 | 5247 |
5282 cat > conftest.$ac_ext <<EOF | 5248 cat > conftest.$ac_ext <<EOF |
5283 #line 5284 "configure" | 5249 #line 5250 "configure" |
5284 #include "confdefs.h" | 5250 #include "confdefs.h" |
5285 #include <$ac_hdr> | 5251 #include <$ac_hdr> |
5286 EOF | 5252 EOF |
5287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5288 { (eval echo configure:5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5254 { (eval echo configure:5255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5290 if test -z "$ac_err"; then | 5256 if test -z "$ac_err"; then |
5291 rm -rf conftest* | 5257 rm -rf conftest* |
5292 eval "ac_cv_header_$ac_safe=yes" | 5258 eval "ac_cv_header_$ac_safe=yes" |
5293 else | 5259 else |
5314 fi | 5280 fi |
5315 done | 5281 done |
5316 | 5282 |
5317 | 5283 |
5318 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5284 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5319 echo "configure:5320: checking for main in -lxml" >&5 | 5285 echo "configure:5286: checking for main in -lxml" >&5 |
5320 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5286 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5321 | 5287 |
5322 xe_check_libs=" -lxml " | 5288 xe_check_libs=" -lxml " |
5323 cat > conftest.$ac_ext <<EOF | 5289 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5290 #line 5291 "configure" |
5325 #include "confdefs.h" | 5291 #include "confdefs.h" |
5326 | 5292 |
5327 int main() { | 5293 int main() { |
5328 main() | 5294 main() |
5329 ; return 0; } | 5295 ; return 0; } |
5330 EOF | 5296 EOF |
5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5332 rm -rf conftest* | 5298 rm -rf conftest* |
5333 eval "ac_cv_lib_$ac_lib_var=yes" | 5299 eval "ac_cv_lib_$ac_lib_var=yes" |
5334 else | 5300 else |
5335 echo "configure: failed program was:" >&5 | 5301 echo "configure: failed program was:" >&5 |
5336 cat conftest.$ac_ext >&5 | 5302 cat conftest.$ac_ext >&5 |
5348 fi | 5314 fi |
5349 | 5315 |
5350 | 5316 |
5351 | 5317 |
5352 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5318 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5353 echo "configure:5354: checking for main in -lglade" >&5 | 5319 echo "configure:5320: checking for main in -lglade" >&5 |
5354 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5320 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5355 | 5321 |
5356 xe_check_libs=" -lglade " | 5322 xe_check_libs=" -lglade " |
5357 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5324 #line 5325 "configure" |
5359 #include "confdefs.h" | 5325 #include "confdefs.h" |
5360 | 5326 |
5361 int main() { | 5327 int main() { |
5362 main() | 5328 main() |
5363 ; return 0; } | 5329 ; return 0; } |
5364 EOF | 5330 EOF |
5365 if { (eval echo configure:5366: \"$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 |
5366 rm -rf conftest* | 5332 rm -rf conftest* |
5367 eval "ac_cv_lib_$ac_lib_var=yes" | 5333 eval "ac_cv_lib_$ac_lib_var=yes" |
5368 else | 5334 else |
5369 echo "configure: failed program was:" >&5 | 5335 echo "configure: failed program was:" >&5 |
5370 cat conftest.$ac_ext >&5 | 5336 cat conftest.$ac_ext >&5 |
5382 fi | 5348 fi |
5383 | 5349 |
5384 | 5350 |
5385 | 5351 |
5386 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5352 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5387 echo "configure:5388: checking for main in -lglade-gnome" >&5 | 5353 echo "configure:5354: checking for main in -lglade-gnome" >&5 |
5388 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5354 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5389 | 5355 |
5390 xe_check_libs=" -lglade-gnome " | 5356 xe_check_libs=" -lglade-gnome " |
5391 cat > conftest.$ac_ext <<EOF | 5357 cat > conftest.$ac_ext <<EOF |
5392 #line 5393 "configure" | 5358 #line 5359 "configure" |
5393 #include "confdefs.h" | 5359 #include "confdefs.h" |
5394 | 5360 |
5395 int main() { | 5361 int main() { |
5396 main() | 5362 main() |
5397 ; return 0; } | 5363 ; return 0; } |
5398 EOF | 5364 EOF |
5399 if { (eval echo configure:5400: \"$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 |
5400 rm -rf conftest* | 5366 rm -rf conftest* |
5401 eval "ac_cv_lib_$ac_lib_var=yes" | 5367 eval "ac_cv_lib_$ac_lib_var=yes" |
5402 else | 5368 else |
5403 echo "configure: failed program was:" >&5 | 5369 echo "configure: failed program was:" >&5 |
5404 cat conftest.$ac_ext >&5 | 5370 cat conftest.$ac_ext >&5 |
5415 echo "$ac_t""no" 1>&6 | 5381 echo "$ac_t""no" 1>&6 |
5416 fi | 5382 fi |
5417 | 5383 |
5418 | 5384 |
5419 cat > conftest.$ac_ext <<EOF | 5385 cat > conftest.$ac_ext <<EOF |
5420 #line 5421 "configure" | 5386 #line 5387 "configure" |
5421 #include "confdefs.h" | 5387 #include "confdefs.h" |
5422 #include <glade/glade-xml.h> | 5388 #include <glade/glade-xml.h> |
5423 EOF | 5389 EOF |
5424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5425 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5391 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5473 # If we find X, set shell vars x_includes and x_libraries to the | 5439 # If we find X, set shell vars x_includes and x_libraries to the |
5474 # paths, otherwise set no_x=yes. | 5440 # paths, otherwise set no_x=yes. |
5475 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5441 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5476 # --without-x overrides everything else, but does not touch the cache. | 5442 # --without-x overrides everything else, but does not touch the cache. |
5477 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5443 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5478 echo "configure:5479: checking for X" >&5 | 5444 echo "configure:5445: checking for X" >&5 |
5479 | 5445 |
5480 # Check whether --with-x or --without-x was given. | 5446 # Check whether --with-x or --without-x was given. |
5481 if test "${with_x+set}" = set; then | 5447 if test "${with_x+set}" = set; then |
5482 withval="$with_x" | 5448 withval="$with_x" |
5483 : | 5449 : |
5533 # Guess where to find include files, by looking for this one X11 .h file. | 5499 # Guess where to find include files, by looking for this one X11 .h file. |
5534 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5500 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5535 | 5501 |
5536 # First, try using that file with no special directory specified. | 5502 # First, try using that file with no special directory specified. |
5537 cat > conftest.$ac_ext <<EOF | 5503 cat > conftest.$ac_ext <<EOF |
5538 #line 5539 "configure" | 5504 #line 5505 "configure" |
5539 #include "confdefs.h" | 5505 #include "confdefs.h" |
5540 #include <$x_direct_test_include> | 5506 #include <$x_direct_test_include> |
5541 EOF | 5507 EOF |
5542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5543 { (eval echo configure:5544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5509 { (eval echo configure:5510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5545 if test -z "$ac_err"; then | 5511 if test -z "$ac_err"; then |
5546 rm -rf conftest* | 5512 rm -rf conftest* |
5547 # We can compile using X headers with no special include directory. | 5513 # We can compile using X headers with no special include directory. |
5548 ac_x_includes= | 5514 ac_x_includes= |
5607 # See if we find them without any special options. | 5573 # See if we find them without any special options. |
5608 # Don't add to $LIBS permanently. | 5574 # Don't add to $LIBS permanently. |
5609 ac_save_LIBS="$LIBS" | 5575 ac_save_LIBS="$LIBS" |
5610 LIBS="-l$x_direct_test_library $LIBS" | 5576 LIBS="-l$x_direct_test_library $LIBS" |
5611 cat > conftest.$ac_ext <<EOF | 5577 cat > conftest.$ac_ext <<EOF |
5612 #line 5613 "configure" | 5578 #line 5579 "configure" |
5613 #include "confdefs.h" | 5579 #include "confdefs.h" |
5614 | 5580 |
5615 int main() { | 5581 int main() { |
5616 ${x_direct_test_function}() | 5582 ${x_direct_test_function}() |
5617 ; return 0; } | 5583 ; return 0; } |
5618 EOF | 5584 EOF |
5619 if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5620 rm -rf conftest* | 5586 rm -rf conftest* |
5621 LIBS="$ac_save_LIBS" | 5587 LIBS="$ac_save_LIBS" |
5622 # We can link X programs with no special library path. | 5588 # We can link X programs with no special library path. |
5623 ac_x_libraries= | 5589 ac_x_libraries= |
5624 else | 5590 else |
5723 # For Solaris; some versions of Sun CC require a space after -R and | 5689 # For Solaris; some versions of Sun CC require a space after -R and |
5724 # others require no space. Words are not sufficient . . . . | 5690 # others require no space. Words are not sufficient . . . . |
5725 case "`(uname -sr) 2>/dev/null`" in | 5691 case "`(uname -sr) 2>/dev/null`" in |
5726 "SunOS 5"*) | 5692 "SunOS 5"*) |
5727 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5728 echo "configure:5729: checking whether -R must be followed by a space" >&5 | 5694 echo "configure:5695: checking whether -R must be followed by a space" >&5 |
5729 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5695 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5730 cat > conftest.$ac_ext <<EOF | 5696 cat > conftest.$ac_ext <<EOF |
5731 #line 5732 "configure" | 5697 #line 5698 "configure" |
5732 #include "confdefs.h" | 5698 #include "confdefs.h" |
5733 | 5699 |
5734 int main() { | 5700 int main() { |
5735 | 5701 |
5736 ; return 0; } | 5702 ; return 0; } |
5737 EOF | 5703 EOF |
5738 if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5739 rm -rf conftest* | 5705 rm -rf conftest* |
5740 ac_R_nospace=yes | 5706 ac_R_nospace=yes |
5741 else | 5707 else |
5742 echo "configure: failed program was:" >&5 | 5708 echo "configure: failed program was:" >&5 |
5743 cat conftest.$ac_ext >&5 | 5709 cat conftest.$ac_ext >&5 |
5749 echo "$ac_t""no" 1>&6 | 5715 echo "$ac_t""no" 1>&6 |
5750 X_LIBS="$X_LIBS -R$x_libraries" | 5716 X_LIBS="$X_LIBS -R$x_libraries" |
5751 else | 5717 else |
5752 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5718 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5753 cat > conftest.$ac_ext <<EOF | 5719 cat > conftest.$ac_ext <<EOF |
5754 #line 5755 "configure" | 5720 #line 5721 "configure" |
5755 #include "confdefs.h" | 5721 #include "confdefs.h" |
5756 | 5722 |
5757 int main() { | 5723 int main() { |
5758 | 5724 |
5759 ; return 0; } | 5725 ; return 0; } |
5760 EOF | 5726 EOF |
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5762 rm -rf conftest* | 5728 rm -rf conftest* |
5763 ac_R_space=yes | 5729 ac_R_space=yes |
5764 else | 5730 else |
5765 echo "configure: failed program was:" >&5 | 5731 echo "configure: failed program was:" >&5 |
5766 cat conftest.$ac_ext >&5 | 5732 cat conftest.$ac_ext >&5 |
5792 if test "$with_dnet" = "no" ; then | 5758 if test "$with_dnet" = "no" ; then |
5793 ac_cv_lib_dnet_dnet_ntoa=no | 5759 ac_cv_lib_dnet_dnet_ntoa=no |
5794 else | 5760 else |
5795 | 5761 |
5796 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5762 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5797 echo "configure:5798: checking for dnet_ntoa in -ldnet" >&5 | 5763 echo "configure:5764: checking for dnet_ntoa in -ldnet" >&5 |
5798 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5764 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5799 | 5765 |
5800 xe_check_libs=" -ldnet " | 5766 xe_check_libs=" -ldnet " |
5801 cat > conftest.$ac_ext <<EOF | 5767 cat > conftest.$ac_ext <<EOF |
5802 #line 5803 "configure" | 5768 #line 5769 "configure" |
5803 #include "confdefs.h" | 5769 #include "confdefs.h" |
5804 /* Override any gcc2 internal prototype to avoid an error. */ | 5770 /* Override any gcc2 internal prototype to avoid an error. */ |
5805 /* We use char because int might match the return type of a gcc2 | 5771 /* We use char because int might match the return type of a gcc2 |
5806 builtin and then its argument prototype would still apply. */ | 5772 builtin and then its argument prototype would still apply. */ |
5807 char dnet_ntoa(); | 5773 char dnet_ntoa(); |
5808 | 5774 |
5809 int main() { | 5775 int main() { |
5810 dnet_ntoa() | 5776 dnet_ntoa() |
5811 ; return 0; } | 5777 ; return 0; } |
5812 EOF | 5778 EOF |
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5814 rm -rf conftest* | 5780 rm -rf conftest* |
5815 eval "ac_cv_lib_$ac_lib_var=yes" | 5781 eval "ac_cv_lib_$ac_lib_var=yes" |
5816 else | 5782 else |
5817 echo "configure: failed program was:" >&5 | 5783 echo "configure: failed program was:" >&5 |
5818 cat conftest.$ac_ext >&5 | 5784 cat conftest.$ac_ext >&5 |
5832 fi | 5798 fi |
5833 | 5799 |
5834 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5835 | 5801 |
5836 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5802 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5837 echo "configure:5838: checking for dnet_ntoa in -ldnet_stub" >&5 | 5803 echo "configure:5804: checking for dnet_ntoa in -ldnet_stub" >&5 |
5838 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5804 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5839 | 5805 |
5840 xe_check_libs=" -ldnet_stub " | 5806 xe_check_libs=" -ldnet_stub " |
5841 cat > conftest.$ac_ext <<EOF | 5807 cat > conftest.$ac_ext <<EOF |
5842 #line 5843 "configure" | 5808 #line 5809 "configure" |
5843 #include "confdefs.h" | 5809 #include "confdefs.h" |
5844 /* Override any gcc2 internal prototype to avoid an error. */ | 5810 /* Override any gcc2 internal prototype to avoid an error. */ |
5845 /* We use char because int might match the return type of a gcc2 | 5811 /* We use char because int might match the return type of a gcc2 |
5846 builtin and then its argument prototype would still apply. */ | 5812 builtin and then its argument prototype would still apply. */ |
5847 char dnet_ntoa(); | 5813 char dnet_ntoa(); |
5848 | 5814 |
5849 int main() { | 5815 int main() { |
5850 dnet_ntoa() | 5816 dnet_ntoa() |
5851 ; return 0; } | 5817 ; return 0; } |
5852 EOF | 5818 EOF |
5853 if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5854 rm -rf conftest* | 5820 rm -rf conftest* |
5855 eval "ac_cv_lib_$ac_lib_var=yes" | 5821 eval "ac_cv_lib_$ac_lib_var=yes" |
5856 else | 5822 else |
5857 echo "configure: failed program was:" >&5 | 5823 echo "configure: failed program was:" >&5 |
5858 cat conftest.$ac_ext >&5 | 5824 cat conftest.$ac_ext >&5 |
5877 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5878 # needs -lnsl. | 5844 # needs -lnsl. |
5879 # The nsl library prevents programs from opening the X display | 5845 # The nsl library prevents programs from opening the X display |
5880 # on Irix 5.2, according to dickey@clark.net. | 5846 # on Irix 5.2, according to dickey@clark.net. |
5881 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5882 echo "configure:5883: checking for gethostbyname" >&5 | 5848 echo "configure:5849: checking for gethostbyname" >&5 |
5883 | 5849 |
5884 cat > conftest.$ac_ext <<EOF | 5850 cat > conftest.$ac_ext <<EOF |
5885 #line 5886 "configure" | 5851 #line 5852 "configure" |
5886 #include "confdefs.h" | 5852 #include "confdefs.h" |
5887 /* System header to define __stub macros and hopefully few prototypes, | 5853 /* System header to define __stub macros and hopefully few prototypes, |
5888 which can conflict with char gethostbyname(); below. */ | 5854 which can conflict with char gethostbyname(); below. */ |
5889 #include <assert.h> | 5855 #include <assert.h> |
5890 /* Override any gcc2 internal prototype to avoid an error. */ | 5856 /* Override any gcc2 internal prototype to avoid an error. */ |
5903 gethostbyname(); | 5869 gethostbyname(); |
5904 #endif | 5870 #endif |
5905 | 5871 |
5906 ; return 0; } | 5872 ; return 0; } |
5907 EOF | 5873 EOF |
5908 if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5909 rm -rf conftest* | 5875 rm -rf conftest* |
5910 eval "ac_cv_func_gethostbyname=yes" | 5876 eval "ac_cv_func_gethostbyname=yes" |
5911 else | 5877 else |
5912 echo "configure: failed program was:" >&5 | 5878 echo "configure: failed program was:" >&5 |
5913 cat conftest.$ac_ext >&5 | 5879 cat conftest.$ac_ext >&5 |
5924 fi | 5890 fi |
5925 | 5891 |
5926 if test $ac_cv_func_gethostbyname = no; then | 5892 if test $ac_cv_func_gethostbyname = no; then |
5927 | 5893 |
5928 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5894 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5929 echo "configure:5930: checking for gethostbyname in -lnsl" >&5 | 5895 echo "configure:5896: checking for gethostbyname in -lnsl" >&5 |
5930 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5896 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5931 | 5897 |
5932 xe_check_libs=" -lnsl " | 5898 xe_check_libs=" -lnsl " |
5933 cat > conftest.$ac_ext <<EOF | 5899 cat > conftest.$ac_ext <<EOF |
5934 #line 5935 "configure" | 5900 #line 5901 "configure" |
5935 #include "confdefs.h" | 5901 #include "confdefs.h" |
5936 /* Override any gcc2 internal prototype to avoid an error. */ | 5902 /* Override any gcc2 internal prototype to avoid an error. */ |
5937 /* We use char because int might match the return type of a gcc2 | 5903 /* We use char because int might match the return type of a gcc2 |
5938 builtin and then its argument prototype would still apply. */ | 5904 builtin and then its argument prototype would still apply. */ |
5939 char gethostbyname(); | 5905 char gethostbyname(); |
5940 | 5906 |
5941 int main() { | 5907 int main() { |
5942 gethostbyname() | 5908 gethostbyname() |
5943 ; return 0; } | 5909 ; return 0; } |
5944 EOF | 5910 EOF |
5945 if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5911 if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5946 rm -rf conftest* | 5912 rm -rf conftest* |
5947 eval "ac_cv_lib_$ac_lib_var=yes" | 5913 eval "ac_cv_lib_$ac_lib_var=yes" |
5948 else | 5914 else |
5949 echo "configure: failed program was:" >&5 | 5915 echo "configure: failed program was:" >&5 |
5950 cat conftest.$ac_ext >&5 | 5916 cat conftest.$ac_ext >&5 |
5970 # on later versions), says simon@lia.di.epfl.ch: it contains | 5936 # on later versions), says simon@lia.di.epfl.ch: it contains |
5971 # gethostby* variants that don't use the nameserver (or something). | 5937 # gethostby* variants that don't use the nameserver (or something). |
5972 # -lsocket must be given before -lnsl if both are needed. | 5938 # -lsocket must be given before -lnsl if both are needed. |
5973 # We assume that if connect needs -lnsl, so does gethostbyname. | 5939 # We assume that if connect needs -lnsl, so does gethostbyname. |
5974 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5940 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5975 echo "configure:5976: checking for connect" >&5 | 5941 echo "configure:5942: checking for connect" >&5 |
5976 | 5942 |
5977 cat > conftest.$ac_ext <<EOF | 5943 cat > conftest.$ac_ext <<EOF |
5978 #line 5979 "configure" | 5944 #line 5945 "configure" |
5979 #include "confdefs.h" | 5945 #include "confdefs.h" |
5980 /* System header to define __stub macros and hopefully few prototypes, | 5946 /* System header to define __stub macros and hopefully few prototypes, |
5981 which can conflict with char connect(); below. */ | 5947 which can conflict with char connect(); below. */ |
5982 #include <assert.h> | 5948 #include <assert.h> |
5983 /* Override any gcc2 internal prototype to avoid an error. */ | 5949 /* Override any gcc2 internal prototype to avoid an error. */ |
5996 connect(); | 5962 connect(); |
5997 #endif | 5963 #endif |
5998 | 5964 |
5999 ; return 0; } | 5965 ; return 0; } |
6000 EOF | 5966 EOF |
6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6002 rm -rf conftest* | 5968 rm -rf conftest* |
6003 eval "ac_cv_func_connect=yes" | 5969 eval "ac_cv_func_connect=yes" |
6004 else | 5970 else |
6005 echo "configure: failed program was:" >&5 | 5971 echo "configure: failed program was:" >&5 |
6006 cat conftest.$ac_ext >&5 | 5972 cat conftest.$ac_ext >&5 |
6019 if test $ac_cv_func_connect = no; then | 5985 if test $ac_cv_func_connect = no; then |
6020 | 5986 |
6021 xe_msg_checking="for connect in -lsocket" | 5987 xe_msg_checking="for connect in -lsocket" |
6022 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5988 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5989 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6024 echo "configure:6025: checking "$xe_msg_checking"" >&5 | 5990 echo "configure:5991: checking "$xe_msg_checking"" >&5 |
6025 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5991 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6026 | 5992 |
6027 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5993 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6028 cat > conftest.$ac_ext <<EOF | 5994 cat > conftest.$ac_ext <<EOF |
6029 #line 6030 "configure" | 5995 #line 5996 "configure" |
6030 #include "confdefs.h" | 5996 #include "confdefs.h" |
6031 /* Override any gcc2 internal prototype to avoid an error. */ | 5997 /* Override any gcc2 internal prototype to avoid an error. */ |
6032 /* We use char because int might match the return type of a gcc2 | 5998 /* We use char because int might match the return type of a gcc2 |
6033 builtin and then its argument prototype would still apply. */ | 5999 builtin and then its argument prototype would still apply. */ |
6034 char connect(); | 6000 char connect(); |
6035 | 6001 |
6036 int main() { | 6002 int main() { |
6037 connect() | 6003 connect() |
6038 ; return 0; } | 6004 ; return 0; } |
6039 EOF | 6005 EOF |
6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6006 if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6041 rm -rf conftest* | 6007 rm -rf conftest* |
6042 eval "ac_cv_lib_$ac_lib_var=yes" | 6008 eval "ac_cv_lib_$ac_lib_var=yes" |
6043 else | 6009 else |
6044 echo "configure: failed program was:" >&5 | 6010 echo "configure: failed program was:" >&5 |
6045 cat conftest.$ac_ext >&5 | 6011 cat conftest.$ac_ext >&5 |
6059 | 6025 |
6060 fi | 6026 fi |
6061 | 6027 |
6062 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6028 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6063 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6029 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6064 echo "configure:6065: checking for remove" >&5 | 6030 echo "configure:6031: checking for remove" >&5 |
6065 | 6031 |
6066 cat > conftest.$ac_ext <<EOF | 6032 cat > conftest.$ac_ext <<EOF |
6067 #line 6068 "configure" | 6033 #line 6034 "configure" |
6068 #include "confdefs.h" | 6034 #include "confdefs.h" |
6069 /* System header to define __stub macros and hopefully few prototypes, | 6035 /* System header to define __stub macros and hopefully few prototypes, |
6070 which can conflict with char remove(); below. */ | 6036 which can conflict with char remove(); below. */ |
6071 #include <assert.h> | 6037 #include <assert.h> |
6072 /* Override any gcc2 internal prototype to avoid an error. */ | 6038 /* Override any gcc2 internal prototype to avoid an error. */ |
6085 remove(); | 6051 remove(); |
6086 #endif | 6052 #endif |
6087 | 6053 |
6088 ; return 0; } | 6054 ; return 0; } |
6089 EOF | 6055 EOF |
6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6091 rm -rf conftest* | 6057 rm -rf conftest* |
6092 eval "ac_cv_func_remove=yes" | 6058 eval "ac_cv_func_remove=yes" |
6093 else | 6059 else |
6094 echo "configure: failed program was:" >&5 | 6060 echo "configure: failed program was:" >&5 |
6095 cat conftest.$ac_ext >&5 | 6061 cat conftest.$ac_ext >&5 |
6106 fi | 6072 fi |
6107 | 6073 |
6108 if test $ac_cv_func_remove = no; then | 6074 if test $ac_cv_func_remove = no; then |
6109 | 6075 |
6110 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6076 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6111 echo "configure:6112: checking for remove in -lposix" >&5 | 6077 echo "configure:6078: checking for remove in -lposix" >&5 |
6112 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6078 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6113 | 6079 |
6114 xe_check_libs=" -lposix " | 6080 xe_check_libs=" -lposix " |
6115 cat > conftest.$ac_ext <<EOF | 6081 cat > conftest.$ac_ext <<EOF |
6116 #line 6117 "configure" | 6082 #line 6083 "configure" |
6117 #include "confdefs.h" | 6083 #include "confdefs.h" |
6118 /* Override any gcc2 internal prototype to avoid an error. */ | 6084 /* Override any gcc2 internal prototype to avoid an error. */ |
6119 /* We use char because int might match the return type of a gcc2 | 6085 /* We use char because int might match the return type of a gcc2 |
6120 builtin and then its argument prototype would still apply. */ | 6086 builtin and then its argument prototype would still apply. */ |
6121 char remove(); | 6087 char remove(); |
6122 | 6088 |
6123 int main() { | 6089 int main() { |
6124 remove() | 6090 remove() |
6125 ; return 0; } | 6091 ; return 0; } |
6126 EOF | 6092 EOF |
6127 if { (eval echo configure:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6128 rm -rf conftest* | 6094 rm -rf conftest* |
6129 eval "ac_cv_lib_$ac_lib_var=yes" | 6095 eval "ac_cv_lib_$ac_lib_var=yes" |
6130 else | 6096 else |
6131 echo "configure: failed program was:" >&5 | 6097 echo "configure: failed program was:" >&5 |
6132 cat conftest.$ac_ext >&5 | 6098 cat conftest.$ac_ext >&5 |
6146 | 6112 |
6147 fi | 6113 fi |
6148 | 6114 |
6149 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6115 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6150 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6116 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6151 echo "configure:6152: checking for shmat" >&5 | 6117 echo "configure:6118: checking for shmat" >&5 |
6152 | 6118 |
6153 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
6154 #line 6155 "configure" | 6120 #line 6121 "configure" |
6155 #include "confdefs.h" | 6121 #include "confdefs.h" |
6156 /* System header to define __stub macros and hopefully few prototypes, | 6122 /* System header to define __stub macros and hopefully few prototypes, |
6157 which can conflict with char shmat(); below. */ | 6123 which can conflict with char shmat(); below. */ |
6158 #include <assert.h> | 6124 #include <assert.h> |
6159 /* Override any gcc2 internal prototype to avoid an error. */ | 6125 /* Override any gcc2 internal prototype to avoid an error. */ |
6172 shmat(); | 6138 shmat(); |
6173 #endif | 6139 #endif |
6174 | 6140 |
6175 ; return 0; } | 6141 ; return 0; } |
6176 EOF | 6142 EOF |
6177 if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6178 rm -rf conftest* | 6144 rm -rf conftest* |
6179 eval "ac_cv_func_shmat=yes" | 6145 eval "ac_cv_func_shmat=yes" |
6180 else | 6146 else |
6181 echo "configure: failed program was:" >&5 | 6147 echo "configure: failed program was:" >&5 |
6182 cat conftest.$ac_ext >&5 | 6148 cat conftest.$ac_ext >&5 |
6193 fi | 6159 fi |
6194 | 6160 |
6195 if test $ac_cv_func_shmat = no; then | 6161 if test $ac_cv_func_shmat = no; then |
6196 | 6162 |
6197 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6163 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6198 echo "configure:6199: checking for shmat in -lipc" >&5 | 6164 echo "configure:6165: checking for shmat in -lipc" >&5 |
6199 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6165 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6200 | 6166 |
6201 xe_check_libs=" -lipc " | 6167 xe_check_libs=" -lipc " |
6202 cat > conftest.$ac_ext <<EOF | 6168 cat > conftest.$ac_ext <<EOF |
6203 #line 6204 "configure" | 6169 #line 6170 "configure" |
6204 #include "confdefs.h" | 6170 #include "confdefs.h" |
6205 /* Override any gcc2 internal prototype to avoid an error. */ | 6171 /* Override any gcc2 internal prototype to avoid an error. */ |
6206 /* We use char because int might match the return type of a gcc2 | 6172 /* We use char because int might match the return type of a gcc2 |
6207 builtin and then its argument prototype would still apply. */ | 6173 builtin and then its argument prototype would still apply. */ |
6208 char shmat(); | 6174 char shmat(); |
6209 | 6175 |
6210 int main() { | 6176 int main() { |
6211 shmat() | 6177 shmat() |
6212 ; return 0; } | 6178 ; return 0; } |
6213 EOF | 6179 EOF |
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6215 rm -rf conftest* | 6181 rm -rf conftest* |
6216 eval "ac_cv_lib_$ac_lib_var=yes" | 6182 eval "ac_cv_lib_$ac_lib_var=yes" |
6217 else | 6183 else |
6218 echo "configure: failed program was:" >&5 | 6184 echo "configure: failed program was:" >&5 |
6219 cat conftest.$ac_ext >&5 | 6185 cat conftest.$ac_ext >&5 |
6245 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6211 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6246 | 6212 |
6247 xe_msg_checking="for IceConnectionNumber in -lICE" | 6213 xe_msg_checking="for IceConnectionNumber in -lICE" |
6248 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6214 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6249 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6215 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6250 echo "configure:6251: checking "$xe_msg_checking"" >&5 | 6216 echo "configure:6217: checking "$xe_msg_checking"" >&5 |
6251 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6217 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6252 | 6218 |
6253 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6219 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6254 cat > conftest.$ac_ext <<EOF | 6220 cat > conftest.$ac_ext <<EOF |
6255 #line 6256 "configure" | 6221 #line 6222 "configure" |
6256 #include "confdefs.h" | 6222 #include "confdefs.h" |
6257 /* Override any gcc2 internal prototype to avoid an error. */ | 6223 /* Override any gcc2 internal prototype to avoid an error. */ |
6258 /* We use char because int might match the return type of a gcc2 | 6224 /* We use char because int might match the return type of a gcc2 |
6259 builtin and then its argument prototype would still apply. */ | 6225 builtin and then its argument prototype would still apply. */ |
6260 char IceConnectionNumber(); | 6226 char IceConnectionNumber(); |
6261 | 6227 |
6262 int main() { | 6228 int main() { |
6263 IceConnectionNumber() | 6229 IceConnectionNumber() |
6264 ; return 0; } | 6230 ; return 0; } |
6265 EOF | 6231 EOF |
6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6267 rm -rf conftest* | 6233 rm -rf conftest* |
6268 eval "ac_cv_lib_$ac_lib_var=yes" | 6234 eval "ac_cv_lib_$ac_lib_var=yes" |
6269 else | 6235 else |
6270 echo "configure: failed program was:" >&5 | 6236 echo "configure: failed program was:" >&5 |
6271 cat conftest.$ac_ext >&5 | 6237 cat conftest.$ac_ext >&5 |
6428 EOF | 6394 EOF |
6429 } | 6395 } |
6430 | 6396 |
6431 | 6397 |
6432 echo "checking for X defines extracted by xmkmf" 1>&6 | 6398 echo "checking for X defines extracted by xmkmf" 1>&6 |
6433 echo "configure:6434: checking for X defines extracted by xmkmf" >&5 | 6399 echo "configure:6400: checking for X defines extracted by xmkmf" >&5 |
6434 rm -fr conftestdir | 6400 rm -fr conftestdir |
6435 if mkdir conftestdir; then | 6401 if mkdir conftestdir; then |
6436 cd conftestdir | 6402 cd conftestdir |
6437 cat > Imakefile <<'EOF' | 6403 cat > Imakefile <<'EOF' |
6438 xetest: | 6404 xetest: |
6477 done | 6443 done |
6478 fi | 6444 fi |
6479 | 6445 |
6480 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6446 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6481 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6447 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6482 echo "configure:6483: checking for X11/Intrinsic.h" >&5 | 6448 echo "configure:6449: checking for X11/Intrinsic.h" >&5 |
6483 | 6449 |
6484 cat > conftest.$ac_ext <<EOF | 6450 cat > conftest.$ac_ext <<EOF |
6485 #line 6486 "configure" | 6451 #line 6452 "configure" |
6486 #include "confdefs.h" | 6452 #include "confdefs.h" |
6487 #include <X11/Intrinsic.h> | 6453 #include <X11/Intrinsic.h> |
6488 EOF | 6454 EOF |
6489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6490 { (eval echo configure:6491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6456 { (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6492 if test -z "$ac_err"; then | 6458 if test -z "$ac_err"; then |
6493 rm -rf conftest* | 6459 rm -rf conftest* |
6494 eval "ac_cv_header_$ac_safe=yes" | 6460 eval "ac_cv_header_$ac_safe=yes" |
6495 else | 6461 else |
6509 fi | 6475 fi |
6510 | 6476 |
6511 | 6477 |
6512 | 6478 |
6513 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6479 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6514 echo "configure:6515: checking for XOpenDisplay in -lX11" >&5 | 6480 echo "configure:6481: checking for XOpenDisplay in -lX11" >&5 |
6515 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6481 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6516 | 6482 |
6517 xe_check_libs=" -lX11 " | 6483 xe_check_libs=" -lX11 " |
6518 cat > conftest.$ac_ext <<EOF | 6484 cat > conftest.$ac_ext <<EOF |
6519 #line 6520 "configure" | 6485 #line 6486 "configure" |
6520 #include "confdefs.h" | 6486 #include "confdefs.h" |
6521 /* Override any gcc2 internal prototype to avoid an error. */ | 6487 /* Override any gcc2 internal prototype to avoid an error. */ |
6522 /* We use char because int might match the return type of a gcc2 | 6488 /* We use char because int might match the return type of a gcc2 |
6523 builtin and then its argument prototype would still apply. */ | 6489 builtin and then its argument prototype would still apply. */ |
6524 char XOpenDisplay(); | 6490 char XOpenDisplay(); |
6525 | 6491 |
6526 int main() { | 6492 int main() { |
6527 XOpenDisplay() | 6493 XOpenDisplay() |
6528 ; return 0; } | 6494 ; return 0; } |
6529 EOF | 6495 EOF |
6530 if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6496 if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6531 rm -rf conftest* | 6497 rm -rf conftest* |
6532 eval "ac_cv_lib_$ac_lib_var=yes" | 6498 eval "ac_cv_lib_$ac_lib_var=yes" |
6533 else | 6499 else |
6534 echo "configure: failed program was:" >&5 | 6500 echo "configure: failed program was:" >&5 |
6535 cat conftest.$ac_ext >&5 | 6501 cat conftest.$ac_ext >&5 |
6550 if test "$have_lib_x11" != "yes"; then | 6516 if test "$have_lib_x11" != "yes"; then |
6551 | 6517 |
6552 xe_msg_checking="for XGetFontProperty in -lX11" | 6518 xe_msg_checking="for XGetFontProperty in -lX11" |
6553 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6519 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6554 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6520 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6555 echo "configure:6556: checking "$xe_msg_checking"" >&5 | 6521 echo "configure:6522: checking "$xe_msg_checking"" >&5 |
6556 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6522 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6557 | 6523 |
6558 xe_check_libs=" -lX11 -b i486-linuxaout" | 6524 xe_check_libs=" -lX11 -b i486-linuxaout" |
6559 cat > conftest.$ac_ext <<EOF | 6525 cat > conftest.$ac_ext <<EOF |
6560 #line 6561 "configure" | 6526 #line 6527 "configure" |
6561 #include "confdefs.h" | 6527 #include "confdefs.h" |
6562 /* Override any gcc2 internal prototype to avoid an error. */ | 6528 /* Override any gcc2 internal prototype to avoid an error. */ |
6563 /* We use char because int might match the return type of a gcc2 | 6529 /* We use char because int might match the return type of a gcc2 |
6564 builtin and then its argument prototype would still apply. */ | 6530 builtin and then its argument prototype would still apply. */ |
6565 char XGetFontProperty(); | 6531 char XGetFontProperty(); |
6566 | 6532 |
6567 int main() { | 6533 int main() { |
6568 XGetFontProperty() | 6534 XGetFontProperty() |
6569 ; return 0; } | 6535 ; return 0; } |
6570 EOF | 6536 EOF |
6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6572 rm -rf conftest* | 6538 rm -rf conftest* |
6573 eval "ac_cv_lib_$ac_lib_var=yes" | 6539 eval "ac_cv_lib_$ac_lib_var=yes" |
6574 else | 6540 else |
6575 echo "configure: failed program was:" >&5 | 6541 echo "configure: failed program was:" >&5 |
6576 cat conftest.$ac_ext >&5 | 6542 cat conftest.$ac_ext >&5 |
6593 libs_x="-lX11" | 6559 libs_x="-lX11" |
6594 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6560 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6595 | 6561 |
6596 | 6562 |
6597 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6563 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6598 echo "configure:6599: checking for XShapeSelectInput in -lXext" >&5 | 6564 echo "configure:6565: checking for XShapeSelectInput in -lXext" >&5 |
6599 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6565 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6600 | 6566 |
6601 xe_check_libs=" -lXext " | 6567 xe_check_libs=" -lXext " |
6602 cat > conftest.$ac_ext <<EOF | 6568 cat > conftest.$ac_ext <<EOF |
6603 #line 6604 "configure" | 6569 #line 6570 "configure" |
6604 #include "confdefs.h" | 6570 #include "confdefs.h" |
6605 /* Override any gcc2 internal prototype to avoid an error. */ | 6571 /* Override any gcc2 internal prototype to avoid an error. */ |
6606 /* We use char because int might match the return type of a gcc2 | 6572 /* We use char because int might match the return type of a gcc2 |
6607 builtin and then its argument prototype would still apply. */ | 6573 builtin and then its argument prototype would still apply. */ |
6608 char XShapeSelectInput(); | 6574 char XShapeSelectInput(); |
6609 | 6575 |
6610 int main() { | 6576 int main() { |
6611 XShapeSelectInput() | 6577 XShapeSelectInput() |
6612 ; return 0; } | 6578 ; return 0; } |
6613 EOF | 6579 EOF |
6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6615 rm -rf conftest* | 6581 rm -rf conftest* |
6616 eval "ac_cv_lib_$ac_lib_var=yes" | 6582 eval "ac_cv_lib_$ac_lib_var=yes" |
6617 else | 6583 else |
6618 echo "configure: failed program was:" >&5 | 6584 echo "configure: failed program was:" >&5 |
6619 cat conftest.$ac_ext >&5 | 6585 cat conftest.$ac_ext >&5 |
6632 | 6598 |
6633 | 6599 |
6634 | 6600 |
6635 | 6601 |
6636 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6602 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6637 echo "configure:6638: checking for XtOpenDisplay in -lXt" >&5 | 6603 echo "configure:6604: checking for XtOpenDisplay in -lXt" >&5 |
6638 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6604 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6639 | 6605 |
6640 xe_check_libs=" -lXt " | 6606 xe_check_libs=" -lXt " |
6641 cat > conftest.$ac_ext <<EOF | 6607 cat > conftest.$ac_ext <<EOF |
6642 #line 6643 "configure" | 6608 #line 6609 "configure" |
6643 #include "confdefs.h" | 6609 #include "confdefs.h" |
6644 /* Override any gcc2 internal prototype to avoid an error. */ | 6610 /* Override any gcc2 internal prototype to avoid an error. */ |
6645 /* We use char because int might match the return type of a gcc2 | 6611 /* We use char because int might match the return type of a gcc2 |
6646 builtin and then its argument prototype would still apply. */ | 6612 builtin and then its argument prototype would still apply. */ |
6647 char XtOpenDisplay(); | 6613 char XtOpenDisplay(); |
6648 | 6614 |
6649 int main() { | 6615 int main() { |
6650 XtOpenDisplay() | 6616 XtOpenDisplay() |
6651 ; return 0; } | 6617 ; return 0; } |
6652 EOF | 6618 EOF |
6653 if { (eval echo configure:6654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6654 rm -rf conftest* | 6620 rm -rf conftest* |
6655 eval "ac_cv_lib_$ac_lib_var=yes" | 6621 eval "ac_cv_lib_$ac_lib_var=yes" |
6656 else | 6622 else |
6657 echo "configure: failed program was:" >&5 | 6623 echo "configure: failed program was:" >&5 |
6658 cat conftest.$ac_ext >&5 | 6624 cat conftest.$ac_ext >&5 |
6671 fi | 6637 fi |
6672 | 6638 |
6673 | 6639 |
6674 | 6640 |
6675 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6641 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6676 echo "configure:6677: checking the version of X11 being used" >&5 | 6642 echo "configure:6643: checking the version of X11 being used" >&5 |
6677 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6678 #line 6679 "configure" | 6644 #line 6645 "configure" |
6679 #include "confdefs.h" | 6645 #include "confdefs.h" |
6680 #include <X11/Intrinsic.h> | 6646 #include <X11/Intrinsic.h> |
6681 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6647 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6682 EOF | 6648 EOF |
6683 if { (eval echo configure:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6684 then | 6650 then |
6685 ./conftest foobar; x11_release=$? | 6651 ./conftest foobar; x11_release=$? |
6686 else | 6652 else |
6687 conftest_rc="$?" | 6653 conftest_rc="$?" |
6688 echo "configure: failed program was:" >&5 | 6654 echo "configure: failed program was:" >&5 |
6709 fi | 6675 fi |
6710 | 6676 |
6711 for ac_func in XConvertCase | 6677 for ac_func in XConvertCase |
6712 do | 6678 do |
6713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6714 echo "configure:6715: checking for $ac_func" >&5 | 6680 echo "configure:6681: checking for $ac_func" >&5 |
6715 | 6681 |
6716 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6717 #line 6718 "configure" | 6683 #line 6684 "configure" |
6718 #include "confdefs.h" | 6684 #include "confdefs.h" |
6719 /* System header to define __stub macros and hopefully few prototypes, | 6685 /* System header to define __stub macros and hopefully few prototypes, |
6720 which can conflict with char $ac_func(); below. */ | 6686 which can conflict with char $ac_func(); below. */ |
6721 #include <assert.h> | 6687 #include <assert.h> |
6722 /* Override any gcc2 internal prototype to avoid an error. */ | 6688 /* Override any gcc2 internal prototype to avoid an error. */ |
6735 $ac_func(); | 6701 $ac_func(); |
6736 #endif | 6702 #endif |
6737 | 6703 |
6738 ; return 0; } | 6704 ; return 0; } |
6739 EOF | 6705 EOF |
6740 if { (eval echo configure:6741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6706 if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6741 rm -rf conftest* | 6707 rm -rf conftest* |
6742 eval "ac_cv_func_$ac_func=yes" | 6708 eval "ac_cv_func_$ac_func=yes" |
6743 else | 6709 else |
6744 echo "configure: failed program was:" >&5 | 6710 echo "configure: failed program was:" >&5 |
6745 cat conftest.$ac_ext >&5 | 6711 cat conftest.$ac_ext >&5 |
6767 | 6733 |
6768 for ac_hdr in X11/Xlocale.h | 6734 for ac_hdr in X11/Xlocale.h |
6769 do | 6735 do |
6770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6772 echo "configure:6773: checking for $ac_hdr" >&5 | 6738 echo "configure:6739: checking for $ac_hdr" >&5 |
6773 | 6739 |
6774 cat > conftest.$ac_ext <<EOF | 6740 cat > conftest.$ac_ext <<EOF |
6775 #line 6776 "configure" | 6741 #line 6742 "configure" |
6776 #include "confdefs.h" | 6742 #include "confdefs.h" |
6777 #include <$ac_hdr> | 6743 #include <$ac_hdr> |
6778 EOF | 6744 EOF |
6779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6780 { (eval echo configure:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6782 if test -z "$ac_err"; then | 6748 if test -z "$ac_err"; then |
6783 rm -rf conftest* | 6749 rm -rf conftest* |
6784 eval "ac_cv_header_$ac_safe=yes" | 6750 eval "ac_cv_header_$ac_safe=yes" |
6785 else | 6751 else |
6808 | 6774 |
6809 | 6775 |
6810 for ac_func in XRegisterIMInstantiateCallback | 6776 for ac_func in XRegisterIMInstantiateCallback |
6811 do | 6777 do |
6812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6813 echo "configure:6814: checking for $ac_func" >&5 | 6779 echo "configure:6780: checking for $ac_func" >&5 |
6814 | 6780 |
6815 cat > conftest.$ac_ext <<EOF | 6781 cat > conftest.$ac_ext <<EOF |
6816 #line 6817 "configure" | 6782 #line 6783 "configure" |
6817 #include "confdefs.h" | 6783 #include "confdefs.h" |
6818 /* System header to define __stub macros and hopefully few prototypes, | 6784 /* System header to define __stub macros and hopefully few prototypes, |
6819 which can conflict with char $ac_func(); below. */ | 6785 which can conflict with char $ac_func(); below. */ |
6820 #include <assert.h> | 6786 #include <assert.h> |
6821 /* Override any gcc2 internal prototype to avoid an error. */ | 6787 /* Override any gcc2 internal prototype to avoid an error. */ |
6834 $ac_func(); | 6800 $ac_func(); |
6835 #endif | 6801 #endif |
6836 | 6802 |
6837 ; return 0; } | 6803 ; return 0; } |
6838 EOF | 6804 EOF |
6839 if { (eval echo configure:6840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6840 rm -rf conftest* | 6806 rm -rf conftest* |
6841 eval "ac_cv_func_$ac_func=yes" | 6807 eval "ac_cv_func_$ac_func=yes" |
6842 else | 6808 else |
6843 echo "configure: failed program was:" >&5 | 6809 echo "configure: failed program was:" >&5 |
6844 cat conftest.$ac_ext >&5 | 6810 cat conftest.$ac_ext >&5 |
6862 echo "$ac_t""no" 1>&6 | 6828 echo "$ac_t""no" 1>&6 |
6863 fi | 6829 fi |
6864 done | 6830 done |
6865 | 6831 |
6866 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6832 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6867 echo "configure:6868: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6833 echo "configure:6834: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6868 cat > conftest.$ac_ext <<EOF | 6834 cat > conftest.$ac_ext <<EOF |
6869 #line 6870 "configure" | 6835 #line 6836 "configure" |
6870 #include "confdefs.h" | 6836 #include "confdefs.h" |
6871 | 6837 |
6872 #define NeedFunctionPrototypes 1 | 6838 #define NeedFunctionPrototypes 1 |
6873 #include <X11/Xlib.h> | 6839 #include <X11/Xlib.h> |
6874 extern Bool XRegisterIMInstantiateCallback( | 6840 extern Bool XRegisterIMInstantiateCallback( |
6876 | 6842 |
6877 int main() { | 6843 int main() { |
6878 | 6844 |
6879 ; return 0; } | 6845 ; return 0; } |
6880 EOF | 6846 EOF |
6881 if { (eval echo configure:6882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6847 if { (eval echo configure:6848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6882 rm -rf conftest* | 6848 rm -rf conftest* |
6883 echo "$ac_t""yes" 1>&6 | 6849 echo "$ac_t""yes" 1>&6 |
6884 else | 6850 else |
6885 echo "configure: failed program was:" >&5 | 6851 echo "configure: failed program was:" >&5 |
6886 cat conftest.$ac_ext >&5 | 6852 cat conftest.$ac_ext >&5 |
6897 fi | 6863 fi |
6898 rm -f conftest* | 6864 rm -f conftest* |
6899 | 6865 |
6900 test -z "$with_xmu" && { | 6866 test -z "$with_xmu" && { |
6901 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6867 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6902 echo "configure:6903: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6868 echo "configure:6869: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6903 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6869 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6904 | 6870 |
6905 xe_check_libs=" -lXmu " | 6871 xe_check_libs=" -lXmu " |
6906 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6907 #line 6908 "configure" | 6873 #line 6874 "configure" |
6908 #include "confdefs.h" | 6874 #include "confdefs.h" |
6909 /* Override any gcc2 internal prototype to avoid an error. */ | 6875 /* Override any gcc2 internal prototype to avoid an error. */ |
6910 /* We use char because int might match the return type of a gcc2 | 6876 /* We use char because int might match the return type of a gcc2 |
6911 builtin and then its argument prototype would still apply. */ | 6877 builtin and then its argument prototype would still apply. */ |
6912 char XmuReadBitmapDataFromFile(); | 6878 char XmuReadBitmapDataFromFile(); |
6913 | 6879 |
6914 int main() { | 6880 int main() { |
6915 XmuReadBitmapDataFromFile() | 6881 XmuReadBitmapDataFromFile() |
6916 ; return 0; } | 6882 ; return 0; } |
6917 EOF | 6883 EOF |
6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6919 rm -rf conftest* | 6885 rm -rf conftest* |
6920 eval "ac_cv_lib_$ac_lib_var=yes" | 6886 eval "ac_cv_lib_$ac_lib_var=yes" |
6921 else | 6887 else |
6922 echo "configure: failed program was:" >&5 | 6888 echo "configure: failed program was:" >&5 |
6923 cat conftest.$ac_ext >&5 | 6889 cat conftest.$ac_ext >&5 |
6952 | 6918 |
6953 fi | 6919 fi |
6954 | 6920 |
6955 | 6921 |
6956 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6922 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6957 echo "configure:6958: checking for main in -lXbsd" >&5 | 6923 echo "configure:6924: checking for main in -lXbsd" >&5 |
6958 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6924 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6959 | 6925 |
6960 xe_check_libs=" -lXbsd " | 6926 xe_check_libs=" -lXbsd " |
6961 cat > conftest.$ac_ext <<EOF | 6927 cat > conftest.$ac_ext <<EOF |
6962 #line 6963 "configure" | 6928 #line 6929 "configure" |
6963 #include "confdefs.h" | 6929 #include "confdefs.h" |
6964 | 6930 |
6965 int main() { | 6931 int main() { |
6966 main() | 6932 main() |
6967 ; return 0; } | 6933 ; return 0; } |
6968 EOF | 6934 EOF |
6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6970 rm -rf conftest* | 6936 rm -rf conftest* |
6971 eval "ac_cv_lib_$ac_lib_var=yes" | 6937 eval "ac_cv_lib_$ac_lib_var=yes" |
6972 else | 6938 else |
6973 echo "configure: failed program was:" >&5 | 6939 echo "configure: failed program was:" >&5 |
6974 cat conftest.$ac_ext >&5 | 6940 cat conftest.$ac_ext >&5 |
7001 fi | 6967 fi |
7002 | 6968 |
7003 fi | 6969 fi |
7004 if test "$with_msw" != "no"; then | 6970 if test "$with_msw" != "no"; then |
7005 echo "checking for MS-Windows" 1>&6 | 6971 echo "checking for MS-Windows" 1>&6 |
7006 echo "configure:7007: checking for MS-Windows" >&5 | 6972 echo "configure:6973: checking for MS-Windows" >&5 |
7007 | 6973 |
7008 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6974 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7009 echo "configure:7010: checking for main in -lgdi32" >&5 | 6975 echo "configure:6976: checking for main in -lgdi32" >&5 |
7010 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6976 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7011 | 6977 |
7012 xe_check_libs=" -lgdi32 " | 6978 xe_check_libs=" -lgdi32 " |
7013 cat > conftest.$ac_ext <<EOF | 6979 cat > conftest.$ac_ext <<EOF |
7014 #line 7015 "configure" | 6980 #line 6981 "configure" |
7015 #include "confdefs.h" | 6981 #include "confdefs.h" |
7016 | 6982 |
7017 int main() { | 6983 int main() { |
7018 main() | 6984 main() |
7019 ; return 0; } | 6985 ; return 0; } |
7020 EOF | 6986 EOF |
7021 if { (eval echo configure:7022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7022 rm -rf conftest* | 6988 rm -rf conftest* |
7023 eval "ac_cv_lib_$ac_lib_var=yes" | 6989 eval "ac_cv_lib_$ac_lib_var=yes" |
7024 else | 6990 else |
7025 echo "configure: failed program was:" >&5 | 6991 echo "configure: failed program was:" >&5 |
7026 cat conftest.$ac_ext >&5 | 6992 cat conftest.$ac_ext >&5 |
7089 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7055 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7090 echo " xemacs will be linked with \"dialog-msw.o\"" | 7056 echo " xemacs will be linked with \"dialog-msw.o\"" |
7091 fi | 7057 fi |
7092 fi | 7058 fi |
7093 cat > conftest.$ac_ext <<EOF | 7059 cat > conftest.$ac_ext <<EOF |
7094 #line 7095 "configure" | 7060 #line 7061 "configure" |
7095 #include "confdefs.h" | 7061 #include "confdefs.h" |
7096 #include <fcntl.h> | 7062 #include <fcntl.h> |
7097 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7063 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7098 EOF | 7064 EOF |
7099 if { (eval echo configure:7100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7100 then | 7066 then |
7101 { test "$extra_verbose" = "yes" && cat << \EOF | 7067 { test "$extra_verbose" = "yes" && cat << \EOF |
7102 Defining HAVE_MSG_SELECT | 7068 Defining HAVE_MSG_SELECT |
7103 EOF | 7069 EOF |
7104 cat >> confdefs.h <<\EOF | 7070 cat >> confdefs.h <<\EOF |
7158 fi | 7124 fi |
7159 | 7125 |
7160 if test "$with_x11" = "yes"; then | 7126 if test "$with_x11" = "yes"; then |
7161 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7127 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7162 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7128 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7163 echo "configure:7164: checking for X11/extensions/shape.h" >&5 | 7129 echo "configure:7130: checking for X11/extensions/shape.h" >&5 |
7164 | 7130 |
7165 cat > conftest.$ac_ext <<EOF | 7131 cat > conftest.$ac_ext <<EOF |
7166 #line 7167 "configure" | 7132 #line 7133 "configure" |
7167 #include "confdefs.h" | 7133 #include "confdefs.h" |
7168 #include <X11/extensions/shape.h> | 7134 #include <X11/extensions/shape.h> |
7169 EOF | 7135 EOF |
7170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7171 { (eval echo configure:7172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7137 { (eval echo configure:7138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7173 if test -z "$ac_err"; then | 7139 if test -z "$ac_err"; then |
7174 rm -rf conftest* | 7140 rm -rf conftest* |
7175 eval "ac_cv_header_$ac_safe=yes" | 7141 eval "ac_cv_header_$ac_safe=yes" |
7176 else | 7142 else |
7218 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7184 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7219 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7185 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7220 esac | 7186 esac |
7221 | 7187 |
7222 echo "checking for WM_COMMAND option" 1>&6 | 7188 echo "checking for WM_COMMAND option" 1>&6 |
7223 echo "configure:7224: checking for WM_COMMAND option" >&5; | 7189 echo "configure:7190: checking for WM_COMMAND option" >&5; |
7224 if test "$with_wmcommand" != "no"; then | 7190 if test "$with_wmcommand" != "no"; then |
7225 { test "$extra_verbose" = "yes" && cat << \EOF | 7191 { test "$extra_verbose" = "yes" && cat << \EOF |
7226 Defining HAVE_WMCOMMAND | 7192 Defining HAVE_WMCOMMAND |
7227 EOF | 7193 EOF |
7228 cat >> confdefs.h <<\EOF | 7194 cat >> confdefs.h <<\EOF |
7233 fi | 7199 fi |
7234 | 7200 |
7235 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7201 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7236 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7202 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7237 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7203 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7238 echo "configure:7239: checking for X11/Xauth.h" >&5 | 7204 echo "configure:7205: checking for X11/Xauth.h" >&5 |
7239 | 7205 |
7240 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
7241 #line 7242 "configure" | 7207 #line 7208 "configure" |
7242 #include "confdefs.h" | 7208 #include "confdefs.h" |
7243 #include <X11/Xauth.h> | 7209 #include <X11/Xauth.h> |
7244 EOF | 7210 EOF |
7245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7246 { (eval echo configure:7247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7248 if test -z "$ac_err"; then | 7214 if test -z "$ac_err"; then |
7249 rm -rf conftest* | 7215 rm -rf conftest* |
7250 eval "ac_cv_header_$ac_safe=yes" | 7216 eval "ac_cv_header_$ac_safe=yes" |
7251 else | 7217 else |
7264 with_xauth=no | 7230 with_xauth=no |
7265 fi | 7231 fi |
7266 } | 7232 } |
7267 test -z "$with_xauth" && { | 7233 test -z "$with_xauth" && { |
7268 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7234 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7269 echo "configure:7270: checking for XauGetAuthByAddr in -lXau" >&5 | 7235 echo "configure:7236: checking for XauGetAuthByAddr in -lXau" >&5 |
7270 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7236 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7271 | 7237 |
7272 xe_check_libs=" -lXau " | 7238 xe_check_libs=" -lXau " |
7273 cat > conftest.$ac_ext <<EOF | 7239 cat > conftest.$ac_ext <<EOF |
7274 #line 7275 "configure" | 7240 #line 7241 "configure" |
7275 #include "confdefs.h" | 7241 #include "confdefs.h" |
7276 /* Override any gcc2 internal prototype to avoid an error. */ | 7242 /* Override any gcc2 internal prototype to avoid an error. */ |
7277 /* We use char because int might match the return type of a gcc2 | 7243 /* We use char because int might match the return type of a gcc2 |
7278 builtin and then its argument prototype would still apply. */ | 7244 builtin and then its argument prototype would still apply. */ |
7279 char XauGetAuthByAddr(); | 7245 char XauGetAuthByAddr(); |
7280 | 7246 |
7281 int main() { | 7247 int main() { |
7282 XauGetAuthByAddr() | 7248 XauGetAuthByAddr() |
7283 ; return 0; } | 7249 ; return 0; } |
7284 EOF | 7250 EOF |
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7251 if { (eval echo configure:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7286 rm -rf conftest* | 7252 rm -rf conftest* |
7287 eval "ac_cv_lib_$ac_lib_var=yes" | 7253 eval "ac_cv_lib_$ac_lib_var=yes" |
7288 else | 7254 else |
7289 echo "configure: failed program was:" >&5 | 7255 echo "configure: failed program was:" >&5 |
7290 cat conftest.$ac_ext >&5 | 7256 cat conftest.$ac_ext >&5 |
7325 | 7291 |
7326 if test "$with_tooltalk" != "no" ; then | 7292 if test "$with_tooltalk" != "no" ; then |
7327 for dir in "" "Tt/" "desktop/" ; do | 7293 for dir in "" "Tt/" "desktop/" ; do |
7328 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7294 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7329 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7295 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7330 echo "configure:7331: checking for ${dir}tt_c.h" >&5 | 7296 echo "configure:7297: checking for ${dir}tt_c.h" >&5 |
7331 | 7297 |
7332 cat > conftest.$ac_ext <<EOF | 7298 cat > conftest.$ac_ext <<EOF |
7333 #line 7334 "configure" | 7299 #line 7300 "configure" |
7334 #include "confdefs.h" | 7300 #include "confdefs.h" |
7335 #include <${dir}tt_c.h> | 7301 #include <${dir}tt_c.h> |
7336 EOF | 7302 EOF |
7337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7338 { (eval echo configure:7339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7340 if test -z "$ac_err"; then | 7306 if test -z "$ac_err"; then |
7341 rm -rf conftest* | 7307 rm -rf conftest* |
7342 eval "ac_cv_header_$ac_safe=yes" | 7308 eval "ac_cv_header_$ac_safe=yes" |
7343 else | 7309 else |
7369 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7335 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7370 | 7336 |
7371 xe_msg_checking="for tt_message_create in -ltt" | 7337 xe_msg_checking="for tt_message_create in -ltt" |
7372 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7338 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7373 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7339 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7374 echo "configure:7375: checking "$xe_msg_checking"" >&5 | 7340 echo "configure:7341: checking "$xe_msg_checking"" >&5 |
7375 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7341 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7376 | 7342 |
7377 xe_check_libs=" -ltt $extra_libs" | 7343 xe_check_libs=" -ltt $extra_libs" |
7378 cat > conftest.$ac_ext <<EOF | 7344 cat > conftest.$ac_ext <<EOF |
7379 #line 7380 "configure" | 7345 #line 7346 "configure" |
7380 #include "confdefs.h" | 7346 #include "confdefs.h" |
7381 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
7382 /* We use char because int might match the return type of a gcc2 | 7348 /* We use char because int might match the return type of a gcc2 |
7383 builtin and then its argument prototype would still apply. */ | 7349 builtin and then its argument prototype would still apply. */ |
7384 char tt_message_create(); | 7350 char tt_message_create(); |
7385 | 7351 |
7386 int main() { | 7352 int main() { |
7387 tt_message_create() | 7353 tt_message_create() |
7388 ; return 0; } | 7354 ; return 0; } |
7389 EOF | 7355 EOF |
7390 if { (eval echo configure:7391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7391 rm -rf conftest* | 7357 rm -rf conftest* |
7392 eval "ac_cv_lib_$ac_lib_var=yes" | 7358 eval "ac_cv_lib_$ac_lib_var=yes" |
7393 else | 7359 else |
7394 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
7395 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
7442 fi | 7408 fi |
7443 fi | 7409 fi |
7444 | 7410 |
7445 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7411 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7446 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7447 echo "configure:7448: checking for Dt/Dt.h" >&5 | 7413 echo "configure:7414: checking for Dt/Dt.h" >&5 |
7448 | 7414 |
7449 cat > conftest.$ac_ext <<EOF | 7415 cat > conftest.$ac_ext <<EOF |
7450 #line 7451 "configure" | 7416 #line 7417 "configure" |
7451 #include "confdefs.h" | 7417 #include "confdefs.h" |
7452 #include <Dt/Dt.h> | 7418 #include <Dt/Dt.h> |
7453 EOF | 7419 EOF |
7454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7455 { (eval echo configure:7456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7457 if test -z "$ac_err"; then | 7423 if test -z "$ac_err"; then |
7458 rm -rf conftest* | 7424 rm -rf conftest* |
7459 eval "ac_cv_header_$ac_safe=yes" | 7425 eval "ac_cv_header_$ac_safe=yes" |
7460 else | 7426 else |
7473 with_cde=no | 7439 with_cde=no |
7474 fi | 7440 fi |
7475 } | 7441 } |
7476 test -z "$with_cde" && { | 7442 test -z "$with_cde" && { |
7477 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7443 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7478 echo "configure:7479: checking for DtDndDragStart in -lDtSvc" >&5 | 7444 echo "configure:7445: checking for DtDndDragStart in -lDtSvc" >&5 |
7479 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7445 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7480 | 7446 |
7481 xe_check_libs=" -lDtSvc " | 7447 xe_check_libs=" -lDtSvc " |
7482 cat > conftest.$ac_ext <<EOF | 7448 cat > conftest.$ac_ext <<EOF |
7483 #line 7484 "configure" | 7449 #line 7450 "configure" |
7484 #include "confdefs.h" | 7450 #include "confdefs.h" |
7485 /* Override any gcc2 internal prototype to avoid an error. */ | 7451 /* Override any gcc2 internal prototype to avoid an error. */ |
7486 /* We use char because int might match the return type of a gcc2 | 7452 /* We use char because int might match the return type of a gcc2 |
7487 builtin and then its argument prototype would still apply. */ | 7453 builtin and then its argument prototype would still apply. */ |
7488 char DtDndDragStart(); | 7454 char DtDndDragStart(); |
7489 | 7455 |
7490 int main() { | 7456 int main() { |
7491 DtDndDragStart() | 7457 DtDndDragStart() |
7492 ; return 0; } | 7458 ; return 0; } |
7493 EOF | 7459 EOF |
7494 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7460 if { (eval echo configure:7461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7495 rm -rf conftest* | 7461 rm -rf conftest* |
7496 eval "ac_cv_lib_$ac_lib_var=yes" | 7462 eval "ac_cv_lib_$ac_lib_var=yes" |
7497 else | 7463 else |
7498 echo "configure: failed program was:" >&5 | 7464 echo "configure: failed program was:" >&5 |
7499 cat conftest.$ac_ext >&5 | 7465 cat conftest.$ac_ext >&5 |
7562 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7528 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7563 fi | 7529 fi |
7564 | 7530 |
7565 if test "$with_dragndrop" != "no" ; then | 7531 if test "$with_dragndrop" != "no" ; then |
7566 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7532 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7567 echo "configure:7568: checking if drag and drop API is needed" >&5 | 7533 echo "configure:7534: checking if drag and drop API is needed" >&5 |
7568 if test -n "$dragndrop_proto" ; then | 7534 if test -n "$dragndrop_proto" ; then |
7569 with_dragndrop=yes | 7535 with_dragndrop=yes |
7570 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7536 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7571 { test "$extra_verbose" = "yes" && cat << \EOF | 7537 { test "$extra_verbose" = "yes" && cat << \EOF |
7572 Defining HAVE_DRAGNDROP | 7538 Defining HAVE_DRAGNDROP |
7582 echo "$ac_t""no" 1>&6 | 7548 echo "$ac_t""no" 1>&6 |
7583 fi | 7549 fi |
7584 fi | 7550 fi |
7585 | 7551 |
7586 echo "checking for LDAP" 1>&6 | 7552 echo "checking for LDAP" 1>&6 |
7587 echo "configure:7588: checking for LDAP" >&5 | 7553 echo "configure:7554: checking for LDAP" >&5 |
7588 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7554 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7589 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7555 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7590 echo "configure:7591: checking for ldap.h" >&5 | 7556 echo "configure:7557: checking for ldap.h" >&5 |
7591 | 7557 |
7592 cat > conftest.$ac_ext <<EOF | 7558 cat > conftest.$ac_ext <<EOF |
7593 #line 7594 "configure" | 7559 #line 7560 "configure" |
7594 #include "confdefs.h" | 7560 #include "confdefs.h" |
7595 #include <ldap.h> | 7561 #include <ldap.h> |
7596 EOF | 7562 EOF |
7597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7598 { (eval echo configure:7599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7564 { (eval echo configure:7565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7600 if test -z "$ac_err"; then | 7566 if test -z "$ac_err"; then |
7601 rm -rf conftest* | 7567 rm -rf conftest* |
7602 eval "ac_cv_header_$ac_safe=yes" | 7568 eval "ac_cv_header_$ac_safe=yes" |
7603 else | 7569 else |
7616 with_ldap=no | 7582 with_ldap=no |
7617 fi | 7583 fi |
7618 } | 7584 } |
7619 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7585 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7620 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7586 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7621 echo "configure:7622: checking for lber.h" >&5 | 7587 echo "configure:7588: checking for lber.h" >&5 |
7622 | 7588 |
7623 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7624 #line 7625 "configure" | 7590 #line 7591 "configure" |
7625 #include "confdefs.h" | 7591 #include "confdefs.h" |
7626 #include <lber.h> | 7592 #include <lber.h> |
7627 EOF | 7593 EOF |
7628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7629 { (eval echo configure:7630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7631 if test -z "$ac_err"; then | 7597 if test -z "$ac_err"; then |
7632 rm -rf conftest* | 7598 rm -rf conftest* |
7633 eval "ac_cv_header_$ac_safe=yes" | 7599 eval "ac_cv_header_$ac_safe=yes" |
7634 else | 7600 else |
7648 fi | 7614 fi |
7649 } | 7615 } |
7650 if test "$with_ldap" != "no"; then | 7616 if test "$with_ldap" != "no"; then |
7651 | 7617 |
7652 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7618 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7653 echo "configure:7654: checking for ldap_search in -lldap" >&5 | 7619 echo "configure:7620: checking for ldap_search in -lldap" >&5 |
7654 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7620 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7655 | 7621 |
7656 xe_check_libs=" -lldap " | 7622 xe_check_libs=" -lldap " |
7657 cat > conftest.$ac_ext <<EOF | 7623 cat > conftest.$ac_ext <<EOF |
7658 #line 7659 "configure" | 7624 #line 7625 "configure" |
7659 #include "confdefs.h" | 7625 #include "confdefs.h" |
7660 /* Override any gcc2 internal prototype to avoid an error. */ | 7626 /* Override any gcc2 internal prototype to avoid an error. */ |
7661 /* We use char because int might match the return type of a gcc2 | 7627 /* We use char because int might match the return type of a gcc2 |
7662 builtin and then its argument prototype would still apply. */ | 7628 builtin and then its argument prototype would still apply. */ |
7663 char ldap_search(); | 7629 char ldap_search(); |
7664 | 7630 |
7665 int main() { | 7631 int main() { |
7666 ldap_search() | 7632 ldap_search() |
7667 ; return 0; } | 7633 ; return 0; } |
7668 EOF | 7634 EOF |
7669 if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7635 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7670 rm -rf conftest* | 7636 rm -rf conftest* |
7671 eval "ac_cv_lib_$ac_lib_var=yes" | 7637 eval "ac_cv_lib_$ac_lib_var=yes" |
7672 else | 7638 else |
7673 echo "configure: failed program was:" >&5 | 7639 echo "configure: failed program was:" >&5 |
7674 cat conftest.$ac_ext >&5 | 7640 cat conftest.$ac_ext >&5 |
7689 | 7655 |
7690 test "$with_ldap_nolber" = "no" && { | 7656 test "$with_ldap_nolber" = "no" && { |
7691 xe_msg_checking="for ldap_open in -lldap" | 7657 xe_msg_checking="for ldap_open in -lldap" |
7692 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7658 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7693 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7659 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7694 echo "configure:7695: checking "$xe_msg_checking"" >&5 | 7660 echo "configure:7661: checking "$xe_msg_checking"" >&5 |
7695 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7661 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7696 | 7662 |
7697 xe_check_libs=" -lldap -llber" | 7663 xe_check_libs=" -lldap -llber" |
7698 cat > conftest.$ac_ext <<EOF | 7664 cat > conftest.$ac_ext <<EOF |
7699 #line 7700 "configure" | 7665 #line 7666 "configure" |
7700 #include "confdefs.h" | 7666 #include "confdefs.h" |
7701 /* Override any gcc2 internal prototype to avoid an error. */ | 7667 /* Override any gcc2 internal prototype to avoid an error. */ |
7702 /* We use char because int might match the return type of a gcc2 | 7668 /* We use char because int might match the return type of a gcc2 |
7703 builtin and then its argument prototype would still apply. */ | 7669 builtin and then its argument prototype would still apply. */ |
7704 char ldap_open(); | 7670 char ldap_open(); |
7705 | 7671 |
7706 int main() { | 7672 int main() { |
7707 ldap_open() | 7673 ldap_open() |
7708 ; return 0; } | 7674 ; return 0; } |
7709 EOF | 7675 EOF |
7710 if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7711 rm -rf conftest* | 7677 rm -rf conftest* |
7712 eval "ac_cv_lib_$ac_lib_var=yes" | 7678 eval "ac_cv_lib_$ac_lib_var=yes" |
7713 else | 7679 else |
7714 echo "configure: failed program was:" >&5 | 7680 echo "configure: failed program was:" >&5 |
7715 cat conftest.$ac_ext >&5 | 7681 cat conftest.$ac_ext >&5 |
7730 } | 7696 } |
7731 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7697 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7732 xe_msg_checking="for ldap_open in -lldap" | 7698 xe_msg_checking="for ldap_open in -lldap" |
7733 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7699 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7734 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7700 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7735 echo "configure:7736: checking "$xe_msg_checking"" >&5 | 7701 echo "configure:7702: checking "$xe_msg_checking"" >&5 |
7736 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7702 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7737 | 7703 |
7738 xe_check_libs=" -lldap -llber -lkrb" | 7704 xe_check_libs=" -lldap -llber -lkrb" |
7739 cat > conftest.$ac_ext <<EOF | 7705 cat > conftest.$ac_ext <<EOF |
7740 #line 7741 "configure" | 7706 #line 7707 "configure" |
7741 #include "confdefs.h" | 7707 #include "confdefs.h" |
7742 /* Override any gcc2 internal prototype to avoid an error. */ | 7708 /* Override any gcc2 internal prototype to avoid an error. */ |
7743 /* We use char because int might match the return type of a gcc2 | 7709 /* We use char because int might match the return type of a gcc2 |
7744 builtin and then its argument prototype would still apply. */ | 7710 builtin and then its argument prototype would still apply. */ |
7745 char ldap_open(); | 7711 char ldap_open(); |
7746 | 7712 |
7747 int main() { | 7713 int main() { |
7748 ldap_open() | 7714 ldap_open() |
7749 ; return 0; } | 7715 ; return 0; } |
7750 EOF | 7716 EOF |
7751 if { (eval echo configure:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7717 if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7752 rm -rf conftest* | 7718 rm -rf conftest* |
7753 eval "ac_cv_lib_$ac_lib_var=yes" | 7719 eval "ac_cv_lib_$ac_lib_var=yes" |
7754 else | 7720 else |
7755 echo "configure: failed program was:" >&5 | 7721 echo "configure: failed program was:" >&5 |
7756 cat conftest.$ac_ext >&5 | 7722 cat conftest.$ac_ext >&5 |
7771 } | 7737 } |
7772 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7738 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7773 xe_msg_checking="for ldap_open in -lldap" | 7739 xe_msg_checking="for ldap_open in -lldap" |
7774 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7740 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7775 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7741 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7776 echo "configure:7777: checking "$xe_msg_checking"" >&5 | 7742 echo "configure:7743: checking "$xe_msg_checking"" >&5 |
7777 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7743 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7778 | 7744 |
7779 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7745 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7780 cat > conftest.$ac_ext <<EOF | 7746 cat > conftest.$ac_ext <<EOF |
7781 #line 7782 "configure" | 7747 #line 7748 "configure" |
7782 #include "confdefs.h" | 7748 #include "confdefs.h" |
7783 /* Override any gcc2 internal prototype to avoid an error. */ | 7749 /* Override any gcc2 internal prototype to avoid an error. */ |
7784 /* We use char because int might match the return type of a gcc2 | 7750 /* We use char because int might match the return type of a gcc2 |
7785 builtin and then its argument prototype would still apply. */ | 7751 builtin and then its argument prototype would still apply. */ |
7786 char ldap_open(); | 7752 char ldap_open(); |
7787 | 7753 |
7788 int main() { | 7754 int main() { |
7789 ldap_open() | 7755 ldap_open() |
7790 ; return 0; } | 7756 ; return 0; } |
7791 EOF | 7757 EOF |
7792 if { (eval echo configure:7793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7793 rm -rf conftest* | 7759 rm -rf conftest* |
7794 eval "ac_cv_lib_$ac_lib_var=yes" | 7760 eval "ac_cv_lib_$ac_lib_var=yes" |
7795 else | 7761 else |
7796 echo "configure: failed program was:" >&5 | 7762 echo "configure: failed program was:" >&5 |
7797 cat conftest.$ac_ext >&5 | 7763 cat conftest.$ac_ext >&5 |
7838 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7804 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7839 fi | 7805 fi |
7840 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7806 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7841 do | 7807 do |
7842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7843 echo "configure:7844: checking for $ac_func" >&5 | 7809 echo "configure:7810: checking for $ac_func" >&5 |
7844 | 7810 |
7845 cat > conftest.$ac_ext <<EOF | 7811 cat > conftest.$ac_ext <<EOF |
7846 #line 7847 "configure" | 7812 #line 7813 "configure" |
7847 #include "confdefs.h" | 7813 #include "confdefs.h" |
7848 /* System header to define __stub macros and hopefully few prototypes, | 7814 /* System header to define __stub macros and hopefully few prototypes, |
7849 which can conflict with char $ac_func(); below. */ | 7815 which can conflict with char $ac_func(); below. */ |
7850 #include <assert.h> | 7816 #include <assert.h> |
7851 /* Override any gcc2 internal prototype to avoid an error. */ | 7817 /* Override any gcc2 internal prototype to avoid an error. */ |
7864 $ac_func(); | 7830 $ac_func(); |
7865 #endif | 7831 #endif |
7866 | 7832 |
7867 ; return 0; } | 7833 ; return 0; } |
7868 EOF | 7834 EOF |
7869 if { (eval echo configure:7870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7870 rm -rf conftest* | 7836 rm -rf conftest* |
7871 eval "ac_cv_func_$ac_func=yes" | 7837 eval "ac_cv_func_$ac_func=yes" |
7872 else | 7838 else |
7873 echo "configure: failed program was:" >&5 | 7839 echo "configure: failed program was:" >&5 |
7874 cat conftest.$ac_ext >&5 | 7840 cat conftest.$ac_ext >&5 |
7895 | 7861 |
7896 fi | 7862 fi |
7897 | 7863 |
7898 if test "$with_postgresql" != "no"; then | 7864 if test "$with_postgresql" != "no"; then |
7899 echo "checking for PostgreSQL" 1>&6 | 7865 echo "checking for PostgreSQL" 1>&6 |
7900 echo "configure:7901: checking for PostgreSQL" >&5 | 7866 echo "configure:7867: checking for PostgreSQL" >&5 |
7901 | 7867 |
7902 for header_dir in "" "pgsql/" "postgresql/"; do | 7868 for header_dir in "" "pgsql/" "postgresql/"; do |
7903 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7869 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7904 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7870 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7905 echo "configure:7906: checking for ${header_dir}libpq-fe.h" >&5 | 7871 echo "configure:7872: checking for ${header_dir}libpq-fe.h" >&5 |
7906 | 7872 |
7907 cat > conftest.$ac_ext <<EOF | 7873 cat > conftest.$ac_ext <<EOF |
7908 #line 7909 "configure" | 7874 #line 7875 "configure" |
7909 #include "confdefs.h" | 7875 #include "confdefs.h" |
7910 #include <${header_dir}libpq-fe.h> | 7876 #include <${header_dir}libpq-fe.h> |
7911 EOF | 7877 EOF |
7912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7913 { (eval echo configure:7914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7879 { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7915 if test -z "$ac_err"; then | 7881 if test -z "$ac_err"; then |
7916 rm -rf conftest* | 7882 rm -rf conftest* |
7917 eval "ac_cv_header_$ac_safe=yes" | 7883 eval "ac_cv_header_$ac_safe=yes" |
7918 else | 7884 else |
7932 | 7898 |
7933 done | 7899 done |
7934 | 7900 |
7935 test -n "$libpq_fe_h_file" && { | 7901 test -n "$libpq_fe_h_file" && { |
7936 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7902 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7937 echo "configure:7938: checking for PQconnectdb in -lpq" >&5 | 7903 echo "configure:7904: checking for PQconnectdb in -lpq" >&5 |
7938 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7904 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7939 | 7905 |
7940 xe_check_libs=" -lpq " | 7906 xe_check_libs=" -lpq " |
7941 cat > conftest.$ac_ext <<EOF | 7907 cat > conftest.$ac_ext <<EOF |
7942 #line 7943 "configure" | 7908 #line 7909 "configure" |
7943 #include "confdefs.h" | 7909 #include "confdefs.h" |
7944 /* Override any gcc2 internal prototype to avoid an error. */ | 7910 /* Override any gcc2 internal prototype to avoid an error. */ |
7945 /* We use char because int might match the return type of a gcc2 | 7911 /* We use char because int might match the return type of a gcc2 |
7946 builtin and then its argument prototype would still apply. */ | 7912 builtin and then its argument prototype would still apply. */ |
7947 char PQconnectdb(); | 7913 char PQconnectdb(); |
7948 | 7914 |
7949 int main() { | 7915 int main() { |
7950 PQconnectdb() | 7916 PQconnectdb() |
7951 ; return 0; } | 7917 ; return 0; } |
7952 EOF | 7918 EOF |
7953 if { (eval echo configure:7954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7954 rm -rf conftest* | 7920 rm -rf conftest* |
7955 eval "ac_cv_lib_$ac_lib_var=yes" | 7921 eval "ac_cv_lib_$ac_lib_var=yes" |
7956 else | 7922 else |
7957 echo "configure: failed program was:" >&5 | 7923 echo "configure: failed program was:" >&5 |
7958 cat conftest.$ac_ext >&5 | 7924 cat conftest.$ac_ext >&5 |
7981 EOF | 7947 EOF |
7982 } | 7948 } |
7983 | 7949 |
7984 | 7950 |
7985 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7951 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7986 echo "configure:7987: checking for PQconnectStart in -lpq" >&5 | 7952 echo "configure:7953: checking for PQconnectStart in -lpq" >&5 |
7987 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7953 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7988 | 7954 |
7989 xe_check_libs=" -lpq " | 7955 xe_check_libs=" -lpq " |
7990 cat > conftest.$ac_ext <<EOF | 7956 cat > conftest.$ac_ext <<EOF |
7991 #line 7992 "configure" | 7957 #line 7958 "configure" |
7992 #include "confdefs.h" | 7958 #include "confdefs.h" |
7993 /* Override any gcc2 internal prototype to avoid an error. */ | 7959 /* Override any gcc2 internal prototype to avoid an error. */ |
7994 /* We use char because int might match the return type of a gcc2 | 7960 /* We use char because int might match the return type of a gcc2 |
7995 builtin and then its argument prototype would still apply. */ | 7961 builtin and then its argument prototype would still apply. */ |
7996 char PQconnectStart(); | 7962 char PQconnectStart(); |
7997 | 7963 |
7998 int main() { | 7964 int main() { |
7999 PQconnectStart() | 7965 PQconnectStart() |
8000 ; return 0; } | 7966 ; return 0; } |
8001 EOF | 7967 EOF |
8002 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7968 if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8003 rm -rf conftest* | 7969 rm -rf conftest* |
8004 eval "ac_cv_lib_$ac_lib_var=yes" | 7970 eval "ac_cv_lib_$ac_lib_var=yes" |
8005 else | 7971 else |
8006 echo "configure: failed program was:" >&5 | 7972 echo "configure: failed program was:" >&5 |
8007 cat conftest.$ac_ext >&5 | 7973 cat conftest.$ac_ext >&5 |
8045 fi | 8011 fi |
8046 | 8012 |
8047 | 8013 |
8048 if test "$window_system" != "none"; then | 8014 if test "$window_system" != "none"; then |
8049 echo "checking for graphics libraries" 1>&6 | 8015 echo "checking for graphics libraries" 1>&6 |
8050 echo "configure:8051: checking for graphics libraries" >&5 | 8016 echo "configure:8017: checking for graphics libraries" >&5 |
8051 | 8017 |
8052 xpm_problem="" | 8018 xpm_problem="" |
8053 if test -z "$with_xpm"; then | 8019 if test -z "$with_xpm"; then |
8054 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8020 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking for Xpm - no older than 3.4f" >&5 | 8021 echo "configure:8022: checking for Xpm - no older than 3.4f" >&5 |
8056 xe_check_libs=-lXpm | 8022 xe_check_libs=-lXpm |
8057 cat > conftest.$ac_ext <<EOF | 8023 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8024 #line 8025 "configure" |
8059 #include "confdefs.h" | 8025 #include "confdefs.h" |
8060 #define XPM_NUMBERS | 8026 #define XPM_NUMBERS |
8061 #include <X11/xpm.h> | 8027 #include <X11/xpm.h> |
8062 int main(int c, char **v) { | 8028 int main(int c, char **v) { |
8063 return c == 1 ? 0 : | 8029 return c == 1 ? 0 : |
8064 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8065 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8031 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8066 EOF | 8032 EOF |
8067 if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8068 then | 8034 then |
8069 ./conftest dummy_arg; xpm_status=$?; | 8035 ./conftest dummy_arg; xpm_status=$?; |
8070 if test "$xpm_status" = "0"; then | 8036 if test "$xpm_status" = "0"; then |
8071 with_xpm=yes; | 8037 with_xpm=yes; |
8072 else | 8038 else |
8104 EOF | 8070 EOF |
8105 } | 8071 } |
8106 | 8072 |
8107 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8073 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8108 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8074 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8109 echo "configure:8110: checking for \"FOR_MSW\" xpm" >&5 | 8075 echo "configure:8076: checking for \"FOR_MSW\" xpm" >&5 |
8110 xe_check_libs=-lXpm | 8076 xe_check_libs=-lXpm |
8111 cat > conftest.$ac_ext <<EOF | 8077 cat > conftest.$ac_ext <<EOF |
8112 #line 8113 "configure" | 8078 #line 8079 "configure" |
8113 #include "confdefs.h" | 8079 #include "confdefs.h" |
8114 | 8080 |
8115 int main() { | 8081 int main() { |
8116 XpmCreatePixmapFromData() | 8082 XpmCreatePixmapFromData() |
8117 ; return 0; } | 8083 ; return 0; } |
8118 EOF | 8084 EOF |
8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8120 rm -rf conftest* | 8086 rm -rf conftest* |
8121 xpm_for_msw=no | 8087 xpm_for_msw=no |
8122 else | 8088 else |
8123 echo "configure: failed program was:" >&5 | 8089 echo "configure: failed program was:" >&5 |
8124 cat conftest.$ac_ext >&5 | 8090 cat conftest.$ac_ext >&5 |
8140 fi | 8106 fi |
8141 fi | 8107 fi |
8142 | 8108 |
8143 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8109 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8144 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8110 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8145 echo "configure:8146: checking for compface.h" >&5 | 8111 echo "configure:8112: checking for compface.h" >&5 |
8146 | 8112 |
8147 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
8148 #line 8149 "configure" | 8114 #line 8115 "configure" |
8149 #include "confdefs.h" | 8115 #include "confdefs.h" |
8150 #include <compface.h> | 8116 #include <compface.h> |
8151 EOF | 8117 EOF |
8152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8153 { (eval echo configure:8154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8155 if test -z "$ac_err"; then | 8121 if test -z "$ac_err"; then |
8156 rm -rf conftest* | 8122 rm -rf conftest* |
8157 eval "ac_cv_header_$ac_safe=yes" | 8123 eval "ac_cv_header_$ac_safe=yes" |
8158 else | 8124 else |
8171 with_xface=no | 8137 with_xface=no |
8172 fi | 8138 fi |
8173 } | 8139 } |
8174 test -z "$with_xface" && { | 8140 test -z "$with_xface" && { |
8175 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8141 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8176 echo "configure:8177: checking for UnGenFace in -lcompface" >&5 | 8142 echo "configure:8143: checking for UnGenFace in -lcompface" >&5 |
8177 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8143 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8178 | 8144 |
8179 xe_check_libs=" -lcompface " | 8145 xe_check_libs=" -lcompface " |
8180 cat > conftest.$ac_ext <<EOF | 8146 cat > conftest.$ac_ext <<EOF |
8181 #line 8182 "configure" | 8147 #line 8148 "configure" |
8182 #include "confdefs.h" | 8148 #include "confdefs.h" |
8183 /* Override any gcc2 internal prototype to avoid an error. */ | 8149 /* Override any gcc2 internal prototype to avoid an error. */ |
8184 /* We use char because int might match the return type of a gcc2 | 8150 /* We use char because int might match the return type of a gcc2 |
8185 builtin and then its argument prototype would still apply. */ | 8151 builtin and then its argument prototype would still apply. */ |
8186 char UnGenFace(); | 8152 char UnGenFace(); |
8187 | 8153 |
8188 int main() { | 8154 int main() { |
8189 UnGenFace() | 8155 UnGenFace() |
8190 ; return 0; } | 8156 ; return 0; } |
8191 EOF | 8157 EOF |
8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8193 rm -rf conftest* | 8159 rm -rf conftest* |
8194 eval "ac_cv_lib_$ac_lib_var=yes" | 8160 eval "ac_cv_lib_$ac_lib_var=yes" |
8195 else | 8161 else |
8196 echo "configure: failed program was:" >&5 | 8162 echo "configure: failed program was:" >&5 |
8197 cat conftest.$ac_ext >&5 | 8163 cat conftest.$ac_ext >&5 |
8239 fi | 8205 fi |
8240 | 8206 |
8241 if test "$with_png $with_tiff" != "no no"; then | 8207 if test "$with_png $with_tiff" != "no no"; then |
8242 | 8208 |
8243 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8244 echo "configure:8245: checking for inflate in -lc" >&5 | 8210 echo "configure:8211: checking for inflate in -lc" >&5 |
8245 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8211 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8246 | 8212 |
8247 xe_check_libs=" -lc " | 8213 xe_check_libs=" -lc " |
8248 cat > conftest.$ac_ext <<EOF | 8214 cat > conftest.$ac_ext <<EOF |
8249 #line 8250 "configure" | 8215 #line 8216 "configure" |
8250 #include "confdefs.h" | 8216 #include "confdefs.h" |
8251 /* Override any gcc2 internal prototype to avoid an error. */ | 8217 /* Override any gcc2 internal prototype to avoid an error. */ |
8252 /* We use char because int might match the return type of a gcc2 | 8218 /* We use char because int might match the return type of a gcc2 |
8253 builtin and then its argument prototype would still apply. */ | 8219 builtin and then its argument prototype would still apply. */ |
8254 char inflate(); | 8220 char inflate(); |
8255 | 8221 |
8256 int main() { | 8222 int main() { |
8257 inflate() | 8223 inflate() |
8258 ; return 0; } | 8224 ; return 0; } |
8259 EOF | 8225 EOF |
8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8261 rm -rf conftest* | 8227 rm -rf conftest* |
8262 eval "ac_cv_lib_$ac_lib_var=yes" | 8228 eval "ac_cv_lib_$ac_lib_var=yes" |
8263 else | 8229 else |
8264 echo "configure: failed program was:" >&5 | 8230 echo "configure: failed program was:" >&5 |
8265 cat conftest.$ac_ext >&5 | 8231 cat conftest.$ac_ext >&5 |
8274 : | 8240 : |
8275 else | 8241 else |
8276 echo "$ac_t""no" 1>&6 | 8242 echo "$ac_t""no" 1>&6 |
8277 | 8243 |
8278 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8244 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8279 echo "configure:8280: checking for inflate in -lz" >&5 | 8245 echo "configure:8246: checking for inflate in -lz" >&5 |
8280 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8246 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8281 | 8247 |
8282 xe_check_libs=" -lz " | 8248 xe_check_libs=" -lz " |
8283 cat > conftest.$ac_ext <<EOF | 8249 cat > conftest.$ac_ext <<EOF |
8284 #line 8285 "configure" | 8250 #line 8251 "configure" |
8285 #include "confdefs.h" | 8251 #include "confdefs.h" |
8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8252 /* Override any gcc2 internal prototype to avoid an error. */ |
8287 /* We use char because int might match the return type of a gcc2 | 8253 /* We use char because int might match the return type of a gcc2 |
8288 builtin and then its argument prototype would still apply. */ | 8254 builtin and then its argument prototype would still apply. */ |
8289 char inflate(); | 8255 char inflate(); |
8290 | 8256 |
8291 int main() { | 8257 int main() { |
8292 inflate() | 8258 inflate() |
8293 ; return 0; } | 8259 ; return 0; } |
8294 EOF | 8260 EOF |
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8296 rm -rf conftest* | 8262 rm -rf conftest* |
8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8263 eval "ac_cv_lib_$ac_lib_var=yes" |
8298 else | 8264 else |
8299 echo "configure: failed program was:" >&5 | 8265 echo "configure: failed program was:" >&5 |
8300 cat conftest.$ac_ext >&5 | 8266 cat conftest.$ac_ext >&5 |
8309 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8275 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8310 else | 8276 else |
8311 echo "$ac_t""no" 1>&6 | 8277 echo "$ac_t""no" 1>&6 |
8312 | 8278 |
8313 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8279 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8314 echo "configure:8315: checking for inflate in -lgz" >&5 | 8280 echo "configure:8281: checking for inflate in -lgz" >&5 |
8315 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8281 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8316 | 8282 |
8317 xe_check_libs=" -lgz " | 8283 xe_check_libs=" -lgz " |
8318 cat > conftest.$ac_ext <<EOF | 8284 cat > conftest.$ac_ext <<EOF |
8319 #line 8320 "configure" | 8285 #line 8286 "configure" |
8320 #include "confdefs.h" | 8286 #include "confdefs.h" |
8321 /* Override any gcc2 internal prototype to avoid an error. */ | 8287 /* Override any gcc2 internal prototype to avoid an error. */ |
8322 /* We use char because int might match the return type of a gcc2 | 8288 /* We use char because int might match the return type of a gcc2 |
8323 builtin and then its argument prototype would still apply. */ | 8289 builtin and then its argument prototype would still apply. */ |
8324 char inflate(); | 8290 char inflate(); |
8325 | 8291 |
8326 int main() { | 8292 int main() { |
8327 inflate() | 8293 inflate() |
8328 ; return 0; } | 8294 ; return 0; } |
8329 EOF | 8295 EOF |
8330 if { (eval echo configure:8331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8331 rm -rf conftest* | 8297 rm -rf conftest* |
8332 eval "ac_cv_lib_$ac_lib_var=yes" | 8298 eval "ac_cv_lib_$ac_lib_var=yes" |
8333 else | 8299 else |
8334 echo "configure: failed program was:" >&5 | 8300 echo "configure: failed program was:" >&5 |
8335 cat conftest.$ac_ext >&5 | 8301 cat conftest.$ac_ext >&5 |
8355 | 8321 |
8356 fi | 8322 fi |
8357 | 8323 |
8358 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8324 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8359 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8325 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8360 echo "configure:8361: checking for jpeglib.h" >&5 | 8326 echo "configure:8327: checking for jpeglib.h" >&5 |
8361 | 8327 |
8362 cat > conftest.$ac_ext <<EOF | 8328 cat > conftest.$ac_ext <<EOF |
8363 #line 8364 "configure" | 8329 #line 8330 "configure" |
8364 #include "confdefs.h" | 8330 #include "confdefs.h" |
8365 #include <jpeglib.h> | 8331 #include <jpeglib.h> |
8366 EOF | 8332 EOF |
8367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8368 { (eval echo configure:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8334 { (eval echo configure:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8370 if test -z "$ac_err"; then | 8336 if test -z "$ac_err"; then |
8371 rm -rf conftest* | 8337 rm -rf conftest* |
8372 eval "ac_cv_header_$ac_safe=yes" | 8338 eval "ac_cv_header_$ac_safe=yes" |
8373 else | 8339 else |
8386 with_jpeg=no | 8352 with_jpeg=no |
8387 fi | 8353 fi |
8388 } | 8354 } |
8389 test -z "$with_jpeg" && { | 8355 test -z "$with_jpeg" && { |
8390 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8356 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8391 echo "configure:8392: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8357 echo "configure:8358: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8392 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8358 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8393 | 8359 |
8394 xe_check_libs=" -ljpeg " | 8360 xe_check_libs=" -ljpeg " |
8395 cat > conftest.$ac_ext <<EOF | 8361 cat > conftest.$ac_ext <<EOF |
8396 #line 8397 "configure" | 8362 #line 8363 "configure" |
8397 #include "confdefs.h" | 8363 #include "confdefs.h" |
8398 /* Override any gcc2 internal prototype to avoid an error. */ | 8364 /* Override any gcc2 internal prototype to avoid an error. */ |
8399 /* We use char because int might match the return type of a gcc2 | 8365 /* We use char because int might match the return type of a gcc2 |
8400 builtin and then its argument prototype would still apply. */ | 8366 builtin and then its argument prototype would still apply. */ |
8401 char jpeg_destroy_decompress(); | 8367 char jpeg_destroy_decompress(); |
8402 | 8368 |
8403 int main() { | 8369 int main() { |
8404 jpeg_destroy_decompress() | 8370 jpeg_destroy_decompress() |
8405 ; return 0; } | 8371 ; return 0; } |
8406 EOF | 8372 EOF |
8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8408 rm -rf conftest* | 8374 rm -rf conftest* |
8409 eval "ac_cv_lib_$ac_lib_var=yes" | 8375 eval "ac_cv_lib_$ac_lib_var=yes" |
8410 else | 8376 else |
8411 echo "configure: failed program was:" >&5 | 8377 echo "configure: failed program was:" >&5 |
8412 cat conftest.$ac_ext >&5 | 8378 cat conftest.$ac_ext >&5 |
8438 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8404 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8439 fi | 8405 fi |
8440 | 8406 |
8441 png_problem="" | 8407 png_problem="" |
8442 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8408 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8443 echo "configure:8444: checking for pow" >&5 | 8409 echo "configure:8410: checking for pow" >&5 |
8444 | 8410 |
8445 cat > conftest.$ac_ext <<EOF | 8411 cat > conftest.$ac_ext <<EOF |
8446 #line 8447 "configure" | 8412 #line 8413 "configure" |
8447 #include "confdefs.h" | 8413 #include "confdefs.h" |
8448 /* System header to define __stub macros and hopefully few prototypes, | 8414 /* System header to define __stub macros and hopefully few prototypes, |
8449 which can conflict with char pow(); below. */ | 8415 which can conflict with char pow(); below. */ |
8450 #include <assert.h> | 8416 #include <assert.h> |
8451 /* Override any gcc2 internal prototype to avoid an error. */ | 8417 /* Override any gcc2 internal prototype to avoid an error. */ |
8464 pow(); | 8430 pow(); |
8465 #endif | 8431 #endif |
8466 | 8432 |
8467 ; return 0; } | 8433 ; return 0; } |
8468 EOF | 8434 EOF |
8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8470 rm -rf conftest* | 8436 rm -rf conftest* |
8471 eval "ac_cv_func_pow=yes" | 8437 eval "ac_cv_func_pow=yes" |
8472 else | 8438 else |
8473 echo "configure: failed program was:" >&5 | 8439 echo "configure: failed program was:" >&5 |
8474 cat conftest.$ac_ext >&5 | 8440 cat conftest.$ac_ext >&5 |
8485 with_png=no | 8451 with_png=no |
8486 fi | 8452 fi |
8487 } | 8453 } |
8488 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8454 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8489 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8455 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8490 echo "configure:8491: checking for png.h" >&5 | 8456 echo "configure:8457: checking for png.h" >&5 |
8491 | 8457 |
8492 cat > conftest.$ac_ext <<EOF | 8458 cat > conftest.$ac_ext <<EOF |
8493 #line 8494 "configure" | 8459 #line 8460 "configure" |
8494 #include "confdefs.h" | 8460 #include "confdefs.h" |
8495 #include <png.h> | 8461 #include <png.h> |
8496 EOF | 8462 EOF |
8497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8498 { (eval echo configure:8499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8500 if test -z "$ac_err"; then | 8466 if test -z "$ac_err"; then |
8501 rm -rf conftest* | 8467 rm -rf conftest* |
8502 eval "ac_cv_header_$ac_safe=yes" | 8468 eval "ac_cv_header_$ac_safe=yes" |
8503 else | 8469 else |
8516 with_png=no | 8482 with_png=no |
8517 fi | 8483 fi |
8518 } | 8484 } |
8519 test -z "$with_png" && { | 8485 test -z "$with_png" && { |
8520 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8486 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8521 echo "configure:8522: checking for png_read_image in -lpng" >&5 | 8487 echo "configure:8488: checking for png_read_image in -lpng" >&5 |
8522 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8488 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8523 | 8489 |
8524 xe_check_libs=" -lpng " | 8490 xe_check_libs=" -lpng " |
8525 cat > conftest.$ac_ext <<EOF | 8491 cat > conftest.$ac_ext <<EOF |
8526 #line 8527 "configure" | 8492 #line 8493 "configure" |
8527 #include "confdefs.h" | 8493 #include "confdefs.h" |
8528 /* Override any gcc2 internal prototype to avoid an error. */ | 8494 /* Override any gcc2 internal prototype to avoid an error. */ |
8529 /* We use char because int might match the return type of a gcc2 | 8495 /* We use char because int might match the return type of a gcc2 |
8530 builtin and then its argument prototype would still apply. */ | 8496 builtin and then its argument prototype would still apply. */ |
8531 char png_read_image(); | 8497 char png_read_image(); |
8532 | 8498 |
8533 int main() { | 8499 int main() { |
8534 png_read_image() | 8500 png_read_image() |
8535 ; return 0; } | 8501 ; return 0; } |
8536 EOF | 8502 EOF |
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8538 rm -rf conftest* | 8504 rm -rf conftest* |
8539 eval "ac_cv_lib_$ac_lib_var=yes" | 8505 eval "ac_cv_lib_$ac_lib_var=yes" |
8540 else | 8506 else |
8541 echo "configure: failed program was:" >&5 | 8507 echo "configure: failed program was:" >&5 |
8542 cat conftest.$ac_ext >&5 | 8508 cat conftest.$ac_ext >&5 |
8555 fi | 8521 fi |
8556 | 8522 |
8557 } | 8523 } |
8558 if test -z "$with_png"; then | 8524 if test -z "$with_png"; then |
8559 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8525 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8560 echo "configure:8561: checking for workable png version information" >&5 | 8526 echo "configure:8527: checking for workable png version information" >&5 |
8561 xe_check_libs="-lpng -lz" | 8527 xe_check_libs="-lpng -lz" |
8562 cat > conftest.$ac_ext <<EOF | 8528 cat > conftest.$ac_ext <<EOF |
8563 #line 8564 "configure" | 8529 #line 8530 "configure" |
8564 #include "confdefs.h" | 8530 #include "confdefs.h" |
8565 #include <png.h> | 8531 #include <png.h> |
8566 int main(int c, char **v) { | 8532 int main(int c, char **v) { |
8567 if (c == 1) return 0; | 8533 if (c == 1) return 0; |
8568 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8534 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8569 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8535 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8570 EOF | 8536 EOF |
8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8572 then | 8538 then |
8573 ./conftest dummy_arg; png_status=$?; | 8539 ./conftest dummy_arg; png_status=$?; |
8574 if test "$png_status" = "0"; then | 8540 if test "$png_status" = "0"; then |
8575 with_png=yes; | 8541 with_png=yes; |
8576 else | 8542 else |
8609 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8575 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8610 fi | 8576 fi |
8611 | 8577 |
8612 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8578 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8613 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8579 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8614 echo "configure:8615: checking for tiffio.h" >&5 | 8580 echo "configure:8581: checking for tiffio.h" >&5 |
8615 | 8581 |
8616 cat > conftest.$ac_ext <<EOF | 8582 cat > conftest.$ac_ext <<EOF |
8617 #line 8618 "configure" | 8583 #line 8584 "configure" |
8618 #include "confdefs.h" | 8584 #include "confdefs.h" |
8619 #include <tiffio.h> | 8585 #include <tiffio.h> |
8620 EOF | 8586 EOF |
8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8624 if test -z "$ac_err"; then | 8590 if test -z "$ac_err"; then |
8625 rm -rf conftest* | 8591 rm -rf conftest* |
8626 eval "ac_cv_header_$ac_safe=yes" | 8592 eval "ac_cv_header_$ac_safe=yes" |
8627 else | 8593 else |
8640 with_tiff=no | 8606 with_tiff=no |
8641 fi | 8607 fi |
8642 } | 8608 } |
8643 test -z "$with_tiff" && { | 8609 test -z "$with_tiff" && { |
8644 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8610 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8645 echo "configure:8646: checking for TIFFClientOpen in -ltiff" >&5 | 8611 echo "configure:8612: checking for TIFFClientOpen in -ltiff" >&5 |
8646 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8612 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8647 | 8613 |
8648 xe_check_libs=" -ltiff " | 8614 xe_check_libs=" -ltiff " |
8649 cat > conftest.$ac_ext <<EOF | 8615 cat > conftest.$ac_ext <<EOF |
8650 #line 8651 "configure" | 8616 #line 8617 "configure" |
8651 #include "confdefs.h" | 8617 #include "confdefs.h" |
8652 /* Override any gcc2 internal prototype to avoid an error. */ | 8618 /* Override any gcc2 internal prototype to avoid an error. */ |
8653 /* We use char because int might match the return type of a gcc2 | 8619 /* We use char because int might match the return type of a gcc2 |
8654 builtin and then its argument prototype would still apply. */ | 8620 builtin and then its argument prototype would still apply. */ |
8655 char TIFFClientOpen(); | 8621 char TIFFClientOpen(); |
8656 | 8622 |
8657 int main() { | 8623 int main() { |
8658 TIFFClientOpen() | 8624 TIFFClientOpen() |
8659 ; return 0; } | 8625 ; return 0; } |
8660 EOF | 8626 EOF |
8661 if { (eval echo configure:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8662 rm -rf conftest* | 8628 rm -rf conftest* |
8663 eval "ac_cv_lib_$ac_lib_var=yes" | 8629 eval "ac_cv_lib_$ac_lib_var=yes" |
8664 else | 8630 else |
8665 echo "configure: failed program was:" >&5 | 8631 echo "configure: failed program was:" >&5 |
8666 cat conftest.$ac_ext >&5 | 8632 cat conftest.$ac_ext >&5 |
8695 | 8661 |
8696 | 8662 |
8697 if test "$with_gtk" = "yes"; then | 8663 if test "$with_gtk" = "yes"; then |
8698 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8664 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8699 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8665 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8700 echo "configure:8701: checking for compface.h" >&5 | 8666 echo "configure:8667: checking for compface.h" >&5 |
8701 | 8667 |
8702 cat > conftest.$ac_ext <<EOF | 8668 cat > conftest.$ac_ext <<EOF |
8703 #line 8704 "configure" | 8669 #line 8670 "configure" |
8704 #include "confdefs.h" | 8670 #include "confdefs.h" |
8705 #include <compface.h> | 8671 #include <compface.h> |
8706 EOF | 8672 EOF |
8707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8708 { (eval echo configure:8709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8710 if test -z "$ac_err"; then | 8676 if test -z "$ac_err"; then |
8711 rm -rf conftest* | 8677 rm -rf conftest* |
8712 eval "ac_cv_header_$ac_safe=yes" | 8678 eval "ac_cv_header_$ac_safe=yes" |
8713 else | 8679 else |
8726 with_xface=no | 8692 with_xface=no |
8727 fi | 8693 fi |
8728 } | 8694 } |
8729 test -z "$with_xface" && { | 8695 test -z "$with_xface" && { |
8730 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8696 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8731 echo "configure:8732: checking for UnGenFace in -lcompface" >&5 | 8697 echo "configure:8698: checking for UnGenFace in -lcompface" >&5 |
8732 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8698 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8733 | 8699 |
8734 xe_check_libs=" -lcompface " | 8700 xe_check_libs=" -lcompface " |
8735 cat > conftest.$ac_ext <<EOF | 8701 cat > conftest.$ac_ext <<EOF |
8736 #line 8737 "configure" | 8702 #line 8703 "configure" |
8737 #include "confdefs.h" | 8703 #include "confdefs.h" |
8738 /* Override any gcc2 internal prototype to avoid an error. */ | 8704 /* Override any gcc2 internal prototype to avoid an error. */ |
8739 /* We use char because int might match the return type of a gcc2 | 8705 /* We use char because int might match the return type of a gcc2 |
8740 builtin and then its argument prototype would still apply. */ | 8706 builtin and then its argument prototype would still apply. */ |
8741 char UnGenFace(); | 8707 char UnGenFace(); |
8742 | 8708 |
8743 int main() { | 8709 int main() { |
8744 UnGenFace() | 8710 UnGenFace() |
8745 ; return 0; } | 8711 ; return 0; } |
8746 EOF | 8712 EOF |
8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8748 rm -rf conftest* | 8714 rm -rf conftest* |
8749 eval "ac_cv_lib_$ac_lib_var=yes" | 8715 eval "ac_cv_lib_$ac_lib_var=yes" |
8750 else | 8716 else |
8751 echo "configure: failed program was:" >&5 | 8717 echo "configure: failed program was:" >&5 |
8752 cat conftest.$ac_ext >&5 | 8718 cat conftest.$ac_ext >&5 |
8782 | 8748 |
8783 | 8749 |
8784 if test "$with_x11" = "yes"; then | 8750 if test "$with_x11" = "yes"; then |
8785 | 8751 |
8786 echo "checking for X11 graphics libraries" 1>&6 | 8752 echo "checking for X11 graphics libraries" 1>&6 |
8787 echo "configure:8788: checking for X11 graphics libraries" >&5 | 8753 echo "configure:8754: checking for X11 graphics libraries" >&5 |
8788 | 8754 |
8789 echo "checking for the Athena widgets" 1>&6 | 8755 echo "checking for the Athena widgets" 1>&6 |
8790 echo "configure:8791: checking for the Athena widgets" >&5 | 8756 echo "configure:8757: checking for the Athena widgets" >&5 |
8791 | 8757 |
8792 case "$with_athena" in | 8758 case "$with_athena" in |
8793 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8759 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8794 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8760 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8795 "next") athena_variant=neXtaw athena_3d=yes ;; | 8761 "next") athena_variant=neXtaw athena_3d=yes ;; |
8799 esac | 8765 esac |
8800 | 8766 |
8801 if test "$athena_3d" = "no"; then | 8767 if test "$athena_3d" = "no"; then |
8802 | 8768 |
8803 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8769 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8804 echo "configure:8805: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8770 echo "configure:8771: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8805 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8771 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8806 | 8772 |
8807 xe_check_libs=" -l$athena_variant " | 8773 xe_check_libs=" -l$athena_variant " |
8808 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8809 #line 8810 "configure" | 8775 #line 8776 "configure" |
8810 #include "confdefs.h" | 8776 #include "confdefs.h" |
8811 /* Override any gcc2 internal prototype to avoid an error. */ | 8777 /* Override any gcc2 internal prototype to avoid an error. */ |
8812 /* We use char because int might match the return type of a gcc2 | 8778 /* We use char because int might match the return type of a gcc2 |
8813 builtin and then its argument prototype would still apply. */ | 8779 builtin and then its argument prototype would still apply. */ |
8814 char XawScrollbarSetThumb(); | 8780 char XawScrollbarSetThumb(); |
8815 | 8781 |
8816 int main() { | 8782 int main() { |
8817 XawScrollbarSetThumb() | 8783 XawScrollbarSetThumb() |
8818 ; return 0; } | 8784 ; return 0; } |
8819 EOF | 8785 EOF |
8820 if { (eval echo configure:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8821 rm -rf conftest* | 8787 rm -rf conftest* |
8822 eval "ac_cv_lib_$ac_lib_var=yes" | 8788 eval "ac_cv_lib_$ac_lib_var=yes" |
8823 else | 8789 else |
8824 echo "configure: failed program was:" >&5 | 8790 echo "configure: failed program was:" >&5 |
8825 cat conftest.$ac_ext >&5 | 8791 cat conftest.$ac_ext >&5 |
8831 | 8797 |
8832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8833 echo "$ac_t""yes" 1>&6 | 8799 echo "$ac_t""yes" 1>&6 |
8834 | 8800 |
8835 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8801 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8836 echo "configure:8837: checking for threeDClassRec in -l$athena_variant" >&5 | 8802 echo "configure:8803: checking for threeDClassRec in -l$athena_variant" >&5 |
8837 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8803 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8838 | 8804 |
8839 xe_check_libs=" -l$athena_variant " | 8805 xe_check_libs=" -l$athena_variant " |
8840 cat > conftest.$ac_ext <<EOF | 8806 cat > conftest.$ac_ext <<EOF |
8841 #line 8842 "configure" | 8807 #line 8808 "configure" |
8842 #include "confdefs.h" | 8808 #include "confdefs.h" |
8843 /* Override any gcc2 internal prototype to avoid an error. */ | 8809 /* Override any gcc2 internal prototype to avoid an error. */ |
8844 /* We use char because int might match the return type of a gcc2 | 8810 /* We use char because int might match the return type of a gcc2 |
8845 builtin and then its argument prototype would still apply. */ | 8811 builtin and then its argument prototype would still apply. */ |
8846 char threeDClassRec(); | 8812 char threeDClassRec(); |
8847 | 8813 |
8848 int main() { | 8814 int main() { |
8849 threeDClassRec() | 8815 threeDClassRec() |
8850 ; return 0; } | 8816 ; return 0; } |
8851 EOF | 8817 EOF |
8852 if { (eval echo configure:8853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8853 rm -rf conftest* | 8819 rm -rf conftest* |
8854 eval "ac_cv_lib_$ac_lib_var=yes" | 8820 eval "ac_cv_lib_$ac_lib_var=yes" |
8855 else | 8821 else |
8856 echo "configure: failed program was:" >&5 | 8822 echo "configure: failed program was:" >&5 |
8857 cat conftest.$ac_ext >&5 | 8823 cat conftest.$ac_ext >&5 |
8878 | 8844 |
8879 | 8845 |
8880 else | 8846 else |
8881 | 8847 |
8882 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8848 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8883 echo "configure:8884: checking for threeDClassRec in -l$athena_variant" >&5 | 8849 echo "configure:8850: checking for threeDClassRec in -l$athena_variant" >&5 |
8884 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8850 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8885 | 8851 |
8886 xe_check_libs=" -l$athena_variant " | 8852 xe_check_libs=" -l$athena_variant " |
8887 cat > conftest.$ac_ext <<EOF | 8853 cat > conftest.$ac_ext <<EOF |
8888 #line 8889 "configure" | 8854 #line 8855 "configure" |
8889 #include "confdefs.h" | 8855 #include "confdefs.h" |
8890 /* Override any gcc2 internal prototype to avoid an error. */ | 8856 /* Override any gcc2 internal prototype to avoid an error. */ |
8891 /* We use char because int might match the return type of a gcc2 | 8857 /* We use char because int might match the return type of a gcc2 |
8892 builtin and then its argument prototype would still apply. */ | 8858 builtin and then its argument prototype would still apply. */ |
8893 char threeDClassRec(); | 8859 char threeDClassRec(); |
8894 | 8860 |
8895 int main() { | 8861 int main() { |
8896 threeDClassRec() | 8862 threeDClassRec() |
8897 ; return 0; } | 8863 ; return 0; } |
8898 EOF | 8864 EOF |
8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8900 rm -rf conftest* | 8866 rm -rf conftest* |
8901 eval "ac_cv_lib_$ac_lib_var=yes" | 8867 eval "ac_cv_lib_$ac_lib_var=yes" |
8902 else | 8868 else |
8903 echo "configure: failed program was:" >&5 | 8869 echo "configure: failed program was:" >&5 |
8904 cat conftest.$ac_ext >&5 | 8870 cat conftest.$ac_ext >&5 |
8912 echo "$ac_t""yes" 1>&6 | 8878 echo "$ac_t""yes" 1>&6 |
8913 athena_lib=$athena_variant | 8879 athena_lib=$athena_variant |
8914 else | 8880 else |
8915 echo "$ac_t""no" 1>&6 | 8881 echo "$ac_t""no" 1>&6 |
8916 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8917 echo "configure:8918: checking for threeDClassRec in -lXaw" >&5 | 8883 echo "configure:8884: checking for threeDClassRec in -lXaw" >&5 |
8918 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8884 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8919 | 8885 |
8920 xe_check_libs=" -lXaw " | 8886 xe_check_libs=" -lXaw " |
8921 cat > conftest.$ac_ext <<EOF | 8887 cat > conftest.$ac_ext <<EOF |
8922 #line 8923 "configure" | 8888 #line 8889 "configure" |
8923 #include "confdefs.h" | 8889 #include "confdefs.h" |
8924 /* Override any gcc2 internal prototype to avoid an error. */ | 8890 /* Override any gcc2 internal prototype to avoid an error. */ |
8925 /* 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 |
8926 builtin and then its argument prototype would still apply. */ | 8892 builtin and then its argument prototype would still apply. */ |
8927 char threeDClassRec(); | 8893 char threeDClassRec(); |
8928 | 8894 |
8929 int main() { | 8895 int main() { |
8930 threeDClassRec() | 8896 threeDClassRec() |
8931 ; return 0; } | 8897 ; return 0; } |
8932 EOF | 8898 EOF |
8933 if { (eval echo configure:8934: \"$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 |
8934 rm -rf conftest* | 8900 rm -rf conftest* |
8935 eval "ac_cv_lib_$ac_lib_var=yes" | 8901 eval "ac_cv_lib_$ac_lib_var=yes" |
8936 else | 8902 else |
8937 echo "configure: failed program was:" >&5 | 8903 echo "configure: failed program was:" >&5 |
8938 cat conftest.$ac_ext >&5 | 8904 cat conftest.$ac_ext >&5 |
8959 fi | 8925 fi |
8960 | 8926 |
8961 if test "$athena_3d" = "no"; then | 8927 if test "$athena_3d" = "no"; then |
8962 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8928 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8963 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8929 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8964 echo "configure:8965: checking for X11/Xaw/ThreeD.h" >&5 | 8930 echo "configure:8931: checking for X11/Xaw/ThreeD.h" >&5 |
8965 | 8931 |
8966 cat > conftest.$ac_ext <<EOF | 8932 cat > conftest.$ac_ext <<EOF |
8967 #line 8968 "configure" | 8933 #line 8934 "configure" |
8968 #include "confdefs.h" | 8934 #include "confdefs.h" |
8969 #include <X11/Xaw/ThreeD.h> | 8935 #include <X11/Xaw/ThreeD.h> |
8970 EOF | 8936 EOF |
8971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8972 { (eval echo configure:8973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8938 { (eval echo configure:8939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8974 if test -z "$ac_err"; then | 8940 if test -z "$ac_err"; then |
8975 rm -rf conftest* | 8941 rm -rf conftest* |
8976 eval "ac_cv_header_$ac_safe=yes" | 8942 eval "ac_cv_header_$ac_safe=yes" |
8977 else | 8943 else |
8987 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8953 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8988 else | 8954 else |
8989 echo "$ac_t""no" 1>&6 | 8955 echo "$ac_t""no" 1>&6 |
8990 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8956 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8991 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8957 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8992 echo "configure:8993: checking for X11/Xaw/XawInit.h" >&5 | 8958 echo "configure:8959: checking for X11/Xaw/XawInit.h" >&5 |
8959 | |
8960 cat > conftest.$ac_ext <<EOF | |
8961 #line 8962 "configure" | |
8962 #include "confdefs.h" | |
8963 #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 | 8993 |
8994 cat > conftest.$ac_ext <<EOF | 8994 cat > conftest.$ac_ext <<EOF |
8995 #line 8996 "configure" | 8995 #line 8996 "configure" |
8996 #include "confdefs.h" | 8996 #include "confdefs.h" |
8997 #include <X11/Xaw/XawInit.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 | |
9049 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9015 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9050 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9016 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9051 echo "configure:9052: checking for X11/$athena_variant/ThreeD.h" >&5 | 9017 echo "configure:9018: checking for X11/$athena_variant/ThreeD.h" >&5 |
9052 | 9018 |
9053 cat > conftest.$ac_ext <<EOF | 9019 cat > conftest.$ac_ext <<EOF |
9054 #line 9055 "configure" | 9020 #line 9021 "configure" |
9055 #include "confdefs.h" | 9021 #include "confdefs.h" |
9056 #include <X11/$athena_variant/ThreeD.h> | 9022 #include <X11/$athena_variant/ThreeD.h> |
9057 EOF | 9023 EOF |
9058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9059 { (eval echo configure:9060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9025 { (eval echo configure:9026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9061 if test -z "$ac_err"; then | 9027 if test -z "$ac_err"; then |
9062 rm -rf conftest* | 9028 rm -rf conftest* |
9063 eval "ac_cv_header_$ac_safe=yes" | 9029 eval "ac_cv_header_$ac_safe=yes" |
9064 else | 9030 else |
9082 | 9048 |
9083 | 9049 |
9084 if test -z "$athena_h_path"; then | 9050 if test -z "$athena_h_path"; then |
9085 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9051 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9086 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9052 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9087 echo "configure:9088: checking for $athena_variant/XawInit.h" >&5 | 9053 echo "configure:9054: checking for $athena_variant/XawInit.h" >&5 |
9088 | 9054 |
9089 cat > conftest.$ac_ext <<EOF | 9055 cat > conftest.$ac_ext <<EOF |
9090 #line 9091 "configure" | 9056 #line 9057 "configure" |
9091 #include "confdefs.h" | 9057 #include "confdefs.h" |
9092 #include <$athena_variant/XawInit.h> | 9058 #include <$athena_variant/XawInit.h> |
9093 EOF | 9059 EOF |
9094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9095 { (eval echo configure:9096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9061 { (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9097 if test -z "$ac_err"; then | 9063 if test -z "$ac_err"; then |
9098 rm -rf conftest* | 9064 rm -rf conftest* |
9099 eval "ac_cv_header_$ac_safe=yes" | 9065 eval "ac_cv_header_$ac_safe=yes" |
9100 else | 9066 else |
9107 rm -f conftest* | 9073 rm -f conftest* |
9108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9109 echo "$ac_t""yes" 1>&6 | 9075 echo "$ac_t""yes" 1>&6 |
9110 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9076 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9111 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9077 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9112 echo "configure:9113: checking for $athena_variant/ThreeD.h" >&5 | 9078 echo "configure:9079: checking for $athena_variant/ThreeD.h" >&5 |
9113 | 9079 |
9114 cat > conftest.$ac_ext <<EOF | 9080 cat > conftest.$ac_ext <<EOF |
9115 #line 9116 "configure" | 9081 #line 9082 "configure" |
9116 #include "confdefs.h" | 9082 #include "confdefs.h" |
9117 #include <$athena_variant/ThreeD.h> | 9083 #include <$athena_variant/ThreeD.h> |
9118 EOF | 9084 EOF |
9119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9120 { (eval echo configure:9121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9122 if test -z "$ac_err"; then | 9088 if test -z "$ac_err"; then |
9123 rm -rf conftest* | 9089 rm -rf conftest* |
9124 eval "ac_cv_header_$ac_safe=yes" | 9090 eval "ac_cv_header_$ac_safe=yes" |
9125 else | 9091 else |
9144 fi | 9110 fi |
9145 | 9111 |
9146 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9112 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9147 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9113 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9148 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9149 echo "configure:9150: checking for X11/Xaw3d/XawInit.h" >&5 | 9115 echo "configure:9116: checking for X11/Xaw3d/XawInit.h" >&5 |
9150 | 9116 |
9151 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
9152 #line 9153 "configure" | 9118 #line 9119 "configure" |
9153 #include "confdefs.h" | 9119 #include "confdefs.h" |
9154 #include <X11/Xaw3d/XawInit.h> | 9120 #include <X11/Xaw3d/XawInit.h> |
9155 EOF | 9121 EOF |
9156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9157 { (eval echo configure:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9159 if test -z "$ac_err"; then | 9125 if test -z "$ac_err"; then |
9160 rm -rf conftest* | 9126 rm -rf conftest* |
9161 eval "ac_cv_header_$ac_safe=yes" | 9127 eval "ac_cv_header_$ac_safe=yes" |
9162 else | 9128 else |
9169 rm -f conftest* | 9135 rm -f conftest* |
9170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9171 echo "$ac_t""yes" 1>&6 | 9137 echo "$ac_t""yes" 1>&6 |
9172 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9138 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9173 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9139 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9174 echo "configure:9175: checking for X11/Xaw3d/ThreeD.h" >&5 | 9140 echo "configure:9141: checking for X11/Xaw3d/ThreeD.h" >&5 |
9175 | 9141 |
9176 cat > conftest.$ac_ext <<EOF | 9142 cat > conftest.$ac_ext <<EOF |
9177 #line 9178 "configure" | 9143 #line 9144 "configure" |
9178 #include "confdefs.h" | 9144 #include "confdefs.h" |
9179 #include <X11/Xaw3d/ThreeD.h> | 9145 #include <X11/Xaw3d/ThreeD.h> |
9180 EOF | 9146 EOF |
9181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9182 { (eval echo configure:9183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9184 if test -z "$ac_err"; then | 9150 if test -z "$ac_err"; then |
9185 rm -rf conftest* | 9151 rm -rf conftest* |
9186 eval "ac_cv_header_$ac_safe=yes" | 9152 eval "ac_cv_header_$ac_safe=yes" |
9187 else | 9153 else |
9209 fi | 9175 fi |
9210 | 9176 |
9211 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9177 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9212 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9178 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9213 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9179 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9214 echo "configure:9215: checking for Xaw3d/XawInit.h" >&5 | 9180 echo "configure:9181: checking for Xaw3d/XawInit.h" >&5 |
9215 | 9181 |
9216 cat > conftest.$ac_ext <<EOF | 9182 cat > conftest.$ac_ext <<EOF |
9217 #line 9218 "configure" | 9183 #line 9184 "configure" |
9218 #include "confdefs.h" | 9184 #include "confdefs.h" |
9219 #include <Xaw3d/XawInit.h> | 9185 #include <Xaw3d/XawInit.h> |
9220 EOF | 9186 EOF |
9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9224 if test -z "$ac_err"; then | 9190 if test -z "$ac_err"; then |
9225 rm -rf conftest* | 9191 rm -rf conftest* |
9226 eval "ac_cv_header_$ac_safe=yes" | 9192 eval "ac_cv_header_$ac_safe=yes" |
9227 else | 9193 else |
9234 rm -f conftest* | 9200 rm -f conftest* |
9235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9236 echo "$ac_t""yes" 1>&6 | 9202 echo "$ac_t""yes" 1>&6 |
9237 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9203 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9238 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9204 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9239 echo "configure:9240: checking for Xaw3d/ThreeD.h" >&5 | 9205 echo "configure:9206: checking for Xaw3d/ThreeD.h" >&5 |
9240 | 9206 |
9241 cat > conftest.$ac_ext <<EOF | 9207 cat > conftest.$ac_ext <<EOF |
9242 #line 9243 "configure" | 9208 #line 9209 "configure" |
9243 #include "confdefs.h" | 9209 #include "confdefs.h" |
9244 #include <Xaw3d/ThreeD.h> | 9210 #include <Xaw3d/ThreeD.h> |
9245 EOF | 9211 EOF |
9246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9247 { (eval echo configure:9248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9249 if test -z "$ac_err"; then | 9215 if test -z "$ac_err"; then |
9250 rm -rf conftest* | 9216 rm -rf conftest* |
9251 eval "ac_cv_header_$ac_safe=yes" | 9217 eval "ac_cv_header_$ac_safe=yes" |
9252 else | 9218 else |
9274 fi | 9240 fi |
9275 | 9241 |
9276 if test -z "$athena_h_path"; then | 9242 if test -z "$athena_h_path"; then |
9277 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9243 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9278 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9244 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9279 echo "configure:9280: checking for X11/Xaw/ThreeD.h" >&5 | 9245 echo "configure:9246: checking for X11/Xaw/ThreeD.h" >&5 |
9280 | 9246 |
9281 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9282 #line 9283 "configure" | 9248 #line 9249 "configure" |
9283 #include "confdefs.h" | 9249 #include "confdefs.h" |
9284 #include <X11/Xaw/ThreeD.h> | 9250 #include <X11/Xaw/ThreeD.h> |
9285 EOF | 9251 EOF |
9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9289 if test -z "$ac_err"; then | 9255 if test -z "$ac_err"; then |
9290 rm -rf conftest* | 9256 rm -rf conftest* |
9291 eval "ac_cv_header_$ac_safe=yes" | 9257 eval "ac_cv_header_$ac_safe=yes" |
9292 else | 9258 else |
9317 have_xaw=no | 9283 have_xaw=no |
9318 fi | 9284 fi |
9319 | 9285 |
9320 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9286 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9321 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9287 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9322 echo "configure:9323: checking for Xm/Xm.h" >&5 | 9288 echo "configure:9289: checking for Xm/Xm.h" >&5 |
9323 | 9289 |
9324 cat > conftest.$ac_ext <<EOF | 9290 cat > conftest.$ac_ext <<EOF |
9325 #line 9326 "configure" | 9291 #line 9292 "configure" |
9326 #include "confdefs.h" | 9292 #include "confdefs.h" |
9327 #include <Xm/Xm.h> | 9293 #include <Xm/Xm.h> |
9328 EOF | 9294 EOF |
9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9332 if test -z "$ac_err"; then | 9298 if test -z "$ac_err"; then |
9333 rm -rf conftest* | 9299 rm -rf conftest* |
9334 eval "ac_cv_header_$ac_safe=yes" | 9300 eval "ac_cv_header_$ac_safe=yes" |
9335 else | 9301 else |
9342 rm -f conftest* | 9308 rm -f conftest* |
9343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9344 echo "$ac_t""yes" 1>&6 | 9310 echo "$ac_t""yes" 1>&6 |
9345 | 9311 |
9346 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9347 echo "configure:9348: checking for XmStringFree in -lXm" >&5 | 9313 echo "configure:9314: checking for XmStringFree in -lXm" >&5 |
9348 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9314 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9349 | 9315 |
9350 xe_check_libs=" -lXm " | 9316 xe_check_libs=" -lXm " |
9351 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
9352 #line 9353 "configure" | 9318 #line 9319 "configure" |
9353 #include "confdefs.h" | 9319 #include "confdefs.h" |
9354 /* Override any gcc2 internal prototype to avoid an error. */ | 9320 /* Override any gcc2 internal prototype to avoid an error. */ |
9355 /* We use char because int might match the return type of a gcc2 | 9321 /* We use char because int might match the return type of a gcc2 |
9356 builtin and then its argument prototype would still apply. */ | 9322 builtin and then its argument prototype would still apply. */ |
9357 char XmStringFree(); | 9323 char XmStringFree(); |
9358 | 9324 |
9359 int main() { | 9325 int main() { |
9360 XmStringFree() | 9326 XmStringFree() |
9361 ; return 0; } | 9327 ; return 0; } |
9362 EOF | 9328 EOF |
9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9364 rm -rf conftest* | 9330 rm -rf conftest* |
9365 eval "ac_cv_lib_$ac_lib_var=yes" | 9331 eval "ac_cv_lib_$ac_lib_var=yes" |
9366 else | 9332 else |
9367 echo "configure: failed program was:" >&5 | 9333 echo "configure: failed program was:" >&5 |
9368 cat conftest.$ac_ext >&5 | 9334 cat conftest.$ac_ext >&5 |
9387 fi | 9353 fi |
9388 | 9354 |
9389 | 9355 |
9390 if test "$have_motif" = "yes"; then | 9356 if test "$have_motif" = "yes"; then |
9391 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9357 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9392 echo "configure:9393: checking for Lesstif" >&5 | 9358 echo "configure:9359: checking for Lesstif" >&5 |
9393 cat > conftest.$ac_ext <<EOF | 9359 cat > conftest.$ac_ext <<EOF |
9394 #line 9395 "configure" | 9360 #line 9361 "configure" |
9395 #include "confdefs.h" | 9361 #include "confdefs.h" |
9396 #include <Xm/Xm.h> | 9362 #include <Xm/Xm.h> |
9397 #ifdef LESSTIF_VERSION | 9363 #ifdef LESSTIF_VERSION |
9398 yes | 9364 yes |
9399 #endif | 9365 #endif |
9813 fi | 9779 fi |
9814 fi | 9780 fi |
9815 | 9781 |
9816 if test "$with_mule" = "yes" ; then | 9782 if test "$with_mule" = "yes" ; then |
9817 echo "checking for Mule-related features" 1>&6 | 9783 echo "checking for Mule-related features" 1>&6 |
9818 echo "configure:9819: checking for Mule-related features" >&5 | 9784 echo "configure:9785: checking for Mule-related features" >&5 |
9819 { test "$extra_verbose" = "yes" && cat << \EOF | 9785 { test "$extra_verbose" = "yes" && cat << \EOF |
9820 Defining MULE | 9786 Defining MULE |
9821 EOF | 9787 EOF |
9822 cat >> confdefs.h <<\EOF | 9788 cat >> confdefs.h <<\EOF |
9823 #define MULE 1 | 9789 #define MULE 1 |
9838 | 9804 |
9839 for ac_hdr in libintl.h | 9805 for ac_hdr in libintl.h |
9840 do | 9806 do |
9841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9843 echo "configure:9844: checking for $ac_hdr" >&5 | 9809 echo "configure:9810: checking for $ac_hdr" >&5 |
9844 | 9810 |
9845 cat > conftest.$ac_ext <<EOF | 9811 cat > conftest.$ac_ext <<EOF |
9846 #line 9847 "configure" | 9812 #line 9813 "configure" |
9847 #include "confdefs.h" | 9813 #include "confdefs.h" |
9848 #include <$ac_hdr> | 9814 #include <$ac_hdr> |
9849 EOF | 9815 EOF |
9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9851 { (eval echo configure:9852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9817 { (eval echo configure:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9853 if test -z "$ac_err"; then | 9819 if test -z "$ac_err"; then |
9854 rm -rf conftest* | 9820 rm -rf conftest* |
9855 eval "ac_cv_header_$ac_safe=yes" | 9821 eval "ac_cv_header_$ac_safe=yes" |
9856 else | 9822 else |
9877 fi | 9843 fi |
9878 done | 9844 done |
9879 | 9845 |
9880 | 9846 |
9881 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9847 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9882 echo "configure:9883: checking for strerror in -lintl" >&5 | 9848 echo "configure:9849: checking for strerror in -lintl" >&5 |
9883 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9849 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9884 | 9850 |
9885 xe_check_libs=" -lintl " | 9851 xe_check_libs=" -lintl " |
9886 cat > conftest.$ac_ext <<EOF | 9852 cat > conftest.$ac_ext <<EOF |
9887 #line 9888 "configure" | 9853 #line 9854 "configure" |
9888 #include "confdefs.h" | 9854 #include "confdefs.h" |
9889 /* Override any gcc2 internal prototype to avoid an error. */ | 9855 /* Override any gcc2 internal prototype to avoid an error. */ |
9890 /* We use char because int might match the return type of a gcc2 | 9856 /* We use char because int might match the return type of a gcc2 |
9891 builtin and then its argument prototype would still apply. */ | 9857 builtin and then its argument prototype would still apply. */ |
9892 char strerror(); | 9858 char strerror(); |
9893 | 9859 |
9894 int main() { | 9860 int main() { |
9895 strerror() | 9861 strerror() |
9896 ; return 0; } | 9862 ; return 0; } |
9897 EOF | 9863 EOF |
9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9899 rm -rf conftest* | 9865 rm -rf conftest* |
9900 eval "ac_cv_lib_$ac_lib_var=yes" | 9866 eval "ac_cv_lib_$ac_lib_var=yes" |
9901 else | 9867 else |
9902 echo "configure: failed program was:" >&5 | 9868 echo "configure: failed program was:" >&5 |
9903 cat conftest.$ac_ext >&5 | 9869 cat conftest.$ac_ext >&5 |
9926 fi | 9892 fi |
9927 | 9893 |
9928 | 9894 |
9929 | 9895 |
9930 echo "checking for Mule input methods" 1>&6 | 9896 echo "checking for Mule input methods" 1>&6 |
9931 echo "configure:9932: checking for Mule input methods" >&5 | 9897 echo "configure:9898: checking for Mule input methods" >&5 |
9932 case "$with_xim" in "" | "yes" ) | 9898 case "$with_xim" in "" | "yes" ) |
9933 echo "checking for XIM" 1>&6 | 9899 echo "checking for XIM" 1>&6 |
9934 echo "configure:9935: checking for XIM" >&5 | 9900 echo "configure:9901: checking for XIM" >&5 |
9935 | 9901 |
9936 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9902 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9937 echo "configure:9938: checking for XOpenIM in -lX11" >&5 | 9903 echo "configure:9904: checking for XOpenIM in -lX11" >&5 |
9938 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9904 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9939 | 9905 |
9940 xe_check_libs=" -lX11 " | 9906 xe_check_libs=" -lX11 " |
9941 cat > conftest.$ac_ext <<EOF | 9907 cat > conftest.$ac_ext <<EOF |
9942 #line 9943 "configure" | 9908 #line 9909 "configure" |
9943 #include "confdefs.h" | 9909 #include "confdefs.h" |
9944 /* Override any gcc2 internal prototype to avoid an error. */ | 9910 /* Override any gcc2 internal prototype to avoid an error. */ |
9945 /* We use char because int might match the return type of a gcc2 | 9911 /* We use char because int might match the return type of a gcc2 |
9946 builtin and then its argument prototype would still apply. */ | 9912 builtin and then its argument prototype would still apply. */ |
9947 char XOpenIM(); | 9913 char XOpenIM(); |
9948 | 9914 |
9949 int main() { | 9915 int main() { |
9950 XOpenIM() | 9916 XOpenIM() |
9951 ; return 0; } | 9917 ; return 0; } |
9952 EOF | 9918 EOF |
9953 if { (eval echo configure:9954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9954 rm -rf conftest* | 9920 rm -rf conftest* |
9955 eval "ac_cv_lib_$ac_lib_var=yes" | 9921 eval "ac_cv_lib_$ac_lib_var=yes" |
9956 else | 9922 else |
9957 echo "configure: failed program was:" >&5 | 9923 echo "configure: failed program was:" >&5 |
9958 cat conftest.$ac_ext >&5 | 9924 cat conftest.$ac_ext >&5 |
9972 | 9938 |
9973 | 9939 |
9974 if test "$have_motif $have_lesstif" = "yes no"; then | 9940 if test "$have_motif $have_lesstif" = "yes no"; then |
9975 | 9941 |
9976 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9942 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9977 echo "configure:9978: checking for XmImMbLookupString in -lXm" >&5 | 9943 echo "configure:9944: checking for XmImMbLookupString in -lXm" >&5 |
9978 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9944 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9979 | 9945 |
9980 xe_check_libs=" -lXm " | 9946 xe_check_libs=" -lXm " |
9981 cat > conftest.$ac_ext <<EOF | 9947 cat > conftest.$ac_ext <<EOF |
9982 #line 9983 "configure" | 9948 #line 9949 "configure" |
9983 #include "confdefs.h" | 9949 #include "confdefs.h" |
9984 /* Override any gcc2 internal prototype to avoid an error. */ | 9950 /* Override any gcc2 internal prototype to avoid an error. */ |
9985 /* We use char because int might match the return type of a gcc2 | 9951 /* We use char because int might match the return type of a gcc2 |
9986 builtin and then its argument prototype would still apply. */ | 9952 builtin and then its argument prototype would still apply. */ |
9987 char XmImMbLookupString(); | 9953 char XmImMbLookupString(); |
9988 | 9954 |
9989 int main() { | 9955 int main() { |
9990 XmImMbLookupString() | 9956 XmImMbLookupString() |
9991 ; return 0; } | 9957 ; return 0; } |
9992 EOF | 9958 EOF |
9993 if { (eval echo configure:9994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9994 rm -rf conftest* | 9960 rm -rf conftest* |
9995 eval "ac_cv_lib_$ac_lib_var=yes" | 9961 eval "ac_cv_lib_$ac_lib_var=yes" |
9996 else | 9962 else |
9997 echo "configure: failed program was:" >&5 | 9963 echo "configure: failed program was:" >&5 |
9998 cat conftest.$ac_ext >&5 | 9964 cat conftest.$ac_ext >&5 |
10053 fi | 10019 fi |
10054 fi | 10020 fi |
10055 | 10021 |
10056 if test "$with_xfs" = "yes" ; then | 10022 if test "$with_xfs" = "yes" ; then |
10057 echo "checking for XFontSet" 1>&6 | 10023 echo "checking for XFontSet" 1>&6 |
10058 echo "configure:10059: checking for XFontSet" >&5 | 10024 echo "configure:10025: checking for XFontSet" >&5 |
10059 | 10025 |
10060 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10026 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10061 echo "configure:10062: checking for XmbDrawString in -lX11" >&5 | 10027 echo "configure:10028: checking for XmbDrawString in -lX11" >&5 |
10062 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10028 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10063 | 10029 |
10064 xe_check_libs=" -lX11 " | 10030 xe_check_libs=" -lX11 " |
10065 cat > conftest.$ac_ext <<EOF | 10031 cat > conftest.$ac_ext <<EOF |
10066 #line 10067 "configure" | 10032 #line 10033 "configure" |
10067 #include "confdefs.h" | 10033 #include "confdefs.h" |
10068 /* Override any gcc2 internal prototype to avoid an error. */ | 10034 /* Override any gcc2 internal prototype to avoid an error. */ |
10069 /* We use char because int might match the return type of a gcc2 | 10035 /* We use char because int might match the return type of a gcc2 |
10070 builtin and then its argument prototype would still apply. */ | 10036 builtin and then its argument prototype would still apply. */ |
10071 char XmbDrawString(); | 10037 char XmbDrawString(); |
10072 | 10038 |
10073 int main() { | 10039 int main() { |
10074 XmbDrawString() | 10040 XmbDrawString() |
10075 ; return 0; } | 10041 ; return 0; } |
10076 EOF | 10042 EOF |
10077 if { (eval echo configure:10078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10078 rm -rf conftest* | 10044 rm -rf conftest* |
10079 eval "ac_cv_lib_$ac_lib_var=yes" | 10045 eval "ac_cv_lib_$ac_lib_var=yes" |
10080 else | 10046 else |
10081 echo "configure: failed program was:" >&5 | 10047 echo "configure: failed program was:" >&5 |
10082 cat conftest.$ac_ext >&5 | 10048 cat conftest.$ac_ext >&5 |
10112 fi | 10078 fi |
10113 fi | 10079 fi |
10114 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10080 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10115 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10081 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10116 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10082 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10117 echo "configure:10118: checking for wnn/jllib.h" >&5 | 10083 echo "configure:10084: checking for wnn/jllib.h" >&5 |
10118 | 10084 |
10119 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10120 #line 10121 "configure" | 10086 #line 10087 "configure" |
10121 #include "confdefs.h" | 10087 #include "confdefs.h" |
10122 #include <wnn/jllib.h> | 10088 #include <wnn/jllib.h> |
10123 EOF | 10089 EOF |
10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10127 if test -z "$ac_err"; then | 10093 if test -z "$ac_err"; then |
10128 rm -rf conftest* | 10094 rm -rf conftest* |
10129 eval "ac_cv_header_$ac_safe=yes" | 10095 eval "ac_cv_header_$ac_safe=yes" |
10130 else | 10096 else |
10143 with_wnn=no | 10109 with_wnn=no |
10144 fi | 10110 fi |
10145 } | 10111 } |
10146 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10112 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10147 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10148 echo "configure:10149: checking for wnn/commonhd.h" >&5 | 10114 echo "configure:10115: checking for wnn/commonhd.h" >&5 |
10149 | 10115 |
10150 cat > conftest.$ac_ext <<EOF | 10116 cat > conftest.$ac_ext <<EOF |
10151 #line 10152 "configure" | 10117 #line 10118 "configure" |
10152 #include "confdefs.h" | 10118 #include "confdefs.h" |
10153 #include <wnn/commonhd.h> | 10119 #include <wnn/commonhd.h> |
10154 EOF | 10120 EOF |
10155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10156 { (eval echo configure:10157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10158 if test -z "$ac_err"; then | 10124 if test -z "$ac_err"; then |
10159 rm -rf conftest* | 10125 rm -rf conftest* |
10160 eval "ac_cv_header_$ac_safe=yes" | 10126 eval "ac_cv_header_$ac_safe=yes" |
10161 else | 10127 else |
10176 } | 10142 } |
10177 if test "$with_wnn" != "no"; then | 10143 if test "$with_wnn" != "no"; then |
10178 for ac_func in crypt | 10144 for ac_func in crypt |
10179 do | 10145 do |
10180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10181 echo "configure:10182: checking for $ac_func" >&5 | 10147 echo "configure:10148: checking for $ac_func" >&5 |
10182 | 10148 |
10183 cat > conftest.$ac_ext <<EOF | 10149 cat > conftest.$ac_ext <<EOF |
10184 #line 10185 "configure" | 10150 #line 10151 "configure" |
10185 #include "confdefs.h" | 10151 #include "confdefs.h" |
10186 /* System header to define __stub macros and hopefully few prototypes, | 10152 /* System header to define __stub macros and hopefully few prototypes, |
10187 which can conflict with char $ac_func(); below. */ | 10153 which can conflict with char $ac_func(); below. */ |
10188 #include <assert.h> | 10154 #include <assert.h> |
10189 /* Override any gcc2 internal prototype to avoid an error. */ | 10155 /* Override any gcc2 internal prototype to avoid an error. */ |
10202 $ac_func(); | 10168 $ac_func(); |
10203 #endif | 10169 #endif |
10204 | 10170 |
10205 ; return 0; } | 10171 ; return 0; } |
10206 EOF | 10172 EOF |
10207 if { (eval echo configure:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10208 rm -rf conftest* | 10174 rm -rf conftest* |
10209 eval "ac_cv_func_$ac_func=yes" | 10175 eval "ac_cv_func_$ac_func=yes" |
10210 else | 10176 else |
10211 echo "configure: failed program was:" >&5 | 10177 echo "configure: failed program was:" >&5 |
10212 cat conftest.$ac_ext >&5 | 10178 cat conftest.$ac_ext >&5 |
10231 fi | 10197 fi |
10232 done | 10198 done |
10233 | 10199 |
10234 test "$ac_cv_func_crypt" != "yes" && { | 10200 test "$ac_cv_func_crypt" != "yes" && { |
10235 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10201 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10236 echo "configure:10237: checking for crypt in -lcrypt" >&5 | 10202 echo "configure:10203: checking for crypt in -lcrypt" >&5 |
10237 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10203 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10238 | 10204 |
10239 xe_check_libs=" -lcrypt " | 10205 xe_check_libs=" -lcrypt " |
10240 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
10241 #line 10242 "configure" | 10207 #line 10208 "configure" |
10242 #include "confdefs.h" | 10208 #include "confdefs.h" |
10243 /* Override any gcc2 internal prototype to avoid an error. */ | 10209 /* Override any gcc2 internal prototype to avoid an error. */ |
10244 /* We use char because int might match the return type of a gcc2 | 10210 /* We use char because int might match the return type of a gcc2 |
10245 builtin and then its argument prototype would still apply. */ | 10211 builtin and then its argument prototype would still apply. */ |
10246 char crypt(); | 10212 char crypt(); |
10247 | 10213 |
10248 int main() { | 10214 int main() { |
10249 crypt() | 10215 crypt() |
10250 ; return 0; } | 10216 ; return 0; } |
10251 EOF | 10217 EOF |
10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10253 rm -rf conftest* | 10219 rm -rf conftest* |
10254 eval "ac_cv_lib_$ac_lib_var=yes" | 10220 eval "ac_cv_lib_$ac_lib_var=yes" |
10255 else | 10221 else |
10256 echo "configure: failed program was:" >&5 | 10222 echo "configure: failed program was:" >&5 |
10257 cat conftest.$ac_ext >&5 | 10223 cat conftest.$ac_ext >&5 |
10282 } | 10248 } |
10283 fi | 10249 fi |
10284 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10250 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10285 | 10251 |
10286 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10252 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn" >&5 | 10253 echo "configure:10254: checking for jl_dic_list_e in -lwnn" >&5 |
10288 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10254 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10289 | 10255 |
10290 xe_check_libs=" -lwnn " | 10256 xe_check_libs=" -lwnn " |
10291 cat > conftest.$ac_ext <<EOF | 10257 cat > conftest.$ac_ext <<EOF |
10292 #line 10293 "configure" | 10258 #line 10259 "configure" |
10293 #include "confdefs.h" | 10259 #include "confdefs.h" |
10294 /* Override any gcc2 internal prototype to avoid an error. */ | 10260 /* Override any gcc2 internal prototype to avoid an error. */ |
10295 /* We use char because int might match the return type of a gcc2 | 10261 /* We use char because int might match the return type of a gcc2 |
10296 builtin and then its argument prototype would still apply. */ | 10262 builtin and then its argument prototype would still apply. */ |
10297 char jl_dic_list_e(); | 10263 char jl_dic_list_e(); |
10298 | 10264 |
10299 int main() { | 10265 int main() { |
10300 jl_dic_list_e() | 10266 jl_dic_list_e() |
10301 ; return 0; } | 10267 ; return 0; } |
10302 EOF | 10268 EOF |
10303 if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10304 rm -rf conftest* | 10270 rm -rf conftest* |
10305 eval "ac_cv_lib_$ac_lib_var=yes" | 10271 eval "ac_cv_lib_$ac_lib_var=yes" |
10306 else | 10272 else |
10307 echo "configure: failed program was:" >&5 | 10273 echo "configure: failed program was:" >&5 |
10308 cat conftest.$ac_ext >&5 | 10274 cat conftest.$ac_ext >&5 |
10316 echo "$ac_t""yes" 1>&6 | 10282 echo "$ac_t""yes" 1>&6 |
10317 libwnn=wnn | 10283 libwnn=wnn |
10318 else | 10284 else |
10319 echo "$ac_t""no" 1>&6 | 10285 echo "$ac_t""no" 1>&6 |
10320 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10286 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn4" >&5 | 10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn4" >&5 |
10322 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10288 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10323 | 10289 |
10324 xe_check_libs=" -lwnn4 " | 10290 xe_check_libs=" -lwnn4 " |
10325 cat > conftest.$ac_ext <<EOF | 10291 cat > conftest.$ac_ext <<EOF |
10326 #line 10327 "configure" | 10292 #line 10293 "configure" |
10327 #include "confdefs.h" | 10293 #include "confdefs.h" |
10328 /* Override any gcc2 internal prototype to avoid an error. */ | 10294 /* Override any gcc2 internal prototype to avoid an error. */ |
10329 /* 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 |
10330 builtin and then its argument prototype would still apply. */ | 10296 builtin and then its argument prototype would still apply. */ |
10331 char jl_dic_list_e(); | 10297 char jl_dic_list_e(); |
10332 | 10298 |
10333 int main() { | 10299 int main() { |
10334 jl_dic_list_e() | 10300 jl_dic_list_e() |
10335 ; return 0; } | 10301 ; return 0; } |
10336 EOF | 10302 EOF |
10337 if { (eval echo configure:10338: \"$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 |
10338 rm -rf conftest* | 10304 rm -rf conftest* |
10339 eval "ac_cv_lib_$ac_lib_var=yes" | 10305 eval "ac_cv_lib_$ac_lib_var=yes" |
10340 else | 10306 else |
10341 echo "configure: failed program was:" >&5 | 10307 echo "configure: failed program was:" >&5 |
10342 cat conftest.$ac_ext >&5 | 10308 cat conftest.$ac_ext >&5 |
10350 echo "$ac_t""yes" 1>&6 | 10316 echo "$ac_t""yes" 1>&6 |
10351 libwnn=wnn4 | 10317 libwnn=wnn4 |
10352 else | 10318 else |
10353 echo "$ac_t""no" 1>&6 | 10319 echo "$ac_t""no" 1>&6 |
10354 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10320 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10355 echo "configure:10356: checking for jl_dic_list_e in -lwnn6" >&5 | 10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn6" >&5 |
10356 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10322 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10357 | 10323 |
10358 xe_check_libs=" -lwnn6 " | 10324 xe_check_libs=" -lwnn6 " |
10359 cat > conftest.$ac_ext <<EOF | 10325 cat > conftest.$ac_ext <<EOF |
10360 #line 10361 "configure" | 10326 #line 10327 "configure" |
10361 #include "confdefs.h" | 10327 #include "confdefs.h" |
10362 /* Override any gcc2 internal prototype to avoid an error. */ | 10328 /* Override any gcc2 internal prototype to avoid an error. */ |
10363 /* 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 |
10364 builtin and then its argument prototype would still apply. */ | 10330 builtin and then its argument prototype would still apply. */ |
10365 char jl_dic_list_e(); | 10331 char jl_dic_list_e(); |
10366 | 10332 |
10367 int main() { | 10333 int main() { |
10368 jl_dic_list_e() | 10334 jl_dic_list_e() |
10369 ; return 0; } | 10335 ; return 0; } |
10370 EOF | 10336 EOF |
10371 if { (eval echo configure:10372: \"$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 |
10372 rm -rf conftest* | 10338 rm -rf conftest* |
10373 eval "ac_cv_lib_$ac_lib_var=yes" | 10339 eval "ac_cv_lib_$ac_lib_var=yes" |
10374 else | 10340 else |
10375 echo "configure: failed program was:" >&5 | 10341 echo "configure: failed program was:" >&5 |
10376 cat conftest.$ac_ext >&5 | 10342 cat conftest.$ac_ext >&5 |
10384 echo "$ac_t""yes" 1>&6 | 10350 echo "$ac_t""yes" 1>&6 |
10385 libwnn=wnn6 | 10351 libwnn=wnn6 |
10386 else | 10352 else |
10387 echo "$ac_t""no" 1>&6 | 10353 echo "$ac_t""no" 1>&6 |
10388 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10354 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10389 echo "configure:10390: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10355 echo "configure:10356: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10390 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10356 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10391 | 10357 |
10392 xe_check_libs=" -lwnn6_fromsrc " | 10358 xe_check_libs=" -lwnn6_fromsrc " |
10393 cat > conftest.$ac_ext <<EOF | 10359 cat > conftest.$ac_ext <<EOF |
10394 #line 10395 "configure" | 10360 #line 10361 "configure" |
10395 #include "confdefs.h" | 10361 #include "confdefs.h" |
10396 /* Override any gcc2 internal prototype to avoid an error. */ | 10362 /* Override any gcc2 internal prototype to avoid an error. */ |
10397 /* 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 |
10398 builtin and then its argument prototype would still apply. */ | 10364 builtin and then its argument prototype would still apply. */ |
10399 char dic_list_e(); | 10365 char dic_list_e(); |
10400 | 10366 |
10401 int main() { | 10367 int main() { |
10402 dic_list_e() | 10368 dic_list_e() |
10403 ; return 0; } | 10369 ; return 0; } |
10404 EOF | 10370 EOF |
10405 if { (eval echo configure:10406: \"$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 |
10406 rm -rf conftest* | 10372 rm -rf conftest* |
10407 eval "ac_cv_lib_$ac_lib_var=yes" | 10373 eval "ac_cv_lib_$ac_lib_var=yes" |
10408 else | 10374 else |
10409 echo "configure: failed program was:" >&5 | 10375 echo "configure: failed program was:" >&5 |
10410 cat conftest.$ac_ext >&5 | 10376 cat conftest.$ac_ext >&5 |
10448 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10414 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10449 fi | 10415 fi |
10450 if test "$with_wnn6" != "no"; then | 10416 if test "$with_wnn6" != "no"; then |
10451 | 10417 |
10452 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10418 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10453 echo "configure:10454: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10419 echo "configure:10420: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10454 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10420 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10455 | 10421 |
10456 xe_check_libs=" -l$libwnn " | 10422 xe_check_libs=" -l$libwnn " |
10457 cat > conftest.$ac_ext <<EOF | 10423 cat > conftest.$ac_ext <<EOF |
10458 #line 10459 "configure" | 10424 #line 10425 "configure" |
10459 #include "confdefs.h" | 10425 #include "confdefs.h" |
10460 /* Override any gcc2 internal prototype to avoid an error. */ | 10426 /* Override any gcc2 internal prototype to avoid an error. */ |
10461 /* We use char because int might match the return type of a gcc2 | 10427 /* We use char because int might match the return type of a gcc2 |
10462 builtin and then its argument prototype would still apply. */ | 10428 builtin and then its argument prototype would still apply. */ |
10463 char jl_fi_dic_list(); | 10429 char jl_fi_dic_list(); |
10464 | 10430 |
10465 int main() { | 10431 int main() { |
10466 jl_fi_dic_list() | 10432 jl_fi_dic_list() |
10467 ; return 0; } | 10433 ; return 0; } |
10468 EOF | 10434 EOF |
10469 if { (eval echo configure:10470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10435 if { (eval echo configure:10436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10470 rm -rf conftest* | 10436 rm -rf conftest* |
10471 eval "ac_cv_lib_$ac_lib_var=yes" | 10437 eval "ac_cv_lib_$ac_lib_var=yes" |
10472 else | 10438 else |
10473 echo "configure: failed program was:" >&5 | 10439 echo "configure: failed program was:" >&5 |
10474 cat conftest.$ac_ext >&5 | 10440 cat conftest.$ac_ext >&5 |
10499 | 10465 |
10500 canna_includes_found=no | 10466 canna_includes_found=no |
10501 if test "$with_canna" != "no"; then | 10467 if test "$with_canna" != "no"; then |
10502 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10468 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10503 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10469 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10504 echo "configure:10505: checking for canna/jrkanji.h" >&5 | 10470 echo "configure:10471: checking for canna/jrkanji.h" >&5 |
10505 | 10471 |
10506 cat > conftest.$ac_ext <<EOF | 10472 cat > conftest.$ac_ext <<EOF |
10507 #line 10508 "configure" | 10473 #line 10474 "configure" |
10508 #include "confdefs.h" | 10474 #include "confdefs.h" |
10509 #include <canna/jrkanji.h> | 10475 #include <canna/jrkanji.h> |
10510 EOF | 10476 EOF |
10511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10512 { (eval echo configure:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10514 if test -z "$ac_err"; then | 10480 if test -z "$ac_err"; then |
10515 rm -rf conftest* | 10481 rm -rf conftest* |
10516 eval "ac_cv_header_$ac_safe=yes" | 10482 eval "ac_cv_header_$ac_safe=yes" |
10517 else | 10483 else |
10534 -d "/usr/local/canna/include"; then | 10500 -d "/usr/local/canna/include"; then |
10535 save_c_switch_site="$c_switch_site" | 10501 save_c_switch_site="$c_switch_site" |
10536 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10502 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10537 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10503 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10538 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10504 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10539 echo "configure:10540: checking for canna/jrkanji.h" >&5 | 10505 echo "configure:10506: checking for canna/jrkanji.h" >&5 |
10540 | 10506 |
10541 cat > conftest.$ac_ext <<EOF | 10507 cat > conftest.$ac_ext <<EOF |
10542 #line 10543 "configure" | 10508 #line 10509 "configure" |
10543 #include "confdefs.h" | 10509 #include "confdefs.h" |
10544 #include <canna/jrkanji.h> | 10510 #include <canna/jrkanji.h> |
10545 EOF | 10511 EOF |
10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10549 if test -z "$ac_err"; then | 10515 if test -z "$ac_err"; then |
10550 rm -rf conftest* | 10516 rm -rf conftest* |
10551 eval "ac_cv_header_$ac_safe=yes" | 10517 eval "ac_cv_header_$ac_safe=yes" |
10552 else | 10518 else |
10570 fi | 10536 fi |
10571 fi | 10537 fi |
10572 | 10538 |
10573 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10539 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10574 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10540 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10575 echo "configure:10576: checking for canna/RK.h" >&5 | 10541 echo "configure:10542: checking for canna/RK.h" >&5 |
10576 | 10542 |
10577 cat > conftest.$ac_ext <<EOF | 10543 cat > conftest.$ac_ext <<EOF |
10578 #line 10579 "configure" | 10544 #line 10545 "configure" |
10579 #include "confdefs.h" | 10545 #include "confdefs.h" |
10580 #include <canna/RK.h> | 10546 #include <canna/RK.h> |
10581 EOF | 10547 EOF |
10582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10583 { (eval echo configure:10584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10585 if test -z "$ac_err"; then | 10551 if test -z "$ac_err"; then |
10586 rm -rf conftest* | 10552 rm -rf conftest* |
10587 eval "ac_cv_header_$ac_safe=yes" | 10553 eval "ac_cv_header_$ac_safe=yes" |
10588 else | 10554 else |
10601 with_canna=no | 10567 with_canna=no |
10602 fi | 10568 fi |
10603 } | 10569 } |
10604 test -z "$with_canna" && { | 10570 test -z "$with_canna" && { |
10605 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10571 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10606 echo "configure:10607: checking for RkBgnBun in -lRKC" >&5 | 10572 echo "configure:10573: checking for RkBgnBun in -lRKC" >&5 |
10607 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10573 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10608 | 10574 |
10609 xe_check_libs=" -lRKC " | 10575 xe_check_libs=" -lRKC " |
10610 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10611 #line 10612 "configure" | 10577 #line 10578 "configure" |
10612 #include "confdefs.h" | 10578 #include "confdefs.h" |
10613 /* Override any gcc2 internal prototype to avoid an error. */ | 10579 /* Override any gcc2 internal prototype to avoid an error. */ |
10614 /* We use char because int might match the return type of a gcc2 | 10580 /* We use char because int might match the return type of a gcc2 |
10615 builtin and then its argument prototype would still apply. */ | 10581 builtin and then its argument prototype would still apply. */ |
10616 char RkBgnBun(); | 10582 char RkBgnBun(); |
10617 | 10583 |
10618 int main() { | 10584 int main() { |
10619 RkBgnBun() | 10585 RkBgnBun() |
10620 ; return 0; } | 10586 ; return 0; } |
10621 EOF | 10587 EOF |
10622 if { (eval echo configure:10623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10623 rm -rf conftest* | 10589 rm -rf conftest* |
10624 eval "ac_cv_lib_$ac_lib_var=yes" | 10590 eval "ac_cv_lib_$ac_lib_var=yes" |
10625 else | 10591 else |
10626 echo "configure: failed program was:" >&5 | 10592 echo "configure: failed program was:" >&5 |
10627 cat conftest.$ac_ext >&5 | 10593 cat conftest.$ac_ext >&5 |
10640 fi | 10606 fi |
10641 | 10607 |
10642 } | 10608 } |
10643 test -z "$with_canna" && { | 10609 test -z "$with_canna" && { |
10644 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10610 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10645 echo "configure:10646: checking for jrKanjiControl in -lcanna" >&5 | 10611 echo "configure:10612: checking for jrKanjiControl in -lcanna" >&5 |
10646 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10612 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10647 | 10613 |
10648 xe_check_libs=" -lcanna " | 10614 xe_check_libs=" -lcanna " |
10649 cat > conftest.$ac_ext <<EOF | 10615 cat > conftest.$ac_ext <<EOF |
10650 #line 10651 "configure" | 10616 #line 10617 "configure" |
10651 #include "confdefs.h" | 10617 #include "confdefs.h" |
10652 /* Override any gcc2 internal prototype to avoid an error. */ | 10618 /* Override any gcc2 internal prototype to avoid an error. */ |
10653 /* We use char because int might match the return type of a gcc2 | 10619 /* We use char because int might match the return type of a gcc2 |
10654 builtin and then its argument prototype would still apply. */ | 10620 builtin and then its argument prototype would still apply. */ |
10655 char jrKanjiControl(); | 10621 char jrKanjiControl(); |
10656 | 10622 |
10657 int main() { | 10623 int main() { |
10658 jrKanjiControl() | 10624 jrKanjiControl() |
10659 ; return 0; } | 10625 ; return 0; } |
10660 EOF | 10626 EOF |
10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10662 rm -rf conftest* | 10628 rm -rf conftest* |
10663 eval "ac_cv_lib_$ac_lib_var=yes" | 10629 eval "ac_cv_lib_$ac_lib_var=yes" |
10664 else | 10630 else |
10665 echo "configure: failed program was:" >&5 | 10631 echo "configure: failed program was:" >&5 |
10666 cat conftest.$ac_ext >&5 | 10632 cat conftest.$ac_ext >&5 |
10705 | 10671 |
10706 if test "$need_motif" = "yes" ; then | 10672 if test "$need_motif" = "yes" ; then |
10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10673 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10708 | 10674 |
10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10675 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5 | 10676 echo "configure:10677: checking for layout_object_getvalue in -li18n" >&5 |
10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10677 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10712 | 10678 |
10713 xe_check_libs=" -li18n " | 10679 xe_check_libs=" -li18n " |
10714 cat > conftest.$ac_ext <<EOF | 10680 cat > conftest.$ac_ext <<EOF |
10715 #line 10716 "configure" | 10681 #line 10682 "configure" |
10716 #include "confdefs.h" | 10682 #include "confdefs.h" |
10717 /* Override any gcc2 internal prototype to avoid an error. */ | 10683 /* Override any gcc2 internal prototype to avoid an error. */ |
10718 /* We use char because int might match the return type of a gcc2 | 10684 /* We use char because int might match the return type of a gcc2 |
10719 builtin and then its argument prototype would still apply. */ | 10685 builtin and then its argument prototype would still apply. */ |
10720 char layout_object_getvalue(); | 10686 char layout_object_getvalue(); |
10721 | 10687 |
10722 int main() { | 10688 int main() { |
10723 layout_object_getvalue() | 10689 layout_object_getvalue() |
10724 ; return 0; } | 10690 ; return 0; } |
10725 EOF | 10691 EOF |
10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10727 rm -rf conftest* | 10693 rm -rf conftest* |
10728 eval "ac_cv_lib_$ac_lib_var=yes" | 10694 eval "ac_cv_lib_$ac_lib_var=yes" |
10729 else | 10695 else |
10730 echo "configure: failed program was:" >&5 | 10696 echo "configure: failed program was:" >&5 |
10731 cat conftest.$ac_ext >&5 | 10697 cat conftest.$ac_ext >&5 |
10807 fi | 10773 fi |
10808 | 10774 |
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 | 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 |
10810 do | 10776 do |
10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10812 echo "configure:10813: checking for $ac_func" >&5 | 10778 echo "configure:10779: checking for $ac_func" >&5 |
10813 | 10779 |
10814 cat > conftest.$ac_ext <<EOF | 10780 cat > conftest.$ac_ext <<EOF |
10815 #line 10816 "configure" | 10781 #line 10782 "configure" |
10816 #include "confdefs.h" | 10782 #include "confdefs.h" |
10817 /* System header to define __stub macros and hopefully few prototypes, | 10783 /* System header to define __stub macros and hopefully few prototypes, |
10818 which can conflict with char $ac_func(); below. */ | 10784 which can conflict with char $ac_func(); below. */ |
10819 #include <assert.h> | 10785 #include <assert.h> |
10820 /* Override any gcc2 internal prototype to avoid an error. */ | 10786 /* Override any gcc2 internal prototype to avoid an error. */ |
10833 $ac_func(); | 10799 $ac_func(); |
10834 #endif | 10800 #endif |
10835 | 10801 |
10836 ; return 0; } | 10802 ; return 0; } |
10837 EOF | 10803 EOF |
10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10839 rm -rf conftest* | 10805 rm -rf conftest* |
10840 eval "ac_cv_func_$ac_func=yes" | 10806 eval "ac_cv_func_$ac_func=yes" |
10841 else | 10807 else |
10842 echo "configure: failed program was:" >&5 | 10808 echo "configure: failed program was:" >&5 |
10843 cat conftest.$ac_ext >&5 | 10809 cat conftest.$ac_ext >&5 |
10865 | 10831 |
10866 | 10832 |
10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10833 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10868 do | 10834 do |
10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10870 echo "configure:10871: checking for $ac_func" >&5 | 10836 echo "configure:10837: checking for $ac_func" >&5 |
10871 | 10837 |
10872 cat > conftest.$ac_ext <<EOF | 10838 cat > conftest.$ac_ext <<EOF |
10873 #line 10874 "configure" | 10839 #line 10840 "configure" |
10874 #include "confdefs.h" | 10840 #include "confdefs.h" |
10875 /* System header to define __stub macros and hopefully few prototypes, | 10841 /* System header to define __stub macros and hopefully few prototypes, |
10876 which can conflict with char $ac_func(); below. */ | 10842 which can conflict with char $ac_func(); below. */ |
10877 #include <assert.h> | 10843 #include <assert.h> |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10844 /* Override any gcc2 internal prototype to avoid an error. */ |
10891 $ac_func(); | 10857 $ac_func(); |
10892 #endif | 10858 #endif |
10893 | 10859 |
10894 ; return 0; } | 10860 ; return 0; } |
10895 EOF | 10861 EOF |
10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10897 rm -rf conftest* | 10863 rm -rf conftest* |
10898 eval "ac_cv_func_$ac_func=yes" | 10864 eval "ac_cv_func_$ac_func=yes" |
10899 else | 10865 else |
10900 echo "configure: failed program was:" >&5 | 10866 echo "configure: failed program was:" >&5 |
10901 cat conftest.$ac_ext >&5 | 10867 cat conftest.$ac_ext >&5 |
10920 fi | 10886 fi |
10921 done | 10887 done |
10922 | 10888 |
10923 | 10889 |
10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10890 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10925 echo "configure:10926: checking for openpty" >&5 | 10891 echo "configure:10892: checking for openpty" >&5 |
10926 | 10892 |
10927 cat > conftest.$ac_ext <<EOF | 10893 cat > conftest.$ac_ext <<EOF |
10928 #line 10929 "configure" | 10894 #line 10895 "configure" |
10929 #include "confdefs.h" | 10895 #include "confdefs.h" |
10930 /* System header to define __stub macros and hopefully few prototypes, | 10896 /* System header to define __stub macros and hopefully few prototypes, |
10931 which can conflict with char openpty(); below. */ | 10897 which can conflict with char openpty(); below. */ |
10932 #include <assert.h> | 10898 #include <assert.h> |
10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10899 /* Override any gcc2 internal prototype to avoid an error. */ |
10946 openpty(); | 10912 openpty(); |
10947 #endif | 10913 #endif |
10948 | 10914 |
10949 ; return 0; } | 10915 ; return 0; } |
10950 EOF | 10916 EOF |
10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10952 rm -rf conftest* | 10918 rm -rf conftest* |
10953 eval "ac_cv_func_openpty=yes" | 10919 eval "ac_cv_func_openpty=yes" |
10954 else | 10920 else |
10955 echo "configure: failed program was:" >&5 | 10921 echo "configure: failed program was:" >&5 |
10956 cat conftest.$ac_ext >&5 | 10922 cat conftest.$ac_ext >&5 |
10965 else | 10931 else |
10966 echo "$ac_t""no" 1>&6 | 10932 echo "$ac_t""no" 1>&6 |
10967 | 10933 |
10968 | 10934 |
10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10935 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10970 echo "configure:10971: checking for openpty in -lutil" >&5 | 10936 echo "configure:10937: checking for openpty in -lutil" >&5 |
10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10937 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10972 | 10938 |
10973 xe_check_libs=" -lutil " | 10939 xe_check_libs=" -lutil " |
10974 cat > conftest.$ac_ext <<EOF | 10940 cat > conftest.$ac_ext <<EOF |
10975 #line 10976 "configure" | 10941 #line 10942 "configure" |
10976 #include "confdefs.h" | 10942 #include "confdefs.h" |
10977 /* Override any gcc2 internal prototype to avoid an error. */ | 10943 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 /* We use char because int might match the return type of a gcc2 | 10944 /* We use char because int might match the return type of a gcc2 |
10979 builtin and then its argument prototype would still apply. */ | 10945 builtin and then its argument prototype would still apply. */ |
10980 char openpty(); | 10946 char openpty(); |
10981 | 10947 |
10982 int main() { | 10948 int main() { |
10983 openpty() | 10949 openpty() |
10984 ; return 0; } | 10950 ; return 0; } |
10985 EOF | 10951 EOF |
10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10987 rm -rf conftest* | 10953 rm -rf conftest* |
10988 eval "ac_cv_lib_$ac_lib_var=yes" | 10954 eval "ac_cv_lib_$ac_lib_var=yes" |
10989 else | 10955 else |
10990 echo "configure: failed program was:" >&5 | 10956 echo "configure: failed program was:" >&5 |
10991 cat conftest.$ac_ext >&5 | 10957 cat conftest.$ac_ext >&5 |
11016 | 10982 |
11017 for ac_hdr in libutil.h util.h | 10983 for ac_hdr in libutil.h util.h |
11018 do | 10984 do |
11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11021 echo "configure:11022: checking for $ac_hdr" >&5 | 10987 echo "configure:10988: checking for $ac_hdr" >&5 |
11022 | 10988 |
11023 cat > conftest.$ac_ext <<EOF | 10989 cat > conftest.$ac_ext <<EOF |
11024 #line 11025 "configure" | 10990 #line 10991 "configure" |
11025 #include "confdefs.h" | 10991 #include "confdefs.h" |
11026 #include <$ac_hdr> | 10992 #include <$ac_hdr> |
11027 EOF | 10993 EOF |
11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10995 { (eval echo configure:10996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11031 if test -z "$ac_err"; then | 10997 if test -z "$ac_err"; then |
11032 rm -rf conftest* | 10998 rm -rf conftest* |
11033 eval "ac_cv_header_$ac_safe=yes" | 10999 eval "ac_cv_header_$ac_safe=yes" |
11034 else | 11000 else |
11061 case "$opsys" in | 11027 case "$opsys" in |
11062 hpux*) for ac_hdr in sys/ptyio.h | 11028 hpux*) for ac_hdr in sys/ptyio.h |
11063 do | 11029 do |
11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11066 echo "configure:11067: checking for $ac_hdr" >&5 | 11032 echo "configure:11033: checking for $ac_hdr" >&5 |
11067 | 11033 |
11068 cat > conftest.$ac_ext <<EOF | 11034 cat > conftest.$ac_ext <<EOF |
11069 #line 11070 "configure" | 11035 #line 11036 "configure" |
11070 #include "confdefs.h" | 11036 #include "confdefs.h" |
11071 #include <$ac_hdr> | 11037 #include <$ac_hdr> |
11072 EOF | 11038 EOF |
11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11040 { (eval echo configure:11041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11076 if test -z "$ac_err"; then | 11042 if test -z "$ac_err"; then |
11077 rm -rf conftest* | 11043 rm -rf conftest* |
11078 eval "ac_cv_header_$ac_safe=yes" | 11044 eval "ac_cv_header_$ac_safe=yes" |
11079 else | 11045 else |
11102 ;; | 11068 ;; |
11103 *) for ac_hdr in pty.h | 11069 *) for ac_hdr in pty.h |
11104 do | 11070 do |
11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11107 echo "configure:11108: checking for $ac_hdr" >&5 | 11073 echo "configure:11074: checking for $ac_hdr" >&5 |
11108 | 11074 |
11109 cat > conftest.$ac_ext <<EOF | 11075 cat > conftest.$ac_ext <<EOF |
11110 #line 11111 "configure" | 11076 #line 11077 "configure" |
11111 #include "confdefs.h" | 11077 #include "confdefs.h" |
11112 #include <$ac_hdr> | 11078 #include <$ac_hdr> |
11113 EOF | 11079 EOF |
11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11081 { (eval echo configure:11082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11117 if test -z "$ac_err"; then | 11083 if test -z "$ac_err"; then |
11118 rm -rf conftest* | 11084 rm -rf conftest* |
11119 eval "ac_cv_header_$ac_safe=yes" | 11085 eval "ac_cv_header_$ac_safe=yes" |
11120 else | 11086 else |
11143 | 11109 |
11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11110 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11145 do | 11111 do |
11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11112 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11113 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11148 echo "configure:11149: checking for $ac_hdr" >&5 | 11114 echo "configure:11115: checking for $ac_hdr" >&5 |
11149 | 11115 |
11150 cat > conftest.$ac_ext <<EOF | 11116 cat > conftest.$ac_ext <<EOF |
11151 #line 11152 "configure" | 11117 #line 11118 "configure" |
11152 #include "confdefs.h" | 11118 #include "confdefs.h" |
11153 #include <$ac_hdr> | 11119 #include <$ac_hdr> |
11154 EOF | 11120 EOF |
11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11122 { (eval echo configure:11123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11158 if test -z "$ac_err"; then | 11124 if test -z "$ac_err"; then |
11159 rm -rf conftest* | 11125 rm -rf conftest* |
11160 eval "ac_cv_header_$ac_safe=yes" | 11126 eval "ac_cv_header_$ac_safe=yes" |
11161 else | 11127 else |
11187 | 11153 |
11188 for ac_hdr in stropts.h | 11154 for ac_hdr in stropts.h |
11189 do | 11155 do |
11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11192 echo "configure:11193: checking for $ac_hdr" >&5 | 11158 echo "configure:11159: checking for $ac_hdr" >&5 |
11193 | 11159 |
11194 cat > conftest.$ac_ext <<EOF | 11160 cat > conftest.$ac_ext <<EOF |
11195 #line 11196 "configure" | 11161 #line 11162 "configure" |
11196 #include "confdefs.h" | 11162 #include "confdefs.h" |
11197 #include <$ac_hdr> | 11163 #include <$ac_hdr> |
11198 EOF | 11164 EOF |
11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11166 { (eval echo configure:11167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11202 if test -z "$ac_err"; then | 11168 if test -z "$ac_err"; then |
11203 rm -rf conftest* | 11169 rm -rf conftest* |
11204 eval "ac_cv_header_$ac_safe=yes" | 11170 eval "ac_cv_header_$ac_safe=yes" |
11205 else | 11171 else |
11228 | 11194 |
11229 if test "$ac_cv_header_stropts_h" = "yes"; then | 11195 if test "$ac_cv_header_stropts_h" = "yes"; then |
11230 for ac_func in isastream | 11196 for ac_func in isastream |
11231 do | 11197 do |
11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11233 echo "configure:11234: checking for $ac_func" >&5 | 11199 echo "configure:11200: checking for $ac_func" >&5 |
11234 | 11200 |
11235 cat > conftest.$ac_ext <<EOF | 11201 cat > conftest.$ac_ext <<EOF |
11236 #line 11237 "configure" | 11202 #line 11203 "configure" |
11237 #include "confdefs.h" | 11203 #include "confdefs.h" |
11238 /* System header to define __stub macros and hopefully few prototypes, | 11204 /* System header to define __stub macros and hopefully few prototypes, |
11239 which can conflict with char $ac_func(); below. */ | 11205 which can conflict with char $ac_func(); below. */ |
11240 #include <assert.h> | 11206 #include <assert.h> |
11241 /* Override any gcc2 internal prototype to avoid an error. */ | 11207 /* Override any gcc2 internal prototype to avoid an error. */ |
11254 $ac_func(); | 11220 $ac_func(); |
11255 #endif | 11221 #endif |
11256 | 11222 |
11257 ; return 0; } | 11223 ; return 0; } |
11258 EOF | 11224 EOF |
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11225 if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11260 rm -rf conftest* | 11226 rm -rf conftest* |
11261 eval "ac_cv_func_$ac_func=yes" | 11227 eval "ac_cv_func_$ac_func=yes" |
11262 else | 11228 else |
11263 echo "configure: failed program was:" >&5 | 11229 echo "configure: failed program was:" >&5 |
11264 cat conftest.$ac_ext >&5 | 11230 cat conftest.$ac_ext >&5 |
11285 | 11251 |
11286 for ac_hdr in strtio.h | 11252 for ac_hdr in strtio.h |
11287 do | 11253 do |
11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11254 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11255 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11290 echo "configure:11291: checking for $ac_hdr" >&5 | 11256 echo "configure:11257: checking for $ac_hdr" >&5 |
11291 | 11257 |
11292 cat > conftest.$ac_ext <<EOF | 11258 cat > conftest.$ac_ext <<EOF |
11293 #line 11294 "configure" | 11259 #line 11260 "configure" |
11294 #include "confdefs.h" | 11260 #include "confdefs.h" |
11295 #include <$ac_hdr> | 11261 #include <$ac_hdr> |
11296 EOF | 11262 EOF |
11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11264 { (eval echo configure:11265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11300 if test -z "$ac_err"; then | 11266 if test -z "$ac_err"; then |
11301 rm -rf conftest* | 11267 rm -rf conftest* |
11302 eval "ac_cv_header_$ac_safe=yes" | 11268 eval "ac_cv_header_$ac_safe=yes" |
11303 else | 11269 else |
11330 fi | 11296 fi |
11331 | 11297 |
11332 for ac_func in getloadavg | 11298 for ac_func in getloadavg |
11333 do | 11299 do |
11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11335 echo "configure:11336: checking for $ac_func" >&5 | 11301 echo "configure:11302: checking for $ac_func" >&5 |
11336 | 11302 |
11337 cat > conftest.$ac_ext <<EOF | 11303 cat > conftest.$ac_ext <<EOF |
11338 #line 11339 "configure" | 11304 #line 11305 "configure" |
11339 #include "confdefs.h" | 11305 #include "confdefs.h" |
11340 /* System header to define __stub macros and hopefully few prototypes, | 11306 /* System header to define __stub macros and hopefully few prototypes, |
11341 which can conflict with char $ac_func(); below. */ | 11307 which can conflict with char $ac_func(); below. */ |
11342 #include <assert.h> | 11308 #include <assert.h> |
11343 /* Override any gcc2 internal prototype to avoid an error. */ | 11309 /* Override any gcc2 internal prototype to avoid an error. */ |
11356 $ac_func(); | 11322 $ac_func(); |
11357 #endif | 11323 #endif |
11358 | 11324 |
11359 ; return 0; } | 11325 ; return 0; } |
11360 EOF | 11326 EOF |
11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11327 if { (eval echo configure:11328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11362 rm -rf conftest* | 11328 rm -rf conftest* |
11363 eval "ac_cv_func_$ac_func=yes" | 11329 eval "ac_cv_func_$ac_func=yes" |
11364 else | 11330 else |
11365 echo "configure: failed program was:" >&5 | 11331 echo "configure: failed program was:" >&5 |
11366 cat conftest.$ac_ext >&5 | 11332 cat conftest.$ac_ext >&5 |
11389 if test "$ac_cv_func_getloadavg" = "yes"; then | 11355 if test "$ac_cv_func_getloadavg" = "yes"; then |
11390 for ac_hdr in sys/loadavg.h | 11356 for ac_hdr in sys/loadavg.h |
11391 do | 11357 do |
11392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11394 echo "configure:11395: checking for $ac_hdr" >&5 | 11360 echo "configure:11361: checking for $ac_hdr" >&5 |
11395 | 11361 |
11396 cat > conftest.$ac_ext <<EOF | 11362 cat > conftest.$ac_ext <<EOF |
11397 #line 11398 "configure" | 11363 #line 11364 "configure" |
11398 #include "confdefs.h" | 11364 #include "confdefs.h" |
11399 #include <$ac_hdr> | 11365 #include <$ac_hdr> |
11400 EOF | 11366 EOF |
11401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11402 { (eval echo configure:11403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11404 if test -z "$ac_err"; then | 11370 if test -z "$ac_err"; then |
11405 rm -rf conftest* | 11371 rm -rf conftest* |
11406 eval "ac_cv_header_$ac_safe=yes" | 11372 eval "ac_cv_header_$ac_safe=yes" |
11407 else | 11373 else |
11433 echo " xemacs will be linked with \"getloadavg.o\"" | 11399 echo " xemacs will be linked with \"getloadavg.o\"" |
11434 fi | 11400 fi |
11435 | 11401 |
11436 | 11402 |
11437 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11403 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11438 echo "configure:11439: checking for kstat_open in -lkstat" >&5 | 11404 echo "configure:11405: checking for kstat_open in -lkstat" >&5 |
11439 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11405 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11440 | 11406 |
11441 xe_check_libs=" -lkstat " | 11407 xe_check_libs=" -lkstat " |
11442 cat > conftest.$ac_ext <<EOF | 11408 cat > conftest.$ac_ext <<EOF |
11443 #line 11444 "configure" | 11409 #line 11410 "configure" |
11444 #include "confdefs.h" | 11410 #include "confdefs.h" |
11445 /* Override any gcc2 internal prototype to avoid an error. */ | 11411 /* Override any gcc2 internal prototype to avoid an error. */ |
11446 /* We use char because int might match the return type of a gcc2 | 11412 /* We use char because int might match the return type of a gcc2 |
11447 builtin and then its argument prototype would still apply. */ | 11413 builtin and then its argument prototype would still apply. */ |
11448 char kstat_open(); | 11414 char kstat_open(); |
11449 | 11415 |
11450 int main() { | 11416 int main() { |
11451 kstat_open() | 11417 kstat_open() |
11452 ; return 0; } | 11418 ; return 0; } |
11453 EOF | 11419 EOF |
11454 if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11455 rm -rf conftest* | 11421 rm -rf conftest* |
11456 eval "ac_cv_lib_$ac_lib_var=yes" | 11422 eval "ac_cv_lib_$ac_lib_var=yes" |
11457 else | 11423 else |
11458 echo "configure: failed program was:" >&5 | 11424 echo "configure: failed program was:" >&5 |
11459 cat conftest.$ac_ext >&5 | 11425 cat conftest.$ac_ext >&5 |
11484 | 11450 |
11485 for ac_hdr in kstat.h | 11451 for ac_hdr in kstat.h |
11486 do | 11452 do |
11487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11453 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11454 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11489 echo "configure:11490: checking for $ac_hdr" >&5 | 11455 echo "configure:11456: checking for $ac_hdr" >&5 |
11490 | 11456 |
11491 cat > conftest.$ac_ext <<EOF | 11457 cat > conftest.$ac_ext <<EOF |
11492 #line 11493 "configure" | 11458 #line 11459 "configure" |
11493 #include "confdefs.h" | 11459 #include "confdefs.h" |
11494 #include <$ac_hdr> | 11460 #include <$ac_hdr> |
11495 EOF | 11461 EOF |
11496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11497 { (eval echo configure:11498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11463 { (eval echo configure:11464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11499 if test -z "$ac_err"; then | 11465 if test -z "$ac_err"; then |
11500 rm -rf conftest* | 11466 rm -rf conftest* |
11501 eval "ac_cv_header_$ac_safe=yes" | 11467 eval "ac_cv_header_$ac_safe=yes" |
11502 else | 11468 else |
11524 done | 11490 done |
11525 | 11491 |
11526 | 11492 |
11527 | 11493 |
11528 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11494 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11529 echo "configure:11530: checking for kvm_read in -lkvm" >&5 | 11495 echo "configure:11496: checking for kvm_read in -lkvm" >&5 |
11530 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11496 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11531 | 11497 |
11532 xe_check_libs=" -lkvm " | 11498 xe_check_libs=" -lkvm " |
11533 cat > conftest.$ac_ext <<EOF | 11499 cat > conftest.$ac_ext <<EOF |
11534 #line 11535 "configure" | 11500 #line 11501 "configure" |
11535 #include "confdefs.h" | 11501 #include "confdefs.h" |
11536 /* Override any gcc2 internal prototype to avoid an error. */ | 11502 /* Override any gcc2 internal prototype to avoid an error. */ |
11537 /* We use char because int might match the return type of a gcc2 | 11503 /* We use char because int might match the return type of a gcc2 |
11538 builtin and then its argument prototype would still apply. */ | 11504 builtin and then its argument prototype would still apply. */ |
11539 char kvm_read(); | 11505 char kvm_read(); |
11540 | 11506 |
11541 int main() { | 11507 int main() { |
11542 kvm_read() | 11508 kvm_read() |
11543 ; return 0; } | 11509 ; return 0; } |
11544 EOF | 11510 EOF |
11545 if { (eval echo configure:11546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11546 rm -rf conftest* | 11512 rm -rf conftest* |
11547 eval "ac_cv_lib_$ac_lib_var=yes" | 11513 eval "ac_cv_lib_$ac_lib_var=yes" |
11548 else | 11514 else |
11549 echo "configure: failed program was:" >&5 | 11515 echo "configure: failed program was:" >&5 |
11550 cat conftest.$ac_ext >&5 | 11516 cat conftest.$ac_ext >&5 |
11574 | 11540 |
11575 | 11541 |
11576 fi | 11542 fi |
11577 | 11543 |
11578 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11544 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11579 echo "configure:11580: checking whether netdb declares h_errno" >&5 | 11545 echo "configure:11546: checking whether netdb declares h_errno" >&5 |
11580 cat > conftest.$ac_ext <<EOF | 11546 cat > conftest.$ac_ext <<EOF |
11581 #line 11582 "configure" | 11547 #line 11548 "configure" |
11582 #include "confdefs.h" | 11548 #include "confdefs.h" |
11583 #include <netdb.h> | 11549 #include <netdb.h> |
11584 int main() { | 11550 int main() { |
11585 return h_errno; | 11551 return h_errno; |
11586 ; return 0; } | 11552 ; return 0; } |
11587 EOF | 11553 EOF |
11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11554 if { (eval echo configure:11555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11589 rm -rf conftest* | 11555 rm -rf conftest* |
11590 echo "$ac_t""yes" 1>&6 | 11556 echo "$ac_t""yes" 1>&6 |
11591 { test "$extra_verbose" = "yes" && cat << \EOF | 11557 { test "$extra_verbose" = "yes" && cat << \EOF |
11592 Defining HAVE_H_ERRNO | 11558 Defining HAVE_H_ERRNO |
11593 EOF | 11559 EOF |
11603 echo "$ac_t""no" 1>&6 | 11569 echo "$ac_t""no" 1>&6 |
11604 fi | 11570 fi |
11605 rm -f conftest* | 11571 rm -f conftest* |
11606 | 11572 |
11607 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11573 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11608 echo "configure:11609: checking for sigsetjmp" >&5 | 11574 echo "configure:11575: checking for sigsetjmp" >&5 |
11609 cat > conftest.$ac_ext <<EOF | 11575 cat > conftest.$ac_ext <<EOF |
11610 #line 11611 "configure" | 11576 #line 11577 "configure" |
11611 #include "confdefs.h" | 11577 #include "confdefs.h" |
11612 #include <setjmp.h> | 11578 #include <setjmp.h> |
11613 int main() { | 11579 int main() { |
11614 sigjmp_buf bar; sigsetjmp (bar, 0); | 11580 sigjmp_buf bar; sigsetjmp (bar, 0); |
11615 ; return 0; } | 11581 ; return 0; } |
11616 EOF | 11582 EOF |
11617 if { (eval echo configure:11618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11583 if { (eval echo configure:11584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11618 rm -rf conftest* | 11584 rm -rf conftest* |
11619 echo "$ac_t""yes" 1>&6 | 11585 echo "$ac_t""yes" 1>&6 |
11620 { test "$extra_verbose" = "yes" && cat << \EOF | 11586 { test "$extra_verbose" = "yes" && cat << \EOF |
11621 Defining HAVE_SIGSETJMP | 11587 Defining HAVE_SIGSETJMP |
11622 EOF | 11588 EOF |
11632 echo "$ac_t""no" 1>&6 | 11598 echo "$ac_t""no" 1>&6 |
11633 fi | 11599 fi |
11634 rm -f conftest* | 11600 rm -f conftest* |
11635 | 11601 |
11636 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11602 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11637 echo "configure:11638: checking whether localtime caches TZ" >&5 | 11603 echo "configure:11604: checking whether localtime caches TZ" >&5 |
11638 | 11604 |
11639 if test "$ac_cv_func_tzset" = "yes"; then | 11605 if test "$ac_cv_func_tzset" = "yes"; then |
11640 cat > conftest.$ac_ext <<EOF | 11606 cat > conftest.$ac_ext <<EOF |
11641 #line 11642 "configure" | 11607 #line 11608 "configure" |
11642 #include "confdefs.h" | 11608 #include "confdefs.h" |
11643 #include <time.h> | 11609 #include <time.h> |
11644 #if STDC_HEADERS | 11610 #if STDC_HEADERS |
11645 # include <stdlib.h> | 11611 # include <stdlib.h> |
11646 #endif | 11612 #endif |
11671 if (localtime (&now)->tm_hour != hour_unset) | 11637 if (localtime (&now)->tm_hour != hour_unset) |
11672 exit (1); | 11638 exit (1); |
11673 exit (0); | 11639 exit (0); |
11674 } | 11640 } |
11675 EOF | 11641 EOF |
11676 if { (eval echo configure:11677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11642 if { (eval echo configure:11643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11677 then | 11643 then |
11678 emacs_cv_localtime_cache=no | 11644 emacs_cv_localtime_cache=no |
11679 else | 11645 else |
11680 conftest_rc="$?" | 11646 conftest_rc="$?" |
11681 echo "configure: failed program was:" >&5 | 11647 echo "configure: failed program was:" >&5 |
11701 | 11667 |
11702 fi | 11668 fi |
11703 | 11669 |
11704 if test "$HAVE_TIMEVAL" = "yes"; then | 11670 if test "$HAVE_TIMEVAL" = "yes"; then |
11705 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11671 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11706 echo "configure:11707: checking whether gettimeofday accepts one or two arguments" >&5 | 11672 echo "configure:11673: checking whether gettimeofday accepts one or two arguments" >&5 |
11707 cat > conftest.$ac_ext <<EOF | 11673 cat > conftest.$ac_ext <<EOF |
11708 #line 11709 "configure" | 11674 #line 11675 "configure" |
11709 #include "confdefs.h" | 11675 #include "confdefs.h" |
11710 | 11676 |
11711 #ifdef TIME_WITH_SYS_TIME | 11677 #ifdef TIME_WITH_SYS_TIME |
11712 #include <sys/time.h> | 11678 #include <sys/time.h> |
11713 #include <time.h> | 11679 #include <time.h> |
11724 struct timeval time; | 11690 struct timeval time; |
11725 gettimeofday (&time, 0); | 11691 gettimeofday (&time, 0); |
11726 | 11692 |
11727 ; return 0; } | 11693 ; return 0; } |
11728 EOF | 11694 EOF |
11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11730 rm -rf conftest* | 11696 rm -rf conftest* |
11731 echo "$ac_t""two" 1>&6 | 11697 echo "$ac_t""two" 1>&6 |
11732 else | 11698 else |
11733 echo "configure: failed program was:" >&5 | 11699 echo "configure: failed program was:" >&5 |
11734 cat conftest.$ac_ext >&5 | 11700 cat conftest.$ac_ext >&5 |
11746 rm -f conftest* | 11712 rm -f conftest* |
11747 fi | 11713 fi |
11748 | 11714 |
11749 | 11715 |
11750 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11716 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11751 echo "configure:11752: checking for inline" >&5 | 11717 echo "configure:11718: checking for inline" >&5 |
11752 | 11718 |
11753 ac_cv_c_inline=no | 11719 ac_cv_c_inline=no |
11754 for ac_kw in inline __inline__ __inline; do | 11720 for ac_kw in inline __inline__ __inline; do |
11755 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
11756 #line 11757 "configure" | 11722 #line 11723 "configure" |
11757 #include "confdefs.h" | 11723 #include "confdefs.h" |
11758 | 11724 |
11759 int main() { | 11725 int main() { |
11760 } $ac_kw foo() { | 11726 } $ac_kw foo() { |
11761 ; return 0; } | 11727 ; return 0; } |
11762 EOF | 11728 EOF |
11763 if { (eval echo configure:11764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11729 if { (eval echo configure:11730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11764 rm -rf conftest* | 11730 rm -rf conftest* |
11765 ac_cv_c_inline=$ac_kw; break | 11731 ac_cv_c_inline=$ac_kw; break |
11766 else | 11732 else |
11767 echo "configure: failed program was:" >&5 | 11733 echo "configure: failed program was:" >&5 |
11768 cat conftest.$ac_ext >&5 | 11734 cat conftest.$ac_ext >&5 |
11799 | 11765 |
11800 if test "$__DECC" != "yes"; then | 11766 if test "$__DECC" != "yes"; then |
11801 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11767 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11802 # for constant arguments. Useless! | 11768 # for constant arguments. Useless! |
11803 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11769 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11804 echo "configure:11805: checking for working alloca.h" >&5 | 11770 echo "configure:11771: checking for working alloca.h" >&5 |
11805 | 11771 |
11806 cat > conftest.$ac_ext <<EOF | 11772 cat > conftest.$ac_ext <<EOF |
11807 #line 11808 "configure" | 11773 #line 11774 "configure" |
11808 #include "confdefs.h" | 11774 #include "confdefs.h" |
11809 #include <alloca.h> | 11775 #include <alloca.h> |
11810 int main() { | 11776 int main() { |
11811 char *p = alloca(2 * sizeof(int)); | 11777 char *p = alloca(2 * sizeof(int)); |
11812 ; return 0; } | 11778 ; return 0; } |
11813 EOF | 11779 EOF |
11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11780 if { (eval echo configure:11781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11815 rm -rf conftest* | 11781 rm -rf conftest* |
11816 ac_cv_header_alloca_h=yes | 11782 ac_cv_header_alloca_h=yes |
11817 else | 11783 else |
11818 echo "configure: failed program was:" >&5 | 11784 echo "configure: failed program was:" >&5 |
11819 cat conftest.$ac_ext >&5 | 11785 cat conftest.$ac_ext >&5 |
11833 } | 11799 } |
11834 | 11800 |
11835 fi | 11801 fi |
11836 | 11802 |
11837 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11803 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11838 echo "configure:11839: checking for alloca" >&5 | 11804 echo "configure:11805: checking for alloca" >&5 |
11839 | 11805 |
11840 cat > conftest.$ac_ext <<EOF | 11806 cat > conftest.$ac_ext <<EOF |
11841 #line 11842 "configure" | 11807 #line 11808 "configure" |
11842 #include "confdefs.h" | 11808 #include "confdefs.h" |
11843 | 11809 |
11844 #ifdef __GNUC__ | 11810 #ifdef __GNUC__ |
11845 # define alloca __builtin_alloca | 11811 # define alloca __builtin_alloca |
11846 #else | 11812 #else |
11864 | 11830 |
11865 int main() { | 11831 int main() { |
11866 char *p = (char *) alloca(1); | 11832 char *p = (char *) alloca(1); |
11867 ; return 0; } | 11833 ; return 0; } |
11868 EOF | 11834 EOF |
11869 if { (eval echo configure:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11835 if { (eval echo configure:11836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11870 rm -rf conftest* | 11836 rm -rf conftest* |
11871 ac_cv_func_alloca_works=yes | 11837 ac_cv_func_alloca_works=yes |
11872 else | 11838 else |
11873 echo "configure: failed program was:" >&5 | 11839 echo "configure: failed program was:" >&5 |
11874 cat conftest.$ac_ext >&5 | 11840 cat conftest.$ac_ext >&5 |
11903 EOF | 11869 EOF |
11904 } | 11870 } |
11905 | 11871 |
11906 | 11872 |
11907 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11873 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11908 echo "configure:11909: checking whether alloca needs Cray hooks" >&5 | 11874 echo "configure:11875: checking whether alloca needs Cray hooks" >&5 |
11909 | 11875 |
11910 cat > conftest.$ac_ext <<EOF | 11876 cat > conftest.$ac_ext <<EOF |
11911 #line 11912 "configure" | 11877 #line 11878 "configure" |
11912 #include "confdefs.h" | 11878 #include "confdefs.h" |
11913 #if defined(CRAY) && ! defined(CRAY2) | 11879 #if defined(CRAY) && ! defined(CRAY2) |
11914 webecray | 11880 webecray |
11915 #else | 11881 #else |
11916 wenotbecray | 11882 wenotbecray |
11930 | 11896 |
11931 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11897 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11932 if test $ac_cv_os_cray = yes; then | 11898 if test $ac_cv_os_cray = yes; then |
11933 for ac_func in _getb67 GETB67 getb67; do | 11899 for ac_func in _getb67 GETB67 getb67; do |
11934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11935 echo "configure:11936: checking for $ac_func" >&5 | 11901 echo "configure:11902: checking for $ac_func" >&5 |
11936 | 11902 |
11937 cat > conftest.$ac_ext <<EOF | 11903 cat > conftest.$ac_ext <<EOF |
11938 #line 11939 "configure" | 11904 #line 11905 "configure" |
11939 #include "confdefs.h" | 11905 #include "confdefs.h" |
11940 /* System header to define __stub macros and hopefully few prototypes, | 11906 /* System header to define __stub macros and hopefully few prototypes, |
11941 which can conflict with char $ac_func(); below. */ | 11907 which can conflict with char $ac_func(); below. */ |
11942 #include <assert.h> | 11908 #include <assert.h> |
11943 /* Override any gcc2 internal prototype to avoid an error. */ | 11909 /* Override any gcc2 internal prototype to avoid an error. */ |
11956 $ac_func(); | 11922 $ac_func(); |
11957 #endif | 11923 #endif |
11958 | 11924 |
11959 ; return 0; } | 11925 ; return 0; } |
11960 EOF | 11926 EOF |
11961 if { (eval echo configure:11962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11962 rm -rf conftest* | 11928 rm -rf conftest* |
11963 eval "ac_cv_func_$ac_func=yes" | 11929 eval "ac_cv_func_$ac_func=yes" |
11964 else | 11930 else |
11965 echo "configure: failed program was:" >&5 | 11931 echo "configure: failed program was:" >&5 |
11966 cat conftest.$ac_ext >&5 | 11932 cat conftest.$ac_ext >&5 |
11986 | 11952 |
11987 done | 11953 done |
11988 fi | 11954 fi |
11989 | 11955 |
11990 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11956 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11991 echo "configure:11992: checking stack direction for C alloca" >&5 | 11957 echo "configure:11958: checking stack direction for C alloca" >&5 |
11992 | 11958 |
11993 cat > conftest.$ac_ext <<EOF | 11959 cat > conftest.$ac_ext <<EOF |
11994 #line 11995 "configure" | 11960 #line 11961 "configure" |
11995 #include "confdefs.h" | 11961 #include "confdefs.h" |
11996 find_stack_direction () | 11962 find_stack_direction () |
11997 { | 11963 { |
11998 static char *addr = 0; | 11964 static char *addr = 0; |
11999 auto char dummy; | 11965 auto char dummy; |
12008 main () | 11974 main () |
12009 { | 11975 { |
12010 exit (find_stack_direction() < 0); | 11976 exit (find_stack_direction() < 0); |
12011 } | 11977 } |
12012 EOF | 11978 EOF |
12013 if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11979 if { (eval echo configure:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12014 then | 11980 then |
12015 ac_cv_c_stack_direction=1 | 11981 ac_cv_c_stack_direction=1 |
12016 else | 11982 else |
12017 conftest_rc="$?" | 11983 conftest_rc="$?" |
12018 echo "configure: failed program was:" >&5 | 11984 echo "configure: failed program was:" >&5 |
12038 fi | 12004 fi |
12039 fi | 12005 fi |
12040 | 12006 |
12041 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12007 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12042 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12008 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12043 echo "configure:12044: checking for vfork.h" >&5 | 12009 echo "configure:12010: checking for vfork.h" >&5 |
12044 | 12010 |
12045 cat > conftest.$ac_ext <<EOF | 12011 cat > conftest.$ac_ext <<EOF |
12046 #line 12047 "configure" | 12012 #line 12013 "configure" |
12047 #include "confdefs.h" | 12013 #include "confdefs.h" |
12048 #include <vfork.h> | 12014 #include <vfork.h> |
12049 EOF | 12015 EOF |
12050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12051 { (eval echo configure:12052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12017 { (eval echo configure:12018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12053 if test -z "$ac_err"; then | 12019 if test -z "$ac_err"; then |
12054 rm -rf conftest* | 12020 rm -rf conftest* |
12055 eval "ac_cv_header_$ac_safe=yes" | 12021 eval "ac_cv_header_$ac_safe=yes" |
12056 else | 12022 else |
12074 else | 12040 else |
12075 echo "$ac_t""no" 1>&6 | 12041 echo "$ac_t""no" 1>&6 |
12076 fi | 12042 fi |
12077 | 12043 |
12078 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12044 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12079 echo "configure:12080: checking for working vfork" >&5 | 12045 echo "configure:12046: checking for working vfork" >&5 |
12080 | 12046 |
12081 cat > conftest.$ac_ext <<EOF | 12047 cat > conftest.$ac_ext <<EOF |
12082 #line 12083 "configure" | 12048 #line 12049 "configure" |
12083 #include "confdefs.h" | 12049 #include "confdefs.h" |
12084 /* Thanks to Paul Eggert for this test. */ | 12050 /* Thanks to Paul Eggert for this test. */ |
12085 #include <stdio.h> | 12051 #include <stdio.h> |
12086 #include <sys/types.h> | 12052 #include <sys/types.h> |
12087 #include <sys/stat.h> | 12053 #include <sys/stat.h> |
12172 || fstat(fileno(stdout), &st) != 0 | 12138 || fstat(fileno(stdout), &st) != 0 |
12173 ); | 12139 ); |
12174 } | 12140 } |
12175 } | 12141 } |
12176 EOF | 12142 EOF |
12177 if { (eval echo configure:12178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12143 if { (eval echo configure:12144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12178 then | 12144 then |
12179 ac_cv_func_vfork_works=yes | 12145 ac_cv_func_vfork_works=yes |
12180 else | 12146 else |
12181 conftest_rc="$?" | 12147 conftest_rc="$?" |
12182 echo "configure: failed program was:" >&5 | 12148 echo "configure: failed program was:" >&5 |
12198 | 12164 |
12199 fi | 12165 fi |
12200 | 12166 |
12201 | 12167 |
12202 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12168 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12203 echo "configure:12204: checking for working strcoll" >&5 | 12169 echo "configure:12170: checking for working strcoll" >&5 |
12204 | 12170 |
12205 cat > conftest.$ac_ext <<EOF | 12171 cat > conftest.$ac_ext <<EOF |
12206 #line 12207 "configure" | 12172 #line 12173 "configure" |
12207 #include "confdefs.h" | 12173 #include "confdefs.h" |
12208 #include <string.h> | 12174 #include <string.h> |
12209 main () | 12175 main () |
12210 { | 12176 { |
12211 exit (strcoll ("abc", "def") >= 0 || | 12177 exit (strcoll ("abc", "def") >= 0 || |
12212 strcoll ("ABC", "DEF") >= 0 || | 12178 strcoll ("ABC", "DEF") >= 0 || |
12213 strcoll ("123", "456") >= 0); | 12179 strcoll ("123", "456") >= 0); |
12214 } | 12180 } |
12215 EOF | 12181 EOF |
12216 if { (eval echo configure:12217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12182 if { (eval echo configure:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12217 then | 12183 then |
12218 ac_cv_func_strcoll_works=yes | 12184 ac_cv_func_strcoll_works=yes |
12219 else | 12185 else |
12220 conftest_rc="$?" | 12186 conftest_rc="$?" |
12221 echo "configure: failed program was:" >&5 | 12187 echo "configure: failed program was:" >&5 |
12239 | 12205 |
12240 | 12206 |
12241 for ac_func in getpgrp | 12207 for ac_func in getpgrp |
12242 do | 12208 do |
12243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12244 echo "configure:12245: checking for $ac_func" >&5 | 12210 echo "configure:12211: checking for $ac_func" >&5 |
12245 | 12211 |
12246 cat > conftest.$ac_ext <<EOF | 12212 cat > conftest.$ac_ext <<EOF |
12247 #line 12248 "configure" | 12213 #line 12214 "configure" |
12248 #include "confdefs.h" | 12214 #include "confdefs.h" |
12249 /* System header to define __stub macros and hopefully few prototypes, | 12215 /* System header to define __stub macros and hopefully few prototypes, |
12250 which can conflict with char $ac_func(); below. */ | 12216 which can conflict with char $ac_func(); below. */ |
12251 #include <assert.h> | 12217 #include <assert.h> |
12252 /* Override any gcc2 internal prototype to avoid an error. */ | 12218 /* Override any gcc2 internal prototype to avoid an error. */ |
12265 $ac_func(); | 12231 $ac_func(); |
12266 #endif | 12232 #endif |
12267 | 12233 |
12268 ; return 0; } | 12234 ; return 0; } |
12269 EOF | 12235 EOF |
12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12236 if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12271 rm -rf conftest* | 12237 rm -rf conftest* |
12272 eval "ac_cv_func_$ac_func=yes" | 12238 eval "ac_cv_func_$ac_func=yes" |
12273 else | 12239 else |
12274 echo "configure: failed program was:" >&5 | 12240 echo "configure: failed program was:" >&5 |
12275 cat conftest.$ac_ext >&5 | 12241 cat conftest.$ac_ext >&5 |
12293 echo "$ac_t""no" 1>&6 | 12259 echo "$ac_t""no" 1>&6 |
12294 fi | 12260 fi |
12295 done | 12261 done |
12296 | 12262 |
12297 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12263 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12298 echo "configure:12299: checking whether getpgrp takes no argument" >&5 | 12264 echo "configure:12265: checking whether getpgrp takes no argument" >&5 |
12299 | 12265 |
12300 cat > conftest.$ac_ext <<EOF | 12266 cat > conftest.$ac_ext <<EOF |
12301 #line 12302 "configure" | 12267 #line 12268 "configure" |
12302 #include "confdefs.h" | 12268 #include "confdefs.h" |
12303 | 12269 |
12304 /* | 12270 /* |
12305 * If this system has a BSD-style getpgrp(), | 12271 * If this system has a BSD-style getpgrp(), |
12306 * which takes a pid argument, exit unsuccessfully. | 12272 * which takes a pid argument, exit unsuccessfully. |
12351 exit(s>>8); | 12317 exit(s>>8); |
12352 } | 12318 } |
12353 } | 12319 } |
12354 | 12320 |
12355 EOF | 12321 EOF |
12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12322 if { (eval echo configure:12323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12357 then | 12323 then |
12358 ac_cv_func_getpgrp_void=yes | 12324 ac_cv_func_getpgrp_void=yes |
12359 else | 12325 else |
12360 conftest_rc="$?" | 12326 conftest_rc="$?" |
12361 echo "configure: failed program was:" >&5 | 12327 echo "configure: failed program was:" >&5 |
12378 | 12344 |
12379 fi | 12345 fi |
12380 | 12346 |
12381 | 12347 |
12382 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12348 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12383 echo "configure:12384: checking for working mmap" >&5 | 12349 echo "configure:12350: checking for working mmap" >&5 |
12384 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12350 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12385 cat > conftest.$ac_ext <<EOF | 12351 cat > conftest.$ac_ext <<EOF |
12386 #line 12387 "configure" | 12352 #line 12353 "configure" |
12387 #include "confdefs.h" | 12353 #include "confdefs.h" |
12388 #include <stdio.h> | 12354 #include <stdio.h> |
12389 #include <unistd.h> | 12355 #include <unistd.h> |
12390 #include <fcntl.h> | 12356 #include <fcntl.h> |
12391 #include <sys/mman.h> | 12357 #include <sys/mman.h> |
12414 return 0; | 12380 return 0; |
12415 perror ("conftest: mmap failed"); | 12381 perror ("conftest: mmap failed"); |
12416 return 1; | 12382 return 1; |
12417 } | 12383 } |
12418 EOF | 12384 EOF |
12419 if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12385 if { (eval echo configure:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12420 then | 12386 then |
12421 have_mmap=yes | 12387 have_mmap=yes |
12422 else | 12388 else |
12423 conftest_rc="$?" | 12389 conftest_rc="$?" |
12424 echo "configure: failed program was:" >&5 | 12390 echo "configure: failed program was:" >&5 |
12443 esac | 12409 esac |
12444 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12410 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12445 if test "$rel_alloc $have_mmap" = "default yes"; then | 12411 if test "$rel_alloc $have_mmap" = "default yes"; then |
12446 if test "$doug_lea_malloc" = "yes"; then | 12412 if test "$doug_lea_malloc" = "yes"; then |
12447 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12413 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12448 echo "configure:12449: checking for M_MMAP_THRESHOLD" >&5 | 12414 echo "configure:12415: checking for M_MMAP_THRESHOLD" >&5 |
12449 cat > conftest.$ac_ext <<EOF | 12415 cat > conftest.$ac_ext <<EOF |
12450 #line 12451 "configure" | 12416 #line 12417 "configure" |
12451 #include "confdefs.h" | 12417 #include "confdefs.h" |
12452 #include <malloc.h> | 12418 #include <malloc.h> |
12453 int main() { | 12419 int main() { |
12454 | 12420 |
12455 #ifndef M_MMAP_THRESHOLD | 12421 #ifndef M_MMAP_THRESHOLD |
12457 !@+$%^&*_)(_ - unlikely to compile... | 12423 !@+$%^&*_)(_ - unlikely to compile... |
12458 #endif | 12424 #endif |
12459 | 12425 |
12460 ; return 0; } | 12426 ; return 0; } |
12461 EOF | 12427 EOF |
12462 if { (eval echo configure:12463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12428 if { (eval echo configure:12429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12463 rm -rf conftest* | 12429 rm -rf conftest* |
12464 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12430 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12465 else | 12431 else |
12466 echo "configure: failed program was:" >&5 | 12432 echo "configure: failed program was:" >&5 |
12467 cat conftest.$ac_ext >&5 | 12433 cat conftest.$ac_ext >&5 |
12482 } | 12448 } |
12483 | 12449 |
12484 | 12450 |
12485 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12451 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12486 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12452 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12487 echo "configure:12488: checking for termios.h" >&5 | 12453 echo "configure:12454: checking for termios.h" >&5 |
12488 | 12454 |
12489 cat > conftest.$ac_ext <<EOF | 12455 cat > conftest.$ac_ext <<EOF |
12490 #line 12491 "configure" | 12456 #line 12457 "configure" |
12491 #include "confdefs.h" | 12457 #include "confdefs.h" |
12492 #include <termios.h> | 12458 #include <termios.h> |
12493 EOF | 12459 EOF |
12494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12495 { (eval echo configure:12496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12461 { (eval echo configure:12462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12497 if test -z "$ac_err"; then | 12463 if test -z "$ac_err"; then |
12498 rm -rf conftest* | 12464 rm -rf conftest* |
12499 eval "ac_cv_header_$ac_safe=yes" | 12465 eval "ac_cv_header_$ac_safe=yes" |
12500 else | 12466 else |
12533 | 12499 |
12534 else | 12500 else |
12535 echo "$ac_t""no" 1>&6 | 12501 echo "$ac_t""no" 1>&6 |
12536 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12502 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12537 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12503 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12538 echo "configure:12539: checking for termio.h" >&5 | 12504 echo "configure:12505: checking for termio.h" >&5 |
12539 | 12505 |
12540 cat > conftest.$ac_ext <<EOF | 12506 cat > conftest.$ac_ext <<EOF |
12541 #line 12542 "configure" | 12507 #line 12508 "configure" |
12542 #include "confdefs.h" | 12508 #include "confdefs.h" |
12543 #include <termio.h> | 12509 #include <termio.h> |
12544 EOF | 12510 EOF |
12545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12546 { (eval echo configure:12547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12548 if test -z "$ac_err"; then | 12514 if test -z "$ac_err"; then |
12549 rm -rf conftest* | 12515 rm -rf conftest* |
12550 eval "ac_cv_header_$ac_safe=yes" | 12516 eval "ac_cv_header_$ac_safe=yes" |
12551 else | 12517 else |
12573 fi | 12539 fi |
12574 | 12540 |
12575 | 12541 |
12576 | 12542 |
12577 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12543 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12578 echo "configure:12579: checking for socket" >&5 | 12544 echo "configure:12545: checking for socket" >&5 |
12579 | 12545 |
12580 cat > conftest.$ac_ext <<EOF | 12546 cat > conftest.$ac_ext <<EOF |
12581 #line 12582 "configure" | 12547 #line 12548 "configure" |
12582 #include "confdefs.h" | 12548 #include "confdefs.h" |
12583 /* System header to define __stub macros and hopefully few prototypes, | 12549 /* System header to define __stub macros and hopefully few prototypes, |
12584 which can conflict with char socket(); below. */ | 12550 which can conflict with char socket(); below. */ |
12585 #include <assert.h> | 12551 #include <assert.h> |
12586 /* Override any gcc2 internal prototype to avoid an error. */ | 12552 /* Override any gcc2 internal prototype to avoid an error. */ |
12599 socket(); | 12565 socket(); |
12600 #endif | 12566 #endif |
12601 | 12567 |
12602 ; return 0; } | 12568 ; return 0; } |
12603 EOF | 12569 EOF |
12604 if { (eval echo configure:12605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12605 rm -rf conftest* | 12571 rm -rf conftest* |
12606 eval "ac_cv_func_socket=yes" | 12572 eval "ac_cv_func_socket=yes" |
12607 else | 12573 else |
12608 echo "configure: failed program was:" >&5 | 12574 echo "configure: failed program was:" >&5 |
12609 cat conftest.$ac_ext >&5 | 12575 cat conftest.$ac_ext >&5 |
12614 | 12580 |
12615 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12581 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12616 echo "$ac_t""yes" 1>&6 | 12582 echo "$ac_t""yes" 1>&6 |
12617 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12583 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12618 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12584 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12619 echo "configure:12620: checking for netinet/in.h" >&5 | 12585 echo "configure:12586: checking for netinet/in.h" >&5 |
12620 | 12586 |
12621 cat > conftest.$ac_ext <<EOF | 12587 cat > conftest.$ac_ext <<EOF |
12622 #line 12623 "configure" | 12588 #line 12589 "configure" |
12623 #include "confdefs.h" | 12589 #include "confdefs.h" |
12624 #include <netinet/in.h> | 12590 #include <netinet/in.h> |
12625 EOF | 12591 EOF |
12626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12627 { (eval echo configure:12628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12593 { (eval echo configure:12594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12629 if test -z "$ac_err"; then | 12595 if test -z "$ac_err"; then |
12630 rm -rf conftest* | 12596 rm -rf conftest* |
12631 eval "ac_cv_header_$ac_safe=yes" | 12597 eval "ac_cv_header_$ac_safe=yes" |
12632 else | 12598 else |
12639 rm -f conftest* | 12605 rm -f conftest* |
12640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12641 echo "$ac_t""yes" 1>&6 | 12607 echo "$ac_t""yes" 1>&6 |
12642 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12608 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12643 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12609 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12644 echo "configure:12645: checking for arpa/inet.h" >&5 | 12610 echo "configure:12611: checking for arpa/inet.h" >&5 |
12645 | 12611 |
12646 cat > conftest.$ac_ext <<EOF | 12612 cat > conftest.$ac_ext <<EOF |
12647 #line 12648 "configure" | 12613 #line 12614 "configure" |
12648 #include "confdefs.h" | 12614 #include "confdefs.h" |
12649 #include <arpa/inet.h> | 12615 #include <arpa/inet.h> |
12650 EOF | 12616 EOF |
12651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12652 { (eval echo configure:12653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12618 { (eval echo configure:12619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12654 if test -z "$ac_err"; then | 12620 if test -z "$ac_err"; then |
12655 rm -rf conftest* | 12621 rm -rf conftest* |
12656 eval "ac_cv_header_$ac_safe=yes" | 12622 eval "ac_cv_header_$ac_safe=yes" |
12657 else | 12623 else |
12672 #define HAVE_SOCKETS 1 | 12638 #define HAVE_SOCKETS 1 |
12673 EOF | 12639 EOF |
12674 } | 12640 } |
12675 | 12641 |
12676 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12642 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12677 echo "configure:12678: checking "for sun_len member in struct sockaddr_un"" >&5 | 12643 echo "configure:12644: checking "for sun_len member in struct sockaddr_un"" >&5 |
12678 cat > conftest.$ac_ext <<EOF | 12644 cat > conftest.$ac_ext <<EOF |
12679 #line 12680 "configure" | 12645 #line 12646 "configure" |
12680 #include "confdefs.h" | 12646 #include "confdefs.h" |
12681 | 12647 |
12682 #include <sys/types.h> | 12648 #include <sys/types.h> |
12683 #include <sys/socket.h> | 12649 #include <sys/socket.h> |
12684 #include <sys/un.h> | 12650 #include <sys/un.h> |
12685 | 12651 |
12686 int main() { | 12652 int main() { |
12687 static struct sockaddr_un x; x.sun_len = 1; | 12653 static struct sockaddr_un x; x.sun_len = 1; |
12688 ; return 0; } | 12654 ; return 0; } |
12689 EOF | 12655 EOF |
12690 if { (eval echo configure:12691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12691 rm -rf conftest* | 12657 rm -rf conftest* |
12692 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12658 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12693 Defining HAVE_SOCKADDR_SUN_LEN | 12659 Defining HAVE_SOCKADDR_SUN_LEN |
12694 EOF | 12660 EOF |
12695 cat >> confdefs.h <<\EOF | 12661 cat >> confdefs.h <<\EOF |
12703 rm -rf conftest* | 12669 rm -rf conftest* |
12704 echo "$ac_t""no" 1>&6 | 12670 echo "$ac_t""no" 1>&6 |
12705 fi | 12671 fi |
12706 rm -f conftest* | 12672 rm -f conftest* |
12707 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12673 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12708 echo "configure:12709: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12674 echo "configure:12675: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12709 cat > conftest.$ac_ext <<EOF | 12675 cat > conftest.$ac_ext <<EOF |
12710 #line 12711 "configure" | 12676 #line 12677 "configure" |
12711 #include "confdefs.h" | 12677 #include "confdefs.h" |
12712 | 12678 |
12713 #include <sys/types.h> | 12679 #include <sys/types.h> |
12714 #include <netinet/in.h> | 12680 #include <netinet/in.h> |
12715 | 12681 |
12716 int main() { | 12682 int main() { |
12717 static struct ip_mreq x; | 12683 static struct ip_mreq x; |
12718 ; return 0; } | 12684 ; return 0; } |
12719 EOF | 12685 EOF |
12720 if { (eval echo configure:12721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12686 if { (eval echo configure:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12721 rm -rf conftest* | 12687 rm -rf conftest* |
12722 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12688 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12723 Defining HAVE_MULTICAST | 12689 Defining HAVE_MULTICAST |
12724 EOF | 12690 EOF |
12725 cat >> confdefs.h <<\EOF | 12691 cat >> confdefs.h <<\EOF |
12746 echo "$ac_t""no" 1>&6 | 12712 echo "$ac_t""no" 1>&6 |
12747 fi | 12713 fi |
12748 | 12714 |
12749 | 12715 |
12750 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12716 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12751 echo "configure:12752: checking for msgget" >&5 | 12717 echo "configure:12718: checking for msgget" >&5 |
12752 | 12718 |
12753 cat > conftest.$ac_ext <<EOF | 12719 cat > conftest.$ac_ext <<EOF |
12754 #line 12755 "configure" | 12720 #line 12721 "configure" |
12755 #include "confdefs.h" | 12721 #include "confdefs.h" |
12756 /* System header to define __stub macros and hopefully few prototypes, | 12722 /* System header to define __stub macros and hopefully few prototypes, |
12757 which can conflict with char msgget(); below. */ | 12723 which can conflict with char msgget(); below. */ |
12758 #include <assert.h> | 12724 #include <assert.h> |
12759 /* Override any gcc2 internal prototype to avoid an error. */ | 12725 /* Override any gcc2 internal prototype to avoid an error. */ |
12772 msgget(); | 12738 msgget(); |
12773 #endif | 12739 #endif |
12774 | 12740 |
12775 ; return 0; } | 12741 ; return 0; } |
12776 EOF | 12742 EOF |
12777 if { (eval echo configure:12778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12778 rm -rf conftest* | 12744 rm -rf conftest* |
12779 eval "ac_cv_func_msgget=yes" | 12745 eval "ac_cv_func_msgget=yes" |
12780 else | 12746 else |
12781 echo "configure: failed program was:" >&5 | 12747 echo "configure: failed program was:" >&5 |
12782 cat conftest.$ac_ext >&5 | 12748 cat conftest.$ac_ext >&5 |
12787 | 12753 |
12788 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12754 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12789 echo "$ac_t""yes" 1>&6 | 12755 echo "$ac_t""yes" 1>&6 |
12790 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12756 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12791 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12757 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12792 echo "configure:12793: checking for sys/ipc.h" >&5 | 12758 echo "configure:12759: checking for sys/ipc.h" >&5 |
12793 | 12759 |
12794 cat > conftest.$ac_ext <<EOF | 12760 cat > conftest.$ac_ext <<EOF |
12795 #line 12796 "configure" | 12761 #line 12762 "configure" |
12796 #include "confdefs.h" | 12762 #include "confdefs.h" |
12797 #include <sys/ipc.h> | 12763 #include <sys/ipc.h> |
12798 EOF | 12764 EOF |
12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12766 { (eval echo configure:12767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12802 if test -z "$ac_err"; then | 12768 if test -z "$ac_err"; then |
12803 rm -rf conftest* | 12769 rm -rf conftest* |
12804 eval "ac_cv_header_$ac_safe=yes" | 12770 eval "ac_cv_header_$ac_safe=yes" |
12805 else | 12771 else |
12812 rm -f conftest* | 12778 rm -f conftest* |
12813 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12814 echo "$ac_t""yes" 1>&6 | 12780 echo "$ac_t""yes" 1>&6 |
12815 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12781 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12816 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12782 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12817 echo "configure:12818: checking for sys/msg.h" >&5 | 12783 echo "configure:12784: checking for sys/msg.h" >&5 |
12818 | 12784 |
12819 cat > conftest.$ac_ext <<EOF | 12785 cat > conftest.$ac_ext <<EOF |
12820 #line 12821 "configure" | 12786 #line 12787 "configure" |
12821 #include "confdefs.h" | 12787 #include "confdefs.h" |
12822 #include <sys/msg.h> | 12788 #include <sys/msg.h> |
12823 EOF | 12789 EOF |
12824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12825 { (eval echo configure:12826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12791 { (eval echo configure:12792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12827 if test -z "$ac_err"; then | 12793 if test -z "$ac_err"; then |
12828 rm -rf conftest* | 12794 rm -rf conftest* |
12829 eval "ac_cv_header_$ac_safe=yes" | 12795 eval "ac_cv_header_$ac_safe=yes" |
12830 else | 12796 else |
12858 fi | 12824 fi |
12859 | 12825 |
12860 | 12826 |
12861 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12827 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12862 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12828 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12863 echo "configure:12864: checking for dirent.h" >&5 | 12829 echo "configure:12830: checking for dirent.h" >&5 |
12864 | 12830 |
12865 cat > conftest.$ac_ext <<EOF | 12831 cat > conftest.$ac_ext <<EOF |
12866 #line 12867 "configure" | 12832 #line 12833 "configure" |
12867 #include "confdefs.h" | 12833 #include "confdefs.h" |
12868 #include <dirent.h> | 12834 #include <dirent.h> |
12869 EOF | 12835 EOF |
12870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12871 { (eval echo configure:12872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12837 { (eval echo configure:12838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12873 if test -z "$ac_err"; then | 12839 if test -z "$ac_err"; then |
12874 rm -rf conftest* | 12840 rm -rf conftest* |
12875 eval "ac_cv_header_$ac_safe=yes" | 12841 eval "ac_cv_header_$ac_safe=yes" |
12876 else | 12842 else |
12893 | 12859 |
12894 else | 12860 else |
12895 echo "$ac_t""no" 1>&6 | 12861 echo "$ac_t""no" 1>&6 |
12896 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12862 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12897 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12863 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12898 echo "configure:12899: checking for sys/dir.h" >&5 | 12864 echo "configure:12865: checking for sys/dir.h" >&5 |
12899 | 12865 |
12900 cat > conftest.$ac_ext <<EOF | 12866 cat > conftest.$ac_ext <<EOF |
12901 #line 12902 "configure" | 12867 #line 12868 "configure" |
12902 #include "confdefs.h" | 12868 #include "confdefs.h" |
12903 #include <sys/dir.h> | 12869 #include <sys/dir.h> |
12904 EOF | 12870 EOF |
12905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12906 { (eval echo configure:12907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12872 { (eval echo configure:12873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12908 if test -z "$ac_err"; then | 12874 if test -z "$ac_err"; then |
12909 rm -rf conftest* | 12875 rm -rf conftest* |
12910 eval "ac_cv_header_$ac_safe=yes" | 12876 eval "ac_cv_header_$ac_safe=yes" |
12911 else | 12877 else |
12934 fi | 12900 fi |
12935 | 12901 |
12936 | 12902 |
12937 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12903 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12938 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12904 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12939 echo "configure:12940: checking for nlist.h" >&5 | 12905 echo "configure:12906: checking for nlist.h" >&5 |
12940 | 12906 |
12941 cat > conftest.$ac_ext <<EOF | 12907 cat > conftest.$ac_ext <<EOF |
12942 #line 12943 "configure" | 12908 #line 12909 "configure" |
12943 #include "confdefs.h" | 12909 #include "confdefs.h" |
12944 #include <nlist.h> | 12910 #include <nlist.h> |
12945 EOF | 12911 EOF |
12946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12947 { (eval echo configure:12948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12949 if test -z "$ac_err"; then | 12915 if test -z "$ac_err"; then |
12950 rm -rf conftest* | 12916 rm -rf conftest* |
12951 eval "ac_cv_header_$ac_safe=yes" | 12917 eval "ac_cv_header_$ac_safe=yes" |
12952 else | 12918 else |
12972 fi | 12938 fi |
12973 | 12939 |
12974 | 12940 |
12975 | 12941 |
12976 echo "checking "for sound support"" 1>&6 | 12942 echo "checking "for sound support"" 1>&6 |
12977 echo "configure:12978: checking "for sound support"" >&5 | 12943 echo "configure:12944: checking "for sound support"" >&5 |
12978 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12944 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12979 | 12945 |
12980 if test "$with_native_sound" != "no"; then | 12946 if test "$with_native_sound" != "no"; then |
12981 if test -n "$native_sound_lib"; then | 12947 if test -n "$native_sound_lib"; then |
12982 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12948 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12983 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12949 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12984 echo "configure:12985: checking for multimedia/audio_device.h" >&5 | 12950 echo "configure:12951: checking for multimedia/audio_device.h" >&5 |
12985 | 12951 |
12986 cat > conftest.$ac_ext <<EOF | 12952 cat > conftest.$ac_ext <<EOF |
12987 #line 12988 "configure" | 12953 #line 12954 "configure" |
12988 #include "confdefs.h" | 12954 #include "confdefs.h" |
12989 #include <multimedia/audio_device.h> | 12955 #include <multimedia/audio_device.h> |
12990 EOF | 12956 EOF |
12991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12992 { (eval echo configure:12993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12958 { (eval echo configure:12959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12994 if test -z "$ac_err"; then | 12960 if test -z "$ac_err"; then |
12995 rm -rf conftest* | 12961 rm -rf conftest* |
12996 eval "ac_cv_header_$ac_safe=yes" | 12962 eval "ac_cv_header_$ac_safe=yes" |
12997 else | 12963 else |
13035 case "$canonical" in | 13001 case "$canonical" in |
13036 *-sgi-* ) | 13002 *-sgi-* ) |
13037 if test -z "$native_sound_lib"; then | 13003 if test -z "$native_sound_lib"; then |
13038 | 13004 |
13039 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13005 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13040 echo "configure:13041: checking for ALopenport in -laudio" >&5 | 13006 echo "configure:13007: checking for ALopenport in -laudio" >&5 |
13041 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13007 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13042 | 13008 |
13043 xe_check_libs=" -laudio " | 13009 xe_check_libs=" -laudio " |
13044 cat > conftest.$ac_ext <<EOF | 13010 cat > conftest.$ac_ext <<EOF |
13045 #line 13046 "configure" | 13011 #line 13012 "configure" |
13046 #include "confdefs.h" | 13012 #include "confdefs.h" |
13047 /* Override any gcc2 internal prototype to avoid an error. */ | 13013 /* Override any gcc2 internal prototype to avoid an error. */ |
13048 /* We use char because int might match the return type of a gcc2 | 13014 /* We use char because int might match the return type of a gcc2 |
13049 builtin and then its argument prototype would still apply. */ | 13015 builtin and then its argument prototype would still apply. */ |
13050 char ALopenport(); | 13016 char ALopenport(); |
13051 | 13017 |
13052 int main() { | 13018 int main() { |
13053 ALopenport() | 13019 ALopenport() |
13054 ; return 0; } | 13020 ; return 0; } |
13055 EOF | 13021 EOF |
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13022 if { (eval echo configure:13023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13057 rm -rf conftest* | 13023 rm -rf conftest* |
13058 eval "ac_cv_lib_$ac_lib_var=yes" | 13024 eval "ac_cv_lib_$ac_lib_var=yes" |
13059 else | 13025 else |
13060 echo "configure: failed program was:" >&5 | 13026 echo "configure: failed program was:" >&5 |
13061 cat conftest.$ac_ext >&5 | 13027 cat conftest.$ac_ext >&5 |
13082 fi ;; | 13048 fi ;; |
13083 hppa*-hp-hpux* ) | 13049 hppa*-hp-hpux* ) |
13084 if test -z "$native_sound_lib"; then | 13050 if test -z "$native_sound_lib"; then |
13085 | 13051 |
13086 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13052 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13087 echo "configure:13088: checking for AOpenAudio in -lAlib" >&5 | 13053 echo "configure:13054: checking for AOpenAudio in -lAlib" >&5 |
13088 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13054 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13089 | 13055 |
13090 xe_check_libs=" -lAlib " | 13056 xe_check_libs=" -lAlib " |
13091 cat > conftest.$ac_ext <<EOF | 13057 cat > conftest.$ac_ext <<EOF |
13092 #line 13093 "configure" | 13058 #line 13059 "configure" |
13093 #include "confdefs.h" | 13059 #include "confdefs.h" |
13094 /* Override any gcc2 internal prototype to avoid an error. */ | 13060 /* Override any gcc2 internal prototype to avoid an error. */ |
13095 /* We use char because int might match the return type of a gcc2 | 13061 /* We use char because int might match the return type of a gcc2 |
13096 builtin and then its argument prototype would still apply. */ | 13062 builtin and then its argument prototype would still apply. */ |
13097 char AOpenAudio(); | 13063 char AOpenAudio(); |
13098 | 13064 |
13099 int main() { | 13065 int main() { |
13100 AOpenAudio() | 13066 AOpenAudio() |
13101 ; return 0; } | 13067 ; return 0; } |
13102 EOF | 13068 EOF |
13103 if { (eval echo configure:13104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13069 if { (eval echo configure:13070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13104 rm -rf conftest* | 13070 rm -rf conftest* |
13105 eval "ac_cv_lib_$ac_lib_var=yes" | 13071 eval "ac_cv_lib_$ac_lib_var=yes" |
13106 else | 13072 else |
13107 echo "configure: failed program was:" >&5 | 13073 echo "configure: failed program was:" >&5 |
13108 cat conftest.$ac_ext >&5 | 13074 cat conftest.$ac_ext >&5 |
13136 | 13102 |
13137 if test -z "$sound_found"; then | 13103 if test -z "$sound_found"; then |
13138 for dir in "machine" "sys" "linux"; do | 13104 for dir in "machine" "sys" "linux"; do |
13139 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13105 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13140 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13106 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13141 echo "configure:13142: checking for ${dir}/soundcard.h" >&5 | 13107 echo "configure:13108: checking for ${dir}/soundcard.h" >&5 |
13142 | 13108 |
13143 cat > conftest.$ac_ext <<EOF | 13109 cat > conftest.$ac_ext <<EOF |
13144 #line 13145 "configure" | 13110 #line 13111 "configure" |
13145 #include "confdefs.h" | 13111 #include "confdefs.h" |
13146 #include <${dir}/soundcard.h> | 13112 #include <${dir}/soundcard.h> |
13147 EOF | 13113 EOF |
13148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13149 { (eval echo configure:13150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13115 { (eval echo configure:13116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13151 if test -z "$ac_err"; then | 13117 if test -z "$ac_err"; then |
13152 rm -rf conftest* | 13118 rm -rf conftest* |
13153 eval "ac_cv_header_$ac_safe=yes" | 13119 eval "ac_cv_header_$ac_safe=yes" |
13154 else | 13120 else |
13205 fi | 13171 fi |
13206 | 13172 |
13207 if test "$with_nas_sound" != "no"; then | 13173 if test "$with_nas_sound" != "no"; then |
13208 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13174 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13209 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13175 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13210 echo "configure:13211: checking for audio/audiolib.h" >&5 | 13176 echo "configure:13177: checking for audio/audiolib.h" >&5 |
13211 | 13177 |
13212 cat > conftest.$ac_ext <<EOF | 13178 cat > conftest.$ac_ext <<EOF |
13213 #line 13214 "configure" | 13179 #line 13180 "configure" |
13214 #include "confdefs.h" | 13180 #include "confdefs.h" |
13215 #include <audio/audiolib.h> | 13181 #include <audio/audiolib.h> |
13216 EOF | 13182 EOF |
13217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13218 { (eval echo configure:13219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13184 { (eval echo configure:13185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13220 if test -z "$ac_err"; then | 13186 if test -z "$ac_err"; then |
13221 rm -rf conftest* | 13187 rm -rf conftest* |
13222 eval "ac_cv_header_$ac_safe=yes" | 13188 eval "ac_cv_header_$ac_safe=yes" |
13223 else | 13189 else |
13231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13232 echo "$ac_t""yes" 1>&6 | 13198 echo "$ac_t""yes" 1>&6 |
13233 | 13199 |
13234 | 13200 |
13235 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13201 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13236 echo "configure:13237: checking for AuOpenServer in -laudio" >&5 | 13202 echo "configure:13203: checking for AuOpenServer in -laudio" >&5 |
13237 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13203 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13238 | 13204 |
13239 xe_check_libs=" -laudio " | 13205 xe_check_libs=" -laudio " |
13240 cat > conftest.$ac_ext <<EOF | 13206 cat > conftest.$ac_ext <<EOF |
13241 #line 13242 "configure" | 13207 #line 13208 "configure" |
13242 #include "confdefs.h" | 13208 #include "confdefs.h" |
13243 /* Override any gcc2 internal prototype to avoid an error. */ | 13209 /* Override any gcc2 internal prototype to avoid an error. */ |
13244 /* We use char because int might match the return type of a gcc2 | 13210 /* We use char because int might match the return type of a gcc2 |
13245 builtin and then its argument prototype would still apply. */ | 13211 builtin and then its argument prototype would still apply. */ |
13246 char AuOpenServer(); | 13212 char AuOpenServer(); |
13247 | 13213 |
13248 int main() { | 13214 int main() { |
13249 AuOpenServer() | 13215 AuOpenServer() |
13250 ; return 0; } | 13216 ; return 0; } |
13251 EOF | 13217 EOF |
13252 if { (eval echo configure:13253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13253 rm -rf conftest* | 13219 rm -rf conftest* |
13254 eval "ac_cv_lib_$ac_lib_var=yes" | 13220 eval "ac_cv_lib_$ac_lib_var=yes" |
13255 else | 13221 else |
13256 echo "configure: failed program was:" >&5 | 13222 echo "configure: failed program was:" >&5 |
13257 cat conftest.$ac_ext >&5 | 13223 cat conftest.$ac_ext >&5 |
13286 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13252 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13287 echo " xemacs will be linked with \"nas.o\"" | 13253 echo " xemacs will be linked with \"nas.o\"" |
13288 fi | 13254 fi |
13289 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13255 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13290 cat > conftest.$ac_ext <<EOF | 13256 cat > conftest.$ac_ext <<EOF |
13291 #line 13292 "configure" | 13257 #line 13258 "configure" |
13292 #include "confdefs.h" | 13258 #include "confdefs.h" |
13293 #include <audio/Xtutil.h> | 13259 #include <audio/Xtutil.h> |
13294 EOF | 13260 EOF |
13295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13296 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13262 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13317 | 13283 |
13318 if test "$with_esd_sound" != "no"; then | 13284 if test "$with_esd_sound" != "no"; then |
13319 # Extract the first word of "esd-config", so it can be a program name with args. | 13285 # Extract the first word of "esd-config", so it can be a program name with args. |
13320 set dummy esd-config; ac_word=$2 | 13286 set dummy esd-config; ac_word=$2 |
13321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13322 echo "configure:13323: checking for $ac_word" >&5 | 13288 echo "configure:13289: checking for $ac_word" >&5 |
13323 | 13289 |
13324 if test -n "$have_esd_config"; then | 13290 if test -n "$have_esd_config"; then |
13325 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13291 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13326 else | 13292 else |
13327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13346 if test "$have_esd_config" = "yes"; then | 13312 if test "$have_esd_config" = "yes"; then |
13347 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13313 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
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 | 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 |
13349 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13315 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13350 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13316 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13351 echo "configure:13352: checking for esd_play_stream" >&5 | 13317 echo "configure:13318: checking for esd_play_stream" >&5 |
13352 | 13318 |
13353 cat > conftest.$ac_ext <<EOF | 13319 cat > conftest.$ac_ext <<EOF |
13354 #line 13355 "configure" | 13320 #line 13321 "configure" |
13355 #include "confdefs.h" | 13321 #include "confdefs.h" |
13356 /* System header to define __stub macros and hopefully few prototypes, | 13322 /* System header to define __stub macros and hopefully few prototypes, |
13357 which can conflict with char esd_play_stream(); below. */ | 13323 which can conflict with char esd_play_stream(); below. */ |
13358 #include <assert.h> | 13324 #include <assert.h> |
13359 /* Override any gcc2 internal prototype to avoid an error. */ | 13325 /* Override any gcc2 internal prototype to avoid an error. */ |
13372 esd_play_stream(); | 13338 esd_play_stream(); |
13373 #endif | 13339 #endif |
13374 | 13340 |
13375 ; return 0; } | 13341 ; return 0; } |
13376 EOF | 13342 EOF |
13377 if { (eval echo configure:13378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13343 if { (eval echo configure:13344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13378 rm -rf conftest* | 13344 rm -rf conftest* |
13379 eval "ac_cv_func_esd_play_stream=yes" | 13345 eval "ac_cv_func_esd_play_stream=yes" |
13380 else | 13346 else |
13381 echo "configure: failed program was:" >&5 | 13347 echo "configure: failed program was:" >&5 |
13382 cat conftest.$ac_ext >&5 | 13348 cat conftest.$ac_ext >&5 |
13423 | 13389 |
13424 test -z "$with_tty" && with_tty=yes | 13390 test -z "$with_tty" && with_tty=yes |
13425 | 13391 |
13426 if test "$with_tty" = "yes" ; then | 13392 if test "$with_tty" = "yes" ; then |
13427 echo "checking for TTY-related features" 1>&6 | 13393 echo "checking for TTY-related features" 1>&6 |
13428 echo "configure:13429: checking for TTY-related features" >&5 | 13394 echo "configure:13395: checking for TTY-related features" >&5 |
13429 { test "$extra_verbose" = "yes" && cat << \EOF | 13395 { test "$extra_verbose" = "yes" && cat << \EOF |
13430 Defining HAVE_TTY | 13396 Defining HAVE_TTY |
13431 EOF | 13397 EOF |
13432 cat >> confdefs.h <<\EOF | 13398 cat >> confdefs.h <<\EOF |
13433 #define HAVE_TTY 1 | 13399 #define HAVE_TTY 1 |
13439 fi | 13405 fi |
13440 | 13406 |
13441 if test -z "$with_ncurses"; then | 13407 if test -z "$with_ncurses"; then |
13442 | 13408 |
13443 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13409 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13444 echo "configure:13445: checking for tgetent in -lncurses" >&5 | 13410 echo "configure:13411: checking for tgetent in -lncurses" >&5 |
13445 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13411 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13446 | 13412 |
13447 xe_check_libs=" -lncurses " | 13413 xe_check_libs=" -lncurses " |
13448 cat > conftest.$ac_ext <<EOF | 13414 cat > conftest.$ac_ext <<EOF |
13449 #line 13450 "configure" | 13415 #line 13416 "configure" |
13450 #include "confdefs.h" | 13416 #include "confdefs.h" |
13451 /* Override any gcc2 internal prototype to avoid an error. */ | 13417 /* Override any gcc2 internal prototype to avoid an error. */ |
13452 /* We use char because int might match the return type of a gcc2 | 13418 /* We use char because int might match the return type of a gcc2 |
13453 builtin and then its argument prototype would still apply. */ | 13419 builtin and then its argument prototype would still apply. */ |
13454 char tgetent(); | 13420 char tgetent(); |
13455 | 13421 |
13456 int main() { | 13422 int main() { |
13457 tgetent() | 13423 tgetent() |
13458 ; return 0; } | 13424 ; return 0; } |
13459 EOF | 13425 EOF |
13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13426 if { (eval echo configure:13427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13461 rm -rf conftest* | 13427 rm -rf conftest* |
13462 eval "ac_cv_lib_$ac_lib_var=yes" | 13428 eval "ac_cv_lib_$ac_lib_var=yes" |
13463 else | 13429 else |
13464 echo "configure: failed program was:" >&5 | 13430 echo "configure: failed program was:" >&5 |
13465 cat conftest.$ac_ext >&5 | 13431 cat conftest.$ac_ext >&5 |
13488 EOF | 13454 EOF |
13489 } | 13455 } |
13490 | 13456 |
13491 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13457 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13492 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13458 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13493 echo "configure:13494: checking for ncurses/curses.h" >&5 | 13459 echo "configure:13460: checking for ncurses/curses.h" >&5 |
13494 | 13460 |
13495 cat > conftest.$ac_ext <<EOF | 13461 cat > conftest.$ac_ext <<EOF |
13496 #line 13497 "configure" | 13462 #line 13463 "configure" |
13497 #include "confdefs.h" | 13463 #include "confdefs.h" |
13498 #include <ncurses/curses.h> | 13464 #include <ncurses/curses.h> |
13499 EOF | 13465 EOF |
13500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13501 { (eval echo configure:13502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13467 { (eval echo configure:13468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13503 if test -z "$ac_err"; then | 13469 if test -z "$ac_err"; then |
13504 rm -rf conftest* | 13470 rm -rf conftest* |
13505 eval "ac_cv_header_$ac_safe=yes" | 13471 eval "ac_cv_header_$ac_safe=yes" |
13506 else | 13472 else |
13518 echo "$ac_t""no" 1>&6 | 13484 echo "$ac_t""no" 1>&6 |
13519 fi | 13485 fi |
13520 | 13486 |
13521 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13487 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13522 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13488 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13523 echo "configure:13524: checking for ncurses/term.h" >&5 | 13489 echo "configure:13490: checking for ncurses/term.h" >&5 |
13524 | 13490 |
13525 cat > conftest.$ac_ext <<EOF | 13491 cat > conftest.$ac_ext <<EOF |
13526 #line 13527 "configure" | 13492 #line 13493 "configure" |
13527 #include "confdefs.h" | 13493 #include "confdefs.h" |
13528 #include <ncurses/term.h> | 13494 #include <ncurses/term.h> |
13529 EOF | 13495 EOF |
13530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13531 { (eval echo configure:13532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13497 { (eval echo configure:13498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13533 if test -z "$ac_err"; then | 13499 if test -z "$ac_err"; then |
13534 rm -rf conftest* | 13500 rm -rf conftest* |
13535 eval "ac_cv_header_$ac_safe=yes" | 13501 eval "ac_cv_header_$ac_safe=yes" |
13536 else | 13502 else |
13556 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13522 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13557 save_c_switch_site="$c_switch_site" | 13523 save_c_switch_site="$c_switch_site" |
13558 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13524 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13559 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13525 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13560 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13526 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13561 echo "configure:13562: checking for ncurses/curses.h" >&5 | 13527 echo "configure:13528: checking for ncurses/curses.h" >&5 |
13562 | 13528 |
13563 cat > conftest.$ac_ext <<EOF | 13529 cat > conftest.$ac_ext <<EOF |
13564 #line 13565 "configure" | 13530 #line 13531 "configure" |
13565 #include "confdefs.h" | 13531 #include "confdefs.h" |
13566 #include <ncurses/curses.h> | 13532 #include <ncurses/curses.h> |
13567 EOF | 13533 EOF |
13568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13569 { (eval echo configure:13570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13535 { (eval echo configure:13536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13571 if test -z "$ac_err"; then | 13537 if test -z "$ac_err"; then |
13572 rm -rf conftest* | 13538 rm -rf conftest* |
13573 eval "ac_cv_header_$ac_safe=yes" | 13539 eval "ac_cv_header_$ac_safe=yes" |
13574 else | 13540 else |
13599 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13565 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13600 else | 13566 else |
13601 for lib in curses termlib termcap; do | 13567 for lib in curses termlib termcap; do |
13602 | 13568 |
13603 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13569 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13604 echo "configure:13605: checking for tgetent in -l$lib" >&5 | 13570 echo "configure:13571: checking for tgetent in -l$lib" >&5 |
13605 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13571 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13606 | 13572 |
13607 xe_check_libs=" -l$lib " | 13573 xe_check_libs=" -l$lib " |
13608 cat > conftest.$ac_ext <<EOF | 13574 cat > conftest.$ac_ext <<EOF |
13609 #line 13610 "configure" | 13575 #line 13576 "configure" |
13610 #include "confdefs.h" | 13576 #include "confdefs.h" |
13611 /* Override any gcc2 internal prototype to avoid an error. */ | 13577 /* Override any gcc2 internal prototype to avoid an error. */ |
13612 /* We use char because int might match the return type of a gcc2 | 13578 /* We use char because int might match the return type of a gcc2 |
13613 builtin and then its argument prototype would still apply. */ | 13579 builtin and then its argument prototype would still apply. */ |
13614 char tgetent(); | 13580 char tgetent(); |
13615 | 13581 |
13616 int main() { | 13582 int main() { |
13617 tgetent() | 13583 tgetent() |
13618 ; return 0; } | 13584 ; return 0; } |
13619 EOF | 13585 EOF |
13620 if { (eval echo configure:13621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13621 rm -rf conftest* | 13587 rm -rf conftest* |
13622 eval "ac_cv_lib_$ac_lib_var=yes" | 13588 eval "ac_cv_lib_$ac_lib_var=yes" |
13623 else | 13589 else |
13624 echo "configure: failed program was:" >&5 | 13590 echo "configure: failed program was:" >&5 |
13625 cat conftest.$ac_ext >&5 | 13591 cat conftest.$ac_ext >&5 |
13646 if test -n "$libs_termcap"; then | 13612 if test -n "$libs_termcap"; then |
13647 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13613 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13648 else | 13614 else |
13649 | 13615 |
13650 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13616 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13651 echo "configure:13652: checking for tgetent in -lcurses" >&5 | 13617 echo "configure:13618: checking for tgetent in -lcurses" >&5 |
13652 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13618 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13653 | 13619 |
13654 xe_check_libs=" -lcurses " | 13620 xe_check_libs=" -lcurses " |
13655 cat > conftest.$ac_ext <<EOF | 13621 cat > conftest.$ac_ext <<EOF |
13656 #line 13657 "configure" | 13622 #line 13623 "configure" |
13657 #include "confdefs.h" | 13623 #include "confdefs.h" |
13658 /* Override any gcc2 internal prototype to avoid an error. */ | 13624 /* Override any gcc2 internal prototype to avoid an error. */ |
13659 /* We use char because int might match the return type of a gcc2 | 13625 /* We use char because int might match the return type of a gcc2 |
13660 builtin and then its argument prototype would still apply. */ | 13626 builtin and then its argument prototype would still apply. */ |
13661 char tgetent(); | 13627 char tgetent(); |
13662 | 13628 |
13663 int main() { | 13629 int main() { |
13664 tgetent() | 13630 tgetent() |
13665 ; return 0; } | 13631 ; return 0; } |
13666 EOF | 13632 EOF |
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13633 if { (eval echo configure:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13668 rm -rf conftest* | 13634 rm -rf conftest* |
13669 eval "ac_cv_lib_$ac_lib_var=yes" | 13635 eval "ac_cv_lib_$ac_lib_var=yes" |
13670 else | 13636 else |
13671 echo "configure: failed program was:" >&5 | 13637 echo "configure: failed program was:" >&5 |
13672 cat conftest.$ac_ext >&5 | 13638 cat conftest.$ac_ext >&5 |
13680 echo "$ac_t""yes" 1>&6 | 13646 echo "$ac_t""yes" 1>&6 |
13681 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13647 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13682 else | 13648 else |
13683 echo "$ac_t""no" 1>&6 | 13649 echo "$ac_t""no" 1>&6 |
13684 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13650 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13685 echo "configure:13686: checking for tgetent in -ltermcap" >&5 | 13651 echo "configure:13652: checking for tgetent in -ltermcap" >&5 |
13686 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13652 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13687 | 13653 |
13688 xe_check_libs=" -ltermcap " | 13654 xe_check_libs=" -ltermcap " |
13689 cat > conftest.$ac_ext <<EOF | 13655 cat > conftest.$ac_ext <<EOF |
13690 #line 13691 "configure" | 13656 #line 13657 "configure" |
13691 #include "confdefs.h" | 13657 #include "confdefs.h" |
13692 /* Override any gcc2 internal prototype to avoid an error. */ | 13658 /* Override any gcc2 internal prototype to avoid an error. */ |
13693 /* 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 |
13694 builtin and then its argument prototype would still apply. */ | 13660 builtin and then its argument prototype would still apply. */ |
13695 char tgetent(); | 13661 char tgetent(); |
13696 | 13662 |
13697 int main() { | 13663 int main() { |
13698 tgetent() | 13664 tgetent() |
13699 ; return 0; } | 13665 ; return 0; } |
13700 EOF | 13666 EOF |
13701 if { (eval echo configure:13702: \"$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 |
13702 rm -rf conftest* | 13668 rm -rf conftest* |
13703 eval "ac_cv_lib_$ac_lib_var=yes" | 13669 eval "ac_cv_lib_$ac_lib_var=yes" |
13704 else | 13670 else |
13705 echo "configure: failed program was:" >&5 | 13671 echo "configure: failed program was:" >&5 |
13706 cat conftest.$ac_ext >&5 | 13672 cat conftest.$ac_ext >&5 |
13744 } | 13710 } |
13745 | 13711 |
13746 | 13712 |
13747 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13713 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13748 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13714 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13749 echo "configure:13750: checking for gpm.h" >&5 | 13715 echo "configure:13716: checking for gpm.h" >&5 |
13750 | 13716 |
13751 cat > conftest.$ac_ext <<EOF | 13717 cat > conftest.$ac_ext <<EOF |
13752 #line 13753 "configure" | 13718 #line 13719 "configure" |
13753 #include "confdefs.h" | 13719 #include "confdefs.h" |
13754 #include <gpm.h> | 13720 #include <gpm.h> |
13755 EOF | 13721 EOF |
13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13723 { (eval echo configure:13724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13759 if test -z "$ac_err"; then | 13725 if test -z "$ac_err"; then |
13760 rm -rf conftest* | 13726 rm -rf conftest* |
13761 eval "ac_cv_header_$ac_safe=yes" | 13727 eval "ac_cv_header_$ac_safe=yes" |
13762 else | 13728 else |
13775 with_gpm=no | 13741 with_gpm=no |
13776 fi | 13742 fi |
13777 } | 13743 } |
13778 test -z "$with_gpm" && { | 13744 test -z "$with_gpm" && { |
13779 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13745 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13780 echo "configure:13781: checking for Gpm_Open in -lgpm" >&5 | 13746 echo "configure:13747: checking for Gpm_Open in -lgpm" >&5 |
13781 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13747 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13782 | 13748 |
13783 xe_check_libs=" -lgpm " | 13749 xe_check_libs=" -lgpm " |
13784 cat > conftest.$ac_ext <<EOF | 13750 cat > conftest.$ac_ext <<EOF |
13785 #line 13786 "configure" | 13751 #line 13752 "configure" |
13786 #include "confdefs.h" | 13752 #include "confdefs.h" |
13787 /* Override any gcc2 internal prototype to avoid an error. */ | 13753 /* Override any gcc2 internal prototype to avoid an error. */ |
13788 /* We use char because int might match the return type of a gcc2 | 13754 /* We use char because int might match the return type of a gcc2 |
13789 builtin and then its argument prototype would still apply. */ | 13755 builtin and then its argument prototype would still apply. */ |
13790 char Gpm_Open(); | 13756 char Gpm_Open(); |
13791 | 13757 |
13792 int main() { | 13758 int main() { |
13793 Gpm_Open() | 13759 Gpm_Open() |
13794 ; return 0; } | 13760 ; return 0; } |
13795 EOF | 13761 EOF |
13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13797 rm -rf conftest* | 13763 rm -rf conftest* |
13798 eval "ac_cv_lib_$ac_lib_var=yes" | 13764 eval "ac_cv_lib_$ac_lib_var=yes" |
13799 else | 13765 else |
13800 echo "configure: failed program was:" >&5 | 13766 echo "configure: failed program was:" >&5 |
13801 cat conftest.$ac_ext >&5 | 13767 cat conftest.$ac_ext >&5 |
13841 fi | 13807 fi |
13842 | 13808 |
13843 | 13809 |
13844 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13810 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13845 != "no no no" && echo "checking for database support" 1>&6 | 13811 != "no no no" && echo "checking for database support" 1>&6 |
13846 echo "configure:13847: checking for database support" >&5 | 13812 echo "configure:13813: checking for database support" >&5 |
13847 | 13813 |
13848 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13814 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13849 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13815 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13850 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13816 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13851 echo "configure:13852: checking for ndbm.h" >&5 | 13817 echo "configure:13818: checking for ndbm.h" >&5 |
13852 | 13818 |
13853 cat > conftest.$ac_ext <<EOF | 13819 cat > conftest.$ac_ext <<EOF |
13854 #line 13855 "configure" | 13820 #line 13821 "configure" |
13855 #include "confdefs.h" | 13821 #include "confdefs.h" |
13856 #include <ndbm.h> | 13822 #include <ndbm.h> |
13857 EOF | 13823 EOF |
13858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13859 { (eval echo configure:13860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13825 { (eval echo configure:13826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13861 if test -z "$ac_err"; then | 13827 if test -z "$ac_err"; then |
13862 rm -rf conftest* | 13828 rm -rf conftest* |
13863 eval "ac_cv_header_$ac_safe=yes" | 13829 eval "ac_cv_header_$ac_safe=yes" |
13864 else | 13830 else |
13884 fi | 13850 fi |
13885 | 13851 |
13886 if test "$with_database_gdbm" != "no"; then | 13852 if test "$with_database_gdbm" != "no"; then |
13887 | 13853 |
13888 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13854 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13889 echo "configure:13890: checking for dbm_open in -lgdbm" >&5 | 13855 echo "configure:13856: checking for dbm_open in -lgdbm" >&5 |
13890 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13856 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13891 | 13857 |
13892 xe_check_libs=" -lgdbm " | 13858 xe_check_libs=" -lgdbm " |
13893 cat > conftest.$ac_ext <<EOF | 13859 cat > conftest.$ac_ext <<EOF |
13894 #line 13895 "configure" | 13860 #line 13861 "configure" |
13895 #include "confdefs.h" | 13861 #include "confdefs.h" |
13896 /* Override any gcc2 internal prototype to avoid an error. */ | 13862 /* Override any gcc2 internal prototype to avoid an error. */ |
13897 /* We use char because int might match the return type of a gcc2 | 13863 /* We use char because int might match the return type of a gcc2 |
13898 builtin and then its argument prototype would still apply. */ | 13864 builtin and then its argument prototype would still apply. */ |
13899 char dbm_open(); | 13865 char dbm_open(); |
13900 | 13866 |
13901 int main() { | 13867 int main() { |
13902 dbm_open() | 13868 dbm_open() |
13903 ; return 0; } | 13869 ; return 0; } |
13904 EOF | 13870 EOF |
13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13871 if { (eval echo configure:13872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13906 rm -rf conftest* | 13872 rm -rf conftest* |
13907 eval "ac_cv_lib_$ac_lib_var=yes" | 13873 eval "ac_cv_lib_$ac_lib_var=yes" |
13908 else | 13874 else |
13909 echo "configure: failed program was:" >&5 | 13875 echo "configure: failed program was:" >&5 |
13910 cat conftest.$ac_ext >&5 | 13876 cat conftest.$ac_ext >&5 |
13928 | 13894 |
13929 fi | 13895 fi |
13930 | 13896 |
13931 if test "$with_database_dbm" != "no"; then | 13897 if test "$with_database_dbm" != "no"; then |
13932 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13898 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13933 echo "configure:13934: checking for dbm_open" >&5 | 13899 echo "configure:13900: checking for dbm_open" >&5 |
13934 | 13900 |
13935 cat > conftest.$ac_ext <<EOF | 13901 cat > conftest.$ac_ext <<EOF |
13936 #line 13937 "configure" | 13902 #line 13903 "configure" |
13937 #include "confdefs.h" | 13903 #include "confdefs.h" |
13938 /* System header to define __stub macros and hopefully few prototypes, | 13904 /* System header to define __stub macros and hopefully few prototypes, |
13939 which can conflict with char dbm_open(); below. */ | 13905 which can conflict with char dbm_open(); below. */ |
13940 #include <assert.h> | 13906 #include <assert.h> |
13941 /* Override any gcc2 internal prototype to avoid an error. */ | 13907 /* Override any gcc2 internal prototype to avoid an error. */ |
13954 dbm_open(); | 13920 dbm_open(); |
13955 #endif | 13921 #endif |
13956 | 13922 |
13957 ; return 0; } | 13923 ; return 0; } |
13958 EOF | 13924 EOF |
13959 if { (eval echo configure:13960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13925 if { (eval echo configure:13926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13960 rm -rf conftest* | 13926 rm -rf conftest* |
13961 eval "ac_cv_func_dbm_open=yes" | 13927 eval "ac_cv_func_dbm_open=yes" |
13962 else | 13928 else |
13963 echo "configure: failed program was:" >&5 | 13929 echo "configure: failed program was:" >&5 |
13964 cat conftest.$ac_ext >&5 | 13930 cat conftest.$ac_ext >&5 |
13973 else | 13939 else |
13974 echo "$ac_t""no" 1>&6 | 13940 echo "$ac_t""no" 1>&6 |
13975 | 13941 |
13976 | 13942 |
13977 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13943 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13978 echo "configure:13979: checking for dbm_open in -ldbm" >&5 | 13944 echo "configure:13945: checking for dbm_open in -ldbm" >&5 |
13979 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13945 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13980 | 13946 |
13981 xe_check_libs=" -ldbm " | 13947 xe_check_libs=" -ldbm " |
13982 cat > conftest.$ac_ext <<EOF | 13948 cat > conftest.$ac_ext <<EOF |
13983 #line 13984 "configure" | 13949 #line 13950 "configure" |
13984 #include "confdefs.h" | 13950 #include "confdefs.h" |
13985 /* Override any gcc2 internal prototype to avoid an error. */ | 13951 /* Override any gcc2 internal prototype to avoid an error. */ |
13986 /* We use char because int might match the return type of a gcc2 | 13952 /* We use char because int might match the return type of a gcc2 |
13987 builtin and then its argument prototype would still apply. */ | 13953 builtin and then its argument prototype would still apply. */ |
13988 char dbm_open(); | 13954 char dbm_open(); |
13989 | 13955 |
13990 int main() { | 13956 int main() { |
13991 dbm_open() | 13957 dbm_open() |
13992 ; return 0; } | 13958 ; return 0; } |
13993 EOF | 13959 EOF |
13994 if { (eval echo configure:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13960 if { (eval echo configure:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13995 rm -rf conftest* | 13961 rm -rf conftest* |
13996 eval "ac_cv_lib_$ac_lib_var=yes" | 13962 eval "ac_cv_lib_$ac_lib_var=yes" |
13997 else | 13963 else |
13998 echo "configure: failed program was:" >&5 | 13964 echo "configure: failed program was:" >&5 |
13999 cat conftest.$ac_ext >&5 | 13965 cat conftest.$ac_ext >&5 |
14030 } | 13996 } |
14031 | 13997 |
14032 | 13998 |
14033 if test "$with_database_berkdb" != "no"; then | 13999 if test "$with_database_berkdb" != "no"; then |
14034 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14000 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14035 echo "configure:14036: checking for Berkeley db.h" >&5 | 14001 echo "configure:14002: checking for Berkeley db.h" >&5 |
14036 for header in "db/db.h" "db.h"; do | 14002 for header in "db/db.h" "db.h"; do |
14037 cat > conftest.$ac_ext <<EOF | 14003 cat > conftest.$ac_ext <<EOF |
14038 #line 14039 "configure" | 14004 #line 14005 "configure" |
14039 #include "confdefs.h" | 14005 #include "confdefs.h" |
14040 | 14006 |
14041 #include <stdlib.h> | 14007 #include <stdlib.h> |
14042 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14008 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14043 #ifdef HAVE_INTTYPES_H | 14009 #ifdef HAVE_INTTYPES_H |
14055 | 14021 |
14056 int main() { | 14022 int main() { |
14057 | 14023 |
14058 ; return 0; } | 14024 ; return 0; } |
14059 EOF | 14025 EOF |
14060 if { (eval echo configure:14061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14026 if { (eval echo configure:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14061 rm -rf conftest* | 14027 rm -rf conftest* |
14062 db_h_file="$header"; break | 14028 db_h_file="$header"; break |
14063 else | 14029 else |
14064 echo "configure: failed program was:" >&5 | 14030 echo "configure: failed program was:" >&5 |
14065 cat conftest.$ac_ext >&5 | 14031 cat conftest.$ac_ext >&5 |
14071 else echo "$ac_t""$db_h_file" 1>&6 | 14037 else echo "$ac_t""$db_h_file" 1>&6 |
14072 fi | 14038 fi |
14073 | 14039 |
14074 if test "$with_database_berkdb" != "no"; then | 14040 if test "$with_database_berkdb" != "no"; then |
14075 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14041 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14076 echo "configure:14077: checking for Berkeley DB version" >&5 | 14042 echo "configure:14043: checking for Berkeley DB version" >&5 |
14077 cat > conftest.$ac_ext <<EOF | 14043 cat > conftest.$ac_ext <<EOF |
14078 #line 14079 "configure" | 14044 #line 14045 "configure" |
14079 #include "confdefs.h" | 14045 #include "confdefs.h" |
14080 #include <$db_h_file> | 14046 #include <$db_h_file> |
14081 #if DB_VERSION_MAJOR > 1 | 14047 #if DB_VERSION_MAJOR > 1 |
14082 yes | 14048 yes |
14083 #endif | 14049 #endif |
14085 EOF | 14051 EOF |
14086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14087 egrep "yes" >/dev/null 2>&1; then | 14053 egrep "yes" >/dev/null 2>&1; then |
14088 rm -rf conftest* | 14054 rm -rf conftest* |
14089 cat > conftest.$ac_ext <<EOF | 14055 cat > conftest.$ac_ext <<EOF |
14090 #line 14091 "configure" | 14056 #line 14057 "configure" |
14091 #include "confdefs.h" | 14057 #include "confdefs.h" |
14092 #include <$db_h_file> | 14058 #include <$db_h_file> |
14093 #if DB_VERSION_MAJOR > 2 | 14059 #if DB_VERSION_MAJOR > 2 |
14094 yes | 14060 yes |
14095 #endif | 14061 #endif |
14112 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14078 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14113 fi | 14079 fi |
14114 rm -f conftest* | 14080 rm -f conftest* |
14115 | 14081 |
14116 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14082 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14117 echo "configure:14118: checking for $dbfunc" >&5 | 14083 echo "configure:14084: checking for $dbfunc" >&5 |
14118 | 14084 |
14119 cat > conftest.$ac_ext <<EOF | 14085 cat > conftest.$ac_ext <<EOF |
14120 #line 14121 "configure" | 14086 #line 14087 "configure" |
14121 #include "confdefs.h" | 14087 #include "confdefs.h" |
14122 /* System header to define __stub macros and hopefully few prototypes, | 14088 /* System header to define __stub macros and hopefully few prototypes, |
14123 which can conflict with char $dbfunc(); below. */ | 14089 which can conflict with char $dbfunc(); below. */ |
14124 #include <assert.h> | 14090 #include <assert.h> |
14125 /* Override any gcc2 internal prototype to avoid an error. */ | 14091 /* Override any gcc2 internal prototype to avoid an error. */ |
14138 $dbfunc(); | 14104 $dbfunc(); |
14139 #endif | 14105 #endif |
14140 | 14106 |
14141 ; return 0; } | 14107 ; return 0; } |
14142 EOF | 14108 EOF |
14143 if { (eval echo configure:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14144 rm -rf conftest* | 14110 rm -rf conftest* |
14145 eval "ac_cv_func_$dbfunc=yes" | 14111 eval "ac_cv_func_$dbfunc=yes" |
14146 else | 14112 else |
14147 echo "configure: failed program was:" >&5 | 14113 echo "configure: failed program was:" >&5 |
14148 cat conftest.$ac_ext >&5 | 14114 cat conftest.$ac_ext >&5 |
14157 else | 14123 else |
14158 echo "$ac_t""no" 1>&6 | 14124 echo "$ac_t""no" 1>&6 |
14159 | 14125 |
14160 | 14126 |
14161 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14127 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14162 echo "configure:14163: checking for $dbfunc in -ldb" >&5 | 14128 echo "configure:14129: checking for $dbfunc in -ldb" >&5 |
14163 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14129 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14164 | 14130 |
14165 xe_check_libs=" -ldb " | 14131 xe_check_libs=" -ldb " |
14166 cat > conftest.$ac_ext <<EOF | 14132 cat > conftest.$ac_ext <<EOF |
14167 #line 14168 "configure" | 14133 #line 14134 "configure" |
14168 #include "confdefs.h" | 14134 #include "confdefs.h" |
14169 /* Override any gcc2 internal prototype to avoid an error. */ | 14135 /* Override any gcc2 internal prototype to avoid an error. */ |
14170 /* We use char because int might match the return type of a gcc2 | 14136 /* We use char because int might match the return type of a gcc2 |
14171 builtin and then its argument prototype would still apply. */ | 14137 builtin and then its argument prototype would still apply. */ |
14172 char $dbfunc(); | 14138 char $dbfunc(); |
14173 | 14139 |
14174 int main() { | 14140 int main() { |
14175 $dbfunc() | 14141 $dbfunc() |
14176 ; return 0; } | 14142 ; return 0; } |
14177 EOF | 14143 EOF |
14178 if { (eval echo configure:14179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14179 rm -rf conftest* | 14145 rm -rf conftest* |
14180 eval "ac_cv_lib_$ac_lib_var=yes" | 14146 eval "ac_cv_lib_$ac_lib_var=yes" |
14181 else | 14147 else |
14182 echo "configure: failed program was:" >&5 | 14148 echo "configure: failed program was:" >&5 |
14183 cat conftest.$ac_ext >&5 | 14149 cat conftest.$ac_ext >&5 |
14237 fi | 14203 fi |
14238 | 14204 |
14239 if test "$with_socks" = "yes"; then | 14205 if test "$with_socks" = "yes"; then |
14240 | 14206 |
14241 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14207 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14242 echo "configure:14243: checking for SOCKSinit in -lsocks" >&5 | 14208 echo "configure:14209: checking for SOCKSinit in -lsocks" >&5 |
14243 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14209 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14244 | 14210 |
14245 xe_check_libs=" -lsocks " | 14211 xe_check_libs=" -lsocks " |
14246 cat > conftest.$ac_ext <<EOF | 14212 cat > conftest.$ac_ext <<EOF |
14247 #line 14248 "configure" | 14213 #line 14214 "configure" |
14248 #include "confdefs.h" | 14214 #include "confdefs.h" |
14249 /* Override any gcc2 internal prototype to avoid an error. */ | 14215 /* Override any gcc2 internal prototype to avoid an error. */ |
14250 /* We use char because int might match the return type of a gcc2 | 14216 /* We use char because int might match the return type of a gcc2 |
14251 builtin and then its argument prototype would still apply. */ | 14217 builtin and then its argument prototype would still apply. */ |
14252 char SOCKSinit(); | 14218 char SOCKSinit(); |
14253 | 14219 |
14254 int main() { | 14220 int main() { |
14255 SOCKSinit() | 14221 SOCKSinit() |
14256 ; return 0; } | 14222 ; return 0; } |
14257 EOF | 14223 EOF |
14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14224 if { (eval echo configure:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14259 rm -rf conftest* | 14225 rm -rf conftest* |
14260 eval "ac_cv_lib_$ac_lib_var=yes" | 14226 eval "ac_cv_lib_$ac_lib_var=yes" |
14261 else | 14227 else |
14262 echo "configure: failed program was:" >&5 | 14228 echo "configure: failed program was:" >&5 |
14263 cat conftest.$ac_ext >&5 | 14229 cat conftest.$ac_ext >&5 |
14308 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14274 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14309 fi | 14275 fi |
14310 | 14276 |
14311 if test "$with_modules" != "no"; then | 14277 if test "$with_modules" != "no"; then |
14312 echo "checking for module support" 1>&6 | 14278 echo "checking for module support" 1>&6 |
14313 echo "configure:14314: checking for module support" >&5 | 14279 echo "configure:14280: checking for module support" >&5 |
14314 | 14280 |
14315 if test "$with_msw" = "yes"; then | 14281 if test "$with_msw" = "yes"; then |
14316 have_dl=yes; | 14282 have_dl=yes; |
14317 else | 14283 else |
14318 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14284 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14319 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14285 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14320 echo "configure:14321: checking for dlfcn.h" >&5 | 14286 echo "configure:14287: checking for dlfcn.h" >&5 |
14321 | 14287 |
14322 cat > conftest.$ac_ext <<EOF | 14288 cat > conftest.$ac_ext <<EOF |
14323 #line 14324 "configure" | 14289 #line 14290 "configure" |
14324 #include "confdefs.h" | 14290 #include "confdefs.h" |
14325 #include <dlfcn.h> | 14291 #include <dlfcn.h> |
14326 EOF | 14292 EOF |
14327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14328 { (eval echo configure:14329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14294 { (eval echo configure:14295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14330 if test -z "$ac_err"; then | 14296 if test -z "$ac_err"; then |
14331 rm -rf conftest* | 14297 rm -rf conftest* |
14332 eval "ac_cv_header_$ac_safe=yes" | 14298 eval "ac_cv_header_$ac_safe=yes" |
14333 else | 14299 else |
14340 rm -f conftest* | 14306 rm -f conftest* |
14341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14342 echo "$ac_t""yes" 1>&6 | 14308 echo "$ac_t""yes" 1>&6 |
14343 | 14309 |
14344 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14310 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14345 echo "configure:14346: checking for dlopen in -lc" >&5 | 14311 echo "configure:14312: checking for dlopen in -lc" >&5 |
14346 cat > conftest.$ac_ext <<EOF | 14312 cat > conftest.$ac_ext <<EOF |
14347 #line 14348 "configure" | 14313 #line 14314 "configure" |
14348 #include "confdefs.h" | 14314 #include "confdefs.h" |
14349 #include <dlfcn.h> | 14315 #include <dlfcn.h> |
14350 int main() { | 14316 int main() { |
14351 dlopen ("", 0); | 14317 dlopen ("", 0); |
14352 ; return 0; } | 14318 ; return 0; } |
14353 EOF | 14319 EOF |
14354 if { (eval echo configure:14355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14320 if { (eval echo configure:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14355 rm -rf conftest* | 14321 rm -rf conftest* |
14356 have_dl=yes | 14322 have_dl=yes |
14357 else | 14323 else |
14358 echo "configure: failed program was:" >&5 | 14324 echo "configure: failed program was:" >&5 |
14359 cat conftest.$ac_ext >&5 | 14325 cat conftest.$ac_ext >&5 |
14360 rm -rf conftest* | 14326 rm -rf conftest* |
14361 | 14327 |
14362 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14328 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14363 echo "configure:14364: checking for dlopen in -ldl" >&5 | 14329 echo "configure:14330: checking for dlopen in -ldl" >&5 |
14364 ac_save_LIBS="$LIBS" | 14330 ac_save_LIBS="$LIBS" |
14365 LIBS="-ldl $LIBS" | 14331 LIBS="-ldl $LIBS" |
14366 cat > conftest.$ac_ext <<EOF | 14332 cat > conftest.$ac_ext <<EOF |
14367 #line 14368 "configure" | 14333 #line 14334 "configure" |
14368 #include "confdefs.h" | 14334 #include "confdefs.h" |
14369 #include <dlfcn.h> | 14335 #include <dlfcn.h> |
14370 int main() { | 14336 int main() { |
14371 dlopen ("", 0); | 14337 dlopen ("", 0); |
14372 ; return 0; } | 14338 ; return 0; } |
14373 EOF | 14339 EOF |
14374 if { (eval echo configure:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14340 if { (eval echo configure:14341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14375 rm -rf conftest* | 14341 rm -rf conftest* |
14376 have_dl=yes | 14342 have_dl=yes |
14377 else | 14343 else |
14378 echo "configure: failed program was:" >&5 | 14344 echo "configure: failed program was:" >&5 |
14379 cat conftest.$ac_ext >&5 | 14345 cat conftest.$ac_ext >&5 |
14398 } | 14364 } |
14399 | 14365 |
14400 else | 14366 else |
14401 | 14367 |
14402 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14368 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14403 echo "configure:14404: checking for shl_load in -ldld" >&5 | 14369 echo "configure:14370: checking for shl_load in -ldld" >&5 |
14404 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14370 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14405 | 14371 |
14406 xe_check_libs=" -ldld " | 14372 xe_check_libs=" -ldld " |
14407 cat > conftest.$ac_ext <<EOF | 14373 cat > conftest.$ac_ext <<EOF |
14408 #line 14409 "configure" | 14374 #line 14375 "configure" |
14409 #include "confdefs.h" | 14375 #include "confdefs.h" |
14410 /* Override any gcc2 internal prototype to avoid an error. */ | 14376 /* Override any gcc2 internal prototype to avoid an error. */ |
14411 /* We use char because int might match the return type of a gcc2 | 14377 /* We use char because int might match the return type of a gcc2 |
14412 builtin and then its argument prototype would still apply. */ | 14378 builtin and then its argument prototype would still apply. */ |
14413 char shl_load(); | 14379 char shl_load(); |
14414 | 14380 |
14415 int main() { | 14381 int main() { |
14416 shl_load() | 14382 shl_load() |
14417 ; return 0; } | 14383 ; return 0; } |
14418 EOF | 14384 EOF |
14419 if { (eval echo configure:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14385 if { (eval echo configure:14386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14420 rm -rf conftest* | 14386 rm -rf conftest* |
14421 eval "ac_cv_lib_$ac_lib_var=yes" | 14387 eval "ac_cv_lib_$ac_lib_var=yes" |
14422 else | 14388 else |
14423 echo "configure: failed program was:" >&5 | 14389 echo "configure: failed program was:" >&5 |
14424 cat conftest.$ac_ext >&5 | 14390 cat conftest.$ac_ext >&5 |
14441 | 14407 |
14442 else | 14408 else |
14443 echo "$ac_t""no" 1>&6 | 14409 echo "$ac_t""no" 1>&6 |
14444 | 14410 |
14445 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14411 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14446 echo "configure:14447: checking for dld_init in -ldld" >&5 | 14412 echo "configure:14413: checking for dld_init in -ldld" >&5 |
14447 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14413 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14448 | 14414 |
14449 xe_check_libs=" -ldld " | 14415 xe_check_libs=" -ldld " |
14450 cat > conftest.$ac_ext <<EOF | 14416 cat > conftest.$ac_ext <<EOF |
14451 #line 14452 "configure" | 14417 #line 14418 "configure" |
14452 #include "confdefs.h" | 14418 #include "confdefs.h" |
14453 /* Override any gcc2 internal prototype to avoid an error. */ | 14419 /* Override any gcc2 internal prototype to avoid an error. */ |
14454 /* We use char because int might match the return type of a gcc2 | 14420 /* We use char because int might match the return type of a gcc2 |
14455 builtin and then its argument prototype would still apply. */ | 14421 builtin and then its argument prototype would still apply. */ |
14456 char dld_init(); | 14422 char dld_init(); |
14457 | 14423 |
14458 int main() { | 14424 int main() { |
14459 dld_init() | 14425 dld_init() |
14460 ; return 0; } | 14426 ; return 0; } |
14461 EOF | 14427 EOF |
14462 if { (eval echo configure:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14428 if { (eval echo configure:14429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14463 rm -rf conftest* | 14429 rm -rf conftest* |
14464 eval "ac_cv_lib_$ac_lib_var=yes" | 14430 eval "ac_cv_lib_$ac_lib_var=yes" |
14465 else | 14431 else |
14466 echo "configure: failed program was:" >&5 | 14432 echo "configure: failed program was:" >&5 |
14467 cat conftest.$ac_ext >&5 | 14433 cat conftest.$ac_ext >&5 |
14502 ld_dynamic_link_flags= | 14468 ld_dynamic_link_flags= |
14503 xehost=$canonical | 14469 xehost=$canonical |
14504 xealias=$internal_configuration | 14470 xealias=$internal_configuration |
14505 | 14471 |
14506 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14472 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14507 echo "configure:14508: checking how to build dynamic libraries for ${xehost}" >&5 | 14473 echo "configure:14474: checking how to build dynamic libraries for ${xehost}" >&5 |
14508 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14474 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14509 case "$xehost" in | 14475 case "$xehost" in |
14510 *-*-linux-gnu*) ;; | 14476 *-*-linux-gnu*) ;; |
14511 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14477 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14512 esac | 14478 esac |
14530 # Now see if the compiler is really GCC. | 14496 # Now see if the compiler is really GCC. |
14531 if test "$GCC" = "yes"; then | 14497 if test "$GCC" = "yes"; then |
14532 XEGCC=yes | 14498 XEGCC=yes |
14533 else | 14499 else |
14534 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14500 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14535 echo "configure:14536: checking checking whether we are using GNU C" >&5 | 14501 echo "configure:14502: checking checking whether we are using GNU C" >&5 |
14536 cat > conftest.$ac_ext <<EOF | 14502 cat > conftest.$ac_ext <<EOF |
14537 #line 14538 "configure" | 14503 #line 14504 "configure" |
14538 #include "confdefs.h" | 14504 #include "confdefs.h" |
14539 | 14505 |
14540 #ifdef __GNUC__ | 14506 #ifdef __GNUC__ |
14541 yes; | 14507 yes; |
14542 #endif | 14508 #endif |
14554 | 14520 |
14555 echo "$ac_t""${XEGCC}" 1>&6 | 14521 echo "$ac_t""${XEGCC}" 1>&6 |
14556 fi | 14522 fi |
14557 | 14523 |
14558 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14524 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14559 echo "configure:14560: checking how to produce PIC code" >&5 | 14525 echo "configure:14526: checking how to produce PIC code" >&5 |
14560 wl= | 14526 wl= |
14561 | 14527 |
14562 can_build_shared=yes | 14528 can_build_shared=yes |
14563 if test "$XEGCC" = yes; then | 14529 if test "$XEGCC" = yes; then |
14564 wl='-Wl,' | 14530 wl='-Wl,' |
14655 if test -n "$dll_cflags"; then | 14621 if test -n "$dll_cflags"; then |
14656 echo "$ac_t""${dll_cflags}" 1>&6 | 14622 echo "$ac_t""${dll_cflags}" 1>&6 |
14657 | 14623 |
14658 # Check to make sure the dll_cflags actually works. | 14624 # Check to make sure the dll_cflags actually works. |
14659 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14625 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14660 echo "configure:14661: checking if PIC flag ${dll_cflags} really works" >&5 | 14626 echo "configure:14627: checking if PIC flag ${dll_cflags} really works" >&5 |
14661 save_CFLAGS="$CFLAGS" | 14627 save_CFLAGS="$CFLAGS" |
14662 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14628 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14663 cat > conftest.$ac_ext <<EOF | 14629 cat > conftest.$ac_ext <<EOF |
14664 #line 14665 "configure" | 14630 #line 14631 "configure" |
14665 #include "confdefs.h" | 14631 #include "confdefs.h" |
14666 | 14632 |
14667 int main() { | 14633 int main() { |
14668 int x=0; | 14634 int x=0; |
14669 ; return 0; } | 14635 ; return 0; } |
14670 EOF | 14636 EOF |
14671 if { (eval echo configure:14672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14637 if { (eval echo configure:14638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14672 rm -rf conftest* | 14638 rm -rf conftest* |
14673 | 14639 |
14674 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14640 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14675 # reports no error. So, we need to grep stderr for (Bundled). | 14641 # reports no error. So, we need to grep stderr for (Bundled). |
14676 if grep '(Bundled)' config.log >/dev/null; then | 14642 if grep '(Bundled)' config.log >/dev/null; then |
14697 if test "$can_build_shared" = "yes"; then | 14663 if test "$can_build_shared" = "yes"; then |
14698 cc_produces_so=no | 14664 cc_produces_so=no |
14699 xldf= | 14665 xldf= |
14700 xcldf= | 14666 xcldf= |
14701 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14667 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14702 echo "configure:14703: checking if C compiler can produce shared libraries" >&5 | 14668 echo "configure:14669: checking if C compiler can produce shared libraries" >&5 |
14703 if test "$XEGCC" = yes; then | 14669 if test "$XEGCC" = yes; then |
14704 xcldf="-shared" | 14670 xcldf="-shared" |
14705 xldf="-shared" | 14671 xldf="-shared" |
14706 else # Not using GCC | 14672 else # Not using GCC |
14707 case "$xehost_os" in | 14673 case "$xehost_os" in |
14748 LDFLAGS="$xcldf $LDFLAGS" | 14714 LDFLAGS="$xcldf $LDFLAGS" |
14749 LIBS= | 14715 LIBS= |
14750 xe_libs= | 14716 xe_libs= |
14751 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14717 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14752 cat > conftest.$ac_ext <<EOF | 14718 cat > conftest.$ac_ext <<EOF |
14753 #line 14754 "configure" | 14719 #line 14720 "configure" |
14754 #include "confdefs.h" | 14720 #include "confdefs.h" |
14755 | 14721 |
14756 int main() { | 14722 int main() { |
14757 int x=0; | 14723 int x=0; |
14758 ; return 0; } | 14724 ; return 0; } |
14759 EOF | 14725 EOF |
14760 if { (eval echo configure:14761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14726 if { (eval echo configure:14727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14761 rm -rf conftest* | 14727 rm -rf conftest* |
14762 cc_produces_so=yes | 14728 cc_produces_so=yes |
14763 else | 14729 else |
14764 echo "configure: failed program was:" >&5 | 14730 echo "configure: failed program was:" >&5 |
14765 cat conftest.$ac_ext >&5 | 14731 cat conftest.$ac_ext >&5 |
14780 if test -z "$LTLD"; then | 14746 if test -z "$LTLD"; then |
14781 ac_prog=ld | 14747 ac_prog=ld |
14782 if test "$XEGCC" = yes; then | 14748 if test "$XEGCC" = yes; then |
14783 # Check if gcc -print-prog-name=ld gives a path. | 14749 # Check if gcc -print-prog-name=ld gives a path. |
14784 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14750 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14785 echo "configure:14786: checking for ld used by GCC" >&5 | 14751 echo "configure:14752: checking for ld used by GCC" >&5 |
14786 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14752 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14787 case "$ac_prog" in | 14753 case "$ac_prog" in |
14788 # Accept absolute paths. | 14754 # Accept absolute paths. |
14789 /*) | 14755 /*) |
14790 if test -z "$LTLD"; then | 14756 if test -z "$LTLD"; then |
14805 with_gnu_ld=unknown | 14771 with_gnu_ld=unknown |
14806 ;; | 14772 ;; |
14807 esac | 14773 esac |
14808 else | 14774 else |
14809 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14775 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14810 echo "configure:14811: checking for GNU ld" >&5 | 14776 echo "configure:14777: checking for GNU ld" >&5 |
14811 fi | 14777 fi |
14812 | 14778 |
14813 if test -z "$LTLD"; then | 14779 if test -z "$LTLD"; then |
14814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14815 for ac_dir in $PATH; do | 14781 for ac_dir in $PATH; do |
14843 | 14809 |
14844 ld_dynamic_link_flags= | 14810 ld_dynamic_link_flags= |
14845 | 14811 |
14846 # Check to see if it really is or isn't GNU ld. | 14812 # Check to see if it really is or isn't GNU ld. |
14847 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14813 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14848 echo "configure:14849: checking if the linker is GNU ld" >&5 | 14814 echo "configure:14815: checking if the linker is GNU ld" >&5 |
14849 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14815 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14850 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14816 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14851 xe_gnu_ld=yes | 14817 xe_gnu_ld=yes |
14852 else | 14818 else |
14853 xe_gnu_ld=no | 14819 xe_gnu_ld=no |
14871 ld_shlibs=yes | 14837 ld_shlibs=yes |
14872 else | 14838 else |
14873 # OK - only NOW do we futz about with ld. | 14839 # OK - only NOW do we futz about with ld. |
14874 # See if the linker supports building shared libraries. | 14840 # See if the linker supports building shared libraries. |
14875 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14841 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14876 echo "configure:14877: checking whether the linker supports shared libraries" >&5 | 14842 echo "configure:14843: checking whether the linker supports shared libraries" >&5 |
14877 dll_ld=$CC | 14843 dll_ld=$CC |
14878 dll_ldflags=$LDFLAGS | 14844 dll_ldflags=$LDFLAGS |
14879 ld_shlibs=yes | 14845 ld_shlibs=yes |
14880 can_build_shared=yes | 14846 can_build_shared=yes |
14881 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14847 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
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 | 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 |
15083 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15049 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15084 for ac_func in dlerror _dlerror | 15050 for ac_func in dlerror _dlerror |
15085 do | 15051 do |
15086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15087 echo "configure:15088: checking for $ac_func" >&5 | 15053 echo "configure:15054: checking for $ac_func" >&5 |
15088 | 15054 |
15089 cat > conftest.$ac_ext <<EOF | 15055 cat > conftest.$ac_ext <<EOF |
15090 #line 15091 "configure" | 15056 #line 15057 "configure" |
15091 #include "confdefs.h" | 15057 #include "confdefs.h" |
15092 /* System header to define __stub macros and hopefully few prototypes, | 15058 /* System header to define __stub macros and hopefully few prototypes, |
15093 which can conflict with char $ac_func(); below. */ | 15059 which can conflict with char $ac_func(); below. */ |
15094 #include <assert.h> | 15060 #include <assert.h> |
15095 /* Override any gcc2 internal prototype to avoid an error. */ | 15061 /* Override any gcc2 internal prototype to avoid an error. */ |
15108 $ac_func(); | 15074 $ac_func(); |
15109 #endif | 15075 #endif |
15110 | 15076 |
15111 ; return 0; } | 15077 ; return 0; } |
15112 EOF | 15078 EOF |
15113 if { (eval echo configure:15114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15079 if { (eval echo configure:15080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15114 rm -rf conftest* | 15080 rm -rf conftest* |
15115 eval "ac_cv_func_$ac_func=yes" | 15081 eval "ac_cv_func_$ac_func=yes" |
15116 else | 15082 else |
15117 echo "configure: failed program was:" >&5 | 15083 echo "configure: failed program was:" >&5 |
15118 cat conftest.$ac_ext >&5 | 15084 cat conftest.$ac_ext >&5 |
15147 with_modules=no | 15113 with_modules=no |
15148 fi | 15114 fi |
15149 fi | 15115 fi |
15150 | 15116 |
15151 cat > conftest.$ac_ext <<EOF | 15117 cat > conftest.$ac_ext <<EOF |
15152 #line 15153 "configure" | 15118 #line 15119 "configure" |
15153 #include "confdefs.h" | 15119 #include "confdefs.h" |
15154 int main(int c,char *v[]){return 0;} | 15120 int main(int c,char *v[]){return 0;} |
15155 EOF | 15121 EOF |
15156 if { (eval echo configure:15157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15122 if { (eval echo configure:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15157 then | 15123 then |
15158 : | 15124 : |
15159 else | 15125 else |
15160 conftest_rc="$?" | 15126 conftest_rc="$?" |
15161 echo "configure: failed program was:" >&5 | 15127 echo "configure: failed program was:" >&5 |