Mercurial > hg > xemacs-beta
comparison configure @ 473:77c75d85635e
[xemacs-hg @ 2001-04-18 09:07:27 by martinb]
##$%^&
author | martinb |
---|---|
date | Wed, 18 Apr 2001 09:07:27 +0000 |
parents | 5aa1854ad537 |
children | 6495d35ba9df |
comparison
equal
deleted
inserted
replaced
472:0edeb854dc7e | 473:77c75d85635e |
---|---|
4443 | 4443 |
4444 cat > conftest.$ac_ext <<EOF | 4444 cat > conftest.$ac_ext <<EOF |
4445 #line 4446 "configure" | 4445 #line 4446 "configure" |
4446 #include "confdefs.h" | 4446 #include "confdefs.h" |
4447 #include <stdio.h> | 4447 #include <stdio.h> |
4448 #include <sys/types.h> | |
4449 main() | 4448 main() |
4450 { | 4449 { |
4451 FILE *f=fopen("conftestval", "w"); | 4450 FILE *f=fopen("conftestval", "w"); |
4452 if (!f) exit(1); | 4451 if (!f) exit(1); |
4453 fprintf(f, "%d\n", sizeof(short)); | 4452 fprintf(f, "%d\n", sizeof(short)); |
4454 exit(0); | 4453 exit(0); |
4455 } | 4454 } |
4456 EOF | 4455 EOF |
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4458 then | 4457 then |
4459 ac_cv_sizeof_short=`cat conftestval` | 4458 ac_cv_sizeof_short=`cat conftestval` |
4460 else | 4459 else |
4461 conftest_rc="$?" | 4460 conftest_rc="$?" |
4462 echo "configure: failed program was:" >&5 | 4461 echo "configure: failed program was:" >&5 |
4480 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4479 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4481 echo "*** PANIC *** Please examine config.log for compilation errors." | 4480 echo "*** PANIC *** Please examine config.log for compilation errors." |
4482 exit 1 | 4481 exit 1 |
4483 fi | 4482 fi |
4484 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4483 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4485 echo "configure:4486: checking size of int" >&5 | 4484 echo "configure:4485: checking size of int" >&5 |
4486 | 4485 |
4487 cat > conftest.$ac_ext <<EOF | 4486 cat > conftest.$ac_ext <<EOF |
4488 #line 4489 "configure" | 4487 #line 4488 "configure" |
4489 #include "confdefs.h" | 4488 #include "confdefs.h" |
4490 #include <stdio.h> | 4489 #include <stdio.h> |
4491 #include <sys/types.h> | |
4492 main() | 4490 main() |
4493 { | 4491 { |
4494 FILE *f=fopen("conftestval", "w"); | 4492 FILE *f=fopen("conftestval", "w"); |
4495 if (!f) exit(1); | 4493 if (!f) exit(1); |
4496 fprintf(f, "%d\n", sizeof(int)); | 4494 fprintf(f, "%d\n", sizeof(int)); |
4497 exit(0); | 4495 exit(0); |
4498 } | 4496 } |
4499 EOF | 4497 EOF |
4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4501 then | 4499 then |
4502 ac_cv_sizeof_int=`cat conftestval` | 4500 ac_cv_sizeof_int=`cat conftestval` |
4503 else | 4501 else |
4504 conftest_rc="$?" | 4502 conftest_rc="$?" |
4505 echo "configure: failed program was:" >&5 | 4503 echo "configure: failed program was:" >&5 |
4517 EOF | 4515 EOF |
4518 } | 4516 } |
4519 | 4517 |
4520 | 4518 |
4521 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4519 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4522 echo "configure:4523: checking size of long" >&5 | 4520 echo "configure:4521: checking size of long" >&5 |
4523 | 4521 |
4524 cat > conftest.$ac_ext <<EOF | 4522 cat > conftest.$ac_ext <<EOF |
4525 #line 4526 "configure" | 4523 #line 4524 "configure" |
4526 #include "confdefs.h" | 4524 #include "confdefs.h" |
4527 #include <stdio.h> | 4525 #include <stdio.h> |
4528 #include <sys/types.h> | |
4529 main() | 4526 main() |
4530 { | 4527 { |
4531 FILE *f=fopen("conftestval", "w"); | 4528 FILE *f=fopen("conftestval", "w"); |
4532 if (!f) exit(1); | 4529 if (!f) exit(1); |
4533 fprintf(f, "%d\n", sizeof(long)); | 4530 fprintf(f, "%d\n", sizeof(long)); |
4534 exit(0); | 4531 exit(0); |
4535 } | 4532 } |
4536 EOF | 4533 EOF |
4537 if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4538 then | 4535 then |
4539 ac_cv_sizeof_long=`cat conftestval` | 4536 ac_cv_sizeof_long=`cat conftestval` |
4540 else | 4537 else |
4541 conftest_rc="$?" | 4538 conftest_rc="$?" |
4542 echo "configure: failed program was:" >&5 | 4539 echo "configure: failed program was:" >&5 |
4554 EOF | 4551 EOF |
4555 } | 4552 } |
4556 | 4553 |
4557 | 4554 |
4558 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4555 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4559 echo "configure:4560: checking size of long long" >&5 | 4556 echo "configure:4557: checking size of long long" >&5 |
4560 | 4557 |
4561 cat > conftest.$ac_ext <<EOF | 4558 cat > conftest.$ac_ext <<EOF |
4562 #line 4563 "configure" | 4559 #line 4560 "configure" |
4563 #include "confdefs.h" | 4560 #include "confdefs.h" |
4564 #include <stdio.h> | 4561 #include <stdio.h> |
4565 #include <sys/types.h> | |
4566 main() | 4562 main() |
4567 { | 4563 { |
4568 FILE *f=fopen("conftestval", "w"); | 4564 FILE *f=fopen("conftestval", "w"); |
4569 if (!f) exit(1); | 4565 if (!f) exit(1); |
4570 fprintf(f, "%d\n", sizeof(long long)); | 4566 fprintf(f, "%d\n", sizeof(long long)); |
4571 exit(0); | 4567 exit(0); |
4572 } | 4568 } |
4573 EOF | 4569 EOF |
4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4575 then | 4571 then |
4576 ac_cv_sizeof_long_long=`cat conftestval` | 4572 ac_cv_sizeof_long_long=`cat conftestval` |
4577 else | 4573 else |
4578 conftest_rc="$?" | 4574 conftest_rc="$?" |
4579 echo "configure: failed program was:" >&5 | 4575 echo "configure: failed program was:" >&5 |
4591 EOF | 4587 EOF |
4592 } | 4588 } |
4593 | 4589 |
4594 | 4590 |
4595 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4591 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4596 echo "configure:4597: checking size of void *" >&5 | 4592 echo "configure:4593: checking size of void *" >&5 |
4597 | 4593 |
4598 cat > conftest.$ac_ext <<EOF | 4594 cat > conftest.$ac_ext <<EOF |
4599 #line 4600 "configure" | 4595 #line 4596 "configure" |
4600 #include "confdefs.h" | 4596 #include "confdefs.h" |
4601 #include <stdio.h> | 4597 #include <stdio.h> |
4602 #include <sys/types.h> | |
4603 main() | 4598 main() |
4604 { | 4599 { |
4605 FILE *f=fopen("conftestval", "w"); | 4600 FILE *f=fopen("conftestval", "w"); |
4606 if (!f) exit(1); | 4601 if (!f) exit(1); |
4607 fprintf(f, "%d\n", sizeof(void *)); | 4602 fprintf(f, "%d\n", sizeof(void *)); |
4608 exit(0); | 4603 exit(0); |
4609 } | 4604 } |
4610 EOF | 4605 EOF |
4611 if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4612 then | 4607 then |
4613 ac_cv_sizeof_void_p=`cat conftestval` | 4608 ac_cv_sizeof_void_p=`cat conftestval` |
4614 else | 4609 else |
4615 conftest_rc="$?" | 4610 conftest_rc="$?" |
4616 echo "configure: failed program was:" >&5 | 4611 echo "configure: failed program was:" >&5 |
4629 } | 4624 } |
4630 | 4625 |
4631 | 4626 |
4632 | 4627 |
4633 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4628 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4634 echo "configure:4635: checking for long file names" >&5 | 4629 echo "configure:4630: checking for long file names" >&5 |
4635 | 4630 |
4636 ac_cv_sys_long_file_names=yes | 4631 ac_cv_sys_long_file_names=yes |
4637 # Test for long file names in all the places we know might matter: | 4632 # Test for long file names in all the places we know might matter: |
4638 # . the current directory, where building will happen | 4633 # . the current directory, where building will happen |
4639 # $prefix/lib where we will be installing things | 4634 # $prefix/lib where we will be installing things |
4675 | 4670 |
4676 fi | 4671 fi |
4677 | 4672 |
4678 | 4673 |
4679 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4674 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4680 echo "configure:4681: checking for sin" >&5 | 4675 echo "configure:4676: checking for sin" >&5 |
4681 | 4676 |
4682 cat > conftest.$ac_ext <<EOF | 4677 cat > conftest.$ac_ext <<EOF |
4683 #line 4684 "configure" | 4678 #line 4679 "configure" |
4684 #include "confdefs.h" | 4679 #include "confdefs.h" |
4685 /* System header to define __stub macros and hopefully few prototypes, | 4680 /* System header to define __stub macros and hopefully few prototypes, |
4686 which can conflict with char sin(); below. */ | 4681 which can conflict with char sin(); below. */ |
4687 #include <assert.h> | 4682 #include <assert.h> |
4688 /* Override any gcc2 internal prototype to avoid an error. */ | 4683 /* Override any gcc2 internal prototype to avoid an error. */ |
4701 sin(); | 4696 sin(); |
4702 #endif | 4697 #endif |
4703 | 4698 |
4704 ; return 0; } | 4699 ; return 0; } |
4705 EOF | 4700 EOF |
4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4701 if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4707 rm -rf conftest* | 4702 rm -rf conftest* |
4708 eval "ac_cv_func_sin=yes" | 4703 eval "ac_cv_func_sin=yes" |
4709 else | 4704 else |
4710 echo "configure: failed program was:" >&5 | 4705 echo "configure: failed program was:" >&5 |
4711 cat conftest.$ac_ext >&5 | 4706 cat conftest.$ac_ext >&5 |
4719 : | 4714 : |
4720 else | 4715 else |
4721 echo "$ac_t""no" 1>&6 | 4716 echo "$ac_t""no" 1>&6 |
4722 | 4717 |
4723 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4718 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4724 echo "configure:4725: checking for sin in -lm" >&5 | 4719 echo "configure:4720: checking for sin in -lm" >&5 |
4725 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4720 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4726 | 4721 |
4727 xe_check_libs=" -lm " | 4722 xe_check_libs=" -lm " |
4728 cat > conftest.$ac_ext <<EOF | 4723 cat > conftest.$ac_ext <<EOF |
4729 #line 4730 "configure" | 4724 #line 4725 "configure" |
4730 #include "confdefs.h" | 4725 #include "confdefs.h" |
4731 /* Override any gcc2 internal prototype to avoid an error. */ | 4726 /* Override any gcc2 internal prototype to avoid an error. */ |
4732 /* We use char because int might match the return type of a gcc2 | 4727 /* We use char because int might match the return type of a gcc2 |
4733 builtin and then its argument prototype would still apply. */ | 4728 builtin and then its argument prototype would still apply. */ |
4734 char sin(); | 4729 char sin(); |
4735 | 4730 |
4736 int main() { | 4731 int main() { |
4737 sin() | 4732 sin() |
4738 ; return 0; } | 4733 ; return 0; } |
4739 EOF | 4734 EOF |
4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4735 if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4741 rm -rf conftest* | 4736 rm -rf conftest* |
4742 eval "ac_cv_lib_$ac_lib_var=yes" | 4737 eval "ac_cv_lib_$ac_lib_var=yes" |
4743 else | 4738 else |
4744 echo "configure: failed program was:" >&5 | 4739 echo "configure: failed program was:" >&5 |
4745 cat conftest.$ac_ext >&5 | 4740 cat conftest.$ac_ext >&5 |
4779 EOF | 4774 EOF |
4780 } | 4775 } |
4781 | 4776 |
4782 | 4777 |
4783 cat > conftest.$ac_ext <<EOF | 4778 cat > conftest.$ac_ext <<EOF |
4784 #line 4785 "configure" | 4779 #line 4780 "configure" |
4785 #include "confdefs.h" | 4780 #include "confdefs.h" |
4786 #include <math.h> | 4781 #include <math.h> |
4787 int main() { | 4782 int main() { |
4788 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4783 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4789 ; return 0; } | 4784 ; return 0; } |
4790 EOF | 4785 EOF |
4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4786 if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4792 rm -rf conftest* | 4787 rm -rf conftest* |
4793 { test "$extra_verbose" = "yes" && cat << \EOF | 4788 { test "$extra_verbose" = "yes" && cat << \EOF |
4794 Defining HAVE_INVERSE_HYPERBOLIC | 4789 Defining HAVE_INVERSE_HYPERBOLIC |
4795 EOF | 4790 EOF |
4796 cat >> confdefs.h <<\EOF | 4791 cat >> confdefs.h <<\EOF |
4803 cat conftest.$ac_ext >&5 | 4798 cat conftest.$ac_ext >&5 |
4804 fi | 4799 fi |
4805 rm -f conftest* | 4800 rm -f conftest* |
4806 | 4801 |
4807 echo "checking type of mail spool file locking" 1>&6 | 4802 echo "checking type of mail spool file locking" 1>&6 |
4808 echo "configure:4809: checking type of mail spool file locking" >&5 | 4803 echo "configure:4804: checking type of mail spool file locking" >&5 |
4809 for ac_func in lockf flock | 4804 for ac_func in lockf flock |
4810 do | 4805 do |
4811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4812 echo "configure:4813: checking for $ac_func" >&5 | 4807 echo "configure:4808: checking for $ac_func" >&5 |
4813 | 4808 |
4814 cat > conftest.$ac_ext <<EOF | 4809 cat > conftest.$ac_ext <<EOF |
4815 #line 4816 "configure" | 4810 #line 4811 "configure" |
4816 #include "confdefs.h" | 4811 #include "confdefs.h" |
4817 /* System header to define __stub macros and hopefully few prototypes, | 4812 /* System header to define __stub macros and hopefully few prototypes, |
4818 which can conflict with char $ac_func(); below. */ | 4813 which can conflict with char $ac_func(); below. */ |
4819 #include <assert.h> | 4814 #include <assert.h> |
4820 /* Override any gcc2 internal prototype to avoid an error. */ | 4815 /* Override any gcc2 internal prototype to avoid an error. */ |
4833 $ac_func(); | 4828 $ac_func(); |
4834 #endif | 4829 #endif |
4835 | 4830 |
4836 ; return 0; } | 4831 ; return 0; } |
4837 EOF | 4832 EOF |
4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4839 rm -rf conftest* | 4834 rm -rf conftest* |
4840 eval "ac_cv_func_$ac_func=yes" | 4835 eval "ac_cv_func_$ac_func=yes" |
4841 else | 4836 else |
4842 echo "configure: failed program was:" >&5 | 4837 echo "configure: failed program was:" >&5 |
4843 cat conftest.$ac_ext >&5 | 4838 cat conftest.$ac_ext >&5 |
4915 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4910 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4916 | 4911 |
4917 case "$opsys" in decosf*) | 4912 case "$opsys" in decosf*) |
4918 | 4913 |
4919 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4914 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4920 echo "configure:4921: checking for cma_open in -lpthreads" >&5 | 4915 echo "configure:4916: checking for cma_open in -lpthreads" >&5 |
4921 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4916 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4922 | 4917 |
4923 xe_check_libs=" -lpthreads " | 4918 xe_check_libs=" -lpthreads " |
4924 cat > conftest.$ac_ext <<EOF | 4919 cat > conftest.$ac_ext <<EOF |
4925 #line 4926 "configure" | 4920 #line 4921 "configure" |
4926 #include "confdefs.h" | 4921 #include "confdefs.h" |
4927 /* Override any gcc2 internal prototype to avoid an error. */ | 4922 /* Override any gcc2 internal prototype to avoid an error. */ |
4928 /* We use char because int might match the return type of a gcc2 | 4923 /* We use char because int might match the return type of a gcc2 |
4929 builtin and then its argument prototype would still apply. */ | 4924 builtin and then its argument prototype would still apply. */ |
4930 char cma_open(); | 4925 char cma_open(); |
4931 | 4926 |
4932 int main() { | 4927 int main() { |
4933 cma_open() | 4928 cma_open() |
4934 ; return 0; } | 4929 ; return 0; } |
4935 EOF | 4930 EOF |
4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4931 if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4937 rm -rf conftest* | 4932 rm -rf conftest* |
4938 eval "ac_cv_lib_$ac_lib_var=yes" | 4933 eval "ac_cv_lib_$ac_lib_var=yes" |
4939 else | 4934 else |
4940 echo "configure: failed program was:" >&5 | 4935 echo "configure: failed program was:" >&5 |
4941 cat conftest.$ac_ext >&5 | 4936 cat conftest.$ac_ext >&5 |
4967 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4962 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4968 c_switch_site="$c_switch_site -threads" ;; | 4963 c_switch_site="$c_switch_site -threads" ;; |
4969 esac | 4964 esac |
4970 | 4965 |
4971 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4966 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4972 echo "configure:4973: checking whether the -xildoff compiler flag is required" >&5 | 4967 echo "configure:4968: checking whether the -xildoff compiler flag is required" >&5 |
4973 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4968 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4974 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4969 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4975 then echo "$ac_t""no" 1>&6; | 4970 then echo "$ac_t""no" 1>&6; |
4976 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 | 4971 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 |
4977 fi | 4972 fi |
4979 fi | 4974 fi |
4980 | 4975 |
4981 if test "$opsys" = "sol2"; then | 4976 if test "$opsys" = "sol2"; then |
4982 if test "$os_release" -ge 56; then | 4977 if test "$os_release" -ge 56; then |
4983 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4978 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4984 echo "configure:4985: checking for \"-z ignore\" linker flag" >&5 | 4979 echo "configure:4980: checking for \"-z ignore\" linker flag" >&5 |
4985 case "`ld -h 2>&1`" in | 4980 case "`ld -h 2>&1`" in |
4986 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4981 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4987 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4982 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4988 *) echo "$ac_t""no" 1>&6 ;; | 4983 *) echo "$ac_t""no" 1>&6 ;; |
4989 esac | 4984 esac |
4990 fi | 4985 fi |
4991 fi | 4986 fi |
4992 | 4987 |
4993 | 4988 |
4994 echo "checking "for specified window system"" 1>&6 | 4989 echo "checking "for specified window system"" 1>&6 |
4995 echo "configure:4996: checking "for specified window system"" >&5 | 4990 echo "configure:4991: checking "for specified window system"" >&5 |
4996 | 4991 |
4997 | 4992 |
4998 GNOME_CONFIG=no | 4993 GNOME_CONFIG=no |
4999 GTK_CONFIG=no | 4994 GTK_CONFIG=no |
5000 | 4995 |
5001 if test "$with_gnome" != "no"; then | 4996 if test "$with_gnome" != "no"; then |
5002 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 4997 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5003 echo "configure:5004: checking for GNOME configuration script" >&5 | 4998 echo "configure:4999: checking for GNOME configuration script" >&5 |
5004 for possible in gnome-config | 4999 for possible in gnome-config |
5005 do | 5000 do |
5006 possible_version=`${possible} --version 2> /dev/null` | 5001 possible_version=`${possible} --version 2> /dev/null` |
5007 if test "x${possible_version}" != "x"; then | 5002 if test "x${possible_version}" != "x"; then |
5008 GNOME_CONFIG="${possible}" | 5003 GNOME_CONFIG="${possible}" |
5029 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5024 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5030 fi | 5025 fi |
5031 | 5026 |
5032 if test "$with_gtk" != "no";then | 5027 if test "$with_gtk" != "no";then |
5033 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5028 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5034 echo "configure:5035: checking for GTK configuration script" >&5 | 5029 echo "configure:5030: checking for GTK configuration script" >&5 |
5035 for possible in gtk12-config gtk14-config gtk-config | 5030 for possible in gtk12-config gtk14-config gtk-config |
5036 do | 5031 do |
5037 possible_version=`${possible} --version 2> /dev/null` | 5032 possible_version=`${possible} --version 2> /dev/null` |
5038 if test "x${possible_version}" != "x"; then | 5033 if test "x${possible_version}" != "x"; then |
5039 GTK_CONFIG="${possible}" | 5034 GTK_CONFIG="${possible}" |
5051 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5046 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5052 fi | 5047 fi |
5053 | 5048 |
5054 if test "${GTK_CONFIG}" != "no"; then | 5049 if test "${GTK_CONFIG}" != "no"; then |
5055 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5050 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5056 echo "configure:5057: checking gtk version" >&5 | 5051 echo "configure:5052: checking gtk version" >&5 |
5057 GTK_VERSION=`${GTK_CONFIG} --version` | 5052 GTK_VERSION=`${GTK_CONFIG} --version` |
5058 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5053 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5059 | 5054 |
5060 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5055 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5061 echo "configure:5062: checking gtk libs" >&5 | 5056 echo "configure:5057: checking gtk libs" >&5 |
5062 GTK_LIBS=`${GTK_CONFIG} --libs` | 5057 GTK_LIBS=`${GTK_CONFIG} --libs` |
5063 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5058 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5064 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5059 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5065 | 5060 |
5066 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5061 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5067 echo "configure:5068: checking gtk cflags" >&5 | 5062 echo "configure:5063: checking gtk cflags" >&5 |
5068 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5063 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5069 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5064 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5070 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5065 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5071 | 5066 |
5072 | 5067 |
5073 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5068 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5074 echo "configure:5075: checking for main in -lgdk_imlib" >&5 | 5069 echo "configure:5070: checking for main in -lgdk_imlib" >&5 |
5075 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5070 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5076 | 5071 |
5077 xe_check_libs=" -lgdk_imlib " | 5072 xe_check_libs=" -lgdk_imlib " |
5078 cat > conftest.$ac_ext <<EOF | 5073 cat > conftest.$ac_ext <<EOF |
5079 #line 5080 "configure" | 5074 #line 5075 "configure" |
5080 #include "confdefs.h" | 5075 #include "confdefs.h" |
5081 | 5076 |
5082 int main() { | 5077 int main() { |
5083 main() | 5078 main() |
5084 ; return 0; } | 5079 ; return 0; } |
5085 EOF | 5080 EOF |
5086 if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5081 if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5087 rm -rf conftest* | 5082 rm -rf conftest* |
5088 eval "ac_cv_lib_$ac_lib_var=yes" | 5083 eval "ac_cv_lib_$ac_lib_var=yes" |
5089 else | 5084 else |
5090 echo "configure: failed program was:" >&5 | 5085 echo "configure: failed program was:" >&5 |
5091 cat conftest.$ac_ext >&5 | 5086 cat conftest.$ac_ext >&5 |
5103 fi | 5098 fi |
5104 | 5099 |
5105 | 5100 |
5106 | 5101 |
5107 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5102 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5108 echo "configure:5109: checking for Imlib_init in -lImlib" >&5 | 5103 echo "configure:5104: checking for Imlib_init in -lImlib" >&5 |
5109 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5104 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5110 | 5105 |
5111 xe_check_libs=" -lImlib " | 5106 xe_check_libs=" -lImlib " |
5112 cat > conftest.$ac_ext <<EOF | 5107 cat > conftest.$ac_ext <<EOF |
5113 #line 5114 "configure" | 5108 #line 5109 "configure" |
5114 #include "confdefs.h" | 5109 #include "confdefs.h" |
5115 /* Override any gcc2 internal prototype to avoid an error. */ | 5110 /* Override any gcc2 internal prototype to avoid an error. */ |
5116 /* We use char because int might match the return type of a gcc2 | 5111 /* We use char because int might match the return type of a gcc2 |
5117 builtin and then its argument prototype would still apply. */ | 5112 builtin and then its argument prototype would still apply. */ |
5118 char Imlib_init(); | 5113 char Imlib_init(); |
5119 | 5114 |
5120 int main() { | 5115 int main() { |
5121 Imlib_init() | 5116 Imlib_init() |
5122 ; return 0; } | 5117 ; return 0; } |
5123 EOF | 5118 EOF |
5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5119 if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5125 rm -rf conftest* | 5120 rm -rf conftest* |
5126 eval "ac_cv_lib_$ac_lib_var=yes" | 5121 eval "ac_cv_lib_$ac_lib_var=yes" |
5127 else | 5122 else |
5128 echo "configure: failed program was:" >&5 | 5123 echo "configure: failed program was:" >&5 |
5129 cat conftest.$ac_ext >&5 | 5124 cat conftest.$ac_ext >&5 |
5142 | 5137 |
5143 | 5138 |
5144 for ac_func in gdk_imlib_init | 5139 for ac_func in gdk_imlib_init |
5145 do | 5140 do |
5146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5147 echo "configure:5148: checking for $ac_func" >&5 | 5142 echo "configure:5143: checking for $ac_func" >&5 |
5148 | 5143 |
5149 cat > conftest.$ac_ext <<EOF | 5144 cat > conftest.$ac_ext <<EOF |
5150 #line 5151 "configure" | 5145 #line 5146 "configure" |
5151 #include "confdefs.h" | 5146 #include "confdefs.h" |
5152 /* System header to define __stub macros and hopefully few prototypes, | 5147 /* System header to define __stub macros and hopefully few prototypes, |
5153 which can conflict with char $ac_func(); below. */ | 5148 which can conflict with char $ac_func(); below. */ |
5154 #include <assert.h> | 5149 #include <assert.h> |
5155 /* Override any gcc2 internal prototype to avoid an error. */ | 5150 /* Override any gcc2 internal prototype to avoid an error. */ |
5168 $ac_func(); | 5163 $ac_func(); |
5169 #endif | 5164 #endif |
5170 | 5165 |
5171 ; return 0; } | 5166 ; return 0; } |
5172 EOF | 5167 EOF |
5173 if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5174 rm -rf conftest* | 5169 rm -rf conftest* |
5175 eval "ac_cv_func_$ac_func=yes" | 5170 eval "ac_cv_func_$ac_func=yes" |
5176 else | 5171 else |
5177 echo "configure: failed program was:" >&5 | 5172 echo "configure: failed program was:" >&5 |
5178 cat conftest.$ac_ext >&5 | 5173 cat conftest.$ac_ext >&5 |
5245 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5240 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5246 for ac_hdr in glade/glade.h glade.h | 5241 for ac_hdr in glade/glade.h glade.h |
5247 do | 5242 do |
5248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5250 echo "configure:5251: checking for $ac_hdr" >&5 | 5245 echo "configure:5246: checking for $ac_hdr" >&5 |
5251 | 5246 |
5252 cat > conftest.$ac_ext <<EOF | 5247 cat > conftest.$ac_ext <<EOF |
5253 #line 5254 "configure" | 5248 #line 5249 "configure" |
5254 #include "confdefs.h" | 5249 #include "confdefs.h" |
5255 #include <$ac_hdr> | 5250 #include <$ac_hdr> |
5256 EOF | 5251 EOF |
5257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5258 { (eval echo configure:5259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5253 { (eval echo configure:5254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5260 if test -z "$ac_err"; then | 5255 if test -z "$ac_err"; then |
5261 rm -rf conftest* | 5256 rm -rf conftest* |
5262 eval "ac_cv_header_$ac_safe=yes" | 5257 eval "ac_cv_header_$ac_safe=yes" |
5263 else | 5258 else |
5284 fi | 5279 fi |
5285 done | 5280 done |
5286 | 5281 |
5287 | 5282 |
5288 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5283 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5289 echo "configure:5290: checking for main in -lxml" >&5 | 5284 echo "configure:5285: checking for main in -lxml" >&5 |
5290 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5285 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5291 | 5286 |
5292 xe_check_libs=" -lxml " | 5287 xe_check_libs=" -lxml " |
5293 cat > conftest.$ac_ext <<EOF | 5288 cat > conftest.$ac_ext <<EOF |
5294 #line 5295 "configure" | 5289 #line 5290 "configure" |
5295 #include "confdefs.h" | 5290 #include "confdefs.h" |
5296 | 5291 |
5297 int main() { | 5292 int main() { |
5298 main() | 5293 main() |
5299 ; return 0; } | 5294 ; return 0; } |
5300 EOF | 5295 EOF |
5301 if { (eval echo configure:5302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5296 if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5302 rm -rf conftest* | 5297 rm -rf conftest* |
5303 eval "ac_cv_lib_$ac_lib_var=yes" | 5298 eval "ac_cv_lib_$ac_lib_var=yes" |
5304 else | 5299 else |
5305 echo "configure: failed program was:" >&5 | 5300 echo "configure: failed program was:" >&5 |
5306 cat conftest.$ac_ext >&5 | 5301 cat conftest.$ac_ext >&5 |
5318 fi | 5313 fi |
5319 | 5314 |
5320 | 5315 |
5321 | 5316 |
5322 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5317 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5323 echo "configure:5324: checking for main in -lglade" >&5 | 5318 echo "configure:5319: checking for main in -lglade" >&5 |
5324 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5319 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5325 | 5320 |
5326 xe_check_libs=" -lglade " | 5321 xe_check_libs=" -lglade " |
5327 cat > conftest.$ac_ext <<EOF | 5322 cat > conftest.$ac_ext <<EOF |
5328 #line 5329 "configure" | 5323 #line 5324 "configure" |
5329 #include "confdefs.h" | 5324 #include "confdefs.h" |
5330 | 5325 |
5331 int main() { | 5326 int main() { |
5332 main() | 5327 main() |
5333 ; return 0; } | 5328 ; return 0; } |
5334 EOF | 5329 EOF |
5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5330 if { (eval echo configure:5331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5336 rm -rf conftest* | 5331 rm -rf conftest* |
5337 eval "ac_cv_lib_$ac_lib_var=yes" | 5332 eval "ac_cv_lib_$ac_lib_var=yes" |
5338 else | 5333 else |
5339 echo "configure: failed program was:" >&5 | 5334 echo "configure: failed program was:" >&5 |
5340 cat conftest.$ac_ext >&5 | 5335 cat conftest.$ac_ext >&5 |
5352 fi | 5347 fi |
5353 | 5348 |
5354 | 5349 |
5355 | 5350 |
5356 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5351 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5357 echo "configure:5358: checking for main in -lglade-gnome" >&5 | 5352 echo "configure:5353: checking for main in -lglade-gnome" >&5 |
5358 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5353 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5359 | 5354 |
5360 xe_check_libs=" -lglade-gnome " | 5355 xe_check_libs=" -lglade-gnome " |
5361 cat > conftest.$ac_ext <<EOF | 5356 cat > conftest.$ac_ext <<EOF |
5362 #line 5363 "configure" | 5357 #line 5358 "configure" |
5363 #include "confdefs.h" | 5358 #include "confdefs.h" |
5364 | 5359 |
5365 int main() { | 5360 int main() { |
5366 main() | 5361 main() |
5367 ; return 0; } | 5362 ; return 0; } |
5368 EOF | 5363 EOF |
5369 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5370 rm -rf conftest* | 5365 rm -rf conftest* |
5371 eval "ac_cv_lib_$ac_lib_var=yes" | 5366 eval "ac_cv_lib_$ac_lib_var=yes" |
5372 else | 5367 else |
5373 echo "configure: failed program was:" >&5 | 5368 echo "configure: failed program was:" >&5 |
5374 cat conftest.$ac_ext >&5 | 5369 cat conftest.$ac_ext >&5 |
5385 echo "$ac_t""no" 1>&6 | 5380 echo "$ac_t""no" 1>&6 |
5386 fi | 5381 fi |
5387 | 5382 |
5388 | 5383 |
5389 cat > conftest.$ac_ext <<EOF | 5384 cat > conftest.$ac_ext <<EOF |
5390 #line 5391 "configure" | 5385 #line 5386 "configure" |
5391 #include "confdefs.h" | 5386 #include "confdefs.h" |
5392 #include <glade/glade-xml.h> | 5387 #include <glade/glade-xml.h> |
5393 EOF | 5388 EOF |
5394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5395 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5390 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5443 # If we find X, set shell vars x_includes and x_libraries to the | 5438 # If we find X, set shell vars x_includes and x_libraries to the |
5444 # paths, otherwise set no_x=yes. | 5439 # paths, otherwise set no_x=yes. |
5445 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5440 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5446 # --without-x overrides everything else, but does not touch the cache. | 5441 # --without-x overrides everything else, but does not touch the cache. |
5447 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5442 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5448 echo "configure:5449: checking for X" >&5 | 5443 echo "configure:5444: checking for X" >&5 |
5449 | 5444 |
5450 # Check whether --with-x or --without-x was given. | 5445 # Check whether --with-x or --without-x was given. |
5451 if test "${with_x+set}" = set; then | 5446 if test "${with_x+set}" = set; then |
5452 withval="$with_x" | 5447 withval="$with_x" |
5453 : | 5448 : |
5503 # Guess where to find include files, by looking for this one X11 .h file. | 5498 # Guess where to find include files, by looking for this one X11 .h file. |
5504 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5499 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5505 | 5500 |
5506 # First, try using that file with no special directory specified. | 5501 # First, try using that file with no special directory specified. |
5507 cat > conftest.$ac_ext <<EOF | 5502 cat > conftest.$ac_ext <<EOF |
5508 #line 5509 "configure" | 5503 #line 5504 "configure" |
5509 #include "confdefs.h" | 5504 #include "confdefs.h" |
5510 #include <$x_direct_test_include> | 5505 #include <$x_direct_test_include> |
5511 EOF | 5506 EOF |
5512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5513 { (eval echo configure:5514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5508 { (eval echo configure:5509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5515 if test -z "$ac_err"; then | 5510 if test -z "$ac_err"; then |
5516 rm -rf conftest* | 5511 rm -rf conftest* |
5517 # We can compile using X headers with no special include directory. | 5512 # We can compile using X headers with no special include directory. |
5518 ac_x_includes= | 5513 ac_x_includes= |
5577 # See if we find them without any special options. | 5572 # See if we find them without any special options. |
5578 # Don't add to $LIBS permanently. | 5573 # Don't add to $LIBS permanently. |
5579 ac_save_LIBS="$LIBS" | 5574 ac_save_LIBS="$LIBS" |
5580 LIBS="-l$x_direct_test_library $LIBS" | 5575 LIBS="-l$x_direct_test_library $LIBS" |
5581 cat > conftest.$ac_ext <<EOF | 5576 cat > conftest.$ac_ext <<EOF |
5582 #line 5583 "configure" | 5577 #line 5578 "configure" |
5583 #include "confdefs.h" | 5578 #include "confdefs.h" |
5584 | 5579 |
5585 int main() { | 5580 int main() { |
5586 ${x_direct_test_function}() | 5581 ${x_direct_test_function}() |
5587 ; return 0; } | 5582 ; return 0; } |
5588 EOF | 5583 EOF |
5589 if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5584 if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5590 rm -rf conftest* | 5585 rm -rf conftest* |
5591 LIBS="$ac_save_LIBS" | 5586 LIBS="$ac_save_LIBS" |
5592 # We can link X programs with no special library path. | 5587 # We can link X programs with no special library path. |
5593 ac_x_libraries= | 5588 ac_x_libraries= |
5594 else | 5589 else |
5693 # For Solaris; some versions of Sun CC require a space after -R and | 5688 # For Solaris; some versions of Sun CC require a space after -R and |
5694 # others require no space. Words are not sufficient . . . . | 5689 # others require no space. Words are not sufficient . . . . |
5695 case "`(uname -sr) 2>/dev/null`" in | 5690 case "`(uname -sr) 2>/dev/null`" in |
5696 "SunOS 5"*) | 5691 "SunOS 5"*) |
5697 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5692 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5698 echo "configure:5699: checking whether -R must be followed by a space" >&5 | 5693 echo "configure:5694: checking whether -R must be followed by a space" >&5 |
5699 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5694 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5700 cat > conftest.$ac_ext <<EOF | 5695 cat > conftest.$ac_ext <<EOF |
5701 #line 5702 "configure" | 5696 #line 5697 "configure" |
5702 #include "confdefs.h" | 5697 #include "confdefs.h" |
5703 | 5698 |
5704 int main() { | 5699 int main() { |
5705 | 5700 |
5706 ; return 0; } | 5701 ; return 0; } |
5707 EOF | 5702 EOF |
5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5709 rm -rf conftest* | 5704 rm -rf conftest* |
5710 ac_R_nospace=yes | 5705 ac_R_nospace=yes |
5711 else | 5706 else |
5712 echo "configure: failed program was:" >&5 | 5707 echo "configure: failed program was:" >&5 |
5713 cat conftest.$ac_ext >&5 | 5708 cat conftest.$ac_ext >&5 |
5719 echo "$ac_t""no" 1>&6 | 5714 echo "$ac_t""no" 1>&6 |
5720 X_LIBS="$X_LIBS -R$x_libraries" | 5715 X_LIBS="$X_LIBS -R$x_libraries" |
5721 else | 5716 else |
5722 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5717 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5723 cat > conftest.$ac_ext <<EOF | 5718 cat > conftest.$ac_ext <<EOF |
5724 #line 5725 "configure" | 5719 #line 5720 "configure" |
5725 #include "confdefs.h" | 5720 #include "confdefs.h" |
5726 | 5721 |
5727 int main() { | 5722 int main() { |
5728 | 5723 |
5729 ; return 0; } | 5724 ; return 0; } |
5730 EOF | 5725 EOF |
5731 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5726 if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5732 rm -rf conftest* | 5727 rm -rf conftest* |
5733 ac_R_space=yes | 5728 ac_R_space=yes |
5734 else | 5729 else |
5735 echo "configure: failed program was:" >&5 | 5730 echo "configure: failed program was:" >&5 |
5736 cat conftest.$ac_ext >&5 | 5731 cat conftest.$ac_ext >&5 |
5762 if test "$with_dnet" = "no" ; then | 5757 if test "$with_dnet" = "no" ; then |
5763 ac_cv_lib_dnet_dnet_ntoa=no | 5758 ac_cv_lib_dnet_dnet_ntoa=no |
5764 else | 5759 else |
5765 | 5760 |
5766 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5761 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5767 echo "configure:5768: checking for dnet_ntoa in -ldnet" >&5 | 5762 echo "configure:5763: checking for dnet_ntoa in -ldnet" >&5 |
5768 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5763 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5769 | 5764 |
5770 xe_check_libs=" -ldnet " | 5765 xe_check_libs=" -ldnet " |
5771 cat > conftest.$ac_ext <<EOF | 5766 cat > conftest.$ac_ext <<EOF |
5772 #line 5773 "configure" | 5767 #line 5768 "configure" |
5773 #include "confdefs.h" | 5768 #include "confdefs.h" |
5774 /* Override any gcc2 internal prototype to avoid an error. */ | 5769 /* Override any gcc2 internal prototype to avoid an error. */ |
5775 /* We use char because int might match the return type of a gcc2 | 5770 /* We use char because int might match the return type of a gcc2 |
5776 builtin and then its argument prototype would still apply. */ | 5771 builtin and then its argument prototype would still apply. */ |
5777 char dnet_ntoa(); | 5772 char dnet_ntoa(); |
5778 | 5773 |
5779 int main() { | 5774 int main() { |
5780 dnet_ntoa() | 5775 dnet_ntoa() |
5781 ; return 0; } | 5776 ; return 0; } |
5782 EOF | 5777 EOF |
5783 if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5784 rm -rf conftest* | 5779 rm -rf conftest* |
5785 eval "ac_cv_lib_$ac_lib_var=yes" | 5780 eval "ac_cv_lib_$ac_lib_var=yes" |
5786 else | 5781 else |
5787 echo "configure: failed program was:" >&5 | 5782 echo "configure: failed program was:" >&5 |
5788 cat conftest.$ac_ext >&5 | 5783 cat conftest.$ac_ext >&5 |
5802 fi | 5797 fi |
5803 | 5798 |
5804 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5799 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5805 | 5800 |
5806 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5801 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5807 echo "configure:5808: checking for dnet_ntoa in -ldnet_stub" >&5 | 5802 echo "configure:5803: checking for dnet_ntoa in -ldnet_stub" >&5 |
5808 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5803 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5809 | 5804 |
5810 xe_check_libs=" -ldnet_stub " | 5805 xe_check_libs=" -ldnet_stub " |
5811 cat > conftest.$ac_ext <<EOF | 5806 cat > conftest.$ac_ext <<EOF |
5812 #line 5813 "configure" | 5807 #line 5808 "configure" |
5813 #include "confdefs.h" | 5808 #include "confdefs.h" |
5814 /* Override any gcc2 internal prototype to avoid an error. */ | 5809 /* Override any gcc2 internal prototype to avoid an error. */ |
5815 /* We use char because int might match the return type of a gcc2 | 5810 /* We use char because int might match the return type of a gcc2 |
5816 builtin and then its argument prototype would still apply. */ | 5811 builtin and then its argument prototype would still apply. */ |
5817 char dnet_ntoa(); | 5812 char dnet_ntoa(); |
5818 | 5813 |
5819 int main() { | 5814 int main() { |
5820 dnet_ntoa() | 5815 dnet_ntoa() |
5821 ; return 0; } | 5816 ; return 0; } |
5822 EOF | 5817 EOF |
5823 if { (eval echo configure:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5824 rm -rf conftest* | 5819 rm -rf conftest* |
5825 eval "ac_cv_lib_$ac_lib_var=yes" | 5820 eval "ac_cv_lib_$ac_lib_var=yes" |
5826 else | 5821 else |
5827 echo "configure: failed program was:" >&5 | 5822 echo "configure: failed program was:" >&5 |
5828 cat conftest.$ac_ext >&5 | 5823 cat conftest.$ac_ext >&5 |
5847 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5842 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5848 # needs -lnsl. | 5843 # needs -lnsl. |
5849 # The nsl library prevents programs from opening the X display | 5844 # The nsl library prevents programs from opening the X display |
5850 # on Irix 5.2, according to dickey@clark.net. | 5845 # on Irix 5.2, according to dickey@clark.net. |
5851 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5846 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5852 echo "configure:5853: checking for gethostbyname" >&5 | 5847 echo "configure:5848: checking for gethostbyname" >&5 |
5853 | 5848 |
5854 cat > conftest.$ac_ext <<EOF | 5849 cat > conftest.$ac_ext <<EOF |
5855 #line 5856 "configure" | 5850 #line 5851 "configure" |
5856 #include "confdefs.h" | 5851 #include "confdefs.h" |
5857 /* System header to define __stub macros and hopefully few prototypes, | 5852 /* System header to define __stub macros and hopefully few prototypes, |
5858 which can conflict with char gethostbyname(); below. */ | 5853 which can conflict with char gethostbyname(); below. */ |
5859 #include <assert.h> | 5854 #include <assert.h> |
5860 /* Override any gcc2 internal prototype to avoid an error. */ | 5855 /* Override any gcc2 internal prototype to avoid an error. */ |
5873 gethostbyname(); | 5868 gethostbyname(); |
5874 #endif | 5869 #endif |
5875 | 5870 |
5876 ; return 0; } | 5871 ; return 0; } |
5877 EOF | 5872 EOF |
5878 if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5873 if { (eval echo configure:5874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5879 rm -rf conftest* | 5874 rm -rf conftest* |
5880 eval "ac_cv_func_gethostbyname=yes" | 5875 eval "ac_cv_func_gethostbyname=yes" |
5881 else | 5876 else |
5882 echo "configure: failed program was:" >&5 | 5877 echo "configure: failed program was:" >&5 |
5883 cat conftest.$ac_ext >&5 | 5878 cat conftest.$ac_ext >&5 |
5894 fi | 5889 fi |
5895 | 5890 |
5896 if test $ac_cv_func_gethostbyname = no; then | 5891 if test $ac_cv_func_gethostbyname = no; then |
5897 | 5892 |
5898 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5893 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5899 echo "configure:5900: checking for gethostbyname in -lnsl" >&5 | 5894 echo "configure:5895: checking for gethostbyname in -lnsl" >&5 |
5900 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5895 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5901 | 5896 |
5902 xe_check_libs=" -lnsl " | 5897 xe_check_libs=" -lnsl " |
5903 cat > conftest.$ac_ext <<EOF | 5898 cat > conftest.$ac_ext <<EOF |
5904 #line 5905 "configure" | 5899 #line 5900 "configure" |
5905 #include "confdefs.h" | 5900 #include "confdefs.h" |
5906 /* Override any gcc2 internal prototype to avoid an error. */ | 5901 /* Override any gcc2 internal prototype to avoid an error. */ |
5907 /* We use char because int might match the return type of a gcc2 | 5902 /* We use char because int might match the return type of a gcc2 |
5908 builtin and then its argument prototype would still apply. */ | 5903 builtin and then its argument prototype would still apply. */ |
5909 char gethostbyname(); | 5904 char gethostbyname(); |
5910 | 5905 |
5911 int main() { | 5906 int main() { |
5912 gethostbyname() | 5907 gethostbyname() |
5913 ; return 0; } | 5908 ; return 0; } |
5914 EOF | 5909 EOF |
5915 if { (eval echo configure:5916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5910 if { (eval echo configure:5911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5916 rm -rf conftest* | 5911 rm -rf conftest* |
5917 eval "ac_cv_lib_$ac_lib_var=yes" | 5912 eval "ac_cv_lib_$ac_lib_var=yes" |
5918 else | 5913 else |
5919 echo "configure: failed program was:" >&5 | 5914 echo "configure: failed program was:" >&5 |
5920 cat conftest.$ac_ext >&5 | 5915 cat conftest.$ac_ext >&5 |
5940 # on later versions), says simon@lia.di.epfl.ch: it contains | 5935 # on later versions), says simon@lia.di.epfl.ch: it contains |
5941 # gethostby* variants that don't use the nameserver (or something). | 5936 # gethostby* variants that don't use the nameserver (or something). |
5942 # -lsocket must be given before -lnsl if both are needed. | 5937 # -lsocket must be given before -lnsl if both are needed. |
5943 # We assume that if connect needs -lnsl, so does gethostbyname. | 5938 # We assume that if connect needs -lnsl, so does gethostbyname. |
5944 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5939 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5945 echo "configure:5946: checking for connect" >&5 | 5940 echo "configure:5941: checking for connect" >&5 |
5946 | 5941 |
5947 cat > conftest.$ac_ext <<EOF | 5942 cat > conftest.$ac_ext <<EOF |
5948 #line 5949 "configure" | 5943 #line 5944 "configure" |
5949 #include "confdefs.h" | 5944 #include "confdefs.h" |
5950 /* System header to define __stub macros and hopefully few prototypes, | 5945 /* System header to define __stub macros and hopefully few prototypes, |
5951 which can conflict with char connect(); below. */ | 5946 which can conflict with char connect(); below. */ |
5952 #include <assert.h> | 5947 #include <assert.h> |
5953 /* Override any gcc2 internal prototype to avoid an error. */ | 5948 /* Override any gcc2 internal prototype to avoid an error. */ |
5966 connect(); | 5961 connect(); |
5967 #endif | 5962 #endif |
5968 | 5963 |
5969 ; return 0; } | 5964 ; return 0; } |
5970 EOF | 5965 EOF |
5971 if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5972 rm -rf conftest* | 5967 rm -rf conftest* |
5973 eval "ac_cv_func_connect=yes" | 5968 eval "ac_cv_func_connect=yes" |
5974 else | 5969 else |
5975 echo "configure: failed program was:" >&5 | 5970 echo "configure: failed program was:" >&5 |
5976 cat conftest.$ac_ext >&5 | 5971 cat conftest.$ac_ext >&5 |
5989 if test $ac_cv_func_connect = no; then | 5984 if test $ac_cv_func_connect = no; then |
5990 | 5985 |
5991 xe_msg_checking="for connect in -lsocket" | 5986 xe_msg_checking="for connect in -lsocket" |
5992 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5987 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5993 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5988 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5994 echo "configure:5995: checking "$xe_msg_checking"" >&5 | 5989 echo "configure:5990: checking "$xe_msg_checking"" >&5 |
5995 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5990 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5996 | 5991 |
5997 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5992 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5998 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
5999 #line 6000 "configure" | 5994 #line 5995 "configure" |
6000 #include "confdefs.h" | 5995 #include "confdefs.h" |
6001 /* Override any gcc2 internal prototype to avoid an error. */ | 5996 /* Override any gcc2 internal prototype to avoid an error. */ |
6002 /* We use char because int might match the return type of a gcc2 | 5997 /* We use char because int might match the return type of a gcc2 |
6003 builtin and then its argument prototype would still apply. */ | 5998 builtin and then its argument prototype would still apply. */ |
6004 char connect(); | 5999 char connect(); |
6005 | 6000 |
6006 int main() { | 6001 int main() { |
6007 connect() | 6002 connect() |
6008 ; return 0; } | 6003 ; return 0; } |
6009 EOF | 6004 EOF |
6010 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6011 rm -rf conftest* | 6006 rm -rf conftest* |
6012 eval "ac_cv_lib_$ac_lib_var=yes" | 6007 eval "ac_cv_lib_$ac_lib_var=yes" |
6013 else | 6008 else |
6014 echo "configure: failed program was:" >&5 | 6009 echo "configure: failed program was:" >&5 |
6015 cat conftest.$ac_ext >&5 | 6010 cat conftest.$ac_ext >&5 |
6029 | 6024 |
6030 fi | 6025 fi |
6031 | 6026 |
6032 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6027 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6033 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6028 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6034 echo "configure:6035: checking for remove" >&5 | 6029 echo "configure:6030: checking for remove" >&5 |
6035 | 6030 |
6036 cat > conftest.$ac_ext <<EOF | 6031 cat > conftest.$ac_ext <<EOF |
6037 #line 6038 "configure" | 6032 #line 6033 "configure" |
6038 #include "confdefs.h" | 6033 #include "confdefs.h" |
6039 /* System header to define __stub macros and hopefully few prototypes, | 6034 /* System header to define __stub macros and hopefully few prototypes, |
6040 which can conflict with char remove(); below. */ | 6035 which can conflict with char remove(); below. */ |
6041 #include <assert.h> | 6036 #include <assert.h> |
6042 /* Override any gcc2 internal prototype to avoid an error. */ | 6037 /* Override any gcc2 internal prototype to avoid an error. */ |
6055 remove(); | 6050 remove(); |
6056 #endif | 6051 #endif |
6057 | 6052 |
6058 ; return 0; } | 6053 ; return 0; } |
6059 EOF | 6054 EOF |
6060 if { (eval echo configure:6061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6055 if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6061 rm -rf conftest* | 6056 rm -rf conftest* |
6062 eval "ac_cv_func_remove=yes" | 6057 eval "ac_cv_func_remove=yes" |
6063 else | 6058 else |
6064 echo "configure: failed program was:" >&5 | 6059 echo "configure: failed program was:" >&5 |
6065 cat conftest.$ac_ext >&5 | 6060 cat conftest.$ac_ext >&5 |
6076 fi | 6071 fi |
6077 | 6072 |
6078 if test $ac_cv_func_remove = no; then | 6073 if test $ac_cv_func_remove = no; then |
6079 | 6074 |
6080 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6075 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6081 echo "configure:6082: checking for remove in -lposix" >&5 | 6076 echo "configure:6077: checking for remove in -lposix" >&5 |
6082 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6077 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6083 | 6078 |
6084 xe_check_libs=" -lposix " | 6079 xe_check_libs=" -lposix " |
6085 cat > conftest.$ac_ext <<EOF | 6080 cat > conftest.$ac_ext <<EOF |
6086 #line 6087 "configure" | 6081 #line 6082 "configure" |
6087 #include "confdefs.h" | 6082 #include "confdefs.h" |
6088 /* Override any gcc2 internal prototype to avoid an error. */ | 6083 /* Override any gcc2 internal prototype to avoid an error. */ |
6089 /* We use char because int might match the return type of a gcc2 | 6084 /* We use char because int might match the return type of a gcc2 |
6090 builtin and then its argument prototype would still apply. */ | 6085 builtin and then its argument prototype would still apply. */ |
6091 char remove(); | 6086 char remove(); |
6092 | 6087 |
6093 int main() { | 6088 int main() { |
6094 remove() | 6089 remove() |
6095 ; return 0; } | 6090 ; return 0; } |
6096 EOF | 6091 EOF |
6097 if { (eval echo configure:6098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6098 rm -rf conftest* | 6093 rm -rf conftest* |
6099 eval "ac_cv_lib_$ac_lib_var=yes" | 6094 eval "ac_cv_lib_$ac_lib_var=yes" |
6100 else | 6095 else |
6101 echo "configure: failed program was:" >&5 | 6096 echo "configure: failed program was:" >&5 |
6102 cat conftest.$ac_ext >&5 | 6097 cat conftest.$ac_ext >&5 |
6116 | 6111 |
6117 fi | 6112 fi |
6118 | 6113 |
6119 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6114 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6120 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6115 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6121 echo "configure:6122: checking for shmat" >&5 | 6116 echo "configure:6117: checking for shmat" >&5 |
6122 | 6117 |
6123 cat > conftest.$ac_ext <<EOF | 6118 cat > conftest.$ac_ext <<EOF |
6124 #line 6125 "configure" | 6119 #line 6120 "configure" |
6125 #include "confdefs.h" | 6120 #include "confdefs.h" |
6126 /* System header to define __stub macros and hopefully few prototypes, | 6121 /* System header to define __stub macros and hopefully few prototypes, |
6127 which can conflict with char shmat(); below. */ | 6122 which can conflict with char shmat(); below. */ |
6128 #include <assert.h> | 6123 #include <assert.h> |
6129 /* Override any gcc2 internal prototype to avoid an error. */ | 6124 /* Override any gcc2 internal prototype to avoid an error. */ |
6142 shmat(); | 6137 shmat(); |
6143 #endif | 6138 #endif |
6144 | 6139 |
6145 ; return 0; } | 6140 ; return 0; } |
6146 EOF | 6141 EOF |
6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6142 if { (eval echo configure:6143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6148 rm -rf conftest* | 6143 rm -rf conftest* |
6149 eval "ac_cv_func_shmat=yes" | 6144 eval "ac_cv_func_shmat=yes" |
6150 else | 6145 else |
6151 echo "configure: failed program was:" >&5 | 6146 echo "configure: failed program was:" >&5 |
6152 cat conftest.$ac_ext >&5 | 6147 cat conftest.$ac_ext >&5 |
6163 fi | 6158 fi |
6164 | 6159 |
6165 if test $ac_cv_func_shmat = no; then | 6160 if test $ac_cv_func_shmat = no; then |
6166 | 6161 |
6167 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6162 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6168 echo "configure:6169: checking for shmat in -lipc" >&5 | 6163 echo "configure:6164: checking for shmat in -lipc" >&5 |
6169 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6164 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6170 | 6165 |
6171 xe_check_libs=" -lipc " | 6166 xe_check_libs=" -lipc " |
6172 cat > conftest.$ac_ext <<EOF | 6167 cat > conftest.$ac_ext <<EOF |
6173 #line 6174 "configure" | 6168 #line 6169 "configure" |
6174 #include "confdefs.h" | 6169 #include "confdefs.h" |
6175 /* Override any gcc2 internal prototype to avoid an error. */ | 6170 /* Override any gcc2 internal prototype to avoid an error. */ |
6176 /* We use char because int might match the return type of a gcc2 | 6171 /* We use char because int might match the return type of a gcc2 |
6177 builtin and then its argument prototype would still apply. */ | 6172 builtin and then its argument prototype would still apply. */ |
6178 char shmat(); | 6173 char shmat(); |
6179 | 6174 |
6180 int main() { | 6175 int main() { |
6181 shmat() | 6176 shmat() |
6182 ; return 0; } | 6177 ; return 0; } |
6183 EOF | 6178 EOF |
6184 if { (eval echo configure:6185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6185 rm -rf conftest* | 6180 rm -rf conftest* |
6186 eval "ac_cv_lib_$ac_lib_var=yes" | 6181 eval "ac_cv_lib_$ac_lib_var=yes" |
6187 else | 6182 else |
6188 echo "configure: failed program was:" >&5 | 6183 echo "configure: failed program was:" >&5 |
6189 cat conftest.$ac_ext >&5 | 6184 cat conftest.$ac_ext >&5 |
6215 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6210 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6216 | 6211 |
6217 xe_msg_checking="for IceConnectionNumber in -lICE" | 6212 xe_msg_checking="for IceConnectionNumber in -lICE" |
6218 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6213 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6219 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6214 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6220 echo "configure:6221: checking "$xe_msg_checking"" >&5 | 6215 echo "configure:6216: checking "$xe_msg_checking"" >&5 |
6221 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6216 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6222 | 6217 |
6223 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6218 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6224 cat > conftest.$ac_ext <<EOF | 6219 cat > conftest.$ac_ext <<EOF |
6225 #line 6226 "configure" | 6220 #line 6221 "configure" |
6226 #include "confdefs.h" | 6221 #include "confdefs.h" |
6227 /* Override any gcc2 internal prototype to avoid an error. */ | 6222 /* Override any gcc2 internal prototype to avoid an error. */ |
6228 /* We use char because int might match the return type of a gcc2 | 6223 /* We use char because int might match the return type of a gcc2 |
6229 builtin and then its argument prototype would still apply. */ | 6224 builtin and then its argument prototype would still apply. */ |
6230 char IceConnectionNumber(); | 6225 char IceConnectionNumber(); |
6231 | 6226 |
6232 int main() { | 6227 int main() { |
6233 IceConnectionNumber() | 6228 IceConnectionNumber() |
6234 ; return 0; } | 6229 ; return 0; } |
6235 EOF | 6230 EOF |
6236 if { (eval echo configure:6237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6231 if { (eval echo configure:6232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6237 rm -rf conftest* | 6232 rm -rf conftest* |
6238 eval "ac_cv_lib_$ac_lib_var=yes" | 6233 eval "ac_cv_lib_$ac_lib_var=yes" |
6239 else | 6234 else |
6240 echo "configure: failed program was:" >&5 | 6235 echo "configure: failed program was:" >&5 |
6241 cat conftest.$ac_ext >&5 | 6236 cat conftest.$ac_ext >&5 |
6398 EOF | 6393 EOF |
6399 } | 6394 } |
6400 | 6395 |
6401 | 6396 |
6402 echo "checking for X defines extracted by xmkmf" 1>&6 | 6397 echo "checking for X defines extracted by xmkmf" 1>&6 |
6403 echo "configure:6404: checking for X defines extracted by xmkmf" >&5 | 6398 echo "configure:6399: checking for X defines extracted by xmkmf" >&5 |
6404 rm -fr conftestdir | 6399 rm -fr conftestdir |
6405 if mkdir conftestdir; then | 6400 if mkdir conftestdir; then |
6406 cd conftestdir | 6401 cd conftestdir |
6407 cat > Imakefile <<'EOF' | 6402 cat > Imakefile <<'EOF' |
6408 xetest: | 6403 xetest: |
6413 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` | 6408 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` |
6414 fi | 6409 fi |
6415 cd .. | 6410 cd .. |
6416 rm -fr conftestdir | 6411 rm -fr conftestdir |
6417 for word in $xmkmf_defines; do | 6412 for word in $xmkmf_defines; do |
6418 case "$word" in -D* ) | 6413 case "$word" in |
6414 -D__STDC__*) ;; | |
6415 -D* ) | |
6419 sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` | 6416 sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` |
6420 case "$word" in | 6417 case "$word" in |
6421 -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; | 6418 -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; |
6422 * ) val=1 ;; | 6419 * ) val=1 ;; |
6423 esac | 6420 esac |
6445 done | 6442 done |
6446 fi | 6443 fi |
6447 | 6444 |
6448 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6445 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6449 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6446 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6450 echo "configure:6451: checking for X11/Intrinsic.h" >&5 | 6447 echo "configure:6448: checking for X11/Intrinsic.h" >&5 |
6451 | 6448 |
6452 cat > conftest.$ac_ext <<EOF | 6449 cat > conftest.$ac_ext <<EOF |
6453 #line 6454 "configure" | 6450 #line 6451 "configure" |
6454 #include "confdefs.h" | 6451 #include "confdefs.h" |
6455 #include <X11/Intrinsic.h> | 6452 #include <X11/Intrinsic.h> |
6456 EOF | 6453 EOF |
6457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6458 { (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6455 { (eval echo configure:6456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6460 if test -z "$ac_err"; then | 6457 if test -z "$ac_err"; then |
6461 rm -rf conftest* | 6458 rm -rf conftest* |
6462 eval "ac_cv_header_$ac_safe=yes" | 6459 eval "ac_cv_header_$ac_safe=yes" |
6463 else | 6460 else |
6477 fi | 6474 fi |
6478 | 6475 |
6479 | 6476 |
6480 | 6477 |
6481 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6478 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6482 echo "configure:6483: checking for XOpenDisplay in -lX11" >&5 | 6479 echo "configure:6480: checking for XOpenDisplay in -lX11" >&5 |
6483 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6480 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6484 | 6481 |
6485 xe_check_libs=" -lX11 " | 6482 xe_check_libs=" -lX11 " |
6486 cat > conftest.$ac_ext <<EOF | 6483 cat > conftest.$ac_ext <<EOF |
6487 #line 6488 "configure" | 6484 #line 6485 "configure" |
6488 #include "confdefs.h" | 6485 #include "confdefs.h" |
6489 /* Override any gcc2 internal prototype to avoid an error. */ | 6486 /* Override any gcc2 internal prototype to avoid an error. */ |
6490 /* We use char because int might match the return type of a gcc2 | 6487 /* We use char because int might match the return type of a gcc2 |
6491 builtin and then its argument prototype would still apply. */ | 6488 builtin and then its argument prototype would still apply. */ |
6492 char XOpenDisplay(); | 6489 char XOpenDisplay(); |
6493 | 6490 |
6494 int main() { | 6491 int main() { |
6495 XOpenDisplay() | 6492 XOpenDisplay() |
6496 ; return 0; } | 6493 ; return 0; } |
6497 EOF | 6494 EOF |
6498 if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6495 if { (eval echo configure:6496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6499 rm -rf conftest* | 6496 rm -rf conftest* |
6500 eval "ac_cv_lib_$ac_lib_var=yes" | 6497 eval "ac_cv_lib_$ac_lib_var=yes" |
6501 else | 6498 else |
6502 echo "configure: failed program was:" >&5 | 6499 echo "configure: failed program was:" >&5 |
6503 cat conftest.$ac_ext >&5 | 6500 cat conftest.$ac_ext >&5 |
6518 if test "$have_lib_x11" != "yes"; then | 6515 if test "$have_lib_x11" != "yes"; then |
6519 | 6516 |
6520 xe_msg_checking="for XGetFontProperty in -lX11" | 6517 xe_msg_checking="for XGetFontProperty in -lX11" |
6521 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6518 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6522 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6519 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6523 echo "configure:6524: checking "$xe_msg_checking"" >&5 | 6520 echo "configure:6521: checking "$xe_msg_checking"" >&5 |
6524 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6521 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6525 | 6522 |
6526 xe_check_libs=" -lX11 -b i486-linuxaout" | 6523 xe_check_libs=" -lX11 -b i486-linuxaout" |
6527 cat > conftest.$ac_ext <<EOF | 6524 cat > conftest.$ac_ext <<EOF |
6528 #line 6529 "configure" | 6525 #line 6526 "configure" |
6529 #include "confdefs.h" | 6526 #include "confdefs.h" |
6530 /* Override any gcc2 internal prototype to avoid an error. */ | 6527 /* Override any gcc2 internal prototype to avoid an error. */ |
6531 /* We use char because int might match the return type of a gcc2 | 6528 /* We use char because int might match the return type of a gcc2 |
6532 builtin and then its argument prototype would still apply. */ | 6529 builtin and then its argument prototype would still apply. */ |
6533 char XGetFontProperty(); | 6530 char XGetFontProperty(); |
6534 | 6531 |
6535 int main() { | 6532 int main() { |
6536 XGetFontProperty() | 6533 XGetFontProperty() |
6537 ; return 0; } | 6534 ; return 0; } |
6538 EOF | 6535 EOF |
6539 if { (eval echo configure:6540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6540 rm -rf conftest* | 6537 rm -rf conftest* |
6541 eval "ac_cv_lib_$ac_lib_var=yes" | 6538 eval "ac_cv_lib_$ac_lib_var=yes" |
6542 else | 6539 else |
6543 echo "configure: failed program was:" >&5 | 6540 echo "configure: failed program was:" >&5 |
6544 cat conftest.$ac_ext >&5 | 6541 cat conftest.$ac_ext >&5 |
6561 libs_x="-lX11" | 6558 libs_x="-lX11" |
6562 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6559 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6563 | 6560 |
6564 | 6561 |
6565 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6562 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6566 echo "configure:6567: checking for XShapeSelectInput in -lXext" >&5 | 6563 echo "configure:6564: checking for XShapeSelectInput in -lXext" >&5 |
6567 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6564 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6568 | 6565 |
6569 xe_check_libs=" -lXext " | 6566 xe_check_libs=" -lXext " |
6570 cat > conftest.$ac_ext <<EOF | 6567 cat > conftest.$ac_ext <<EOF |
6571 #line 6572 "configure" | 6568 #line 6569 "configure" |
6572 #include "confdefs.h" | 6569 #include "confdefs.h" |
6573 /* Override any gcc2 internal prototype to avoid an error. */ | 6570 /* Override any gcc2 internal prototype to avoid an error. */ |
6574 /* We use char because int might match the return type of a gcc2 | 6571 /* We use char because int might match the return type of a gcc2 |
6575 builtin and then its argument prototype would still apply. */ | 6572 builtin and then its argument prototype would still apply. */ |
6576 char XShapeSelectInput(); | 6573 char XShapeSelectInput(); |
6577 | 6574 |
6578 int main() { | 6575 int main() { |
6579 XShapeSelectInput() | 6576 XShapeSelectInput() |
6580 ; return 0; } | 6577 ; return 0; } |
6581 EOF | 6578 EOF |
6582 if { (eval echo configure:6583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6583 rm -rf conftest* | 6580 rm -rf conftest* |
6584 eval "ac_cv_lib_$ac_lib_var=yes" | 6581 eval "ac_cv_lib_$ac_lib_var=yes" |
6585 else | 6582 else |
6586 echo "configure: failed program was:" >&5 | 6583 echo "configure: failed program was:" >&5 |
6587 cat conftest.$ac_ext >&5 | 6584 cat conftest.$ac_ext >&5 |
6600 | 6597 |
6601 | 6598 |
6602 | 6599 |
6603 | 6600 |
6604 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6601 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6605 echo "configure:6606: checking for XtOpenDisplay in -lXt" >&5 | 6602 echo "configure:6603: checking for XtOpenDisplay in -lXt" >&5 |
6606 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6603 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6607 | 6604 |
6608 xe_check_libs=" -lXt " | 6605 xe_check_libs=" -lXt " |
6609 cat > conftest.$ac_ext <<EOF | 6606 cat > conftest.$ac_ext <<EOF |
6610 #line 6611 "configure" | 6607 #line 6608 "configure" |
6611 #include "confdefs.h" | 6608 #include "confdefs.h" |
6612 /* Override any gcc2 internal prototype to avoid an error. */ | 6609 /* Override any gcc2 internal prototype to avoid an error. */ |
6613 /* We use char because int might match the return type of a gcc2 | 6610 /* We use char because int might match the return type of a gcc2 |
6614 builtin and then its argument prototype would still apply. */ | 6611 builtin and then its argument prototype would still apply. */ |
6615 char XtOpenDisplay(); | 6612 char XtOpenDisplay(); |
6616 | 6613 |
6617 int main() { | 6614 int main() { |
6618 XtOpenDisplay() | 6615 XtOpenDisplay() |
6619 ; return 0; } | 6616 ; return 0; } |
6620 EOF | 6617 EOF |
6621 if { (eval echo configure:6622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6618 if { (eval echo configure:6619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6622 rm -rf conftest* | 6619 rm -rf conftest* |
6623 eval "ac_cv_lib_$ac_lib_var=yes" | 6620 eval "ac_cv_lib_$ac_lib_var=yes" |
6624 else | 6621 else |
6625 echo "configure: failed program was:" >&5 | 6622 echo "configure: failed program was:" >&5 |
6626 cat conftest.$ac_ext >&5 | 6623 cat conftest.$ac_ext >&5 |
6639 fi | 6636 fi |
6640 | 6637 |
6641 | 6638 |
6642 | 6639 |
6643 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6640 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6644 echo "configure:6645: checking the version of X11 being used" >&5 | 6641 echo "configure:6642: checking the version of X11 being used" >&5 |
6645 cat > conftest.$ac_ext <<EOF | 6642 cat > conftest.$ac_ext <<EOF |
6646 #line 6647 "configure" | 6643 #line 6644 "configure" |
6647 #include "confdefs.h" | 6644 #include "confdefs.h" |
6648 #include <X11/Intrinsic.h> | 6645 #include <X11/Intrinsic.h> |
6649 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6646 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6650 EOF | 6647 EOF |
6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6648 if { (eval echo configure:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6652 then | 6649 then |
6653 ./conftest foobar; x11_release=$? | 6650 ./conftest foobar; x11_release=$? |
6654 else | 6651 else |
6655 conftest_rc="$?" | 6652 conftest_rc="$?" |
6656 echo "configure: failed program was:" >&5 | 6653 echo "configure: failed program was:" >&5 |
6677 fi | 6674 fi |
6678 | 6675 |
6679 for ac_func in XConvertCase | 6676 for ac_func in XConvertCase |
6680 do | 6677 do |
6681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6682 echo "configure:6683: checking for $ac_func" >&5 | 6679 echo "configure:6680: checking for $ac_func" >&5 |
6683 | 6680 |
6684 cat > conftest.$ac_ext <<EOF | 6681 cat > conftest.$ac_ext <<EOF |
6685 #line 6686 "configure" | 6682 #line 6683 "configure" |
6686 #include "confdefs.h" | 6683 #include "confdefs.h" |
6687 /* System header to define __stub macros and hopefully few prototypes, | 6684 /* System header to define __stub macros and hopefully few prototypes, |
6688 which can conflict with char $ac_func(); below. */ | 6685 which can conflict with char $ac_func(); below. */ |
6689 #include <assert.h> | 6686 #include <assert.h> |
6690 /* Override any gcc2 internal prototype to avoid an error. */ | 6687 /* Override any gcc2 internal prototype to avoid an error. */ |
6703 $ac_func(); | 6700 $ac_func(); |
6704 #endif | 6701 #endif |
6705 | 6702 |
6706 ; return 0; } | 6703 ; return 0; } |
6707 EOF | 6704 EOF |
6708 if { (eval echo configure:6709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6705 if { (eval echo configure:6706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6709 rm -rf conftest* | 6706 rm -rf conftest* |
6710 eval "ac_cv_func_$ac_func=yes" | 6707 eval "ac_cv_func_$ac_func=yes" |
6711 else | 6708 else |
6712 echo "configure: failed program was:" >&5 | 6709 echo "configure: failed program was:" >&5 |
6713 cat conftest.$ac_ext >&5 | 6710 cat conftest.$ac_ext >&5 |
6735 | 6732 |
6736 for ac_hdr in X11/Xlocale.h | 6733 for ac_hdr in X11/Xlocale.h |
6737 do | 6734 do |
6738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6735 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6736 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6740 echo "configure:6741: checking for $ac_hdr" >&5 | 6737 echo "configure:6738: checking for $ac_hdr" >&5 |
6741 | 6738 |
6742 cat > conftest.$ac_ext <<EOF | 6739 cat > conftest.$ac_ext <<EOF |
6743 #line 6744 "configure" | 6740 #line 6741 "configure" |
6744 #include "confdefs.h" | 6741 #include "confdefs.h" |
6745 #include <$ac_hdr> | 6742 #include <$ac_hdr> |
6746 EOF | 6743 EOF |
6747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6748 { (eval echo configure:6749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6750 if test -z "$ac_err"; then | 6747 if test -z "$ac_err"; then |
6751 rm -rf conftest* | 6748 rm -rf conftest* |
6752 eval "ac_cv_header_$ac_safe=yes" | 6749 eval "ac_cv_header_$ac_safe=yes" |
6753 else | 6750 else |
6776 | 6773 |
6777 | 6774 |
6778 for ac_func in XRegisterIMInstantiateCallback | 6775 for ac_func in XRegisterIMInstantiateCallback |
6779 do | 6776 do |
6780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6781 echo "configure:6782: checking for $ac_func" >&5 | 6778 echo "configure:6779: checking for $ac_func" >&5 |
6782 | 6779 |
6783 cat > conftest.$ac_ext <<EOF | 6780 cat > conftest.$ac_ext <<EOF |
6784 #line 6785 "configure" | 6781 #line 6782 "configure" |
6785 #include "confdefs.h" | 6782 #include "confdefs.h" |
6786 /* System header to define __stub macros and hopefully few prototypes, | 6783 /* System header to define __stub macros and hopefully few prototypes, |
6787 which can conflict with char $ac_func(); below. */ | 6784 which can conflict with char $ac_func(); below. */ |
6788 #include <assert.h> | 6785 #include <assert.h> |
6789 /* Override any gcc2 internal prototype to avoid an error. */ | 6786 /* Override any gcc2 internal prototype to avoid an error. */ |
6802 $ac_func(); | 6799 $ac_func(); |
6803 #endif | 6800 #endif |
6804 | 6801 |
6805 ; return 0; } | 6802 ; return 0; } |
6806 EOF | 6803 EOF |
6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6808 rm -rf conftest* | 6805 rm -rf conftest* |
6809 eval "ac_cv_func_$ac_func=yes" | 6806 eval "ac_cv_func_$ac_func=yes" |
6810 else | 6807 else |
6811 echo "configure: failed program was:" >&5 | 6808 echo "configure: failed program was:" >&5 |
6812 cat conftest.$ac_ext >&5 | 6809 cat conftest.$ac_ext >&5 |
6830 echo "$ac_t""no" 1>&6 | 6827 echo "$ac_t""no" 1>&6 |
6831 fi | 6828 fi |
6832 done | 6829 done |
6833 | 6830 |
6834 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6831 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6835 echo "configure:6836: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6832 echo "configure:6833: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6836 cat > conftest.$ac_ext <<EOF | 6833 cat > conftest.$ac_ext <<EOF |
6837 #line 6838 "configure" | 6834 #line 6835 "configure" |
6838 #include "confdefs.h" | 6835 #include "confdefs.h" |
6839 | 6836 |
6840 #define NeedFunctionPrototypes 1 | 6837 #define NeedFunctionPrototypes 1 |
6841 #include <X11/Xlib.h> | 6838 #include <X11/Xlib.h> |
6842 extern Bool XRegisterIMInstantiateCallback( | 6839 extern Bool XRegisterIMInstantiateCallback( |
6844 | 6841 |
6845 int main() { | 6842 int main() { |
6846 | 6843 |
6847 ; return 0; } | 6844 ; return 0; } |
6848 EOF | 6845 EOF |
6849 if { (eval echo configure:6850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6846 if { (eval echo configure:6847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6850 rm -rf conftest* | 6847 rm -rf conftest* |
6851 echo "$ac_t""yes" 1>&6 | 6848 echo "$ac_t""yes" 1>&6 |
6852 else | 6849 else |
6853 echo "configure: failed program was:" >&5 | 6850 echo "configure: failed program was:" >&5 |
6854 cat conftest.$ac_ext >&5 | 6851 cat conftest.$ac_ext >&5 |
6865 fi | 6862 fi |
6866 rm -f conftest* | 6863 rm -f conftest* |
6867 | 6864 |
6868 test -z "$with_xmu" && { | 6865 test -z "$with_xmu" && { |
6869 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6870 echo "configure:6871: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6867 echo "configure:6868: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6871 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6868 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6872 | 6869 |
6873 xe_check_libs=" -lXmu " | 6870 xe_check_libs=" -lXmu " |
6874 cat > conftest.$ac_ext <<EOF | 6871 cat > conftest.$ac_ext <<EOF |
6875 #line 6876 "configure" | 6872 #line 6873 "configure" |
6876 #include "confdefs.h" | 6873 #include "confdefs.h" |
6877 /* Override any gcc2 internal prototype to avoid an error. */ | 6874 /* Override any gcc2 internal prototype to avoid an error. */ |
6878 /* We use char because int might match the return type of a gcc2 | 6875 /* We use char because int might match the return type of a gcc2 |
6879 builtin and then its argument prototype would still apply. */ | 6876 builtin and then its argument prototype would still apply. */ |
6880 char XmuReadBitmapDataFromFile(); | 6877 char XmuReadBitmapDataFromFile(); |
6881 | 6878 |
6882 int main() { | 6879 int main() { |
6883 XmuReadBitmapDataFromFile() | 6880 XmuReadBitmapDataFromFile() |
6884 ; return 0; } | 6881 ; return 0; } |
6885 EOF | 6882 EOF |
6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6883 if { (eval echo configure:6884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6887 rm -rf conftest* | 6884 rm -rf conftest* |
6888 eval "ac_cv_lib_$ac_lib_var=yes" | 6885 eval "ac_cv_lib_$ac_lib_var=yes" |
6889 else | 6886 else |
6890 echo "configure: failed program was:" >&5 | 6887 echo "configure: failed program was:" >&5 |
6891 cat conftest.$ac_ext >&5 | 6888 cat conftest.$ac_ext >&5 |
6920 | 6917 |
6921 fi | 6918 fi |
6922 | 6919 |
6923 | 6920 |
6924 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6921 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6925 echo "configure:6926: checking for main in -lXbsd" >&5 | 6922 echo "configure:6923: checking for main in -lXbsd" >&5 |
6926 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6923 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6927 | 6924 |
6928 xe_check_libs=" -lXbsd " | 6925 xe_check_libs=" -lXbsd " |
6929 cat > conftest.$ac_ext <<EOF | 6926 cat > conftest.$ac_ext <<EOF |
6930 #line 6931 "configure" | 6927 #line 6928 "configure" |
6931 #include "confdefs.h" | 6928 #include "confdefs.h" |
6932 | 6929 |
6933 int main() { | 6930 int main() { |
6934 main() | 6931 main() |
6935 ; return 0; } | 6932 ; return 0; } |
6936 EOF | 6933 EOF |
6937 if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6934 if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6938 rm -rf conftest* | 6935 rm -rf conftest* |
6939 eval "ac_cv_lib_$ac_lib_var=yes" | 6936 eval "ac_cv_lib_$ac_lib_var=yes" |
6940 else | 6937 else |
6941 echo "configure: failed program was:" >&5 | 6938 echo "configure: failed program was:" >&5 |
6942 cat conftest.$ac_ext >&5 | 6939 cat conftest.$ac_ext >&5 |
6969 fi | 6966 fi |
6970 | 6967 |
6971 fi | 6968 fi |
6972 if test "$with_msw" != "no"; then | 6969 if test "$with_msw" != "no"; then |
6973 echo "checking for MS-Windows" 1>&6 | 6970 echo "checking for MS-Windows" 1>&6 |
6974 echo "configure:6975: checking for MS-Windows" >&5 | 6971 echo "configure:6972: checking for MS-Windows" >&5 |
6975 | 6972 |
6976 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6973 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking for main in -lgdi32" >&5 | 6974 echo "configure:6975: checking for main in -lgdi32" >&5 |
6978 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6975 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6979 | 6976 |
6980 xe_check_libs=" -lgdi32 " | 6977 xe_check_libs=" -lgdi32 " |
6981 cat > conftest.$ac_ext <<EOF | 6978 cat > conftest.$ac_ext <<EOF |
6982 #line 6983 "configure" | 6979 #line 6980 "configure" |
6983 #include "confdefs.h" | 6980 #include "confdefs.h" |
6984 | 6981 |
6985 int main() { | 6982 int main() { |
6986 main() | 6983 main() |
6987 ; return 0; } | 6984 ; return 0; } |
6988 EOF | 6985 EOF |
6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6986 if { (eval echo configure:6987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6990 rm -rf conftest* | 6987 rm -rf conftest* |
6991 eval "ac_cv_lib_$ac_lib_var=yes" | 6988 eval "ac_cv_lib_$ac_lib_var=yes" |
6992 else | 6989 else |
6993 echo "configure: failed program was:" >&5 | 6990 echo "configure: failed program was:" >&5 |
6994 cat conftest.$ac_ext >&5 | 6991 cat conftest.$ac_ext >&5 |
7057 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7054 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7058 echo " xemacs will be linked with \"dialog-msw.o\"" | 7055 echo " xemacs will be linked with \"dialog-msw.o\"" |
7059 fi | 7056 fi |
7060 fi | 7057 fi |
7061 cat > conftest.$ac_ext <<EOF | 7058 cat > conftest.$ac_ext <<EOF |
7062 #line 7063 "configure" | 7059 #line 7060 "configure" |
7063 #include "confdefs.h" | 7060 #include "confdefs.h" |
7064 #include <fcntl.h> | 7061 #include <fcntl.h> |
7065 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7062 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7066 EOF | 7063 EOF |
7067 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7064 if { (eval echo configure:7065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7068 then | 7065 then |
7069 { test "$extra_verbose" = "yes" && cat << \EOF | 7066 { test "$extra_verbose" = "yes" && cat << \EOF |
7070 Defining HAVE_MSG_SELECT | 7067 Defining HAVE_MSG_SELECT |
7071 EOF | 7068 EOF |
7072 cat >> confdefs.h <<\EOF | 7069 cat >> confdefs.h <<\EOF |
7126 fi | 7123 fi |
7127 | 7124 |
7128 if test "$with_x11" = "yes"; then | 7125 if test "$with_x11" = "yes"; then |
7129 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7126 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7130 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7127 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7131 echo "configure:7132: checking for X11/extensions/shape.h" >&5 | 7128 echo "configure:7129: checking for X11/extensions/shape.h" >&5 |
7132 | 7129 |
7133 cat > conftest.$ac_ext <<EOF | 7130 cat > conftest.$ac_ext <<EOF |
7134 #line 7135 "configure" | 7131 #line 7132 "configure" |
7135 #include "confdefs.h" | 7132 #include "confdefs.h" |
7136 #include <X11/extensions/shape.h> | 7133 #include <X11/extensions/shape.h> |
7137 EOF | 7134 EOF |
7138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7139 { (eval echo configure:7140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7136 { (eval echo configure:7137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7141 if test -z "$ac_err"; then | 7138 if test -z "$ac_err"; then |
7142 rm -rf conftest* | 7139 rm -rf conftest* |
7143 eval "ac_cv_header_$ac_safe=yes" | 7140 eval "ac_cv_header_$ac_safe=yes" |
7144 else | 7141 else |
7186 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7183 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7187 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7184 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7188 esac | 7185 esac |
7189 | 7186 |
7190 echo "checking for WM_COMMAND option" 1>&6 | 7187 echo "checking for WM_COMMAND option" 1>&6 |
7191 echo "configure:7192: checking for WM_COMMAND option" >&5; | 7188 echo "configure:7189: checking for WM_COMMAND option" >&5; |
7192 if test "$with_wmcommand" != "no"; then | 7189 if test "$with_wmcommand" != "no"; then |
7193 { test "$extra_verbose" = "yes" && cat << \EOF | 7190 { test "$extra_verbose" = "yes" && cat << \EOF |
7194 Defining HAVE_WMCOMMAND | 7191 Defining HAVE_WMCOMMAND |
7195 EOF | 7192 EOF |
7196 cat >> confdefs.h <<\EOF | 7193 cat >> confdefs.h <<\EOF |
7201 fi | 7198 fi |
7202 | 7199 |
7203 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7200 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7204 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7201 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7205 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7202 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7206 echo "configure:7207: checking for X11/Xauth.h" >&5 | 7203 echo "configure:7204: checking for X11/Xauth.h" >&5 |
7207 | 7204 |
7208 cat > conftest.$ac_ext <<EOF | 7205 cat > conftest.$ac_ext <<EOF |
7209 #line 7210 "configure" | 7206 #line 7207 "configure" |
7210 #include "confdefs.h" | 7207 #include "confdefs.h" |
7211 #include <X11/Xauth.h> | 7208 #include <X11/Xauth.h> |
7212 EOF | 7209 EOF |
7213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7214 { (eval echo configure:7215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7211 { (eval echo configure:7212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7216 if test -z "$ac_err"; then | 7213 if test -z "$ac_err"; then |
7217 rm -rf conftest* | 7214 rm -rf conftest* |
7218 eval "ac_cv_header_$ac_safe=yes" | 7215 eval "ac_cv_header_$ac_safe=yes" |
7219 else | 7216 else |
7232 with_xauth=no | 7229 with_xauth=no |
7233 fi | 7230 fi |
7234 } | 7231 } |
7235 test -z "$with_xauth" && { | 7232 test -z "$with_xauth" && { |
7236 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7233 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7237 echo "configure:7238: checking for XauGetAuthByAddr in -lXau" >&5 | 7234 echo "configure:7235: checking for XauGetAuthByAddr in -lXau" >&5 |
7238 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7235 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7239 | 7236 |
7240 xe_check_libs=" -lXau " | 7237 xe_check_libs=" -lXau " |
7241 cat > conftest.$ac_ext <<EOF | 7238 cat > conftest.$ac_ext <<EOF |
7242 #line 7243 "configure" | 7239 #line 7240 "configure" |
7243 #include "confdefs.h" | 7240 #include "confdefs.h" |
7244 /* Override any gcc2 internal prototype to avoid an error. */ | 7241 /* Override any gcc2 internal prototype to avoid an error. */ |
7245 /* We use char because int might match the return type of a gcc2 | 7242 /* We use char because int might match the return type of a gcc2 |
7246 builtin and then its argument prototype would still apply. */ | 7243 builtin and then its argument prototype would still apply. */ |
7247 char XauGetAuthByAddr(); | 7244 char XauGetAuthByAddr(); |
7248 | 7245 |
7249 int main() { | 7246 int main() { |
7250 XauGetAuthByAddr() | 7247 XauGetAuthByAddr() |
7251 ; return 0; } | 7248 ; return 0; } |
7252 EOF | 7249 EOF |
7253 if { (eval echo configure:7254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7250 if { (eval echo configure:7251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7254 rm -rf conftest* | 7251 rm -rf conftest* |
7255 eval "ac_cv_lib_$ac_lib_var=yes" | 7252 eval "ac_cv_lib_$ac_lib_var=yes" |
7256 else | 7253 else |
7257 echo "configure: failed program was:" >&5 | 7254 echo "configure: failed program was:" >&5 |
7258 cat conftest.$ac_ext >&5 | 7255 cat conftest.$ac_ext >&5 |
7293 | 7290 |
7294 if test "$with_tooltalk" != "no" ; then | 7291 if test "$with_tooltalk" != "no" ; then |
7295 for dir in "" "Tt/" "desktop/" ; do | 7292 for dir in "" "Tt/" "desktop/" ; do |
7296 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7293 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7297 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7294 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7298 echo "configure:7299: checking for ${dir}tt_c.h" >&5 | 7295 echo "configure:7296: checking for ${dir}tt_c.h" >&5 |
7299 | 7296 |
7300 cat > conftest.$ac_ext <<EOF | 7297 cat > conftest.$ac_ext <<EOF |
7301 #line 7302 "configure" | 7298 #line 7299 "configure" |
7302 #include "confdefs.h" | 7299 #include "confdefs.h" |
7303 #include <${dir}tt_c.h> | 7300 #include <${dir}tt_c.h> |
7304 EOF | 7301 EOF |
7305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7306 { (eval echo configure:7307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7308 if test -z "$ac_err"; then | 7305 if test -z "$ac_err"; then |
7309 rm -rf conftest* | 7306 rm -rf conftest* |
7310 eval "ac_cv_header_$ac_safe=yes" | 7307 eval "ac_cv_header_$ac_safe=yes" |
7311 else | 7308 else |
7337 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7334 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7338 | 7335 |
7339 xe_msg_checking="for tt_message_create in -ltt" | 7336 xe_msg_checking="for tt_message_create in -ltt" |
7340 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7337 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7341 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7342 echo "configure:7343: checking "$xe_msg_checking"" >&5 | 7339 echo "configure:7340: checking "$xe_msg_checking"" >&5 |
7343 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7340 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7344 | 7341 |
7345 xe_check_libs=" -ltt $extra_libs" | 7342 xe_check_libs=" -ltt $extra_libs" |
7346 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7347 #line 7348 "configure" | 7344 #line 7345 "configure" |
7348 #include "confdefs.h" | 7345 #include "confdefs.h" |
7349 /* Override any gcc2 internal prototype to avoid an error. */ | 7346 /* Override any gcc2 internal prototype to avoid an error. */ |
7350 /* We use char because int might match the return type of a gcc2 | 7347 /* We use char because int might match the return type of a gcc2 |
7351 builtin and then its argument prototype would still apply. */ | 7348 builtin and then its argument prototype would still apply. */ |
7352 char tt_message_create(); | 7349 char tt_message_create(); |
7353 | 7350 |
7354 int main() { | 7351 int main() { |
7355 tt_message_create() | 7352 tt_message_create() |
7356 ; return 0; } | 7353 ; return 0; } |
7357 EOF | 7354 EOF |
7358 if { (eval echo configure:7359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7359 rm -rf conftest* | 7356 rm -rf conftest* |
7360 eval "ac_cv_lib_$ac_lib_var=yes" | 7357 eval "ac_cv_lib_$ac_lib_var=yes" |
7361 else | 7358 else |
7362 echo "configure: failed program was:" >&5 | 7359 echo "configure: failed program was:" >&5 |
7363 cat conftest.$ac_ext >&5 | 7360 cat conftest.$ac_ext >&5 |
7410 fi | 7407 fi |
7411 fi | 7408 fi |
7412 | 7409 |
7413 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7410 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7414 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7411 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7415 echo "configure:7416: checking for Dt/Dt.h" >&5 | 7412 echo "configure:7413: checking for Dt/Dt.h" >&5 |
7416 | 7413 |
7417 cat > conftest.$ac_ext <<EOF | 7414 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7415 #line 7416 "configure" |
7419 #include "confdefs.h" | 7416 #include "confdefs.h" |
7420 #include <Dt/Dt.h> | 7417 #include <Dt/Dt.h> |
7421 EOF | 7418 EOF |
7422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7423 { (eval echo configure:7424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7420 { (eval echo configure:7421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7425 if test -z "$ac_err"; then | 7422 if test -z "$ac_err"; then |
7426 rm -rf conftest* | 7423 rm -rf conftest* |
7427 eval "ac_cv_header_$ac_safe=yes" | 7424 eval "ac_cv_header_$ac_safe=yes" |
7428 else | 7425 else |
7441 with_cde=no | 7438 with_cde=no |
7442 fi | 7439 fi |
7443 } | 7440 } |
7444 test -z "$with_cde" && { | 7441 test -z "$with_cde" && { |
7445 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7442 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7446 echo "configure:7447: checking for DtDndDragStart in -lDtSvc" >&5 | 7443 echo "configure:7444: checking for DtDndDragStart in -lDtSvc" >&5 |
7447 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7444 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7448 | 7445 |
7449 xe_check_libs=" -lDtSvc " | 7446 xe_check_libs=" -lDtSvc " |
7450 cat > conftest.$ac_ext <<EOF | 7447 cat > conftest.$ac_ext <<EOF |
7451 #line 7452 "configure" | 7448 #line 7449 "configure" |
7452 #include "confdefs.h" | 7449 #include "confdefs.h" |
7453 /* Override any gcc2 internal prototype to avoid an error. */ | 7450 /* Override any gcc2 internal prototype to avoid an error. */ |
7454 /* We use char because int might match the return type of a gcc2 | 7451 /* We use char because int might match the return type of a gcc2 |
7455 builtin and then its argument prototype would still apply. */ | 7452 builtin and then its argument prototype would still apply. */ |
7456 char DtDndDragStart(); | 7453 char DtDndDragStart(); |
7457 | 7454 |
7458 int main() { | 7455 int main() { |
7459 DtDndDragStart() | 7456 DtDndDragStart() |
7460 ; return 0; } | 7457 ; return 0; } |
7461 EOF | 7458 EOF |
7462 if { (eval echo configure:7463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7459 if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7463 rm -rf conftest* | 7460 rm -rf conftest* |
7464 eval "ac_cv_lib_$ac_lib_var=yes" | 7461 eval "ac_cv_lib_$ac_lib_var=yes" |
7465 else | 7462 else |
7466 echo "configure: failed program was:" >&5 | 7463 echo "configure: failed program was:" >&5 |
7467 cat conftest.$ac_ext >&5 | 7464 cat conftest.$ac_ext >&5 |
7530 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7527 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7531 fi | 7528 fi |
7532 | 7529 |
7533 if test "$with_dragndrop" != "no" ; then | 7530 if test "$with_dragndrop" != "no" ; then |
7534 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7531 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7535 echo "configure:7536: checking if drag and drop API is needed" >&5 | 7532 echo "configure:7533: checking if drag and drop API is needed" >&5 |
7536 if test -n "$dragndrop_proto" ; then | 7533 if test -n "$dragndrop_proto" ; then |
7537 with_dragndrop=yes | 7534 with_dragndrop=yes |
7538 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7535 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7539 { test "$extra_verbose" = "yes" && cat << \EOF | 7536 { test "$extra_verbose" = "yes" && cat << \EOF |
7540 Defining HAVE_DRAGNDROP | 7537 Defining HAVE_DRAGNDROP |
7550 echo "$ac_t""no" 1>&6 | 7547 echo "$ac_t""no" 1>&6 |
7551 fi | 7548 fi |
7552 fi | 7549 fi |
7553 | 7550 |
7554 echo "checking for LDAP" 1>&6 | 7551 echo "checking for LDAP" 1>&6 |
7555 echo "configure:7556: checking for LDAP" >&5 | 7552 echo "configure:7553: checking for LDAP" >&5 |
7556 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7553 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7557 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7554 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7558 echo "configure:7559: checking for ldap.h" >&5 | 7555 echo "configure:7556: checking for ldap.h" >&5 |
7559 | 7556 |
7560 cat > conftest.$ac_ext <<EOF | 7557 cat > conftest.$ac_ext <<EOF |
7561 #line 7562 "configure" | 7558 #line 7559 "configure" |
7562 #include "confdefs.h" | 7559 #include "confdefs.h" |
7563 #include <ldap.h> | 7560 #include <ldap.h> |
7564 EOF | 7561 EOF |
7565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7566 { (eval echo configure:7567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7563 { (eval echo configure:7564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7568 if test -z "$ac_err"; then | 7565 if test -z "$ac_err"; then |
7569 rm -rf conftest* | 7566 rm -rf conftest* |
7570 eval "ac_cv_header_$ac_safe=yes" | 7567 eval "ac_cv_header_$ac_safe=yes" |
7571 else | 7568 else |
7584 with_ldap=no | 7581 with_ldap=no |
7585 fi | 7582 fi |
7586 } | 7583 } |
7587 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7584 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7588 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7585 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7589 echo "configure:7590: checking for lber.h" >&5 | 7586 echo "configure:7587: checking for lber.h" >&5 |
7590 | 7587 |
7591 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
7592 #line 7593 "configure" | 7589 #line 7590 "configure" |
7593 #include "confdefs.h" | 7590 #include "confdefs.h" |
7594 #include <lber.h> | 7591 #include <lber.h> |
7595 EOF | 7592 EOF |
7596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7597 { (eval echo configure:7598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7594 { (eval echo configure:7595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7599 if test -z "$ac_err"; then | 7596 if test -z "$ac_err"; then |
7600 rm -rf conftest* | 7597 rm -rf conftest* |
7601 eval "ac_cv_header_$ac_safe=yes" | 7598 eval "ac_cv_header_$ac_safe=yes" |
7602 else | 7599 else |
7616 fi | 7613 fi |
7617 } | 7614 } |
7618 if test "$with_ldap" != "no"; then | 7615 if test "$with_ldap" != "no"; then |
7619 | 7616 |
7620 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7617 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7621 echo "configure:7622: checking for ldap_search in -lldap" >&5 | 7618 echo "configure:7619: checking for ldap_search in -lldap" >&5 |
7622 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7619 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7623 | 7620 |
7624 xe_check_libs=" -lldap " | 7621 xe_check_libs=" -lldap " |
7625 cat > conftest.$ac_ext <<EOF | 7622 cat > conftest.$ac_ext <<EOF |
7626 #line 7627 "configure" | 7623 #line 7624 "configure" |
7627 #include "confdefs.h" | 7624 #include "confdefs.h" |
7628 /* Override any gcc2 internal prototype to avoid an error. */ | 7625 /* Override any gcc2 internal prototype to avoid an error. */ |
7629 /* We use char because int might match the return type of a gcc2 | 7626 /* We use char because int might match the return type of a gcc2 |
7630 builtin and then its argument prototype would still apply. */ | 7627 builtin and then its argument prototype would still apply. */ |
7631 char ldap_search(); | 7628 char ldap_search(); |
7632 | 7629 |
7633 int main() { | 7630 int main() { |
7634 ldap_search() | 7631 ldap_search() |
7635 ; return 0; } | 7632 ; return 0; } |
7636 EOF | 7633 EOF |
7637 if { (eval echo configure:7638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7634 if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7638 rm -rf conftest* | 7635 rm -rf conftest* |
7639 eval "ac_cv_lib_$ac_lib_var=yes" | 7636 eval "ac_cv_lib_$ac_lib_var=yes" |
7640 else | 7637 else |
7641 echo "configure: failed program was:" >&5 | 7638 echo "configure: failed program was:" >&5 |
7642 cat conftest.$ac_ext >&5 | 7639 cat conftest.$ac_ext >&5 |
7657 | 7654 |
7658 test "$with_ldap_nolber" = "no" && { | 7655 test "$with_ldap_nolber" = "no" && { |
7659 xe_msg_checking="for ldap_open in -lldap" | 7656 xe_msg_checking="for ldap_open in -lldap" |
7660 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7657 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7661 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7658 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7662 echo "configure:7663: checking "$xe_msg_checking"" >&5 | 7659 echo "configure:7660: checking "$xe_msg_checking"" >&5 |
7663 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7660 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7664 | 7661 |
7665 xe_check_libs=" -lldap -llber" | 7662 xe_check_libs=" -lldap -llber" |
7666 cat > conftest.$ac_ext <<EOF | 7663 cat > conftest.$ac_ext <<EOF |
7667 #line 7668 "configure" | 7664 #line 7665 "configure" |
7668 #include "confdefs.h" | 7665 #include "confdefs.h" |
7669 /* Override any gcc2 internal prototype to avoid an error. */ | 7666 /* Override any gcc2 internal prototype to avoid an error. */ |
7670 /* We use char because int might match the return type of a gcc2 | 7667 /* We use char because int might match the return type of a gcc2 |
7671 builtin and then its argument prototype would still apply. */ | 7668 builtin and then its argument prototype would still apply. */ |
7672 char ldap_open(); | 7669 char ldap_open(); |
7673 | 7670 |
7674 int main() { | 7671 int main() { |
7675 ldap_open() | 7672 ldap_open() |
7676 ; return 0; } | 7673 ; return 0; } |
7677 EOF | 7674 EOF |
7678 if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7675 if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7679 rm -rf conftest* | 7676 rm -rf conftest* |
7680 eval "ac_cv_lib_$ac_lib_var=yes" | 7677 eval "ac_cv_lib_$ac_lib_var=yes" |
7681 else | 7678 else |
7682 echo "configure: failed program was:" >&5 | 7679 echo "configure: failed program was:" >&5 |
7683 cat conftest.$ac_ext >&5 | 7680 cat conftest.$ac_ext >&5 |
7698 } | 7695 } |
7699 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7696 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7700 xe_msg_checking="for ldap_open in -lldap" | 7697 xe_msg_checking="for ldap_open in -lldap" |
7701 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7698 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7702 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7699 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7703 echo "configure:7704: checking "$xe_msg_checking"" >&5 | 7700 echo "configure:7701: checking "$xe_msg_checking"" >&5 |
7704 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7701 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7705 | 7702 |
7706 xe_check_libs=" -lldap -llber -lkrb" | 7703 xe_check_libs=" -lldap -llber -lkrb" |
7707 cat > conftest.$ac_ext <<EOF | 7704 cat > conftest.$ac_ext <<EOF |
7708 #line 7709 "configure" | 7705 #line 7706 "configure" |
7709 #include "confdefs.h" | 7706 #include "confdefs.h" |
7710 /* Override any gcc2 internal prototype to avoid an error. */ | 7707 /* Override any gcc2 internal prototype to avoid an error. */ |
7711 /* We use char because int might match the return type of a gcc2 | 7708 /* We use char because int might match the return type of a gcc2 |
7712 builtin and then its argument prototype would still apply. */ | 7709 builtin and then its argument prototype would still apply. */ |
7713 char ldap_open(); | 7710 char ldap_open(); |
7714 | 7711 |
7715 int main() { | 7712 int main() { |
7716 ldap_open() | 7713 ldap_open() |
7717 ; return 0; } | 7714 ; return 0; } |
7718 EOF | 7715 EOF |
7719 if { (eval echo configure:7720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7720 rm -rf conftest* | 7717 rm -rf conftest* |
7721 eval "ac_cv_lib_$ac_lib_var=yes" | 7718 eval "ac_cv_lib_$ac_lib_var=yes" |
7722 else | 7719 else |
7723 echo "configure: failed program was:" >&5 | 7720 echo "configure: failed program was:" >&5 |
7724 cat conftest.$ac_ext >&5 | 7721 cat conftest.$ac_ext >&5 |
7739 } | 7736 } |
7740 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7737 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7741 xe_msg_checking="for ldap_open in -lldap" | 7738 xe_msg_checking="for ldap_open in -lldap" |
7742 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7739 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7743 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7740 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7744 echo "configure:7745: checking "$xe_msg_checking"" >&5 | 7741 echo "configure:7742: checking "$xe_msg_checking"" >&5 |
7745 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7742 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7746 | 7743 |
7747 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7744 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7748 cat > conftest.$ac_ext <<EOF | 7745 cat > conftest.$ac_ext <<EOF |
7749 #line 7750 "configure" | 7746 #line 7747 "configure" |
7750 #include "confdefs.h" | 7747 #include "confdefs.h" |
7751 /* Override any gcc2 internal prototype to avoid an error. */ | 7748 /* Override any gcc2 internal prototype to avoid an error. */ |
7752 /* We use char because int might match the return type of a gcc2 | 7749 /* We use char because int might match the return type of a gcc2 |
7753 builtin and then its argument prototype would still apply. */ | 7750 builtin and then its argument prototype would still apply. */ |
7754 char ldap_open(); | 7751 char ldap_open(); |
7755 | 7752 |
7756 int main() { | 7753 int main() { |
7757 ldap_open() | 7754 ldap_open() |
7758 ; return 0; } | 7755 ; return 0; } |
7759 EOF | 7756 EOF |
7760 if { (eval echo configure:7761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7757 if { (eval echo configure:7758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7761 rm -rf conftest* | 7758 rm -rf conftest* |
7762 eval "ac_cv_lib_$ac_lib_var=yes" | 7759 eval "ac_cv_lib_$ac_lib_var=yes" |
7763 else | 7760 else |
7764 echo "configure: failed program was:" >&5 | 7761 echo "configure: failed program was:" >&5 |
7765 cat conftest.$ac_ext >&5 | 7762 cat conftest.$ac_ext >&5 |
7806 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7803 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7807 fi | 7804 fi |
7808 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7805 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7809 do | 7806 do |
7810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7811 echo "configure:7812: checking for $ac_func" >&5 | 7808 echo "configure:7809: checking for $ac_func" >&5 |
7812 | 7809 |
7813 cat > conftest.$ac_ext <<EOF | 7810 cat > conftest.$ac_ext <<EOF |
7814 #line 7815 "configure" | 7811 #line 7812 "configure" |
7815 #include "confdefs.h" | 7812 #include "confdefs.h" |
7816 /* System header to define __stub macros and hopefully few prototypes, | 7813 /* System header to define __stub macros and hopefully few prototypes, |
7817 which can conflict with char $ac_func(); below. */ | 7814 which can conflict with char $ac_func(); below. */ |
7818 #include <assert.h> | 7815 #include <assert.h> |
7819 /* Override any gcc2 internal prototype to avoid an error. */ | 7816 /* Override any gcc2 internal prototype to avoid an error. */ |
7832 $ac_func(); | 7829 $ac_func(); |
7833 #endif | 7830 #endif |
7834 | 7831 |
7835 ; return 0; } | 7832 ; return 0; } |
7836 EOF | 7833 EOF |
7837 if { (eval echo configure:7838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7834 if { (eval echo configure:7835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7838 rm -rf conftest* | 7835 rm -rf conftest* |
7839 eval "ac_cv_func_$ac_func=yes" | 7836 eval "ac_cv_func_$ac_func=yes" |
7840 else | 7837 else |
7841 echo "configure: failed program was:" >&5 | 7838 echo "configure: failed program was:" >&5 |
7842 cat conftest.$ac_ext >&5 | 7839 cat conftest.$ac_ext >&5 |
7863 | 7860 |
7864 fi | 7861 fi |
7865 | 7862 |
7866 if test "$with_postgresql" != "no"; then | 7863 if test "$with_postgresql" != "no"; then |
7867 echo "checking for PostgreSQL" 1>&6 | 7864 echo "checking for PostgreSQL" 1>&6 |
7868 echo "configure:7869: checking for PostgreSQL" >&5 | 7865 echo "configure:7866: checking for PostgreSQL" >&5 |
7869 | 7866 |
7870 for header_dir in "" "pgsql/" "postgresql/"; do | 7867 for header_dir in "" "pgsql/" "postgresql/"; do |
7871 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7868 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7872 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7869 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7873 echo "configure:7874: checking for ${header_dir}libpq-fe.h" >&5 | 7870 echo "configure:7871: checking for ${header_dir}libpq-fe.h" >&5 |
7874 | 7871 |
7875 cat > conftest.$ac_ext <<EOF | 7872 cat > conftest.$ac_ext <<EOF |
7876 #line 7877 "configure" | 7873 #line 7874 "configure" |
7877 #include "confdefs.h" | 7874 #include "confdefs.h" |
7878 #include <${header_dir}libpq-fe.h> | 7875 #include <${header_dir}libpq-fe.h> |
7879 EOF | 7876 EOF |
7880 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7881 { (eval echo configure:7882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7878 { (eval echo configure:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7882 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7883 if test -z "$ac_err"; then | 7880 if test -z "$ac_err"; then |
7884 rm -rf conftest* | 7881 rm -rf conftest* |
7885 eval "ac_cv_header_$ac_safe=yes" | 7882 eval "ac_cv_header_$ac_safe=yes" |
7886 else | 7883 else |
7900 | 7897 |
7901 done | 7898 done |
7902 | 7899 |
7903 test -n "$libpq_fe_h_file" && { | 7900 test -n "$libpq_fe_h_file" && { |
7904 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7901 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7905 echo "configure:7906: checking for PQconnectdb in -lpq" >&5 | 7902 echo "configure:7903: checking for PQconnectdb in -lpq" >&5 |
7906 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7903 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7907 | 7904 |
7908 xe_check_libs=" -lpq " | 7905 xe_check_libs=" -lpq " |
7909 cat > conftest.$ac_ext <<EOF | 7906 cat > conftest.$ac_ext <<EOF |
7910 #line 7911 "configure" | 7907 #line 7908 "configure" |
7911 #include "confdefs.h" | 7908 #include "confdefs.h" |
7912 /* Override any gcc2 internal prototype to avoid an error. */ | 7909 /* Override any gcc2 internal prototype to avoid an error. */ |
7913 /* We use char because int might match the return type of a gcc2 | 7910 /* We use char because int might match the return type of a gcc2 |
7914 builtin and then its argument prototype would still apply. */ | 7911 builtin and then its argument prototype would still apply. */ |
7915 char PQconnectdb(); | 7912 char PQconnectdb(); |
7916 | 7913 |
7917 int main() { | 7914 int main() { |
7918 PQconnectdb() | 7915 PQconnectdb() |
7919 ; return 0; } | 7916 ; return 0; } |
7920 EOF | 7917 EOF |
7921 if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7918 if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7922 rm -rf conftest* | 7919 rm -rf conftest* |
7923 eval "ac_cv_lib_$ac_lib_var=yes" | 7920 eval "ac_cv_lib_$ac_lib_var=yes" |
7924 else | 7921 else |
7925 echo "configure: failed program was:" >&5 | 7922 echo "configure: failed program was:" >&5 |
7926 cat conftest.$ac_ext >&5 | 7923 cat conftest.$ac_ext >&5 |
7949 EOF | 7946 EOF |
7950 } | 7947 } |
7951 | 7948 |
7952 | 7949 |
7953 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7950 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7954 echo "configure:7955: checking for PQconnectStart in -lpq" >&5 | 7951 echo "configure:7952: checking for PQconnectStart in -lpq" >&5 |
7955 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7952 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7956 | 7953 |
7957 xe_check_libs=" -lpq " | 7954 xe_check_libs=" -lpq " |
7958 cat > conftest.$ac_ext <<EOF | 7955 cat > conftest.$ac_ext <<EOF |
7959 #line 7960 "configure" | 7956 #line 7957 "configure" |
7960 #include "confdefs.h" | 7957 #include "confdefs.h" |
7961 /* Override any gcc2 internal prototype to avoid an error. */ | 7958 /* Override any gcc2 internal prototype to avoid an error. */ |
7962 /* We use char because int might match the return type of a gcc2 | 7959 /* We use char because int might match the return type of a gcc2 |
7963 builtin and then its argument prototype would still apply. */ | 7960 builtin and then its argument prototype would still apply. */ |
7964 char PQconnectStart(); | 7961 char PQconnectStart(); |
7965 | 7962 |
7966 int main() { | 7963 int main() { |
7967 PQconnectStart() | 7964 PQconnectStart() |
7968 ; return 0; } | 7965 ; return 0; } |
7969 EOF | 7966 EOF |
7970 if { (eval echo configure:7971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7971 rm -rf conftest* | 7968 rm -rf conftest* |
7972 eval "ac_cv_lib_$ac_lib_var=yes" | 7969 eval "ac_cv_lib_$ac_lib_var=yes" |
7973 else | 7970 else |
7974 echo "configure: failed program was:" >&5 | 7971 echo "configure: failed program was:" >&5 |
7975 cat conftest.$ac_ext >&5 | 7972 cat conftest.$ac_ext >&5 |
8013 fi | 8010 fi |
8014 | 8011 |
8015 | 8012 |
8016 if test "$window_system" != "none"; then | 8013 if test "$window_system" != "none"; then |
8017 echo "checking for graphics libraries" 1>&6 | 8014 echo "checking for graphics libraries" 1>&6 |
8018 echo "configure:8019: checking for graphics libraries" >&5 | 8015 echo "configure:8016: checking for graphics libraries" >&5 |
8019 | 8016 |
8020 xpm_problem="" | 8017 xpm_problem="" |
8021 if test -z "$with_xpm"; then | 8018 if test -z "$with_xpm"; then |
8022 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8019 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8023 echo "configure:8024: checking for Xpm - no older than 3.4f" >&5 | 8020 echo "configure:8021: checking for Xpm - no older than 3.4f" >&5 |
8024 xe_check_libs=-lXpm | 8021 xe_check_libs=-lXpm |
8025 cat > conftest.$ac_ext <<EOF | 8022 cat > conftest.$ac_ext <<EOF |
8026 #line 8027 "configure" | 8023 #line 8024 "configure" |
8027 #include "confdefs.h" | 8024 #include "confdefs.h" |
8028 #define XPM_NUMBERS | 8025 #define XPM_NUMBERS |
8029 #include <X11/xpm.h> | 8026 #include <X11/xpm.h> |
8030 int main(int c, char **v) { | 8027 int main(int c, char **v) { |
8031 return c == 1 ? 0 : | 8028 return c == 1 ? 0 : |
8032 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8029 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8033 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8030 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8034 EOF | 8031 EOF |
8035 if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8036 then | 8033 then |
8037 ./conftest dummy_arg; xpm_status=$?; | 8034 ./conftest dummy_arg; xpm_status=$?; |
8038 if test "$xpm_status" = "0"; then | 8035 if test "$xpm_status" = "0"; then |
8039 with_xpm=yes; | 8036 with_xpm=yes; |
8040 else | 8037 else |
8072 EOF | 8069 EOF |
8073 } | 8070 } |
8074 | 8071 |
8075 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8072 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8076 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8073 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8077 echo "configure:8078: checking for \"FOR_MSW\" xpm" >&5 | 8074 echo "configure:8075: checking for \"FOR_MSW\" xpm" >&5 |
8078 xe_check_libs=-lXpm | 8075 xe_check_libs=-lXpm |
8079 cat > conftest.$ac_ext <<EOF | 8076 cat > conftest.$ac_ext <<EOF |
8080 #line 8081 "configure" | 8077 #line 8078 "configure" |
8081 #include "confdefs.h" | 8078 #include "confdefs.h" |
8082 | 8079 |
8083 int main() { | 8080 int main() { |
8084 XpmCreatePixmapFromData() | 8081 XpmCreatePixmapFromData() |
8085 ; return 0; } | 8082 ; return 0; } |
8086 EOF | 8083 EOF |
8087 if { (eval echo configure:8088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8084 if { (eval echo configure:8085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8088 rm -rf conftest* | 8085 rm -rf conftest* |
8089 xpm_for_msw=no | 8086 xpm_for_msw=no |
8090 else | 8087 else |
8091 echo "configure: failed program was:" >&5 | 8088 echo "configure: failed program was:" >&5 |
8092 cat conftest.$ac_ext >&5 | 8089 cat conftest.$ac_ext >&5 |
8108 fi | 8105 fi |
8109 fi | 8106 fi |
8110 | 8107 |
8111 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8108 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8112 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8109 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8113 echo "configure:8114: checking for compface.h" >&5 | 8110 echo "configure:8111: checking for compface.h" >&5 |
8114 | 8111 |
8115 cat > conftest.$ac_ext <<EOF | 8112 cat > conftest.$ac_ext <<EOF |
8116 #line 8117 "configure" | 8113 #line 8114 "configure" |
8117 #include "confdefs.h" | 8114 #include "confdefs.h" |
8118 #include <compface.h> | 8115 #include <compface.h> |
8119 EOF | 8116 EOF |
8120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8121 { (eval echo configure:8122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8118 { (eval echo configure:8119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8123 if test -z "$ac_err"; then | 8120 if test -z "$ac_err"; then |
8124 rm -rf conftest* | 8121 rm -rf conftest* |
8125 eval "ac_cv_header_$ac_safe=yes" | 8122 eval "ac_cv_header_$ac_safe=yes" |
8126 else | 8123 else |
8139 with_xface=no | 8136 with_xface=no |
8140 fi | 8137 fi |
8141 } | 8138 } |
8142 test -z "$with_xface" && { | 8139 test -z "$with_xface" && { |
8143 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8140 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8144 echo "configure:8145: checking for UnGenFace in -lcompface" >&5 | 8141 echo "configure:8142: checking for UnGenFace in -lcompface" >&5 |
8145 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8142 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8146 | 8143 |
8147 xe_check_libs=" -lcompface " | 8144 xe_check_libs=" -lcompface " |
8148 cat > conftest.$ac_ext <<EOF | 8145 cat > conftest.$ac_ext <<EOF |
8149 #line 8150 "configure" | 8146 #line 8147 "configure" |
8150 #include "confdefs.h" | 8147 #include "confdefs.h" |
8151 /* Override any gcc2 internal prototype to avoid an error. */ | 8148 /* Override any gcc2 internal prototype to avoid an error. */ |
8152 /* We use char because int might match the return type of a gcc2 | 8149 /* We use char because int might match the return type of a gcc2 |
8153 builtin and then its argument prototype would still apply. */ | 8150 builtin and then its argument prototype would still apply. */ |
8154 char UnGenFace(); | 8151 char UnGenFace(); |
8155 | 8152 |
8156 int main() { | 8153 int main() { |
8157 UnGenFace() | 8154 UnGenFace() |
8158 ; return 0; } | 8155 ; return 0; } |
8159 EOF | 8156 EOF |
8160 if { (eval echo configure:8161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8157 if { (eval echo configure:8158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8161 rm -rf conftest* | 8158 rm -rf conftest* |
8162 eval "ac_cv_lib_$ac_lib_var=yes" | 8159 eval "ac_cv_lib_$ac_lib_var=yes" |
8163 else | 8160 else |
8164 echo "configure: failed program was:" >&5 | 8161 echo "configure: failed program was:" >&5 |
8165 cat conftest.$ac_ext >&5 | 8162 cat conftest.$ac_ext >&5 |
8207 fi | 8204 fi |
8208 | 8205 |
8209 if test "$with_png $with_tiff" != "no no"; then | 8206 if test "$with_png $with_tiff" != "no no"; then |
8210 | 8207 |
8211 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8208 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8212 echo "configure:8213: checking for inflate in -lc" >&5 | 8209 echo "configure:8210: checking for inflate in -lc" >&5 |
8213 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8210 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8214 | 8211 |
8215 xe_check_libs=" -lc " | 8212 xe_check_libs=" -lc " |
8216 cat > conftest.$ac_ext <<EOF | 8213 cat > conftest.$ac_ext <<EOF |
8217 #line 8218 "configure" | 8214 #line 8215 "configure" |
8218 #include "confdefs.h" | 8215 #include "confdefs.h" |
8219 /* Override any gcc2 internal prototype to avoid an error. */ | 8216 /* Override any gcc2 internal prototype to avoid an error. */ |
8220 /* We use char because int might match the return type of a gcc2 | 8217 /* We use char because int might match the return type of a gcc2 |
8221 builtin and then its argument prototype would still apply. */ | 8218 builtin and then its argument prototype would still apply. */ |
8222 char inflate(); | 8219 char inflate(); |
8223 | 8220 |
8224 int main() { | 8221 int main() { |
8225 inflate() | 8222 inflate() |
8226 ; return 0; } | 8223 ; return 0; } |
8227 EOF | 8224 EOF |
8228 if { (eval echo configure:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8229 rm -rf conftest* | 8226 rm -rf conftest* |
8230 eval "ac_cv_lib_$ac_lib_var=yes" | 8227 eval "ac_cv_lib_$ac_lib_var=yes" |
8231 else | 8228 else |
8232 echo "configure: failed program was:" >&5 | 8229 echo "configure: failed program was:" >&5 |
8233 cat conftest.$ac_ext >&5 | 8230 cat conftest.$ac_ext >&5 |
8242 : | 8239 : |
8243 else | 8240 else |
8244 echo "$ac_t""no" 1>&6 | 8241 echo "$ac_t""no" 1>&6 |
8245 | 8242 |
8246 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8243 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8247 echo "configure:8248: checking for inflate in -lz" >&5 | 8244 echo "configure:8245: checking for inflate in -lz" >&5 |
8248 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8245 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8249 | 8246 |
8250 xe_check_libs=" -lz " | 8247 xe_check_libs=" -lz " |
8251 cat > conftest.$ac_ext <<EOF | 8248 cat > conftest.$ac_ext <<EOF |
8252 #line 8253 "configure" | 8249 #line 8250 "configure" |
8253 #include "confdefs.h" | 8250 #include "confdefs.h" |
8254 /* Override any gcc2 internal prototype to avoid an error. */ | 8251 /* Override any gcc2 internal prototype to avoid an error. */ |
8255 /* We use char because int might match the return type of a gcc2 | 8252 /* We use char because int might match the return type of a gcc2 |
8256 builtin and then its argument prototype would still apply. */ | 8253 builtin and then its argument prototype would still apply. */ |
8257 char inflate(); | 8254 char inflate(); |
8258 | 8255 |
8259 int main() { | 8256 int main() { |
8260 inflate() | 8257 inflate() |
8261 ; return 0; } | 8258 ; return 0; } |
8262 EOF | 8259 EOF |
8263 if { (eval echo configure:8264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8264 rm -rf conftest* | 8261 rm -rf conftest* |
8265 eval "ac_cv_lib_$ac_lib_var=yes" | 8262 eval "ac_cv_lib_$ac_lib_var=yes" |
8266 else | 8263 else |
8267 echo "configure: failed program was:" >&5 | 8264 echo "configure: failed program was:" >&5 |
8268 cat conftest.$ac_ext >&5 | 8265 cat conftest.$ac_ext >&5 |
8277 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8274 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8278 else | 8275 else |
8279 echo "$ac_t""no" 1>&6 | 8276 echo "$ac_t""no" 1>&6 |
8280 | 8277 |
8281 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8278 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8282 echo "configure:8283: checking for inflate in -lgz" >&5 | 8279 echo "configure:8280: checking for inflate in -lgz" >&5 |
8283 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8280 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8284 | 8281 |
8285 xe_check_libs=" -lgz " | 8282 xe_check_libs=" -lgz " |
8286 cat > conftest.$ac_ext <<EOF | 8283 cat > conftest.$ac_ext <<EOF |
8287 #line 8288 "configure" | 8284 #line 8285 "configure" |
8288 #include "confdefs.h" | 8285 #include "confdefs.h" |
8289 /* Override any gcc2 internal prototype to avoid an error. */ | 8286 /* Override any gcc2 internal prototype to avoid an error. */ |
8290 /* We use char because int might match the return type of a gcc2 | 8287 /* We use char because int might match the return type of a gcc2 |
8291 builtin and then its argument prototype would still apply. */ | 8288 builtin and then its argument prototype would still apply. */ |
8292 char inflate(); | 8289 char inflate(); |
8293 | 8290 |
8294 int main() { | 8291 int main() { |
8295 inflate() | 8292 inflate() |
8296 ; return 0; } | 8293 ; return 0; } |
8297 EOF | 8294 EOF |
8298 if { (eval echo configure:8299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8299 rm -rf conftest* | 8296 rm -rf conftest* |
8300 eval "ac_cv_lib_$ac_lib_var=yes" | 8297 eval "ac_cv_lib_$ac_lib_var=yes" |
8301 else | 8298 else |
8302 echo "configure: failed program was:" >&5 | 8299 echo "configure: failed program was:" >&5 |
8303 cat conftest.$ac_ext >&5 | 8300 cat conftest.$ac_ext >&5 |
8323 | 8320 |
8324 fi | 8321 fi |
8325 | 8322 |
8326 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8323 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8327 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8324 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8328 echo "configure:8329: checking for jpeglib.h" >&5 | 8325 echo "configure:8326: checking for jpeglib.h" >&5 |
8329 | 8326 |
8330 cat > conftest.$ac_ext <<EOF | 8327 cat > conftest.$ac_ext <<EOF |
8331 #line 8332 "configure" | 8328 #line 8329 "configure" |
8332 #include "confdefs.h" | 8329 #include "confdefs.h" |
8333 #include <jpeglib.h> | 8330 #include <jpeglib.h> |
8334 EOF | 8331 EOF |
8335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8336 { (eval echo configure:8337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8333 { (eval echo configure:8334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8338 if test -z "$ac_err"; then | 8335 if test -z "$ac_err"; then |
8339 rm -rf conftest* | 8336 rm -rf conftest* |
8340 eval "ac_cv_header_$ac_safe=yes" | 8337 eval "ac_cv_header_$ac_safe=yes" |
8341 else | 8338 else |
8354 with_jpeg=no | 8351 with_jpeg=no |
8355 fi | 8352 fi |
8356 } | 8353 } |
8357 test -z "$with_jpeg" && { | 8354 test -z "$with_jpeg" && { |
8358 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8355 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8359 echo "configure:8360: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8356 echo "configure:8357: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8360 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8357 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8361 | 8358 |
8362 xe_check_libs=" -ljpeg " | 8359 xe_check_libs=" -ljpeg " |
8363 cat > conftest.$ac_ext <<EOF | 8360 cat > conftest.$ac_ext <<EOF |
8364 #line 8365 "configure" | 8361 #line 8362 "configure" |
8365 #include "confdefs.h" | 8362 #include "confdefs.h" |
8366 /* Override any gcc2 internal prototype to avoid an error. */ | 8363 /* Override any gcc2 internal prototype to avoid an error. */ |
8367 /* We use char because int might match the return type of a gcc2 | 8364 /* We use char because int might match the return type of a gcc2 |
8368 builtin and then its argument prototype would still apply. */ | 8365 builtin and then its argument prototype would still apply. */ |
8369 char jpeg_destroy_decompress(); | 8366 char jpeg_destroy_decompress(); |
8370 | 8367 |
8371 int main() { | 8368 int main() { |
8372 jpeg_destroy_decompress() | 8369 jpeg_destroy_decompress() |
8373 ; return 0; } | 8370 ; return 0; } |
8374 EOF | 8371 EOF |
8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8376 rm -rf conftest* | 8373 rm -rf conftest* |
8377 eval "ac_cv_lib_$ac_lib_var=yes" | 8374 eval "ac_cv_lib_$ac_lib_var=yes" |
8378 else | 8375 else |
8379 echo "configure: failed program was:" >&5 | 8376 echo "configure: failed program was:" >&5 |
8380 cat conftest.$ac_ext >&5 | 8377 cat conftest.$ac_ext >&5 |
8406 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8403 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8407 fi | 8404 fi |
8408 | 8405 |
8409 png_problem="" | 8406 png_problem="" |
8410 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8407 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8411 echo "configure:8412: checking for pow" >&5 | 8408 echo "configure:8409: checking for pow" >&5 |
8412 | 8409 |
8413 cat > conftest.$ac_ext <<EOF | 8410 cat > conftest.$ac_ext <<EOF |
8414 #line 8415 "configure" | 8411 #line 8412 "configure" |
8415 #include "confdefs.h" | 8412 #include "confdefs.h" |
8416 /* System header to define __stub macros and hopefully few prototypes, | 8413 /* System header to define __stub macros and hopefully few prototypes, |
8417 which can conflict with char pow(); below. */ | 8414 which can conflict with char pow(); below. */ |
8418 #include <assert.h> | 8415 #include <assert.h> |
8419 /* Override any gcc2 internal prototype to avoid an error. */ | 8416 /* Override any gcc2 internal prototype to avoid an error. */ |
8432 pow(); | 8429 pow(); |
8433 #endif | 8430 #endif |
8434 | 8431 |
8435 ; return 0; } | 8432 ; return 0; } |
8436 EOF | 8433 EOF |
8437 if { (eval echo configure:8438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8434 if { (eval echo configure:8435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8438 rm -rf conftest* | 8435 rm -rf conftest* |
8439 eval "ac_cv_func_pow=yes" | 8436 eval "ac_cv_func_pow=yes" |
8440 else | 8437 else |
8441 echo "configure: failed program was:" >&5 | 8438 echo "configure: failed program was:" >&5 |
8442 cat conftest.$ac_ext >&5 | 8439 cat conftest.$ac_ext >&5 |
8453 with_png=no | 8450 with_png=no |
8454 fi | 8451 fi |
8455 } | 8452 } |
8456 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8453 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8457 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8454 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8458 echo "configure:8459: checking for png.h" >&5 | 8455 echo "configure:8456: checking for png.h" >&5 |
8459 | 8456 |
8460 cat > conftest.$ac_ext <<EOF | 8457 cat > conftest.$ac_ext <<EOF |
8461 #line 8462 "configure" | 8458 #line 8459 "configure" |
8462 #include "confdefs.h" | 8459 #include "confdefs.h" |
8463 #include <png.h> | 8460 #include <png.h> |
8464 EOF | 8461 EOF |
8465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8466 { (eval echo configure:8467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8463 { (eval echo configure:8464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8468 if test -z "$ac_err"; then | 8465 if test -z "$ac_err"; then |
8469 rm -rf conftest* | 8466 rm -rf conftest* |
8470 eval "ac_cv_header_$ac_safe=yes" | 8467 eval "ac_cv_header_$ac_safe=yes" |
8471 else | 8468 else |
8484 with_png=no | 8481 with_png=no |
8485 fi | 8482 fi |
8486 } | 8483 } |
8487 test -z "$with_png" && { | 8484 test -z "$with_png" && { |
8488 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8485 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8489 echo "configure:8490: checking for png_read_image in -lpng" >&5 | 8486 echo "configure:8487: checking for png_read_image in -lpng" >&5 |
8490 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8487 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8491 | 8488 |
8492 xe_check_libs=" -lpng " | 8489 xe_check_libs=" -lpng " |
8493 cat > conftest.$ac_ext <<EOF | 8490 cat > conftest.$ac_ext <<EOF |
8494 #line 8495 "configure" | 8491 #line 8492 "configure" |
8495 #include "confdefs.h" | 8492 #include "confdefs.h" |
8496 /* Override any gcc2 internal prototype to avoid an error. */ | 8493 /* Override any gcc2 internal prototype to avoid an error. */ |
8497 /* We use char because int might match the return type of a gcc2 | 8494 /* We use char because int might match the return type of a gcc2 |
8498 builtin and then its argument prototype would still apply. */ | 8495 builtin and then its argument prototype would still apply. */ |
8499 char png_read_image(); | 8496 char png_read_image(); |
8500 | 8497 |
8501 int main() { | 8498 int main() { |
8502 png_read_image() | 8499 png_read_image() |
8503 ; return 0; } | 8500 ; return 0; } |
8504 EOF | 8501 EOF |
8505 if { (eval echo configure:8506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8502 if { (eval echo configure:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8506 rm -rf conftest* | 8503 rm -rf conftest* |
8507 eval "ac_cv_lib_$ac_lib_var=yes" | 8504 eval "ac_cv_lib_$ac_lib_var=yes" |
8508 else | 8505 else |
8509 echo "configure: failed program was:" >&5 | 8506 echo "configure: failed program was:" >&5 |
8510 cat conftest.$ac_ext >&5 | 8507 cat conftest.$ac_ext >&5 |
8523 fi | 8520 fi |
8524 | 8521 |
8525 } | 8522 } |
8526 if test -z "$with_png"; then | 8523 if test -z "$with_png"; then |
8527 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8524 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8528 echo "configure:8529: checking for workable png version information" >&5 | 8525 echo "configure:8526: checking for workable png version information" >&5 |
8529 xe_check_libs="-lpng -lz" | 8526 xe_check_libs="-lpng -lz" |
8530 cat > conftest.$ac_ext <<EOF | 8527 cat > conftest.$ac_ext <<EOF |
8531 #line 8532 "configure" | 8528 #line 8529 "configure" |
8532 #include "confdefs.h" | 8529 #include "confdefs.h" |
8533 #include <png.h> | 8530 #include <png.h> |
8534 int main(int c, char **v) { | 8531 int main(int c, char **v) { |
8535 if (c == 1) return 0; | 8532 if (c == 1) return 0; |
8536 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8533 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8537 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8534 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8538 EOF | 8535 EOF |
8539 if { (eval echo configure:8540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8536 if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8540 then | 8537 then |
8541 ./conftest dummy_arg; png_status=$?; | 8538 ./conftest dummy_arg; png_status=$?; |
8542 if test "$png_status" = "0"; then | 8539 if test "$png_status" = "0"; then |
8543 with_png=yes; | 8540 with_png=yes; |
8544 else | 8541 else |
8577 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8574 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8578 fi | 8575 fi |
8579 | 8576 |
8580 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8577 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8581 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8578 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8582 echo "configure:8583: checking for tiffio.h" >&5 | 8579 echo "configure:8580: checking for tiffio.h" >&5 |
8583 | 8580 |
8584 cat > conftest.$ac_ext <<EOF | 8581 cat > conftest.$ac_ext <<EOF |
8585 #line 8586 "configure" | 8582 #line 8583 "configure" |
8586 #include "confdefs.h" | 8583 #include "confdefs.h" |
8587 #include <tiffio.h> | 8584 #include <tiffio.h> |
8588 EOF | 8585 EOF |
8589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8590 { (eval echo configure:8591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8587 { (eval echo configure:8588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8592 if test -z "$ac_err"; then | 8589 if test -z "$ac_err"; then |
8593 rm -rf conftest* | 8590 rm -rf conftest* |
8594 eval "ac_cv_header_$ac_safe=yes" | 8591 eval "ac_cv_header_$ac_safe=yes" |
8595 else | 8592 else |
8608 with_tiff=no | 8605 with_tiff=no |
8609 fi | 8606 fi |
8610 } | 8607 } |
8611 test -z "$with_tiff" && { | 8608 test -z "$with_tiff" && { |
8612 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8609 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8613 echo "configure:8614: checking for TIFFClientOpen in -ltiff" >&5 | 8610 echo "configure:8611: checking for TIFFClientOpen in -ltiff" >&5 |
8614 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8611 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8615 | 8612 |
8616 xe_check_libs=" -ltiff " | 8613 xe_check_libs=" -ltiff " |
8617 cat > conftest.$ac_ext <<EOF | 8614 cat > conftest.$ac_ext <<EOF |
8618 #line 8619 "configure" | 8615 #line 8616 "configure" |
8619 #include "confdefs.h" | 8616 #include "confdefs.h" |
8620 /* Override any gcc2 internal prototype to avoid an error. */ | 8617 /* Override any gcc2 internal prototype to avoid an error. */ |
8621 /* We use char because int might match the return type of a gcc2 | 8618 /* We use char because int might match the return type of a gcc2 |
8622 builtin and then its argument prototype would still apply. */ | 8619 builtin and then its argument prototype would still apply. */ |
8623 char TIFFClientOpen(); | 8620 char TIFFClientOpen(); |
8624 | 8621 |
8625 int main() { | 8622 int main() { |
8626 TIFFClientOpen() | 8623 TIFFClientOpen() |
8627 ; return 0; } | 8624 ; return 0; } |
8628 EOF | 8625 EOF |
8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8626 if { (eval echo configure:8627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8630 rm -rf conftest* | 8627 rm -rf conftest* |
8631 eval "ac_cv_lib_$ac_lib_var=yes" | 8628 eval "ac_cv_lib_$ac_lib_var=yes" |
8632 else | 8629 else |
8633 echo "configure: failed program was:" >&5 | 8630 echo "configure: failed program was:" >&5 |
8634 cat conftest.$ac_ext >&5 | 8631 cat conftest.$ac_ext >&5 |
8663 | 8660 |
8664 | 8661 |
8665 if test "$with_gtk" = "yes"; then | 8662 if test "$with_gtk" = "yes"; then |
8666 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8663 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8667 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8664 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8668 echo "configure:8669: checking for compface.h" >&5 | 8665 echo "configure:8666: checking for compface.h" >&5 |
8669 | 8666 |
8670 cat > conftest.$ac_ext <<EOF | 8667 cat > conftest.$ac_ext <<EOF |
8671 #line 8672 "configure" | 8668 #line 8669 "configure" |
8672 #include "confdefs.h" | 8669 #include "confdefs.h" |
8673 #include <compface.h> | 8670 #include <compface.h> |
8674 EOF | 8671 EOF |
8675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8676 { (eval echo configure:8677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8673 { (eval echo configure:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8678 if test -z "$ac_err"; then | 8675 if test -z "$ac_err"; then |
8679 rm -rf conftest* | 8676 rm -rf conftest* |
8680 eval "ac_cv_header_$ac_safe=yes" | 8677 eval "ac_cv_header_$ac_safe=yes" |
8681 else | 8678 else |
8694 with_xface=no | 8691 with_xface=no |
8695 fi | 8692 fi |
8696 } | 8693 } |
8697 test -z "$with_xface" && { | 8694 test -z "$with_xface" && { |
8698 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8695 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8699 echo "configure:8700: checking for UnGenFace in -lcompface" >&5 | 8696 echo "configure:8697: checking for UnGenFace in -lcompface" >&5 |
8700 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8697 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8701 | 8698 |
8702 xe_check_libs=" -lcompface " | 8699 xe_check_libs=" -lcompface " |
8703 cat > conftest.$ac_ext <<EOF | 8700 cat > conftest.$ac_ext <<EOF |
8704 #line 8705 "configure" | 8701 #line 8702 "configure" |
8705 #include "confdefs.h" | 8702 #include "confdefs.h" |
8706 /* Override any gcc2 internal prototype to avoid an error. */ | 8703 /* Override any gcc2 internal prototype to avoid an error. */ |
8707 /* We use char because int might match the return type of a gcc2 | 8704 /* We use char because int might match the return type of a gcc2 |
8708 builtin and then its argument prototype would still apply. */ | 8705 builtin and then its argument prototype would still apply. */ |
8709 char UnGenFace(); | 8706 char UnGenFace(); |
8710 | 8707 |
8711 int main() { | 8708 int main() { |
8712 UnGenFace() | 8709 UnGenFace() |
8713 ; return 0; } | 8710 ; return 0; } |
8714 EOF | 8711 EOF |
8715 if { (eval echo configure:8716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8712 if { (eval echo configure:8713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8716 rm -rf conftest* | 8713 rm -rf conftest* |
8717 eval "ac_cv_lib_$ac_lib_var=yes" | 8714 eval "ac_cv_lib_$ac_lib_var=yes" |
8718 else | 8715 else |
8719 echo "configure: failed program was:" >&5 | 8716 echo "configure: failed program was:" >&5 |
8720 cat conftest.$ac_ext >&5 | 8717 cat conftest.$ac_ext >&5 |
8750 | 8747 |
8751 | 8748 |
8752 if test "$with_x11" = "yes"; then | 8749 if test "$with_x11" = "yes"; then |
8753 | 8750 |
8754 echo "checking for X11 graphics libraries" 1>&6 | 8751 echo "checking for X11 graphics libraries" 1>&6 |
8755 echo "configure:8756: checking for X11 graphics libraries" >&5 | 8752 echo "configure:8753: checking for X11 graphics libraries" >&5 |
8756 | 8753 |
8757 echo "checking for the Athena widgets" 1>&6 | 8754 echo "checking for the Athena widgets" 1>&6 |
8758 echo "configure:8759: checking for the Athena widgets" >&5 | 8755 echo "configure:8756: checking for the Athena widgets" >&5 |
8759 | 8756 |
8760 case "$with_athena" in | 8757 case "$with_athena" in |
8761 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8758 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8762 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8759 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8763 "next") athena_variant=neXtaw athena_3d=yes ;; | 8760 "next") athena_variant=neXtaw athena_3d=yes ;; |
8767 esac | 8764 esac |
8768 | 8765 |
8769 if test "$athena_3d" = "no"; then | 8766 if test "$athena_3d" = "no"; then |
8770 | 8767 |
8771 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8768 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8772 echo "configure:8773: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8769 echo "configure:8770: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8773 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8770 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8774 | 8771 |
8775 xe_check_libs=" -l$athena_variant " | 8772 xe_check_libs=" -l$athena_variant " |
8776 cat > conftest.$ac_ext <<EOF | 8773 cat > conftest.$ac_ext <<EOF |
8777 #line 8778 "configure" | 8774 #line 8775 "configure" |
8778 #include "confdefs.h" | 8775 #include "confdefs.h" |
8779 /* Override any gcc2 internal prototype to avoid an error. */ | 8776 /* Override any gcc2 internal prototype to avoid an error. */ |
8780 /* We use char because int might match the return type of a gcc2 | 8777 /* We use char because int might match the return type of a gcc2 |
8781 builtin and then its argument prototype would still apply. */ | 8778 builtin and then its argument prototype would still apply. */ |
8782 char XawScrollbarSetThumb(); | 8779 char XawScrollbarSetThumb(); |
8783 | 8780 |
8784 int main() { | 8781 int main() { |
8785 XawScrollbarSetThumb() | 8782 XawScrollbarSetThumb() |
8786 ; return 0; } | 8783 ; return 0; } |
8787 EOF | 8784 EOF |
8788 if { (eval echo configure:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8785 if { (eval echo configure:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8789 rm -rf conftest* | 8786 rm -rf conftest* |
8790 eval "ac_cv_lib_$ac_lib_var=yes" | 8787 eval "ac_cv_lib_$ac_lib_var=yes" |
8791 else | 8788 else |
8792 echo "configure: failed program was:" >&5 | 8789 echo "configure: failed program was:" >&5 |
8793 cat conftest.$ac_ext >&5 | 8790 cat conftest.$ac_ext >&5 |
8799 | 8796 |
8800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8801 echo "$ac_t""yes" 1>&6 | 8798 echo "$ac_t""yes" 1>&6 |
8802 | 8799 |
8803 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8800 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8804 echo "configure:8805: checking for threeDClassRec in -l$athena_variant" >&5 | 8801 echo "configure:8802: checking for threeDClassRec in -l$athena_variant" >&5 |
8805 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8802 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8806 | 8803 |
8807 xe_check_libs=" -l$athena_variant " | 8804 xe_check_libs=" -l$athena_variant " |
8808 cat > conftest.$ac_ext <<EOF | 8805 cat > conftest.$ac_ext <<EOF |
8809 #line 8810 "configure" | 8806 #line 8807 "configure" |
8810 #include "confdefs.h" | 8807 #include "confdefs.h" |
8811 /* Override any gcc2 internal prototype to avoid an error. */ | 8808 /* Override any gcc2 internal prototype to avoid an error. */ |
8812 /* We use char because int might match the return type of a gcc2 | 8809 /* We use char because int might match the return type of a gcc2 |
8813 builtin and then its argument prototype would still apply. */ | 8810 builtin and then its argument prototype would still apply. */ |
8814 char threeDClassRec(); | 8811 char threeDClassRec(); |
8815 | 8812 |
8816 int main() { | 8813 int main() { |
8817 threeDClassRec() | 8814 threeDClassRec() |
8818 ; return 0; } | 8815 ; return 0; } |
8819 EOF | 8816 EOF |
8820 if { (eval echo configure:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8817 if { (eval echo configure:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8821 rm -rf conftest* | 8818 rm -rf conftest* |
8822 eval "ac_cv_lib_$ac_lib_var=yes" | 8819 eval "ac_cv_lib_$ac_lib_var=yes" |
8823 else | 8820 else |
8824 echo "configure: failed program was:" >&5 | 8821 echo "configure: failed program was:" >&5 |
8825 cat conftest.$ac_ext >&5 | 8822 cat conftest.$ac_ext >&5 |
8846 | 8843 |
8847 | 8844 |
8848 else | 8845 else |
8849 | 8846 |
8850 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8847 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8851 echo "configure:8852: checking for threeDClassRec in -l$athena_variant" >&5 | 8848 echo "configure:8849: checking for threeDClassRec in -l$athena_variant" >&5 |
8852 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8849 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8853 | 8850 |
8854 xe_check_libs=" -l$athena_variant " | 8851 xe_check_libs=" -l$athena_variant " |
8855 cat > conftest.$ac_ext <<EOF | 8852 cat > conftest.$ac_ext <<EOF |
8856 #line 8857 "configure" | 8853 #line 8854 "configure" |
8857 #include "confdefs.h" | 8854 #include "confdefs.h" |
8858 /* Override any gcc2 internal prototype to avoid an error. */ | 8855 /* Override any gcc2 internal prototype to avoid an error. */ |
8859 /* We use char because int might match the return type of a gcc2 | 8856 /* We use char because int might match the return type of a gcc2 |
8860 builtin and then its argument prototype would still apply. */ | 8857 builtin and then its argument prototype would still apply. */ |
8861 char threeDClassRec(); | 8858 char threeDClassRec(); |
8862 | 8859 |
8863 int main() { | 8860 int main() { |
8864 threeDClassRec() | 8861 threeDClassRec() |
8865 ; return 0; } | 8862 ; return 0; } |
8866 EOF | 8863 EOF |
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8864 if { (eval echo configure:8865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8868 rm -rf conftest* | 8865 rm -rf conftest* |
8869 eval "ac_cv_lib_$ac_lib_var=yes" | 8866 eval "ac_cv_lib_$ac_lib_var=yes" |
8870 else | 8867 else |
8871 echo "configure: failed program was:" >&5 | 8868 echo "configure: failed program was:" >&5 |
8872 cat conftest.$ac_ext >&5 | 8869 cat conftest.$ac_ext >&5 |
8880 echo "$ac_t""yes" 1>&6 | 8877 echo "$ac_t""yes" 1>&6 |
8881 athena_lib=$athena_variant | 8878 athena_lib=$athena_variant |
8882 else | 8879 else |
8883 echo "$ac_t""no" 1>&6 | 8880 echo "$ac_t""no" 1>&6 |
8884 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8881 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8885 echo "configure:8886: checking for threeDClassRec in -lXaw" >&5 | 8882 echo "configure:8883: checking for threeDClassRec in -lXaw" >&5 |
8886 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8883 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8887 | 8884 |
8888 xe_check_libs=" -lXaw " | 8885 xe_check_libs=" -lXaw " |
8889 cat > conftest.$ac_ext <<EOF | 8886 cat > conftest.$ac_ext <<EOF |
8890 #line 8891 "configure" | 8887 #line 8888 "configure" |
8891 #include "confdefs.h" | 8888 #include "confdefs.h" |
8892 /* Override any gcc2 internal prototype to avoid an error. */ | 8889 /* Override any gcc2 internal prototype to avoid an error. */ |
8893 /* We use char because int might match the return type of a gcc2 | 8890 /* We use char because int might match the return type of a gcc2 |
8894 builtin and then its argument prototype would still apply. */ | 8891 builtin and then its argument prototype would still apply. */ |
8895 char threeDClassRec(); | 8892 char threeDClassRec(); |
8896 | 8893 |
8897 int main() { | 8894 int main() { |
8898 threeDClassRec() | 8895 threeDClassRec() |
8899 ; return 0; } | 8896 ; return 0; } |
8900 EOF | 8897 EOF |
8901 if { (eval echo configure:8902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8902 rm -rf conftest* | 8899 rm -rf conftest* |
8903 eval "ac_cv_lib_$ac_lib_var=yes" | 8900 eval "ac_cv_lib_$ac_lib_var=yes" |
8904 else | 8901 else |
8905 echo "configure: failed program was:" >&5 | 8902 echo "configure: failed program was:" >&5 |
8906 cat conftest.$ac_ext >&5 | 8903 cat conftest.$ac_ext >&5 |
8927 fi | 8924 fi |
8928 | 8925 |
8929 if test "$athena_3d" = "no"; then | 8926 if test "$athena_3d" = "no"; then |
8930 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8927 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8931 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8928 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8932 echo "configure:8933: checking for X11/Xaw/ThreeD.h" >&5 | 8929 echo "configure:8930: checking for X11/Xaw/ThreeD.h" >&5 |
8933 | 8930 |
8934 cat > conftest.$ac_ext <<EOF | 8931 cat > conftest.$ac_ext <<EOF |
8935 #line 8936 "configure" | 8932 #line 8933 "configure" |
8936 #include "confdefs.h" | 8933 #include "confdefs.h" |
8937 #include <X11/Xaw/ThreeD.h> | 8934 #include <X11/Xaw/ThreeD.h> |
8938 EOF | 8935 EOF |
8939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8940 { (eval echo configure:8941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8937 { (eval echo configure:8938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8942 if test -z "$ac_err"; then | 8939 if test -z "$ac_err"; then |
8943 rm -rf conftest* | 8940 rm -rf conftest* |
8944 eval "ac_cv_header_$ac_safe=yes" | 8941 eval "ac_cv_header_$ac_safe=yes" |
8945 else | 8942 else |
8955 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8952 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8956 else | 8953 else |
8957 echo "$ac_t""no" 1>&6 | 8954 echo "$ac_t""no" 1>&6 |
8958 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8955 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8959 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8956 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8960 echo "configure:8961: checking for X11/Xaw/XawInit.h" >&5 | 8957 echo "configure:8958: checking for X11/Xaw/XawInit.h" >&5 |
8961 | 8958 |
8962 cat > conftest.$ac_ext <<EOF | 8959 cat > conftest.$ac_ext <<EOF |
8963 #line 8964 "configure" | 8960 #line 8961 "configure" |
8964 #include "confdefs.h" | 8961 #include "confdefs.h" |
8965 #include <X11/Xaw/XawInit.h> | 8962 #include <X11/Xaw/XawInit.h> |
8966 EOF | 8963 EOF |
8967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8968 { (eval echo configure:8969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8965 { (eval echo configure:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8970 if test -z "$ac_err"; then | 8967 if test -z "$ac_err"; then |
8971 rm -rf conftest* | 8968 rm -rf conftest* |
8972 eval "ac_cv_header_$ac_safe=yes" | 8969 eval "ac_cv_header_$ac_safe=yes" |
8973 else | 8970 else |
8989 fi | 8986 fi |
8990 | 8987 |
8991 else | 8988 else |
8992 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8989 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8993 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8990 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8994 echo "configure:8995: checking for X11/$athena_variant/XawInit.h" >&5 | 8991 echo "configure:8992: checking for X11/$athena_variant/XawInit.h" >&5 |
8995 | 8992 |
8996 cat > conftest.$ac_ext <<EOF | 8993 cat > conftest.$ac_ext <<EOF |
8997 #line 8998 "configure" | 8994 #line 8995 "configure" |
8998 #include "confdefs.h" | 8995 #include "confdefs.h" |
8999 #include <X11/$athena_variant/XawInit.h> | 8996 #include <X11/$athena_variant/XawInit.h> |
9000 EOF | 8997 EOF |
9001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9002 { (eval echo configure:9003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8999 { (eval echo configure:9000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9004 if test -z "$ac_err"; then | 9001 if test -z "$ac_err"; then |
9005 rm -rf conftest* | 9002 rm -rf conftest* |
9006 eval "ac_cv_header_$ac_safe=yes" | 9003 eval "ac_cv_header_$ac_safe=yes" |
9007 else | 9004 else |
9014 rm -f conftest* | 9011 rm -f conftest* |
9015 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9016 echo "$ac_t""yes" 1>&6 | 9013 echo "$ac_t""yes" 1>&6 |
9017 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9014 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9018 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9015 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9019 echo "configure:9020: checking for X11/$athena_variant/ThreeD.h" >&5 | 9016 echo "configure:9017: checking for X11/$athena_variant/ThreeD.h" >&5 |
9020 | 9017 |
9021 cat > conftest.$ac_ext <<EOF | 9018 cat > conftest.$ac_ext <<EOF |
9022 #line 9023 "configure" | 9019 #line 9020 "configure" |
9023 #include "confdefs.h" | 9020 #include "confdefs.h" |
9024 #include <X11/$athena_variant/ThreeD.h> | 9021 #include <X11/$athena_variant/ThreeD.h> |
9025 EOF | 9022 EOF |
9026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9027 { (eval echo configure:9028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9024 { (eval echo configure:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9029 if test -z "$ac_err"; then | 9026 if test -z "$ac_err"; then |
9030 rm -rf conftest* | 9027 rm -rf conftest* |
9031 eval "ac_cv_header_$ac_safe=yes" | 9028 eval "ac_cv_header_$ac_safe=yes" |
9032 else | 9029 else |
9050 | 9047 |
9051 | 9048 |
9052 if test -z "$athena_h_path"; then | 9049 if test -z "$athena_h_path"; then |
9053 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9050 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9054 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9051 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9055 echo "configure:9056: checking for $athena_variant/XawInit.h" >&5 | 9052 echo "configure:9053: checking for $athena_variant/XawInit.h" >&5 |
9056 | 9053 |
9057 cat > conftest.$ac_ext <<EOF | 9054 cat > conftest.$ac_ext <<EOF |
9058 #line 9059 "configure" | 9055 #line 9056 "configure" |
9059 #include "confdefs.h" | 9056 #include "confdefs.h" |
9060 #include <$athena_variant/XawInit.h> | 9057 #include <$athena_variant/XawInit.h> |
9061 EOF | 9058 EOF |
9062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9063 { (eval echo configure:9064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9060 { (eval echo configure:9061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9065 if test -z "$ac_err"; then | 9062 if test -z "$ac_err"; then |
9066 rm -rf conftest* | 9063 rm -rf conftest* |
9067 eval "ac_cv_header_$ac_safe=yes" | 9064 eval "ac_cv_header_$ac_safe=yes" |
9068 else | 9065 else |
9075 rm -f conftest* | 9072 rm -f conftest* |
9076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9077 echo "$ac_t""yes" 1>&6 | 9074 echo "$ac_t""yes" 1>&6 |
9078 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9075 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9079 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9080 echo "configure:9081: checking for $athena_variant/ThreeD.h" >&5 | 9077 echo "configure:9078: checking for $athena_variant/ThreeD.h" >&5 |
9081 | 9078 |
9082 cat > conftest.$ac_ext <<EOF | 9079 cat > conftest.$ac_ext <<EOF |
9083 #line 9084 "configure" | 9080 #line 9081 "configure" |
9084 #include "confdefs.h" | 9081 #include "confdefs.h" |
9085 #include <$athena_variant/ThreeD.h> | 9082 #include <$athena_variant/ThreeD.h> |
9086 EOF | 9083 EOF |
9087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9088 { (eval echo configure:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9085 { (eval echo configure:9086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9090 if test -z "$ac_err"; then | 9087 if test -z "$ac_err"; then |
9091 rm -rf conftest* | 9088 rm -rf conftest* |
9092 eval "ac_cv_header_$ac_safe=yes" | 9089 eval "ac_cv_header_$ac_safe=yes" |
9093 else | 9090 else |
9112 fi | 9109 fi |
9113 | 9110 |
9114 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9111 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9115 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9112 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9116 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9113 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9117 echo "configure:9118: checking for X11/Xaw3d/XawInit.h" >&5 | 9114 echo "configure:9115: checking for X11/Xaw3d/XawInit.h" >&5 |
9118 | 9115 |
9119 cat > conftest.$ac_ext <<EOF | 9116 cat > conftest.$ac_ext <<EOF |
9120 #line 9121 "configure" | 9117 #line 9118 "configure" |
9121 #include "confdefs.h" | 9118 #include "confdefs.h" |
9122 #include <X11/Xaw3d/XawInit.h> | 9119 #include <X11/Xaw3d/XawInit.h> |
9123 EOF | 9120 EOF |
9124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9125 { (eval echo configure:9126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9122 { (eval echo configure:9123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9127 if test -z "$ac_err"; then | 9124 if test -z "$ac_err"; then |
9128 rm -rf conftest* | 9125 rm -rf conftest* |
9129 eval "ac_cv_header_$ac_safe=yes" | 9126 eval "ac_cv_header_$ac_safe=yes" |
9130 else | 9127 else |
9137 rm -f conftest* | 9134 rm -f conftest* |
9138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9139 echo "$ac_t""yes" 1>&6 | 9136 echo "$ac_t""yes" 1>&6 |
9140 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9137 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9141 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9138 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9142 echo "configure:9143: checking for X11/Xaw3d/ThreeD.h" >&5 | 9139 echo "configure:9140: checking for X11/Xaw3d/ThreeD.h" >&5 |
9143 | 9140 |
9144 cat > conftest.$ac_ext <<EOF | 9141 cat > conftest.$ac_ext <<EOF |
9145 #line 9146 "configure" | 9142 #line 9143 "configure" |
9146 #include "confdefs.h" | 9143 #include "confdefs.h" |
9147 #include <X11/Xaw3d/ThreeD.h> | 9144 #include <X11/Xaw3d/ThreeD.h> |
9148 EOF | 9145 EOF |
9149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9150 { (eval echo configure:9151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9147 { (eval echo configure:9148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9152 if test -z "$ac_err"; then | 9149 if test -z "$ac_err"; then |
9153 rm -rf conftest* | 9150 rm -rf conftest* |
9154 eval "ac_cv_header_$ac_safe=yes" | 9151 eval "ac_cv_header_$ac_safe=yes" |
9155 else | 9152 else |
9177 fi | 9174 fi |
9178 | 9175 |
9179 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9176 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9180 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9177 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9181 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9178 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9182 echo "configure:9183: checking for Xaw3d/XawInit.h" >&5 | 9179 echo "configure:9180: checking for Xaw3d/XawInit.h" >&5 |
9183 | 9180 |
9184 cat > conftest.$ac_ext <<EOF | 9181 cat > conftest.$ac_ext <<EOF |
9185 #line 9186 "configure" | 9182 #line 9183 "configure" |
9186 #include "confdefs.h" | 9183 #include "confdefs.h" |
9187 #include <Xaw3d/XawInit.h> | 9184 #include <Xaw3d/XawInit.h> |
9188 EOF | 9185 EOF |
9189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9190 { (eval echo configure:9191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9187 { (eval echo configure:9188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9192 if test -z "$ac_err"; then | 9189 if test -z "$ac_err"; then |
9193 rm -rf conftest* | 9190 rm -rf conftest* |
9194 eval "ac_cv_header_$ac_safe=yes" | 9191 eval "ac_cv_header_$ac_safe=yes" |
9195 else | 9192 else |
9202 rm -f conftest* | 9199 rm -f conftest* |
9203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9204 echo "$ac_t""yes" 1>&6 | 9201 echo "$ac_t""yes" 1>&6 |
9205 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9202 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9206 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9203 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9207 echo "configure:9208: checking for Xaw3d/ThreeD.h" >&5 | 9204 echo "configure:9205: checking for Xaw3d/ThreeD.h" >&5 |
9208 | 9205 |
9209 cat > conftest.$ac_ext <<EOF | 9206 cat > conftest.$ac_ext <<EOF |
9210 #line 9211 "configure" | 9207 #line 9208 "configure" |
9211 #include "confdefs.h" | 9208 #include "confdefs.h" |
9212 #include <Xaw3d/ThreeD.h> | 9209 #include <Xaw3d/ThreeD.h> |
9213 EOF | 9210 EOF |
9214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9215 { (eval echo configure:9216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9212 { (eval echo configure:9213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9217 if test -z "$ac_err"; then | 9214 if test -z "$ac_err"; then |
9218 rm -rf conftest* | 9215 rm -rf conftest* |
9219 eval "ac_cv_header_$ac_safe=yes" | 9216 eval "ac_cv_header_$ac_safe=yes" |
9220 else | 9217 else |
9242 fi | 9239 fi |
9243 | 9240 |
9244 if test -z "$athena_h_path"; then | 9241 if test -z "$athena_h_path"; then |
9245 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9242 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9246 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9243 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9247 echo "configure:9248: checking for X11/Xaw/ThreeD.h" >&5 | 9244 echo "configure:9245: checking for X11/Xaw/ThreeD.h" >&5 |
9248 | 9245 |
9249 cat > conftest.$ac_ext <<EOF | 9246 cat > conftest.$ac_ext <<EOF |
9250 #line 9251 "configure" | 9247 #line 9248 "configure" |
9251 #include "confdefs.h" | 9248 #include "confdefs.h" |
9252 #include <X11/Xaw/ThreeD.h> | 9249 #include <X11/Xaw/ThreeD.h> |
9253 EOF | 9250 EOF |
9254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9255 { (eval echo configure:9256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9252 { (eval echo configure:9253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9257 if test -z "$ac_err"; then | 9254 if test -z "$ac_err"; then |
9258 rm -rf conftest* | 9255 rm -rf conftest* |
9259 eval "ac_cv_header_$ac_safe=yes" | 9256 eval "ac_cv_header_$ac_safe=yes" |
9260 else | 9257 else |
9285 have_xaw=no | 9282 have_xaw=no |
9286 fi | 9283 fi |
9287 | 9284 |
9288 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9285 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9289 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9286 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9290 echo "configure:9291: checking for Xm/Xm.h" >&5 | 9287 echo "configure:9288: checking for Xm/Xm.h" >&5 |
9291 | 9288 |
9292 cat > conftest.$ac_ext <<EOF | 9289 cat > conftest.$ac_ext <<EOF |
9293 #line 9294 "configure" | 9290 #line 9291 "configure" |
9294 #include "confdefs.h" | 9291 #include "confdefs.h" |
9295 #include <Xm/Xm.h> | 9292 #include <Xm/Xm.h> |
9296 EOF | 9293 EOF |
9297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9298 { (eval echo configure:9299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9295 { (eval echo configure:9296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9300 if test -z "$ac_err"; then | 9297 if test -z "$ac_err"; then |
9301 rm -rf conftest* | 9298 rm -rf conftest* |
9302 eval "ac_cv_header_$ac_safe=yes" | 9299 eval "ac_cv_header_$ac_safe=yes" |
9303 else | 9300 else |
9310 rm -f conftest* | 9307 rm -f conftest* |
9311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9312 echo "$ac_t""yes" 1>&6 | 9309 echo "$ac_t""yes" 1>&6 |
9313 | 9310 |
9314 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9311 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9315 echo "configure:9316: checking for XmStringFree in -lXm" >&5 | 9312 echo "configure:9313: checking for XmStringFree in -lXm" >&5 |
9316 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9313 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9317 | 9314 |
9318 xe_check_libs=" -lXm " | 9315 xe_check_libs=" -lXm " |
9319 cat > conftest.$ac_ext <<EOF | 9316 cat > conftest.$ac_ext <<EOF |
9320 #line 9321 "configure" | 9317 #line 9318 "configure" |
9321 #include "confdefs.h" | 9318 #include "confdefs.h" |
9322 /* Override any gcc2 internal prototype to avoid an error. */ | 9319 /* Override any gcc2 internal prototype to avoid an error. */ |
9323 /* We use char because int might match the return type of a gcc2 | 9320 /* We use char because int might match the return type of a gcc2 |
9324 builtin and then its argument prototype would still apply. */ | 9321 builtin and then its argument prototype would still apply. */ |
9325 char XmStringFree(); | 9322 char XmStringFree(); |
9326 | 9323 |
9327 int main() { | 9324 int main() { |
9328 XmStringFree() | 9325 XmStringFree() |
9329 ; return 0; } | 9326 ; return 0; } |
9330 EOF | 9327 EOF |
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9328 if { (eval echo configure:9329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9332 rm -rf conftest* | 9329 rm -rf conftest* |
9333 eval "ac_cv_lib_$ac_lib_var=yes" | 9330 eval "ac_cv_lib_$ac_lib_var=yes" |
9334 else | 9331 else |
9335 echo "configure: failed program was:" >&5 | 9332 echo "configure: failed program was:" >&5 |
9336 cat conftest.$ac_ext >&5 | 9333 cat conftest.$ac_ext >&5 |
9355 fi | 9352 fi |
9356 | 9353 |
9357 | 9354 |
9358 if test "$have_motif" = "yes"; then | 9355 if test "$have_motif" = "yes"; then |
9359 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9356 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9360 echo "configure:9361: checking for Lesstif" >&5 | 9357 echo "configure:9358: checking for Lesstif" >&5 |
9361 cat > conftest.$ac_ext <<EOF | 9358 cat > conftest.$ac_ext <<EOF |
9362 #line 9363 "configure" | 9359 #line 9360 "configure" |
9363 #include "confdefs.h" | 9360 #include "confdefs.h" |
9364 #include <Xm/Xm.h> | 9361 #include <Xm/Xm.h> |
9365 #ifdef LESSTIF_VERSION | 9362 #ifdef LESSTIF_VERSION |
9366 yes | 9363 yes |
9367 #endif | 9364 #endif |
9781 fi | 9778 fi |
9782 fi | 9779 fi |
9783 | 9780 |
9784 if test "$with_mule" = "yes" ; then | 9781 if test "$with_mule" = "yes" ; then |
9785 echo "checking for Mule-related features" 1>&6 | 9782 echo "checking for Mule-related features" 1>&6 |
9786 echo "configure:9787: checking for Mule-related features" >&5 | 9783 echo "configure:9784: checking for Mule-related features" >&5 |
9787 { test "$extra_verbose" = "yes" && cat << \EOF | 9784 { test "$extra_verbose" = "yes" && cat << \EOF |
9788 Defining MULE | 9785 Defining MULE |
9789 EOF | 9786 EOF |
9790 cat >> confdefs.h <<\EOF | 9787 cat >> confdefs.h <<\EOF |
9791 #define MULE 1 | 9788 #define MULE 1 |
9806 | 9803 |
9807 for ac_hdr in libintl.h | 9804 for ac_hdr in libintl.h |
9808 do | 9805 do |
9809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9806 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9811 echo "configure:9812: checking for $ac_hdr" >&5 | 9808 echo "configure:9809: checking for $ac_hdr" >&5 |
9812 | 9809 |
9813 cat > conftest.$ac_ext <<EOF | 9810 cat > conftest.$ac_ext <<EOF |
9814 #line 9815 "configure" | 9811 #line 9812 "configure" |
9815 #include "confdefs.h" | 9812 #include "confdefs.h" |
9816 #include <$ac_hdr> | 9813 #include <$ac_hdr> |
9817 EOF | 9814 EOF |
9818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9819 { (eval echo configure:9820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9816 { (eval echo configure:9817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9821 if test -z "$ac_err"; then | 9818 if test -z "$ac_err"; then |
9822 rm -rf conftest* | 9819 rm -rf conftest* |
9823 eval "ac_cv_header_$ac_safe=yes" | 9820 eval "ac_cv_header_$ac_safe=yes" |
9824 else | 9821 else |
9845 fi | 9842 fi |
9846 done | 9843 done |
9847 | 9844 |
9848 | 9845 |
9849 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9846 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9850 echo "configure:9851: checking for strerror in -lintl" >&5 | 9847 echo "configure:9848: checking for strerror in -lintl" >&5 |
9851 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9848 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9852 | 9849 |
9853 xe_check_libs=" -lintl " | 9850 xe_check_libs=" -lintl " |
9854 cat > conftest.$ac_ext <<EOF | 9851 cat > conftest.$ac_ext <<EOF |
9855 #line 9856 "configure" | 9852 #line 9853 "configure" |
9856 #include "confdefs.h" | 9853 #include "confdefs.h" |
9857 /* Override any gcc2 internal prototype to avoid an error. */ | 9854 /* Override any gcc2 internal prototype to avoid an error. */ |
9858 /* We use char because int might match the return type of a gcc2 | 9855 /* We use char because int might match the return type of a gcc2 |
9859 builtin and then its argument prototype would still apply. */ | 9856 builtin and then its argument prototype would still apply. */ |
9860 char strerror(); | 9857 char strerror(); |
9861 | 9858 |
9862 int main() { | 9859 int main() { |
9863 strerror() | 9860 strerror() |
9864 ; return 0; } | 9861 ; return 0; } |
9865 EOF | 9862 EOF |
9866 if { (eval echo configure:9867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9863 if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9867 rm -rf conftest* | 9864 rm -rf conftest* |
9868 eval "ac_cv_lib_$ac_lib_var=yes" | 9865 eval "ac_cv_lib_$ac_lib_var=yes" |
9869 else | 9866 else |
9870 echo "configure: failed program was:" >&5 | 9867 echo "configure: failed program was:" >&5 |
9871 cat conftest.$ac_ext >&5 | 9868 cat conftest.$ac_ext >&5 |
9894 fi | 9891 fi |
9895 | 9892 |
9896 | 9893 |
9897 | 9894 |
9898 echo "checking for Mule input methods" 1>&6 | 9895 echo "checking for Mule input methods" 1>&6 |
9899 echo "configure:9900: checking for Mule input methods" >&5 | 9896 echo "configure:9897: checking for Mule input methods" >&5 |
9900 case "$with_xim" in "" | "yes" ) | 9897 case "$with_xim" in "" | "yes" ) |
9901 echo "checking for XIM" 1>&6 | 9898 echo "checking for XIM" 1>&6 |
9902 echo "configure:9903: checking for XIM" >&5 | 9899 echo "configure:9900: checking for XIM" >&5 |
9903 | 9900 |
9904 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9901 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9905 echo "configure:9906: checking for XOpenIM in -lX11" >&5 | 9902 echo "configure:9903: checking for XOpenIM in -lX11" >&5 |
9906 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9903 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9907 | 9904 |
9908 xe_check_libs=" -lX11 " | 9905 xe_check_libs=" -lX11 " |
9909 cat > conftest.$ac_ext <<EOF | 9906 cat > conftest.$ac_ext <<EOF |
9910 #line 9911 "configure" | 9907 #line 9908 "configure" |
9911 #include "confdefs.h" | 9908 #include "confdefs.h" |
9912 /* Override any gcc2 internal prototype to avoid an error. */ | 9909 /* Override any gcc2 internal prototype to avoid an error. */ |
9913 /* We use char because int might match the return type of a gcc2 | 9910 /* We use char because int might match the return type of a gcc2 |
9914 builtin and then its argument prototype would still apply. */ | 9911 builtin and then its argument prototype would still apply. */ |
9915 char XOpenIM(); | 9912 char XOpenIM(); |
9916 | 9913 |
9917 int main() { | 9914 int main() { |
9918 XOpenIM() | 9915 XOpenIM() |
9919 ; return 0; } | 9916 ; return 0; } |
9920 EOF | 9917 EOF |
9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9922 rm -rf conftest* | 9919 rm -rf conftest* |
9923 eval "ac_cv_lib_$ac_lib_var=yes" | 9920 eval "ac_cv_lib_$ac_lib_var=yes" |
9924 else | 9921 else |
9925 echo "configure: failed program was:" >&5 | 9922 echo "configure: failed program was:" >&5 |
9926 cat conftest.$ac_ext >&5 | 9923 cat conftest.$ac_ext >&5 |
9940 | 9937 |
9941 | 9938 |
9942 if test "$have_motif $have_lesstif" = "yes no"; then | 9939 if test "$have_motif $have_lesstif" = "yes no"; then |
9943 | 9940 |
9944 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9941 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9945 echo "configure:9946: checking for XmImMbLookupString in -lXm" >&5 | 9942 echo "configure:9943: checking for XmImMbLookupString in -lXm" >&5 |
9946 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9943 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9947 | 9944 |
9948 xe_check_libs=" -lXm " | 9945 xe_check_libs=" -lXm " |
9949 cat > conftest.$ac_ext <<EOF | 9946 cat > conftest.$ac_ext <<EOF |
9950 #line 9951 "configure" | 9947 #line 9948 "configure" |
9951 #include "confdefs.h" | 9948 #include "confdefs.h" |
9952 /* Override any gcc2 internal prototype to avoid an error. */ | 9949 /* Override any gcc2 internal prototype to avoid an error. */ |
9953 /* We use char because int might match the return type of a gcc2 | 9950 /* We use char because int might match the return type of a gcc2 |
9954 builtin and then its argument prototype would still apply. */ | 9951 builtin and then its argument prototype would still apply. */ |
9955 char XmImMbLookupString(); | 9952 char XmImMbLookupString(); |
9956 | 9953 |
9957 int main() { | 9954 int main() { |
9958 XmImMbLookupString() | 9955 XmImMbLookupString() |
9959 ; return 0; } | 9956 ; return 0; } |
9960 EOF | 9957 EOF |
9961 if { (eval echo configure:9962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9962 rm -rf conftest* | 9959 rm -rf conftest* |
9963 eval "ac_cv_lib_$ac_lib_var=yes" | 9960 eval "ac_cv_lib_$ac_lib_var=yes" |
9964 else | 9961 else |
9965 echo "configure: failed program was:" >&5 | 9962 echo "configure: failed program was:" >&5 |
9966 cat conftest.$ac_ext >&5 | 9963 cat conftest.$ac_ext >&5 |
10021 fi | 10018 fi |
10022 fi | 10019 fi |
10023 | 10020 |
10024 if test "$with_xfs" = "yes" ; then | 10021 if test "$with_xfs" = "yes" ; then |
10025 echo "checking for XFontSet" 1>&6 | 10022 echo "checking for XFontSet" 1>&6 |
10026 echo "configure:10027: checking for XFontSet" >&5 | 10023 echo "configure:10024: checking for XFontSet" >&5 |
10027 | 10024 |
10028 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10025 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10029 echo "configure:10030: checking for XmbDrawString in -lX11" >&5 | 10026 echo "configure:10027: checking for XmbDrawString in -lX11" >&5 |
10030 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10027 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10031 | 10028 |
10032 xe_check_libs=" -lX11 " | 10029 xe_check_libs=" -lX11 " |
10033 cat > conftest.$ac_ext <<EOF | 10030 cat > conftest.$ac_ext <<EOF |
10034 #line 10035 "configure" | 10031 #line 10032 "configure" |
10035 #include "confdefs.h" | 10032 #include "confdefs.h" |
10036 /* Override any gcc2 internal prototype to avoid an error. */ | 10033 /* Override any gcc2 internal prototype to avoid an error. */ |
10037 /* We use char because int might match the return type of a gcc2 | 10034 /* We use char because int might match the return type of a gcc2 |
10038 builtin and then its argument prototype would still apply. */ | 10035 builtin and then its argument prototype would still apply. */ |
10039 char XmbDrawString(); | 10036 char XmbDrawString(); |
10040 | 10037 |
10041 int main() { | 10038 int main() { |
10042 XmbDrawString() | 10039 XmbDrawString() |
10043 ; return 0; } | 10040 ; return 0; } |
10044 EOF | 10041 EOF |
10045 if { (eval echo configure:10046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10046 rm -rf conftest* | 10043 rm -rf conftest* |
10047 eval "ac_cv_lib_$ac_lib_var=yes" | 10044 eval "ac_cv_lib_$ac_lib_var=yes" |
10048 else | 10045 else |
10049 echo "configure: failed program was:" >&5 | 10046 echo "configure: failed program was:" >&5 |
10050 cat conftest.$ac_ext >&5 | 10047 cat conftest.$ac_ext >&5 |
10080 fi | 10077 fi |
10081 fi | 10078 fi |
10082 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10079 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10083 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10080 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10084 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10081 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10085 echo "configure:10086: checking for wnn/jllib.h" >&5 | 10082 echo "configure:10083: checking for wnn/jllib.h" >&5 |
10086 | 10083 |
10087 cat > conftest.$ac_ext <<EOF | 10084 cat > conftest.$ac_ext <<EOF |
10088 #line 10089 "configure" | 10085 #line 10086 "configure" |
10089 #include "confdefs.h" | 10086 #include "confdefs.h" |
10090 #include <wnn/jllib.h> | 10087 #include <wnn/jllib.h> |
10091 EOF | 10088 EOF |
10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10095 if test -z "$ac_err"; then | 10092 if test -z "$ac_err"; then |
10096 rm -rf conftest* | 10093 rm -rf conftest* |
10097 eval "ac_cv_header_$ac_safe=yes" | 10094 eval "ac_cv_header_$ac_safe=yes" |
10098 else | 10095 else |
10111 with_wnn=no | 10108 with_wnn=no |
10112 fi | 10109 fi |
10113 } | 10110 } |
10114 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10111 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10115 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10112 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10116 echo "configure:10117: checking for wnn/commonhd.h" >&5 | 10113 echo "configure:10114: checking for wnn/commonhd.h" >&5 |
10117 | 10114 |
10118 cat > conftest.$ac_ext <<EOF | 10115 cat > conftest.$ac_ext <<EOF |
10119 #line 10120 "configure" | 10116 #line 10117 "configure" |
10120 #include "confdefs.h" | 10117 #include "confdefs.h" |
10121 #include <wnn/commonhd.h> | 10118 #include <wnn/commonhd.h> |
10122 EOF | 10119 EOF |
10123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10124 { (eval echo configure:10125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10121 { (eval echo configure:10122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10126 if test -z "$ac_err"; then | 10123 if test -z "$ac_err"; then |
10127 rm -rf conftest* | 10124 rm -rf conftest* |
10128 eval "ac_cv_header_$ac_safe=yes" | 10125 eval "ac_cv_header_$ac_safe=yes" |
10129 else | 10126 else |
10144 } | 10141 } |
10145 if test "$with_wnn" != "no"; then | 10142 if test "$with_wnn" != "no"; then |
10146 for ac_func in crypt | 10143 for ac_func in crypt |
10147 do | 10144 do |
10148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10149 echo "configure:10150: checking for $ac_func" >&5 | 10146 echo "configure:10147: checking for $ac_func" >&5 |
10150 | 10147 |
10151 cat > conftest.$ac_ext <<EOF | 10148 cat > conftest.$ac_ext <<EOF |
10152 #line 10153 "configure" | 10149 #line 10150 "configure" |
10153 #include "confdefs.h" | 10150 #include "confdefs.h" |
10154 /* System header to define __stub macros and hopefully few prototypes, | 10151 /* System header to define __stub macros and hopefully few prototypes, |
10155 which can conflict with char $ac_func(); below. */ | 10152 which can conflict with char $ac_func(); below. */ |
10156 #include <assert.h> | 10153 #include <assert.h> |
10157 /* Override any gcc2 internal prototype to avoid an error. */ | 10154 /* Override any gcc2 internal prototype to avoid an error. */ |
10170 $ac_func(); | 10167 $ac_func(); |
10171 #endif | 10168 #endif |
10172 | 10169 |
10173 ; return 0; } | 10170 ; return 0; } |
10174 EOF | 10171 EOF |
10175 if { (eval echo configure:10176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10172 if { (eval echo configure:10173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10176 rm -rf conftest* | 10173 rm -rf conftest* |
10177 eval "ac_cv_func_$ac_func=yes" | 10174 eval "ac_cv_func_$ac_func=yes" |
10178 else | 10175 else |
10179 echo "configure: failed program was:" >&5 | 10176 echo "configure: failed program was:" >&5 |
10180 cat conftest.$ac_ext >&5 | 10177 cat conftest.$ac_ext >&5 |
10199 fi | 10196 fi |
10200 done | 10197 done |
10201 | 10198 |
10202 test "$ac_cv_func_crypt" != "yes" && { | 10199 test "$ac_cv_func_crypt" != "yes" && { |
10203 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10200 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10204 echo "configure:10205: checking for crypt in -lcrypt" >&5 | 10201 echo "configure:10202: checking for crypt in -lcrypt" >&5 |
10205 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10202 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10206 | 10203 |
10207 xe_check_libs=" -lcrypt " | 10204 xe_check_libs=" -lcrypt " |
10208 cat > conftest.$ac_ext <<EOF | 10205 cat > conftest.$ac_ext <<EOF |
10209 #line 10210 "configure" | 10206 #line 10207 "configure" |
10210 #include "confdefs.h" | 10207 #include "confdefs.h" |
10211 /* Override any gcc2 internal prototype to avoid an error. */ | 10208 /* Override any gcc2 internal prototype to avoid an error. */ |
10212 /* We use char because int might match the return type of a gcc2 | 10209 /* We use char because int might match the return type of a gcc2 |
10213 builtin and then its argument prototype would still apply. */ | 10210 builtin and then its argument prototype would still apply. */ |
10214 char crypt(); | 10211 char crypt(); |
10215 | 10212 |
10216 int main() { | 10213 int main() { |
10217 crypt() | 10214 crypt() |
10218 ; return 0; } | 10215 ; return 0; } |
10219 EOF | 10216 EOF |
10220 if { (eval echo configure:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10217 if { (eval echo configure:10218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10221 rm -rf conftest* | 10218 rm -rf conftest* |
10222 eval "ac_cv_lib_$ac_lib_var=yes" | 10219 eval "ac_cv_lib_$ac_lib_var=yes" |
10223 else | 10220 else |
10224 echo "configure: failed program was:" >&5 | 10221 echo "configure: failed program was:" >&5 |
10225 cat conftest.$ac_ext >&5 | 10222 cat conftest.$ac_ext >&5 |
10250 } | 10247 } |
10251 fi | 10248 fi |
10252 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10249 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10253 | 10250 |
10254 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10255 echo "configure:10256: checking for jl_dic_list_e in -lwnn" >&5 | 10252 echo "configure:10253: checking for jl_dic_list_e in -lwnn" >&5 |
10256 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10253 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10257 | 10254 |
10258 xe_check_libs=" -lwnn " | 10255 xe_check_libs=" -lwnn " |
10259 cat > conftest.$ac_ext <<EOF | 10256 cat > conftest.$ac_ext <<EOF |
10260 #line 10261 "configure" | 10257 #line 10258 "configure" |
10261 #include "confdefs.h" | 10258 #include "confdefs.h" |
10262 /* Override any gcc2 internal prototype to avoid an error. */ | 10259 /* Override any gcc2 internal prototype to avoid an error. */ |
10263 /* We use char because int might match the return type of a gcc2 | 10260 /* We use char because int might match the return type of a gcc2 |
10264 builtin and then its argument prototype would still apply. */ | 10261 builtin and then its argument prototype would still apply. */ |
10265 char jl_dic_list_e(); | 10262 char jl_dic_list_e(); |
10266 | 10263 |
10267 int main() { | 10264 int main() { |
10268 jl_dic_list_e() | 10265 jl_dic_list_e() |
10269 ; return 0; } | 10266 ; return 0; } |
10270 EOF | 10267 EOF |
10271 if { (eval echo configure:10272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10268 if { (eval echo configure:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10272 rm -rf conftest* | 10269 rm -rf conftest* |
10273 eval "ac_cv_lib_$ac_lib_var=yes" | 10270 eval "ac_cv_lib_$ac_lib_var=yes" |
10274 else | 10271 else |
10275 echo "configure: failed program was:" >&5 | 10272 echo "configure: failed program was:" >&5 |
10276 cat conftest.$ac_ext >&5 | 10273 cat conftest.$ac_ext >&5 |
10284 echo "$ac_t""yes" 1>&6 | 10281 echo "$ac_t""yes" 1>&6 |
10285 libwnn=wnn | 10282 libwnn=wnn |
10286 else | 10283 else |
10287 echo "$ac_t""no" 1>&6 | 10284 echo "$ac_t""no" 1>&6 |
10288 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10285 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10289 echo "configure:10290: checking for jl_dic_list_e in -lwnn4" >&5 | 10286 echo "configure:10287: checking for jl_dic_list_e in -lwnn4" >&5 |
10290 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10287 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10291 | 10288 |
10292 xe_check_libs=" -lwnn4 " | 10289 xe_check_libs=" -lwnn4 " |
10293 cat > conftest.$ac_ext <<EOF | 10290 cat > conftest.$ac_ext <<EOF |
10294 #line 10295 "configure" | 10291 #line 10292 "configure" |
10295 #include "confdefs.h" | 10292 #include "confdefs.h" |
10296 /* Override any gcc2 internal prototype to avoid an error. */ | 10293 /* Override any gcc2 internal prototype to avoid an error. */ |
10297 /* We use char because int might match the return type of a gcc2 | 10294 /* We use char because int might match the return type of a gcc2 |
10298 builtin and then its argument prototype would still apply. */ | 10295 builtin and then its argument prototype would still apply. */ |
10299 char jl_dic_list_e(); | 10296 char jl_dic_list_e(); |
10300 | 10297 |
10301 int main() { | 10298 int main() { |
10302 jl_dic_list_e() | 10299 jl_dic_list_e() |
10303 ; return 0; } | 10300 ; return 0; } |
10304 EOF | 10301 EOF |
10305 if { (eval echo configure:10306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10302 if { (eval echo configure:10303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10306 rm -rf conftest* | 10303 rm -rf conftest* |
10307 eval "ac_cv_lib_$ac_lib_var=yes" | 10304 eval "ac_cv_lib_$ac_lib_var=yes" |
10308 else | 10305 else |
10309 echo "configure: failed program was:" >&5 | 10306 echo "configure: failed program was:" >&5 |
10310 cat conftest.$ac_ext >&5 | 10307 cat conftest.$ac_ext >&5 |
10318 echo "$ac_t""yes" 1>&6 | 10315 echo "$ac_t""yes" 1>&6 |
10319 libwnn=wnn4 | 10316 libwnn=wnn4 |
10320 else | 10317 else |
10321 echo "$ac_t""no" 1>&6 | 10318 echo "$ac_t""no" 1>&6 |
10322 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10319 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10323 echo "configure:10324: checking for jl_dic_list_e in -lwnn6" >&5 | 10320 echo "configure:10321: checking for jl_dic_list_e in -lwnn6" >&5 |
10324 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10321 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10325 | 10322 |
10326 xe_check_libs=" -lwnn6 " | 10323 xe_check_libs=" -lwnn6 " |
10327 cat > conftest.$ac_ext <<EOF | 10324 cat > conftest.$ac_ext <<EOF |
10328 #line 10329 "configure" | 10325 #line 10326 "configure" |
10329 #include "confdefs.h" | 10326 #include "confdefs.h" |
10330 /* Override any gcc2 internal prototype to avoid an error. */ | 10327 /* Override any gcc2 internal prototype to avoid an error. */ |
10331 /* We use char because int might match the return type of a gcc2 | 10328 /* We use char because int might match the return type of a gcc2 |
10332 builtin and then its argument prototype would still apply. */ | 10329 builtin and then its argument prototype would still apply. */ |
10333 char jl_dic_list_e(); | 10330 char jl_dic_list_e(); |
10334 | 10331 |
10335 int main() { | 10332 int main() { |
10336 jl_dic_list_e() | 10333 jl_dic_list_e() |
10337 ; return 0; } | 10334 ; return 0; } |
10338 EOF | 10335 EOF |
10339 if { (eval echo configure:10340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10336 if { (eval echo configure:10337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10340 rm -rf conftest* | 10337 rm -rf conftest* |
10341 eval "ac_cv_lib_$ac_lib_var=yes" | 10338 eval "ac_cv_lib_$ac_lib_var=yes" |
10342 else | 10339 else |
10343 echo "configure: failed program was:" >&5 | 10340 echo "configure: failed program was:" >&5 |
10344 cat conftest.$ac_ext >&5 | 10341 cat conftest.$ac_ext >&5 |
10352 echo "$ac_t""yes" 1>&6 | 10349 echo "$ac_t""yes" 1>&6 |
10353 libwnn=wnn6 | 10350 libwnn=wnn6 |
10354 else | 10351 else |
10355 echo "$ac_t""no" 1>&6 | 10352 echo "$ac_t""no" 1>&6 |
10356 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10353 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10357 echo "configure:10358: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10354 echo "configure:10355: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10358 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10355 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10359 | 10356 |
10360 xe_check_libs=" -lwnn6_fromsrc " | 10357 xe_check_libs=" -lwnn6_fromsrc " |
10361 cat > conftest.$ac_ext <<EOF | 10358 cat > conftest.$ac_ext <<EOF |
10362 #line 10363 "configure" | 10359 #line 10360 "configure" |
10363 #include "confdefs.h" | 10360 #include "confdefs.h" |
10364 /* Override any gcc2 internal prototype to avoid an error. */ | 10361 /* Override any gcc2 internal prototype to avoid an error. */ |
10365 /* We use char because int might match the return type of a gcc2 | 10362 /* We use char because int might match the return type of a gcc2 |
10366 builtin and then its argument prototype would still apply. */ | 10363 builtin and then its argument prototype would still apply. */ |
10367 char dic_list_e(); | 10364 char dic_list_e(); |
10368 | 10365 |
10369 int main() { | 10366 int main() { |
10370 dic_list_e() | 10367 dic_list_e() |
10371 ; return 0; } | 10368 ; return 0; } |
10372 EOF | 10369 EOF |
10373 if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10374 rm -rf conftest* | 10371 rm -rf conftest* |
10375 eval "ac_cv_lib_$ac_lib_var=yes" | 10372 eval "ac_cv_lib_$ac_lib_var=yes" |
10376 else | 10373 else |
10377 echo "configure: failed program was:" >&5 | 10374 echo "configure: failed program was:" >&5 |
10378 cat conftest.$ac_ext >&5 | 10375 cat conftest.$ac_ext >&5 |
10416 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10413 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10417 fi | 10414 fi |
10418 if test "$with_wnn6" != "no"; then | 10415 if test "$with_wnn6" != "no"; then |
10419 | 10416 |
10420 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10417 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10421 echo "configure:10422: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10418 echo "configure:10419: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10422 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10419 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10423 | 10420 |
10424 xe_check_libs=" -l$libwnn " | 10421 xe_check_libs=" -l$libwnn " |
10425 cat > conftest.$ac_ext <<EOF | 10422 cat > conftest.$ac_ext <<EOF |
10426 #line 10427 "configure" | 10423 #line 10424 "configure" |
10427 #include "confdefs.h" | 10424 #include "confdefs.h" |
10428 /* Override any gcc2 internal prototype to avoid an error. */ | 10425 /* Override any gcc2 internal prototype to avoid an error. */ |
10429 /* We use char because int might match the return type of a gcc2 | 10426 /* We use char because int might match the return type of a gcc2 |
10430 builtin and then its argument prototype would still apply. */ | 10427 builtin and then its argument prototype would still apply. */ |
10431 char jl_fi_dic_list(); | 10428 char jl_fi_dic_list(); |
10432 | 10429 |
10433 int main() { | 10430 int main() { |
10434 jl_fi_dic_list() | 10431 jl_fi_dic_list() |
10435 ; return 0; } | 10432 ; return 0; } |
10436 EOF | 10433 EOF |
10437 if { (eval echo configure:10438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10434 if { (eval echo configure:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10438 rm -rf conftest* | 10435 rm -rf conftest* |
10439 eval "ac_cv_lib_$ac_lib_var=yes" | 10436 eval "ac_cv_lib_$ac_lib_var=yes" |
10440 else | 10437 else |
10441 echo "configure: failed program was:" >&5 | 10438 echo "configure: failed program was:" >&5 |
10442 cat conftest.$ac_ext >&5 | 10439 cat conftest.$ac_ext >&5 |
10467 | 10464 |
10468 canna_includes_found=no | 10465 canna_includes_found=no |
10469 if test "$with_canna" != "no"; then | 10466 if test "$with_canna" != "no"; then |
10470 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10467 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10471 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10468 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10472 echo "configure:10473: checking for canna/jrkanji.h" >&5 | 10469 echo "configure:10470: checking for canna/jrkanji.h" >&5 |
10473 | 10470 |
10474 cat > conftest.$ac_ext <<EOF | 10471 cat > conftest.$ac_ext <<EOF |
10475 #line 10476 "configure" | 10472 #line 10473 "configure" |
10476 #include "confdefs.h" | 10473 #include "confdefs.h" |
10477 #include <canna/jrkanji.h> | 10474 #include <canna/jrkanji.h> |
10478 EOF | 10475 EOF |
10479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10480 { (eval echo configure:10481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10477 { (eval echo configure:10478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10482 if test -z "$ac_err"; then | 10479 if test -z "$ac_err"; then |
10483 rm -rf conftest* | 10480 rm -rf conftest* |
10484 eval "ac_cv_header_$ac_safe=yes" | 10481 eval "ac_cv_header_$ac_safe=yes" |
10485 else | 10482 else |
10502 -d "/usr/local/canna/include"; then | 10499 -d "/usr/local/canna/include"; then |
10503 save_c_switch_site="$c_switch_site" | 10500 save_c_switch_site="$c_switch_site" |
10504 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10501 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10505 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10502 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10506 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10503 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for canna/jrkanji.h" >&5 | 10504 echo "configure:10505: checking for canna/jrkanji.h" >&5 |
10508 | 10505 |
10509 cat > conftest.$ac_ext <<EOF | 10506 cat > conftest.$ac_ext <<EOF |
10510 #line 10511 "configure" | 10507 #line 10508 "configure" |
10511 #include "confdefs.h" | 10508 #include "confdefs.h" |
10512 #include <canna/jrkanji.h> | 10509 #include <canna/jrkanji.h> |
10513 EOF | 10510 EOF |
10514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10515 { (eval echo configure:10516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10512 { (eval echo configure:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10517 if test -z "$ac_err"; then | 10514 if test -z "$ac_err"; then |
10518 rm -rf conftest* | 10515 rm -rf conftest* |
10519 eval "ac_cv_header_$ac_safe=yes" | 10516 eval "ac_cv_header_$ac_safe=yes" |
10520 else | 10517 else |
10538 fi | 10535 fi |
10539 fi | 10536 fi |
10540 | 10537 |
10541 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10538 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10542 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10539 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10543 echo "configure:10544: checking for canna/RK.h" >&5 | 10540 echo "configure:10541: checking for canna/RK.h" >&5 |
10544 | 10541 |
10545 cat > conftest.$ac_ext <<EOF | 10542 cat > conftest.$ac_ext <<EOF |
10546 #line 10547 "configure" | 10543 #line 10544 "configure" |
10547 #include "confdefs.h" | 10544 #include "confdefs.h" |
10548 #include <canna/RK.h> | 10545 #include <canna/RK.h> |
10549 EOF | 10546 EOF |
10550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10551 { (eval echo configure:10552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10548 { (eval echo configure:10549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10553 if test -z "$ac_err"; then | 10550 if test -z "$ac_err"; then |
10554 rm -rf conftest* | 10551 rm -rf conftest* |
10555 eval "ac_cv_header_$ac_safe=yes" | 10552 eval "ac_cv_header_$ac_safe=yes" |
10556 else | 10553 else |
10569 with_canna=no | 10566 with_canna=no |
10570 fi | 10567 fi |
10571 } | 10568 } |
10572 test -z "$with_canna" && { | 10569 test -z "$with_canna" && { |
10573 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10570 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10574 echo "configure:10575: checking for RkBgnBun in -lRKC" >&5 | 10571 echo "configure:10572: checking for RkBgnBun in -lRKC" >&5 |
10575 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10572 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10576 | 10573 |
10577 xe_check_libs=" -lRKC " | 10574 xe_check_libs=" -lRKC " |
10578 cat > conftest.$ac_ext <<EOF | 10575 cat > conftest.$ac_ext <<EOF |
10579 #line 10580 "configure" | 10576 #line 10577 "configure" |
10580 #include "confdefs.h" | 10577 #include "confdefs.h" |
10581 /* Override any gcc2 internal prototype to avoid an error. */ | 10578 /* Override any gcc2 internal prototype to avoid an error. */ |
10582 /* We use char because int might match the return type of a gcc2 | 10579 /* We use char because int might match the return type of a gcc2 |
10583 builtin and then its argument prototype would still apply. */ | 10580 builtin and then its argument prototype would still apply. */ |
10584 char RkBgnBun(); | 10581 char RkBgnBun(); |
10585 | 10582 |
10586 int main() { | 10583 int main() { |
10587 RkBgnBun() | 10584 RkBgnBun() |
10588 ; return 0; } | 10585 ; return 0; } |
10589 EOF | 10586 EOF |
10590 if { (eval echo configure:10591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10591 rm -rf conftest* | 10588 rm -rf conftest* |
10592 eval "ac_cv_lib_$ac_lib_var=yes" | 10589 eval "ac_cv_lib_$ac_lib_var=yes" |
10593 else | 10590 else |
10594 echo "configure: failed program was:" >&5 | 10591 echo "configure: failed program was:" >&5 |
10595 cat conftest.$ac_ext >&5 | 10592 cat conftest.$ac_ext >&5 |
10608 fi | 10605 fi |
10609 | 10606 |
10610 } | 10607 } |
10611 test -z "$with_canna" && { | 10608 test -z "$with_canna" && { |
10612 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10609 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10613 echo "configure:10614: checking for jrKanjiControl in -lcanna" >&5 | 10610 echo "configure:10611: checking for jrKanjiControl in -lcanna" >&5 |
10614 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10611 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10615 | 10612 |
10616 xe_check_libs=" -lcanna " | 10613 xe_check_libs=" -lcanna " |
10617 cat > conftest.$ac_ext <<EOF | 10614 cat > conftest.$ac_ext <<EOF |
10618 #line 10619 "configure" | 10615 #line 10616 "configure" |
10619 #include "confdefs.h" | 10616 #include "confdefs.h" |
10620 /* Override any gcc2 internal prototype to avoid an error. */ | 10617 /* Override any gcc2 internal prototype to avoid an error. */ |
10621 /* We use char because int might match the return type of a gcc2 | 10618 /* We use char because int might match the return type of a gcc2 |
10622 builtin and then its argument prototype would still apply. */ | 10619 builtin and then its argument prototype would still apply. */ |
10623 char jrKanjiControl(); | 10620 char jrKanjiControl(); |
10624 | 10621 |
10625 int main() { | 10622 int main() { |
10626 jrKanjiControl() | 10623 jrKanjiControl() |
10627 ; return 0; } | 10624 ; return 0; } |
10628 EOF | 10625 EOF |
10629 if { (eval echo configure:10630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10630 rm -rf conftest* | 10627 rm -rf conftest* |
10631 eval "ac_cv_lib_$ac_lib_var=yes" | 10628 eval "ac_cv_lib_$ac_lib_var=yes" |
10632 else | 10629 else |
10633 echo "configure: failed program was:" >&5 | 10630 echo "configure: failed program was:" >&5 |
10634 cat conftest.$ac_ext >&5 | 10631 cat conftest.$ac_ext >&5 |
10673 | 10670 |
10674 if test "$need_motif" = "yes" ; then | 10671 if test "$need_motif" = "yes" ; then |
10675 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10672 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10676 | 10673 |
10677 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10674 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10678 echo "configure:10679: checking for layout_object_getvalue in -li18n" >&5 | 10675 echo "configure:10676: checking for layout_object_getvalue in -li18n" >&5 |
10679 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10676 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10680 | 10677 |
10681 xe_check_libs=" -li18n " | 10678 xe_check_libs=" -li18n " |
10682 cat > conftest.$ac_ext <<EOF | 10679 cat > conftest.$ac_ext <<EOF |
10683 #line 10684 "configure" | 10680 #line 10681 "configure" |
10684 #include "confdefs.h" | 10681 #include "confdefs.h" |
10685 /* Override any gcc2 internal prototype to avoid an error. */ | 10682 /* Override any gcc2 internal prototype to avoid an error. */ |
10686 /* We use char because int might match the return type of a gcc2 | 10683 /* We use char because int might match the return type of a gcc2 |
10687 builtin and then its argument prototype would still apply. */ | 10684 builtin and then its argument prototype would still apply. */ |
10688 char layout_object_getvalue(); | 10685 char layout_object_getvalue(); |
10689 | 10686 |
10690 int main() { | 10687 int main() { |
10691 layout_object_getvalue() | 10688 layout_object_getvalue() |
10692 ; return 0; } | 10689 ; return 0; } |
10693 EOF | 10690 EOF |
10694 if { (eval echo configure:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10691 if { (eval echo configure:10692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10695 rm -rf conftest* | 10692 rm -rf conftest* |
10696 eval "ac_cv_lib_$ac_lib_var=yes" | 10693 eval "ac_cv_lib_$ac_lib_var=yes" |
10697 else | 10694 else |
10698 echo "configure: failed program was:" >&5 | 10695 echo "configure: failed program was:" >&5 |
10699 cat conftest.$ac_ext >&5 | 10696 cat conftest.$ac_ext >&5 |
10775 fi | 10772 fi |
10776 | 10773 |
10777 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 | 10774 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 |
10778 do | 10775 do |
10779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10780 echo "configure:10781: checking for $ac_func" >&5 | 10777 echo "configure:10778: checking for $ac_func" >&5 |
10781 | 10778 |
10782 cat > conftest.$ac_ext <<EOF | 10779 cat > conftest.$ac_ext <<EOF |
10783 #line 10784 "configure" | 10780 #line 10781 "configure" |
10784 #include "confdefs.h" | 10781 #include "confdefs.h" |
10785 /* System header to define __stub macros and hopefully few prototypes, | 10782 /* System header to define __stub macros and hopefully few prototypes, |
10786 which can conflict with char $ac_func(); below. */ | 10783 which can conflict with char $ac_func(); below. */ |
10787 #include <assert.h> | 10784 #include <assert.h> |
10788 /* Override any gcc2 internal prototype to avoid an error. */ | 10785 /* Override any gcc2 internal prototype to avoid an error. */ |
10801 $ac_func(); | 10798 $ac_func(); |
10802 #endif | 10799 #endif |
10803 | 10800 |
10804 ; return 0; } | 10801 ; return 0; } |
10805 EOF | 10802 EOF |
10806 if { (eval echo configure:10807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10803 if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10807 rm -rf conftest* | 10804 rm -rf conftest* |
10808 eval "ac_cv_func_$ac_func=yes" | 10805 eval "ac_cv_func_$ac_func=yes" |
10809 else | 10806 else |
10810 echo "configure: failed program was:" >&5 | 10807 echo "configure: failed program was:" >&5 |
10811 cat conftest.$ac_ext >&5 | 10808 cat conftest.$ac_ext >&5 |
10833 | 10830 |
10834 | 10831 |
10835 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10832 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10836 do | 10833 do |
10837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10838 echo "configure:10839: checking for $ac_func" >&5 | 10835 echo "configure:10836: checking for $ac_func" >&5 |
10839 | 10836 |
10840 cat > conftest.$ac_ext <<EOF | 10837 cat > conftest.$ac_ext <<EOF |
10841 #line 10842 "configure" | 10838 #line 10839 "configure" |
10842 #include "confdefs.h" | 10839 #include "confdefs.h" |
10843 /* System header to define __stub macros and hopefully few prototypes, | 10840 /* System header to define __stub macros and hopefully few prototypes, |
10844 which can conflict with char $ac_func(); below. */ | 10841 which can conflict with char $ac_func(); below. */ |
10845 #include <assert.h> | 10842 #include <assert.h> |
10846 /* Override any gcc2 internal prototype to avoid an error. */ | 10843 /* Override any gcc2 internal prototype to avoid an error. */ |
10859 $ac_func(); | 10856 $ac_func(); |
10860 #endif | 10857 #endif |
10861 | 10858 |
10862 ; return 0; } | 10859 ; return 0; } |
10863 EOF | 10860 EOF |
10864 if { (eval echo configure:10865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10865 rm -rf conftest* | 10862 rm -rf conftest* |
10866 eval "ac_cv_func_$ac_func=yes" | 10863 eval "ac_cv_func_$ac_func=yes" |
10867 else | 10864 else |
10868 echo "configure: failed program was:" >&5 | 10865 echo "configure: failed program was:" >&5 |
10869 cat conftest.$ac_ext >&5 | 10866 cat conftest.$ac_ext >&5 |
10888 fi | 10885 fi |
10889 done | 10886 done |
10890 | 10887 |
10891 | 10888 |
10892 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10889 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10893 echo "configure:10894: checking for openpty" >&5 | 10890 echo "configure:10891: checking for openpty" >&5 |
10894 | 10891 |
10895 cat > conftest.$ac_ext <<EOF | 10892 cat > conftest.$ac_ext <<EOF |
10896 #line 10897 "configure" | 10893 #line 10894 "configure" |
10897 #include "confdefs.h" | 10894 #include "confdefs.h" |
10898 /* System header to define __stub macros and hopefully few prototypes, | 10895 /* System header to define __stub macros and hopefully few prototypes, |
10899 which can conflict with char openpty(); below. */ | 10896 which can conflict with char openpty(); below. */ |
10900 #include <assert.h> | 10897 #include <assert.h> |
10901 /* Override any gcc2 internal prototype to avoid an error. */ | 10898 /* Override any gcc2 internal prototype to avoid an error. */ |
10914 openpty(); | 10911 openpty(); |
10915 #endif | 10912 #endif |
10916 | 10913 |
10917 ; return 0; } | 10914 ; return 0; } |
10918 EOF | 10915 EOF |
10919 if { (eval echo configure:10920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10920 rm -rf conftest* | 10917 rm -rf conftest* |
10921 eval "ac_cv_func_openpty=yes" | 10918 eval "ac_cv_func_openpty=yes" |
10922 else | 10919 else |
10923 echo "configure: failed program was:" >&5 | 10920 echo "configure: failed program was:" >&5 |
10924 cat conftest.$ac_ext >&5 | 10921 cat conftest.$ac_ext >&5 |
10933 else | 10930 else |
10934 echo "$ac_t""no" 1>&6 | 10931 echo "$ac_t""no" 1>&6 |
10935 | 10932 |
10936 | 10933 |
10937 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10934 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10938 echo "configure:10939: checking for openpty in -lutil" >&5 | 10935 echo "configure:10936: checking for openpty in -lutil" >&5 |
10939 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10936 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10940 | 10937 |
10941 xe_check_libs=" -lutil " | 10938 xe_check_libs=" -lutil " |
10942 cat > conftest.$ac_ext <<EOF | 10939 cat > conftest.$ac_ext <<EOF |
10943 #line 10944 "configure" | 10940 #line 10941 "configure" |
10944 #include "confdefs.h" | 10941 #include "confdefs.h" |
10945 /* Override any gcc2 internal prototype to avoid an error. */ | 10942 /* Override any gcc2 internal prototype to avoid an error. */ |
10946 /* We use char because int might match the return type of a gcc2 | 10943 /* We use char because int might match the return type of a gcc2 |
10947 builtin and then its argument prototype would still apply. */ | 10944 builtin and then its argument prototype would still apply. */ |
10948 char openpty(); | 10945 char openpty(); |
10949 | 10946 |
10950 int main() { | 10947 int main() { |
10951 openpty() | 10948 openpty() |
10952 ; return 0; } | 10949 ; return 0; } |
10953 EOF | 10950 EOF |
10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10955 rm -rf conftest* | 10952 rm -rf conftest* |
10956 eval "ac_cv_lib_$ac_lib_var=yes" | 10953 eval "ac_cv_lib_$ac_lib_var=yes" |
10957 else | 10954 else |
10958 echo "configure: failed program was:" >&5 | 10955 echo "configure: failed program was:" >&5 |
10959 cat conftest.$ac_ext >&5 | 10956 cat conftest.$ac_ext >&5 |
10984 | 10981 |
10985 for ac_hdr in pty.h libutil.h util.h | 10982 for ac_hdr in pty.h libutil.h util.h |
10986 do | 10983 do |
10987 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10988 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10985 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10989 echo "configure:10990: checking for $ac_hdr" >&5 | 10986 echo "configure:10987: checking for $ac_hdr" >&5 |
10990 | 10987 |
10991 cat > conftest.$ac_ext <<EOF | 10988 cat > conftest.$ac_ext <<EOF |
10992 #line 10993 "configure" | 10989 #line 10990 "configure" |
10993 #include "confdefs.h" | 10990 #include "confdefs.h" |
10994 #include <$ac_hdr> | 10991 #include <$ac_hdr> |
10995 EOF | 10992 EOF |
10996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10997 { (eval echo configure:10998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10994 { (eval echo configure:10995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10999 if test -z "$ac_err"; then | 10996 if test -z "$ac_err"; then |
11000 rm -rf conftest* | 10997 rm -rf conftest* |
11001 eval "ac_cv_header_$ac_safe=yes" | 10998 eval "ac_cv_header_$ac_safe=yes" |
11002 else | 10999 else |
11028 | 11025 |
11029 for ac_hdr in stropts.h | 11026 for ac_hdr in stropts.h |
11030 do | 11027 do |
11031 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11032 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11033 echo "configure:11034: checking for $ac_hdr" >&5 | 11030 echo "configure:11031: checking for $ac_hdr" >&5 |
11034 | 11031 |
11035 cat > conftest.$ac_ext <<EOF | 11032 cat > conftest.$ac_ext <<EOF |
11036 #line 11037 "configure" | 11033 #line 11034 "configure" |
11037 #include "confdefs.h" | 11034 #include "confdefs.h" |
11038 #include <$ac_hdr> | 11035 #include <$ac_hdr> |
11039 EOF | 11036 EOF |
11040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11041 { (eval echo configure:11042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11038 { (eval echo configure:11039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11043 if test -z "$ac_err"; then | 11040 if test -z "$ac_err"; then |
11044 rm -rf conftest* | 11041 rm -rf conftest* |
11045 eval "ac_cv_header_$ac_safe=yes" | 11042 eval "ac_cv_header_$ac_safe=yes" |
11046 else | 11043 else |
11069 | 11066 |
11070 if test "$ac_cv_header_stropts_h" = "yes"; then | 11067 if test "$ac_cv_header_stropts_h" = "yes"; then |
11071 for ac_func in isastream | 11068 for ac_func in isastream |
11072 do | 11069 do |
11073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11074 echo "configure:11075: checking for $ac_func" >&5 | 11071 echo "configure:11072: checking for $ac_func" >&5 |
11075 | 11072 |
11076 cat > conftest.$ac_ext <<EOF | 11073 cat > conftest.$ac_ext <<EOF |
11077 #line 11078 "configure" | 11074 #line 11075 "configure" |
11078 #include "confdefs.h" | 11075 #include "confdefs.h" |
11079 /* System header to define __stub macros and hopefully few prototypes, | 11076 /* System header to define __stub macros and hopefully few prototypes, |
11080 which can conflict with char $ac_func(); below. */ | 11077 which can conflict with char $ac_func(); below. */ |
11081 #include <assert.h> | 11078 #include <assert.h> |
11082 /* Override any gcc2 internal prototype to avoid an error. */ | 11079 /* Override any gcc2 internal prototype to avoid an error. */ |
11095 $ac_func(); | 11092 $ac_func(); |
11096 #endif | 11093 #endif |
11097 | 11094 |
11098 ; return 0; } | 11095 ; return 0; } |
11099 EOF | 11096 EOF |
11100 if { (eval echo configure:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11101 rm -rf conftest* | 11098 rm -rf conftest* |
11102 eval "ac_cv_func_$ac_func=yes" | 11099 eval "ac_cv_func_$ac_func=yes" |
11103 else | 11100 else |
11104 echo "configure: failed program was:" >&5 | 11101 echo "configure: failed program was:" >&5 |
11105 cat conftest.$ac_ext >&5 | 11102 cat conftest.$ac_ext >&5 |
11126 | 11123 |
11127 for ac_hdr in strtio.h | 11124 for ac_hdr in strtio.h |
11128 do | 11125 do |
11129 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11130 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11131 echo "configure:11132: checking for $ac_hdr" >&5 | 11128 echo "configure:11129: checking for $ac_hdr" >&5 |
11132 | 11129 |
11133 cat > conftest.$ac_ext <<EOF | 11130 cat > conftest.$ac_ext <<EOF |
11134 #line 11135 "configure" | 11131 #line 11132 "configure" |
11135 #include "confdefs.h" | 11132 #include "confdefs.h" |
11136 #include <$ac_hdr> | 11133 #include <$ac_hdr> |
11137 EOF | 11134 EOF |
11138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11139 { (eval echo configure:11140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11136 { (eval echo configure:11137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11141 if test -z "$ac_err"; then | 11138 if test -z "$ac_err"; then |
11142 rm -rf conftest* | 11139 rm -rf conftest* |
11143 eval "ac_cv_header_$ac_safe=yes" | 11140 eval "ac_cv_header_$ac_safe=yes" |
11144 else | 11141 else |
11171 fi | 11168 fi |
11172 | 11169 |
11173 for ac_func in getloadavg | 11170 for ac_func in getloadavg |
11174 do | 11171 do |
11175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11176 echo "configure:11177: checking for $ac_func" >&5 | 11173 echo "configure:11174: checking for $ac_func" >&5 |
11177 | 11174 |
11178 cat > conftest.$ac_ext <<EOF | 11175 cat > conftest.$ac_ext <<EOF |
11179 #line 11180 "configure" | 11176 #line 11177 "configure" |
11180 #include "confdefs.h" | 11177 #include "confdefs.h" |
11181 /* System header to define __stub macros and hopefully few prototypes, | 11178 /* System header to define __stub macros and hopefully few prototypes, |
11182 which can conflict with char $ac_func(); below. */ | 11179 which can conflict with char $ac_func(); below. */ |
11183 #include <assert.h> | 11180 #include <assert.h> |
11184 /* Override any gcc2 internal prototype to avoid an error. */ | 11181 /* Override any gcc2 internal prototype to avoid an error. */ |
11197 $ac_func(); | 11194 $ac_func(); |
11198 #endif | 11195 #endif |
11199 | 11196 |
11200 ; return 0; } | 11197 ; return 0; } |
11201 EOF | 11198 EOF |
11202 if { (eval echo configure:11203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11199 if { (eval echo configure:11200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11203 rm -rf conftest* | 11200 rm -rf conftest* |
11204 eval "ac_cv_func_$ac_func=yes" | 11201 eval "ac_cv_func_$ac_func=yes" |
11205 else | 11202 else |
11206 echo "configure: failed program was:" >&5 | 11203 echo "configure: failed program was:" >&5 |
11207 cat conftest.$ac_ext >&5 | 11204 cat conftest.$ac_ext >&5 |
11230 if test "$ac_cv_func_getloadavg" = "yes"; then | 11227 if test "$ac_cv_func_getloadavg" = "yes"; then |
11231 for ac_hdr in sys/loadavg.h | 11228 for ac_hdr in sys/loadavg.h |
11232 do | 11229 do |
11233 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11230 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11234 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11235 echo "configure:11236: checking for $ac_hdr" >&5 | 11232 echo "configure:11233: checking for $ac_hdr" >&5 |
11236 | 11233 |
11237 cat > conftest.$ac_ext <<EOF | 11234 cat > conftest.$ac_ext <<EOF |
11238 #line 11239 "configure" | 11235 #line 11236 "configure" |
11239 #include "confdefs.h" | 11236 #include "confdefs.h" |
11240 #include <$ac_hdr> | 11237 #include <$ac_hdr> |
11241 EOF | 11238 EOF |
11242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11243 { (eval echo configure:11244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11240 { (eval echo configure:11241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11245 if test -z "$ac_err"; then | 11242 if test -z "$ac_err"; then |
11246 rm -rf conftest* | 11243 rm -rf conftest* |
11247 eval "ac_cv_header_$ac_safe=yes" | 11244 eval "ac_cv_header_$ac_safe=yes" |
11248 else | 11245 else |
11274 echo " xemacs will be linked with \"getloadavg.o\"" | 11271 echo " xemacs will be linked with \"getloadavg.o\"" |
11275 fi | 11272 fi |
11276 | 11273 |
11277 | 11274 |
11278 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11275 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11279 echo "configure:11280: checking for kstat_open in -lkstat" >&5 | 11276 echo "configure:11277: checking for kstat_open in -lkstat" >&5 |
11280 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11277 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11281 | 11278 |
11282 xe_check_libs=" -lkstat " | 11279 xe_check_libs=" -lkstat " |
11283 cat > conftest.$ac_ext <<EOF | 11280 cat > conftest.$ac_ext <<EOF |
11284 #line 11285 "configure" | 11281 #line 11282 "configure" |
11285 #include "confdefs.h" | 11282 #include "confdefs.h" |
11286 /* Override any gcc2 internal prototype to avoid an error. */ | 11283 /* Override any gcc2 internal prototype to avoid an error. */ |
11287 /* We use char because int might match the return type of a gcc2 | 11284 /* We use char because int might match the return type of a gcc2 |
11288 builtin and then its argument prototype would still apply. */ | 11285 builtin and then its argument prototype would still apply. */ |
11289 char kstat_open(); | 11286 char kstat_open(); |
11290 | 11287 |
11291 int main() { | 11288 int main() { |
11292 kstat_open() | 11289 kstat_open() |
11293 ; return 0; } | 11290 ; return 0; } |
11294 EOF | 11291 EOF |
11295 if { (eval echo configure:11296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11292 if { (eval echo configure:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11296 rm -rf conftest* | 11293 rm -rf conftest* |
11297 eval "ac_cv_lib_$ac_lib_var=yes" | 11294 eval "ac_cv_lib_$ac_lib_var=yes" |
11298 else | 11295 else |
11299 echo "configure: failed program was:" >&5 | 11296 echo "configure: failed program was:" >&5 |
11300 cat conftest.$ac_ext >&5 | 11297 cat conftest.$ac_ext >&5 |
11325 | 11322 |
11326 for ac_hdr in kstat.h | 11323 for ac_hdr in kstat.h |
11327 do | 11324 do |
11328 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11329 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11330 echo "configure:11331: checking for $ac_hdr" >&5 | 11327 echo "configure:11328: checking for $ac_hdr" >&5 |
11331 | 11328 |
11332 cat > conftest.$ac_ext <<EOF | 11329 cat > conftest.$ac_ext <<EOF |
11333 #line 11334 "configure" | 11330 #line 11331 "configure" |
11334 #include "confdefs.h" | 11331 #include "confdefs.h" |
11335 #include <$ac_hdr> | 11332 #include <$ac_hdr> |
11336 EOF | 11333 EOF |
11337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11338 { (eval echo configure:11339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11335 { (eval echo configure:11336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11340 if test -z "$ac_err"; then | 11337 if test -z "$ac_err"; then |
11341 rm -rf conftest* | 11338 rm -rf conftest* |
11342 eval "ac_cv_header_$ac_safe=yes" | 11339 eval "ac_cv_header_$ac_safe=yes" |
11343 else | 11340 else |
11365 done | 11362 done |
11366 | 11363 |
11367 | 11364 |
11368 | 11365 |
11369 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11366 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11370 echo "configure:11371: checking for kvm_read in -lkvm" >&5 | 11367 echo "configure:11368: checking for kvm_read in -lkvm" >&5 |
11371 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11368 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11372 | 11369 |
11373 xe_check_libs=" -lkvm " | 11370 xe_check_libs=" -lkvm " |
11374 cat > conftest.$ac_ext <<EOF | 11371 cat > conftest.$ac_ext <<EOF |
11375 #line 11376 "configure" | 11372 #line 11373 "configure" |
11376 #include "confdefs.h" | 11373 #include "confdefs.h" |
11377 /* Override any gcc2 internal prototype to avoid an error. */ | 11374 /* Override any gcc2 internal prototype to avoid an error. */ |
11378 /* We use char because int might match the return type of a gcc2 | 11375 /* We use char because int might match the return type of a gcc2 |
11379 builtin and then its argument prototype would still apply. */ | 11376 builtin and then its argument prototype would still apply. */ |
11380 char kvm_read(); | 11377 char kvm_read(); |
11381 | 11378 |
11382 int main() { | 11379 int main() { |
11383 kvm_read() | 11380 kvm_read() |
11384 ; return 0; } | 11381 ; return 0; } |
11385 EOF | 11382 EOF |
11386 if { (eval echo configure:11387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11383 if { (eval echo configure:11384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11387 rm -rf conftest* | 11384 rm -rf conftest* |
11388 eval "ac_cv_lib_$ac_lib_var=yes" | 11385 eval "ac_cv_lib_$ac_lib_var=yes" |
11389 else | 11386 else |
11390 echo "configure: failed program was:" >&5 | 11387 echo "configure: failed program was:" >&5 |
11391 cat conftest.$ac_ext >&5 | 11388 cat conftest.$ac_ext >&5 |
11415 | 11412 |
11416 | 11413 |
11417 fi | 11414 fi |
11418 | 11415 |
11419 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11416 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11420 echo "configure:11421: checking whether netdb declares h_errno" >&5 | 11417 echo "configure:11418: checking whether netdb declares h_errno" >&5 |
11421 cat > conftest.$ac_ext <<EOF | 11418 cat > conftest.$ac_ext <<EOF |
11422 #line 11423 "configure" | 11419 #line 11420 "configure" |
11423 #include "confdefs.h" | 11420 #include "confdefs.h" |
11424 #include <netdb.h> | 11421 #include <netdb.h> |
11425 int main() { | 11422 int main() { |
11426 return h_errno; | 11423 return h_errno; |
11427 ; return 0; } | 11424 ; return 0; } |
11428 EOF | 11425 EOF |
11429 if { (eval echo configure:11430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11430 rm -rf conftest* | 11427 rm -rf conftest* |
11431 echo "$ac_t""yes" 1>&6 | 11428 echo "$ac_t""yes" 1>&6 |
11432 { test "$extra_verbose" = "yes" && cat << \EOF | 11429 { test "$extra_verbose" = "yes" && cat << \EOF |
11433 Defining HAVE_H_ERRNO | 11430 Defining HAVE_H_ERRNO |
11434 EOF | 11431 EOF |
11444 echo "$ac_t""no" 1>&6 | 11441 echo "$ac_t""no" 1>&6 |
11445 fi | 11442 fi |
11446 rm -f conftest* | 11443 rm -f conftest* |
11447 | 11444 |
11448 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11445 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for sigsetjmp" >&5 | 11446 echo "configure:11447: checking for sigsetjmp" >&5 |
11450 cat > conftest.$ac_ext <<EOF | 11447 cat > conftest.$ac_ext <<EOF |
11451 #line 11452 "configure" | 11448 #line 11449 "configure" |
11452 #include "confdefs.h" | 11449 #include "confdefs.h" |
11453 #include <setjmp.h> | 11450 #include <setjmp.h> |
11454 int main() { | 11451 int main() { |
11455 sigjmp_buf bar; sigsetjmp (bar, 0); | 11452 sigjmp_buf bar; sigsetjmp (bar, 0); |
11456 ; return 0; } | 11453 ; return 0; } |
11457 EOF | 11454 EOF |
11458 if { (eval echo configure:11459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11455 if { (eval echo configure:11456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11459 rm -rf conftest* | 11456 rm -rf conftest* |
11460 echo "$ac_t""yes" 1>&6 | 11457 echo "$ac_t""yes" 1>&6 |
11461 { test "$extra_verbose" = "yes" && cat << \EOF | 11458 { test "$extra_verbose" = "yes" && cat << \EOF |
11462 Defining HAVE_SIGSETJMP | 11459 Defining HAVE_SIGSETJMP |
11463 EOF | 11460 EOF |
11473 echo "$ac_t""no" 1>&6 | 11470 echo "$ac_t""no" 1>&6 |
11474 fi | 11471 fi |
11475 rm -f conftest* | 11472 rm -f conftest* |
11476 | 11473 |
11477 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11474 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11478 echo "configure:11479: checking whether localtime caches TZ" >&5 | 11475 echo "configure:11476: checking whether localtime caches TZ" >&5 |
11479 | 11476 |
11480 if test "$ac_cv_func_tzset" = "yes"; then | 11477 if test "$ac_cv_func_tzset" = "yes"; then |
11481 cat > conftest.$ac_ext <<EOF | 11478 cat > conftest.$ac_ext <<EOF |
11482 #line 11483 "configure" | 11479 #line 11480 "configure" |
11483 #include "confdefs.h" | 11480 #include "confdefs.h" |
11484 #include <time.h> | 11481 #include <time.h> |
11485 #if STDC_HEADERS | 11482 #if STDC_HEADERS |
11486 # include <stdlib.h> | 11483 # include <stdlib.h> |
11487 #endif | 11484 #endif |
11512 if (localtime (&now)->tm_hour != hour_unset) | 11509 if (localtime (&now)->tm_hour != hour_unset) |
11513 exit (1); | 11510 exit (1); |
11514 exit (0); | 11511 exit (0); |
11515 } | 11512 } |
11516 EOF | 11513 EOF |
11517 if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11518 then | 11515 then |
11519 emacs_cv_localtime_cache=no | 11516 emacs_cv_localtime_cache=no |
11520 else | 11517 else |
11521 conftest_rc="$?" | 11518 conftest_rc="$?" |
11522 echo "configure: failed program was:" >&5 | 11519 echo "configure: failed program was:" >&5 |
11542 | 11539 |
11543 fi | 11540 fi |
11544 | 11541 |
11545 if test "$HAVE_TIMEVAL" = "yes"; then | 11542 if test "$HAVE_TIMEVAL" = "yes"; then |
11546 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11543 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11547 echo "configure:11548: checking whether gettimeofday accepts one or two arguments" >&5 | 11544 echo "configure:11545: checking whether gettimeofday accepts one or two arguments" >&5 |
11548 cat > conftest.$ac_ext <<EOF | 11545 cat > conftest.$ac_ext <<EOF |
11549 #line 11550 "configure" | 11546 #line 11547 "configure" |
11550 #include "confdefs.h" | 11547 #include "confdefs.h" |
11551 | 11548 |
11552 #ifdef TIME_WITH_SYS_TIME | 11549 #ifdef TIME_WITH_SYS_TIME |
11553 #include <sys/time.h> | 11550 #include <sys/time.h> |
11554 #include <time.h> | 11551 #include <time.h> |
11565 struct timeval time; | 11562 struct timeval time; |
11566 gettimeofday (&time, 0); | 11563 gettimeofday (&time, 0); |
11567 | 11564 |
11568 ; return 0; } | 11565 ; return 0; } |
11569 EOF | 11566 EOF |
11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11571 rm -rf conftest* | 11568 rm -rf conftest* |
11572 echo "$ac_t""two" 1>&6 | 11569 echo "$ac_t""two" 1>&6 |
11573 else | 11570 else |
11574 echo "configure: failed program was:" >&5 | 11571 echo "configure: failed program was:" >&5 |
11575 cat conftest.$ac_ext >&5 | 11572 cat conftest.$ac_ext >&5 |
11587 rm -f conftest* | 11584 rm -f conftest* |
11588 fi | 11585 fi |
11589 | 11586 |
11590 | 11587 |
11591 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11588 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11592 echo "configure:11593: checking for inline" >&5 | 11589 echo "configure:11590: checking for inline" >&5 |
11593 | 11590 |
11594 ac_cv_c_inline=no | 11591 ac_cv_c_inline=no |
11595 for ac_kw in inline __inline__ __inline; do | 11592 for ac_kw in inline __inline__ __inline; do |
11596 cat > conftest.$ac_ext <<EOF | 11593 cat > conftest.$ac_ext <<EOF |
11597 #line 11598 "configure" | 11594 #line 11595 "configure" |
11598 #include "confdefs.h" | 11595 #include "confdefs.h" |
11599 | 11596 |
11600 int main() { | 11597 int main() { |
11601 } $ac_kw foo() { | 11598 } $ac_kw foo() { |
11602 ; return 0; } | 11599 ; return 0; } |
11603 EOF | 11600 EOF |
11604 if { (eval echo configure:11605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11601 if { (eval echo configure:11602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11605 rm -rf conftest* | 11602 rm -rf conftest* |
11606 ac_cv_c_inline=$ac_kw; break | 11603 ac_cv_c_inline=$ac_kw; break |
11607 else | 11604 else |
11608 echo "configure: failed program was:" >&5 | 11605 echo "configure: failed program was:" >&5 |
11609 cat conftest.$ac_ext >&5 | 11606 cat conftest.$ac_ext >&5 |
11640 | 11637 |
11641 if test "$__DECC" != "yes"; then | 11638 if test "$__DECC" != "yes"; then |
11642 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11639 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11643 # for constant arguments. Useless! | 11640 # for constant arguments. Useless! |
11644 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11641 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11645 echo "configure:11646: checking for working alloca.h" >&5 | 11642 echo "configure:11643: checking for working alloca.h" >&5 |
11646 | 11643 |
11647 cat > conftest.$ac_ext <<EOF | 11644 cat > conftest.$ac_ext <<EOF |
11648 #line 11649 "configure" | 11645 #line 11646 "configure" |
11649 #include "confdefs.h" | 11646 #include "confdefs.h" |
11650 #include <alloca.h> | 11647 #include <alloca.h> |
11651 int main() { | 11648 int main() { |
11652 char *p = alloca(2 * sizeof(int)); | 11649 char *p = alloca(2 * sizeof(int)); |
11653 ; return 0; } | 11650 ; return 0; } |
11654 EOF | 11651 EOF |
11655 if { (eval echo configure:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11652 if { (eval echo configure:11653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11656 rm -rf conftest* | 11653 rm -rf conftest* |
11657 ac_cv_header_alloca_h=yes | 11654 ac_cv_header_alloca_h=yes |
11658 else | 11655 else |
11659 echo "configure: failed program was:" >&5 | 11656 echo "configure: failed program was:" >&5 |
11660 cat conftest.$ac_ext >&5 | 11657 cat conftest.$ac_ext >&5 |
11674 } | 11671 } |
11675 | 11672 |
11676 fi | 11673 fi |
11677 | 11674 |
11678 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11675 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11679 echo "configure:11680: checking for alloca" >&5 | 11676 echo "configure:11677: checking for alloca" >&5 |
11680 | 11677 |
11681 cat > conftest.$ac_ext <<EOF | 11678 cat > conftest.$ac_ext <<EOF |
11682 #line 11683 "configure" | 11679 #line 11680 "configure" |
11683 #include "confdefs.h" | 11680 #include "confdefs.h" |
11684 | 11681 |
11685 #ifdef __GNUC__ | 11682 #ifdef __GNUC__ |
11686 # define alloca __builtin_alloca | 11683 # define alloca __builtin_alloca |
11687 #else | 11684 #else |
11705 | 11702 |
11706 int main() { | 11703 int main() { |
11707 char *p = (char *) alloca(1); | 11704 char *p = (char *) alloca(1); |
11708 ; return 0; } | 11705 ; return 0; } |
11709 EOF | 11706 EOF |
11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11707 if { (eval echo configure:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11711 rm -rf conftest* | 11708 rm -rf conftest* |
11712 ac_cv_func_alloca_works=yes | 11709 ac_cv_func_alloca_works=yes |
11713 else | 11710 else |
11714 echo "configure: failed program was:" >&5 | 11711 echo "configure: failed program was:" >&5 |
11715 cat conftest.$ac_ext >&5 | 11712 cat conftest.$ac_ext >&5 |
11744 EOF | 11741 EOF |
11745 } | 11742 } |
11746 | 11743 |
11747 | 11744 |
11748 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11745 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11749 echo "configure:11750: checking whether alloca needs Cray hooks" >&5 | 11746 echo "configure:11747: checking whether alloca needs Cray hooks" >&5 |
11750 | 11747 |
11751 cat > conftest.$ac_ext <<EOF | 11748 cat > conftest.$ac_ext <<EOF |
11752 #line 11753 "configure" | 11749 #line 11750 "configure" |
11753 #include "confdefs.h" | 11750 #include "confdefs.h" |
11754 #if defined(CRAY) && ! defined(CRAY2) | 11751 #if defined(CRAY) && ! defined(CRAY2) |
11755 webecray | 11752 webecray |
11756 #else | 11753 #else |
11757 wenotbecray | 11754 wenotbecray |
11771 | 11768 |
11772 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11769 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11773 if test $ac_cv_os_cray = yes; then | 11770 if test $ac_cv_os_cray = yes; then |
11774 for ac_func in _getb67 GETB67 getb67; do | 11771 for ac_func in _getb67 GETB67 getb67; do |
11775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11776 echo "configure:11777: checking for $ac_func" >&5 | 11773 echo "configure:11774: checking for $ac_func" >&5 |
11777 | 11774 |
11778 cat > conftest.$ac_ext <<EOF | 11775 cat > conftest.$ac_ext <<EOF |
11779 #line 11780 "configure" | 11776 #line 11777 "configure" |
11780 #include "confdefs.h" | 11777 #include "confdefs.h" |
11781 /* System header to define __stub macros and hopefully few prototypes, | 11778 /* System header to define __stub macros and hopefully few prototypes, |
11782 which can conflict with char $ac_func(); below. */ | 11779 which can conflict with char $ac_func(); below. */ |
11783 #include <assert.h> | 11780 #include <assert.h> |
11784 /* Override any gcc2 internal prototype to avoid an error. */ | 11781 /* Override any gcc2 internal prototype to avoid an error. */ |
11797 $ac_func(); | 11794 $ac_func(); |
11798 #endif | 11795 #endif |
11799 | 11796 |
11800 ; return 0; } | 11797 ; return 0; } |
11801 EOF | 11798 EOF |
11802 if { (eval echo configure:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11799 if { (eval echo configure:11800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11803 rm -rf conftest* | 11800 rm -rf conftest* |
11804 eval "ac_cv_func_$ac_func=yes" | 11801 eval "ac_cv_func_$ac_func=yes" |
11805 else | 11802 else |
11806 echo "configure: failed program was:" >&5 | 11803 echo "configure: failed program was:" >&5 |
11807 cat conftest.$ac_ext >&5 | 11804 cat conftest.$ac_ext >&5 |
11827 | 11824 |
11828 done | 11825 done |
11829 fi | 11826 fi |
11830 | 11827 |
11831 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11828 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11832 echo "configure:11833: checking stack direction for C alloca" >&5 | 11829 echo "configure:11830: checking stack direction for C alloca" >&5 |
11833 | 11830 |
11834 cat > conftest.$ac_ext <<EOF | 11831 cat > conftest.$ac_ext <<EOF |
11835 #line 11836 "configure" | 11832 #line 11833 "configure" |
11836 #include "confdefs.h" | 11833 #include "confdefs.h" |
11837 find_stack_direction () | 11834 find_stack_direction () |
11838 { | 11835 { |
11839 static char *addr = 0; | 11836 static char *addr = 0; |
11840 auto char dummy; | 11837 auto char dummy; |
11849 main () | 11846 main () |
11850 { | 11847 { |
11851 exit (find_stack_direction() < 0); | 11848 exit (find_stack_direction() < 0); |
11852 } | 11849 } |
11853 EOF | 11850 EOF |
11854 if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11855 then | 11852 then |
11856 ac_cv_c_stack_direction=1 | 11853 ac_cv_c_stack_direction=1 |
11857 else | 11854 else |
11858 conftest_rc="$?" | 11855 conftest_rc="$?" |
11859 echo "configure: failed program was:" >&5 | 11856 echo "configure: failed program was:" >&5 |
11879 fi | 11876 fi |
11880 fi | 11877 fi |
11881 | 11878 |
11882 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 11879 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
11883 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 11880 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
11884 echo "configure:11885: checking for vfork.h" >&5 | 11881 echo "configure:11882: checking for vfork.h" >&5 |
11885 | 11882 |
11886 cat > conftest.$ac_ext <<EOF | 11883 cat > conftest.$ac_ext <<EOF |
11887 #line 11888 "configure" | 11884 #line 11885 "configure" |
11888 #include "confdefs.h" | 11885 #include "confdefs.h" |
11889 #include <vfork.h> | 11886 #include <vfork.h> |
11890 EOF | 11887 EOF |
11891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11892 { (eval echo configure:11893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11889 { (eval echo configure:11890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11894 if test -z "$ac_err"; then | 11891 if test -z "$ac_err"; then |
11895 rm -rf conftest* | 11892 rm -rf conftest* |
11896 eval "ac_cv_header_$ac_safe=yes" | 11893 eval "ac_cv_header_$ac_safe=yes" |
11897 else | 11894 else |
11915 else | 11912 else |
11916 echo "$ac_t""no" 1>&6 | 11913 echo "$ac_t""no" 1>&6 |
11917 fi | 11914 fi |
11918 | 11915 |
11919 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 11916 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
11920 echo "configure:11921: checking for working vfork" >&5 | 11917 echo "configure:11918: checking for working vfork" >&5 |
11921 | 11918 |
11922 cat > conftest.$ac_ext <<EOF | 11919 cat > conftest.$ac_ext <<EOF |
11923 #line 11924 "configure" | 11920 #line 11921 "configure" |
11924 #include "confdefs.h" | 11921 #include "confdefs.h" |
11925 /* Thanks to Paul Eggert for this test. */ | 11922 /* Thanks to Paul Eggert for this test. */ |
11926 #include <stdio.h> | 11923 #include <stdio.h> |
11927 #include <sys/types.h> | 11924 #include <sys/types.h> |
11928 #include <sys/stat.h> | 11925 #include <sys/stat.h> |
12013 || fstat(fileno(stdout), &st) != 0 | 12010 || fstat(fileno(stdout), &st) != 0 |
12014 ); | 12011 ); |
12015 } | 12012 } |
12016 } | 12013 } |
12017 EOF | 12014 EOF |
12018 if { (eval echo configure:12019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12019 then | 12016 then |
12020 ac_cv_func_vfork_works=yes | 12017 ac_cv_func_vfork_works=yes |
12021 else | 12018 else |
12022 conftest_rc="$?" | 12019 conftest_rc="$?" |
12023 echo "configure: failed program was:" >&5 | 12020 echo "configure: failed program was:" >&5 |
12039 | 12036 |
12040 fi | 12037 fi |
12041 | 12038 |
12042 | 12039 |
12043 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12040 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12044 echo "configure:12045: checking for working strcoll" >&5 | 12041 echo "configure:12042: checking for working strcoll" >&5 |
12045 | 12042 |
12046 cat > conftest.$ac_ext <<EOF | 12043 cat > conftest.$ac_ext <<EOF |
12047 #line 12048 "configure" | 12044 #line 12045 "configure" |
12048 #include "confdefs.h" | 12045 #include "confdefs.h" |
12049 #include <string.h> | 12046 #include <string.h> |
12050 main () | 12047 main () |
12051 { | 12048 { |
12052 exit (strcoll ("abc", "def") >= 0 || | 12049 exit (strcoll ("abc", "def") >= 0 || |
12053 strcoll ("ABC", "DEF") >= 0 || | 12050 strcoll ("ABC", "DEF") >= 0 || |
12054 strcoll ("123", "456") >= 0); | 12051 strcoll ("123", "456") >= 0); |
12055 } | 12052 } |
12056 EOF | 12053 EOF |
12057 if { (eval echo configure:12058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12054 if { (eval echo configure:12055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12058 then | 12055 then |
12059 ac_cv_func_strcoll_works=yes | 12056 ac_cv_func_strcoll_works=yes |
12060 else | 12057 else |
12061 conftest_rc="$?" | 12058 conftest_rc="$?" |
12062 echo "configure: failed program was:" >&5 | 12059 echo "configure: failed program was:" >&5 |
12080 | 12077 |
12081 | 12078 |
12082 for ac_func in getpgrp | 12079 for ac_func in getpgrp |
12083 do | 12080 do |
12084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12085 echo "configure:12086: checking for $ac_func" >&5 | 12082 echo "configure:12083: checking for $ac_func" >&5 |
12086 | 12083 |
12087 cat > conftest.$ac_ext <<EOF | 12084 cat > conftest.$ac_ext <<EOF |
12088 #line 12089 "configure" | 12085 #line 12086 "configure" |
12089 #include "confdefs.h" | 12086 #include "confdefs.h" |
12090 /* System header to define __stub macros and hopefully few prototypes, | 12087 /* System header to define __stub macros and hopefully few prototypes, |
12091 which can conflict with char $ac_func(); below. */ | 12088 which can conflict with char $ac_func(); below. */ |
12092 #include <assert.h> | 12089 #include <assert.h> |
12093 /* Override any gcc2 internal prototype to avoid an error. */ | 12090 /* Override any gcc2 internal prototype to avoid an error. */ |
12106 $ac_func(); | 12103 $ac_func(); |
12107 #endif | 12104 #endif |
12108 | 12105 |
12109 ; return 0; } | 12106 ; return 0; } |
12110 EOF | 12107 EOF |
12111 if { (eval echo configure:12112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12108 if { (eval echo configure:12109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12112 rm -rf conftest* | 12109 rm -rf conftest* |
12113 eval "ac_cv_func_$ac_func=yes" | 12110 eval "ac_cv_func_$ac_func=yes" |
12114 else | 12111 else |
12115 echo "configure: failed program was:" >&5 | 12112 echo "configure: failed program was:" >&5 |
12116 cat conftest.$ac_ext >&5 | 12113 cat conftest.$ac_ext >&5 |
12134 echo "$ac_t""no" 1>&6 | 12131 echo "$ac_t""no" 1>&6 |
12135 fi | 12132 fi |
12136 done | 12133 done |
12137 | 12134 |
12138 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12135 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12139 echo "configure:12140: checking whether getpgrp takes no argument" >&5 | 12136 echo "configure:12137: checking whether getpgrp takes no argument" >&5 |
12140 | 12137 |
12141 cat > conftest.$ac_ext <<EOF | 12138 cat > conftest.$ac_ext <<EOF |
12142 #line 12143 "configure" | 12139 #line 12140 "configure" |
12143 #include "confdefs.h" | 12140 #include "confdefs.h" |
12144 | 12141 |
12145 /* | 12142 /* |
12146 * If this system has a BSD-style getpgrp(), | 12143 * If this system has a BSD-style getpgrp(), |
12147 * which takes a pid argument, exit unsuccessfully. | 12144 * which takes a pid argument, exit unsuccessfully. |
12192 exit(s>>8); | 12189 exit(s>>8); |
12193 } | 12190 } |
12194 } | 12191 } |
12195 | 12192 |
12196 EOF | 12193 EOF |
12197 if { (eval echo configure:12198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12194 if { (eval echo configure:12195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12198 then | 12195 then |
12199 ac_cv_func_getpgrp_void=yes | 12196 ac_cv_func_getpgrp_void=yes |
12200 else | 12197 else |
12201 conftest_rc="$?" | 12198 conftest_rc="$?" |
12202 echo "configure: failed program was:" >&5 | 12199 echo "configure: failed program was:" >&5 |
12219 | 12216 |
12220 fi | 12217 fi |
12221 | 12218 |
12222 | 12219 |
12223 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12220 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12224 echo "configure:12225: checking for working mmap" >&5 | 12221 echo "configure:12222: checking for working mmap" >&5 |
12225 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12222 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12226 cat > conftest.$ac_ext <<EOF | 12223 cat > conftest.$ac_ext <<EOF |
12227 #line 12228 "configure" | 12224 #line 12225 "configure" |
12228 #include "confdefs.h" | 12225 #include "confdefs.h" |
12229 #include <stdio.h> | 12226 #include <stdio.h> |
12230 #include <unistd.h> | 12227 #include <unistd.h> |
12231 #include <fcntl.h> | 12228 #include <fcntl.h> |
12232 #include <sys/mman.h> | 12229 #include <sys/mman.h> |
12255 return 0; | 12252 return 0; |
12256 perror ("conftest: mmap failed"); | 12253 perror ("conftest: mmap failed"); |
12257 return 1; | 12254 return 1; |
12258 } | 12255 } |
12259 EOF | 12256 EOF |
12260 if { (eval echo configure:12261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12257 if { (eval echo configure:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12261 then | 12258 then |
12262 have_mmap=yes | 12259 have_mmap=yes |
12263 else | 12260 else |
12264 conftest_rc="$?" | 12261 conftest_rc="$?" |
12265 echo "configure: failed program was:" >&5 | 12262 echo "configure: failed program was:" >&5 |
12284 esac | 12281 esac |
12285 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12282 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12286 if test "$rel_alloc $have_mmap" = "default yes"; then | 12283 if test "$rel_alloc $have_mmap" = "default yes"; then |
12287 if test "$doug_lea_malloc" = "yes"; then | 12284 if test "$doug_lea_malloc" = "yes"; then |
12288 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12285 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12289 echo "configure:12290: checking for M_MMAP_THRESHOLD" >&5 | 12286 echo "configure:12287: checking for M_MMAP_THRESHOLD" >&5 |
12290 cat > conftest.$ac_ext <<EOF | 12287 cat > conftest.$ac_ext <<EOF |
12291 #line 12292 "configure" | 12288 #line 12289 "configure" |
12292 #include "confdefs.h" | 12289 #include "confdefs.h" |
12293 #include <malloc.h> | 12290 #include <malloc.h> |
12294 int main() { | 12291 int main() { |
12295 | 12292 |
12296 #ifndef M_MMAP_THRESHOLD | 12293 #ifndef M_MMAP_THRESHOLD |
12298 !@+$%^&*_)(_ - unlikely to compile... | 12295 !@+$%^&*_)(_ - unlikely to compile... |
12299 #endif | 12296 #endif |
12300 | 12297 |
12301 ; return 0; } | 12298 ; return 0; } |
12302 EOF | 12299 EOF |
12303 if { (eval echo configure:12304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12300 if { (eval echo configure:12301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12304 rm -rf conftest* | 12301 rm -rf conftest* |
12305 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12302 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12306 else | 12303 else |
12307 echo "configure: failed program was:" >&5 | 12304 echo "configure: failed program was:" >&5 |
12308 cat conftest.$ac_ext >&5 | 12305 cat conftest.$ac_ext >&5 |
12323 } | 12320 } |
12324 | 12321 |
12325 | 12322 |
12326 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12323 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12327 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12324 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12328 echo "configure:12329: checking for termios.h" >&5 | 12325 echo "configure:12326: checking for termios.h" >&5 |
12329 | 12326 |
12330 cat > conftest.$ac_ext <<EOF | 12327 cat > conftest.$ac_ext <<EOF |
12331 #line 12332 "configure" | 12328 #line 12329 "configure" |
12332 #include "confdefs.h" | 12329 #include "confdefs.h" |
12333 #include <termios.h> | 12330 #include <termios.h> |
12334 EOF | 12331 EOF |
12335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12336 { (eval echo configure:12337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12333 { (eval echo configure:12334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12338 if test -z "$ac_err"; then | 12335 if test -z "$ac_err"; then |
12339 rm -rf conftest* | 12336 rm -rf conftest* |
12340 eval "ac_cv_header_$ac_safe=yes" | 12337 eval "ac_cv_header_$ac_safe=yes" |
12341 else | 12338 else |
12374 | 12371 |
12375 else | 12372 else |
12376 echo "$ac_t""no" 1>&6 | 12373 echo "$ac_t""no" 1>&6 |
12377 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12374 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12378 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12375 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12379 echo "configure:12380: checking for termio.h" >&5 | 12376 echo "configure:12377: checking for termio.h" >&5 |
12380 | 12377 |
12381 cat > conftest.$ac_ext <<EOF | 12378 cat > conftest.$ac_ext <<EOF |
12382 #line 12383 "configure" | 12379 #line 12380 "configure" |
12383 #include "confdefs.h" | 12380 #include "confdefs.h" |
12384 #include <termio.h> | 12381 #include <termio.h> |
12385 EOF | 12382 EOF |
12386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12387 { (eval echo configure:12388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12384 { (eval echo configure:12385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12389 if test -z "$ac_err"; then | 12386 if test -z "$ac_err"; then |
12390 rm -rf conftest* | 12387 rm -rf conftest* |
12391 eval "ac_cv_header_$ac_safe=yes" | 12388 eval "ac_cv_header_$ac_safe=yes" |
12392 else | 12389 else |
12414 fi | 12411 fi |
12415 | 12412 |
12416 | 12413 |
12417 | 12414 |
12418 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12415 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12419 echo "configure:12420: checking for socket" >&5 | 12416 echo "configure:12417: checking for socket" >&5 |
12420 | 12417 |
12421 cat > conftest.$ac_ext <<EOF | 12418 cat > conftest.$ac_ext <<EOF |
12422 #line 12423 "configure" | 12419 #line 12420 "configure" |
12423 #include "confdefs.h" | 12420 #include "confdefs.h" |
12424 /* System header to define __stub macros and hopefully few prototypes, | 12421 /* System header to define __stub macros and hopefully few prototypes, |
12425 which can conflict with char socket(); below. */ | 12422 which can conflict with char socket(); below. */ |
12426 #include <assert.h> | 12423 #include <assert.h> |
12427 /* Override any gcc2 internal prototype to avoid an error. */ | 12424 /* Override any gcc2 internal prototype to avoid an error. */ |
12440 socket(); | 12437 socket(); |
12441 #endif | 12438 #endif |
12442 | 12439 |
12443 ; return 0; } | 12440 ; return 0; } |
12444 EOF | 12441 EOF |
12445 if { (eval echo configure:12446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12442 if { (eval echo configure:12443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12446 rm -rf conftest* | 12443 rm -rf conftest* |
12447 eval "ac_cv_func_socket=yes" | 12444 eval "ac_cv_func_socket=yes" |
12448 else | 12445 else |
12449 echo "configure: failed program was:" >&5 | 12446 echo "configure: failed program was:" >&5 |
12450 cat conftest.$ac_ext >&5 | 12447 cat conftest.$ac_ext >&5 |
12455 | 12452 |
12456 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12453 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12457 echo "$ac_t""yes" 1>&6 | 12454 echo "$ac_t""yes" 1>&6 |
12458 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12455 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12459 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12456 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12460 echo "configure:12461: checking for netinet/in.h" >&5 | 12457 echo "configure:12458: checking for netinet/in.h" >&5 |
12461 | 12458 |
12462 cat > conftest.$ac_ext <<EOF | 12459 cat > conftest.$ac_ext <<EOF |
12463 #line 12464 "configure" | 12460 #line 12461 "configure" |
12464 #include "confdefs.h" | 12461 #include "confdefs.h" |
12465 #include <netinet/in.h> | 12462 #include <netinet/in.h> |
12466 EOF | 12463 EOF |
12467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12468 { (eval echo configure:12469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12465 { (eval echo configure:12466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12470 if test -z "$ac_err"; then | 12467 if test -z "$ac_err"; then |
12471 rm -rf conftest* | 12468 rm -rf conftest* |
12472 eval "ac_cv_header_$ac_safe=yes" | 12469 eval "ac_cv_header_$ac_safe=yes" |
12473 else | 12470 else |
12480 rm -f conftest* | 12477 rm -f conftest* |
12481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12478 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12482 echo "$ac_t""yes" 1>&6 | 12479 echo "$ac_t""yes" 1>&6 |
12483 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12480 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12484 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12481 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12485 echo "configure:12486: checking for arpa/inet.h" >&5 | 12482 echo "configure:12483: checking for arpa/inet.h" >&5 |
12486 | 12483 |
12487 cat > conftest.$ac_ext <<EOF | 12484 cat > conftest.$ac_ext <<EOF |
12488 #line 12489 "configure" | 12485 #line 12486 "configure" |
12489 #include "confdefs.h" | 12486 #include "confdefs.h" |
12490 #include <arpa/inet.h> | 12487 #include <arpa/inet.h> |
12491 EOF | 12488 EOF |
12492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12493 { (eval echo configure:12494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12490 { (eval echo configure:12491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12495 if test -z "$ac_err"; then | 12492 if test -z "$ac_err"; then |
12496 rm -rf conftest* | 12493 rm -rf conftest* |
12497 eval "ac_cv_header_$ac_safe=yes" | 12494 eval "ac_cv_header_$ac_safe=yes" |
12498 else | 12495 else |
12513 #define HAVE_SOCKETS 1 | 12510 #define HAVE_SOCKETS 1 |
12514 EOF | 12511 EOF |
12515 } | 12512 } |
12516 | 12513 |
12517 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12514 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12518 echo "configure:12519: checking "for sun_len member in struct sockaddr_un"" >&5 | 12515 echo "configure:12516: checking "for sun_len member in struct sockaddr_un"" >&5 |
12519 cat > conftest.$ac_ext <<EOF | 12516 cat > conftest.$ac_ext <<EOF |
12520 #line 12521 "configure" | 12517 #line 12518 "configure" |
12521 #include "confdefs.h" | 12518 #include "confdefs.h" |
12522 | 12519 |
12523 #include <sys/types.h> | 12520 #include <sys/types.h> |
12524 #include <sys/socket.h> | 12521 #include <sys/socket.h> |
12525 #include <sys/un.h> | 12522 #include <sys/un.h> |
12526 | 12523 |
12527 int main() { | 12524 int main() { |
12528 static struct sockaddr_un x; x.sun_len = 1; | 12525 static struct sockaddr_un x; x.sun_len = 1; |
12529 ; return 0; } | 12526 ; return 0; } |
12530 EOF | 12527 EOF |
12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12528 if { (eval echo configure:12529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12532 rm -rf conftest* | 12529 rm -rf conftest* |
12533 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12530 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12534 Defining HAVE_SOCKADDR_SUN_LEN | 12531 Defining HAVE_SOCKADDR_SUN_LEN |
12535 EOF | 12532 EOF |
12536 cat >> confdefs.h <<\EOF | 12533 cat >> confdefs.h <<\EOF |
12544 rm -rf conftest* | 12541 rm -rf conftest* |
12545 echo "$ac_t""no" 1>&6 | 12542 echo "$ac_t""no" 1>&6 |
12546 fi | 12543 fi |
12547 rm -f conftest* | 12544 rm -f conftest* |
12548 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12545 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12549 echo "configure:12550: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12546 echo "configure:12547: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12550 cat > conftest.$ac_ext <<EOF | 12547 cat > conftest.$ac_ext <<EOF |
12551 #line 12552 "configure" | 12548 #line 12549 "configure" |
12552 #include "confdefs.h" | 12549 #include "confdefs.h" |
12553 | 12550 |
12554 #include <sys/types.h> | 12551 #include <sys/types.h> |
12555 #include <netinet/in.h> | 12552 #include <netinet/in.h> |
12556 | 12553 |
12557 int main() { | 12554 int main() { |
12558 static struct ip_mreq x; | 12555 static struct ip_mreq x; |
12559 ; return 0; } | 12556 ; return 0; } |
12560 EOF | 12557 EOF |
12561 if { (eval echo configure:12562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12562 rm -rf conftest* | 12559 rm -rf conftest* |
12563 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12560 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12564 Defining HAVE_MULTICAST | 12561 Defining HAVE_MULTICAST |
12565 EOF | 12562 EOF |
12566 cat >> confdefs.h <<\EOF | 12563 cat >> confdefs.h <<\EOF |
12587 echo "$ac_t""no" 1>&6 | 12584 echo "$ac_t""no" 1>&6 |
12588 fi | 12585 fi |
12589 | 12586 |
12590 | 12587 |
12591 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12588 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12592 echo "configure:12593: checking for msgget" >&5 | 12589 echo "configure:12590: checking for msgget" >&5 |
12593 | 12590 |
12594 cat > conftest.$ac_ext <<EOF | 12591 cat > conftest.$ac_ext <<EOF |
12595 #line 12596 "configure" | 12592 #line 12593 "configure" |
12596 #include "confdefs.h" | 12593 #include "confdefs.h" |
12597 /* System header to define __stub macros and hopefully few prototypes, | 12594 /* System header to define __stub macros and hopefully few prototypes, |
12598 which can conflict with char msgget(); below. */ | 12595 which can conflict with char msgget(); below. */ |
12599 #include <assert.h> | 12596 #include <assert.h> |
12600 /* Override any gcc2 internal prototype to avoid an error. */ | 12597 /* Override any gcc2 internal prototype to avoid an error. */ |
12613 msgget(); | 12610 msgget(); |
12614 #endif | 12611 #endif |
12615 | 12612 |
12616 ; return 0; } | 12613 ; return 0; } |
12617 EOF | 12614 EOF |
12618 if { (eval echo configure:12619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12615 if { (eval echo configure:12616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12619 rm -rf conftest* | 12616 rm -rf conftest* |
12620 eval "ac_cv_func_msgget=yes" | 12617 eval "ac_cv_func_msgget=yes" |
12621 else | 12618 else |
12622 echo "configure: failed program was:" >&5 | 12619 echo "configure: failed program was:" >&5 |
12623 cat conftest.$ac_ext >&5 | 12620 cat conftest.$ac_ext >&5 |
12628 | 12625 |
12629 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12626 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12630 echo "$ac_t""yes" 1>&6 | 12627 echo "$ac_t""yes" 1>&6 |
12631 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12628 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12632 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12629 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12633 echo "configure:12634: checking for sys/ipc.h" >&5 | 12630 echo "configure:12631: checking for sys/ipc.h" >&5 |
12634 | 12631 |
12635 cat > conftest.$ac_ext <<EOF | 12632 cat > conftest.$ac_ext <<EOF |
12636 #line 12637 "configure" | 12633 #line 12634 "configure" |
12637 #include "confdefs.h" | 12634 #include "confdefs.h" |
12638 #include <sys/ipc.h> | 12635 #include <sys/ipc.h> |
12639 EOF | 12636 EOF |
12640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12641 { (eval echo configure:12642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12638 { (eval echo configure:12639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12643 if test -z "$ac_err"; then | 12640 if test -z "$ac_err"; then |
12644 rm -rf conftest* | 12641 rm -rf conftest* |
12645 eval "ac_cv_header_$ac_safe=yes" | 12642 eval "ac_cv_header_$ac_safe=yes" |
12646 else | 12643 else |
12653 rm -f conftest* | 12650 rm -f conftest* |
12654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12651 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12655 echo "$ac_t""yes" 1>&6 | 12652 echo "$ac_t""yes" 1>&6 |
12656 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12653 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12657 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12654 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12658 echo "configure:12659: checking for sys/msg.h" >&5 | 12655 echo "configure:12656: checking for sys/msg.h" >&5 |
12659 | 12656 |
12660 cat > conftest.$ac_ext <<EOF | 12657 cat > conftest.$ac_ext <<EOF |
12661 #line 12662 "configure" | 12658 #line 12659 "configure" |
12662 #include "confdefs.h" | 12659 #include "confdefs.h" |
12663 #include <sys/msg.h> | 12660 #include <sys/msg.h> |
12664 EOF | 12661 EOF |
12665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12666 { (eval echo configure:12667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12663 { (eval echo configure:12664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12668 if test -z "$ac_err"; then | 12665 if test -z "$ac_err"; then |
12669 rm -rf conftest* | 12666 rm -rf conftest* |
12670 eval "ac_cv_header_$ac_safe=yes" | 12667 eval "ac_cv_header_$ac_safe=yes" |
12671 else | 12668 else |
12699 fi | 12696 fi |
12700 | 12697 |
12701 | 12698 |
12702 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12699 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12703 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12700 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12704 echo "configure:12705: checking for dirent.h" >&5 | 12701 echo "configure:12702: checking for dirent.h" >&5 |
12705 | 12702 |
12706 cat > conftest.$ac_ext <<EOF | 12703 cat > conftest.$ac_ext <<EOF |
12707 #line 12708 "configure" | 12704 #line 12705 "configure" |
12708 #include "confdefs.h" | 12705 #include "confdefs.h" |
12709 #include <dirent.h> | 12706 #include <dirent.h> |
12710 EOF | 12707 EOF |
12711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12712 { (eval echo configure:12713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12709 { (eval echo configure:12710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12714 if test -z "$ac_err"; then | 12711 if test -z "$ac_err"; then |
12715 rm -rf conftest* | 12712 rm -rf conftest* |
12716 eval "ac_cv_header_$ac_safe=yes" | 12713 eval "ac_cv_header_$ac_safe=yes" |
12717 else | 12714 else |
12734 | 12731 |
12735 else | 12732 else |
12736 echo "$ac_t""no" 1>&6 | 12733 echo "$ac_t""no" 1>&6 |
12737 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12734 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12738 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12735 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12739 echo "configure:12740: checking for sys/dir.h" >&5 | 12736 echo "configure:12737: checking for sys/dir.h" >&5 |
12740 | 12737 |
12741 cat > conftest.$ac_ext <<EOF | 12738 cat > conftest.$ac_ext <<EOF |
12742 #line 12743 "configure" | 12739 #line 12740 "configure" |
12743 #include "confdefs.h" | 12740 #include "confdefs.h" |
12744 #include <sys/dir.h> | 12741 #include <sys/dir.h> |
12745 EOF | 12742 EOF |
12746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12747 { (eval echo configure:12748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12744 { (eval echo configure:12745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12749 if test -z "$ac_err"; then | 12746 if test -z "$ac_err"; then |
12750 rm -rf conftest* | 12747 rm -rf conftest* |
12751 eval "ac_cv_header_$ac_safe=yes" | 12748 eval "ac_cv_header_$ac_safe=yes" |
12752 else | 12749 else |
12775 fi | 12772 fi |
12776 | 12773 |
12777 | 12774 |
12778 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12775 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12779 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12776 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12780 echo "configure:12781: checking for nlist.h" >&5 | 12777 echo "configure:12778: checking for nlist.h" >&5 |
12781 | 12778 |
12782 cat > conftest.$ac_ext <<EOF | 12779 cat > conftest.$ac_ext <<EOF |
12783 #line 12784 "configure" | 12780 #line 12781 "configure" |
12784 #include "confdefs.h" | 12781 #include "confdefs.h" |
12785 #include <nlist.h> | 12782 #include <nlist.h> |
12786 EOF | 12783 EOF |
12787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12788 { (eval echo configure:12789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12785 { (eval echo configure:12786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12790 if test -z "$ac_err"; then | 12787 if test -z "$ac_err"; then |
12791 rm -rf conftest* | 12788 rm -rf conftest* |
12792 eval "ac_cv_header_$ac_safe=yes" | 12789 eval "ac_cv_header_$ac_safe=yes" |
12793 else | 12790 else |
12813 fi | 12810 fi |
12814 | 12811 |
12815 | 12812 |
12816 | 12813 |
12817 echo "checking "for sound support"" 1>&6 | 12814 echo "checking "for sound support"" 1>&6 |
12818 echo "configure:12819: checking "for sound support"" >&5 | 12815 echo "configure:12816: checking "for sound support"" >&5 |
12819 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12816 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12820 | 12817 |
12821 if test "$with_native_sound" != "no"; then | 12818 if test "$with_native_sound" != "no"; then |
12822 if test -n "$native_sound_lib"; then | 12819 if test -n "$native_sound_lib"; then |
12823 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12820 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12824 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12821 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12825 echo "configure:12826: checking for multimedia/audio_device.h" >&5 | 12822 echo "configure:12823: checking for multimedia/audio_device.h" >&5 |
12826 | 12823 |
12827 cat > conftest.$ac_ext <<EOF | 12824 cat > conftest.$ac_ext <<EOF |
12828 #line 12829 "configure" | 12825 #line 12826 "configure" |
12829 #include "confdefs.h" | 12826 #include "confdefs.h" |
12830 #include <multimedia/audio_device.h> | 12827 #include <multimedia/audio_device.h> |
12831 EOF | 12828 EOF |
12832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12833 { (eval echo configure:12834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12830 { (eval echo configure:12831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12835 if test -z "$ac_err"; then | 12832 if test -z "$ac_err"; then |
12836 rm -rf conftest* | 12833 rm -rf conftest* |
12837 eval "ac_cv_header_$ac_safe=yes" | 12834 eval "ac_cv_header_$ac_safe=yes" |
12838 else | 12835 else |
12876 case "$canonical" in | 12873 case "$canonical" in |
12877 *-sgi-* ) | 12874 *-sgi-* ) |
12878 if test -z "$native_sound_lib"; then | 12875 if test -z "$native_sound_lib"; then |
12879 | 12876 |
12880 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12877 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12881 echo "configure:12882: checking for ALopenport in -laudio" >&5 | 12878 echo "configure:12879: checking for ALopenport in -laudio" >&5 |
12882 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12879 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12883 | 12880 |
12884 xe_check_libs=" -laudio " | 12881 xe_check_libs=" -laudio " |
12885 cat > conftest.$ac_ext <<EOF | 12882 cat > conftest.$ac_ext <<EOF |
12886 #line 12887 "configure" | 12883 #line 12884 "configure" |
12887 #include "confdefs.h" | 12884 #include "confdefs.h" |
12888 /* Override any gcc2 internal prototype to avoid an error. */ | 12885 /* Override any gcc2 internal prototype to avoid an error. */ |
12889 /* We use char because int might match the return type of a gcc2 | 12886 /* We use char because int might match the return type of a gcc2 |
12890 builtin and then its argument prototype would still apply. */ | 12887 builtin and then its argument prototype would still apply. */ |
12891 char ALopenport(); | 12888 char ALopenport(); |
12892 | 12889 |
12893 int main() { | 12890 int main() { |
12894 ALopenport() | 12891 ALopenport() |
12895 ; return 0; } | 12892 ; return 0; } |
12896 EOF | 12893 EOF |
12897 if { (eval echo configure:12898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12894 if { (eval echo configure:12895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12898 rm -rf conftest* | 12895 rm -rf conftest* |
12899 eval "ac_cv_lib_$ac_lib_var=yes" | 12896 eval "ac_cv_lib_$ac_lib_var=yes" |
12900 else | 12897 else |
12901 echo "configure: failed program was:" >&5 | 12898 echo "configure: failed program was:" >&5 |
12902 cat conftest.$ac_ext >&5 | 12899 cat conftest.$ac_ext >&5 |
12923 fi ;; | 12920 fi ;; |
12924 hppa*-hp-hpux* ) | 12921 hppa*-hp-hpux* ) |
12925 if test -z "$native_sound_lib"; then | 12922 if test -z "$native_sound_lib"; then |
12926 | 12923 |
12927 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12924 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12928 echo "configure:12929: checking for AOpenAudio in -lAlib" >&5 | 12925 echo "configure:12926: checking for AOpenAudio in -lAlib" >&5 |
12929 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12926 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12930 | 12927 |
12931 xe_check_libs=" -lAlib " | 12928 xe_check_libs=" -lAlib " |
12932 cat > conftest.$ac_ext <<EOF | 12929 cat > conftest.$ac_ext <<EOF |
12933 #line 12934 "configure" | 12930 #line 12931 "configure" |
12934 #include "confdefs.h" | 12931 #include "confdefs.h" |
12935 /* Override any gcc2 internal prototype to avoid an error. */ | 12932 /* Override any gcc2 internal prototype to avoid an error. */ |
12936 /* We use char because int might match the return type of a gcc2 | 12933 /* We use char because int might match the return type of a gcc2 |
12937 builtin and then its argument prototype would still apply. */ | 12934 builtin and then its argument prototype would still apply. */ |
12938 char AOpenAudio(); | 12935 char AOpenAudio(); |
12939 | 12936 |
12940 int main() { | 12937 int main() { |
12941 AOpenAudio() | 12938 AOpenAudio() |
12942 ; return 0; } | 12939 ; return 0; } |
12943 EOF | 12940 EOF |
12944 if { (eval echo configure:12945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12941 if { (eval echo configure:12942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12945 rm -rf conftest* | 12942 rm -rf conftest* |
12946 eval "ac_cv_lib_$ac_lib_var=yes" | 12943 eval "ac_cv_lib_$ac_lib_var=yes" |
12947 else | 12944 else |
12948 echo "configure: failed program was:" >&5 | 12945 echo "configure: failed program was:" >&5 |
12949 cat conftest.$ac_ext >&5 | 12946 cat conftest.$ac_ext >&5 |
12977 | 12974 |
12978 if test -z "$sound_found"; then | 12975 if test -z "$sound_found"; then |
12979 for dir in "machine" "sys" "linux"; do | 12976 for dir in "machine" "sys" "linux"; do |
12980 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12977 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12981 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12978 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12982 echo "configure:12983: checking for ${dir}/soundcard.h" >&5 | 12979 echo "configure:12980: checking for ${dir}/soundcard.h" >&5 |
12983 | 12980 |
12984 cat > conftest.$ac_ext <<EOF | 12981 cat > conftest.$ac_ext <<EOF |
12985 #line 12986 "configure" | 12982 #line 12983 "configure" |
12986 #include "confdefs.h" | 12983 #include "confdefs.h" |
12987 #include <${dir}/soundcard.h> | 12984 #include <${dir}/soundcard.h> |
12988 EOF | 12985 EOF |
12989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12990 { (eval echo configure:12991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12987 { (eval echo configure:12988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12992 if test -z "$ac_err"; then | 12989 if test -z "$ac_err"; then |
12993 rm -rf conftest* | 12990 rm -rf conftest* |
12994 eval "ac_cv_header_$ac_safe=yes" | 12991 eval "ac_cv_header_$ac_safe=yes" |
12995 else | 12992 else |
13046 fi | 13043 fi |
13047 | 13044 |
13048 if test "$with_nas_sound" != "no"; then | 13045 if test "$with_nas_sound" != "no"; then |
13049 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13050 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13051 echo "configure:13052: checking for audio/audiolib.h" >&5 | 13048 echo "configure:13049: checking for audio/audiolib.h" >&5 |
13052 | 13049 |
13053 cat > conftest.$ac_ext <<EOF | 13050 cat > conftest.$ac_ext <<EOF |
13054 #line 13055 "configure" | 13051 #line 13052 "configure" |
13055 #include "confdefs.h" | 13052 #include "confdefs.h" |
13056 #include <audio/audiolib.h> | 13053 #include <audio/audiolib.h> |
13057 EOF | 13054 EOF |
13058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13059 { (eval echo configure:13060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13061 if test -z "$ac_err"; then | 13058 if test -z "$ac_err"; then |
13062 rm -rf conftest* | 13059 rm -rf conftest* |
13063 eval "ac_cv_header_$ac_safe=yes" | 13060 eval "ac_cv_header_$ac_safe=yes" |
13064 else | 13061 else |
13072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13073 echo "$ac_t""yes" 1>&6 | 13070 echo "$ac_t""yes" 1>&6 |
13074 | 13071 |
13075 | 13072 |
13076 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13077 echo "configure:13078: checking for AuOpenServer in -laudio" >&5 | 13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5 |
13078 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13079 | 13076 |
13080 xe_check_libs=" -laudio " | 13077 xe_check_libs=" -laudio " |
13081 cat > conftest.$ac_ext <<EOF | 13078 cat > conftest.$ac_ext <<EOF |
13082 #line 13083 "configure" | 13079 #line 13080 "configure" |
13083 #include "confdefs.h" | 13080 #include "confdefs.h" |
13084 /* Override any gcc2 internal prototype to avoid an error. */ | 13081 /* Override any gcc2 internal prototype to avoid an error. */ |
13085 /* We use char because int might match the return type of a gcc2 | 13082 /* We use char because int might match the return type of a gcc2 |
13086 builtin and then its argument prototype would still apply. */ | 13083 builtin and then its argument prototype would still apply. */ |
13087 char AuOpenServer(); | 13084 char AuOpenServer(); |
13088 | 13085 |
13089 int main() { | 13086 int main() { |
13090 AuOpenServer() | 13087 AuOpenServer() |
13091 ; return 0; } | 13088 ; return 0; } |
13092 EOF | 13089 EOF |
13093 if { (eval echo configure:13094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13094 rm -rf conftest* | 13091 rm -rf conftest* |
13095 eval "ac_cv_lib_$ac_lib_var=yes" | 13092 eval "ac_cv_lib_$ac_lib_var=yes" |
13096 else | 13093 else |
13097 echo "configure: failed program was:" >&5 | 13094 echo "configure: failed program was:" >&5 |
13098 cat conftest.$ac_ext >&5 | 13095 cat conftest.$ac_ext >&5 |
13127 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13128 echo " xemacs will be linked with \"nas.o\"" | 13125 echo " xemacs will be linked with \"nas.o\"" |
13129 fi | 13126 fi |
13130 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13131 cat > conftest.$ac_ext <<EOF | 13128 cat > conftest.$ac_ext <<EOF |
13132 #line 13133 "configure" | 13129 #line 13130 "configure" |
13133 #include "confdefs.h" | 13130 #include "confdefs.h" |
13134 #include <audio/Xtutil.h> | 13131 #include <audio/Xtutil.h> |
13135 EOF | 13132 EOF |
13136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13137 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13158 | 13155 |
13159 if test "$with_esd_sound" != "no"; then | 13156 if test "$with_esd_sound" != "no"; then |
13160 # Extract the first word of "esd-config", so it can be a program name with args. | 13157 # Extract the first word of "esd-config", so it can be a program name with args. |
13161 set dummy esd-config; ac_word=$2 | 13158 set dummy esd-config; ac_word=$2 |
13162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13163 echo "configure:13164: checking for $ac_word" >&5 | 13160 echo "configure:13161: checking for $ac_word" >&5 |
13164 | 13161 |
13165 if test -n "$have_esd_config"; then | 13162 if test -n "$have_esd_config"; then |
13166 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13167 else | 13164 else |
13168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13187 if test "$have_esd_config" = "yes"; then | 13184 if test "$have_esd_config" = "yes"; then |
13188 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13189 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 | 13186 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 |
13190 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13191 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13192 echo "configure:13193: checking for esd_play_stream" >&5 | 13189 echo "configure:13190: checking for esd_play_stream" >&5 |
13193 | 13190 |
13194 cat > conftest.$ac_ext <<EOF | 13191 cat > conftest.$ac_ext <<EOF |
13195 #line 13196 "configure" | 13192 #line 13193 "configure" |
13196 #include "confdefs.h" | 13193 #include "confdefs.h" |
13197 /* System header to define __stub macros and hopefully few prototypes, | 13194 /* System header to define __stub macros and hopefully few prototypes, |
13198 which can conflict with char esd_play_stream(); below. */ | 13195 which can conflict with char esd_play_stream(); below. */ |
13199 #include <assert.h> | 13196 #include <assert.h> |
13200 /* Override any gcc2 internal prototype to avoid an error. */ | 13197 /* Override any gcc2 internal prototype to avoid an error. */ |
13213 esd_play_stream(); | 13210 esd_play_stream(); |
13214 #endif | 13211 #endif |
13215 | 13212 |
13216 ; return 0; } | 13213 ; return 0; } |
13217 EOF | 13214 EOF |
13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13219 rm -rf conftest* | 13216 rm -rf conftest* |
13220 eval "ac_cv_func_esd_play_stream=yes" | 13217 eval "ac_cv_func_esd_play_stream=yes" |
13221 else | 13218 else |
13222 echo "configure: failed program was:" >&5 | 13219 echo "configure: failed program was:" >&5 |
13223 cat conftest.$ac_ext >&5 | 13220 cat conftest.$ac_ext >&5 |
13264 | 13261 |
13265 test -z "$with_tty" && with_tty=yes | 13262 test -z "$with_tty" && with_tty=yes |
13266 | 13263 |
13267 if test "$with_tty" = "yes" ; then | 13264 if test "$with_tty" = "yes" ; then |
13268 echo "checking for TTY-related features" 1>&6 | 13265 echo "checking for TTY-related features" 1>&6 |
13269 echo "configure:13270: checking for TTY-related features" >&5 | 13266 echo "configure:13267: checking for TTY-related features" >&5 |
13270 { test "$extra_verbose" = "yes" && cat << \EOF | 13267 { test "$extra_verbose" = "yes" && cat << \EOF |
13271 Defining HAVE_TTY | 13268 Defining HAVE_TTY |
13272 EOF | 13269 EOF |
13273 cat >> confdefs.h <<\EOF | 13270 cat >> confdefs.h <<\EOF |
13274 #define HAVE_TTY 1 | 13271 #define HAVE_TTY 1 |
13280 fi | 13277 fi |
13281 | 13278 |
13282 if test -z "$with_ncurses"; then | 13279 if test -z "$with_ncurses"; then |
13283 | 13280 |
13284 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13281 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13285 echo "configure:13286: checking for tgetent in -lncurses" >&5 | 13282 echo "configure:13283: checking for tgetent in -lncurses" >&5 |
13286 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13283 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13287 | 13284 |
13288 xe_check_libs=" -lncurses " | 13285 xe_check_libs=" -lncurses " |
13289 cat > conftest.$ac_ext <<EOF | 13286 cat > conftest.$ac_ext <<EOF |
13290 #line 13291 "configure" | 13287 #line 13288 "configure" |
13291 #include "confdefs.h" | 13288 #include "confdefs.h" |
13292 /* Override any gcc2 internal prototype to avoid an error. */ | 13289 /* Override any gcc2 internal prototype to avoid an error. */ |
13293 /* We use char because int might match the return type of a gcc2 | 13290 /* We use char because int might match the return type of a gcc2 |
13294 builtin and then its argument prototype would still apply. */ | 13291 builtin and then its argument prototype would still apply. */ |
13295 char tgetent(); | 13292 char tgetent(); |
13296 | 13293 |
13297 int main() { | 13294 int main() { |
13298 tgetent() | 13295 tgetent() |
13299 ; return 0; } | 13296 ; return 0; } |
13300 EOF | 13297 EOF |
13301 if { (eval echo configure:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13302 rm -rf conftest* | 13299 rm -rf conftest* |
13303 eval "ac_cv_lib_$ac_lib_var=yes" | 13300 eval "ac_cv_lib_$ac_lib_var=yes" |
13304 else | 13301 else |
13305 echo "configure: failed program was:" >&5 | 13302 echo "configure: failed program was:" >&5 |
13306 cat conftest.$ac_ext >&5 | 13303 cat conftest.$ac_ext >&5 |
13329 EOF | 13326 EOF |
13330 } | 13327 } |
13331 | 13328 |
13332 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13329 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13333 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13330 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13334 echo "configure:13335: checking for ncurses/curses.h" >&5 | 13331 echo "configure:13332: checking for ncurses/curses.h" >&5 |
13335 | 13332 |
13336 cat > conftest.$ac_ext <<EOF | 13333 cat > conftest.$ac_ext <<EOF |
13337 #line 13338 "configure" | 13334 #line 13335 "configure" |
13338 #include "confdefs.h" | 13335 #include "confdefs.h" |
13339 #include <ncurses/curses.h> | 13336 #include <ncurses/curses.h> |
13340 EOF | 13337 EOF |
13341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13342 { (eval echo configure:13343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13339 { (eval echo configure:13340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13344 if test -z "$ac_err"; then | 13341 if test -z "$ac_err"; then |
13345 rm -rf conftest* | 13342 rm -rf conftest* |
13346 eval "ac_cv_header_$ac_safe=yes" | 13343 eval "ac_cv_header_$ac_safe=yes" |
13347 else | 13344 else |
13359 echo "$ac_t""no" 1>&6 | 13356 echo "$ac_t""no" 1>&6 |
13360 fi | 13357 fi |
13361 | 13358 |
13362 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13359 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13363 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13360 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13364 echo "configure:13365: checking for ncurses/term.h" >&5 | 13361 echo "configure:13362: checking for ncurses/term.h" >&5 |
13365 | 13362 |
13366 cat > conftest.$ac_ext <<EOF | 13363 cat > conftest.$ac_ext <<EOF |
13367 #line 13368 "configure" | 13364 #line 13365 "configure" |
13368 #include "confdefs.h" | 13365 #include "confdefs.h" |
13369 #include <ncurses/term.h> | 13366 #include <ncurses/term.h> |
13370 EOF | 13367 EOF |
13371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13372 { (eval echo configure:13373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13369 { (eval echo configure:13370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13374 if test -z "$ac_err"; then | 13371 if test -z "$ac_err"; then |
13375 rm -rf conftest* | 13372 rm -rf conftest* |
13376 eval "ac_cv_header_$ac_safe=yes" | 13373 eval "ac_cv_header_$ac_safe=yes" |
13377 else | 13374 else |
13397 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13394 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13398 save_c_switch_site="$c_switch_site" | 13395 save_c_switch_site="$c_switch_site" |
13399 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13396 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13400 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13397 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13401 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13398 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13402 echo "configure:13403: checking for ncurses/curses.h" >&5 | 13399 echo "configure:13400: checking for ncurses/curses.h" >&5 |
13403 | 13400 |
13404 cat > conftest.$ac_ext <<EOF | 13401 cat > conftest.$ac_ext <<EOF |
13405 #line 13406 "configure" | 13402 #line 13403 "configure" |
13406 #include "confdefs.h" | 13403 #include "confdefs.h" |
13407 #include <ncurses/curses.h> | 13404 #include <ncurses/curses.h> |
13408 EOF | 13405 EOF |
13409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13410 { (eval echo configure:13411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13407 { (eval echo configure:13408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13412 if test -z "$ac_err"; then | 13409 if test -z "$ac_err"; then |
13413 rm -rf conftest* | 13410 rm -rf conftest* |
13414 eval "ac_cv_header_$ac_safe=yes" | 13411 eval "ac_cv_header_$ac_safe=yes" |
13415 else | 13412 else |
13440 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13437 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13441 else | 13438 else |
13442 for lib in curses termlib termcap; do | 13439 for lib in curses termlib termcap; do |
13443 | 13440 |
13444 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13441 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13445 echo "configure:13446: checking for tgetent in -l$lib" >&5 | 13442 echo "configure:13443: checking for tgetent in -l$lib" >&5 |
13446 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13443 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13447 | 13444 |
13448 xe_check_libs=" -l$lib " | 13445 xe_check_libs=" -l$lib " |
13449 cat > conftest.$ac_ext <<EOF | 13446 cat > conftest.$ac_ext <<EOF |
13450 #line 13451 "configure" | 13447 #line 13448 "configure" |
13451 #include "confdefs.h" | 13448 #include "confdefs.h" |
13452 /* Override any gcc2 internal prototype to avoid an error. */ | 13449 /* Override any gcc2 internal prototype to avoid an error. */ |
13453 /* We use char because int might match the return type of a gcc2 | 13450 /* We use char because int might match the return type of a gcc2 |
13454 builtin and then its argument prototype would still apply. */ | 13451 builtin and then its argument prototype would still apply. */ |
13455 char tgetent(); | 13452 char tgetent(); |
13456 | 13453 |
13457 int main() { | 13454 int main() { |
13458 tgetent() | 13455 tgetent() |
13459 ; return 0; } | 13456 ; return 0; } |
13460 EOF | 13457 EOF |
13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13458 if { (eval echo configure:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13462 rm -rf conftest* | 13459 rm -rf conftest* |
13463 eval "ac_cv_lib_$ac_lib_var=yes" | 13460 eval "ac_cv_lib_$ac_lib_var=yes" |
13464 else | 13461 else |
13465 echo "configure: failed program was:" >&5 | 13462 echo "configure: failed program was:" >&5 |
13466 cat conftest.$ac_ext >&5 | 13463 cat conftest.$ac_ext >&5 |
13487 if test -n "$libs_termcap"; then | 13484 if test -n "$libs_termcap"; then |
13488 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13485 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13489 else | 13486 else |
13490 | 13487 |
13491 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13488 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13492 echo "configure:13493: checking for tgetent in -lcurses" >&5 | 13489 echo "configure:13490: checking for tgetent in -lcurses" >&5 |
13493 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13490 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13494 | 13491 |
13495 xe_check_libs=" -lcurses " | 13492 xe_check_libs=" -lcurses " |
13496 cat > conftest.$ac_ext <<EOF | 13493 cat > conftest.$ac_ext <<EOF |
13497 #line 13498 "configure" | 13494 #line 13495 "configure" |
13498 #include "confdefs.h" | 13495 #include "confdefs.h" |
13499 /* Override any gcc2 internal prototype to avoid an error. */ | 13496 /* Override any gcc2 internal prototype to avoid an error. */ |
13500 /* We use char because int might match the return type of a gcc2 | 13497 /* We use char because int might match the return type of a gcc2 |
13501 builtin and then its argument prototype would still apply. */ | 13498 builtin and then its argument prototype would still apply. */ |
13502 char tgetent(); | 13499 char tgetent(); |
13503 | 13500 |
13504 int main() { | 13501 int main() { |
13505 tgetent() | 13502 tgetent() |
13506 ; return 0; } | 13503 ; return 0; } |
13507 EOF | 13504 EOF |
13508 if { (eval echo configure:13509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13509 rm -rf conftest* | 13506 rm -rf conftest* |
13510 eval "ac_cv_lib_$ac_lib_var=yes" | 13507 eval "ac_cv_lib_$ac_lib_var=yes" |
13511 else | 13508 else |
13512 echo "configure: failed program was:" >&5 | 13509 echo "configure: failed program was:" >&5 |
13513 cat conftest.$ac_ext >&5 | 13510 cat conftest.$ac_ext >&5 |
13521 echo "$ac_t""yes" 1>&6 | 13518 echo "$ac_t""yes" 1>&6 |
13522 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13519 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13523 else | 13520 else |
13524 echo "$ac_t""no" 1>&6 | 13521 echo "$ac_t""no" 1>&6 |
13525 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13522 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13526 echo "configure:13527: checking for tgetent in -ltermcap" >&5 | 13523 echo "configure:13524: checking for tgetent in -ltermcap" >&5 |
13527 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13524 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13528 | 13525 |
13529 xe_check_libs=" -ltermcap " | 13526 xe_check_libs=" -ltermcap " |
13530 cat > conftest.$ac_ext <<EOF | 13527 cat > conftest.$ac_ext <<EOF |
13531 #line 13532 "configure" | 13528 #line 13529 "configure" |
13532 #include "confdefs.h" | 13529 #include "confdefs.h" |
13533 /* Override any gcc2 internal prototype to avoid an error. */ | 13530 /* Override any gcc2 internal prototype to avoid an error. */ |
13534 /* We use char because int might match the return type of a gcc2 | 13531 /* We use char because int might match the return type of a gcc2 |
13535 builtin and then its argument prototype would still apply. */ | 13532 builtin and then its argument prototype would still apply. */ |
13536 char tgetent(); | 13533 char tgetent(); |
13537 | 13534 |
13538 int main() { | 13535 int main() { |
13539 tgetent() | 13536 tgetent() |
13540 ; return 0; } | 13537 ; return 0; } |
13541 EOF | 13538 EOF |
13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13539 if { (eval echo configure:13540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13543 rm -rf conftest* | 13540 rm -rf conftest* |
13544 eval "ac_cv_lib_$ac_lib_var=yes" | 13541 eval "ac_cv_lib_$ac_lib_var=yes" |
13545 else | 13542 else |
13546 echo "configure: failed program was:" >&5 | 13543 echo "configure: failed program was:" >&5 |
13547 cat conftest.$ac_ext >&5 | 13544 cat conftest.$ac_ext >&5 |
13585 } | 13582 } |
13586 | 13583 |
13587 | 13584 |
13588 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13585 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13589 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13586 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13590 echo "configure:13591: checking for gpm.h" >&5 | 13587 echo "configure:13588: checking for gpm.h" >&5 |
13591 | 13588 |
13592 cat > conftest.$ac_ext <<EOF | 13589 cat > conftest.$ac_ext <<EOF |
13593 #line 13594 "configure" | 13590 #line 13591 "configure" |
13594 #include "confdefs.h" | 13591 #include "confdefs.h" |
13595 #include <gpm.h> | 13592 #include <gpm.h> |
13596 EOF | 13593 EOF |
13597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13598 { (eval echo configure:13599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13595 { (eval echo configure:13596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13600 if test -z "$ac_err"; then | 13597 if test -z "$ac_err"; then |
13601 rm -rf conftest* | 13598 rm -rf conftest* |
13602 eval "ac_cv_header_$ac_safe=yes" | 13599 eval "ac_cv_header_$ac_safe=yes" |
13603 else | 13600 else |
13616 with_gpm=no | 13613 with_gpm=no |
13617 fi | 13614 fi |
13618 } | 13615 } |
13619 test -z "$with_gpm" && { | 13616 test -z "$with_gpm" && { |
13620 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13617 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13621 echo "configure:13622: checking for Gpm_Open in -lgpm" >&5 | 13618 echo "configure:13619: checking for Gpm_Open in -lgpm" >&5 |
13622 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13619 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13623 | 13620 |
13624 xe_check_libs=" -lgpm " | 13621 xe_check_libs=" -lgpm " |
13625 cat > conftest.$ac_ext <<EOF | 13622 cat > conftest.$ac_ext <<EOF |
13626 #line 13627 "configure" | 13623 #line 13624 "configure" |
13627 #include "confdefs.h" | 13624 #include "confdefs.h" |
13628 /* Override any gcc2 internal prototype to avoid an error. */ | 13625 /* Override any gcc2 internal prototype to avoid an error. */ |
13629 /* We use char because int might match the return type of a gcc2 | 13626 /* We use char because int might match the return type of a gcc2 |
13630 builtin and then its argument prototype would still apply. */ | 13627 builtin and then its argument prototype would still apply. */ |
13631 char Gpm_Open(); | 13628 char Gpm_Open(); |
13632 | 13629 |
13633 int main() { | 13630 int main() { |
13634 Gpm_Open() | 13631 Gpm_Open() |
13635 ; return 0; } | 13632 ; return 0; } |
13636 EOF | 13633 EOF |
13637 if { (eval echo configure:13638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13634 if { (eval echo configure:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13638 rm -rf conftest* | 13635 rm -rf conftest* |
13639 eval "ac_cv_lib_$ac_lib_var=yes" | 13636 eval "ac_cv_lib_$ac_lib_var=yes" |
13640 else | 13637 else |
13641 echo "configure: failed program was:" >&5 | 13638 echo "configure: failed program was:" >&5 |
13642 cat conftest.$ac_ext >&5 | 13639 cat conftest.$ac_ext >&5 |
13682 fi | 13679 fi |
13683 | 13680 |
13684 | 13681 |
13685 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13682 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13686 != "no no no" && echo "checking for database support" 1>&6 | 13683 != "no no no" && echo "checking for database support" 1>&6 |
13687 echo "configure:13688: checking for database support" >&5 | 13684 echo "configure:13685: checking for database support" >&5 |
13688 | 13685 |
13689 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13686 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13690 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13687 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13691 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13688 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13692 echo "configure:13693: checking for ndbm.h" >&5 | 13689 echo "configure:13690: checking for ndbm.h" >&5 |
13693 | 13690 |
13694 cat > conftest.$ac_ext <<EOF | 13691 cat > conftest.$ac_ext <<EOF |
13695 #line 13696 "configure" | 13692 #line 13693 "configure" |
13696 #include "confdefs.h" | 13693 #include "confdefs.h" |
13697 #include <ndbm.h> | 13694 #include <ndbm.h> |
13698 EOF | 13695 EOF |
13699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13700 { (eval echo configure:13701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13697 { (eval echo configure:13698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13702 if test -z "$ac_err"; then | 13699 if test -z "$ac_err"; then |
13703 rm -rf conftest* | 13700 rm -rf conftest* |
13704 eval "ac_cv_header_$ac_safe=yes" | 13701 eval "ac_cv_header_$ac_safe=yes" |
13705 else | 13702 else |
13725 fi | 13722 fi |
13726 | 13723 |
13727 if test "$with_database_gdbm" != "no"; then | 13724 if test "$with_database_gdbm" != "no"; then |
13728 | 13725 |
13729 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13726 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13730 echo "configure:13731: checking for dbm_open in -lgdbm" >&5 | 13727 echo "configure:13728: checking for dbm_open in -lgdbm" >&5 |
13731 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13728 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13732 | 13729 |
13733 xe_check_libs=" -lgdbm " | 13730 xe_check_libs=" -lgdbm " |
13734 cat > conftest.$ac_ext <<EOF | 13731 cat > conftest.$ac_ext <<EOF |
13735 #line 13736 "configure" | 13732 #line 13733 "configure" |
13736 #include "confdefs.h" | 13733 #include "confdefs.h" |
13737 /* Override any gcc2 internal prototype to avoid an error. */ | 13734 /* Override any gcc2 internal prototype to avoid an error. */ |
13738 /* We use char because int might match the return type of a gcc2 | 13735 /* We use char because int might match the return type of a gcc2 |
13739 builtin and then its argument prototype would still apply. */ | 13736 builtin and then its argument prototype would still apply. */ |
13740 char dbm_open(); | 13737 char dbm_open(); |
13741 | 13738 |
13742 int main() { | 13739 int main() { |
13743 dbm_open() | 13740 dbm_open() |
13744 ; return 0; } | 13741 ; return 0; } |
13745 EOF | 13742 EOF |
13746 if { (eval echo configure:13747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13743 if { (eval echo configure:13744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13747 rm -rf conftest* | 13744 rm -rf conftest* |
13748 eval "ac_cv_lib_$ac_lib_var=yes" | 13745 eval "ac_cv_lib_$ac_lib_var=yes" |
13749 else | 13746 else |
13750 echo "configure: failed program was:" >&5 | 13747 echo "configure: failed program was:" >&5 |
13751 cat conftest.$ac_ext >&5 | 13748 cat conftest.$ac_ext >&5 |
13769 | 13766 |
13770 fi | 13767 fi |
13771 | 13768 |
13772 if test "$with_database_dbm" != "no"; then | 13769 if test "$with_database_dbm" != "no"; then |
13773 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13770 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13774 echo "configure:13775: checking for dbm_open" >&5 | 13771 echo "configure:13772: checking for dbm_open" >&5 |
13775 | 13772 |
13776 cat > conftest.$ac_ext <<EOF | 13773 cat > conftest.$ac_ext <<EOF |
13777 #line 13778 "configure" | 13774 #line 13775 "configure" |
13778 #include "confdefs.h" | 13775 #include "confdefs.h" |
13779 /* System header to define __stub macros and hopefully few prototypes, | 13776 /* System header to define __stub macros and hopefully few prototypes, |
13780 which can conflict with char dbm_open(); below. */ | 13777 which can conflict with char dbm_open(); below. */ |
13781 #include <assert.h> | 13778 #include <assert.h> |
13782 /* Override any gcc2 internal prototype to avoid an error. */ | 13779 /* Override any gcc2 internal prototype to avoid an error. */ |
13795 dbm_open(); | 13792 dbm_open(); |
13796 #endif | 13793 #endif |
13797 | 13794 |
13798 ; return 0; } | 13795 ; return 0; } |
13799 EOF | 13796 EOF |
13800 if { (eval echo configure:13801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13797 if { (eval echo configure:13798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13801 rm -rf conftest* | 13798 rm -rf conftest* |
13802 eval "ac_cv_func_dbm_open=yes" | 13799 eval "ac_cv_func_dbm_open=yes" |
13803 else | 13800 else |
13804 echo "configure: failed program was:" >&5 | 13801 echo "configure: failed program was:" >&5 |
13805 cat conftest.$ac_ext >&5 | 13802 cat conftest.$ac_ext >&5 |
13814 else | 13811 else |
13815 echo "$ac_t""no" 1>&6 | 13812 echo "$ac_t""no" 1>&6 |
13816 | 13813 |
13817 | 13814 |
13818 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13815 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13819 echo "configure:13820: checking for dbm_open in -ldbm" >&5 | 13816 echo "configure:13817: checking for dbm_open in -ldbm" >&5 |
13820 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13817 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13821 | 13818 |
13822 xe_check_libs=" -ldbm " | 13819 xe_check_libs=" -ldbm " |
13823 cat > conftest.$ac_ext <<EOF | 13820 cat > conftest.$ac_ext <<EOF |
13824 #line 13825 "configure" | 13821 #line 13822 "configure" |
13825 #include "confdefs.h" | 13822 #include "confdefs.h" |
13826 /* Override any gcc2 internal prototype to avoid an error. */ | 13823 /* Override any gcc2 internal prototype to avoid an error. */ |
13827 /* We use char because int might match the return type of a gcc2 | 13824 /* We use char because int might match the return type of a gcc2 |
13828 builtin and then its argument prototype would still apply. */ | 13825 builtin and then its argument prototype would still apply. */ |
13829 char dbm_open(); | 13826 char dbm_open(); |
13830 | 13827 |
13831 int main() { | 13828 int main() { |
13832 dbm_open() | 13829 dbm_open() |
13833 ; return 0; } | 13830 ; return 0; } |
13834 EOF | 13831 EOF |
13835 if { (eval echo configure:13836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13832 if { (eval echo configure:13833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13836 rm -rf conftest* | 13833 rm -rf conftest* |
13837 eval "ac_cv_lib_$ac_lib_var=yes" | 13834 eval "ac_cv_lib_$ac_lib_var=yes" |
13838 else | 13835 else |
13839 echo "configure: failed program was:" >&5 | 13836 echo "configure: failed program was:" >&5 |
13840 cat conftest.$ac_ext >&5 | 13837 cat conftest.$ac_ext >&5 |
13871 } | 13868 } |
13872 | 13869 |
13873 | 13870 |
13874 if test "$with_database_berkdb" != "no"; then | 13871 if test "$with_database_berkdb" != "no"; then |
13875 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13872 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13876 echo "configure:13877: checking for Berkeley db.h" >&5 | 13873 echo "configure:13874: checking for Berkeley db.h" >&5 |
13877 for header in "db/db.h" "db.h"; do | 13874 for header in "db/db.h" "db.h"; do |
13878 cat > conftest.$ac_ext <<EOF | 13875 cat > conftest.$ac_ext <<EOF |
13879 #line 13880 "configure" | 13876 #line 13877 "configure" |
13880 #include "confdefs.h" | 13877 #include "confdefs.h" |
13881 | 13878 |
13882 #include <stdlib.h> | 13879 #include <stdlib.h> |
13883 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13880 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13884 #ifdef HAVE_INTTYPES_H | 13881 #ifdef HAVE_INTTYPES_H |
13896 | 13893 |
13897 int main() { | 13894 int main() { |
13898 | 13895 |
13899 ; return 0; } | 13896 ; return 0; } |
13900 EOF | 13897 EOF |
13901 if { (eval echo configure:13902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13898 if { (eval echo configure:13899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13902 rm -rf conftest* | 13899 rm -rf conftest* |
13903 db_h_file="$header"; break | 13900 db_h_file="$header"; break |
13904 else | 13901 else |
13905 echo "configure: failed program was:" >&5 | 13902 echo "configure: failed program was:" >&5 |
13906 cat conftest.$ac_ext >&5 | 13903 cat conftest.$ac_ext >&5 |
13912 else echo "$ac_t""$db_h_file" 1>&6 | 13909 else echo "$ac_t""$db_h_file" 1>&6 |
13913 fi | 13910 fi |
13914 | 13911 |
13915 if test "$with_database_berkdb" != "no"; then | 13912 if test "$with_database_berkdb" != "no"; then |
13916 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13913 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13917 echo "configure:13918: checking for Berkeley DB version" >&5 | 13914 echo "configure:13915: checking for Berkeley DB version" >&5 |
13918 cat > conftest.$ac_ext <<EOF | 13915 cat > conftest.$ac_ext <<EOF |
13919 #line 13920 "configure" | 13916 #line 13917 "configure" |
13920 #include "confdefs.h" | 13917 #include "confdefs.h" |
13921 #include <$db_h_file> | 13918 #include <$db_h_file> |
13922 #if DB_VERSION_MAJOR > 1 | 13919 #if DB_VERSION_MAJOR > 1 |
13923 yes | 13920 yes |
13924 #endif | 13921 #endif |
13926 EOF | 13923 EOF |
13927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13928 egrep "yes" >/dev/null 2>&1; then | 13925 egrep "yes" >/dev/null 2>&1; then |
13929 rm -rf conftest* | 13926 rm -rf conftest* |
13930 cat > conftest.$ac_ext <<EOF | 13927 cat > conftest.$ac_ext <<EOF |
13931 #line 13932 "configure" | 13928 #line 13929 "configure" |
13932 #include "confdefs.h" | 13929 #include "confdefs.h" |
13933 #include <$db_h_file> | 13930 #include <$db_h_file> |
13934 #if DB_VERSION_MAJOR > 2 | 13931 #if DB_VERSION_MAJOR > 2 |
13935 yes | 13932 yes |
13936 #endif | 13933 #endif |
13953 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13950 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13954 fi | 13951 fi |
13955 rm -f conftest* | 13952 rm -f conftest* |
13956 | 13953 |
13957 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13954 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13958 echo "configure:13959: checking for $dbfunc" >&5 | 13955 echo "configure:13956: checking for $dbfunc" >&5 |
13959 | 13956 |
13960 cat > conftest.$ac_ext <<EOF | 13957 cat > conftest.$ac_ext <<EOF |
13961 #line 13962 "configure" | 13958 #line 13959 "configure" |
13962 #include "confdefs.h" | 13959 #include "confdefs.h" |
13963 /* System header to define __stub macros and hopefully few prototypes, | 13960 /* System header to define __stub macros and hopefully few prototypes, |
13964 which can conflict with char $dbfunc(); below. */ | 13961 which can conflict with char $dbfunc(); below. */ |
13965 #include <assert.h> | 13962 #include <assert.h> |
13966 /* Override any gcc2 internal prototype to avoid an error. */ | 13963 /* Override any gcc2 internal prototype to avoid an error. */ |
13979 $dbfunc(); | 13976 $dbfunc(); |
13980 #endif | 13977 #endif |
13981 | 13978 |
13982 ; return 0; } | 13979 ; return 0; } |
13983 EOF | 13980 EOF |
13984 if { (eval echo configure:13985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13981 if { (eval echo configure:13982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13985 rm -rf conftest* | 13982 rm -rf conftest* |
13986 eval "ac_cv_func_$dbfunc=yes" | 13983 eval "ac_cv_func_$dbfunc=yes" |
13987 else | 13984 else |
13988 echo "configure: failed program was:" >&5 | 13985 echo "configure: failed program was:" >&5 |
13989 cat conftest.$ac_ext >&5 | 13986 cat conftest.$ac_ext >&5 |
13998 else | 13995 else |
13999 echo "$ac_t""no" 1>&6 | 13996 echo "$ac_t""no" 1>&6 |
14000 | 13997 |
14001 | 13998 |
14002 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13999 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14003 echo "configure:14004: checking for $dbfunc in -ldb" >&5 | 14000 echo "configure:14001: checking for $dbfunc in -ldb" >&5 |
14004 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14001 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14005 | 14002 |
14006 xe_check_libs=" -ldb " | 14003 xe_check_libs=" -ldb " |
14007 cat > conftest.$ac_ext <<EOF | 14004 cat > conftest.$ac_ext <<EOF |
14008 #line 14009 "configure" | 14005 #line 14006 "configure" |
14009 #include "confdefs.h" | 14006 #include "confdefs.h" |
14010 /* Override any gcc2 internal prototype to avoid an error. */ | 14007 /* Override any gcc2 internal prototype to avoid an error. */ |
14011 /* We use char because int might match the return type of a gcc2 | 14008 /* We use char because int might match the return type of a gcc2 |
14012 builtin and then its argument prototype would still apply. */ | 14009 builtin and then its argument prototype would still apply. */ |
14013 char $dbfunc(); | 14010 char $dbfunc(); |
14014 | 14011 |
14015 int main() { | 14012 int main() { |
14016 $dbfunc() | 14013 $dbfunc() |
14017 ; return 0; } | 14014 ; return 0; } |
14018 EOF | 14015 EOF |
14019 if { (eval echo configure:14020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14016 if { (eval echo configure:14017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14020 rm -rf conftest* | 14017 rm -rf conftest* |
14021 eval "ac_cv_lib_$ac_lib_var=yes" | 14018 eval "ac_cv_lib_$ac_lib_var=yes" |
14022 else | 14019 else |
14023 echo "configure: failed program was:" >&5 | 14020 echo "configure: failed program was:" >&5 |
14024 cat conftest.$ac_ext >&5 | 14021 cat conftest.$ac_ext >&5 |
14078 fi | 14075 fi |
14079 | 14076 |
14080 if test "$with_socks" = "yes"; then | 14077 if test "$with_socks" = "yes"; then |
14081 | 14078 |
14082 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14079 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14083 echo "configure:14084: checking for SOCKSinit in -lsocks" >&5 | 14080 echo "configure:14081: checking for SOCKSinit in -lsocks" >&5 |
14084 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14081 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14085 | 14082 |
14086 xe_check_libs=" -lsocks " | 14083 xe_check_libs=" -lsocks " |
14087 cat > conftest.$ac_ext <<EOF | 14084 cat > conftest.$ac_ext <<EOF |
14088 #line 14089 "configure" | 14085 #line 14086 "configure" |
14089 #include "confdefs.h" | 14086 #include "confdefs.h" |
14090 /* Override any gcc2 internal prototype to avoid an error. */ | 14087 /* Override any gcc2 internal prototype to avoid an error. */ |
14091 /* We use char because int might match the return type of a gcc2 | 14088 /* We use char because int might match the return type of a gcc2 |
14092 builtin and then its argument prototype would still apply. */ | 14089 builtin and then its argument prototype would still apply. */ |
14093 char SOCKSinit(); | 14090 char SOCKSinit(); |
14094 | 14091 |
14095 int main() { | 14092 int main() { |
14096 SOCKSinit() | 14093 SOCKSinit() |
14097 ; return 0; } | 14094 ; return 0; } |
14098 EOF | 14095 EOF |
14099 if { (eval echo configure:14100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14096 if { (eval echo configure:14097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14100 rm -rf conftest* | 14097 rm -rf conftest* |
14101 eval "ac_cv_lib_$ac_lib_var=yes" | 14098 eval "ac_cv_lib_$ac_lib_var=yes" |
14102 else | 14099 else |
14103 echo "configure: failed program was:" >&5 | 14100 echo "configure: failed program was:" >&5 |
14104 cat conftest.$ac_ext >&5 | 14101 cat conftest.$ac_ext >&5 |
14149 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14146 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14150 fi | 14147 fi |
14151 | 14148 |
14152 if test "$with_modules" != "no"; then | 14149 if test "$with_modules" != "no"; then |
14153 echo "checking for module support" 1>&6 | 14150 echo "checking for module support" 1>&6 |
14154 echo "configure:14155: checking for module support" >&5 | 14151 echo "configure:14152: checking for module support" >&5 |
14155 | 14152 |
14156 if test "$with_msw" = "yes"; then | 14153 if test "$with_msw" = "yes"; then |
14157 have_dl=yes; | 14154 have_dl=yes; |
14158 else | 14155 else |
14159 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14156 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14160 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14157 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14161 echo "configure:14162: checking for dlfcn.h" >&5 | 14158 echo "configure:14159: checking for dlfcn.h" >&5 |
14162 | 14159 |
14163 cat > conftest.$ac_ext <<EOF | 14160 cat > conftest.$ac_ext <<EOF |
14164 #line 14165 "configure" | 14161 #line 14162 "configure" |
14165 #include "confdefs.h" | 14162 #include "confdefs.h" |
14166 #include <dlfcn.h> | 14163 #include <dlfcn.h> |
14167 EOF | 14164 EOF |
14168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14169 { (eval echo configure:14170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14166 { (eval echo configure:14167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14171 if test -z "$ac_err"; then | 14168 if test -z "$ac_err"; then |
14172 rm -rf conftest* | 14169 rm -rf conftest* |
14173 eval "ac_cv_header_$ac_safe=yes" | 14170 eval "ac_cv_header_$ac_safe=yes" |
14174 else | 14171 else |
14181 rm -f conftest* | 14178 rm -f conftest* |
14182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14183 echo "$ac_t""yes" 1>&6 | 14180 echo "$ac_t""yes" 1>&6 |
14184 | 14181 |
14185 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14182 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14186 echo "configure:14187: checking for dlopen in -lc" >&5 | 14183 echo "configure:14184: checking for dlopen in -lc" >&5 |
14187 cat > conftest.$ac_ext <<EOF | 14184 cat > conftest.$ac_ext <<EOF |
14188 #line 14189 "configure" | 14185 #line 14186 "configure" |
14189 #include "confdefs.h" | 14186 #include "confdefs.h" |
14190 #include <dlfcn.h> | 14187 #include <dlfcn.h> |
14191 int main() { | 14188 int main() { |
14192 dlopen ("", 0); | 14189 dlopen ("", 0); |
14193 ; return 0; } | 14190 ; return 0; } |
14194 EOF | 14191 EOF |
14195 if { (eval echo configure:14196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14192 if { (eval echo configure:14193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14196 rm -rf conftest* | 14193 rm -rf conftest* |
14197 have_dl=yes | 14194 have_dl=yes |
14198 else | 14195 else |
14199 echo "configure: failed program was:" >&5 | 14196 echo "configure: failed program was:" >&5 |
14200 cat conftest.$ac_ext >&5 | 14197 cat conftest.$ac_ext >&5 |
14201 rm -rf conftest* | 14198 rm -rf conftest* |
14202 | 14199 |
14203 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14200 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14204 echo "configure:14205: checking for dlopen in -ldl" >&5 | 14201 echo "configure:14202: checking for dlopen in -ldl" >&5 |
14205 ac_save_LIBS="$LIBS" | 14202 ac_save_LIBS="$LIBS" |
14206 LIBS="-ldl $LIBS" | 14203 LIBS="-ldl $LIBS" |
14207 cat > conftest.$ac_ext <<EOF | 14204 cat > conftest.$ac_ext <<EOF |
14208 #line 14209 "configure" | 14205 #line 14206 "configure" |
14209 #include "confdefs.h" | 14206 #include "confdefs.h" |
14210 #include <dlfcn.h> | 14207 #include <dlfcn.h> |
14211 int main() { | 14208 int main() { |
14212 dlopen ("", 0); | 14209 dlopen ("", 0); |
14213 ; return 0; } | 14210 ; return 0; } |
14214 EOF | 14211 EOF |
14215 if { (eval echo configure:14216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14212 if { (eval echo configure:14213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14216 rm -rf conftest* | 14213 rm -rf conftest* |
14217 have_dl=yes | 14214 have_dl=yes |
14218 else | 14215 else |
14219 echo "configure: failed program was:" >&5 | 14216 echo "configure: failed program was:" >&5 |
14220 cat conftest.$ac_ext >&5 | 14217 cat conftest.$ac_ext >&5 |
14239 } | 14236 } |
14240 | 14237 |
14241 else | 14238 else |
14242 | 14239 |
14243 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14240 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14244 echo "configure:14245: checking for shl_load in -ldld" >&5 | 14241 echo "configure:14242: checking for shl_load in -ldld" >&5 |
14245 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14242 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14246 | 14243 |
14247 xe_check_libs=" -ldld " | 14244 xe_check_libs=" -ldld " |
14248 cat > conftest.$ac_ext <<EOF | 14245 cat > conftest.$ac_ext <<EOF |
14249 #line 14250 "configure" | 14246 #line 14247 "configure" |
14250 #include "confdefs.h" | 14247 #include "confdefs.h" |
14251 /* Override any gcc2 internal prototype to avoid an error. */ | 14248 /* Override any gcc2 internal prototype to avoid an error. */ |
14252 /* We use char because int might match the return type of a gcc2 | 14249 /* We use char because int might match the return type of a gcc2 |
14253 builtin and then its argument prototype would still apply. */ | 14250 builtin and then its argument prototype would still apply. */ |
14254 char shl_load(); | 14251 char shl_load(); |
14255 | 14252 |
14256 int main() { | 14253 int main() { |
14257 shl_load() | 14254 shl_load() |
14258 ; return 0; } | 14255 ; return 0; } |
14259 EOF | 14256 EOF |
14260 if { (eval echo configure:14261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14257 if { (eval echo configure:14258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14261 rm -rf conftest* | 14258 rm -rf conftest* |
14262 eval "ac_cv_lib_$ac_lib_var=yes" | 14259 eval "ac_cv_lib_$ac_lib_var=yes" |
14263 else | 14260 else |
14264 echo "configure: failed program was:" >&5 | 14261 echo "configure: failed program was:" >&5 |
14265 cat conftest.$ac_ext >&5 | 14262 cat conftest.$ac_ext >&5 |
14282 | 14279 |
14283 else | 14280 else |
14284 echo "$ac_t""no" 1>&6 | 14281 echo "$ac_t""no" 1>&6 |
14285 | 14282 |
14286 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14283 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14287 echo "configure:14288: checking for dld_init in -ldld" >&5 | 14284 echo "configure:14285: checking for dld_init in -ldld" >&5 |
14288 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14285 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14289 | 14286 |
14290 xe_check_libs=" -ldld " | 14287 xe_check_libs=" -ldld " |
14291 cat > conftest.$ac_ext <<EOF | 14288 cat > conftest.$ac_ext <<EOF |
14292 #line 14293 "configure" | 14289 #line 14290 "configure" |
14293 #include "confdefs.h" | 14290 #include "confdefs.h" |
14294 /* Override any gcc2 internal prototype to avoid an error. */ | 14291 /* Override any gcc2 internal prototype to avoid an error. */ |
14295 /* We use char because int might match the return type of a gcc2 | 14292 /* We use char because int might match the return type of a gcc2 |
14296 builtin and then its argument prototype would still apply. */ | 14293 builtin and then its argument prototype would still apply. */ |
14297 char dld_init(); | 14294 char dld_init(); |
14298 | 14295 |
14299 int main() { | 14296 int main() { |
14300 dld_init() | 14297 dld_init() |
14301 ; return 0; } | 14298 ; return 0; } |
14302 EOF | 14299 EOF |
14303 if { (eval echo configure:14304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14300 if { (eval echo configure:14301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14304 rm -rf conftest* | 14301 rm -rf conftest* |
14305 eval "ac_cv_lib_$ac_lib_var=yes" | 14302 eval "ac_cv_lib_$ac_lib_var=yes" |
14306 else | 14303 else |
14307 echo "configure: failed program was:" >&5 | 14304 echo "configure: failed program was:" >&5 |
14308 cat conftest.$ac_ext >&5 | 14305 cat conftest.$ac_ext >&5 |
14343 ld_dynamic_link_flags= | 14340 ld_dynamic_link_flags= |
14344 xehost=$canonical | 14341 xehost=$canonical |
14345 xealias=$internal_configuration | 14342 xealias=$internal_configuration |
14346 | 14343 |
14347 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14344 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14348 echo "configure:14349: checking how to build dynamic libraries for ${xehost}" >&5 | 14345 echo "configure:14346: checking how to build dynamic libraries for ${xehost}" >&5 |
14349 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14346 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14350 case "$xehost" in | 14347 case "$xehost" in |
14351 *-*-linux-gnu*) ;; | 14348 *-*-linux-gnu*) ;; |
14352 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14349 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14353 esac | 14350 esac |
14371 # Now see if the compiler is really GCC. | 14368 # Now see if the compiler is really GCC. |
14372 if test "$GCC" = "yes"; then | 14369 if test "$GCC" = "yes"; then |
14373 XEGCC=yes | 14370 XEGCC=yes |
14374 else | 14371 else |
14375 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14372 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14376 echo "configure:14377: checking checking whether we are using GNU C" >&5 | 14373 echo "configure:14374: checking checking whether we are using GNU C" >&5 |
14377 cat > conftest.$ac_ext <<EOF | 14374 cat > conftest.$ac_ext <<EOF |
14378 #line 14379 "configure" | 14375 #line 14376 "configure" |
14379 #include "confdefs.h" | 14376 #include "confdefs.h" |
14380 | 14377 |
14381 #ifdef __GNUC__ | 14378 #ifdef __GNUC__ |
14382 yes; | 14379 yes; |
14383 #endif | 14380 #endif |
14395 | 14392 |
14396 echo "$ac_t""${XEGCC}" 1>&6 | 14393 echo "$ac_t""${XEGCC}" 1>&6 |
14397 fi | 14394 fi |
14398 | 14395 |
14399 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14396 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14400 echo "configure:14401: checking how to produce PIC code" >&5 | 14397 echo "configure:14398: checking how to produce PIC code" >&5 |
14401 wl= | 14398 wl= |
14402 | 14399 |
14403 can_build_shared=yes | 14400 can_build_shared=yes |
14404 if test "$XEGCC" = yes; then | 14401 if test "$XEGCC" = yes; then |
14405 wl='-Wl,' | 14402 wl='-Wl,' |
14496 if test -n "$dll_cflags"; then | 14493 if test -n "$dll_cflags"; then |
14497 echo "$ac_t""${dll_cflags}" 1>&6 | 14494 echo "$ac_t""${dll_cflags}" 1>&6 |
14498 | 14495 |
14499 # Check to make sure the dll_cflags actually works. | 14496 # Check to make sure the dll_cflags actually works. |
14500 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14497 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14501 echo "configure:14502: checking if PIC flag ${dll_cflags} really works" >&5 | 14498 echo "configure:14499: checking if PIC flag ${dll_cflags} really works" >&5 |
14502 save_CFLAGS="$CFLAGS" | 14499 save_CFLAGS="$CFLAGS" |
14503 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14500 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14504 cat > conftest.$ac_ext <<EOF | 14501 cat > conftest.$ac_ext <<EOF |
14505 #line 14506 "configure" | 14502 #line 14503 "configure" |
14506 #include "confdefs.h" | 14503 #include "confdefs.h" |
14507 | 14504 |
14508 int main() { | 14505 int main() { |
14509 int x=0; | 14506 int x=0; |
14510 ; return 0; } | 14507 ; return 0; } |
14511 EOF | 14508 EOF |
14512 if { (eval echo configure:14513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14509 if { (eval echo configure:14510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14513 rm -rf conftest* | 14510 rm -rf conftest* |
14514 | 14511 |
14515 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14512 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14516 # reports no error. So, we need to grep stderr for (Bundled). | 14513 # reports no error. So, we need to grep stderr for (Bundled). |
14517 if grep '(Bundled)' config.log >/dev/null; then | 14514 if grep '(Bundled)' config.log >/dev/null; then |
14538 if test "$can_build_shared" = "yes"; then | 14535 if test "$can_build_shared" = "yes"; then |
14539 cc_produces_so=no | 14536 cc_produces_so=no |
14540 xldf= | 14537 xldf= |
14541 xcldf= | 14538 xcldf= |
14542 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14539 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14543 echo "configure:14544: checking if C compiler can produce shared libraries" >&5 | 14540 echo "configure:14541: checking if C compiler can produce shared libraries" >&5 |
14544 if test "$XEGCC" = yes; then | 14541 if test "$XEGCC" = yes; then |
14545 xcldf="-shared" | 14542 xcldf="-shared" |
14546 xldf="-shared" | 14543 xldf="-shared" |
14547 else # Not using GCC | 14544 else # Not using GCC |
14548 case "$xehost_os" in | 14545 case "$xehost_os" in |
14589 LDFLAGS="$xcldf $LDFLAGS" | 14586 LDFLAGS="$xcldf $LDFLAGS" |
14590 LIBS= | 14587 LIBS= |
14591 xe_libs= | 14588 xe_libs= |
14592 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14589 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14593 cat > conftest.$ac_ext <<EOF | 14590 cat > conftest.$ac_ext <<EOF |
14594 #line 14595 "configure" | 14591 #line 14592 "configure" |
14595 #include "confdefs.h" | 14592 #include "confdefs.h" |
14596 | 14593 |
14597 int main() { | 14594 int main() { |
14598 int x=0; | 14595 int x=0; |
14599 ; return 0; } | 14596 ; return 0; } |
14600 EOF | 14597 EOF |
14601 if { (eval echo configure:14602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14598 if { (eval echo configure:14599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14602 rm -rf conftest* | 14599 rm -rf conftest* |
14603 cc_produces_so=yes | 14600 cc_produces_so=yes |
14604 else | 14601 else |
14605 echo "configure: failed program was:" >&5 | 14602 echo "configure: failed program was:" >&5 |
14606 cat conftest.$ac_ext >&5 | 14603 cat conftest.$ac_ext >&5 |
14621 if test -z "$LTLD"; then | 14618 if test -z "$LTLD"; then |
14622 ac_prog=ld | 14619 ac_prog=ld |
14623 if test "$XEGCC" = yes; then | 14620 if test "$XEGCC" = yes; then |
14624 # Check if gcc -print-prog-name=ld gives a path. | 14621 # Check if gcc -print-prog-name=ld gives a path. |
14625 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14622 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14626 echo "configure:14627: checking for ld used by GCC" >&5 | 14623 echo "configure:14624: checking for ld used by GCC" >&5 |
14627 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14624 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14628 case "$ac_prog" in | 14625 case "$ac_prog" in |
14629 # Accept absolute paths. | 14626 # Accept absolute paths. |
14630 /*) | 14627 /*) |
14631 if test -z "$LTLD"; then | 14628 if test -z "$LTLD"; then |
14646 with_gnu_ld=unknown | 14643 with_gnu_ld=unknown |
14647 ;; | 14644 ;; |
14648 esac | 14645 esac |
14649 else | 14646 else |
14650 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14647 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14651 echo "configure:14652: checking for GNU ld" >&5 | 14648 echo "configure:14649: checking for GNU ld" >&5 |
14652 fi | 14649 fi |
14653 | 14650 |
14654 if test -z "$LTLD"; then | 14651 if test -z "$LTLD"; then |
14655 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14656 for ac_dir in $PATH; do | 14653 for ac_dir in $PATH; do |
14684 | 14681 |
14685 ld_dynamic_link_flags= | 14682 ld_dynamic_link_flags= |
14686 | 14683 |
14687 # Check to see if it really is or isn't GNU ld. | 14684 # Check to see if it really is or isn't GNU ld. |
14688 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14685 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14689 echo "configure:14690: checking if the linker is GNU ld" >&5 | 14686 echo "configure:14687: checking if the linker is GNU ld" >&5 |
14690 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14687 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14691 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14688 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14692 xe_gnu_ld=yes | 14689 xe_gnu_ld=yes |
14693 else | 14690 else |
14694 xe_gnu_ld=no | 14691 xe_gnu_ld=no |
14712 ld_shlibs=yes | 14709 ld_shlibs=yes |
14713 else | 14710 else |
14714 # OK - only NOW do we futz about with ld. | 14711 # OK - only NOW do we futz about with ld. |
14715 # See if the linker supports building shared libraries. | 14712 # See if the linker supports building shared libraries. |
14716 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14713 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14717 echo "configure:14718: checking whether the linker supports shared libraries" >&5 | 14714 echo "configure:14715: checking whether the linker supports shared libraries" >&5 |
14718 dll_ld=$CC | 14715 dll_ld=$CC |
14719 dll_ldflags=$LDFLAGS | 14716 dll_ldflags=$LDFLAGS |
14720 ld_shlibs=yes | 14717 ld_shlibs=yes |
14721 can_build_shared=yes | 14718 can_build_shared=yes |
14722 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14719 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14923 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14920 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14924 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14921 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14925 for ac_func in dlerror _dlerror | 14922 for ac_func in dlerror _dlerror |
14926 do | 14923 do |
14927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14928 echo "configure:14929: checking for $ac_func" >&5 | 14925 echo "configure:14926: checking for $ac_func" >&5 |
14929 | 14926 |
14930 cat > conftest.$ac_ext <<EOF | 14927 cat > conftest.$ac_ext <<EOF |
14931 #line 14932 "configure" | 14928 #line 14929 "configure" |
14932 #include "confdefs.h" | 14929 #include "confdefs.h" |
14933 /* System header to define __stub macros and hopefully few prototypes, | 14930 /* System header to define __stub macros and hopefully few prototypes, |
14934 which can conflict with char $ac_func(); below. */ | 14931 which can conflict with char $ac_func(); below. */ |
14935 #include <assert.h> | 14932 #include <assert.h> |
14936 /* Override any gcc2 internal prototype to avoid an error. */ | 14933 /* Override any gcc2 internal prototype to avoid an error. */ |
14949 $ac_func(); | 14946 $ac_func(); |
14950 #endif | 14947 #endif |
14951 | 14948 |
14952 ; return 0; } | 14949 ; return 0; } |
14953 EOF | 14950 EOF |
14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14951 if { (eval echo configure:14952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14955 rm -rf conftest* | 14952 rm -rf conftest* |
14956 eval "ac_cv_func_$ac_func=yes" | 14953 eval "ac_cv_func_$ac_func=yes" |
14957 else | 14954 else |
14958 echo "configure: failed program was:" >&5 | 14955 echo "configure: failed program was:" >&5 |
14959 cat conftest.$ac_ext >&5 | 14956 cat conftest.$ac_ext >&5 |
14988 with_modules=no | 14985 with_modules=no |
14989 fi | 14986 fi |
14990 fi | 14987 fi |
14991 | 14988 |
14992 cat > conftest.$ac_ext <<EOF | 14989 cat > conftest.$ac_ext <<EOF |
14993 #line 14994 "configure" | 14990 #line 14991 "configure" |
14994 #include "confdefs.h" | 14991 #include "confdefs.h" |
14995 int main(int c,char *v[]){return 0;} | 14992 int main(int c,char *v[]){return 0;} |
14996 EOF | 14993 EOF |
14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14998 then | 14995 then |
14999 : | 14996 : |
15000 else | 14997 else |
15001 conftest_rc="$?" | 14998 conftest_rc="$?" |
15002 echo "configure: failed program was:" >&5 | 14999 echo "configure: failed program was:" >&5 |