Mercurial > hg > xemacs-beta
comparison configure @ 894:2367ca81af28
[xemacs-hg @ 2002-07-02 15:00:50 by stephent]
XEmacs 21.5.7 "broccoflower" is released.
| author | stephent |
|---|---|
| date | Tue, 02 Jul 2002 15:01:30 +0000 |
| parents | 804517e16990 |
| children | 428608d46017 |
comparison
equal
deleted
inserted
replaced
| 893:c9f067fd71a3 | 894:2367ca81af28 |
|---|---|
| 4511 | 4511 |
| 4512 cat > conftest.$ac_ext <<EOF | 4512 cat > conftest.$ac_ext <<EOF |
| 4513 #line 4514 "configure" | 4513 #line 4514 "configure" |
| 4514 #include "confdefs.h" | 4514 #include "confdefs.h" |
| 4515 #include <stdio.h> | 4515 #include <stdio.h> |
| 4516 #include <sys/types.h> | |
| 4516 main() | 4517 main() |
| 4517 { | 4518 { |
| 4518 FILE *f=fopen("conftestval", "w"); | 4519 FILE *f=fopen("conftestval", "w"); |
| 4519 if (!f) exit(1); | 4520 if (!f) exit(1); |
| 4520 fprintf(f, "%d\n", sizeof(short)); | 4521 fprintf(f, "%d\n", sizeof(short)); |
| 4521 exit(0); | 4522 exit(0); |
| 4522 } | 4523 } |
| 4523 EOF | 4524 EOF |
| 4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4525 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4525 then | 4526 then |
| 4526 ac_cv_sizeof_short=`cat conftestval` | 4527 ac_cv_sizeof_short=`cat conftestval` |
| 4527 else | 4528 else |
| 4528 conftest_rc="$?" | 4529 conftest_rc="$?" |
| 4529 echo "configure: failed program was:" >&5 | 4530 echo "configure: failed program was:" >&5 |
| 4547 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4548 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4548 echo "*** PANIC *** Please examine config.log for compilation errors." | 4549 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4549 exit 1 | 4550 exit 1 |
| 4550 fi | 4551 fi |
| 4551 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4552 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4552 echo "configure:4553: checking size of int" >&5 | 4553 echo "configure:4554: checking size of int" >&5 |
| 4553 | 4554 |
| 4554 cat > conftest.$ac_ext <<EOF | 4555 cat > conftest.$ac_ext <<EOF |
| 4555 #line 4556 "configure" | 4556 #line 4557 "configure" |
| 4556 #include "confdefs.h" | 4557 #include "confdefs.h" |
| 4557 #include <stdio.h> | 4558 #include <stdio.h> |
| 4559 #include <sys/types.h> | |
| 4558 main() | 4560 main() |
| 4559 { | 4561 { |
| 4560 FILE *f=fopen("conftestval", "w"); | 4562 FILE *f=fopen("conftestval", "w"); |
| 4561 if (!f) exit(1); | 4563 if (!f) exit(1); |
| 4562 fprintf(f, "%d\n", sizeof(int)); | 4564 fprintf(f, "%d\n", sizeof(int)); |
| 4563 exit(0); | 4565 exit(0); |
| 4564 } | 4566 } |
| 4565 EOF | 4567 EOF |
| 4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4568 if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4567 then | 4569 then |
| 4568 ac_cv_sizeof_int=`cat conftestval` | 4570 ac_cv_sizeof_int=`cat conftestval` |
| 4569 else | 4571 else |
| 4570 conftest_rc="$?" | 4572 conftest_rc="$?" |
| 4571 echo "configure: failed program was:" >&5 | 4573 echo "configure: failed program was:" >&5 |
| 4583 EOF | 4585 EOF |
| 4584 } | 4586 } |
| 4585 | 4587 |
| 4586 | 4588 |
| 4587 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4589 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4588 echo "configure:4589: checking size of long" >&5 | 4590 echo "configure:4591: checking size of long" >&5 |
| 4589 | 4591 |
| 4590 cat > conftest.$ac_ext <<EOF | 4592 cat > conftest.$ac_ext <<EOF |
| 4591 #line 4592 "configure" | 4593 #line 4594 "configure" |
| 4592 #include "confdefs.h" | 4594 #include "confdefs.h" |
| 4593 #include <stdio.h> | 4595 #include <stdio.h> |
| 4596 #include <sys/types.h> | |
| 4594 main() | 4597 main() |
| 4595 { | 4598 { |
| 4596 FILE *f=fopen("conftestval", "w"); | 4599 FILE *f=fopen("conftestval", "w"); |
| 4597 if (!f) exit(1); | 4600 if (!f) exit(1); |
| 4598 fprintf(f, "%d\n", sizeof(long)); | 4601 fprintf(f, "%d\n", sizeof(long)); |
| 4599 exit(0); | 4602 exit(0); |
| 4600 } | 4603 } |
| 4601 EOF | 4604 EOF |
| 4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4605 if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4603 then | 4606 then |
| 4604 ac_cv_sizeof_long=`cat conftestval` | 4607 ac_cv_sizeof_long=`cat conftestval` |
| 4605 else | 4608 else |
| 4606 conftest_rc="$?" | 4609 conftest_rc="$?" |
| 4607 echo "configure: failed program was:" >&5 | 4610 echo "configure: failed program was:" >&5 |
| 4619 EOF | 4622 EOF |
| 4620 } | 4623 } |
| 4621 | 4624 |
| 4622 | 4625 |
| 4623 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4626 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4624 echo "configure:4625: checking size of long long" >&5 | 4627 echo "configure:4628: checking size of long long" >&5 |
| 4625 | 4628 |
| 4626 cat > conftest.$ac_ext <<EOF | 4629 cat > conftest.$ac_ext <<EOF |
| 4627 #line 4628 "configure" | 4630 #line 4631 "configure" |
| 4628 #include "confdefs.h" | 4631 #include "confdefs.h" |
| 4629 #include <stdio.h> | 4632 #include <stdio.h> |
| 4633 #include <sys/types.h> | |
| 4630 main() | 4634 main() |
| 4631 { | 4635 { |
| 4632 FILE *f=fopen("conftestval", "w"); | 4636 FILE *f=fopen("conftestval", "w"); |
| 4633 if (!f) exit(1); | 4637 if (!f) exit(1); |
| 4634 fprintf(f, "%d\n", sizeof(long long)); | 4638 fprintf(f, "%d\n", sizeof(long long)); |
| 4635 exit(0); | 4639 exit(0); |
| 4636 } | 4640 } |
| 4637 EOF | 4641 EOF |
| 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4642 if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4639 then | 4643 then |
| 4640 ac_cv_sizeof_long_long=`cat conftestval` | 4644 ac_cv_sizeof_long_long=`cat conftestval` |
| 4641 else | 4645 else |
| 4642 conftest_rc="$?" | 4646 conftest_rc="$?" |
| 4643 echo "configure: failed program was:" >&5 | 4647 echo "configure: failed program was:" >&5 |
| 4655 EOF | 4659 EOF |
| 4656 } | 4660 } |
| 4657 | 4661 |
| 4658 | 4662 |
| 4659 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4663 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4660 echo "configure:4661: checking size of void *" >&5 | 4664 echo "configure:4665: checking size of void *" >&5 |
| 4661 | 4665 |
| 4662 cat > conftest.$ac_ext <<EOF | 4666 cat > conftest.$ac_ext <<EOF |
| 4663 #line 4664 "configure" | 4667 #line 4668 "configure" |
| 4664 #include "confdefs.h" | 4668 #include "confdefs.h" |
| 4665 #include <stdio.h> | 4669 #include <stdio.h> |
| 4670 #include <sys/types.h> | |
| 4666 main() | 4671 main() |
| 4667 { | 4672 { |
| 4668 FILE *f=fopen("conftestval", "w"); | 4673 FILE *f=fopen("conftestval", "w"); |
| 4669 if (!f) exit(1); | 4674 if (!f) exit(1); |
| 4670 fprintf(f, "%d\n", sizeof(void *)); | 4675 fprintf(f, "%d\n", sizeof(void *)); |
| 4671 exit(0); | 4676 exit(0); |
| 4672 } | 4677 } |
| 4673 EOF | 4678 EOF |
| 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4675 then | 4680 then |
| 4676 ac_cv_sizeof_void_p=`cat conftestval` | 4681 ac_cv_sizeof_void_p=`cat conftestval` |
| 4677 else | 4682 else |
| 4678 conftest_rc="$?" | 4683 conftest_rc="$?" |
| 4679 echo "configure: failed program was:" >&5 | 4684 echo "configure: failed program was:" >&5 |
| 4692 } | 4697 } |
| 4693 | 4698 |
| 4694 | 4699 |
| 4695 | 4700 |
| 4696 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4701 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4697 echo "configure:4698: checking for long file names" >&5 | 4702 echo "configure:4703: checking for long file names" >&5 |
| 4698 | 4703 |
| 4699 ac_cv_sys_long_file_names=yes | 4704 ac_cv_sys_long_file_names=yes |
| 4700 # Test for long file names in all the places we know might matter: | 4705 # Test for long file names in all the places we know might matter: |
| 4701 # . the current directory, where building will happen | 4706 # . the current directory, where building will happen |
| 4702 # $prefix/lib where we will be installing things | 4707 # $prefix/lib where we will be installing things |
| 4738 | 4743 |
| 4739 fi | 4744 fi |
| 4740 | 4745 |
| 4741 | 4746 |
| 4742 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4747 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
| 4743 echo "configure:4744: checking for sin" >&5 | 4748 echo "configure:4749: checking for sin" >&5 |
| 4744 | 4749 |
| 4745 cat > conftest.$ac_ext <<EOF | 4750 cat > conftest.$ac_ext <<EOF |
| 4746 #line 4747 "configure" | 4751 #line 4752 "configure" |
| 4747 #include "confdefs.h" | 4752 #include "confdefs.h" |
| 4748 /* System header to define __stub macros and hopefully few prototypes, | 4753 /* System header to define __stub macros and hopefully few prototypes, |
| 4749 which can conflict with char sin(); below. */ | 4754 which can conflict with char sin(); below. */ |
| 4750 #include <assert.h> | 4755 #include <assert.h> |
| 4751 /* Override any gcc2 internal prototype to avoid an error. */ | 4756 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4764 sin(); | 4769 sin(); |
| 4765 #endif | 4770 #endif |
| 4766 | 4771 |
| 4767 ; return 0; } | 4772 ; return 0; } |
| 4768 EOF | 4773 EOF |
| 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4774 if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4770 rm -rf conftest* | 4775 rm -rf conftest* |
| 4771 eval "ac_cv_func_sin=yes" | 4776 eval "ac_cv_func_sin=yes" |
| 4772 else | 4777 else |
| 4773 echo "configure: failed program was:" >&5 | 4778 echo "configure: failed program was:" >&5 |
| 4774 cat conftest.$ac_ext >&5 | 4779 cat conftest.$ac_ext >&5 |
| 4782 : | 4787 : |
| 4783 else | 4788 else |
| 4784 echo "$ac_t""no" 1>&6 | 4789 echo "$ac_t""no" 1>&6 |
| 4785 | 4790 |
| 4786 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4791 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4787 echo "configure:4788: checking for sin in -lm" >&5 | 4792 echo "configure:4793: checking for sin in -lm" >&5 |
| 4788 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4793 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4789 | 4794 |
| 4790 xe_check_libs=" -lm " | 4795 xe_check_libs=" -lm " |
| 4791 cat > conftest.$ac_ext <<EOF | 4796 cat > conftest.$ac_ext <<EOF |
| 4792 #line 4793 "configure" | 4797 #line 4798 "configure" |
| 4793 #include "confdefs.h" | 4798 #include "confdefs.h" |
| 4794 /* Override any gcc2 internal prototype to avoid an error. */ | 4799 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4795 /* We use char because int might match the return type of a gcc2 | 4800 /* We use char because int might match the return type of a gcc2 |
| 4796 builtin and then its argument prototype would still apply. */ | 4801 builtin and then its argument prototype would still apply. */ |
| 4797 char sin(); | 4802 char sin(); |
| 4798 | 4803 |
| 4799 int main() { | 4804 int main() { |
| 4800 sin() | 4805 sin() |
| 4801 ; return 0; } | 4806 ; return 0; } |
| 4802 EOF | 4807 EOF |
| 4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4808 if { (eval echo configure:4809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4804 rm -rf conftest* | 4809 rm -rf conftest* |
| 4805 eval "ac_cv_lib_$ac_lib_var=yes" | 4810 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4806 else | 4811 else |
| 4807 echo "configure: failed program was:" >&5 | 4812 echo "configure: failed program was:" >&5 |
| 4808 cat conftest.$ac_ext >&5 | 4813 cat conftest.$ac_ext >&5 |
| 4842 EOF | 4847 EOF |
| 4843 } | 4848 } |
| 4844 | 4849 |
| 4845 | 4850 |
| 4846 cat > conftest.$ac_ext <<EOF | 4851 cat > conftest.$ac_ext <<EOF |
| 4847 #line 4848 "configure" | 4852 #line 4853 "configure" |
| 4848 #include "confdefs.h" | 4853 #include "confdefs.h" |
| 4849 #include <math.h> | 4854 #include <math.h> |
| 4850 int main() { | 4855 int main() { |
| 4851 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4856 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4852 ; return 0; } | 4857 ; return 0; } |
| 4853 EOF | 4858 EOF |
| 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4855 rm -rf conftest* | 4860 rm -rf conftest* |
| 4856 { test "$extra_verbose" = "yes" && cat << \EOF | 4861 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4857 Defining HAVE_INVERSE_HYPERBOLIC | 4862 Defining HAVE_INVERSE_HYPERBOLIC |
| 4858 EOF | 4863 EOF |
| 4859 cat >> confdefs.h <<\EOF | 4864 cat >> confdefs.h <<\EOF |
| 4868 rm -f conftest* | 4873 rm -f conftest* |
| 4869 | 4874 |
| 4870 for ac_func in mkstemp | 4875 for ac_func in mkstemp |
| 4871 do | 4876 do |
| 4872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4873 echo "configure:4874: checking for $ac_func" >&5 | 4878 echo "configure:4879: checking for $ac_func" >&5 |
| 4874 | 4879 |
| 4875 cat > conftest.$ac_ext <<EOF | 4880 cat > conftest.$ac_ext <<EOF |
| 4876 #line 4877 "configure" | 4881 #line 4882 "configure" |
| 4877 #include "confdefs.h" | 4882 #include "confdefs.h" |
| 4878 /* System header to define __stub macros and hopefully few prototypes, | 4883 /* System header to define __stub macros and hopefully few prototypes, |
| 4879 which can conflict with char $ac_func(); below. */ | 4884 which can conflict with char $ac_func(); below. */ |
| 4880 #include <assert.h> | 4885 #include <assert.h> |
| 4881 /* Override any gcc2 internal prototype to avoid an error. */ | 4886 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4894 $ac_func(); | 4899 $ac_func(); |
| 4895 #endif | 4900 #endif |
| 4896 | 4901 |
| 4897 ; return 0; } | 4902 ; return 0; } |
| 4898 EOF | 4903 EOF |
| 4899 if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4900 rm -rf conftest* | 4905 rm -rf conftest* |
| 4901 eval "ac_cv_func_$ac_func=yes" | 4906 eval "ac_cv_func_$ac_func=yes" |
| 4902 else | 4907 else |
| 4903 echo "configure: failed program was:" >&5 | 4908 echo "configure: failed program was:" >&5 |
| 4904 cat conftest.$ac_ext >&5 | 4909 cat conftest.$ac_ext >&5 |
| 4923 fi | 4928 fi |
| 4924 done | 4929 done |
| 4925 | 4930 |
| 4926 | 4931 |
| 4927 echo "checking type of mail spool file locking" 1>&6 | 4932 echo "checking type of mail spool file locking" 1>&6 |
| 4928 echo "configure:4929: checking type of mail spool file locking" >&5 | 4933 echo "configure:4934: checking type of mail spool file locking" >&5 |
| 4929 for ac_func in lockf flock | 4934 for ac_func in lockf flock |
| 4930 do | 4935 do |
| 4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4932 echo "configure:4933: checking for $ac_func" >&5 | 4937 echo "configure:4938: checking for $ac_func" >&5 |
| 4933 | 4938 |
| 4934 cat > conftest.$ac_ext <<EOF | 4939 cat > conftest.$ac_ext <<EOF |
| 4935 #line 4936 "configure" | 4940 #line 4941 "configure" |
| 4936 #include "confdefs.h" | 4941 #include "confdefs.h" |
| 4937 /* System header to define __stub macros and hopefully few prototypes, | 4942 /* System header to define __stub macros and hopefully few prototypes, |
| 4938 which can conflict with char $ac_func(); below. */ | 4943 which can conflict with char $ac_func(); below. */ |
| 4939 #include <assert.h> | 4944 #include <assert.h> |
| 4940 /* Override any gcc2 internal prototype to avoid an error. */ | 4945 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4953 $ac_func(); | 4958 $ac_func(); |
| 4954 #endif | 4959 #endif |
| 4955 | 4960 |
| 4956 ; return 0; } | 4961 ; return 0; } |
| 4957 EOF | 4962 EOF |
| 4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4963 if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4959 rm -rf conftest* | 4964 rm -rf conftest* |
| 4960 eval "ac_cv_func_$ac_func=yes" | 4965 eval "ac_cv_func_$ac_func=yes" |
| 4961 else | 4966 else |
| 4962 echo "configure: failed program was:" >&5 | 4967 echo "configure: failed program was:" >&5 |
| 4963 cat conftest.$ac_ext >&5 | 4968 cat conftest.$ac_ext >&5 |
| 5035 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5040 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
| 5036 | 5041 |
| 5037 case "$opsys" in decosf*) | 5042 case "$opsys" in decosf*) |
| 5038 | 5043 |
| 5039 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5044 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 5040 echo "configure:5041: checking for cma_open in -lpthreads" >&5 | 5045 echo "configure:5046: checking for cma_open in -lpthreads" >&5 |
| 5041 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5046 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 5042 | 5047 |
| 5043 xe_check_libs=" -lpthreads " | 5048 xe_check_libs=" -lpthreads " |
| 5044 cat > conftest.$ac_ext <<EOF | 5049 cat > conftest.$ac_ext <<EOF |
| 5045 #line 5046 "configure" | 5050 #line 5051 "configure" |
| 5046 #include "confdefs.h" | 5051 #include "confdefs.h" |
| 5047 /* Override any gcc2 internal prototype to avoid an error. */ | 5052 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5048 /* We use char because int might match the return type of a gcc2 | 5053 /* We use char because int might match the return type of a gcc2 |
| 5049 builtin and then its argument prototype would still apply. */ | 5054 builtin and then its argument prototype would still apply. */ |
| 5050 char cma_open(); | 5055 char cma_open(); |
| 5051 | 5056 |
| 5052 int main() { | 5057 int main() { |
| 5053 cma_open() | 5058 cma_open() |
| 5054 ; return 0; } | 5059 ; return 0; } |
| 5055 EOF | 5060 EOF |
| 5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5061 if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5057 rm -rf conftest* | 5062 rm -rf conftest* |
| 5058 eval "ac_cv_lib_$ac_lib_var=yes" | 5063 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5059 else | 5064 else |
| 5060 echo "configure: failed program was:" >&5 | 5065 echo "configure: failed program was:" >&5 |
| 5061 cat conftest.$ac_ext >&5 | 5066 cat conftest.$ac_ext >&5 |
| 5088 c_switch_site="$c_switch_site -threads" ;; | 5093 c_switch_site="$c_switch_site -threads" ;; |
| 5089 esac | 5094 esac |
| 5090 | 5095 |
| 5091 | 5096 |
| 5092 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5097 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 5093 echo "configure:5094: checking whether the -xildoff compiler flag is required" >&5 | 5098 echo "configure:5099: checking whether the -xildoff compiler flag is required" >&5 |
| 5094 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5099 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 5095 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5100 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 5096 then echo "$ac_t""no" 1>&6; | 5101 then echo "$ac_t""no" 1>&6; |
| 5097 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 | 5102 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 |
| 5098 fi | 5103 fi |
| 5100 fi | 5105 fi |
| 5101 | 5106 |
| 5102 if test "$opsys" = "sol2"; then | 5107 if test "$opsys" = "sol2"; then |
| 5103 if test "$os_release" -ge 56; then | 5108 if test "$os_release" -ge 56; then |
| 5104 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5109 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 5105 echo "configure:5106: checking for \"-z ignore\" linker flag" >&5 | 5110 echo "configure:5111: checking for \"-z ignore\" linker flag" >&5 |
| 5106 case "`ld -h 2>&1`" in | 5111 case "`ld -h 2>&1`" in |
| 5107 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5112 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 5108 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5113 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 5109 *) echo "$ac_t""no" 1>&6 ;; | 5114 *) echo "$ac_t""no" 1>&6 ;; |
| 5110 esac | 5115 esac |
| 5111 fi | 5116 fi |
| 5112 fi | 5117 fi |
| 5113 | 5118 |
| 5114 | 5119 |
| 5115 echo "checking "for specified window system"" 1>&6 | 5120 echo "checking "for specified window system"" 1>&6 |
| 5116 echo "configure:5117: checking "for specified window system"" >&5 | 5121 echo "configure:5122: checking "for specified window system"" >&5 |
| 5117 | 5122 |
| 5118 | 5123 |
| 5119 GNOME_CONFIG=no | 5124 GNOME_CONFIG=no |
| 5120 GTK_CONFIG=no | 5125 GTK_CONFIG=no |
| 5121 | 5126 |
| 5122 if test "$with_gnome" != "no"; then | 5127 if test "$with_gnome" != "no"; then |
| 5123 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5128 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
| 5124 echo "configure:5125: checking for GNOME configuration script" >&5 | 5129 echo "configure:5130: checking for GNOME configuration script" >&5 |
| 5125 for possible in gnome-config | 5130 for possible in gnome-config |
| 5126 do | 5131 do |
| 5127 possible_version=`${possible} --version 2> /dev/null` | 5132 possible_version=`${possible} --version 2> /dev/null` |
| 5128 if test "x${possible_version}" != "x"; then | 5133 if test "x${possible_version}" != "x"; then |
| 5129 GNOME_CONFIG="${possible}" | 5134 GNOME_CONFIG="${possible}" |
| 5150 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5155 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5151 fi | 5156 fi |
| 5152 | 5157 |
| 5153 if test "$with_gtk" != "no";then | 5158 if test "$with_gtk" != "no";then |
| 5154 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5159 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
| 5155 echo "configure:5156: checking for GTK configuration script" >&5 | 5160 echo "configure:5161: checking for GTK configuration script" >&5 |
| 5156 for possible in gtk12-config gtk14-config gtk-config | 5161 for possible in gtk12-config gtk14-config gtk-config |
| 5157 do | 5162 do |
| 5158 possible_version=`${possible} --version 2> /dev/null` | 5163 possible_version=`${possible} --version 2> /dev/null` |
| 5159 if test "x${possible_version}" != "x"; then | 5164 if test "x${possible_version}" != "x"; then |
| 5160 GTK_CONFIG="${possible}" | 5165 GTK_CONFIG="${possible}" |
| 5172 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5177 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
| 5173 fi | 5178 fi |
| 5174 | 5179 |
| 5175 if test "${GTK_CONFIG}" != "no"; then | 5180 if test "${GTK_CONFIG}" != "no"; then |
| 5176 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5181 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
| 5177 echo "configure:5178: checking gtk version" >&5 | 5182 echo "configure:5183: checking gtk version" >&5 |
| 5178 GTK_VERSION=`${GTK_CONFIG} --version` | 5183 GTK_VERSION=`${GTK_CONFIG} --version` |
| 5179 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5184 echo "$ac_t""${GTK_VERSION}" 1>&6 |
| 5180 | 5185 |
| 5181 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5186 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
| 5182 echo "configure:5183: checking gtk libs" >&5 | 5187 echo "configure:5188: checking gtk libs" >&5 |
| 5183 GTK_LIBS=`${GTK_CONFIG} --libs` | 5188 GTK_LIBS=`${GTK_CONFIG} --libs` |
| 5184 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5189 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
| 5185 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5190 echo "$ac_t""${GTK_LIBS}" 1>&6 |
| 5186 | 5191 |
| 5187 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5192 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
| 5188 echo "configure:5189: checking gtk cflags" >&5 | 5193 echo "configure:5194: checking gtk cflags" >&5 |
| 5189 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5194 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
| 5190 if test "$GCC" = "yes"; then | 5195 if test "$GCC" = "yes"; then |
| 5191 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5196 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
| 5192 fi | 5197 fi |
| 5193 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5198 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5194 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5199 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
| 5195 | 5200 |
| 5196 | 5201 |
| 5197 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5202 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
| 5198 echo "configure:5199: checking for main in -lgdk_imlib" >&5 | 5203 echo "configure:5204: checking for main in -lgdk_imlib" >&5 |
| 5199 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5204 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
| 5200 | 5205 |
| 5201 xe_check_libs=" -lgdk_imlib " | 5206 xe_check_libs=" -lgdk_imlib " |
| 5202 cat > conftest.$ac_ext <<EOF | 5207 cat > conftest.$ac_ext <<EOF |
| 5203 #line 5204 "configure" | 5208 #line 5209 "configure" |
| 5204 #include "confdefs.h" | 5209 #include "confdefs.h" |
| 5205 | 5210 |
| 5206 int main() { | 5211 int main() { |
| 5207 main() | 5212 main() |
| 5208 ; return 0; } | 5213 ; return 0; } |
| 5209 EOF | 5214 EOF |
| 5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5215 if { (eval echo configure:5216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5211 rm -rf conftest* | 5216 rm -rf conftest* |
| 5212 eval "ac_cv_lib_$ac_lib_var=yes" | 5217 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5213 else | 5218 else |
| 5214 echo "configure: failed program was:" >&5 | 5219 echo "configure: failed program was:" >&5 |
| 5215 cat conftest.$ac_ext >&5 | 5220 cat conftest.$ac_ext >&5 |
| 5227 fi | 5232 fi |
| 5228 | 5233 |
| 5229 | 5234 |
| 5230 | 5235 |
| 5231 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5236 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
| 5232 echo "configure:5233: checking for Imlib_init in -lImlib" >&5 | 5237 echo "configure:5238: checking for Imlib_init in -lImlib" >&5 |
| 5233 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5238 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
| 5234 | 5239 |
| 5235 xe_check_libs=" -lImlib " | 5240 xe_check_libs=" -lImlib " |
| 5236 cat > conftest.$ac_ext <<EOF | 5241 cat > conftest.$ac_ext <<EOF |
| 5237 #line 5238 "configure" | 5242 #line 5243 "configure" |
| 5238 #include "confdefs.h" | 5243 #include "confdefs.h" |
| 5239 /* Override any gcc2 internal prototype to avoid an error. */ | 5244 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5240 /* We use char because int might match the return type of a gcc2 | 5245 /* We use char because int might match the return type of a gcc2 |
| 5241 builtin and then its argument prototype would still apply. */ | 5246 builtin and then its argument prototype would still apply. */ |
| 5242 char Imlib_init(); | 5247 char Imlib_init(); |
| 5243 | 5248 |
| 5244 int main() { | 5249 int main() { |
| 5245 Imlib_init() | 5250 Imlib_init() |
| 5246 ; return 0; } | 5251 ; return 0; } |
| 5247 EOF | 5252 EOF |
| 5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5249 rm -rf conftest* | 5254 rm -rf conftest* |
| 5250 eval "ac_cv_lib_$ac_lib_var=yes" | 5255 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5251 else | 5256 else |
| 5252 echo "configure: failed program was:" >&5 | 5257 echo "configure: failed program was:" >&5 |
| 5253 cat conftest.$ac_ext >&5 | 5258 cat conftest.$ac_ext >&5 |
| 5266 | 5271 |
| 5267 | 5272 |
| 5268 for ac_func in gdk_imlib_init | 5273 for ac_func in gdk_imlib_init |
| 5269 do | 5274 do |
| 5270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5271 echo "configure:5272: checking for $ac_func" >&5 | 5276 echo "configure:5277: checking for $ac_func" >&5 |
| 5272 | 5277 |
| 5273 cat > conftest.$ac_ext <<EOF | 5278 cat > conftest.$ac_ext <<EOF |
| 5274 #line 5275 "configure" | 5279 #line 5280 "configure" |
| 5275 #include "confdefs.h" | 5280 #include "confdefs.h" |
| 5276 /* System header to define __stub macros and hopefully few prototypes, | 5281 /* System header to define __stub macros and hopefully few prototypes, |
| 5277 which can conflict with char $ac_func(); below. */ | 5282 which can conflict with char $ac_func(); below. */ |
| 5278 #include <assert.h> | 5283 #include <assert.h> |
| 5279 /* Override any gcc2 internal prototype to avoid an error. */ | 5284 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5292 $ac_func(); | 5297 $ac_func(); |
| 5293 #endif | 5298 #endif |
| 5294 | 5299 |
| 5295 ; return 0; } | 5300 ; return 0; } |
| 5296 EOF | 5301 EOF |
| 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5298 rm -rf conftest* | 5303 rm -rf conftest* |
| 5299 eval "ac_cv_func_$ac_func=yes" | 5304 eval "ac_cv_func_$ac_func=yes" |
| 5300 else | 5305 else |
| 5301 echo "configure: failed program was:" >&5 | 5306 echo "configure: failed program was:" >&5 |
| 5302 cat conftest.$ac_ext >&5 | 5307 cat conftest.$ac_ext >&5 |
| 5358 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5363 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
| 5359 for ac_hdr in glade/glade.h glade.h | 5364 for ac_hdr in glade/glade.h glade.h |
| 5360 do | 5365 do |
| 5361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5363 echo "configure:5364: checking for $ac_hdr" >&5 | 5368 echo "configure:5369: checking for $ac_hdr" >&5 |
| 5364 | 5369 |
| 5365 cat > conftest.$ac_ext <<EOF | 5370 cat > conftest.$ac_ext <<EOF |
| 5366 #line 5367 "configure" | 5371 #line 5372 "configure" |
| 5367 #include "confdefs.h" | 5372 #include "confdefs.h" |
| 5368 #include <$ac_hdr> | 5373 #include <$ac_hdr> |
| 5369 EOF | 5374 EOF |
| 5370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5371 { (eval echo configure:5372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5376 { (eval echo configure:5377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5373 if test -z "$ac_err"; then | 5378 if test -z "$ac_err"; then |
| 5374 rm -rf conftest* | 5379 rm -rf conftest* |
| 5375 eval "ac_cv_header_$ac_safe=yes" | 5380 eval "ac_cv_header_$ac_safe=yes" |
| 5376 else | 5381 else |
| 5397 fi | 5402 fi |
| 5398 done | 5403 done |
| 5399 | 5404 |
| 5400 | 5405 |
| 5401 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5406 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
| 5402 echo "configure:5403: checking for main in -lxml" >&5 | 5407 echo "configure:5408: checking for main in -lxml" >&5 |
| 5403 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5408 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
| 5404 | 5409 |
| 5405 xe_check_libs=" -lxml " | 5410 xe_check_libs=" -lxml " |
| 5406 cat > conftest.$ac_ext <<EOF | 5411 cat > conftest.$ac_ext <<EOF |
| 5407 #line 5408 "configure" | 5412 #line 5413 "configure" |
| 5408 #include "confdefs.h" | 5413 #include "confdefs.h" |
| 5409 | 5414 |
| 5410 int main() { | 5415 int main() { |
| 5411 main() | 5416 main() |
| 5412 ; return 0; } | 5417 ; return 0; } |
| 5413 EOF | 5418 EOF |
| 5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5415 rm -rf conftest* | 5420 rm -rf conftest* |
| 5416 eval "ac_cv_lib_$ac_lib_var=yes" | 5421 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5417 else | 5422 else |
| 5418 echo "configure: failed program was:" >&5 | 5423 echo "configure: failed program was:" >&5 |
| 5419 cat conftest.$ac_ext >&5 | 5424 cat conftest.$ac_ext >&5 |
| 5431 fi | 5436 fi |
| 5432 | 5437 |
| 5433 | 5438 |
| 5434 | 5439 |
| 5435 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5440 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
| 5436 echo "configure:5437: checking for main in -lglade" >&5 | 5441 echo "configure:5442: checking for main in -lglade" >&5 |
| 5437 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5442 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
| 5438 | 5443 |
| 5439 xe_check_libs=" -lglade " | 5444 xe_check_libs=" -lglade " |
| 5440 cat > conftest.$ac_ext <<EOF | 5445 cat > conftest.$ac_ext <<EOF |
| 5441 #line 5442 "configure" | 5446 #line 5447 "configure" |
| 5442 #include "confdefs.h" | 5447 #include "confdefs.h" |
| 5443 | 5448 |
| 5444 int main() { | 5449 int main() { |
| 5445 main() | 5450 main() |
| 5446 ; return 0; } | 5451 ; return 0; } |
| 5447 EOF | 5452 EOF |
| 5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5453 if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5449 rm -rf conftest* | 5454 rm -rf conftest* |
| 5450 eval "ac_cv_lib_$ac_lib_var=yes" | 5455 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5451 else | 5456 else |
| 5452 echo "configure: failed program was:" >&5 | 5457 echo "configure: failed program was:" >&5 |
| 5453 cat conftest.$ac_ext >&5 | 5458 cat conftest.$ac_ext >&5 |
| 5465 fi | 5470 fi |
| 5466 | 5471 |
| 5467 | 5472 |
| 5468 | 5473 |
| 5469 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5474 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
| 5470 echo "configure:5471: checking for main in -lglade-gnome" >&5 | 5475 echo "configure:5476: checking for main in -lglade-gnome" >&5 |
| 5471 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5476 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
| 5472 | 5477 |
| 5473 xe_check_libs=" -lglade-gnome " | 5478 xe_check_libs=" -lglade-gnome " |
| 5474 cat > conftest.$ac_ext <<EOF | 5479 cat > conftest.$ac_ext <<EOF |
| 5475 #line 5476 "configure" | 5480 #line 5481 "configure" |
| 5476 #include "confdefs.h" | 5481 #include "confdefs.h" |
| 5477 | 5482 |
| 5478 int main() { | 5483 int main() { |
| 5479 main() | 5484 main() |
| 5480 ; return 0; } | 5485 ; return 0; } |
| 5481 EOF | 5486 EOF |
| 5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5487 if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5483 rm -rf conftest* | 5488 rm -rf conftest* |
| 5484 eval "ac_cv_lib_$ac_lib_var=yes" | 5489 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5485 else | 5490 else |
| 5486 echo "configure: failed program was:" >&5 | 5491 echo "configure: failed program was:" >&5 |
| 5487 cat conftest.$ac_ext >&5 | 5492 cat conftest.$ac_ext >&5 |
| 5498 echo "$ac_t""no" 1>&6 | 5503 echo "$ac_t""no" 1>&6 |
| 5499 fi | 5504 fi |
| 5500 | 5505 |
| 5501 | 5506 |
| 5502 cat > conftest.$ac_ext <<EOF | 5507 cat > conftest.$ac_ext <<EOF |
| 5503 #line 5504 "configure" | 5508 #line 5509 "configure" |
| 5504 #include "confdefs.h" | 5509 #include "confdefs.h" |
| 5505 #include <glade/glade-xml.h> | 5510 #include <glade/glade-xml.h> |
| 5506 EOF | 5511 EOF |
| 5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5508 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5513 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
| 5557 # If we find X, set shell vars x_includes and x_libraries to the | 5562 # If we find X, set shell vars x_includes and x_libraries to the |
| 5558 # paths, otherwise set no_x=yes. | 5563 # paths, otherwise set no_x=yes. |
| 5559 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5564 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 5560 # --without-x overrides everything else, but does not touch the cache. | 5565 # --without-x overrides everything else, but does not touch the cache. |
| 5561 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5566 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 5562 echo "configure:5563: checking for X" >&5 | 5567 echo "configure:5568: checking for X" >&5 |
| 5563 | 5568 |
| 5564 # Check whether --with-x or --without-x was given. | 5569 # Check whether --with-x or --without-x was given. |
| 5565 if test "${with_x+set}" = set; then | 5570 if test "${with_x+set}" = set; then |
| 5566 withval="$with_x" | 5571 withval="$with_x" |
| 5567 : | 5572 : |
| 5617 # Guess where to find include files, by looking for this one X11 .h file. | 5622 # Guess where to find include files, by looking for this one X11 .h file. |
| 5618 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5623 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 5619 | 5624 |
| 5620 # First, try using that file with no special directory specified. | 5625 # First, try using that file with no special directory specified. |
| 5621 cat > conftest.$ac_ext <<EOF | 5626 cat > conftest.$ac_ext <<EOF |
| 5622 #line 5623 "configure" | 5627 #line 5628 "configure" |
| 5623 #include "confdefs.h" | 5628 #include "confdefs.h" |
| 5624 #include <$x_direct_test_include> | 5629 #include <$x_direct_test_include> |
| 5625 EOF | 5630 EOF |
| 5626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5627 { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5632 { (eval echo configure:5633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5629 if test -z "$ac_err"; then | 5634 if test -z "$ac_err"; then |
| 5630 rm -rf conftest* | 5635 rm -rf conftest* |
| 5631 # We can compile using X headers with no special include directory. | 5636 # We can compile using X headers with no special include directory. |
| 5632 ac_x_includes= | 5637 ac_x_includes= |
| 5691 # See if we find them without any special options. | 5696 # See if we find them without any special options. |
| 5692 # Don't add to $LIBS permanently. | 5697 # Don't add to $LIBS permanently. |
| 5693 ac_save_LIBS="$LIBS" | 5698 ac_save_LIBS="$LIBS" |
| 5694 LIBS="-l$x_direct_test_library $LIBS" | 5699 LIBS="-l$x_direct_test_library $LIBS" |
| 5695 cat > conftest.$ac_ext <<EOF | 5700 cat > conftest.$ac_ext <<EOF |
| 5696 #line 5697 "configure" | 5701 #line 5702 "configure" |
| 5697 #include "confdefs.h" | 5702 #include "confdefs.h" |
| 5698 | 5703 |
| 5699 int main() { | 5704 int main() { |
| 5700 ${x_direct_test_function}() | 5705 ${x_direct_test_function}() |
| 5701 ; return 0; } | 5706 ; return 0; } |
| 5702 EOF | 5707 EOF |
| 5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5704 rm -rf conftest* | 5709 rm -rf conftest* |
| 5705 LIBS="$ac_save_LIBS" | 5710 LIBS="$ac_save_LIBS" |
| 5706 # We can link X programs with no special library path. | 5711 # We can link X programs with no special library path. |
| 5707 ac_x_libraries= | 5712 ac_x_libraries= |
| 5708 else | 5713 else |
| 5807 # For Solaris; some versions of Sun CC require a space after -R and | 5812 # For Solaris; some versions of Sun CC require a space after -R and |
| 5808 # others require no space. Words are not sufficient . . . . | 5813 # others require no space. Words are not sufficient . . . . |
| 5809 case "`(uname -sr) 2>/dev/null`" in | 5814 case "`(uname -sr) 2>/dev/null`" in |
| 5810 "SunOS 5"*) | 5815 "SunOS 5"*) |
| 5811 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5816 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 5812 echo "configure:5813: checking whether -R must be followed by a space" >&5 | 5817 echo "configure:5818: checking whether -R must be followed by a space" >&5 |
| 5813 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5818 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 5814 cat > conftest.$ac_ext <<EOF | 5819 cat > conftest.$ac_ext <<EOF |
| 5815 #line 5816 "configure" | 5820 #line 5821 "configure" |
| 5816 #include "confdefs.h" | 5821 #include "confdefs.h" |
| 5817 | 5822 |
| 5818 int main() { | 5823 int main() { |
| 5819 | 5824 |
| 5820 ; return 0; } | 5825 ; return 0; } |
| 5821 EOF | 5826 EOF |
| 5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5823 rm -rf conftest* | 5828 rm -rf conftest* |
| 5824 ac_R_nospace=yes | 5829 ac_R_nospace=yes |
| 5825 else | 5830 else |
| 5826 echo "configure: failed program was:" >&5 | 5831 echo "configure: failed program was:" >&5 |
| 5827 cat conftest.$ac_ext >&5 | 5832 cat conftest.$ac_ext >&5 |
| 5833 echo "$ac_t""no" 1>&6 | 5838 echo "$ac_t""no" 1>&6 |
| 5834 X_LIBS="$X_LIBS -R$x_libraries" | 5839 X_LIBS="$X_LIBS -R$x_libraries" |
| 5835 else | 5840 else |
| 5836 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5841 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 5837 cat > conftest.$ac_ext <<EOF | 5842 cat > conftest.$ac_ext <<EOF |
| 5838 #line 5839 "configure" | 5843 #line 5844 "configure" |
| 5839 #include "confdefs.h" | 5844 #include "confdefs.h" |
| 5840 | 5845 |
| 5841 int main() { | 5846 int main() { |
| 5842 | 5847 |
| 5843 ; return 0; } | 5848 ; return 0; } |
| 5844 EOF | 5849 EOF |
| 5845 if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5850 if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5846 rm -rf conftest* | 5851 rm -rf conftest* |
| 5847 ac_R_space=yes | 5852 ac_R_space=yes |
| 5848 else | 5853 else |
| 5849 echo "configure: failed program was:" >&5 | 5854 echo "configure: failed program was:" >&5 |
| 5850 cat conftest.$ac_ext >&5 | 5855 cat conftest.$ac_ext >&5 |
| 5876 if test "$with_dnet" = "no" ; then | 5881 if test "$with_dnet" = "no" ; then |
| 5877 ac_cv_lib_dnet_dnet_ntoa=no | 5882 ac_cv_lib_dnet_dnet_ntoa=no |
| 5878 else | 5883 else |
| 5879 | 5884 |
| 5880 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5885 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 5881 echo "configure:5882: checking for dnet_ntoa in -ldnet" >&5 | 5886 echo "configure:5887: checking for dnet_ntoa in -ldnet" >&5 |
| 5882 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5887 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5883 | 5888 |
| 5884 xe_check_libs=" -ldnet " | 5889 xe_check_libs=" -ldnet " |
| 5885 cat > conftest.$ac_ext <<EOF | 5890 cat > conftest.$ac_ext <<EOF |
| 5886 #line 5887 "configure" | 5891 #line 5892 "configure" |
| 5887 #include "confdefs.h" | 5892 #include "confdefs.h" |
| 5888 /* Override any gcc2 internal prototype to avoid an error. */ | 5893 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5889 /* We use char because int might match the return type of a gcc2 | 5894 /* We use char because int might match the return type of a gcc2 |
| 5890 builtin and then its argument prototype would still apply. */ | 5895 builtin and then its argument prototype would still apply. */ |
| 5891 char dnet_ntoa(); | 5896 char dnet_ntoa(); |
| 5892 | 5897 |
| 5893 int main() { | 5898 int main() { |
| 5894 dnet_ntoa() | 5899 dnet_ntoa() |
| 5895 ; return 0; } | 5900 ; return 0; } |
| 5896 EOF | 5901 EOF |
| 5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5898 rm -rf conftest* | 5903 rm -rf conftest* |
| 5899 eval "ac_cv_lib_$ac_lib_var=yes" | 5904 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5900 else | 5905 else |
| 5901 echo "configure: failed program was:" >&5 | 5906 echo "configure: failed program was:" >&5 |
| 5902 cat conftest.$ac_ext >&5 | 5907 cat conftest.$ac_ext >&5 |
| 5916 fi | 5921 fi |
| 5917 | 5922 |
| 5918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5923 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 5919 | 5924 |
| 5920 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5925 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 5921 echo "configure:5922: checking for dnet_ntoa in -ldnet_stub" >&5 | 5926 echo "configure:5927: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 5922 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5927 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5923 | 5928 |
| 5924 xe_check_libs=" -ldnet_stub " | 5929 xe_check_libs=" -ldnet_stub " |
| 5925 cat > conftest.$ac_ext <<EOF | 5930 cat > conftest.$ac_ext <<EOF |
| 5926 #line 5927 "configure" | 5931 #line 5932 "configure" |
| 5927 #include "confdefs.h" | 5932 #include "confdefs.h" |
| 5928 /* Override any gcc2 internal prototype to avoid an error. */ | 5933 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5929 /* We use char because int might match the return type of a gcc2 | 5934 /* We use char because int might match the return type of a gcc2 |
| 5930 builtin and then its argument prototype would still apply. */ | 5935 builtin and then its argument prototype would still apply. */ |
| 5931 char dnet_ntoa(); | 5936 char dnet_ntoa(); |
| 5932 | 5937 |
| 5933 int main() { | 5938 int main() { |
| 5934 dnet_ntoa() | 5939 dnet_ntoa() |
| 5935 ; return 0; } | 5940 ; return 0; } |
| 5936 EOF | 5941 EOF |
| 5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5942 if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5938 rm -rf conftest* | 5943 rm -rf conftest* |
| 5939 eval "ac_cv_lib_$ac_lib_var=yes" | 5944 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5940 else | 5945 else |
| 5941 echo "configure: failed program was:" >&5 | 5946 echo "configure: failed program was:" >&5 |
| 5942 cat conftest.$ac_ext >&5 | 5947 cat conftest.$ac_ext >&5 |
| 5961 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5966 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 5962 # needs -lnsl. | 5967 # needs -lnsl. |
| 5963 # The nsl library prevents programs from opening the X display | 5968 # The nsl library prevents programs from opening the X display |
| 5964 # on Irix 5.2, according to dickey@clark.net. | 5969 # on Irix 5.2, according to dickey@clark.net. |
| 5965 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5970 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 5966 echo "configure:5967: checking for gethostbyname" >&5 | 5971 echo "configure:5972: checking for gethostbyname" >&5 |
| 5967 | 5972 |
| 5968 cat > conftest.$ac_ext <<EOF | 5973 cat > conftest.$ac_ext <<EOF |
| 5969 #line 5970 "configure" | 5974 #line 5975 "configure" |
| 5970 #include "confdefs.h" | 5975 #include "confdefs.h" |
| 5971 /* System header to define __stub macros and hopefully few prototypes, | 5976 /* System header to define __stub macros and hopefully few prototypes, |
| 5972 which can conflict with char gethostbyname(); below. */ | 5977 which can conflict with char gethostbyname(); below. */ |
| 5973 #include <assert.h> | 5978 #include <assert.h> |
| 5974 /* Override any gcc2 internal prototype to avoid an error. */ | 5979 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5987 gethostbyname(); | 5992 gethostbyname(); |
| 5988 #endif | 5993 #endif |
| 5989 | 5994 |
| 5990 ; return 0; } | 5995 ; return 0; } |
| 5991 EOF | 5996 EOF |
| 5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5997 if { (eval echo configure:5998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5993 rm -rf conftest* | 5998 rm -rf conftest* |
| 5994 eval "ac_cv_func_gethostbyname=yes" | 5999 eval "ac_cv_func_gethostbyname=yes" |
| 5995 else | 6000 else |
| 5996 echo "configure: failed program was:" >&5 | 6001 echo "configure: failed program was:" >&5 |
| 5997 cat conftest.$ac_ext >&5 | 6002 cat conftest.$ac_ext >&5 |
| 6008 fi | 6013 fi |
| 6009 | 6014 |
| 6010 if test $ac_cv_func_gethostbyname = no; then | 6015 if test $ac_cv_func_gethostbyname = no; then |
| 6011 | 6016 |
| 6012 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6017 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 6013 echo "configure:6014: checking for gethostbyname in -lnsl" >&5 | 6018 echo "configure:6019: checking for gethostbyname in -lnsl" >&5 |
| 6014 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6019 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 6015 | 6020 |
| 6016 xe_check_libs=" -lnsl " | 6021 xe_check_libs=" -lnsl " |
| 6017 cat > conftest.$ac_ext <<EOF | 6022 cat > conftest.$ac_ext <<EOF |
| 6018 #line 6019 "configure" | 6023 #line 6024 "configure" |
| 6019 #include "confdefs.h" | 6024 #include "confdefs.h" |
| 6020 /* Override any gcc2 internal prototype to avoid an error. */ | 6025 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6021 /* We use char because int might match the return type of a gcc2 | 6026 /* We use char because int might match the return type of a gcc2 |
| 6022 builtin and then its argument prototype would still apply. */ | 6027 builtin and then its argument prototype would still apply. */ |
| 6023 char gethostbyname(); | 6028 char gethostbyname(); |
| 6024 | 6029 |
| 6025 int main() { | 6030 int main() { |
| 6026 gethostbyname() | 6031 gethostbyname() |
| 6027 ; return 0; } | 6032 ; return 0; } |
| 6028 EOF | 6033 EOF |
| 6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6030 rm -rf conftest* | 6035 rm -rf conftest* |
| 6031 eval "ac_cv_lib_$ac_lib_var=yes" | 6036 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6032 else | 6037 else |
| 6033 echo "configure: failed program was:" >&5 | 6038 echo "configure: failed program was:" >&5 |
| 6034 cat conftest.$ac_ext >&5 | 6039 cat conftest.$ac_ext >&5 |
| 6054 # on later versions), says simon@lia.di.epfl.ch: it contains | 6059 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 6055 # gethostby* variants that don't use the nameserver (or something). | 6060 # gethostby* variants that don't use the nameserver (or something). |
| 6056 # -lsocket must be given before -lnsl if both are needed. | 6061 # -lsocket must be given before -lnsl if both are needed. |
| 6057 # We assume that if connect needs -lnsl, so does gethostbyname. | 6062 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 6058 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6063 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 6059 echo "configure:6060: checking for connect" >&5 | 6064 echo "configure:6065: checking for connect" >&5 |
| 6060 | 6065 |
| 6061 cat > conftest.$ac_ext <<EOF | 6066 cat > conftest.$ac_ext <<EOF |
| 6062 #line 6063 "configure" | 6067 #line 6068 "configure" |
| 6063 #include "confdefs.h" | 6068 #include "confdefs.h" |
| 6064 /* System header to define __stub macros and hopefully few prototypes, | 6069 /* System header to define __stub macros and hopefully few prototypes, |
| 6065 which can conflict with char connect(); below. */ | 6070 which can conflict with char connect(); below. */ |
| 6066 #include <assert.h> | 6071 #include <assert.h> |
| 6067 /* Override any gcc2 internal prototype to avoid an error. */ | 6072 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6080 connect(); | 6085 connect(); |
| 6081 #endif | 6086 #endif |
| 6082 | 6087 |
| 6083 ; return 0; } | 6088 ; return 0; } |
| 6084 EOF | 6089 EOF |
| 6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6086 rm -rf conftest* | 6091 rm -rf conftest* |
| 6087 eval "ac_cv_func_connect=yes" | 6092 eval "ac_cv_func_connect=yes" |
| 6088 else | 6093 else |
| 6089 echo "configure: failed program was:" >&5 | 6094 echo "configure: failed program was:" >&5 |
| 6090 cat conftest.$ac_ext >&5 | 6095 cat conftest.$ac_ext >&5 |
| 6103 if test $ac_cv_func_connect = no; then | 6108 if test $ac_cv_func_connect = no; then |
| 6104 | 6109 |
| 6105 xe_msg_checking="for connect in -lsocket" | 6110 xe_msg_checking="for connect in -lsocket" |
| 6106 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6111 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 | 6113 echo "configure:6114: checking "$xe_msg_checking"" >&5 |
| 6109 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6114 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 6110 | 6115 |
| 6111 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6116 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 6112 cat > conftest.$ac_ext <<EOF | 6117 cat > conftest.$ac_ext <<EOF |
| 6113 #line 6114 "configure" | 6118 #line 6119 "configure" |
| 6114 #include "confdefs.h" | 6119 #include "confdefs.h" |
| 6115 /* Override any gcc2 internal prototype to avoid an error. */ | 6120 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6116 /* We use char because int might match the return type of a gcc2 | 6121 /* We use char because int might match the return type of a gcc2 |
| 6117 builtin and then its argument prototype would still apply. */ | 6122 builtin and then its argument prototype would still apply. */ |
| 6118 char connect(); | 6123 char connect(); |
| 6119 | 6124 |
| 6120 int main() { | 6125 int main() { |
| 6121 connect() | 6126 connect() |
| 6122 ; return 0; } | 6127 ; return 0; } |
| 6123 EOF | 6128 EOF |
| 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6129 if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6125 rm -rf conftest* | 6130 rm -rf conftest* |
| 6126 eval "ac_cv_lib_$ac_lib_var=yes" | 6131 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6127 else | 6132 else |
| 6128 echo "configure: failed program was:" >&5 | 6133 echo "configure: failed program was:" >&5 |
| 6129 cat conftest.$ac_ext >&5 | 6134 cat conftest.$ac_ext >&5 |
| 6143 | 6148 |
| 6144 fi | 6149 fi |
| 6145 | 6150 |
| 6146 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6151 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 6147 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6152 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 6148 echo "configure:6149: checking for remove" >&5 | 6153 echo "configure:6154: checking for remove" >&5 |
| 6149 | 6154 |
| 6150 cat > conftest.$ac_ext <<EOF | 6155 cat > conftest.$ac_ext <<EOF |
| 6151 #line 6152 "configure" | 6156 #line 6157 "configure" |
| 6152 #include "confdefs.h" | 6157 #include "confdefs.h" |
| 6153 /* System header to define __stub macros and hopefully few prototypes, | 6158 /* System header to define __stub macros and hopefully few prototypes, |
| 6154 which can conflict with char remove(); below. */ | 6159 which can conflict with char remove(); below. */ |
| 6155 #include <assert.h> | 6160 #include <assert.h> |
| 6156 /* Override any gcc2 internal prototype to avoid an error. */ | 6161 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6169 remove(); | 6174 remove(); |
| 6170 #endif | 6175 #endif |
| 6171 | 6176 |
| 6172 ; return 0; } | 6177 ; return 0; } |
| 6173 EOF | 6178 EOF |
| 6174 if { (eval echo configure:6175: \"$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 |
| 6175 rm -rf conftest* | 6180 rm -rf conftest* |
| 6176 eval "ac_cv_func_remove=yes" | 6181 eval "ac_cv_func_remove=yes" |
| 6177 else | 6182 else |
| 6178 echo "configure: failed program was:" >&5 | 6183 echo "configure: failed program was:" >&5 |
| 6179 cat conftest.$ac_ext >&5 | 6184 cat conftest.$ac_ext >&5 |
| 6190 fi | 6195 fi |
| 6191 | 6196 |
| 6192 if test $ac_cv_func_remove = no; then | 6197 if test $ac_cv_func_remove = no; then |
| 6193 | 6198 |
| 6194 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6199 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 6195 echo "configure:6196: checking for remove in -lposix" >&5 | 6200 echo "configure:6201: checking for remove in -lposix" >&5 |
| 6196 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6201 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 6197 | 6202 |
| 6198 xe_check_libs=" -lposix " | 6203 xe_check_libs=" -lposix " |
| 6199 cat > conftest.$ac_ext <<EOF | 6204 cat > conftest.$ac_ext <<EOF |
| 6200 #line 6201 "configure" | 6205 #line 6206 "configure" |
| 6201 #include "confdefs.h" | 6206 #include "confdefs.h" |
| 6202 /* Override any gcc2 internal prototype to avoid an error. */ | 6207 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6203 /* We use char because int might match the return type of a gcc2 | 6208 /* We use char because int might match the return type of a gcc2 |
| 6204 builtin and then its argument prototype would still apply. */ | 6209 builtin and then its argument prototype would still apply. */ |
| 6205 char remove(); | 6210 char remove(); |
| 6206 | 6211 |
| 6207 int main() { | 6212 int main() { |
| 6208 remove() | 6213 remove() |
| 6209 ; return 0; } | 6214 ; return 0; } |
| 6210 EOF | 6215 EOF |
| 6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6216 if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6212 rm -rf conftest* | 6217 rm -rf conftest* |
| 6213 eval "ac_cv_lib_$ac_lib_var=yes" | 6218 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6214 else | 6219 else |
| 6215 echo "configure: failed program was:" >&5 | 6220 echo "configure: failed program was:" >&5 |
| 6216 cat conftest.$ac_ext >&5 | 6221 cat conftest.$ac_ext >&5 |
| 6230 | 6235 |
| 6231 fi | 6236 fi |
| 6232 | 6237 |
| 6233 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 6234 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6239 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 6235 echo "configure:6236: checking for shmat" >&5 | 6240 echo "configure:6241: checking for shmat" >&5 |
| 6236 | 6241 |
| 6237 cat > conftest.$ac_ext <<EOF | 6242 cat > conftest.$ac_ext <<EOF |
| 6238 #line 6239 "configure" | 6243 #line 6244 "configure" |
| 6239 #include "confdefs.h" | 6244 #include "confdefs.h" |
| 6240 /* System header to define __stub macros and hopefully few prototypes, | 6245 /* System header to define __stub macros and hopefully few prototypes, |
| 6241 which can conflict with char shmat(); below. */ | 6246 which can conflict with char shmat(); below. */ |
| 6242 #include <assert.h> | 6247 #include <assert.h> |
| 6243 /* Override any gcc2 internal prototype to avoid an error. */ | 6248 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6256 shmat(); | 6261 shmat(); |
| 6257 #endif | 6262 #endif |
| 6258 | 6263 |
| 6259 ; return 0; } | 6264 ; return 0; } |
| 6260 EOF | 6265 EOF |
| 6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6262 rm -rf conftest* | 6267 rm -rf conftest* |
| 6263 eval "ac_cv_func_shmat=yes" | 6268 eval "ac_cv_func_shmat=yes" |
| 6264 else | 6269 else |
| 6265 echo "configure: failed program was:" >&5 | 6270 echo "configure: failed program was:" >&5 |
| 6266 cat conftest.$ac_ext >&5 | 6271 cat conftest.$ac_ext >&5 |
| 6277 fi | 6282 fi |
| 6278 | 6283 |
| 6279 if test $ac_cv_func_shmat = no; then | 6284 if test $ac_cv_func_shmat = no; then |
| 6280 | 6285 |
| 6281 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6286 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 6282 echo "configure:6283: checking for shmat in -lipc" >&5 | 6287 echo "configure:6288: checking for shmat in -lipc" >&5 |
| 6283 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6288 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 6284 | 6289 |
| 6285 xe_check_libs=" -lipc " | 6290 xe_check_libs=" -lipc " |
| 6286 cat > conftest.$ac_ext <<EOF | 6291 cat > conftest.$ac_ext <<EOF |
| 6287 #line 6288 "configure" | 6292 #line 6293 "configure" |
| 6288 #include "confdefs.h" | 6293 #include "confdefs.h" |
| 6289 /* Override any gcc2 internal prototype to avoid an error. */ | 6294 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6290 /* We use char because int might match the return type of a gcc2 | 6295 /* We use char because int might match the return type of a gcc2 |
| 6291 builtin and then its argument prototype would still apply. */ | 6296 builtin and then its argument prototype would still apply. */ |
| 6292 char shmat(); | 6297 char shmat(); |
| 6293 | 6298 |
| 6294 int main() { | 6299 int main() { |
| 6295 shmat() | 6300 shmat() |
| 6296 ; return 0; } | 6301 ; return 0; } |
| 6297 EOF | 6302 EOF |
| 6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6299 rm -rf conftest* | 6304 rm -rf conftest* |
| 6300 eval "ac_cv_lib_$ac_lib_var=yes" | 6305 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6301 else | 6306 else |
| 6302 echo "configure: failed program was:" >&5 | 6307 echo "configure: failed program was:" >&5 |
| 6303 cat conftest.$ac_ext >&5 | 6308 cat conftest.$ac_ext >&5 |
| 6329 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6334 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 6330 | 6335 |
| 6331 xe_msg_checking="for IceConnectionNumber in -lICE" | 6336 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 6332 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6337 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6333 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6334 echo "configure:6335: checking "$xe_msg_checking"" >&5 | 6339 echo "configure:6340: checking "$xe_msg_checking"" >&5 |
| 6335 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6340 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 6336 | 6341 |
| 6337 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6342 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 6338 cat > conftest.$ac_ext <<EOF | 6343 cat > conftest.$ac_ext <<EOF |
| 6339 #line 6340 "configure" | 6344 #line 6345 "configure" |
| 6340 #include "confdefs.h" | 6345 #include "confdefs.h" |
| 6341 /* Override any gcc2 internal prototype to avoid an error. */ | 6346 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6342 /* We use char because int might match the return type of a gcc2 | 6347 /* We use char because int might match the return type of a gcc2 |
| 6343 builtin and then its argument prototype would still apply. */ | 6348 builtin and then its argument prototype would still apply. */ |
| 6344 char IceConnectionNumber(); | 6349 char IceConnectionNumber(); |
| 6345 | 6350 |
| 6346 int main() { | 6351 int main() { |
| 6347 IceConnectionNumber() | 6352 IceConnectionNumber() |
| 6348 ; return 0; } | 6353 ; return 0; } |
| 6349 EOF | 6354 EOF |
| 6350 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6355 if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6351 rm -rf conftest* | 6356 rm -rf conftest* |
| 6352 eval "ac_cv_lib_$ac_lib_var=yes" | 6357 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6353 else | 6358 else |
| 6354 echo "configure: failed program was:" >&5 | 6359 echo "configure: failed program was:" >&5 |
| 6355 cat conftest.$ac_ext >&5 | 6360 cat conftest.$ac_ext >&5 |
| 6512 EOF | 6517 EOF |
| 6513 } | 6518 } |
| 6514 | 6519 |
| 6515 | 6520 |
| 6516 echo "checking for X defines extracted by xmkmf" 1>&6 | 6521 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 6517 echo "configure:6518: checking for X defines extracted by xmkmf" >&5 | 6522 echo "configure:6523: checking for X defines extracted by xmkmf" >&5 |
| 6518 rm -fr conftestdir | 6523 rm -fr conftestdir |
| 6519 if mkdir conftestdir; then | 6524 if mkdir conftestdir; then |
| 6520 cd conftestdir | 6525 cd conftestdir |
| 6521 cat > Imakefile <<'EOF' | 6526 cat > Imakefile <<'EOF' |
| 6522 xetest: | 6527 xetest: |
| 6561 done | 6566 done |
| 6562 fi | 6567 fi |
| 6563 | 6568 |
| 6564 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6569 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 6565 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6570 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 6566 echo "configure:6567: checking for X11/Intrinsic.h" >&5 | 6571 echo "configure:6572: checking for X11/Intrinsic.h" >&5 |
| 6567 | 6572 |
| 6568 cat > conftest.$ac_ext <<EOF | 6573 cat > conftest.$ac_ext <<EOF |
| 6569 #line 6570 "configure" | 6574 #line 6575 "configure" |
| 6570 #include "confdefs.h" | 6575 #include "confdefs.h" |
| 6571 #include <X11/Intrinsic.h> | 6576 #include <X11/Intrinsic.h> |
| 6572 EOF | 6577 EOF |
| 6573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6574 { (eval echo configure:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6579 { (eval echo configure:6580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6576 if test -z "$ac_err"; then | 6581 if test -z "$ac_err"; then |
| 6577 rm -rf conftest* | 6582 rm -rf conftest* |
| 6578 eval "ac_cv_header_$ac_safe=yes" | 6583 eval "ac_cv_header_$ac_safe=yes" |
| 6579 else | 6584 else |
| 6593 fi | 6598 fi |
| 6594 | 6599 |
| 6595 | 6600 |
| 6596 | 6601 |
| 6597 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6602 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 6598 echo "configure:6599: checking for XOpenDisplay in -lX11" >&5 | 6603 echo "configure:6604: checking for XOpenDisplay in -lX11" >&5 |
| 6599 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6604 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 6600 | 6605 |
| 6601 xe_check_libs=" -lX11 " | 6606 xe_check_libs=" -lX11 " |
| 6602 cat > conftest.$ac_ext <<EOF | 6607 cat > conftest.$ac_ext <<EOF |
| 6603 #line 6604 "configure" | 6608 #line 6609 "configure" |
| 6604 #include "confdefs.h" | 6609 #include "confdefs.h" |
| 6605 /* Override any gcc2 internal prototype to avoid an error. */ | 6610 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6606 /* We use char because int might match the return type of a gcc2 | 6611 /* We use char because int might match the return type of a gcc2 |
| 6607 builtin and then its argument prototype would still apply. */ | 6612 builtin and then its argument prototype would still apply. */ |
| 6608 char XOpenDisplay(); | 6613 char XOpenDisplay(); |
| 6609 | 6614 |
| 6610 int main() { | 6615 int main() { |
| 6611 XOpenDisplay() | 6616 XOpenDisplay() |
| 6612 ; return 0; } | 6617 ; return 0; } |
| 6613 EOF | 6618 EOF |
| 6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6615 rm -rf conftest* | 6620 rm -rf conftest* |
| 6616 eval "ac_cv_lib_$ac_lib_var=yes" | 6621 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6617 else | 6622 else |
| 6618 echo "configure: failed program was:" >&5 | 6623 echo "configure: failed program was:" >&5 |
| 6619 cat conftest.$ac_ext >&5 | 6624 cat conftest.$ac_ext >&5 |
| 6634 if test "$have_lib_x11" != "yes"; then | 6639 if test "$have_lib_x11" != "yes"; then |
| 6635 | 6640 |
| 6636 xe_msg_checking="for XGetFontProperty in -lX11" | 6641 xe_msg_checking="for XGetFontProperty in -lX11" |
| 6637 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6642 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 6638 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6643 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6639 echo "configure:6640: checking "$xe_msg_checking"" >&5 | 6644 echo "configure:6645: checking "$xe_msg_checking"" >&5 |
| 6640 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6645 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 6641 | 6646 |
| 6642 xe_check_libs=" -lX11 -b i486-linuxaout" | 6647 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 6643 cat > conftest.$ac_ext <<EOF | 6648 cat > conftest.$ac_ext <<EOF |
| 6644 #line 6645 "configure" | 6649 #line 6650 "configure" |
| 6645 #include "confdefs.h" | 6650 #include "confdefs.h" |
| 6646 /* Override any gcc2 internal prototype to avoid an error. */ | 6651 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6647 /* We use char because int might match the return type of a gcc2 | 6652 /* We use char because int might match the return type of a gcc2 |
| 6648 builtin and then its argument prototype would still apply. */ | 6653 builtin and then its argument prototype would still apply. */ |
| 6649 char XGetFontProperty(); | 6654 char XGetFontProperty(); |
| 6650 | 6655 |
| 6651 int main() { | 6656 int main() { |
| 6652 XGetFontProperty() | 6657 XGetFontProperty() |
| 6653 ; return 0; } | 6658 ; return 0; } |
| 6654 EOF | 6659 EOF |
| 6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6656 rm -rf conftest* | 6661 rm -rf conftest* |
| 6657 eval "ac_cv_lib_$ac_lib_var=yes" | 6662 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6658 else | 6663 else |
| 6659 echo "configure: failed program was:" >&5 | 6664 echo "configure: failed program was:" >&5 |
| 6660 cat conftest.$ac_ext >&5 | 6665 cat conftest.$ac_ext >&5 |
| 6677 libs_x="-lX11" | 6682 libs_x="-lX11" |
| 6678 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6683 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 6679 | 6684 |
| 6680 | 6685 |
| 6681 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6686 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 6682 echo "configure:6683: checking for XShapeSelectInput in -lXext" >&5 | 6687 echo "configure:6688: checking for XShapeSelectInput in -lXext" >&5 |
| 6683 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6688 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 6684 | 6689 |
| 6685 xe_check_libs=" -lXext " | 6690 xe_check_libs=" -lXext " |
| 6686 cat > conftest.$ac_ext <<EOF | 6691 cat > conftest.$ac_ext <<EOF |
| 6687 #line 6688 "configure" | 6692 #line 6693 "configure" |
| 6688 #include "confdefs.h" | 6693 #include "confdefs.h" |
| 6689 /* Override any gcc2 internal prototype to avoid an error. */ | 6694 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6690 /* We use char because int might match the return type of a gcc2 | 6695 /* We use char because int might match the return type of a gcc2 |
| 6691 builtin and then its argument prototype would still apply. */ | 6696 builtin and then its argument prototype would still apply. */ |
| 6692 char XShapeSelectInput(); | 6697 char XShapeSelectInput(); |
| 6693 | 6698 |
| 6694 int main() { | 6699 int main() { |
| 6695 XShapeSelectInput() | 6700 XShapeSelectInput() |
| 6696 ; return 0; } | 6701 ; return 0; } |
| 6697 EOF | 6702 EOF |
| 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6703 if { (eval echo configure:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6699 rm -rf conftest* | 6704 rm -rf conftest* |
| 6700 eval "ac_cv_lib_$ac_lib_var=yes" | 6705 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6701 else | 6706 else |
| 6702 echo "configure: failed program was:" >&5 | 6707 echo "configure: failed program was:" >&5 |
| 6703 cat conftest.$ac_ext >&5 | 6708 cat conftest.$ac_ext >&5 |
| 6716 | 6721 |
| 6717 | 6722 |
| 6718 | 6723 |
| 6719 | 6724 |
| 6720 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6725 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 6721 echo "configure:6722: checking for XtOpenDisplay in -lXt" >&5 | 6726 echo "configure:6727: checking for XtOpenDisplay in -lXt" >&5 |
| 6722 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6727 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 6723 | 6728 |
| 6724 xe_check_libs=" -lXt " | 6729 xe_check_libs=" -lXt " |
| 6725 cat > conftest.$ac_ext <<EOF | 6730 cat > conftest.$ac_ext <<EOF |
| 6726 #line 6727 "configure" | 6731 #line 6732 "configure" |
| 6727 #include "confdefs.h" | 6732 #include "confdefs.h" |
| 6728 /* Override any gcc2 internal prototype to avoid an error. */ | 6733 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6729 /* We use char because int might match the return type of a gcc2 | 6734 /* We use char because int might match the return type of a gcc2 |
| 6730 builtin and then its argument prototype would still apply. */ | 6735 builtin and then its argument prototype would still apply. */ |
| 6731 char XtOpenDisplay(); | 6736 char XtOpenDisplay(); |
| 6732 | 6737 |
| 6733 int main() { | 6738 int main() { |
| 6734 XtOpenDisplay() | 6739 XtOpenDisplay() |
| 6735 ; return 0; } | 6740 ; return 0; } |
| 6736 EOF | 6741 EOF |
| 6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6742 if { (eval echo configure:6743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6738 rm -rf conftest* | 6743 rm -rf conftest* |
| 6739 eval "ac_cv_lib_$ac_lib_var=yes" | 6744 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6740 else | 6745 else |
| 6741 echo "configure: failed program was:" >&5 | 6746 echo "configure: failed program was:" >&5 |
| 6742 cat conftest.$ac_ext >&5 | 6747 cat conftest.$ac_ext >&5 |
| 6755 fi | 6760 fi |
| 6756 | 6761 |
| 6757 | 6762 |
| 6758 | 6763 |
| 6759 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6764 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 6760 echo "configure:6761: checking the version of X11 being used" >&5 | 6765 echo "configure:6766: checking the version of X11 being used" >&5 |
| 6761 cat > conftest.$ac_ext <<EOF | 6766 cat > conftest.$ac_ext <<EOF |
| 6762 #line 6763 "configure" | 6767 #line 6768 "configure" |
| 6763 #include "confdefs.h" | 6768 #include "confdefs.h" |
| 6764 #include <X11/Intrinsic.h> | 6769 #include <X11/Intrinsic.h> |
| 6765 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6770 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 6766 EOF | 6771 EOF |
| 6767 if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6772 if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6768 then | 6773 then |
| 6769 ./conftest foobar; x11_release=$? | 6774 ./conftest foobar; x11_release=$? |
| 6770 else | 6775 else |
| 6771 conftest_rc="$?" | 6776 conftest_rc="$?" |
| 6772 echo "configure: failed program was:" >&5 | 6777 echo "configure: failed program was:" >&5 |
| 6793 fi | 6798 fi |
| 6794 | 6799 |
| 6795 for ac_func in XConvertCase | 6800 for ac_func in XConvertCase |
| 6796 do | 6801 do |
| 6797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6798 echo "configure:6799: checking for $ac_func" >&5 | 6803 echo "configure:6804: checking for $ac_func" >&5 |
| 6799 | 6804 |
| 6800 cat > conftest.$ac_ext <<EOF | 6805 cat > conftest.$ac_ext <<EOF |
| 6801 #line 6802 "configure" | 6806 #line 6807 "configure" |
| 6802 #include "confdefs.h" | 6807 #include "confdefs.h" |
| 6803 /* System header to define __stub macros and hopefully few prototypes, | 6808 /* System header to define __stub macros and hopefully few prototypes, |
| 6804 which can conflict with char $ac_func(); below. */ | 6809 which can conflict with char $ac_func(); below. */ |
| 6805 #include <assert.h> | 6810 #include <assert.h> |
| 6806 /* Override any gcc2 internal prototype to avoid an error. */ | 6811 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6819 $ac_func(); | 6824 $ac_func(); |
| 6820 #endif | 6825 #endif |
| 6821 | 6826 |
| 6822 ; return 0; } | 6827 ; return 0; } |
| 6823 EOF | 6828 EOF |
| 6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6829 if { (eval echo configure:6830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6825 rm -rf conftest* | 6830 rm -rf conftest* |
| 6826 eval "ac_cv_func_$ac_func=yes" | 6831 eval "ac_cv_func_$ac_func=yes" |
| 6827 else | 6832 else |
| 6828 echo "configure: failed program was:" >&5 | 6833 echo "configure: failed program was:" >&5 |
| 6829 cat conftest.$ac_ext >&5 | 6834 cat conftest.$ac_ext >&5 |
| 6851 | 6856 |
| 6852 for ac_hdr in X11/Xlocale.h | 6857 for ac_hdr in X11/Xlocale.h |
| 6853 do | 6858 do |
| 6854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6856 echo "configure:6857: checking for $ac_hdr" >&5 | 6861 echo "configure:6862: checking for $ac_hdr" >&5 |
| 6857 | 6862 |
| 6858 cat > conftest.$ac_ext <<EOF | 6863 cat > conftest.$ac_ext <<EOF |
| 6859 #line 6860 "configure" | 6864 #line 6865 "configure" |
| 6860 #include "confdefs.h" | 6865 #include "confdefs.h" |
| 6861 #include <$ac_hdr> | 6866 #include <$ac_hdr> |
| 6862 EOF | 6867 EOF |
| 6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6869 { (eval echo configure:6870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6866 if test -z "$ac_err"; then | 6871 if test -z "$ac_err"; then |
| 6867 rm -rf conftest* | 6872 rm -rf conftest* |
| 6868 eval "ac_cv_header_$ac_safe=yes" | 6873 eval "ac_cv_header_$ac_safe=yes" |
| 6869 else | 6874 else |
| 6892 | 6897 |
| 6893 | 6898 |
| 6894 for ac_func in XRegisterIMInstantiateCallback | 6899 for ac_func in XRegisterIMInstantiateCallback |
| 6895 do | 6900 do |
| 6896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6897 echo "configure:6898: checking for $ac_func" >&5 | 6902 echo "configure:6903: checking for $ac_func" >&5 |
| 6898 | 6903 |
| 6899 cat > conftest.$ac_ext <<EOF | 6904 cat > conftest.$ac_ext <<EOF |
| 6900 #line 6901 "configure" | 6905 #line 6906 "configure" |
| 6901 #include "confdefs.h" | 6906 #include "confdefs.h" |
| 6902 /* System header to define __stub macros and hopefully few prototypes, | 6907 /* System header to define __stub macros and hopefully few prototypes, |
| 6903 which can conflict with char $ac_func(); below. */ | 6908 which can conflict with char $ac_func(); below. */ |
| 6904 #include <assert.h> | 6909 #include <assert.h> |
| 6905 /* Override any gcc2 internal prototype to avoid an error. */ | 6910 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6918 $ac_func(); | 6923 $ac_func(); |
| 6919 #endif | 6924 #endif |
| 6920 | 6925 |
| 6921 ; return 0; } | 6926 ; return 0; } |
| 6922 EOF | 6927 EOF |
| 6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6924 rm -rf conftest* | 6929 rm -rf conftest* |
| 6925 eval "ac_cv_func_$ac_func=yes" | 6930 eval "ac_cv_func_$ac_func=yes" |
| 6926 else | 6931 else |
| 6927 echo "configure: failed program was:" >&5 | 6932 echo "configure: failed program was:" >&5 |
| 6928 cat conftest.$ac_ext >&5 | 6933 cat conftest.$ac_ext >&5 |
| 6946 echo "$ac_t""no" 1>&6 | 6951 echo "$ac_t""no" 1>&6 |
| 6947 fi | 6952 fi |
| 6948 done | 6953 done |
| 6949 | 6954 |
| 6950 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6955 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
| 6951 echo "configure:6952: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6956 echo "configure:6957: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
| 6952 cat > conftest.$ac_ext <<EOF | 6957 cat > conftest.$ac_ext <<EOF |
| 6953 #line 6954 "configure" | 6958 #line 6959 "configure" |
| 6954 #include "confdefs.h" | 6959 #include "confdefs.h" |
| 6955 | 6960 |
| 6956 #define NeedFunctionPrototypes 1 | 6961 #define NeedFunctionPrototypes 1 |
| 6957 #include <X11/Xlib.h> | 6962 #include <X11/Xlib.h> |
| 6958 extern Bool XRegisterIMInstantiateCallback( | 6963 extern Bool XRegisterIMInstantiateCallback( |
| 6960 | 6965 |
| 6961 int main() { | 6966 int main() { |
| 6962 | 6967 |
| 6963 ; return 0; } | 6968 ; return 0; } |
| 6964 EOF | 6969 EOF |
| 6965 if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6970 if { (eval echo configure:6971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 6966 rm -rf conftest* | 6971 rm -rf conftest* |
| 6967 echo "$ac_t""yes" 1>&6 | 6972 echo "$ac_t""yes" 1>&6 |
| 6968 else | 6973 else |
| 6969 echo "configure: failed program was:" >&5 | 6974 echo "configure: failed program was:" >&5 |
| 6970 cat conftest.$ac_ext >&5 | 6975 cat conftest.$ac_ext >&5 |
| 6981 fi | 6986 fi |
| 6982 rm -f conftest* | 6987 rm -f conftest* |
| 6983 | 6988 |
| 6984 test -z "$with_xmu" && { | 6989 test -z "$with_xmu" && { |
| 6985 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6990 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 6986 echo "configure:6987: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6991 echo "configure:6992: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 6987 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6992 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 6988 | 6993 |
| 6989 xe_check_libs=" -lXmu " | 6994 xe_check_libs=" -lXmu " |
| 6990 cat > conftest.$ac_ext <<EOF | 6995 cat > conftest.$ac_ext <<EOF |
| 6991 #line 6992 "configure" | 6996 #line 6997 "configure" |
| 6992 #include "confdefs.h" | 6997 #include "confdefs.h" |
| 6993 /* Override any gcc2 internal prototype to avoid an error. */ | 6998 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6994 /* We use char because int might match the return type of a gcc2 | 6999 /* We use char because int might match the return type of a gcc2 |
| 6995 builtin and then its argument prototype would still apply. */ | 7000 builtin and then its argument prototype would still apply. */ |
| 6996 char XmuReadBitmapDataFromFile(); | 7001 char XmuReadBitmapDataFromFile(); |
| 6997 | 7002 |
| 6998 int main() { | 7003 int main() { |
| 6999 XmuReadBitmapDataFromFile() | 7004 XmuReadBitmapDataFromFile() |
| 7000 ; return 0; } | 7005 ; return 0; } |
| 7001 EOF | 7006 EOF |
| 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7003 rm -rf conftest* | 7008 rm -rf conftest* |
| 7004 eval "ac_cv_lib_$ac_lib_var=yes" | 7009 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7005 else | 7010 else |
| 7006 echo "configure: failed program was:" >&5 | 7011 echo "configure: failed program was:" >&5 |
| 7007 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
| 7036 | 7041 |
| 7037 fi | 7042 fi |
| 7038 | 7043 |
| 7039 | 7044 |
| 7040 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7045 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 7041 echo "configure:7042: checking for main in -lXbsd" >&5 | 7046 echo "configure:7047: checking for main in -lXbsd" >&5 |
| 7042 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7047 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 7043 | 7048 |
| 7044 xe_check_libs=" -lXbsd " | 7049 xe_check_libs=" -lXbsd " |
| 7045 cat > conftest.$ac_ext <<EOF | 7050 cat > conftest.$ac_ext <<EOF |
| 7046 #line 7047 "configure" | 7051 #line 7052 "configure" |
| 7047 #include "confdefs.h" | 7052 #include "confdefs.h" |
| 7048 | 7053 |
| 7049 int main() { | 7054 int main() { |
| 7050 main() | 7055 main() |
| 7051 ; return 0; } | 7056 ; return 0; } |
| 7052 EOF | 7057 EOF |
| 7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7054 rm -rf conftest* | 7059 rm -rf conftest* |
| 7055 eval "ac_cv_lib_$ac_lib_var=yes" | 7060 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7056 else | 7061 else |
| 7057 echo "configure: failed program was:" >&5 | 7062 echo "configure: failed program was:" >&5 |
| 7058 cat conftest.$ac_ext >&5 | 7063 cat conftest.$ac_ext >&5 |
| 7085 fi | 7090 fi |
| 7086 | 7091 |
| 7087 fi | 7092 fi |
| 7088 if test "$with_msw" != "no"; then | 7093 if test "$with_msw" != "no"; then |
| 7089 echo "checking for MS-Windows" 1>&6 | 7094 echo "checking for MS-Windows" 1>&6 |
| 7090 echo "configure:7091: checking for MS-Windows" >&5 | 7095 echo "configure:7096: checking for MS-Windows" >&5 |
| 7091 | 7096 |
| 7092 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7097 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 7093 echo "configure:7094: checking for main in -lgdi32" >&5 | 7098 echo "configure:7099: checking for main in -lgdi32" >&5 |
| 7094 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7099 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 7095 | 7100 |
| 7096 xe_check_libs=" -lgdi32 " | 7101 xe_check_libs=" -lgdi32 " |
| 7097 cat > conftest.$ac_ext <<EOF | 7102 cat > conftest.$ac_ext <<EOF |
| 7098 #line 7099 "configure" | 7103 #line 7104 "configure" |
| 7099 #include "confdefs.h" | 7104 #include "confdefs.h" |
| 7100 | 7105 |
| 7101 int main() { | 7106 int main() { |
| 7102 main() | 7107 main() |
| 7103 ; return 0; } | 7108 ; return 0; } |
| 7104 EOF | 7109 EOF |
| 7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7106 rm -rf conftest* | 7111 rm -rf conftest* |
| 7107 eval "ac_cv_lib_$ac_lib_var=yes" | 7112 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7108 else | 7113 else |
| 7109 echo "configure: failed program was:" >&5 | 7114 echo "configure: failed program was:" >&5 |
| 7110 cat conftest.$ac_ext >&5 | 7115 cat conftest.$ac_ext >&5 |
| 7151 test "$with_toolbars" != "no" && with_toolbars=msw | 7156 test "$with_toolbars" != "no" && with_toolbars=msw |
| 7152 test "$with_dialogs" != "no" && with_dialogs=msw | 7157 test "$with_dialogs" != "no" && with_dialogs=msw |
| 7153 test "$with_widgets" != "no" && with_widgets=msw | 7158 test "$with_widgets" != "no" && with_widgets=msw |
| 7154 fi | 7159 fi |
| 7155 cat > conftest.$ac_ext <<EOF | 7160 cat > conftest.$ac_ext <<EOF |
| 7156 #line 7157 "configure" | 7161 #line 7162 "configure" |
| 7157 #include "confdefs.h" | 7162 #include "confdefs.h" |
| 7158 #include <fcntl.h> | 7163 #include <fcntl.h> |
| 7159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7164 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 7160 EOF | 7165 EOF |
| 7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7166 if { (eval echo configure:7167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7162 then | 7167 then |
| 7163 { test "$extra_verbose" = "yes" && cat << \EOF | 7168 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7164 Defining HAVE_MSG_SELECT | 7169 Defining HAVE_MSG_SELECT |
| 7165 EOF | 7170 EOF |
| 7166 cat >> confdefs.h <<\EOF | 7171 cat >> confdefs.h <<\EOF |
| 7217 fi | 7222 fi |
| 7218 | 7223 |
| 7219 if test "$with_x11" = "yes"; then | 7224 if test "$with_x11" = "yes"; then |
| 7220 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7225 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
| 7221 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
| 7222 echo "configure:7223: checking for X11/extensions/shape.h" >&5 | 7227 echo "configure:7228: checking for X11/extensions/shape.h" >&5 |
| 7223 | 7228 |
| 7224 cat > conftest.$ac_ext <<EOF | 7229 cat > conftest.$ac_ext <<EOF |
| 7225 #line 7226 "configure" | 7230 #line 7231 "configure" |
| 7226 #include "confdefs.h" | 7231 #include "confdefs.h" |
| 7227 #include <X11/extensions/shape.h> | 7232 #include <X11/extensions/shape.h> |
| 7228 EOF | 7233 EOF |
| 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7232 if test -z "$ac_err"; then | 7237 if test -z "$ac_err"; then |
| 7233 rm -rf conftest* | 7238 rm -rf conftest* |
| 7234 eval "ac_cv_header_$ac_safe=yes" | 7239 eval "ac_cv_header_$ac_safe=yes" |
| 7235 else | 7240 else |
| 7275 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7280 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 7276 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7281 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 7277 esac | 7282 esac |
| 7278 | 7283 |
| 7279 echo "checking for WM_COMMAND option" 1>&6 | 7284 echo "checking for WM_COMMAND option" 1>&6 |
| 7280 echo "configure:7281: checking for WM_COMMAND option" >&5; | 7285 echo "configure:7286: checking for WM_COMMAND option" >&5; |
| 7281 if test "$with_wmcommand" != "no"; then | 7286 if test "$with_wmcommand" != "no"; then |
| 7282 { test "$extra_verbose" = "yes" && cat << \EOF | 7287 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7283 Defining HAVE_WMCOMMAND | 7288 Defining HAVE_WMCOMMAND |
| 7284 EOF | 7289 EOF |
| 7285 cat >> confdefs.h <<\EOF | 7290 cat >> confdefs.h <<\EOF |
| 7290 fi | 7295 fi |
| 7291 | 7296 |
| 7292 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7297 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 7293 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7298 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 7294 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7299 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 7295 echo "configure:7296: checking for X11/Xauth.h" >&5 | 7300 echo "configure:7301: checking for X11/Xauth.h" >&5 |
| 7296 | 7301 |
| 7297 cat > conftest.$ac_ext <<EOF | 7302 cat > conftest.$ac_ext <<EOF |
| 7298 #line 7299 "configure" | 7303 #line 7304 "configure" |
| 7299 #include "confdefs.h" | 7304 #include "confdefs.h" |
| 7300 #include <X11/Xauth.h> | 7305 #include <X11/Xauth.h> |
| 7301 EOF | 7306 EOF |
| 7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7308 { (eval echo configure:7309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7305 if test -z "$ac_err"; then | 7310 if test -z "$ac_err"; then |
| 7306 rm -rf conftest* | 7311 rm -rf conftest* |
| 7307 eval "ac_cv_header_$ac_safe=yes" | 7312 eval "ac_cv_header_$ac_safe=yes" |
| 7308 else | 7313 else |
| 7321 with_xauth=no | 7326 with_xauth=no |
| 7322 fi | 7327 fi |
| 7323 } | 7328 } |
| 7324 test -z "$with_xauth" && { | 7329 test -z "$with_xauth" && { |
| 7325 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7330 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 7326 echo "configure:7327: checking for XauGetAuthByAddr in -lXau" >&5 | 7331 echo "configure:7332: checking for XauGetAuthByAddr in -lXau" >&5 |
| 7327 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7332 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 7328 | 7333 |
| 7329 xe_check_libs=" -lXau " | 7334 xe_check_libs=" -lXau " |
| 7330 cat > conftest.$ac_ext <<EOF | 7335 cat > conftest.$ac_ext <<EOF |
| 7331 #line 7332 "configure" | 7336 #line 7337 "configure" |
| 7332 #include "confdefs.h" | 7337 #include "confdefs.h" |
| 7333 /* Override any gcc2 internal prototype to avoid an error. */ | 7338 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7334 /* We use char because int might match the return type of a gcc2 | 7339 /* We use char because int might match the return type of a gcc2 |
| 7335 builtin and then its argument prototype would still apply. */ | 7340 builtin and then its argument prototype would still apply. */ |
| 7336 char XauGetAuthByAddr(); | 7341 char XauGetAuthByAddr(); |
| 7337 | 7342 |
| 7338 int main() { | 7343 int main() { |
| 7339 XauGetAuthByAddr() | 7344 XauGetAuthByAddr() |
| 7340 ; return 0; } | 7345 ; return 0; } |
| 7341 EOF | 7346 EOF |
| 7342 if { (eval echo configure:7343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7347 if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7343 rm -rf conftest* | 7348 rm -rf conftest* |
| 7344 eval "ac_cv_lib_$ac_lib_var=yes" | 7349 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7345 else | 7350 else |
| 7346 echo "configure: failed program was:" >&5 | 7351 echo "configure: failed program was:" >&5 |
| 7347 cat conftest.$ac_ext >&5 | 7352 cat conftest.$ac_ext >&5 |
| 7382 | 7387 |
| 7383 if test "$with_tooltalk" != "no" ; then | 7388 if test "$with_tooltalk" != "no" ; then |
| 7384 for dir in "" "Tt/" "desktop/" ; do | 7389 for dir in "" "Tt/" "desktop/" ; do |
| 7385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7390 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 7386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7391 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 7387 echo "configure:7388: checking for ${dir}tt_c.h" >&5 | 7392 echo "configure:7393: checking for ${dir}tt_c.h" >&5 |
| 7388 | 7393 |
| 7389 cat > conftest.$ac_ext <<EOF | 7394 cat > conftest.$ac_ext <<EOF |
| 7390 #line 7391 "configure" | 7395 #line 7396 "configure" |
| 7391 #include "confdefs.h" | 7396 #include "confdefs.h" |
| 7392 #include <${dir}tt_c.h> | 7397 #include <${dir}tt_c.h> |
| 7393 EOF | 7398 EOF |
| 7394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7395 { (eval echo configure:7396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7400 { (eval echo configure:7401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7397 if test -z "$ac_err"; then | 7402 if test -z "$ac_err"; then |
| 7398 rm -rf conftest* | 7403 rm -rf conftest* |
| 7399 eval "ac_cv_header_$ac_safe=yes" | 7404 eval "ac_cv_header_$ac_safe=yes" |
| 7400 else | 7405 else |
| 7426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7431 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 7427 | 7432 |
| 7428 xe_msg_checking="for tt_message_create in -ltt" | 7433 xe_msg_checking="for tt_message_create in -ltt" |
| 7429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7434 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 7430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7435 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7431 echo "configure:7432: checking "$xe_msg_checking"" >&5 | 7436 echo "configure:7437: checking "$xe_msg_checking"" >&5 |
| 7432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7437 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 7433 | 7438 |
| 7434 xe_check_libs=" -ltt $extra_libs" | 7439 xe_check_libs=" -ltt $extra_libs" |
| 7435 cat > conftest.$ac_ext <<EOF | 7440 cat > conftest.$ac_ext <<EOF |
| 7436 #line 7437 "configure" | 7441 #line 7442 "configure" |
| 7437 #include "confdefs.h" | 7442 #include "confdefs.h" |
| 7438 /* Override any gcc2 internal prototype to avoid an error. */ | 7443 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7439 /* We use char because int might match the return type of a gcc2 | 7444 /* We use char because int might match the return type of a gcc2 |
| 7440 builtin and then its argument prototype would still apply. */ | 7445 builtin and then its argument prototype would still apply. */ |
| 7441 char tt_message_create(); | 7446 char tt_message_create(); |
| 7442 | 7447 |
| 7443 int main() { | 7448 int main() { |
| 7444 tt_message_create() | 7449 tt_message_create() |
| 7445 ; return 0; } | 7450 ; return 0; } |
| 7446 EOF | 7451 EOF |
| 7447 if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7452 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7448 rm -rf conftest* | 7453 rm -rf conftest* |
| 7449 eval "ac_cv_lib_$ac_lib_var=yes" | 7454 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7450 else | 7455 else |
| 7451 echo "configure: failed program was:" >&5 | 7456 echo "configure: failed program was:" >&5 |
| 7452 cat conftest.$ac_ext >&5 | 7457 cat conftest.$ac_ext >&5 |
| 7496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7501 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
| 7497 fi | 7502 fi |
| 7498 | 7503 |
| 7499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7504 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 7500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7505 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 7501 echo "configure:7502: checking for Dt/Dt.h" >&5 | 7506 echo "configure:7507: checking for Dt/Dt.h" >&5 |
| 7502 | 7507 |
| 7503 cat > conftest.$ac_ext <<EOF | 7508 cat > conftest.$ac_ext <<EOF |
| 7504 #line 7505 "configure" | 7509 #line 7510 "configure" |
| 7505 #include "confdefs.h" | 7510 #include "confdefs.h" |
| 7506 #include <Dt/Dt.h> | 7511 #include <Dt/Dt.h> |
| 7507 EOF | 7512 EOF |
| 7508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7509 { (eval echo configure:7510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7514 { (eval echo configure:7515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7511 if test -z "$ac_err"; then | 7516 if test -z "$ac_err"; then |
| 7512 rm -rf conftest* | 7517 rm -rf conftest* |
| 7513 eval "ac_cv_header_$ac_safe=yes" | 7518 eval "ac_cv_header_$ac_safe=yes" |
| 7514 else | 7519 else |
| 7527 with_cde=no | 7532 with_cde=no |
| 7528 fi | 7533 fi |
| 7529 } | 7534 } |
| 7530 test -z "$with_cde" && { | 7535 test -z "$with_cde" && { |
| 7531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7536 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 7532 echo "configure:7533: checking for DtDndDragStart in -lDtSvc" >&5 | 7537 echo "configure:7538: checking for DtDndDragStart in -lDtSvc" >&5 |
| 7533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7538 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 7534 | 7539 |
| 7535 xe_check_libs=" -lDtSvc " | 7540 xe_check_libs=" -lDtSvc " |
| 7536 cat > conftest.$ac_ext <<EOF | 7541 cat > conftest.$ac_ext <<EOF |
| 7537 #line 7538 "configure" | 7542 #line 7543 "configure" |
| 7538 #include "confdefs.h" | 7543 #include "confdefs.h" |
| 7539 /* Override any gcc2 internal prototype to avoid an error. */ | 7544 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7540 /* We use char because int might match the return type of a gcc2 | 7545 /* We use char because int might match the return type of a gcc2 |
| 7541 builtin and then its argument prototype would still apply. */ | 7546 builtin and then its argument prototype would still apply. */ |
| 7542 char DtDndDragStart(); | 7547 char DtDndDragStart(); |
| 7543 | 7548 |
| 7544 int main() { | 7549 int main() { |
| 7545 DtDndDragStart() | 7550 DtDndDragStart() |
| 7546 ; return 0; } | 7551 ; return 0; } |
| 7547 EOF | 7552 EOF |
| 7548 if { (eval echo configure:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7549 rm -rf conftest* | 7554 rm -rf conftest* |
| 7550 eval "ac_cv_lib_$ac_lib_var=yes" | 7555 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7551 else | 7556 else |
| 7552 echo "configure: failed program was:" >&5 | 7557 echo "configure: failed program was:" >&5 |
| 7553 cat conftest.$ac_ext >&5 | 7558 cat conftest.$ac_ext >&5 |
| 7624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7629 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
| 7625 fi | 7630 fi |
| 7626 | 7631 |
| 7627 if test "$with_dragndrop" != "no" ; then | 7632 if test "$with_dragndrop" != "no" ; then |
| 7628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7633 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 7629 echo "configure:7630: checking if drag and drop API is needed" >&5 | 7634 echo "configure:7635: checking if drag and drop API is needed" >&5 |
| 7630 if test -n "$dragndrop_proto" ; then | 7635 if test -n "$dragndrop_proto" ; then |
| 7631 with_dragndrop=yes | 7636 with_dragndrop=yes |
| 7632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7637 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 7633 { test "$extra_verbose" = "yes" && cat << \EOF | 7638 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7634 Defining HAVE_DRAGNDROP | 7639 Defining HAVE_DRAGNDROP |
| 7644 echo "$ac_t""no" 1>&6 | 7649 echo "$ac_t""no" 1>&6 |
| 7645 fi | 7650 fi |
| 7646 fi | 7651 fi |
| 7647 | 7652 |
| 7648 echo "checking for LDAP" 1>&6 | 7653 echo "checking for LDAP" 1>&6 |
| 7649 echo "configure:7650: checking for LDAP" >&5 | 7654 echo "configure:7655: checking for LDAP" >&5 |
| 7650 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7655 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 7651 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7656 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 7652 echo "configure:7653: checking for ldap.h" >&5 | 7657 echo "configure:7658: checking for ldap.h" >&5 |
| 7653 | 7658 |
| 7654 cat > conftest.$ac_ext <<EOF | 7659 cat > conftest.$ac_ext <<EOF |
| 7655 #line 7656 "configure" | 7660 #line 7661 "configure" |
| 7656 #include "confdefs.h" | 7661 #include "confdefs.h" |
| 7657 #include <ldap.h> | 7662 #include <ldap.h> |
| 7658 EOF | 7663 EOF |
| 7659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7660 { (eval echo configure:7661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7665 { (eval echo configure:7666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7662 if test -z "$ac_err"; then | 7667 if test -z "$ac_err"; then |
| 7663 rm -rf conftest* | 7668 rm -rf conftest* |
| 7664 eval "ac_cv_header_$ac_safe=yes" | 7669 eval "ac_cv_header_$ac_safe=yes" |
| 7665 else | 7670 else |
| 7678 with_ldap=no | 7683 with_ldap=no |
| 7679 fi | 7684 fi |
| 7680 } | 7685 } |
| 7681 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7686 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 7682 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7687 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 7683 echo "configure:7684: checking for lber.h" >&5 | 7688 echo "configure:7689: checking for lber.h" >&5 |
| 7684 | 7689 |
| 7685 cat > conftest.$ac_ext <<EOF | 7690 cat > conftest.$ac_ext <<EOF |
| 7686 #line 7687 "configure" | 7691 #line 7692 "configure" |
| 7687 #include "confdefs.h" | 7692 #include "confdefs.h" |
| 7688 #include <lber.h> | 7693 #include <lber.h> |
| 7689 EOF | 7694 EOF |
| 7690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7691 { (eval echo configure:7692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7696 { (eval echo configure:7697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7693 if test -z "$ac_err"; then | 7698 if test -z "$ac_err"; then |
| 7694 rm -rf conftest* | 7699 rm -rf conftest* |
| 7695 eval "ac_cv_header_$ac_safe=yes" | 7700 eval "ac_cv_header_$ac_safe=yes" |
| 7696 else | 7701 else |
| 7710 fi | 7715 fi |
| 7711 } | 7716 } |
| 7712 if test "$with_ldap" != "no"; then | 7717 if test "$with_ldap" != "no"; then |
| 7713 | 7718 |
| 7714 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7719 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 7715 echo "configure:7716: checking for ldap_search in -lldap" >&5 | 7720 echo "configure:7721: checking for ldap_search in -lldap" >&5 |
| 7716 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7721 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 7717 | 7722 |
| 7718 xe_check_libs=" -lldap " | 7723 xe_check_libs=" -lldap " |
| 7719 cat > conftest.$ac_ext <<EOF | 7724 cat > conftest.$ac_ext <<EOF |
| 7720 #line 7721 "configure" | 7725 #line 7726 "configure" |
| 7721 #include "confdefs.h" | 7726 #include "confdefs.h" |
| 7722 /* Override any gcc2 internal prototype to avoid an error. */ | 7727 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7723 /* We use char because int might match the return type of a gcc2 | 7728 /* We use char because int might match the return type of a gcc2 |
| 7724 builtin and then its argument prototype would still apply. */ | 7729 builtin and then its argument prototype would still apply. */ |
| 7725 char ldap_search(); | 7730 char ldap_search(); |
| 7726 | 7731 |
| 7727 int main() { | 7732 int main() { |
| 7728 ldap_search() | 7733 ldap_search() |
| 7729 ; return 0; } | 7734 ; return 0; } |
| 7730 EOF | 7735 EOF |
| 7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7732 rm -rf conftest* | 7737 rm -rf conftest* |
| 7733 eval "ac_cv_lib_$ac_lib_var=yes" | 7738 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7734 else | 7739 else |
| 7735 echo "configure: failed program was:" >&5 | 7740 echo "configure: failed program was:" >&5 |
| 7736 cat conftest.$ac_ext >&5 | 7741 cat conftest.$ac_ext >&5 |
| 7751 | 7756 |
| 7752 test "$with_ldap_nolber" = "no" && { | 7757 test "$with_ldap_nolber" = "no" && { |
| 7753 xe_msg_checking="for ldap_open in -lldap" | 7758 xe_msg_checking="for ldap_open in -lldap" |
| 7754 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7759 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 7755 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7760 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7756 echo "configure:7757: checking "$xe_msg_checking"" >&5 | 7761 echo "configure:7762: checking "$xe_msg_checking"" >&5 |
| 7757 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7762 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7758 | 7763 |
| 7759 xe_check_libs=" -lldap -llber" | 7764 xe_check_libs=" -lldap -llber" |
| 7760 cat > conftest.$ac_ext <<EOF | 7765 cat > conftest.$ac_ext <<EOF |
| 7761 #line 7762 "configure" | 7766 #line 7767 "configure" |
| 7762 #include "confdefs.h" | 7767 #include "confdefs.h" |
| 7763 /* Override any gcc2 internal prototype to avoid an error. */ | 7768 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7764 /* We use char because int might match the return type of a gcc2 | 7769 /* We use char because int might match the return type of a gcc2 |
| 7765 builtin and then its argument prototype would still apply. */ | 7770 builtin and then its argument prototype would still apply. */ |
| 7766 char ldap_open(); | 7771 char ldap_open(); |
| 7767 | 7772 |
| 7768 int main() { | 7773 int main() { |
| 7769 ldap_open() | 7774 ldap_open() |
| 7770 ; return 0; } | 7775 ; return 0; } |
| 7771 EOF | 7776 EOF |
| 7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7773 rm -rf conftest* | 7778 rm -rf conftest* |
| 7774 eval "ac_cv_lib_$ac_lib_var=yes" | 7779 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7775 else | 7780 else |
| 7776 echo "configure: failed program was:" >&5 | 7781 echo "configure: failed program was:" >&5 |
| 7777 cat conftest.$ac_ext >&5 | 7782 cat conftest.$ac_ext >&5 |
| 7792 } | 7797 } |
| 7793 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7798 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 7794 xe_msg_checking="for ldap_open in -lldap" | 7799 xe_msg_checking="for ldap_open in -lldap" |
| 7795 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7800 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 7796 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7801 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7797 echo "configure:7798: checking "$xe_msg_checking"" >&5 | 7802 echo "configure:7803: checking "$xe_msg_checking"" >&5 |
| 7798 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7803 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7799 | 7804 |
| 7800 xe_check_libs=" -lldap -llber -lkrb" | 7805 xe_check_libs=" -lldap -llber -lkrb" |
| 7801 cat > conftest.$ac_ext <<EOF | 7806 cat > conftest.$ac_ext <<EOF |
| 7802 #line 7803 "configure" | 7807 #line 7808 "configure" |
| 7803 #include "confdefs.h" | 7808 #include "confdefs.h" |
| 7804 /* Override any gcc2 internal prototype to avoid an error. */ | 7809 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7805 /* We use char because int might match the return type of a gcc2 | 7810 /* We use char because int might match the return type of a gcc2 |
| 7806 builtin and then its argument prototype would still apply. */ | 7811 builtin and then its argument prototype would still apply. */ |
| 7807 char ldap_open(); | 7812 char ldap_open(); |
| 7808 | 7813 |
| 7809 int main() { | 7814 int main() { |
| 7810 ldap_open() | 7815 ldap_open() |
| 7811 ; return 0; } | 7816 ; return 0; } |
| 7812 EOF | 7817 EOF |
| 7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7818 if { (eval echo configure:7819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7814 rm -rf conftest* | 7819 rm -rf conftest* |
| 7815 eval "ac_cv_lib_$ac_lib_var=yes" | 7820 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7816 else | 7821 else |
| 7817 echo "configure: failed program was:" >&5 | 7822 echo "configure: failed program was:" >&5 |
| 7818 cat conftest.$ac_ext >&5 | 7823 cat conftest.$ac_ext >&5 |
| 7833 } | 7838 } |
| 7834 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7839 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 7835 xe_msg_checking="for ldap_open in -lldap" | 7840 xe_msg_checking="for ldap_open in -lldap" |
| 7836 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7841 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 7837 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7842 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7838 echo "configure:7839: checking "$xe_msg_checking"" >&5 | 7843 echo "configure:7844: checking "$xe_msg_checking"" >&5 |
| 7839 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7844 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7840 | 7845 |
| 7841 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7846 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 7842 cat > conftest.$ac_ext <<EOF | 7847 cat > conftest.$ac_ext <<EOF |
| 7843 #line 7844 "configure" | 7848 #line 7849 "configure" |
| 7844 #include "confdefs.h" | 7849 #include "confdefs.h" |
| 7845 /* Override any gcc2 internal prototype to avoid an error. */ | 7850 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7846 /* We use char because int might match the return type of a gcc2 | 7851 /* We use char because int might match the return type of a gcc2 |
| 7847 builtin and then its argument prototype would still apply. */ | 7852 builtin and then its argument prototype would still apply. */ |
| 7848 char ldap_open(); | 7853 char ldap_open(); |
| 7849 | 7854 |
| 7850 int main() { | 7855 int main() { |
| 7851 ldap_open() | 7856 ldap_open() |
| 7852 ; return 0; } | 7857 ; return 0; } |
| 7853 EOF | 7858 EOF |
| 7854 if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7859 if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7855 rm -rf conftest* | 7860 rm -rf conftest* |
| 7856 eval "ac_cv_lib_$ac_lib_var=yes" | 7861 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7857 else | 7862 else |
| 7858 echo "configure: failed program was:" >&5 | 7863 echo "configure: failed program was:" >&5 |
| 7859 cat conftest.$ac_ext >&5 | 7864 cat conftest.$ac_ext >&5 |
| 7897 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7902 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
| 7898 fi | 7903 fi |
| 7899 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7904 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 7900 do | 7905 do |
| 7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7902 echo "configure:7903: checking for $ac_func" >&5 | 7907 echo "configure:7908: checking for $ac_func" >&5 |
| 7903 | 7908 |
| 7904 cat > conftest.$ac_ext <<EOF | 7909 cat > conftest.$ac_ext <<EOF |
| 7905 #line 7906 "configure" | 7910 #line 7911 "configure" |
| 7906 #include "confdefs.h" | 7911 #include "confdefs.h" |
| 7907 /* System header to define __stub macros and hopefully few prototypes, | 7912 /* System header to define __stub macros and hopefully few prototypes, |
| 7908 which can conflict with char $ac_func(); below. */ | 7913 which can conflict with char $ac_func(); below. */ |
| 7909 #include <assert.h> | 7914 #include <assert.h> |
| 7910 /* Override any gcc2 internal prototype to avoid an error. */ | 7915 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7923 $ac_func(); | 7928 $ac_func(); |
| 7924 #endif | 7929 #endif |
| 7925 | 7930 |
| 7926 ; return 0; } | 7931 ; return 0; } |
| 7927 EOF | 7932 EOF |
| 7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7929 rm -rf conftest* | 7934 rm -rf conftest* |
| 7930 eval "ac_cv_func_$ac_func=yes" | 7935 eval "ac_cv_func_$ac_func=yes" |
| 7931 else | 7936 else |
| 7932 echo "configure: failed program was:" >&5 | 7937 echo "configure: failed program was:" >&5 |
| 7933 cat conftest.$ac_ext >&5 | 7938 cat conftest.$ac_ext >&5 |
| 7954 | 7959 |
| 7955 fi | 7960 fi |
| 7956 | 7961 |
| 7957 if test "$with_postgresql" != "no"; then | 7962 if test "$with_postgresql" != "no"; then |
| 7958 echo "checking for PostgreSQL" 1>&6 | 7963 echo "checking for PostgreSQL" 1>&6 |
| 7959 echo "configure:7960: checking for PostgreSQL" >&5 | 7964 echo "configure:7965: checking for PostgreSQL" >&5 |
| 7960 | 7965 |
| 7961 for header_dir in "" "pgsql/" "postgresql/"; do | 7966 for header_dir in "" "pgsql/" "postgresql/"; do |
| 7962 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7967 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
| 7963 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7968 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
| 7964 echo "configure:7965: checking for ${header_dir}libpq-fe.h" >&5 | 7969 echo "configure:7970: checking for ${header_dir}libpq-fe.h" >&5 |
| 7965 | 7970 |
| 7966 cat > conftest.$ac_ext <<EOF | 7971 cat > conftest.$ac_ext <<EOF |
| 7967 #line 7968 "configure" | 7972 #line 7973 "configure" |
| 7968 #include "confdefs.h" | 7973 #include "confdefs.h" |
| 7969 #include <${header_dir}libpq-fe.h> | 7974 #include <${header_dir}libpq-fe.h> |
| 7970 EOF | 7975 EOF |
| 7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7974 if test -z "$ac_err"; then | 7979 if test -z "$ac_err"; then |
| 7975 rm -rf conftest* | 7980 rm -rf conftest* |
| 7976 eval "ac_cv_header_$ac_safe=yes" | 7981 eval "ac_cv_header_$ac_safe=yes" |
| 7977 else | 7982 else |
| 7991 | 7996 |
| 7992 done | 7997 done |
| 7993 | 7998 |
| 7994 test -n "$libpq_fe_h_file" && { | 7999 test -n "$libpq_fe_h_file" && { |
| 7995 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8000 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
| 7996 echo "configure:7997: checking for PQconnectdb in -lpq" >&5 | 8001 echo "configure:8002: checking for PQconnectdb in -lpq" >&5 |
| 7997 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8002 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
| 7998 | 8003 |
| 7999 xe_check_libs=" -lpq " | 8004 xe_check_libs=" -lpq " |
| 8000 cat > conftest.$ac_ext <<EOF | 8005 cat > conftest.$ac_ext <<EOF |
| 8001 #line 8002 "configure" | 8006 #line 8007 "configure" |
| 8002 #include "confdefs.h" | 8007 #include "confdefs.h" |
| 8003 /* Override any gcc2 internal prototype to avoid an error. */ | 8008 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8004 /* We use char because int might match the return type of a gcc2 | 8009 /* We use char because int might match the return type of a gcc2 |
| 8005 builtin and then its argument prototype would still apply. */ | 8010 builtin and then its argument prototype would still apply. */ |
| 8006 char PQconnectdb(); | 8011 char PQconnectdb(); |
| 8007 | 8012 |
| 8008 int main() { | 8013 int main() { |
| 8009 PQconnectdb() | 8014 PQconnectdb() |
| 8010 ; return 0; } | 8015 ; return 0; } |
| 8011 EOF | 8016 EOF |
| 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8013 rm -rf conftest* | 8018 rm -rf conftest* |
| 8014 eval "ac_cv_lib_$ac_lib_var=yes" | 8019 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8015 else | 8020 else |
| 8016 echo "configure: failed program was:" >&5 | 8021 echo "configure: failed program was:" >&5 |
| 8017 cat conftest.$ac_ext >&5 | 8022 cat conftest.$ac_ext >&5 |
| 8040 EOF | 8045 EOF |
| 8041 } | 8046 } |
| 8042 | 8047 |
| 8043 | 8048 |
| 8044 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8049 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
| 8045 echo "configure:8046: checking for PQconnectStart in -lpq" >&5 | 8050 echo "configure:8051: checking for PQconnectStart in -lpq" >&5 |
| 8046 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8051 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
| 8047 | 8052 |
| 8048 xe_check_libs=" -lpq " | 8053 xe_check_libs=" -lpq " |
| 8049 cat > conftest.$ac_ext <<EOF | 8054 cat > conftest.$ac_ext <<EOF |
| 8050 #line 8051 "configure" | 8055 #line 8056 "configure" |
| 8051 #include "confdefs.h" | 8056 #include "confdefs.h" |
| 8052 /* Override any gcc2 internal prototype to avoid an error. */ | 8057 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8053 /* We use char because int might match the return type of a gcc2 | 8058 /* We use char because int might match the return type of a gcc2 |
| 8054 builtin and then its argument prototype would still apply. */ | 8059 builtin and then its argument prototype would still apply. */ |
| 8055 char PQconnectStart(); | 8060 char PQconnectStart(); |
| 8056 | 8061 |
| 8057 int main() { | 8062 int main() { |
| 8058 PQconnectStart() | 8063 PQconnectStart() |
| 8059 ; return 0; } | 8064 ; return 0; } |
| 8060 EOF | 8065 EOF |
| 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8066 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8062 rm -rf conftest* | 8067 rm -rf conftest* |
| 8063 eval "ac_cv_lib_$ac_lib_var=yes" | 8068 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8064 else | 8069 else |
| 8065 echo "configure: failed program was:" >&5 | 8070 echo "configure: failed program was:" >&5 |
| 8066 cat conftest.$ac_ext >&5 | 8071 cat conftest.$ac_ext >&5 |
| 8101 fi | 8106 fi |
| 8102 | 8107 |
| 8103 | 8108 |
| 8104 if test "$window_system" != "none"; then | 8109 if test "$window_system" != "none"; then |
| 8105 echo "checking for graphics libraries" 1>&6 | 8110 echo "checking for graphics libraries" 1>&6 |
| 8106 echo "configure:8107: checking for graphics libraries" >&5 | 8111 echo "configure:8112: checking for graphics libraries" >&5 |
| 8107 | 8112 |
| 8108 libpath_xpm= | 8113 libpath_xpm= |
| 8109 incpath_xpm= | 8114 incpath_xpm= |
| 8110 case "$opsys" in | 8115 case "$opsys" in |
| 8111 cygwin*) | 8116 cygwin*) |
| 8127 xpm_problem="" | 8132 xpm_problem="" |
| 8128 if test -z "$with_xpm"; then | 8133 if test -z "$with_xpm"; then |
| 8129 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8134 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 8130 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8135 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 8131 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8136 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 8132 echo "configure:8133: checking for Xpm - no older than 3.4f" >&5 | 8137 echo "configure:8138: checking for Xpm - no older than 3.4f" >&5 |
| 8133 xe_check_libs=-lXpm | 8138 xe_check_libs=-lXpm |
| 8134 cat > conftest.$ac_ext <<EOF | 8139 cat > conftest.$ac_ext <<EOF |
| 8135 #line 8136 "configure" | 8140 #line 8141 "configure" |
| 8136 #include "confdefs.h" | 8141 #include "confdefs.h" |
| 8137 #define XPM_NUMBERS | 8142 #define XPM_NUMBERS |
| 8138 #include <X11/xpm.h> | 8143 #include <X11/xpm.h> |
| 8139 int main(int c, char **v) { | 8144 int main(int c, char **v) { |
| 8140 return c == 1 ? 0 : | 8145 return c == 1 ? 0 : |
| 8141 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8146 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 8142 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8147 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 8143 EOF | 8148 EOF |
| 8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8149 if { (eval echo configure:8150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8145 then | 8150 then |
| 8146 ./conftest dummy_arg; xpm_status=$?; | 8151 ./conftest dummy_arg; xpm_status=$?; |
| 8147 if test "$xpm_status" = "0"; then | 8152 if test "$xpm_status" = "0"; then |
| 8148 with_xpm=yes; | 8153 with_xpm=yes; |
| 8149 else | 8154 else |
| 8183 | 8188 |
| 8184 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8189 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 8185 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8190 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 8186 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8191 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 8187 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8192 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 8188 echo "configure:8189: checking for \"FOR_MSW\" xpm" >&5 | 8193 echo "configure:8194: checking for \"FOR_MSW\" xpm" >&5 |
| 8189 xe_check_libs=-lXpm | 8194 xe_check_libs=-lXpm |
| 8190 cat > conftest.$ac_ext <<EOF | 8195 cat > conftest.$ac_ext <<EOF |
| 8191 #line 8192 "configure" | 8196 #line 8197 "configure" |
| 8192 #include "confdefs.h" | 8197 #include "confdefs.h" |
| 8193 | 8198 |
| 8194 int main() { | 8199 int main() { |
| 8195 XpmCreatePixmapFromData() | 8200 XpmCreatePixmapFromData() |
| 8196 ; return 0; } | 8201 ; return 0; } |
| 8197 EOF | 8202 EOF |
| 8198 if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8203 if { (eval echo configure:8204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8199 rm -rf conftest* | 8204 rm -rf conftest* |
| 8200 xpm_for_msw=no | 8205 xpm_for_msw=no |
| 8201 else | 8206 else |
| 8202 echo "configure: failed program was:" >&5 | 8207 echo "configure: failed program was:" >&5 |
| 8203 cat conftest.$ac_ext >&5 | 8208 cat conftest.$ac_ext >&5 |
| 8219 fi | 8224 fi |
| 8220 fi | 8225 fi |
| 8221 | 8226 |
| 8222 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8227 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 8223 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8228 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 8224 echo "configure:8225: checking for compface.h" >&5 | 8229 echo "configure:8230: checking for compface.h" >&5 |
| 8225 | 8230 |
| 8226 cat > conftest.$ac_ext <<EOF | 8231 cat > conftest.$ac_ext <<EOF |
| 8227 #line 8228 "configure" | 8232 #line 8233 "configure" |
| 8228 #include "confdefs.h" | 8233 #include "confdefs.h" |
| 8229 #include <compface.h> | 8234 #include <compface.h> |
| 8230 EOF | 8235 EOF |
| 8231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8232 { (eval echo configure:8233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8237 { (eval echo configure:8238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8234 if test -z "$ac_err"; then | 8239 if test -z "$ac_err"; then |
| 8235 rm -rf conftest* | 8240 rm -rf conftest* |
| 8236 eval "ac_cv_header_$ac_safe=yes" | 8241 eval "ac_cv_header_$ac_safe=yes" |
| 8237 else | 8242 else |
| 8250 with_xface=no | 8255 with_xface=no |
| 8251 fi | 8256 fi |
| 8252 } | 8257 } |
| 8253 test -z "$with_xface" && { | 8258 test -z "$with_xface" && { |
| 8254 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8259 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 8255 echo "configure:8256: checking for UnGenFace in -lcompface" >&5 | 8260 echo "configure:8261: checking for UnGenFace in -lcompface" >&5 |
| 8256 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8261 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 8257 | 8262 |
| 8258 xe_check_libs=" -lcompface " | 8263 xe_check_libs=" -lcompface " |
| 8259 cat > conftest.$ac_ext <<EOF | 8264 cat > conftest.$ac_ext <<EOF |
| 8260 #line 8261 "configure" | 8265 #line 8266 "configure" |
| 8261 #include "confdefs.h" | 8266 #include "confdefs.h" |
| 8262 /* Override any gcc2 internal prototype to avoid an error. */ | 8267 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8263 /* We use char because int might match the return type of a gcc2 | 8268 /* We use char because int might match the return type of a gcc2 |
| 8264 builtin and then its argument prototype would still apply. */ | 8269 builtin and then its argument prototype would still apply. */ |
| 8265 char UnGenFace(); | 8270 char UnGenFace(); |
| 8266 | 8271 |
| 8267 int main() { | 8272 int main() { |
| 8268 UnGenFace() | 8273 UnGenFace() |
| 8269 ; return 0; } | 8274 ; return 0; } |
| 8270 EOF | 8275 EOF |
| 8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8276 if { (eval echo configure:8277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8272 rm -rf conftest* | 8277 rm -rf conftest* |
| 8273 eval "ac_cv_lib_$ac_lib_var=yes" | 8278 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8274 else | 8279 else |
| 8275 echo "configure: failed program was:" >&5 | 8280 echo "configure: failed program was:" >&5 |
| 8276 cat conftest.$ac_ext >&5 | 8281 cat conftest.$ac_ext >&5 |
| 8315 fi | 8320 fi |
| 8316 | 8321 |
| 8317 if test "$with_png $with_tiff" != "no no"; then | 8322 if test "$with_png $with_tiff" != "no no"; then |
| 8318 | 8323 |
| 8319 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8324 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 8320 echo "configure:8321: checking for inflate in -lc" >&5 | 8325 echo "configure:8326: checking for inflate in -lc" >&5 |
| 8321 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8326 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 8322 | 8327 |
| 8323 xe_check_libs=" -lc " | 8328 xe_check_libs=" -lc " |
| 8324 cat > conftest.$ac_ext <<EOF | 8329 cat > conftest.$ac_ext <<EOF |
| 8325 #line 8326 "configure" | 8330 #line 8331 "configure" |
| 8326 #include "confdefs.h" | 8331 #include "confdefs.h" |
| 8327 /* Override any gcc2 internal prototype to avoid an error. */ | 8332 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8328 /* We use char because int might match the return type of a gcc2 | 8333 /* We use char because int might match the return type of a gcc2 |
| 8329 builtin and then its argument prototype would still apply. */ | 8334 builtin and then its argument prototype would still apply. */ |
| 8330 char inflate(); | 8335 char inflate(); |
| 8331 | 8336 |
| 8332 int main() { | 8337 int main() { |
| 8333 inflate() | 8338 inflate() |
| 8334 ; return 0; } | 8339 ; return 0; } |
| 8335 EOF | 8340 EOF |
| 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8341 if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8337 rm -rf conftest* | 8342 rm -rf conftest* |
| 8338 eval "ac_cv_lib_$ac_lib_var=yes" | 8343 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8339 else | 8344 else |
| 8340 echo "configure: failed program was:" >&5 | 8345 echo "configure: failed program was:" >&5 |
| 8341 cat conftest.$ac_ext >&5 | 8346 cat conftest.$ac_ext >&5 |
| 8350 : | 8355 : |
| 8351 else | 8356 else |
| 8352 echo "$ac_t""no" 1>&6 | 8357 echo "$ac_t""no" 1>&6 |
| 8353 | 8358 |
| 8354 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8359 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 8355 echo "configure:8356: checking for inflate in -lz" >&5 | 8360 echo "configure:8361: checking for inflate in -lz" >&5 |
| 8356 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8361 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 8357 | 8362 |
| 8358 xe_check_libs=" -lz " | 8363 xe_check_libs=" -lz " |
| 8359 cat > conftest.$ac_ext <<EOF | 8364 cat > conftest.$ac_ext <<EOF |
| 8360 #line 8361 "configure" | 8365 #line 8366 "configure" |
| 8361 #include "confdefs.h" | 8366 #include "confdefs.h" |
| 8362 /* Override any gcc2 internal prototype to avoid an error. */ | 8367 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8363 /* We use char because int might match the return type of a gcc2 | 8368 /* We use char because int might match the return type of a gcc2 |
| 8364 builtin and then its argument prototype would still apply. */ | 8369 builtin and then its argument prototype would still apply. */ |
| 8365 char inflate(); | 8370 char inflate(); |
| 8366 | 8371 |
| 8367 int main() { | 8372 int main() { |
| 8368 inflate() | 8373 inflate() |
| 8369 ; return 0; } | 8374 ; return 0; } |
| 8370 EOF | 8375 EOF |
| 8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8376 if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8372 rm -rf conftest* | 8377 rm -rf conftest* |
| 8373 eval "ac_cv_lib_$ac_lib_var=yes" | 8378 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8374 else | 8379 else |
| 8375 echo "configure: failed program was:" >&5 | 8380 echo "configure: failed program was:" >&5 |
| 8376 cat conftest.$ac_ext >&5 | 8381 cat conftest.$ac_ext >&5 |
| 8385 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8390 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 8386 else | 8391 else |
| 8387 echo "$ac_t""no" 1>&6 | 8392 echo "$ac_t""no" 1>&6 |
| 8388 | 8393 |
| 8389 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8394 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 8390 echo "configure:8391: checking for inflate in -lgz" >&5 | 8395 echo "configure:8396: checking for inflate in -lgz" >&5 |
| 8391 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8396 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 8392 | 8397 |
| 8393 xe_check_libs=" -lgz " | 8398 xe_check_libs=" -lgz " |
| 8394 cat > conftest.$ac_ext <<EOF | 8399 cat > conftest.$ac_ext <<EOF |
| 8395 #line 8396 "configure" | 8400 #line 8401 "configure" |
| 8396 #include "confdefs.h" | 8401 #include "confdefs.h" |
| 8397 /* Override any gcc2 internal prototype to avoid an error. */ | 8402 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8398 /* We use char because int might match the return type of a gcc2 | 8403 /* We use char because int might match the return type of a gcc2 |
| 8399 builtin and then its argument prototype would still apply. */ | 8404 builtin and then its argument prototype would still apply. */ |
| 8400 char inflate(); | 8405 char inflate(); |
| 8401 | 8406 |
| 8402 int main() { | 8407 int main() { |
| 8403 inflate() | 8408 inflate() |
| 8404 ; return 0; } | 8409 ; return 0; } |
| 8405 EOF | 8410 EOF |
| 8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8411 if { (eval echo configure:8412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8407 rm -rf conftest* | 8412 rm -rf conftest* |
| 8408 eval "ac_cv_lib_$ac_lib_var=yes" | 8413 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8409 else | 8414 else |
| 8410 echo "configure: failed program was:" >&5 | 8415 echo "configure: failed program was:" >&5 |
| 8411 cat conftest.$ac_ext >&5 | 8416 cat conftest.$ac_ext >&5 |
| 8431 | 8436 |
| 8432 fi | 8437 fi |
| 8433 | 8438 |
| 8434 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8439 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 8435 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8440 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 8436 echo "configure:8437: checking for jpeglib.h" >&5 | 8441 echo "configure:8442: checking for jpeglib.h" >&5 |
| 8437 | 8442 |
| 8438 cat > conftest.$ac_ext <<EOF | 8443 cat > conftest.$ac_ext <<EOF |
| 8439 #line 8440 "configure" | 8444 #line 8445 "configure" |
| 8440 #include "confdefs.h" | 8445 #include "confdefs.h" |
| 8441 #include <jpeglib.h> | 8446 #include <jpeglib.h> |
| 8442 EOF | 8447 EOF |
| 8443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8444 { (eval echo configure:8445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8446 if test -z "$ac_err"; then | 8451 if test -z "$ac_err"; then |
| 8447 rm -rf conftest* | 8452 rm -rf conftest* |
| 8448 eval "ac_cv_header_$ac_safe=yes" | 8453 eval "ac_cv_header_$ac_safe=yes" |
| 8449 else | 8454 else |
| 8462 with_jpeg=no | 8467 with_jpeg=no |
| 8463 fi | 8468 fi |
| 8464 } | 8469 } |
| 8465 test -z "$with_jpeg" && { | 8470 test -z "$with_jpeg" && { |
| 8466 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8471 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 8467 echo "configure:8468: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8472 echo "configure:8473: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 8468 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8473 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 8469 | 8474 |
| 8470 xe_check_libs=" -ljpeg " | 8475 xe_check_libs=" -ljpeg " |
| 8471 cat > conftest.$ac_ext <<EOF | 8476 cat > conftest.$ac_ext <<EOF |
| 8472 #line 8473 "configure" | 8477 #line 8478 "configure" |
| 8473 #include "confdefs.h" | 8478 #include "confdefs.h" |
| 8474 /* Override any gcc2 internal prototype to avoid an error. */ | 8479 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8475 /* We use char because int might match the return type of a gcc2 | 8480 /* We use char because int might match the return type of a gcc2 |
| 8476 builtin and then its argument prototype would still apply. */ | 8481 builtin and then its argument prototype would still apply. */ |
| 8477 char jpeg_destroy_decompress(); | 8482 char jpeg_destroy_decompress(); |
| 8478 | 8483 |
| 8479 int main() { | 8484 int main() { |
| 8480 jpeg_destroy_decompress() | 8485 jpeg_destroy_decompress() |
| 8481 ; return 0; } | 8486 ; return 0; } |
| 8482 EOF | 8487 EOF |
| 8483 if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8484 rm -rf conftest* | 8489 rm -rf conftest* |
| 8485 eval "ac_cv_lib_$ac_lib_var=yes" | 8490 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8486 else | 8491 else |
| 8487 echo "configure: failed program was:" >&5 | 8492 echo "configure: failed program was:" >&5 |
| 8488 cat conftest.$ac_ext >&5 | 8493 cat conftest.$ac_ext >&5 |
| 8514 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8519 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 8515 fi | 8520 fi |
| 8516 | 8521 |
| 8517 png_problem="" | 8522 png_problem="" |
| 8518 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8523 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 8519 echo "configure:8520: checking for pow" >&5 | 8524 echo "configure:8525: checking for pow" >&5 |
| 8520 | 8525 |
| 8521 cat > conftest.$ac_ext <<EOF | 8526 cat > conftest.$ac_ext <<EOF |
| 8522 #line 8523 "configure" | 8527 #line 8528 "configure" |
| 8523 #include "confdefs.h" | 8528 #include "confdefs.h" |
| 8524 /* System header to define __stub macros and hopefully few prototypes, | 8529 /* System header to define __stub macros and hopefully few prototypes, |
| 8525 which can conflict with char pow(); below. */ | 8530 which can conflict with char pow(); below. */ |
| 8526 #include <assert.h> | 8531 #include <assert.h> |
| 8527 /* Override any gcc2 internal prototype to avoid an error. */ | 8532 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8540 pow(); | 8545 pow(); |
| 8541 #endif | 8546 #endif |
| 8542 | 8547 |
| 8543 ; return 0; } | 8548 ; return 0; } |
| 8544 EOF | 8549 EOF |
| 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8550 if { (eval echo configure:8551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8546 rm -rf conftest* | 8551 rm -rf conftest* |
| 8547 eval "ac_cv_func_pow=yes" | 8552 eval "ac_cv_func_pow=yes" |
| 8548 else | 8553 else |
| 8549 echo "configure: failed program was:" >&5 | 8554 echo "configure: failed program was:" >&5 |
| 8550 cat conftest.$ac_ext >&5 | 8555 cat conftest.$ac_ext >&5 |
| 8561 with_png=no | 8566 with_png=no |
| 8562 fi | 8567 fi |
| 8563 } | 8568 } |
| 8564 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8569 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 8565 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8570 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 8566 echo "configure:8567: checking for png.h" >&5 | 8571 echo "configure:8572: checking for png.h" >&5 |
| 8567 | 8572 |
| 8568 cat > conftest.$ac_ext <<EOF | 8573 cat > conftest.$ac_ext <<EOF |
| 8569 #line 8570 "configure" | 8574 #line 8575 "configure" |
| 8570 #include "confdefs.h" | 8575 #include "confdefs.h" |
| 8571 #include <png.h> | 8576 #include <png.h> |
| 8572 EOF | 8577 EOF |
| 8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8579 { (eval echo configure:8580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8576 if test -z "$ac_err"; then | 8581 if test -z "$ac_err"; then |
| 8577 rm -rf conftest* | 8582 rm -rf conftest* |
| 8578 eval "ac_cv_header_$ac_safe=yes" | 8583 eval "ac_cv_header_$ac_safe=yes" |
| 8579 else | 8584 else |
| 8592 with_png=no | 8597 with_png=no |
| 8593 fi | 8598 fi |
| 8594 } | 8599 } |
| 8595 test -z "$with_png" && { | 8600 test -z "$with_png" && { |
| 8596 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8601 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 8597 echo "configure:8598: checking for png_read_image in -lpng" >&5 | 8602 echo "configure:8603: checking for png_read_image in -lpng" >&5 |
| 8598 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8603 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 8599 | 8604 |
| 8600 xe_check_libs=" -lpng " | 8605 xe_check_libs=" -lpng " |
| 8601 cat > conftest.$ac_ext <<EOF | 8606 cat > conftest.$ac_ext <<EOF |
| 8602 #line 8603 "configure" | 8607 #line 8608 "configure" |
| 8603 #include "confdefs.h" | 8608 #include "confdefs.h" |
| 8604 /* Override any gcc2 internal prototype to avoid an error. */ | 8609 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8605 /* We use char because int might match the return type of a gcc2 | 8610 /* We use char because int might match the return type of a gcc2 |
| 8606 builtin and then its argument prototype would still apply. */ | 8611 builtin and then its argument prototype would still apply. */ |
| 8607 char png_read_image(); | 8612 char png_read_image(); |
| 8608 | 8613 |
| 8609 int main() { | 8614 int main() { |
| 8610 png_read_image() | 8615 png_read_image() |
| 8611 ; return 0; } | 8616 ; return 0; } |
| 8612 EOF | 8617 EOF |
| 8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8618 if { (eval echo configure:8619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8614 rm -rf conftest* | 8619 rm -rf conftest* |
| 8615 eval "ac_cv_lib_$ac_lib_var=yes" | 8620 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8616 else | 8621 else |
| 8617 echo "configure: failed program was:" >&5 | 8622 echo "configure: failed program was:" >&5 |
| 8618 cat conftest.$ac_ext >&5 | 8623 cat conftest.$ac_ext >&5 |
| 8631 fi | 8636 fi |
| 8632 | 8637 |
| 8633 } | 8638 } |
| 8634 if test -z "$with_png"; then | 8639 if test -z "$with_png"; then |
| 8635 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8640 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 8636 echo "configure:8637: checking for workable png version information" >&5 | 8641 echo "configure:8642: checking for workable png version information" >&5 |
| 8637 xe_check_libs="-lpng -lz" | 8642 xe_check_libs="-lpng -lz" |
| 8638 cat > conftest.$ac_ext <<EOF | 8643 cat > conftest.$ac_ext <<EOF |
| 8639 #line 8640 "configure" | 8644 #line 8645 "configure" |
| 8640 #include "confdefs.h" | 8645 #include "confdefs.h" |
| 8641 #include <png.h> | 8646 #include <png.h> |
| 8642 int main(int c, char **v) { | 8647 int main(int c, char **v) { |
| 8643 if (c == 1) return 0; | 8648 if (c == 1) return 0; |
| 8644 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8649 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 8645 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8650 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 8646 EOF | 8651 EOF |
| 8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8652 if { (eval echo configure:8653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8648 then | 8653 then |
| 8649 ./conftest dummy_arg; png_status=$?; | 8654 ./conftest dummy_arg; png_status=$?; |
| 8650 if test "$png_status" = "0"; then | 8655 if test "$png_status" = "0"; then |
| 8651 with_png=yes; | 8656 with_png=yes; |
| 8652 else | 8657 else |
| 8685 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8690 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 8686 fi | 8691 fi |
| 8687 | 8692 |
| 8688 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8693 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 8689 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8694 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 8690 echo "configure:8691: checking for tiffio.h" >&5 | 8695 echo "configure:8696: checking for tiffio.h" >&5 |
| 8691 | 8696 |
| 8692 cat > conftest.$ac_ext <<EOF | 8697 cat > conftest.$ac_ext <<EOF |
| 8693 #line 8694 "configure" | 8698 #line 8699 "configure" |
| 8694 #include "confdefs.h" | 8699 #include "confdefs.h" |
| 8695 #include <tiffio.h> | 8700 #include <tiffio.h> |
| 8696 EOF | 8701 EOF |
| 8697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8698 { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8703 { (eval echo configure:8704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8700 if test -z "$ac_err"; then | 8705 if test -z "$ac_err"; then |
| 8701 rm -rf conftest* | 8706 rm -rf conftest* |
| 8702 eval "ac_cv_header_$ac_safe=yes" | 8707 eval "ac_cv_header_$ac_safe=yes" |
| 8703 else | 8708 else |
| 8716 with_tiff=no | 8721 with_tiff=no |
| 8717 fi | 8722 fi |
| 8718 } | 8723 } |
| 8719 test -z "$with_tiff" && { | 8724 test -z "$with_tiff" && { |
| 8720 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8725 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 8721 echo "configure:8722: checking for TIFFClientOpen in -ltiff" >&5 | 8726 echo "configure:8727: checking for TIFFClientOpen in -ltiff" >&5 |
| 8722 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8727 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 8723 | 8728 |
| 8724 xe_check_libs=" -ltiff " | 8729 xe_check_libs=" -ltiff " |
| 8725 cat > conftest.$ac_ext <<EOF | 8730 cat > conftest.$ac_ext <<EOF |
| 8726 #line 8727 "configure" | 8731 #line 8732 "configure" |
| 8727 #include "confdefs.h" | 8732 #include "confdefs.h" |
| 8728 /* Override any gcc2 internal prototype to avoid an error. */ | 8733 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8729 /* We use char because int might match the return type of a gcc2 | 8734 /* We use char because int might match the return type of a gcc2 |
| 8730 builtin and then its argument prototype would still apply. */ | 8735 builtin and then its argument prototype would still apply. */ |
| 8731 char TIFFClientOpen(); | 8736 char TIFFClientOpen(); |
| 8732 | 8737 |
| 8733 int main() { | 8738 int main() { |
| 8734 TIFFClientOpen() | 8739 TIFFClientOpen() |
| 8735 ; return 0; } | 8740 ; return 0; } |
| 8736 EOF | 8741 EOF |
| 8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8742 if { (eval echo configure:8743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8738 rm -rf conftest* | 8743 rm -rf conftest* |
| 8739 eval "ac_cv_lib_$ac_lib_var=yes" | 8744 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8740 else | 8745 else |
| 8741 echo "configure: failed program was:" >&5 | 8746 echo "configure: failed program was:" >&5 |
| 8742 cat conftest.$ac_ext >&5 | 8747 cat conftest.$ac_ext >&5 |
| 8771 | 8776 |
| 8772 | 8777 |
| 8773 if test "$with_gtk" = "yes"; then | 8778 if test "$with_gtk" = "yes"; then |
| 8774 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8779 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 8775 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8780 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 8776 echo "configure:8777: checking for compface.h" >&5 | 8781 echo "configure:8782: checking for compface.h" >&5 |
| 8777 | 8782 |
| 8778 cat > conftest.$ac_ext <<EOF | 8783 cat > conftest.$ac_ext <<EOF |
| 8779 #line 8780 "configure" | 8784 #line 8785 "configure" |
| 8780 #include "confdefs.h" | 8785 #include "confdefs.h" |
| 8781 #include <compface.h> | 8786 #include <compface.h> |
| 8782 EOF | 8787 EOF |
| 8783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8784 { (eval echo configure:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8789 { (eval echo configure:8790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8786 if test -z "$ac_err"; then | 8791 if test -z "$ac_err"; then |
| 8787 rm -rf conftest* | 8792 rm -rf conftest* |
| 8788 eval "ac_cv_header_$ac_safe=yes" | 8793 eval "ac_cv_header_$ac_safe=yes" |
| 8789 else | 8794 else |
| 8802 with_xface=no | 8807 with_xface=no |
| 8803 fi | 8808 fi |
| 8804 } | 8809 } |
| 8805 test -z "$with_xface" && { | 8810 test -z "$with_xface" && { |
| 8806 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8811 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 8807 echo "configure:8808: checking for UnGenFace in -lcompface" >&5 | 8812 echo "configure:8813: checking for UnGenFace in -lcompface" >&5 |
| 8808 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8813 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 8809 | 8814 |
| 8810 xe_check_libs=" -lcompface " | 8815 xe_check_libs=" -lcompface " |
| 8811 cat > conftest.$ac_ext <<EOF | 8816 cat > conftest.$ac_ext <<EOF |
| 8812 #line 8813 "configure" | 8817 #line 8818 "configure" |
| 8813 #include "confdefs.h" | 8818 #include "confdefs.h" |
| 8814 /* Override any gcc2 internal prototype to avoid an error. */ | 8819 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8815 /* We use char because int might match the return type of a gcc2 | 8820 /* We use char because int might match the return type of a gcc2 |
| 8816 builtin and then its argument prototype would still apply. */ | 8821 builtin and then its argument prototype would still apply. */ |
| 8817 char UnGenFace(); | 8822 char UnGenFace(); |
| 8818 | 8823 |
| 8819 int main() { | 8824 int main() { |
| 8820 UnGenFace() | 8825 UnGenFace() |
| 8821 ; return 0; } | 8826 ; return 0; } |
| 8822 EOF | 8827 EOF |
| 8823 if { (eval echo configure:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8824 rm -rf conftest* | 8829 rm -rf conftest* |
| 8825 eval "ac_cv_lib_$ac_lib_var=yes" | 8830 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8826 else | 8831 else |
| 8827 echo "configure: failed program was:" >&5 | 8832 echo "configure: failed program was:" >&5 |
| 8828 cat conftest.$ac_ext >&5 | 8833 cat conftest.$ac_ext >&5 |
| 8857 | 8862 |
| 8858 | 8863 |
| 8859 | 8864 |
| 8860 if test "$with_x11" = "yes"; then | 8865 if test "$with_x11" = "yes"; then |
| 8861 echo "checking for X11 graphics libraries" 1>&6 | 8866 echo "checking for X11 graphics libraries" 1>&6 |
| 8862 echo "configure:8863: checking for X11 graphics libraries" >&5 | 8867 echo "configure:8868: checking for X11 graphics libraries" >&5 |
| 8863 fi | 8868 fi |
| 8864 | 8869 |
| 8865 case "$with_widgets" in | 8870 case "$with_widgets" in |
| 8866 "yes" | "athena") detect_athena=yes ;; | 8871 "yes" | "athena") detect_athena=yes ;; |
| 8867 *) detect_athena=no ;; | 8872 *) detect_athena=no ;; |
| 8868 esac | 8873 esac |
| 8869 | 8874 |
| 8870 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8875 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
| 8871 echo "checking for the Athena widgets" 1>&6 | 8876 echo "checking for the Athena widgets" 1>&6 |
| 8872 echo "configure:8873: checking for the Athena widgets" >&5 | 8877 echo "configure:8878: checking for the Athena widgets" >&5 |
| 8873 | 8878 |
| 8874 case "$with_athena" in | 8879 case "$with_athena" in |
| 8875 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8880 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
| 8876 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8881 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
| 8877 "next") athena_variant=neXtaw athena_3d=yes ;; | 8882 "next") athena_variant=neXtaw athena_3d=yes ;; |
| 8881 esac | 8886 esac |
| 8882 | 8887 |
| 8883 if test "$athena_3d" = "no"; then | 8888 if test "$athena_3d" = "no"; then |
| 8884 | 8889 |
| 8885 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8890 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
| 8886 echo "configure:8887: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8891 echo "configure:8892: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
| 8887 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8892 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 8888 | 8893 |
| 8889 xe_check_libs=" -l$athena_variant " | 8894 xe_check_libs=" -l$athena_variant " |
| 8890 cat > conftest.$ac_ext <<EOF | 8895 cat > conftest.$ac_ext <<EOF |
| 8891 #line 8892 "configure" | 8896 #line 8897 "configure" |
| 8892 #include "confdefs.h" | 8897 #include "confdefs.h" |
| 8893 /* Override any gcc2 internal prototype to avoid an error. */ | 8898 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8894 /* We use char because int might match the return type of a gcc2 | 8899 /* We use char because int might match the return type of a gcc2 |
| 8895 builtin and then its argument prototype would still apply. */ | 8900 builtin and then its argument prototype would still apply. */ |
| 8896 char XawScrollbarSetThumb(); | 8901 char XawScrollbarSetThumb(); |
| 8897 | 8902 |
| 8898 int main() { | 8903 int main() { |
| 8899 XawScrollbarSetThumb() | 8904 XawScrollbarSetThumb() |
| 8900 ; return 0; } | 8905 ; return 0; } |
| 8901 EOF | 8906 EOF |
| 8902 if { (eval echo configure:8903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8903 rm -rf conftest* | 8908 rm -rf conftest* |
| 8904 eval "ac_cv_lib_$ac_lib_var=yes" | 8909 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8905 else | 8910 else |
| 8906 echo "configure: failed program was:" >&5 | 8911 echo "configure: failed program was:" >&5 |
| 8907 cat conftest.$ac_ext >&5 | 8912 cat conftest.$ac_ext >&5 |
| 8913 | 8918 |
| 8914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 8915 echo "$ac_t""yes" 1>&6 | 8920 echo "$ac_t""yes" 1>&6 |
| 8916 | 8921 |
| 8917 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8922 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8918 echo "configure:8919: checking for threeDClassRec in -l$athena_variant" >&5 | 8923 echo "configure:8924: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8919 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8924 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8920 | 8925 |
| 8921 xe_check_libs=" -l$athena_variant " | 8926 xe_check_libs=" -l$athena_variant " |
| 8922 cat > conftest.$ac_ext <<EOF | 8927 cat > conftest.$ac_ext <<EOF |
| 8923 #line 8924 "configure" | 8928 #line 8929 "configure" |
| 8924 #include "confdefs.h" | 8929 #include "confdefs.h" |
| 8925 /* Override any gcc2 internal prototype to avoid an error. */ | 8930 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8926 /* We use char because int might match the return type of a gcc2 | 8931 /* We use char because int might match the return type of a gcc2 |
| 8927 builtin and then its argument prototype would still apply. */ | 8932 builtin and then its argument prototype would still apply. */ |
| 8928 char threeDClassRec(); | 8933 char threeDClassRec(); |
| 8929 | 8934 |
| 8930 int main() { | 8935 int main() { |
| 8931 threeDClassRec() | 8936 threeDClassRec() |
| 8932 ; return 0; } | 8937 ; return 0; } |
| 8933 EOF | 8938 EOF |
| 8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8935 rm -rf conftest* | 8940 rm -rf conftest* |
| 8936 eval "ac_cv_lib_$ac_lib_var=yes" | 8941 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8937 else | 8942 else |
| 8938 echo "configure: failed program was:" >&5 | 8943 echo "configure: failed program was:" >&5 |
| 8939 cat conftest.$ac_ext >&5 | 8944 cat conftest.$ac_ext >&5 |
| 8960 | 8965 |
| 8961 | 8966 |
| 8962 else | 8967 else |
| 8963 | 8968 |
| 8964 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8969 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8965 echo "configure:8966: checking for threeDClassRec in -l$athena_variant" >&5 | 8970 echo "configure:8971: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8966 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8971 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8967 | 8972 |
| 8968 xe_check_libs=" -l$athena_variant " | 8973 xe_check_libs=" -l$athena_variant " |
| 8969 cat > conftest.$ac_ext <<EOF | 8974 cat > conftest.$ac_ext <<EOF |
| 8970 #line 8971 "configure" | 8975 #line 8976 "configure" |
| 8971 #include "confdefs.h" | 8976 #include "confdefs.h" |
| 8972 /* Override any gcc2 internal prototype to avoid an error. */ | 8977 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8973 /* We use char because int might match the return type of a gcc2 | 8978 /* We use char because int might match the return type of a gcc2 |
| 8974 builtin and then its argument prototype would still apply. */ | 8979 builtin and then its argument prototype would still apply. */ |
| 8975 char threeDClassRec(); | 8980 char threeDClassRec(); |
| 8976 | 8981 |
| 8977 int main() { | 8982 int main() { |
| 8978 threeDClassRec() | 8983 threeDClassRec() |
| 8979 ; return 0; } | 8984 ; return 0; } |
| 8980 EOF | 8985 EOF |
| 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8986 if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8982 rm -rf conftest* | 8987 rm -rf conftest* |
| 8983 eval "ac_cv_lib_$ac_lib_var=yes" | 8988 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8984 else | 8989 else |
| 8985 echo "configure: failed program was:" >&5 | 8990 echo "configure: failed program was:" >&5 |
| 8986 cat conftest.$ac_ext >&5 | 8991 cat conftest.$ac_ext >&5 |
| 8994 echo "$ac_t""yes" 1>&6 | 8999 echo "$ac_t""yes" 1>&6 |
| 8995 athena_lib=$athena_variant | 9000 athena_lib=$athena_variant |
| 8996 else | 9001 else |
| 8997 echo "$ac_t""no" 1>&6 | 9002 echo "$ac_t""no" 1>&6 |
| 8998 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9003 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
| 8999 echo "configure:9000: checking for threeDClassRec in -lXaw" >&5 | 9004 echo "configure:9005: checking for threeDClassRec in -lXaw" >&5 |
| 9000 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9005 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9001 | 9006 |
| 9002 xe_check_libs=" -lXaw " | 9007 xe_check_libs=" -lXaw " |
| 9003 cat > conftest.$ac_ext <<EOF | 9008 cat > conftest.$ac_ext <<EOF |
| 9004 #line 9005 "configure" | 9009 #line 9010 "configure" |
| 9005 #include "confdefs.h" | 9010 #include "confdefs.h" |
| 9006 /* Override any gcc2 internal prototype to avoid an error. */ | 9011 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9007 /* We use char because int might match the return type of a gcc2 | 9012 /* We use char because int might match the return type of a gcc2 |
| 9008 builtin and then its argument prototype would still apply. */ | 9013 builtin and then its argument prototype would still apply. */ |
| 9009 char threeDClassRec(); | 9014 char threeDClassRec(); |
| 9010 | 9015 |
| 9011 int main() { | 9016 int main() { |
| 9012 threeDClassRec() | 9017 threeDClassRec() |
| 9013 ; return 0; } | 9018 ; return 0; } |
| 9014 EOF | 9019 EOF |
| 9015 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9020 if { (eval echo configure:9021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9016 rm -rf conftest* | 9021 rm -rf conftest* |
| 9017 eval "ac_cv_lib_$ac_lib_var=yes" | 9022 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9018 else | 9023 else |
| 9019 echo "configure: failed program was:" >&5 | 9024 echo "configure: failed program was:" >&5 |
| 9020 cat conftest.$ac_ext >&5 | 9025 cat conftest.$ac_ext >&5 |
| 9041 fi | 9046 fi |
| 9042 | 9047 |
| 9043 if test "$athena_3d" = "no"; then | 9048 if test "$athena_3d" = "no"; then |
| 9044 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9049 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9045 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9050 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 9046 echo "configure:9047: checking for X11/Xaw/ThreeD.h" >&5 | 9051 echo "configure:9052: checking for X11/Xaw/ThreeD.h" >&5 |
| 9047 | 9052 |
| 9048 cat > conftest.$ac_ext <<EOF | 9053 cat > conftest.$ac_ext <<EOF |
| 9049 #line 9050 "configure" | 9054 #line 9055 "configure" |
| 9050 #include "confdefs.h" | 9055 #include "confdefs.h" |
| 9051 #include <X11/Xaw/ThreeD.h> | 9056 #include <X11/Xaw/ThreeD.h> |
| 9052 EOF | 9057 EOF |
| 9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9059 { (eval echo configure:9060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9056 if test -z "$ac_err"; then | 9061 if test -z "$ac_err"; then |
| 9057 rm -rf conftest* | 9062 rm -rf conftest* |
| 9058 eval "ac_cv_header_$ac_safe=yes" | 9063 eval "ac_cv_header_$ac_safe=yes" |
| 9059 else | 9064 else |
| 9069 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9074 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
| 9070 else | 9075 else |
| 9071 echo "$ac_t""no" 1>&6 | 9076 echo "$ac_t""no" 1>&6 |
| 9072 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9077 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9073 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9078 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
| 9074 echo "configure:9075: checking for X11/Xaw/XawInit.h" >&5 | 9079 echo "configure:9080: checking for X11/Xaw/XawInit.h" >&5 |
| 9075 | 9080 |
| 9076 cat > conftest.$ac_ext <<EOF | 9081 cat > conftest.$ac_ext <<EOF |
| 9077 #line 9078 "configure" | 9082 #line 9083 "configure" |
| 9078 #include "confdefs.h" | 9083 #include "confdefs.h" |
| 9079 #include <X11/Xaw/XawInit.h> | 9084 #include <X11/Xaw/XawInit.h> |
| 9080 EOF | 9085 EOF |
| 9081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9082 { (eval echo configure:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9084 if test -z "$ac_err"; then | 9089 if test -z "$ac_err"; then |
| 9085 rm -rf conftest* | 9090 rm -rf conftest* |
| 9086 eval "ac_cv_header_$ac_safe=yes" | 9091 eval "ac_cv_header_$ac_safe=yes" |
| 9087 else | 9092 else |
| 9103 fi | 9108 fi |
| 9104 | 9109 |
| 9105 else | 9110 else |
| 9106 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9111 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9107 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9112 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 9108 echo "configure:9109: checking for X11/$athena_variant/XawInit.h" >&5 | 9113 echo "configure:9114: checking for X11/$athena_variant/XawInit.h" >&5 |
| 9109 | 9114 |
| 9110 cat > conftest.$ac_ext <<EOF | 9115 cat > conftest.$ac_ext <<EOF |
| 9111 #line 9112 "configure" | 9116 #line 9117 "configure" |
| 9112 #include "confdefs.h" | 9117 #include "confdefs.h" |
| 9113 #include <X11/$athena_variant/XawInit.h> | 9118 #include <X11/$athena_variant/XawInit.h> |
| 9114 EOF | 9119 EOF |
| 9115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9116 { (eval echo configure:9117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9121 { (eval echo configure:9122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9118 if test -z "$ac_err"; then | 9123 if test -z "$ac_err"; then |
| 9119 rm -rf conftest* | 9124 rm -rf conftest* |
| 9120 eval "ac_cv_header_$ac_safe=yes" | 9125 eval "ac_cv_header_$ac_safe=yes" |
| 9121 else | 9126 else |
| 9128 rm -f conftest* | 9133 rm -f conftest* |
| 9129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9130 echo "$ac_t""yes" 1>&6 | 9135 echo "$ac_t""yes" 1>&6 |
| 9131 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9136 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9132 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9137 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 9133 echo "configure:9134: checking for X11/$athena_variant/ThreeD.h" >&5 | 9138 echo "configure:9139: checking for X11/$athena_variant/ThreeD.h" >&5 |
| 9134 | 9139 |
| 9135 cat > conftest.$ac_ext <<EOF | 9140 cat > conftest.$ac_ext <<EOF |
| 9136 #line 9137 "configure" | 9141 #line 9142 "configure" |
| 9137 #include "confdefs.h" | 9142 #include "confdefs.h" |
| 9138 #include <X11/$athena_variant/ThreeD.h> | 9143 #include <X11/$athena_variant/ThreeD.h> |
| 9139 EOF | 9144 EOF |
| 9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9146 { (eval echo configure:9147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9143 if test -z "$ac_err"; then | 9148 if test -z "$ac_err"; then |
| 9144 rm -rf conftest* | 9149 rm -rf conftest* |
| 9145 eval "ac_cv_header_$ac_safe=yes" | 9150 eval "ac_cv_header_$ac_safe=yes" |
| 9146 else | 9151 else |
| 9164 | 9169 |
| 9165 | 9170 |
| 9166 if test -z "$athena_h_path"; then | 9171 if test -z "$athena_h_path"; then |
| 9167 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9172 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9168 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9173 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 9169 echo "configure:9170: checking for $athena_variant/XawInit.h" >&5 | 9174 echo "configure:9175: checking for $athena_variant/XawInit.h" >&5 |
| 9170 | 9175 |
| 9171 cat > conftest.$ac_ext <<EOF | 9176 cat > conftest.$ac_ext <<EOF |
| 9172 #line 9173 "configure" | 9177 #line 9178 "configure" |
| 9173 #include "confdefs.h" | 9178 #include "confdefs.h" |
| 9174 #include <$athena_variant/XawInit.h> | 9179 #include <$athena_variant/XawInit.h> |
| 9175 EOF | 9180 EOF |
| 9176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9177 { (eval echo configure:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9182 { (eval echo configure:9183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9179 if test -z "$ac_err"; then | 9184 if test -z "$ac_err"; then |
| 9180 rm -rf conftest* | 9185 rm -rf conftest* |
| 9181 eval "ac_cv_header_$ac_safe=yes" | 9186 eval "ac_cv_header_$ac_safe=yes" |
| 9182 else | 9187 else |
| 9189 rm -f conftest* | 9194 rm -f conftest* |
| 9190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9195 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9191 echo "$ac_t""yes" 1>&6 | 9196 echo "$ac_t""yes" 1>&6 |
| 9192 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9197 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9193 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9198 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 9194 echo "configure:9195: checking for $athena_variant/ThreeD.h" >&5 | 9199 echo "configure:9200: checking for $athena_variant/ThreeD.h" >&5 |
| 9195 | 9200 |
| 9196 cat > conftest.$ac_ext <<EOF | 9201 cat > conftest.$ac_ext <<EOF |
| 9197 #line 9198 "configure" | 9202 #line 9203 "configure" |
| 9198 #include "confdefs.h" | 9203 #include "confdefs.h" |
| 9199 #include <$athena_variant/ThreeD.h> | 9204 #include <$athena_variant/ThreeD.h> |
| 9200 EOF | 9205 EOF |
| 9201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9202 { (eval echo configure:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9207 { (eval echo configure:9208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9204 if test -z "$ac_err"; then | 9209 if test -z "$ac_err"; then |
| 9205 rm -rf conftest* | 9210 rm -rf conftest* |
| 9206 eval "ac_cv_header_$ac_safe=yes" | 9211 eval "ac_cv_header_$ac_safe=yes" |
| 9207 else | 9212 else |
| 9226 fi | 9231 fi |
| 9227 | 9232 |
| 9228 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9233 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 9229 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9234 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9230 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9235 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 9231 echo "configure:9232: checking for X11/Xaw3d/XawInit.h" >&5 | 9236 echo "configure:9237: checking for X11/Xaw3d/XawInit.h" >&5 |
| 9232 | 9237 |
| 9233 cat > conftest.$ac_ext <<EOF | 9238 cat > conftest.$ac_ext <<EOF |
| 9234 #line 9235 "configure" | 9239 #line 9240 "configure" |
| 9235 #include "confdefs.h" | 9240 #include "confdefs.h" |
| 9236 #include <X11/Xaw3d/XawInit.h> | 9241 #include <X11/Xaw3d/XawInit.h> |
| 9237 EOF | 9242 EOF |
| 9238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9239 { (eval echo configure:9240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9244 { (eval echo configure:9245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9241 if test -z "$ac_err"; then | 9246 if test -z "$ac_err"; then |
| 9242 rm -rf conftest* | 9247 rm -rf conftest* |
| 9243 eval "ac_cv_header_$ac_safe=yes" | 9248 eval "ac_cv_header_$ac_safe=yes" |
| 9244 else | 9249 else |
| 9251 rm -f conftest* | 9256 rm -f conftest* |
| 9252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9253 echo "$ac_t""yes" 1>&6 | 9258 echo "$ac_t""yes" 1>&6 |
| 9254 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9259 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9255 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9260 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 9256 echo "configure:9257: checking for X11/Xaw3d/ThreeD.h" >&5 | 9261 echo "configure:9262: checking for X11/Xaw3d/ThreeD.h" >&5 |
| 9257 | 9262 |
| 9258 cat > conftest.$ac_ext <<EOF | 9263 cat > conftest.$ac_ext <<EOF |
| 9259 #line 9260 "configure" | 9264 #line 9265 "configure" |
| 9260 #include "confdefs.h" | 9265 #include "confdefs.h" |
| 9261 #include <X11/Xaw3d/ThreeD.h> | 9266 #include <X11/Xaw3d/ThreeD.h> |
| 9262 EOF | 9267 EOF |
| 9263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9264 { (eval echo configure:9265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9269 { (eval echo configure:9270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9266 if test -z "$ac_err"; then | 9271 if test -z "$ac_err"; then |
| 9267 rm -rf conftest* | 9272 rm -rf conftest* |
| 9268 eval "ac_cv_header_$ac_safe=yes" | 9273 eval "ac_cv_header_$ac_safe=yes" |
| 9269 else | 9274 else |
| 9291 fi | 9296 fi |
| 9292 | 9297 |
| 9293 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9298 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 9294 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9299 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9295 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9300 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 9296 echo "configure:9297: checking for Xaw3d/XawInit.h" >&5 | 9301 echo "configure:9302: checking for Xaw3d/XawInit.h" >&5 |
| 9297 | 9302 |
| 9298 cat > conftest.$ac_ext <<EOF | 9303 cat > conftest.$ac_ext <<EOF |
| 9299 #line 9300 "configure" | 9304 #line 9305 "configure" |
| 9300 #include "confdefs.h" | 9305 #include "confdefs.h" |
| 9301 #include <Xaw3d/XawInit.h> | 9306 #include <Xaw3d/XawInit.h> |
| 9302 EOF | 9307 EOF |
| 9303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9304 { (eval echo configure:9305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9306 if test -z "$ac_err"; then | 9311 if test -z "$ac_err"; then |
| 9307 rm -rf conftest* | 9312 rm -rf conftest* |
| 9308 eval "ac_cv_header_$ac_safe=yes" | 9313 eval "ac_cv_header_$ac_safe=yes" |
| 9309 else | 9314 else |
| 9316 rm -f conftest* | 9321 rm -f conftest* |
| 9317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9322 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9318 echo "$ac_t""yes" 1>&6 | 9323 echo "$ac_t""yes" 1>&6 |
| 9319 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9324 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9320 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9325 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 9321 echo "configure:9322: checking for Xaw3d/ThreeD.h" >&5 | 9326 echo "configure:9327: checking for Xaw3d/ThreeD.h" >&5 |
| 9322 | 9327 |
| 9323 cat > conftest.$ac_ext <<EOF | 9328 cat > conftest.$ac_ext <<EOF |
| 9324 #line 9325 "configure" | 9329 #line 9330 "configure" |
| 9325 #include "confdefs.h" | 9330 #include "confdefs.h" |
| 9326 #include <Xaw3d/ThreeD.h> | 9331 #include <Xaw3d/ThreeD.h> |
| 9327 EOF | 9332 EOF |
| 9328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9329 { (eval echo configure:9330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9334 { (eval echo configure:9335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9331 if test -z "$ac_err"; then | 9336 if test -z "$ac_err"; then |
| 9332 rm -rf conftest* | 9337 rm -rf conftest* |
| 9333 eval "ac_cv_header_$ac_safe=yes" | 9338 eval "ac_cv_header_$ac_safe=yes" |
| 9334 else | 9339 else |
| 9356 fi | 9361 fi |
| 9357 | 9362 |
| 9358 if test -z "$athena_h_path"; then | 9363 if test -z "$athena_h_path"; then |
| 9359 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9364 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9360 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9365 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 9361 echo "configure:9362: checking for X11/Xaw/ThreeD.h" >&5 | 9366 echo "configure:9367: checking for X11/Xaw/ThreeD.h" >&5 |
| 9362 | 9367 |
| 9363 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
| 9364 #line 9365 "configure" | 9369 #line 9370 "configure" |
| 9365 #include "confdefs.h" | 9370 #include "confdefs.h" |
| 9366 #include <X11/Xaw/ThreeD.h> | 9371 #include <X11/Xaw/ThreeD.h> |
| 9367 EOF | 9372 EOF |
| 9368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9369 { (eval echo configure:9370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9374 { (eval echo configure:9375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9371 if test -z "$ac_err"; then | 9376 if test -z "$ac_err"; then |
| 9372 rm -rf conftest* | 9377 rm -rf conftest* |
| 9373 eval "ac_cv_header_$ac_safe=yes" | 9378 eval "ac_cv_header_$ac_safe=yes" |
| 9374 else | 9379 else |
| 9403 have_xaw=no | 9408 have_xaw=no |
| 9404 fi | 9409 fi |
| 9405 if test "$with_x11" = "yes"; then | 9410 if test "$with_x11" = "yes"; then |
| 9406 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9411 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 9407 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9412 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 9408 echo "configure:9409: checking for Xm/Xm.h" >&5 | 9413 echo "configure:9414: checking for Xm/Xm.h" >&5 |
| 9409 | 9414 |
| 9410 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
| 9411 #line 9412 "configure" | 9416 #line 9417 "configure" |
| 9412 #include "confdefs.h" | 9417 #include "confdefs.h" |
| 9413 #include <Xm/Xm.h> | 9418 #include <Xm/Xm.h> |
| 9414 EOF | 9419 EOF |
| 9415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9416 { (eval echo configure:9417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9418 if test -z "$ac_err"; then | 9423 if test -z "$ac_err"; then |
| 9419 rm -rf conftest* | 9424 rm -rf conftest* |
| 9420 eval "ac_cv_header_$ac_safe=yes" | 9425 eval "ac_cv_header_$ac_safe=yes" |
| 9421 else | 9426 else |
| 9428 rm -f conftest* | 9433 rm -f conftest* |
| 9429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9434 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9430 echo "$ac_t""yes" 1>&6 | 9435 echo "$ac_t""yes" 1>&6 |
| 9431 | 9436 |
| 9432 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9437 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 9433 echo "configure:9434: checking for XmStringFree in -lXm" >&5 | 9438 echo "configure:9439: checking for XmStringFree in -lXm" >&5 |
| 9434 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9439 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 9435 | 9440 |
| 9436 xe_check_libs=" -lXm " | 9441 xe_check_libs=" -lXm " |
| 9437 cat > conftest.$ac_ext <<EOF | 9442 cat > conftest.$ac_ext <<EOF |
| 9438 #line 9439 "configure" | 9443 #line 9444 "configure" |
| 9439 #include "confdefs.h" | 9444 #include "confdefs.h" |
| 9440 /* Override any gcc2 internal prototype to avoid an error. */ | 9445 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9441 /* We use char because int might match the return type of a gcc2 | 9446 /* We use char because int might match the return type of a gcc2 |
| 9442 builtin and then its argument prototype would still apply. */ | 9447 builtin and then its argument prototype would still apply. */ |
| 9443 char XmStringFree(); | 9448 char XmStringFree(); |
| 9444 | 9449 |
| 9445 int main() { | 9450 int main() { |
| 9446 XmStringFree() | 9451 XmStringFree() |
| 9447 ; return 0; } | 9452 ; return 0; } |
| 9448 EOF | 9453 EOF |
| 9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9450 rm -rf conftest* | 9455 rm -rf conftest* |
| 9451 eval "ac_cv_lib_$ac_lib_var=yes" | 9456 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9452 else | 9457 else |
| 9453 echo "configure: failed program was:" >&5 | 9458 echo "configure: failed program was:" >&5 |
| 9454 cat conftest.$ac_ext >&5 | 9459 cat conftest.$ac_ext >&5 |
| 9473 fi | 9478 fi |
| 9474 | 9479 |
| 9475 | 9480 |
| 9476 if test "$have_motif" = "yes"; then | 9481 if test "$have_motif" = "yes"; then |
| 9477 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9482 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 9478 echo "configure:9479: checking for Lesstif" >&5 | 9483 echo "configure:9484: checking for Lesstif" >&5 |
| 9479 cat > conftest.$ac_ext <<EOF | 9484 cat > conftest.$ac_ext <<EOF |
| 9480 #line 9481 "configure" | 9485 #line 9486 "configure" |
| 9481 #include "confdefs.h" | 9486 #include "confdefs.h" |
| 9482 #include <Xm/Xm.h> | 9487 #include <Xm/Xm.h> |
| 9483 #ifdef LESSTIF_VERSION | 9488 #ifdef LESSTIF_VERSION |
| 9484 yes | 9489 yes |
| 9485 #endif | 9490 #endif |
| 9848 | 9853 |
| 9849 fi | 9854 fi |
| 9850 | 9855 |
| 9851 if test "$with_mule" = "yes" ; then | 9856 if test "$with_mule" = "yes" ; then |
| 9852 echo "checking for Mule-related features" 1>&6 | 9857 echo "checking for Mule-related features" 1>&6 |
| 9853 echo "configure:9854: checking for Mule-related features" >&5 | 9858 echo "configure:9859: checking for Mule-related features" >&5 |
| 9854 { test "$extra_verbose" = "yes" && cat << \EOF | 9859 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9855 Defining MULE | 9860 Defining MULE |
| 9856 EOF | 9861 EOF |
| 9857 cat >> confdefs.h <<\EOF | 9862 cat >> confdefs.h <<\EOF |
| 9858 #define MULE 1 | 9863 #define MULE 1 |
| 9862 | 9867 |
| 9863 for ac_hdr in libintl.h | 9868 for ac_hdr in libintl.h |
| 9864 do | 9869 do |
| 9865 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9870 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9867 echo "configure:9868: checking for $ac_hdr" >&5 | 9872 echo "configure:9873: checking for $ac_hdr" >&5 |
| 9868 | 9873 |
| 9869 cat > conftest.$ac_ext <<EOF | 9874 cat > conftest.$ac_ext <<EOF |
| 9870 #line 9871 "configure" | 9875 #line 9876 "configure" |
| 9871 #include "confdefs.h" | 9876 #include "confdefs.h" |
| 9872 #include <$ac_hdr> | 9877 #include <$ac_hdr> |
| 9873 EOF | 9878 EOF |
| 9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9877 if test -z "$ac_err"; then | 9882 if test -z "$ac_err"; then |
| 9878 rm -rf conftest* | 9883 rm -rf conftest* |
| 9879 eval "ac_cv_header_$ac_safe=yes" | 9884 eval "ac_cv_header_$ac_safe=yes" |
| 9880 else | 9885 else |
| 9901 fi | 9906 fi |
| 9902 done | 9907 done |
| 9903 | 9908 |
| 9904 | 9909 |
| 9905 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9910 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 9906 echo "configure:9907: checking for strerror in -lintl" >&5 | 9911 echo "configure:9912: checking for strerror in -lintl" >&5 |
| 9907 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9912 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 9908 | 9913 |
| 9909 xe_check_libs=" -lintl " | 9914 xe_check_libs=" -lintl " |
| 9910 cat > conftest.$ac_ext <<EOF | 9915 cat > conftest.$ac_ext <<EOF |
| 9911 #line 9912 "configure" | 9916 #line 9917 "configure" |
| 9912 #include "confdefs.h" | 9917 #include "confdefs.h" |
| 9913 /* Override any gcc2 internal prototype to avoid an error. */ | 9918 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9914 /* We use char because int might match the return type of a gcc2 | 9919 /* We use char because int might match the return type of a gcc2 |
| 9915 builtin and then its argument prototype would still apply. */ | 9920 builtin and then its argument prototype would still apply. */ |
| 9916 char strerror(); | 9921 char strerror(); |
| 9917 | 9922 |
| 9918 int main() { | 9923 int main() { |
| 9919 strerror() | 9924 strerror() |
| 9920 ; return 0; } | 9925 ; return 0; } |
| 9921 EOF | 9926 EOF |
| 9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9927 if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9923 rm -rf conftest* | 9928 rm -rf conftest* |
| 9924 eval "ac_cv_lib_$ac_lib_var=yes" | 9929 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9925 else | 9930 else |
| 9926 echo "configure: failed program was:" >&5 | 9931 echo "configure: failed program was:" >&5 |
| 9927 cat conftest.$ac_ext >&5 | 9932 cat conftest.$ac_ext >&5 |
| 9950 fi | 9955 fi |
| 9951 | 9956 |
| 9952 | 9957 |
| 9953 | 9958 |
| 9954 echo "checking for Mule input methods" 1>&6 | 9959 echo "checking for Mule input methods" 1>&6 |
| 9955 echo "configure:9956: checking for Mule input methods" >&5 | 9960 echo "configure:9961: checking for Mule input methods" >&5 |
| 9956 case "$with_xim" in "" | "yes" ) | 9961 case "$with_xim" in "" | "yes" ) |
| 9957 echo "checking for XIM" 1>&6 | 9962 echo "checking for XIM" 1>&6 |
| 9958 echo "configure:9959: checking for XIM" >&5 | 9963 echo "configure:9964: checking for XIM" >&5 |
| 9959 | 9964 |
| 9960 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9965 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 9961 echo "configure:9962: checking for XOpenIM in -lX11" >&5 | 9966 echo "configure:9967: checking for XOpenIM in -lX11" >&5 |
| 9962 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9967 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 9963 | 9968 |
| 9964 xe_check_libs=" -lX11 " | 9969 xe_check_libs=" -lX11 " |
| 9965 cat > conftest.$ac_ext <<EOF | 9970 cat > conftest.$ac_ext <<EOF |
| 9966 #line 9967 "configure" | 9971 #line 9972 "configure" |
| 9967 #include "confdefs.h" | 9972 #include "confdefs.h" |
| 9968 /* Override any gcc2 internal prototype to avoid an error. */ | 9973 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9969 /* We use char because int might match the return type of a gcc2 | 9974 /* We use char because int might match the return type of a gcc2 |
| 9970 builtin and then its argument prototype would still apply. */ | 9975 builtin and then its argument prototype would still apply. */ |
| 9971 char XOpenIM(); | 9976 char XOpenIM(); |
| 9972 | 9977 |
| 9973 int main() { | 9978 int main() { |
| 9974 XOpenIM() | 9979 XOpenIM() |
| 9975 ; return 0; } | 9980 ; return 0; } |
| 9976 EOF | 9981 EOF |
| 9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9982 if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9978 rm -rf conftest* | 9983 rm -rf conftest* |
| 9979 eval "ac_cv_lib_$ac_lib_var=yes" | 9984 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9980 else | 9985 else |
| 9981 echo "configure: failed program was:" >&5 | 9986 echo "configure: failed program was:" >&5 |
| 9982 cat conftest.$ac_ext >&5 | 9987 cat conftest.$ac_ext >&5 |
| 9996 | 10001 |
| 9997 | 10002 |
| 9998 if test "$have_motif $have_lesstif" = "yes no"; then | 10003 if test "$have_motif $have_lesstif" = "yes no"; then |
| 9999 | 10004 |
| 10000 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10005 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 10001 echo "configure:10002: checking for XmImMbLookupString in -lXm" >&5 | 10006 echo "configure:10007: checking for XmImMbLookupString in -lXm" >&5 |
| 10002 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10007 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 10003 | 10008 |
| 10004 xe_check_libs=" -lXm " | 10009 xe_check_libs=" -lXm " |
| 10005 cat > conftest.$ac_ext <<EOF | 10010 cat > conftest.$ac_ext <<EOF |
| 10006 #line 10007 "configure" | 10011 #line 10012 "configure" |
| 10007 #include "confdefs.h" | 10012 #include "confdefs.h" |
| 10008 /* Override any gcc2 internal prototype to avoid an error. */ | 10013 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10009 /* We use char because int might match the return type of a gcc2 | 10014 /* We use char because int might match the return type of a gcc2 |
| 10010 builtin and then its argument prototype would still apply. */ | 10015 builtin and then its argument prototype would still apply. */ |
| 10011 char XmImMbLookupString(); | 10016 char XmImMbLookupString(); |
| 10012 | 10017 |
| 10013 int main() { | 10018 int main() { |
| 10014 XmImMbLookupString() | 10019 XmImMbLookupString() |
| 10015 ; return 0; } | 10020 ; return 0; } |
| 10016 EOF | 10021 EOF |
| 10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10018 rm -rf conftest* | 10023 rm -rf conftest* |
| 10019 eval "ac_cv_lib_$ac_lib_var=yes" | 10024 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10020 else | 10025 else |
| 10021 echo "configure: failed program was:" >&5 | 10026 echo "configure: failed program was:" >&5 |
| 10022 cat conftest.$ac_ext >&5 | 10027 cat conftest.$ac_ext >&5 |
| 10077 fi | 10082 fi |
| 10078 fi | 10083 fi |
| 10079 | 10084 |
| 10080 if test "$with_xfs" = "yes" ; then | 10085 if test "$with_xfs" = "yes" ; then |
| 10081 echo "checking for XFontSet" 1>&6 | 10086 echo "checking for XFontSet" 1>&6 |
| 10082 echo "configure:10083: checking for XFontSet" >&5 | 10087 echo "configure:10088: checking for XFontSet" >&5 |
| 10083 | 10088 |
| 10084 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10089 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 10085 echo "configure:10086: checking for XmbDrawString in -lX11" >&5 | 10090 echo "configure:10091: checking for XmbDrawString in -lX11" >&5 |
| 10086 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10091 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 10087 | 10092 |
| 10088 xe_check_libs=" -lX11 " | 10093 xe_check_libs=" -lX11 " |
| 10089 cat > conftest.$ac_ext <<EOF | 10094 cat > conftest.$ac_ext <<EOF |
| 10090 #line 10091 "configure" | 10095 #line 10096 "configure" |
| 10091 #include "confdefs.h" | 10096 #include "confdefs.h" |
| 10092 /* Override any gcc2 internal prototype to avoid an error. */ | 10097 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10093 /* We use char because int might match the return type of a gcc2 | 10098 /* We use char because int might match the return type of a gcc2 |
| 10094 builtin and then its argument prototype would still apply. */ | 10099 builtin and then its argument prototype would still apply. */ |
| 10095 char XmbDrawString(); | 10100 char XmbDrawString(); |
| 10096 | 10101 |
| 10097 int main() { | 10102 int main() { |
| 10098 XmbDrawString() | 10103 XmbDrawString() |
| 10099 ; return 0; } | 10104 ; return 0; } |
| 10100 EOF | 10105 EOF |
| 10101 if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10102 rm -rf conftest* | 10107 rm -rf conftest* |
| 10103 eval "ac_cv_lib_$ac_lib_var=yes" | 10108 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10104 else | 10109 else |
| 10105 echo "configure: failed program was:" >&5 | 10110 echo "configure: failed program was:" >&5 |
| 10106 cat conftest.$ac_ext >&5 | 10111 cat conftest.$ac_ext >&5 |
| 10136 fi | 10141 fi |
| 10137 fi | 10142 fi |
| 10138 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10143 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 10139 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10144 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 10140 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10145 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 10141 echo "configure:10142: checking for wnn/jllib.h" >&5 | 10146 echo "configure:10147: checking for wnn/jllib.h" >&5 |
| 10142 | 10147 |
| 10143 cat > conftest.$ac_ext <<EOF | 10148 cat > conftest.$ac_ext <<EOF |
| 10144 #line 10145 "configure" | 10149 #line 10150 "configure" |
| 10145 #include "confdefs.h" | 10150 #include "confdefs.h" |
| 10146 #include <wnn/jllib.h> | 10151 #include <wnn/jllib.h> |
| 10147 EOF | 10152 EOF |
| 10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10154 { (eval echo configure:10155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10151 if test -z "$ac_err"; then | 10156 if test -z "$ac_err"; then |
| 10152 rm -rf conftest* | 10157 rm -rf conftest* |
| 10153 eval "ac_cv_header_$ac_safe=yes" | 10158 eval "ac_cv_header_$ac_safe=yes" |
| 10154 else | 10159 else |
| 10167 with_wnn=no | 10172 with_wnn=no |
| 10168 fi | 10173 fi |
| 10169 } | 10174 } |
| 10170 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10175 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
| 10171 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10176 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
| 10172 echo "configure:10173: checking for wnn/commonhd.h" >&5 | 10177 echo "configure:10178: checking for wnn/commonhd.h" >&5 |
| 10173 | 10178 |
| 10174 cat > conftest.$ac_ext <<EOF | 10179 cat > conftest.$ac_ext <<EOF |
| 10175 #line 10176 "configure" | 10180 #line 10181 "configure" |
| 10176 #include "confdefs.h" | 10181 #include "confdefs.h" |
| 10177 #include <wnn/commonhd.h> | 10182 #include <wnn/commonhd.h> |
| 10178 EOF | 10183 EOF |
| 10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10185 { (eval echo configure:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10182 if test -z "$ac_err"; then | 10187 if test -z "$ac_err"; then |
| 10183 rm -rf conftest* | 10188 rm -rf conftest* |
| 10184 eval "ac_cv_header_$ac_safe=yes" | 10189 eval "ac_cv_header_$ac_safe=yes" |
| 10185 else | 10190 else |
| 10200 } | 10205 } |
| 10201 if test "$with_wnn" != "no"; then | 10206 if test "$with_wnn" != "no"; then |
| 10202 for ac_func in crypt | 10207 for ac_func in crypt |
| 10203 do | 10208 do |
| 10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10205 echo "configure:10206: checking for $ac_func" >&5 | 10210 echo "configure:10211: checking for $ac_func" >&5 |
| 10206 | 10211 |
| 10207 cat > conftest.$ac_ext <<EOF | 10212 cat > conftest.$ac_ext <<EOF |
| 10208 #line 10209 "configure" | 10213 #line 10214 "configure" |
| 10209 #include "confdefs.h" | 10214 #include "confdefs.h" |
| 10210 /* System header to define __stub macros and hopefully few prototypes, | 10215 /* System header to define __stub macros and hopefully few prototypes, |
| 10211 which can conflict with char $ac_func(); below. */ | 10216 which can conflict with char $ac_func(); below. */ |
| 10212 #include <assert.h> | 10217 #include <assert.h> |
| 10213 /* Override any gcc2 internal prototype to avoid an error. */ | 10218 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10226 $ac_func(); | 10231 $ac_func(); |
| 10227 #endif | 10232 #endif |
| 10228 | 10233 |
| 10229 ; return 0; } | 10234 ; return 0; } |
| 10230 EOF | 10235 EOF |
| 10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10236 if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10232 rm -rf conftest* | 10237 rm -rf conftest* |
| 10233 eval "ac_cv_func_$ac_func=yes" | 10238 eval "ac_cv_func_$ac_func=yes" |
| 10234 else | 10239 else |
| 10235 echo "configure: failed program was:" >&5 | 10240 echo "configure: failed program was:" >&5 |
| 10236 cat conftest.$ac_ext >&5 | 10241 cat conftest.$ac_ext >&5 |
| 10255 fi | 10260 fi |
| 10256 done | 10261 done |
| 10257 | 10262 |
| 10258 test "$ac_cv_func_crypt" != "yes" && { | 10263 test "$ac_cv_func_crypt" != "yes" && { |
| 10259 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10264 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 10260 echo "configure:10261: checking for crypt in -lcrypt" >&5 | 10265 echo "configure:10266: checking for crypt in -lcrypt" >&5 |
| 10261 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10266 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 10262 | 10267 |
| 10263 xe_check_libs=" -lcrypt " | 10268 xe_check_libs=" -lcrypt " |
| 10264 cat > conftest.$ac_ext <<EOF | 10269 cat > conftest.$ac_ext <<EOF |
| 10265 #line 10266 "configure" | 10270 #line 10271 "configure" |
| 10266 #include "confdefs.h" | 10271 #include "confdefs.h" |
| 10267 /* Override any gcc2 internal prototype to avoid an error. */ | 10272 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10268 /* We use char because int might match the return type of a gcc2 | 10273 /* We use char because int might match the return type of a gcc2 |
| 10269 builtin and then its argument prototype would still apply. */ | 10274 builtin and then its argument prototype would still apply. */ |
| 10270 char crypt(); | 10275 char crypt(); |
| 10271 | 10276 |
| 10272 int main() { | 10277 int main() { |
| 10273 crypt() | 10278 crypt() |
| 10274 ; return 0; } | 10279 ; return 0; } |
| 10275 EOF | 10280 EOF |
| 10276 if { (eval echo configure:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10281 if { (eval echo configure:10282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10277 rm -rf conftest* | 10282 rm -rf conftest* |
| 10278 eval "ac_cv_lib_$ac_lib_var=yes" | 10283 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10279 else | 10284 else |
| 10280 echo "configure: failed program was:" >&5 | 10285 echo "configure: failed program was:" >&5 |
| 10281 cat conftest.$ac_ext >&5 | 10286 cat conftest.$ac_ext >&5 |
| 10306 } | 10311 } |
| 10307 fi | 10312 fi |
| 10308 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10313 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 10309 | 10314 |
| 10310 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10315 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 10311 echo "configure:10312: checking for jl_dic_list_e in -lwnn" >&5 | 10316 echo "configure:10317: checking for jl_dic_list_e in -lwnn" >&5 |
| 10312 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10317 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10313 | 10318 |
| 10314 xe_check_libs=" -lwnn " | 10319 xe_check_libs=" -lwnn " |
| 10315 cat > conftest.$ac_ext <<EOF | 10320 cat > conftest.$ac_ext <<EOF |
| 10316 #line 10317 "configure" | 10321 #line 10322 "configure" |
| 10317 #include "confdefs.h" | 10322 #include "confdefs.h" |
| 10318 /* Override any gcc2 internal prototype to avoid an error. */ | 10323 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10319 /* We use char because int might match the return type of a gcc2 | 10324 /* We use char because int might match the return type of a gcc2 |
| 10320 builtin and then its argument prototype would still apply. */ | 10325 builtin and then its argument prototype would still apply. */ |
| 10321 char jl_dic_list_e(); | 10326 char jl_dic_list_e(); |
| 10322 | 10327 |
| 10323 int main() { | 10328 int main() { |
| 10324 jl_dic_list_e() | 10329 jl_dic_list_e() |
| 10325 ; return 0; } | 10330 ; return 0; } |
| 10326 EOF | 10331 EOF |
| 10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10332 if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10328 rm -rf conftest* | 10333 rm -rf conftest* |
| 10329 eval "ac_cv_lib_$ac_lib_var=yes" | 10334 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10330 else | 10335 else |
| 10331 echo "configure: failed program was:" >&5 | 10336 echo "configure: failed program was:" >&5 |
| 10332 cat conftest.$ac_ext >&5 | 10337 cat conftest.$ac_ext >&5 |
| 10340 echo "$ac_t""yes" 1>&6 | 10345 echo "$ac_t""yes" 1>&6 |
| 10341 libwnn=wnn | 10346 libwnn=wnn |
| 10342 else | 10347 else |
| 10343 echo "$ac_t""no" 1>&6 | 10348 echo "$ac_t""no" 1>&6 |
| 10344 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10349 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 10345 echo "configure:10346: checking for jl_dic_list_e in -lwnn4" >&5 | 10350 echo "configure:10351: checking for jl_dic_list_e in -lwnn4" >&5 |
| 10346 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10351 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10347 | 10352 |
| 10348 xe_check_libs=" -lwnn4 " | 10353 xe_check_libs=" -lwnn4 " |
| 10349 cat > conftest.$ac_ext <<EOF | 10354 cat > conftest.$ac_ext <<EOF |
| 10350 #line 10351 "configure" | 10355 #line 10356 "configure" |
| 10351 #include "confdefs.h" | 10356 #include "confdefs.h" |
| 10352 /* Override any gcc2 internal prototype to avoid an error. */ | 10357 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10353 /* We use char because int might match the return type of a gcc2 | 10358 /* We use char because int might match the return type of a gcc2 |
| 10354 builtin and then its argument prototype would still apply. */ | 10359 builtin and then its argument prototype would still apply. */ |
| 10355 char jl_dic_list_e(); | 10360 char jl_dic_list_e(); |
| 10356 | 10361 |
| 10357 int main() { | 10362 int main() { |
| 10358 jl_dic_list_e() | 10363 jl_dic_list_e() |
| 10359 ; return 0; } | 10364 ; return 0; } |
| 10360 EOF | 10365 EOF |
| 10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10366 if { (eval echo configure:10367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10362 rm -rf conftest* | 10367 rm -rf conftest* |
| 10363 eval "ac_cv_lib_$ac_lib_var=yes" | 10368 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10364 else | 10369 else |
| 10365 echo "configure: failed program was:" >&5 | 10370 echo "configure: failed program was:" >&5 |
| 10366 cat conftest.$ac_ext >&5 | 10371 cat conftest.$ac_ext >&5 |
| 10374 echo "$ac_t""yes" 1>&6 | 10379 echo "$ac_t""yes" 1>&6 |
| 10375 libwnn=wnn4 | 10380 libwnn=wnn4 |
| 10376 else | 10381 else |
| 10377 echo "$ac_t""no" 1>&6 | 10382 echo "$ac_t""no" 1>&6 |
| 10378 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10383 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 10379 echo "configure:10380: checking for jl_dic_list_e in -lwnn6" >&5 | 10384 echo "configure:10385: checking for jl_dic_list_e in -lwnn6" >&5 |
| 10380 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10385 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10381 | 10386 |
| 10382 xe_check_libs=" -lwnn6 " | 10387 xe_check_libs=" -lwnn6 " |
| 10383 cat > conftest.$ac_ext <<EOF | 10388 cat > conftest.$ac_ext <<EOF |
| 10384 #line 10385 "configure" | 10389 #line 10390 "configure" |
| 10385 #include "confdefs.h" | 10390 #include "confdefs.h" |
| 10386 /* Override any gcc2 internal prototype to avoid an error. */ | 10391 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10387 /* We use char because int might match the return type of a gcc2 | 10392 /* We use char because int might match the return type of a gcc2 |
| 10388 builtin and then its argument prototype would still apply. */ | 10393 builtin and then its argument prototype would still apply. */ |
| 10389 char jl_dic_list_e(); | 10394 char jl_dic_list_e(); |
| 10390 | 10395 |
| 10391 int main() { | 10396 int main() { |
| 10392 jl_dic_list_e() | 10397 jl_dic_list_e() |
| 10393 ; return 0; } | 10398 ; return 0; } |
| 10394 EOF | 10399 EOF |
| 10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10396 rm -rf conftest* | 10401 rm -rf conftest* |
| 10397 eval "ac_cv_lib_$ac_lib_var=yes" | 10402 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10398 else | 10403 else |
| 10399 echo "configure: failed program was:" >&5 | 10404 echo "configure: failed program was:" >&5 |
| 10400 cat conftest.$ac_ext >&5 | 10405 cat conftest.$ac_ext >&5 |
| 10408 echo "$ac_t""yes" 1>&6 | 10413 echo "$ac_t""yes" 1>&6 |
| 10409 libwnn=wnn6 | 10414 libwnn=wnn6 |
| 10410 else | 10415 else |
| 10411 echo "$ac_t""no" 1>&6 | 10416 echo "$ac_t""no" 1>&6 |
| 10412 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10417 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 10413 echo "configure:10414: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10418 echo "configure:10419: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 10414 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10419 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 10415 | 10420 |
| 10416 xe_check_libs=" -lwnn6_fromsrc " | 10421 xe_check_libs=" -lwnn6_fromsrc " |
| 10417 cat > conftest.$ac_ext <<EOF | 10422 cat > conftest.$ac_ext <<EOF |
| 10418 #line 10419 "configure" | 10423 #line 10424 "configure" |
| 10419 #include "confdefs.h" | 10424 #include "confdefs.h" |
| 10420 /* Override any gcc2 internal prototype to avoid an error. */ | 10425 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10421 /* 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 |
| 10422 builtin and then its argument prototype would still apply. */ | 10427 builtin and then its argument prototype would still apply. */ |
| 10423 char dic_list_e(); | 10428 char dic_list_e(); |
| 10424 | 10429 |
| 10425 int main() { | 10430 int main() { |
| 10426 dic_list_e() | 10431 dic_list_e() |
| 10427 ; return 0; } | 10432 ; return 0; } |
| 10428 EOF | 10433 EOF |
| 10429 if { (eval echo configure:10430: \"$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 |
| 10430 rm -rf conftest* | 10435 rm -rf conftest* |
| 10431 eval "ac_cv_lib_$ac_lib_var=yes" | 10436 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10432 else | 10437 else |
| 10433 echo "configure: failed program was:" >&5 | 10438 echo "configure: failed program was:" >&5 |
| 10434 cat conftest.$ac_ext >&5 | 10439 cat conftest.$ac_ext >&5 |
| 10469 | 10474 |
| 10470 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10475 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
| 10471 if test "$with_wnn6" != "no"; then | 10476 if test "$with_wnn6" != "no"; then |
| 10472 | 10477 |
| 10473 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10478 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 10474 echo "configure:10475: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10479 echo "configure:10480: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 10475 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10480 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 10476 | 10481 |
| 10477 xe_check_libs=" -l$libwnn " | 10482 xe_check_libs=" -l$libwnn " |
| 10478 cat > conftest.$ac_ext <<EOF | 10483 cat > conftest.$ac_ext <<EOF |
| 10479 #line 10480 "configure" | 10484 #line 10485 "configure" |
| 10480 #include "confdefs.h" | 10485 #include "confdefs.h" |
| 10481 /* Override any gcc2 internal prototype to avoid an error. */ | 10486 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10482 /* We use char because int might match the return type of a gcc2 | 10487 /* We use char because int might match the return type of a gcc2 |
| 10483 builtin and then its argument prototype would still apply. */ | 10488 builtin and then its argument prototype would still apply. */ |
| 10484 char jl_fi_dic_list(); | 10489 char jl_fi_dic_list(); |
| 10485 | 10490 |
| 10486 int main() { | 10491 int main() { |
| 10487 jl_fi_dic_list() | 10492 jl_fi_dic_list() |
| 10488 ; return 0; } | 10493 ; return 0; } |
| 10489 EOF | 10494 EOF |
| 10490 if { (eval echo configure:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10495 if { (eval echo configure:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10491 rm -rf conftest* | 10496 rm -rf conftest* |
| 10492 eval "ac_cv_lib_$ac_lib_var=yes" | 10497 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10493 else | 10498 else |
| 10494 echo "configure: failed program was:" >&5 | 10499 echo "configure: failed program was:" >&5 |
| 10495 cat conftest.$ac_ext >&5 | 10500 cat conftest.$ac_ext >&5 |
| 10520 | 10525 |
| 10521 canna_includes_found=no | 10526 canna_includes_found=no |
| 10522 if test "$with_canna" != "no"; then | 10527 if test "$with_canna" != "no"; then |
| 10523 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10528 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 10524 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10529 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 10525 echo "configure:10526: checking for canna/jrkanji.h" >&5 | 10530 echo "configure:10531: checking for canna/jrkanji.h" >&5 |
| 10526 | 10531 |
| 10527 cat > conftest.$ac_ext <<EOF | 10532 cat > conftest.$ac_ext <<EOF |
| 10528 #line 10529 "configure" | 10533 #line 10534 "configure" |
| 10529 #include "confdefs.h" | 10534 #include "confdefs.h" |
| 10530 #include <canna/jrkanji.h> | 10535 #include <canna/jrkanji.h> |
| 10531 EOF | 10536 EOF |
| 10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10535 if test -z "$ac_err"; then | 10540 if test -z "$ac_err"; then |
| 10536 rm -rf conftest* | 10541 rm -rf conftest* |
| 10537 eval "ac_cv_header_$ac_safe=yes" | 10542 eval "ac_cv_header_$ac_safe=yes" |
| 10538 else | 10543 else |
| 10555 -d "/usr/local/canna/include"; then | 10560 -d "/usr/local/canna/include"; then |
| 10556 save_c_switch_site="$c_switch_site" | 10561 save_c_switch_site="$c_switch_site" |
| 10557 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10562 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 10558 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10563 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 10559 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10564 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 10560 echo "configure:10561: checking for canna/jrkanji.h" >&5 | 10565 echo "configure:10566: checking for canna/jrkanji.h" >&5 |
| 10561 | 10566 |
| 10562 cat > conftest.$ac_ext <<EOF | 10567 cat > conftest.$ac_ext <<EOF |
| 10563 #line 10564 "configure" | 10568 #line 10569 "configure" |
| 10564 #include "confdefs.h" | 10569 #include "confdefs.h" |
| 10565 #include <canna/jrkanji.h> | 10570 #include <canna/jrkanji.h> |
| 10566 EOF | 10571 EOF |
| 10567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10568 { (eval echo configure:10569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10573 { (eval echo configure:10574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10570 if test -z "$ac_err"; then | 10575 if test -z "$ac_err"; then |
| 10571 rm -rf conftest* | 10576 rm -rf conftest* |
| 10572 eval "ac_cv_header_$ac_safe=yes" | 10577 eval "ac_cv_header_$ac_safe=yes" |
| 10573 else | 10578 else |
| 10591 fi | 10596 fi |
| 10592 fi | 10597 fi |
| 10593 | 10598 |
| 10594 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10599 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 10595 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10600 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 10596 echo "configure:10597: checking for canna/RK.h" >&5 | 10601 echo "configure:10602: checking for canna/RK.h" >&5 |
| 10597 | 10602 |
| 10598 cat > conftest.$ac_ext <<EOF | 10603 cat > conftest.$ac_ext <<EOF |
| 10599 #line 10600 "configure" | 10604 #line 10605 "configure" |
| 10600 #include "confdefs.h" | 10605 #include "confdefs.h" |
| 10601 #include <canna/RK.h> | 10606 #include <canna/RK.h> |
| 10602 EOF | 10607 EOF |
| 10603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10604 { (eval echo configure:10605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10606 if test -z "$ac_err"; then | 10611 if test -z "$ac_err"; then |
| 10607 rm -rf conftest* | 10612 rm -rf conftest* |
| 10608 eval "ac_cv_header_$ac_safe=yes" | 10613 eval "ac_cv_header_$ac_safe=yes" |
| 10609 else | 10614 else |
| 10622 with_canna=no | 10627 with_canna=no |
| 10623 fi | 10628 fi |
| 10624 } | 10629 } |
| 10625 test -z "$with_canna" && { | 10630 test -z "$with_canna" && { |
| 10626 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10631 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 10627 echo "configure:10628: checking for RkBgnBun in -lRKC" >&5 | 10632 echo "configure:10633: checking for RkBgnBun in -lRKC" >&5 |
| 10628 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10633 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 10629 | 10634 |
| 10630 xe_check_libs=" -lRKC " | 10635 xe_check_libs=" -lRKC " |
| 10631 cat > conftest.$ac_ext <<EOF | 10636 cat > conftest.$ac_ext <<EOF |
| 10632 #line 10633 "configure" | 10637 #line 10638 "configure" |
| 10633 #include "confdefs.h" | 10638 #include "confdefs.h" |
| 10634 /* Override any gcc2 internal prototype to avoid an error. */ | 10639 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10635 /* We use char because int might match the return type of a gcc2 | 10640 /* We use char because int might match the return type of a gcc2 |
| 10636 builtin and then its argument prototype would still apply. */ | 10641 builtin and then its argument prototype would still apply. */ |
| 10637 char RkBgnBun(); | 10642 char RkBgnBun(); |
| 10638 | 10643 |
| 10639 int main() { | 10644 int main() { |
| 10640 RkBgnBun() | 10645 RkBgnBun() |
| 10641 ; return 0; } | 10646 ; return 0; } |
| 10642 EOF | 10647 EOF |
| 10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10648 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10644 rm -rf conftest* | 10649 rm -rf conftest* |
| 10645 eval "ac_cv_lib_$ac_lib_var=yes" | 10650 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10646 else | 10651 else |
| 10647 echo "configure: failed program was:" >&5 | 10652 echo "configure: failed program was:" >&5 |
| 10648 cat conftest.$ac_ext >&5 | 10653 cat conftest.$ac_ext >&5 |
| 10661 fi | 10666 fi |
| 10662 | 10667 |
| 10663 } | 10668 } |
| 10664 test -z "$with_canna" && { | 10669 test -z "$with_canna" && { |
| 10665 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10670 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 10666 echo "configure:10667: checking for jrKanjiControl in -lcanna" >&5 | 10671 echo "configure:10672: checking for jrKanjiControl in -lcanna" >&5 |
| 10667 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10672 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 10668 | 10673 |
| 10669 xe_check_libs=" -lcanna " | 10674 xe_check_libs=" -lcanna " |
| 10670 cat > conftest.$ac_ext <<EOF | 10675 cat > conftest.$ac_ext <<EOF |
| 10671 #line 10672 "configure" | 10676 #line 10677 "configure" |
| 10672 #include "confdefs.h" | 10677 #include "confdefs.h" |
| 10673 /* Override any gcc2 internal prototype to avoid an error. */ | 10678 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10674 /* We use char because int might match the return type of a gcc2 | 10679 /* We use char because int might match the return type of a gcc2 |
| 10675 builtin and then its argument prototype would still apply. */ | 10680 builtin and then its argument prototype would still apply. */ |
| 10676 char jrKanjiControl(); | 10681 char jrKanjiControl(); |
| 10677 | 10682 |
| 10678 int main() { | 10683 int main() { |
| 10679 jrKanjiControl() | 10684 jrKanjiControl() |
| 10680 ; return 0; } | 10685 ; return 0; } |
| 10681 EOF | 10686 EOF |
| 10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10687 if { (eval echo configure:10688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10683 rm -rf conftest* | 10688 rm -rf conftest* |
| 10684 eval "ac_cv_lib_$ac_lib_var=yes" | 10689 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10685 else | 10690 else |
| 10686 echo "configure: failed program was:" >&5 | 10691 echo "configure: failed program was:" >&5 |
| 10687 cat conftest.$ac_ext >&5 | 10692 cat conftest.$ac_ext >&5 |
| 10723 | 10728 |
| 10724 if test "$need_motif" = "yes" ; then | 10729 if test "$need_motif" = "yes" ; then |
| 10725 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10730 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 10726 | 10731 |
| 10727 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10732 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 10728 echo "configure:10729: checking for layout_object_getvalue in -li18n" >&5 | 10733 echo "configure:10734: checking for layout_object_getvalue in -li18n" >&5 |
| 10729 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10734 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 10730 | 10735 |
| 10731 xe_check_libs=" -li18n " | 10736 xe_check_libs=" -li18n " |
| 10732 cat > conftest.$ac_ext <<EOF | 10737 cat > conftest.$ac_ext <<EOF |
| 10733 #line 10734 "configure" | 10738 #line 10739 "configure" |
| 10734 #include "confdefs.h" | 10739 #include "confdefs.h" |
| 10735 /* Override any gcc2 internal prototype to avoid an error. */ | 10740 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10736 /* We use char because int might match the return type of a gcc2 | 10741 /* We use char because int might match the return type of a gcc2 |
| 10737 builtin and then its argument prototype would still apply. */ | 10742 builtin and then its argument prototype would still apply. */ |
| 10738 char layout_object_getvalue(); | 10743 char layout_object_getvalue(); |
| 10739 | 10744 |
| 10740 int main() { | 10745 int main() { |
| 10741 layout_object_getvalue() | 10746 layout_object_getvalue() |
| 10742 ; return 0; } | 10747 ; return 0; } |
| 10743 EOF | 10748 EOF |
| 10744 if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10749 if { (eval echo configure:10750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10745 rm -rf conftest* | 10750 rm -rf conftest* |
| 10746 eval "ac_cv_lib_$ac_lib_var=yes" | 10751 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10747 else | 10752 else |
| 10748 echo "configure: failed program was:" >&5 | 10753 echo "configure: failed program was:" >&5 |
| 10749 cat conftest.$ac_ext >&5 | 10754 cat conftest.$ac_ext >&5 |
| 10825 fi | 10830 fi |
| 10826 | 10831 |
| 10827 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10832 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
| 10828 do | 10833 do |
| 10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10830 echo "configure:10831: checking for $ac_func" >&5 | 10835 echo "configure:10836: checking for $ac_func" >&5 |
| 10831 | 10836 |
| 10832 cat > conftest.$ac_ext <<EOF | 10837 cat > conftest.$ac_ext <<EOF |
| 10833 #line 10834 "configure" | 10838 #line 10839 "configure" |
| 10834 #include "confdefs.h" | 10839 #include "confdefs.h" |
| 10835 /* System header to define __stub macros and hopefully few prototypes, | 10840 /* System header to define __stub macros and hopefully few prototypes, |
| 10836 which can conflict with char $ac_func(); below. */ | 10841 which can conflict with char $ac_func(); below. */ |
| 10837 #include <assert.h> | 10842 #include <assert.h> |
| 10838 /* Override any gcc2 internal prototype to avoid an error. */ | 10843 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10851 $ac_func(); | 10856 $ac_func(); |
| 10852 #endif | 10857 #endif |
| 10853 | 10858 |
| 10854 ; return 0; } | 10859 ; return 0; } |
| 10855 EOF | 10860 EOF |
| 10856 if { (eval echo configure:10857: \"$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 |
| 10857 rm -rf conftest* | 10862 rm -rf conftest* |
| 10858 eval "ac_cv_func_$ac_func=yes" | 10863 eval "ac_cv_func_$ac_func=yes" |
| 10859 else | 10864 else |
| 10860 echo "configure: failed program was:" >&5 | 10865 echo "configure: failed program was:" >&5 |
| 10861 cat conftest.$ac_ext >&5 | 10866 cat conftest.$ac_ext >&5 |
| 10883 | 10888 |
| 10884 | 10889 |
| 10885 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10890 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
| 10886 do | 10891 do |
| 10887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10888 echo "configure:10889: checking for $ac_func" >&5 | 10893 echo "configure:10894: checking for $ac_func" >&5 |
| 10889 | 10894 |
| 10890 cat > conftest.$ac_ext <<EOF | 10895 cat > conftest.$ac_ext <<EOF |
| 10891 #line 10892 "configure" | 10896 #line 10897 "configure" |
| 10892 #include "confdefs.h" | 10897 #include "confdefs.h" |
| 10893 /* System header to define __stub macros and hopefully few prototypes, | 10898 /* System header to define __stub macros and hopefully few prototypes, |
| 10894 which can conflict with char $ac_func(); below. */ | 10899 which can conflict with char $ac_func(); below. */ |
| 10895 #include <assert.h> | 10900 #include <assert.h> |
| 10896 /* Override any gcc2 internal prototype to avoid an error. */ | 10901 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10909 $ac_func(); | 10914 $ac_func(); |
| 10910 #endif | 10915 #endif |
| 10911 | 10916 |
| 10912 ; return 0; } | 10917 ; return 0; } |
| 10913 EOF | 10918 EOF |
| 10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10919 if { (eval echo configure:10920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10915 rm -rf conftest* | 10920 rm -rf conftest* |
| 10916 eval "ac_cv_func_$ac_func=yes" | 10921 eval "ac_cv_func_$ac_func=yes" |
| 10917 else | 10922 else |
| 10918 echo "configure: failed program was:" >&5 | 10923 echo "configure: failed program was:" >&5 |
| 10919 cat conftest.$ac_ext >&5 | 10924 cat conftest.$ac_ext >&5 |
| 10938 fi | 10943 fi |
| 10939 done | 10944 done |
| 10940 | 10945 |
| 10941 | 10946 |
| 10942 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10947 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
| 10943 echo "configure:10944: checking for openpty" >&5 | 10948 echo "configure:10949: checking for openpty" >&5 |
| 10944 | 10949 |
| 10945 cat > conftest.$ac_ext <<EOF | 10950 cat > conftest.$ac_ext <<EOF |
| 10946 #line 10947 "configure" | 10951 #line 10952 "configure" |
| 10947 #include "confdefs.h" | 10952 #include "confdefs.h" |
| 10948 /* System header to define __stub macros and hopefully few prototypes, | 10953 /* System header to define __stub macros and hopefully few prototypes, |
| 10949 which can conflict with char openpty(); below. */ | 10954 which can conflict with char openpty(); below. */ |
| 10950 #include <assert.h> | 10955 #include <assert.h> |
| 10951 /* Override any gcc2 internal prototype to avoid an error. */ | 10956 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10964 openpty(); | 10969 openpty(); |
| 10965 #endif | 10970 #endif |
| 10966 | 10971 |
| 10967 ; return 0; } | 10972 ; return 0; } |
| 10968 EOF | 10973 EOF |
| 10969 if { (eval echo configure:10970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10970 rm -rf conftest* | 10975 rm -rf conftest* |
| 10971 eval "ac_cv_func_openpty=yes" | 10976 eval "ac_cv_func_openpty=yes" |
| 10972 else | 10977 else |
| 10973 echo "configure: failed program was:" >&5 | 10978 echo "configure: failed program was:" >&5 |
| 10974 cat conftest.$ac_ext >&5 | 10979 cat conftest.$ac_ext >&5 |
| 10983 else | 10988 else |
| 10984 echo "$ac_t""no" 1>&6 | 10989 echo "$ac_t""no" 1>&6 |
| 10985 | 10990 |
| 10986 | 10991 |
| 10987 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10992 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
| 10988 echo "configure:10989: checking for openpty in -lutil" >&5 | 10993 echo "configure:10994: checking for openpty in -lutil" >&5 |
| 10989 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10994 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
| 10990 | 10995 |
| 10991 xe_check_libs=" -lutil " | 10996 xe_check_libs=" -lutil " |
| 10992 cat > conftest.$ac_ext <<EOF | 10997 cat > conftest.$ac_ext <<EOF |
| 10993 #line 10994 "configure" | 10998 #line 10999 "configure" |
| 10994 #include "confdefs.h" | 10999 #include "confdefs.h" |
| 10995 /* Override any gcc2 internal prototype to avoid an error. */ | 11000 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10996 /* We use char because int might match the return type of a gcc2 | 11001 /* We use char because int might match the return type of a gcc2 |
| 10997 builtin and then its argument prototype would still apply. */ | 11002 builtin and then its argument prototype would still apply. */ |
| 10998 char openpty(); | 11003 char openpty(); |
| 10999 | 11004 |
| 11000 int main() { | 11005 int main() { |
| 11001 openpty() | 11006 openpty() |
| 11002 ; return 0; } | 11007 ; return 0; } |
| 11003 EOF | 11008 EOF |
| 11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11005 rm -rf conftest* | 11010 rm -rf conftest* |
| 11006 eval "ac_cv_lib_$ac_lib_var=yes" | 11011 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11007 else | 11012 else |
| 11008 echo "configure: failed program was:" >&5 | 11013 echo "configure: failed program was:" >&5 |
| 11009 cat conftest.$ac_ext >&5 | 11014 cat conftest.$ac_ext >&5 |
| 11034 | 11039 |
| 11035 for ac_hdr in libutil.h util.h | 11040 for ac_hdr in libutil.h util.h |
| 11036 do | 11041 do |
| 11037 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11042 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11038 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11039 echo "configure:11040: checking for $ac_hdr" >&5 | 11044 echo "configure:11045: checking for $ac_hdr" >&5 |
| 11040 | 11045 |
| 11041 cat > conftest.$ac_ext <<EOF | 11046 cat > conftest.$ac_ext <<EOF |
| 11042 #line 11043 "configure" | 11047 #line 11048 "configure" |
| 11043 #include "confdefs.h" | 11048 #include "confdefs.h" |
| 11044 #include <$ac_hdr> | 11049 #include <$ac_hdr> |
| 11045 EOF | 11050 EOF |
| 11046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11047 { (eval echo configure:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11052 { (eval echo configure:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11049 if test -z "$ac_err"; then | 11054 if test -z "$ac_err"; then |
| 11050 rm -rf conftest* | 11055 rm -rf conftest* |
| 11051 eval "ac_cv_header_$ac_safe=yes" | 11056 eval "ac_cv_header_$ac_safe=yes" |
| 11052 else | 11057 else |
| 11079 case "$opsys" in | 11084 case "$opsys" in |
| 11080 hpux*) for ac_hdr in sys/ptyio.h | 11085 hpux*) for ac_hdr in sys/ptyio.h |
| 11081 do | 11086 do |
| 11082 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11087 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11084 echo "configure:11085: checking for $ac_hdr" >&5 | 11089 echo "configure:11090: checking for $ac_hdr" >&5 |
| 11085 | 11090 |
| 11086 cat > conftest.$ac_ext <<EOF | 11091 cat > conftest.$ac_ext <<EOF |
| 11087 #line 11088 "configure" | 11092 #line 11093 "configure" |
| 11088 #include "confdefs.h" | 11093 #include "confdefs.h" |
| 11089 #include <$ac_hdr> | 11094 #include <$ac_hdr> |
| 11090 EOF | 11095 EOF |
| 11091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11092 { (eval echo configure:11093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11097 { (eval echo configure:11098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11094 if test -z "$ac_err"; then | 11099 if test -z "$ac_err"; then |
| 11095 rm -rf conftest* | 11100 rm -rf conftest* |
| 11096 eval "ac_cv_header_$ac_safe=yes" | 11101 eval "ac_cv_header_$ac_safe=yes" |
| 11097 else | 11102 else |
| 11120 ;; | 11125 ;; |
| 11121 *) for ac_hdr in pty.h | 11126 *) for ac_hdr in pty.h |
| 11122 do | 11127 do |
| 11123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11128 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11129 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11125 echo "configure:11126: checking for $ac_hdr" >&5 | 11130 echo "configure:11131: checking for $ac_hdr" >&5 |
| 11126 | 11131 |
| 11127 cat > conftest.$ac_ext <<EOF | 11132 cat > conftest.$ac_ext <<EOF |
| 11128 #line 11129 "configure" | 11133 #line 11134 "configure" |
| 11129 #include "confdefs.h" | 11134 #include "confdefs.h" |
| 11130 #include <$ac_hdr> | 11135 #include <$ac_hdr> |
| 11131 EOF | 11136 EOF |
| 11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11138 { (eval echo configure:11139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11135 if test -z "$ac_err"; then | 11140 if test -z "$ac_err"; then |
| 11136 rm -rf conftest* | 11141 rm -rf conftest* |
| 11137 eval "ac_cv_header_$ac_safe=yes" | 11142 eval "ac_cv_header_$ac_safe=yes" |
| 11138 else | 11143 else |
| 11161 | 11166 |
| 11162 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11167 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
| 11163 do | 11168 do |
| 11164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11166 echo "configure:11167: checking for $ac_hdr" >&5 | 11171 echo "configure:11172: checking for $ac_hdr" >&5 |
| 11167 | 11172 |
| 11168 cat > conftest.$ac_ext <<EOF | 11173 cat > conftest.$ac_ext <<EOF |
| 11169 #line 11170 "configure" | 11174 #line 11175 "configure" |
| 11170 #include "confdefs.h" | 11175 #include "confdefs.h" |
| 11171 #include <$ac_hdr> | 11176 #include <$ac_hdr> |
| 11172 EOF | 11177 EOF |
| 11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11179 { (eval echo configure:11180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11176 if test -z "$ac_err"; then | 11181 if test -z "$ac_err"; then |
| 11177 rm -rf conftest* | 11182 rm -rf conftest* |
| 11178 eval "ac_cv_header_$ac_safe=yes" | 11183 eval "ac_cv_header_$ac_safe=yes" |
| 11179 else | 11184 else |
| 11205 | 11210 |
| 11206 for ac_hdr in stropts.h | 11211 for ac_hdr in stropts.h |
| 11207 do | 11212 do |
| 11208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11213 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11210 echo "configure:11211: checking for $ac_hdr" >&5 | 11215 echo "configure:11216: checking for $ac_hdr" >&5 |
| 11211 | 11216 |
| 11212 cat > conftest.$ac_ext <<EOF | 11217 cat > conftest.$ac_ext <<EOF |
| 11213 #line 11214 "configure" | 11218 #line 11219 "configure" |
| 11214 #include "confdefs.h" | 11219 #include "confdefs.h" |
| 11215 #include <$ac_hdr> | 11220 #include <$ac_hdr> |
| 11216 EOF | 11221 EOF |
| 11217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11218 { (eval echo configure:11219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11223 { (eval echo configure:11224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11220 if test -z "$ac_err"; then | 11225 if test -z "$ac_err"; then |
| 11221 rm -rf conftest* | 11226 rm -rf conftest* |
| 11222 eval "ac_cv_header_$ac_safe=yes" | 11227 eval "ac_cv_header_$ac_safe=yes" |
| 11223 else | 11228 else |
| 11246 | 11251 |
| 11247 if test "$ac_cv_header_stropts_h" = "yes"; then | 11252 if test "$ac_cv_header_stropts_h" = "yes"; then |
| 11248 for ac_func in isastream | 11253 for ac_func in isastream |
| 11249 do | 11254 do |
| 11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11251 echo "configure:11252: checking for $ac_func" >&5 | 11256 echo "configure:11257: checking for $ac_func" >&5 |
| 11252 | 11257 |
| 11253 cat > conftest.$ac_ext <<EOF | 11258 cat > conftest.$ac_ext <<EOF |
| 11254 #line 11255 "configure" | 11259 #line 11260 "configure" |
| 11255 #include "confdefs.h" | 11260 #include "confdefs.h" |
| 11256 /* System header to define __stub macros and hopefully few prototypes, | 11261 /* System header to define __stub macros and hopefully few prototypes, |
| 11257 which can conflict with char $ac_func(); below. */ | 11262 which can conflict with char $ac_func(); below. */ |
| 11258 #include <assert.h> | 11263 #include <assert.h> |
| 11259 /* Override any gcc2 internal prototype to avoid an error. */ | 11264 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11272 $ac_func(); | 11277 $ac_func(); |
| 11273 #endif | 11278 #endif |
| 11274 | 11279 |
| 11275 ; return 0; } | 11280 ; return 0; } |
| 11276 EOF | 11281 EOF |
| 11277 if { (eval echo configure:11278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11282 if { (eval echo configure:11283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11278 rm -rf conftest* | 11283 rm -rf conftest* |
| 11279 eval "ac_cv_func_$ac_func=yes" | 11284 eval "ac_cv_func_$ac_func=yes" |
| 11280 else | 11285 else |
| 11281 echo "configure: failed program was:" >&5 | 11286 echo "configure: failed program was:" >&5 |
| 11282 cat conftest.$ac_ext >&5 | 11287 cat conftest.$ac_ext >&5 |
| 11303 | 11308 |
| 11304 for ac_hdr in strtio.h | 11309 for ac_hdr in strtio.h |
| 11305 do | 11310 do |
| 11306 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11308 echo "configure:11309: checking for $ac_hdr" >&5 | 11313 echo "configure:11314: checking for $ac_hdr" >&5 |
| 11309 | 11314 |
| 11310 cat > conftest.$ac_ext <<EOF | 11315 cat > conftest.$ac_ext <<EOF |
| 11311 #line 11312 "configure" | 11316 #line 11317 "configure" |
| 11312 #include "confdefs.h" | 11317 #include "confdefs.h" |
| 11313 #include <$ac_hdr> | 11318 #include <$ac_hdr> |
| 11314 EOF | 11319 EOF |
| 11315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11316 { (eval echo configure:11317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11321 { (eval echo configure:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11318 if test -z "$ac_err"; then | 11323 if test -z "$ac_err"; then |
| 11319 rm -rf conftest* | 11324 rm -rf conftest* |
| 11320 eval "ac_cv_header_$ac_safe=yes" | 11325 eval "ac_cv_header_$ac_safe=yes" |
| 11321 else | 11326 else |
| 11344 fi | 11349 fi |
| 11345 | 11350 |
| 11346 for ac_func in getloadavg | 11351 for ac_func in getloadavg |
| 11347 do | 11352 do |
| 11348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11349 echo "configure:11350: checking for $ac_func" >&5 | 11354 echo "configure:11355: checking for $ac_func" >&5 |
| 11350 | 11355 |
| 11351 cat > conftest.$ac_ext <<EOF | 11356 cat > conftest.$ac_ext <<EOF |
| 11352 #line 11353 "configure" | 11357 #line 11358 "configure" |
| 11353 #include "confdefs.h" | 11358 #include "confdefs.h" |
| 11354 /* System header to define __stub macros and hopefully few prototypes, | 11359 /* System header to define __stub macros and hopefully few prototypes, |
| 11355 which can conflict with char $ac_func(); below. */ | 11360 which can conflict with char $ac_func(); below. */ |
| 11356 #include <assert.h> | 11361 #include <assert.h> |
| 11357 /* Override any gcc2 internal prototype to avoid an error. */ | 11362 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11370 $ac_func(); | 11375 $ac_func(); |
| 11371 #endif | 11376 #endif |
| 11372 | 11377 |
| 11373 ; return 0; } | 11378 ; return 0; } |
| 11374 EOF | 11379 EOF |
| 11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11380 if { (eval echo configure:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11376 rm -rf conftest* | 11381 rm -rf conftest* |
| 11377 eval "ac_cv_func_$ac_func=yes" | 11382 eval "ac_cv_func_$ac_func=yes" |
| 11378 else | 11383 else |
| 11379 echo "configure: failed program was:" >&5 | 11384 echo "configure: failed program was:" >&5 |
| 11380 cat conftest.$ac_ext >&5 | 11385 cat conftest.$ac_ext >&5 |
| 11403 if test "$ac_cv_func_getloadavg" = "yes"; then | 11408 if test "$ac_cv_func_getloadavg" = "yes"; then |
| 11404 for ac_hdr in sys/loadavg.h | 11409 for ac_hdr in sys/loadavg.h |
| 11405 do | 11410 do |
| 11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11411 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11412 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11408 echo "configure:11409: checking for $ac_hdr" >&5 | 11413 echo "configure:11414: checking for $ac_hdr" >&5 |
| 11409 | 11414 |
| 11410 cat > conftest.$ac_ext <<EOF | 11415 cat > conftest.$ac_ext <<EOF |
| 11411 #line 11412 "configure" | 11416 #line 11417 "configure" |
| 11412 #include "confdefs.h" | 11417 #include "confdefs.h" |
| 11413 #include <$ac_hdr> | 11418 #include <$ac_hdr> |
| 11414 EOF | 11419 EOF |
| 11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11421 { (eval echo configure:11422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11418 if test -z "$ac_err"; then | 11423 if test -z "$ac_err"; then |
| 11419 rm -rf conftest* | 11424 rm -rf conftest* |
| 11420 eval "ac_cv_header_$ac_safe=yes" | 11425 eval "ac_cv_header_$ac_safe=yes" |
| 11421 else | 11426 else |
| 11447 echo " xemacs will be linked with \"getloadavg.o\"" | 11452 echo " xemacs will be linked with \"getloadavg.o\"" |
| 11448 fi | 11453 fi |
| 11449 | 11454 |
| 11450 | 11455 |
| 11451 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11456 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 11452 echo "configure:11453: checking for kstat_open in -lkstat" >&5 | 11457 echo "configure:11458: checking for kstat_open in -lkstat" >&5 |
| 11453 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11458 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 11454 | 11459 |
| 11455 xe_check_libs=" -lkstat " | 11460 xe_check_libs=" -lkstat " |
| 11456 cat > conftest.$ac_ext <<EOF | 11461 cat > conftest.$ac_ext <<EOF |
| 11457 #line 11458 "configure" | 11462 #line 11463 "configure" |
| 11458 #include "confdefs.h" | 11463 #include "confdefs.h" |
| 11459 /* Override any gcc2 internal prototype to avoid an error. */ | 11464 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11460 /* We use char because int might match the return type of a gcc2 | 11465 /* We use char because int might match the return type of a gcc2 |
| 11461 builtin and then its argument prototype would still apply. */ | 11466 builtin and then its argument prototype would still apply. */ |
| 11462 char kstat_open(); | 11467 char kstat_open(); |
| 11463 | 11468 |
| 11464 int main() { | 11469 int main() { |
| 11465 kstat_open() | 11470 kstat_open() |
| 11466 ; return 0; } | 11471 ; return 0; } |
| 11467 EOF | 11472 EOF |
| 11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11473 if { (eval echo configure:11474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11469 rm -rf conftest* | 11474 rm -rf conftest* |
| 11470 eval "ac_cv_lib_$ac_lib_var=yes" | 11475 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11471 else | 11476 else |
| 11472 echo "configure: failed program was:" >&5 | 11477 echo "configure: failed program was:" >&5 |
| 11473 cat conftest.$ac_ext >&5 | 11478 cat conftest.$ac_ext >&5 |
| 11498 | 11503 |
| 11499 for ac_hdr in kstat.h | 11504 for ac_hdr in kstat.h |
| 11500 do | 11505 do |
| 11501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11506 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11503 echo "configure:11504: checking for $ac_hdr" >&5 | 11508 echo "configure:11509: checking for $ac_hdr" >&5 |
| 11504 | 11509 |
| 11505 cat > conftest.$ac_ext <<EOF | 11510 cat > conftest.$ac_ext <<EOF |
| 11506 #line 11507 "configure" | 11511 #line 11512 "configure" |
| 11507 #include "confdefs.h" | 11512 #include "confdefs.h" |
| 11508 #include <$ac_hdr> | 11513 #include <$ac_hdr> |
| 11509 EOF | 11514 EOF |
| 11510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11511 { (eval echo configure:11512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11516 { (eval echo configure:11517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11513 if test -z "$ac_err"; then | 11518 if test -z "$ac_err"; then |
| 11514 rm -rf conftest* | 11519 rm -rf conftest* |
| 11515 eval "ac_cv_header_$ac_safe=yes" | 11520 eval "ac_cv_header_$ac_safe=yes" |
| 11516 else | 11521 else |
| 11538 done | 11543 done |
| 11539 | 11544 |
| 11540 | 11545 |
| 11541 | 11546 |
| 11542 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11547 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 11543 echo "configure:11544: checking for kvm_read in -lkvm" >&5 | 11548 echo "configure:11549: checking for kvm_read in -lkvm" >&5 |
| 11544 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11549 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 11545 | 11550 |
| 11546 xe_check_libs=" -lkvm " | 11551 xe_check_libs=" -lkvm " |
| 11547 cat > conftest.$ac_ext <<EOF | 11552 cat > conftest.$ac_ext <<EOF |
| 11548 #line 11549 "configure" | 11553 #line 11554 "configure" |
| 11549 #include "confdefs.h" | 11554 #include "confdefs.h" |
| 11550 /* Override any gcc2 internal prototype to avoid an error. */ | 11555 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11551 /* We use char because int might match the return type of a gcc2 | 11556 /* We use char because int might match the return type of a gcc2 |
| 11552 builtin and then its argument prototype would still apply. */ | 11557 builtin and then its argument prototype would still apply. */ |
| 11553 char kvm_read(); | 11558 char kvm_read(); |
| 11554 | 11559 |
| 11555 int main() { | 11560 int main() { |
| 11556 kvm_read() | 11561 kvm_read() |
| 11557 ; return 0; } | 11562 ; return 0; } |
| 11558 EOF | 11563 EOF |
| 11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11564 if { (eval echo configure:11565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11560 rm -rf conftest* | 11565 rm -rf conftest* |
| 11561 eval "ac_cv_lib_$ac_lib_var=yes" | 11566 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11562 else | 11567 else |
| 11563 echo "configure: failed program was:" >&5 | 11568 echo "configure: failed program was:" >&5 |
| 11564 cat conftest.$ac_ext >&5 | 11569 cat conftest.$ac_ext >&5 |
| 11588 | 11593 |
| 11589 | 11594 |
| 11590 fi | 11595 fi |
| 11591 | 11596 |
| 11592 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11597 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 11593 echo "configure:11594: checking whether netdb declares h_errno" >&5 | 11598 echo "configure:11599: checking whether netdb declares h_errno" >&5 |
| 11594 cat > conftest.$ac_ext <<EOF | 11599 cat > conftest.$ac_ext <<EOF |
| 11595 #line 11596 "configure" | 11600 #line 11601 "configure" |
| 11596 #include "confdefs.h" | 11601 #include "confdefs.h" |
| 11597 #include <netdb.h> | 11602 #include <netdb.h> |
| 11598 int main() { | 11603 int main() { |
| 11599 return h_errno; | 11604 return h_errno; |
| 11600 ; return 0; } | 11605 ; return 0; } |
| 11601 EOF | 11606 EOF |
| 11602 if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11603 rm -rf conftest* | 11608 rm -rf conftest* |
| 11604 echo "$ac_t""yes" 1>&6 | 11609 echo "$ac_t""yes" 1>&6 |
| 11605 { test "$extra_verbose" = "yes" && cat << \EOF | 11610 { test "$extra_verbose" = "yes" && cat << \EOF |
| 11606 Defining HAVE_H_ERRNO | 11611 Defining HAVE_H_ERRNO |
| 11607 EOF | 11612 EOF |
| 11617 echo "$ac_t""no" 1>&6 | 11622 echo "$ac_t""no" 1>&6 |
| 11618 fi | 11623 fi |
| 11619 rm -f conftest* | 11624 rm -f conftest* |
| 11620 | 11625 |
| 11621 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11626 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 11622 echo "configure:11623: checking for sigsetjmp" >&5 | 11627 echo "configure:11628: checking for sigsetjmp" >&5 |
| 11623 cat > conftest.$ac_ext <<EOF | 11628 cat > conftest.$ac_ext <<EOF |
| 11624 #line 11625 "configure" | 11629 #line 11630 "configure" |
| 11625 #include "confdefs.h" | 11630 #include "confdefs.h" |
| 11626 #include <setjmp.h> | 11631 #include <setjmp.h> |
| 11627 int main() { | 11632 int main() { |
| 11628 sigjmp_buf bar; sigsetjmp (bar, 0); | 11633 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 11629 ; return 0; } | 11634 ; return 0; } |
| 11630 EOF | 11635 EOF |
| 11631 if { (eval echo configure:11632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11636 if { (eval echo configure:11637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11632 rm -rf conftest* | 11637 rm -rf conftest* |
| 11633 echo "$ac_t""yes" 1>&6 | 11638 echo "$ac_t""yes" 1>&6 |
| 11634 { test "$extra_verbose" = "yes" && cat << \EOF | 11639 { test "$extra_verbose" = "yes" && cat << \EOF |
| 11635 Defining HAVE_SIGSETJMP | 11640 Defining HAVE_SIGSETJMP |
| 11636 EOF | 11641 EOF |
| 11646 echo "$ac_t""no" 1>&6 | 11651 echo "$ac_t""no" 1>&6 |
| 11647 fi | 11652 fi |
| 11648 rm -f conftest* | 11653 rm -f conftest* |
| 11649 | 11654 |
| 11650 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11655 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 11651 echo "configure:11652: checking whether localtime caches TZ" >&5 | 11656 echo "configure:11657: checking whether localtime caches TZ" >&5 |
| 11652 | 11657 |
| 11653 if test "$ac_cv_func_tzset" = "yes"; then | 11658 if test "$ac_cv_func_tzset" = "yes"; then |
| 11654 cat > conftest.$ac_ext <<EOF | 11659 cat > conftest.$ac_ext <<EOF |
| 11655 #line 11656 "configure" | 11660 #line 11661 "configure" |
| 11656 #include "confdefs.h" | 11661 #include "confdefs.h" |
| 11657 #include <time.h> | 11662 #include <time.h> |
| 11658 #if STDC_HEADERS | 11663 #if STDC_HEADERS |
| 11659 # include <stdlib.h> | 11664 # include <stdlib.h> |
| 11660 #endif | 11665 #endif |
| 11685 if (localtime (&now)->tm_hour != hour_unset) | 11690 if (localtime (&now)->tm_hour != hour_unset) |
| 11686 exit (1); | 11691 exit (1); |
| 11687 exit (0); | 11692 exit (0); |
| 11688 } | 11693 } |
| 11689 EOF | 11694 EOF |
| 11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11691 then | 11696 then |
| 11692 emacs_cv_localtime_cache=no | 11697 emacs_cv_localtime_cache=no |
| 11693 else | 11698 else |
| 11694 conftest_rc="$?" | 11699 conftest_rc="$?" |
| 11695 echo "configure: failed program was:" >&5 | 11700 echo "configure: failed program was:" >&5 |
| 11715 | 11720 |
| 11716 fi | 11721 fi |
| 11717 | 11722 |
| 11718 if test "$HAVE_TIMEVAL" = "yes"; then | 11723 if test "$HAVE_TIMEVAL" = "yes"; then |
| 11719 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11724 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 11720 echo "configure:11721: checking whether gettimeofday accepts one or two arguments" >&5 | 11725 echo "configure:11726: checking whether gettimeofday accepts one or two arguments" >&5 |
| 11721 cat > conftest.$ac_ext <<EOF | 11726 cat > conftest.$ac_ext <<EOF |
| 11722 #line 11723 "configure" | 11727 #line 11728 "configure" |
| 11723 #include "confdefs.h" | 11728 #include "confdefs.h" |
| 11724 | 11729 |
| 11725 #ifdef TIME_WITH_SYS_TIME | 11730 #ifdef TIME_WITH_SYS_TIME |
| 11726 #include <sys/time.h> | 11731 #include <sys/time.h> |
| 11727 #include <time.h> | 11732 #include <time.h> |
| 11738 struct timeval time; | 11743 struct timeval time; |
| 11739 gettimeofday (&time, 0); | 11744 gettimeofday (&time, 0); |
| 11740 | 11745 |
| 11741 ; return 0; } | 11746 ; return 0; } |
| 11742 EOF | 11747 EOF |
| 11743 if { (eval echo configure:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11748 if { (eval echo configure:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11744 rm -rf conftest* | 11749 rm -rf conftest* |
| 11745 echo "$ac_t""two" 1>&6 | 11750 echo "$ac_t""two" 1>&6 |
| 11746 else | 11751 else |
| 11747 echo "configure: failed program was:" >&5 | 11752 echo "configure: failed program was:" >&5 |
| 11748 cat conftest.$ac_ext >&5 | 11753 cat conftest.$ac_ext >&5 |
| 11760 rm -f conftest* | 11765 rm -f conftest* |
| 11761 fi | 11766 fi |
| 11762 | 11767 |
| 11763 | 11768 |
| 11764 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11769 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 11765 echo "configure:11766: checking for inline" >&5 | 11770 echo "configure:11771: checking for inline" >&5 |
| 11766 | 11771 |
| 11767 ac_cv_c_inline=no | 11772 ac_cv_c_inline=no |
| 11768 for ac_kw in inline __inline__ __inline; do | 11773 for ac_kw in inline __inline__ __inline; do |
| 11769 cat > conftest.$ac_ext <<EOF | 11774 cat > conftest.$ac_ext <<EOF |
| 11770 #line 11771 "configure" | 11775 #line 11776 "configure" |
| 11771 #include "confdefs.h" | 11776 #include "confdefs.h" |
| 11772 | 11777 |
| 11773 int main() { | 11778 int main() { |
| 11774 } $ac_kw foo() { | 11779 } $ac_kw foo() { |
| 11775 ; return 0; } | 11780 ; return 0; } |
| 11776 EOF | 11781 EOF |
| 11777 if { (eval echo configure:11778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11782 if { (eval echo configure:11783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11778 rm -rf conftest* | 11783 rm -rf conftest* |
| 11779 ac_cv_c_inline=$ac_kw; break | 11784 ac_cv_c_inline=$ac_kw; break |
| 11780 else | 11785 else |
| 11781 echo "configure: failed program was:" >&5 | 11786 echo "configure: failed program was:" >&5 |
| 11782 cat conftest.$ac_ext >&5 | 11787 cat conftest.$ac_ext >&5 |
| 11813 | 11818 |
| 11814 if test "$__DECC" != "yes"; then | 11819 if test "$__DECC" != "yes"; then |
| 11815 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11820 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 11816 # for constant arguments. Useless! | 11821 # for constant arguments. Useless! |
| 11817 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11822 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 11818 echo "configure:11819: checking for working alloca.h" >&5 | 11823 echo "configure:11824: checking for working alloca.h" >&5 |
| 11819 | 11824 |
| 11820 cat > conftest.$ac_ext <<EOF | 11825 cat > conftest.$ac_ext <<EOF |
| 11821 #line 11822 "configure" | 11826 #line 11827 "configure" |
| 11822 #include "confdefs.h" | 11827 #include "confdefs.h" |
| 11823 #include <alloca.h> | 11828 #include <alloca.h> |
| 11824 int main() { | 11829 int main() { |
| 11825 char *p = alloca(2 * sizeof(int)); | 11830 char *p = alloca(2 * sizeof(int)); |
| 11826 ; return 0; } | 11831 ; return 0; } |
| 11827 EOF | 11832 EOF |
| 11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11833 if { (eval echo configure:11834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11829 rm -rf conftest* | 11834 rm -rf conftest* |
| 11830 ac_cv_header_alloca_h=yes | 11835 ac_cv_header_alloca_h=yes |
| 11831 else | 11836 else |
| 11832 echo "configure: failed program was:" >&5 | 11837 echo "configure: failed program was:" >&5 |
| 11833 cat conftest.$ac_ext >&5 | 11838 cat conftest.$ac_ext >&5 |
| 11847 } | 11852 } |
| 11848 | 11853 |
| 11849 fi | 11854 fi |
| 11850 | 11855 |
| 11851 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11856 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 11852 echo "configure:11853: checking for alloca" >&5 | 11857 echo "configure:11858: checking for alloca" >&5 |
| 11853 | 11858 |
| 11854 cat > conftest.$ac_ext <<EOF | 11859 cat > conftest.$ac_ext <<EOF |
| 11855 #line 11856 "configure" | 11860 #line 11861 "configure" |
| 11856 #include "confdefs.h" | 11861 #include "confdefs.h" |
| 11857 | 11862 |
| 11858 #ifdef __GNUC__ | 11863 #ifdef __GNUC__ |
| 11859 # define alloca __builtin_alloca | 11864 # define alloca __builtin_alloca |
| 11860 #else | 11865 #else |
| 11878 | 11883 |
| 11879 int main() { | 11884 int main() { |
| 11880 char *p = (char *) alloca(1); | 11885 char *p = (char *) alloca(1); |
| 11881 ; return 0; } | 11886 ; return 0; } |
| 11882 EOF | 11887 EOF |
| 11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11888 if { (eval echo configure:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11884 rm -rf conftest* | 11889 rm -rf conftest* |
| 11885 ac_cv_func_alloca_works=yes | 11890 ac_cv_func_alloca_works=yes |
| 11886 else | 11891 else |
| 11887 echo "configure: failed program was:" >&5 | 11892 echo "configure: failed program was:" >&5 |
| 11888 cat conftest.$ac_ext >&5 | 11893 cat conftest.$ac_ext >&5 |
| 11917 EOF | 11922 EOF |
| 11918 } | 11923 } |
| 11919 | 11924 |
| 11920 | 11925 |
| 11921 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11926 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 11922 echo "configure:11923: checking whether alloca needs Cray hooks" >&5 | 11927 echo "configure:11928: checking whether alloca needs Cray hooks" >&5 |
| 11923 | 11928 |
| 11924 cat > conftest.$ac_ext <<EOF | 11929 cat > conftest.$ac_ext <<EOF |
| 11925 #line 11926 "configure" | 11930 #line 11931 "configure" |
| 11926 #include "confdefs.h" | 11931 #include "confdefs.h" |
| 11927 #if defined(CRAY) && ! defined(CRAY2) | 11932 #if defined(CRAY) && ! defined(CRAY2) |
| 11928 webecray | 11933 webecray |
| 11929 #else | 11934 #else |
| 11930 wenotbecray | 11935 wenotbecray |
| 11944 | 11949 |
| 11945 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11950 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 11946 if test $ac_cv_os_cray = yes; then | 11951 if test $ac_cv_os_cray = yes; then |
| 11947 for ac_func in _getb67 GETB67 getb67; do | 11952 for ac_func in _getb67 GETB67 getb67; do |
| 11948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11949 echo "configure:11950: checking for $ac_func" >&5 | 11954 echo "configure:11955: checking for $ac_func" >&5 |
| 11950 | 11955 |
| 11951 cat > conftest.$ac_ext <<EOF | 11956 cat > conftest.$ac_ext <<EOF |
| 11952 #line 11953 "configure" | 11957 #line 11958 "configure" |
| 11953 #include "confdefs.h" | 11958 #include "confdefs.h" |
| 11954 /* System header to define __stub macros and hopefully few prototypes, | 11959 /* System header to define __stub macros and hopefully few prototypes, |
| 11955 which can conflict with char $ac_func(); below. */ | 11960 which can conflict with char $ac_func(); below. */ |
| 11956 #include <assert.h> | 11961 #include <assert.h> |
| 11957 /* Override any gcc2 internal prototype to avoid an error. */ | 11962 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11970 $ac_func(); | 11975 $ac_func(); |
| 11971 #endif | 11976 #endif |
| 11972 | 11977 |
| 11973 ; return 0; } | 11978 ; return 0; } |
| 11974 EOF | 11979 EOF |
| 11975 if { (eval echo configure:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11980 if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11976 rm -rf conftest* | 11981 rm -rf conftest* |
| 11977 eval "ac_cv_func_$ac_func=yes" | 11982 eval "ac_cv_func_$ac_func=yes" |
| 11978 else | 11983 else |
| 11979 echo "configure: failed program was:" >&5 | 11984 echo "configure: failed program was:" >&5 |
| 11980 cat conftest.$ac_ext >&5 | 11985 cat conftest.$ac_ext >&5 |
| 12000 | 12005 |
| 12001 done | 12006 done |
| 12002 fi | 12007 fi |
| 12003 | 12008 |
| 12004 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12009 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 12005 echo "configure:12006: checking stack direction for C alloca" >&5 | 12010 echo "configure:12011: checking stack direction for C alloca" >&5 |
| 12006 | 12011 |
| 12007 cat > conftest.$ac_ext <<EOF | 12012 cat > conftest.$ac_ext <<EOF |
| 12008 #line 12009 "configure" | 12013 #line 12014 "configure" |
| 12009 #include "confdefs.h" | 12014 #include "confdefs.h" |
| 12010 find_stack_direction () | 12015 find_stack_direction () |
| 12011 { | 12016 { |
| 12012 static char *addr = 0; | 12017 static char *addr = 0; |
| 12013 auto char dummy; | 12018 auto char dummy; |
| 12022 main () | 12027 main () |
| 12023 { | 12028 { |
| 12024 exit (find_stack_direction() < 0); | 12029 exit (find_stack_direction() < 0); |
| 12025 } | 12030 } |
| 12026 EOF | 12031 EOF |
| 12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12032 if { (eval echo configure:12033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12028 then | 12033 then |
| 12029 ac_cv_c_stack_direction=1 | 12034 ac_cv_c_stack_direction=1 |
| 12030 else | 12035 else |
| 12031 conftest_rc="$?" | 12036 conftest_rc="$?" |
| 12032 echo "configure: failed program was:" >&5 | 12037 echo "configure: failed program was:" >&5 |
| 12051 echo " xemacs will be linked with \"$ALLOCA\"" | 12056 echo " xemacs will be linked with \"$ALLOCA\"" |
| 12052 fi | 12057 fi |
| 12053 fi | 12058 fi |
| 12054 | 12059 |
| 12055 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12060 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 12056 echo "configure:12057: checking for working strcoll" >&5 | 12061 echo "configure:12062: checking for working strcoll" >&5 |
| 12057 | 12062 |
| 12058 cat > conftest.$ac_ext <<EOF | 12063 cat > conftest.$ac_ext <<EOF |
| 12059 #line 12060 "configure" | 12064 #line 12065 "configure" |
| 12060 #include "confdefs.h" | 12065 #include "confdefs.h" |
| 12061 #include <string.h> | 12066 #include <string.h> |
| 12062 main () | 12067 main () |
| 12063 { | 12068 { |
| 12064 exit (strcoll ("abc", "def") >= 0 || | 12069 exit (strcoll ("abc", "def") >= 0 || |
| 12065 strcoll ("ABC", "DEF") >= 0 || | 12070 strcoll ("ABC", "DEF") >= 0 || |
| 12066 strcoll ("123", "456") >= 0); | 12071 strcoll ("123", "456") >= 0); |
| 12067 } | 12072 } |
| 12068 EOF | 12073 EOF |
| 12069 if { (eval echo configure:12070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12074 if { (eval echo configure:12075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12070 then | 12075 then |
| 12071 ac_cv_func_strcoll_works=yes | 12076 ac_cv_func_strcoll_works=yes |
| 12072 else | 12077 else |
| 12073 conftest_rc="$?" | 12078 conftest_rc="$?" |
| 12074 echo "configure: failed program was:" >&5 | 12079 echo "configure: failed program was:" >&5 |
| 12092 | 12097 |
| 12093 | 12098 |
| 12094 for ac_func in getpgrp | 12099 for ac_func in getpgrp |
| 12095 do | 12100 do |
| 12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12097 echo "configure:12098: checking for $ac_func" >&5 | 12102 echo "configure:12103: checking for $ac_func" >&5 |
| 12098 | 12103 |
| 12099 cat > conftest.$ac_ext <<EOF | 12104 cat > conftest.$ac_ext <<EOF |
| 12100 #line 12101 "configure" | 12105 #line 12106 "configure" |
| 12101 #include "confdefs.h" | 12106 #include "confdefs.h" |
| 12102 /* System header to define __stub macros and hopefully few prototypes, | 12107 /* System header to define __stub macros and hopefully few prototypes, |
| 12103 which can conflict with char $ac_func(); below. */ | 12108 which can conflict with char $ac_func(); below. */ |
| 12104 #include <assert.h> | 12109 #include <assert.h> |
| 12105 /* Override any gcc2 internal prototype to avoid an error. */ | 12110 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12118 $ac_func(); | 12123 $ac_func(); |
| 12119 #endif | 12124 #endif |
| 12120 | 12125 |
| 12121 ; return 0; } | 12126 ; return 0; } |
| 12122 EOF | 12127 EOF |
| 12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12124 rm -rf conftest* | 12129 rm -rf conftest* |
| 12125 eval "ac_cv_func_$ac_func=yes" | 12130 eval "ac_cv_func_$ac_func=yes" |
| 12126 else | 12131 else |
| 12127 echo "configure: failed program was:" >&5 | 12132 echo "configure: failed program was:" >&5 |
| 12128 cat conftest.$ac_ext >&5 | 12133 cat conftest.$ac_ext >&5 |
| 12146 echo "$ac_t""no" 1>&6 | 12151 echo "$ac_t""no" 1>&6 |
| 12147 fi | 12152 fi |
| 12148 done | 12153 done |
| 12149 | 12154 |
| 12150 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12155 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 12151 echo "configure:12152: checking whether getpgrp takes no argument" >&5 | 12156 echo "configure:12157: checking whether getpgrp takes no argument" >&5 |
| 12152 | 12157 |
| 12153 cat > conftest.$ac_ext <<EOF | 12158 cat > conftest.$ac_ext <<EOF |
| 12154 #line 12155 "configure" | 12159 #line 12160 "configure" |
| 12155 #include "confdefs.h" | 12160 #include "confdefs.h" |
| 12156 | 12161 |
| 12157 /* | 12162 /* |
| 12158 * If this system has a BSD-style getpgrp(), | 12163 * If this system has a BSD-style getpgrp(), |
| 12159 * which takes a pid argument, exit unsuccessfully. | 12164 * which takes a pid argument, exit unsuccessfully. |
| 12204 exit(s>>8); | 12209 exit(s>>8); |
| 12205 } | 12210 } |
| 12206 } | 12211 } |
| 12207 | 12212 |
| 12208 EOF | 12213 EOF |
| 12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12214 if { (eval echo configure:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12210 then | 12215 then |
| 12211 ac_cv_func_getpgrp_void=yes | 12216 ac_cv_func_getpgrp_void=yes |
| 12212 else | 12217 else |
| 12213 conftest_rc="$?" | 12218 conftest_rc="$?" |
| 12214 echo "configure: failed program was:" >&5 | 12219 echo "configure: failed program was:" >&5 |
| 12231 | 12236 |
| 12232 fi | 12237 fi |
| 12233 | 12238 |
| 12234 | 12239 |
| 12235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12240 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 12236 echo "configure:12237: checking for working mmap" >&5 | 12241 echo "configure:12242: checking for working mmap" >&5 |
| 12237 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12242 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 12238 cat > conftest.$ac_ext <<EOF | 12243 cat > conftest.$ac_ext <<EOF |
| 12239 #line 12240 "configure" | 12244 #line 12245 "configure" |
| 12240 #include "confdefs.h" | 12245 #include "confdefs.h" |
| 12241 #include <stdio.h> | 12246 #include <stdio.h> |
| 12242 #include <unistd.h> | 12247 #include <unistd.h> |
| 12243 #include <fcntl.h> | 12248 #include <fcntl.h> |
| 12244 #include <sys/mman.h> | 12249 #include <sys/mman.h> |
| 12267 return 0; | 12272 return 0; |
| 12268 perror ("conftest: mmap failed"); | 12273 perror ("conftest: mmap failed"); |
| 12269 return 1; | 12274 return 1; |
| 12270 } | 12275 } |
| 12271 EOF | 12276 EOF |
| 12272 if { (eval echo configure:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12277 if { (eval echo configure:12278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12273 then | 12278 then |
| 12274 have_mmap=yes | 12279 have_mmap=yes |
| 12275 else | 12280 else |
| 12276 conftest_rc="$?" | 12281 conftest_rc="$?" |
| 12277 echo "configure: failed program was:" >&5 | 12282 echo "configure: failed program was:" >&5 |
| 12296 esac | 12301 esac |
| 12297 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12302 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
| 12298 if test "$rel_alloc $have_mmap" = "default yes"; then | 12303 if test "$rel_alloc $have_mmap" = "default yes"; then |
| 12299 if test "$doug_lea_malloc" = "yes"; then | 12304 if test "$doug_lea_malloc" = "yes"; then |
| 12300 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12305 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
| 12301 echo "configure:12302: checking for M_MMAP_THRESHOLD" >&5 | 12306 echo "configure:12307: checking for M_MMAP_THRESHOLD" >&5 |
| 12302 cat > conftest.$ac_ext <<EOF | 12307 cat > conftest.$ac_ext <<EOF |
| 12303 #line 12304 "configure" | 12308 #line 12309 "configure" |
| 12304 #include "confdefs.h" | 12309 #include "confdefs.h" |
| 12305 #include <malloc.h> | 12310 #include <malloc.h> |
| 12306 int main() { | 12311 int main() { |
| 12307 | 12312 |
| 12308 #ifndef M_MMAP_THRESHOLD | 12313 #ifndef M_MMAP_THRESHOLD |
| 12310 !@+$%^&*_)(_ - unlikely to compile... | 12315 !@+$%^&*_)(_ - unlikely to compile... |
| 12311 #endif | 12316 #endif |
| 12312 | 12317 |
| 12313 ; return 0; } | 12318 ; return 0; } |
| 12314 EOF | 12319 EOF |
| 12315 if { (eval echo configure:12316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12320 if { (eval echo configure:12321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12316 rm -rf conftest* | 12321 rm -rf conftest* |
| 12317 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12322 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
| 12318 else | 12323 else |
| 12319 echo "configure: failed program was:" >&5 | 12324 echo "configure: failed program was:" >&5 |
| 12320 cat conftest.$ac_ext >&5 | 12325 cat conftest.$ac_ext >&5 |
| 12335 } | 12340 } |
| 12336 | 12341 |
| 12337 | 12342 |
| 12338 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12343 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 12339 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12344 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 12340 echo "configure:12341: checking for termios.h" >&5 | 12345 echo "configure:12346: checking for termios.h" >&5 |
| 12341 | 12346 |
| 12342 cat > conftest.$ac_ext <<EOF | 12347 cat > conftest.$ac_ext <<EOF |
| 12343 #line 12344 "configure" | 12348 #line 12349 "configure" |
| 12344 #include "confdefs.h" | 12349 #include "confdefs.h" |
| 12345 #include <termios.h> | 12350 #include <termios.h> |
| 12346 EOF | 12351 EOF |
| 12347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12348 { (eval echo configure:12349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12353 { (eval echo configure:12354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12350 if test -z "$ac_err"; then | 12355 if test -z "$ac_err"; then |
| 12351 rm -rf conftest* | 12356 rm -rf conftest* |
| 12352 eval "ac_cv_header_$ac_safe=yes" | 12357 eval "ac_cv_header_$ac_safe=yes" |
| 12353 else | 12358 else |
| 12386 | 12391 |
| 12387 else | 12392 else |
| 12388 echo "$ac_t""no" 1>&6 | 12393 echo "$ac_t""no" 1>&6 |
| 12389 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12394 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 12390 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12395 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 12391 echo "configure:12392: checking for termio.h" >&5 | 12396 echo "configure:12397: checking for termio.h" >&5 |
| 12392 | 12397 |
| 12393 cat > conftest.$ac_ext <<EOF | 12398 cat > conftest.$ac_ext <<EOF |
| 12394 #line 12395 "configure" | 12399 #line 12400 "configure" |
| 12395 #include "confdefs.h" | 12400 #include "confdefs.h" |
| 12396 #include <termio.h> | 12401 #include <termio.h> |
| 12397 EOF | 12402 EOF |
| 12398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12399 { (eval echo configure:12400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12404 { (eval echo configure:12405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12401 if test -z "$ac_err"; then | 12406 if test -z "$ac_err"; then |
| 12402 rm -rf conftest* | 12407 rm -rf conftest* |
| 12403 eval "ac_cv_header_$ac_safe=yes" | 12408 eval "ac_cv_header_$ac_safe=yes" |
| 12404 else | 12409 else |
| 12426 fi | 12431 fi |
| 12427 | 12432 |
| 12428 | 12433 |
| 12429 | 12434 |
| 12430 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12435 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 12431 echo "configure:12432: checking for socket" >&5 | 12436 echo "configure:12437: checking for socket" >&5 |
| 12432 | 12437 |
| 12433 cat > conftest.$ac_ext <<EOF | 12438 cat > conftest.$ac_ext <<EOF |
| 12434 #line 12435 "configure" | 12439 #line 12440 "configure" |
| 12435 #include "confdefs.h" | 12440 #include "confdefs.h" |
| 12436 /* System header to define __stub macros and hopefully few prototypes, | 12441 /* System header to define __stub macros and hopefully few prototypes, |
| 12437 which can conflict with char socket(); below. */ | 12442 which can conflict with char socket(); below. */ |
| 12438 #include <assert.h> | 12443 #include <assert.h> |
| 12439 /* Override any gcc2 internal prototype to avoid an error. */ | 12444 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12452 socket(); | 12457 socket(); |
| 12453 #endif | 12458 #endif |
| 12454 | 12459 |
| 12455 ; return 0; } | 12460 ; return 0; } |
| 12456 EOF | 12461 EOF |
| 12457 if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12462 if { (eval echo configure:12463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12458 rm -rf conftest* | 12463 rm -rf conftest* |
| 12459 eval "ac_cv_func_socket=yes" | 12464 eval "ac_cv_func_socket=yes" |
| 12460 else | 12465 else |
| 12461 echo "configure: failed program was:" >&5 | 12466 echo "configure: failed program was:" >&5 |
| 12462 cat conftest.$ac_ext >&5 | 12467 cat conftest.$ac_ext >&5 |
| 12467 | 12472 |
| 12468 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12473 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 12469 echo "$ac_t""yes" 1>&6 | 12474 echo "$ac_t""yes" 1>&6 |
| 12470 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12475 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 12471 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12476 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 12472 echo "configure:12473: checking for netinet/in.h" >&5 | 12477 echo "configure:12478: checking for netinet/in.h" >&5 |
| 12473 | 12478 |
| 12474 cat > conftest.$ac_ext <<EOF | 12479 cat > conftest.$ac_ext <<EOF |
| 12475 #line 12476 "configure" | 12480 #line 12481 "configure" |
| 12476 #include "confdefs.h" | 12481 #include "confdefs.h" |
| 12477 #include <netinet/in.h> | 12482 #include <netinet/in.h> |
| 12478 EOF | 12483 EOF |
| 12479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12480 { (eval echo configure:12481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12485 { (eval echo configure:12486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12482 if test -z "$ac_err"; then | 12487 if test -z "$ac_err"; then |
| 12483 rm -rf conftest* | 12488 rm -rf conftest* |
| 12484 eval "ac_cv_header_$ac_safe=yes" | 12489 eval "ac_cv_header_$ac_safe=yes" |
| 12485 else | 12490 else |
| 12492 rm -f conftest* | 12497 rm -f conftest* |
| 12493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12494 echo "$ac_t""yes" 1>&6 | 12499 echo "$ac_t""yes" 1>&6 |
| 12495 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12500 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 12496 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12501 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 12497 echo "configure:12498: checking for arpa/inet.h" >&5 | 12502 echo "configure:12503: checking for arpa/inet.h" >&5 |
| 12498 | 12503 |
| 12499 cat > conftest.$ac_ext <<EOF | 12504 cat > conftest.$ac_ext <<EOF |
| 12500 #line 12501 "configure" | 12505 #line 12506 "configure" |
| 12501 #include "confdefs.h" | 12506 #include "confdefs.h" |
| 12502 #include <arpa/inet.h> | 12507 #include <arpa/inet.h> |
| 12503 EOF | 12508 EOF |
| 12504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12505 { (eval echo configure:12506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12510 { (eval echo configure:12511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12507 if test -z "$ac_err"; then | 12512 if test -z "$ac_err"; then |
| 12508 rm -rf conftest* | 12513 rm -rf conftest* |
| 12509 eval "ac_cv_header_$ac_safe=yes" | 12514 eval "ac_cv_header_$ac_safe=yes" |
| 12510 else | 12515 else |
| 12525 #define HAVE_SOCKETS 1 | 12530 #define HAVE_SOCKETS 1 |
| 12526 EOF | 12531 EOF |
| 12527 } | 12532 } |
| 12528 | 12533 |
| 12529 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12534 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 12530 echo "configure:12531: checking "for sun_len member in struct sockaddr_un"" >&5 | 12535 echo "configure:12536: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 12531 cat > conftest.$ac_ext <<EOF | 12536 cat > conftest.$ac_ext <<EOF |
| 12532 #line 12533 "configure" | 12537 #line 12538 "configure" |
| 12533 #include "confdefs.h" | 12538 #include "confdefs.h" |
| 12534 | 12539 |
| 12535 #include <sys/types.h> | 12540 #include <sys/types.h> |
| 12536 #include <sys/socket.h> | 12541 #include <sys/socket.h> |
| 12537 #include <sys/un.h> | 12542 #include <sys/un.h> |
| 12538 | 12543 |
| 12539 int main() { | 12544 int main() { |
| 12540 static struct sockaddr_un x; x.sun_len = 1; | 12545 static struct sockaddr_un x; x.sun_len = 1; |
| 12541 ; return 0; } | 12546 ; return 0; } |
| 12542 EOF | 12547 EOF |
| 12543 if { (eval echo configure:12544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12548 if { (eval echo configure:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12544 rm -rf conftest* | 12549 rm -rf conftest* |
| 12545 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12550 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 12546 Defining HAVE_SOCKADDR_SUN_LEN | 12551 Defining HAVE_SOCKADDR_SUN_LEN |
| 12547 EOF | 12552 EOF |
| 12548 cat >> confdefs.h <<\EOF | 12553 cat >> confdefs.h <<\EOF |
| 12556 rm -rf conftest* | 12561 rm -rf conftest* |
| 12557 echo "$ac_t""no" 1>&6 | 12562 echo "$ac_t""no" 1>&6 |
| 12558 fi | 12563 fi |
| 12559 rm -f conftest* | 12564 rm -f conftest* |
| 12560 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12565 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 12561 echo "configure:12562: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12566 echo "configure:12567: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 12562 cat > conftest.$ac_ext <<EOF | 12567 cat > conftest.$ac_ext <<EOF |
| 12563 #line 12564 "configure" | 12568 #line 12569 "configure" |
| 12564 #include "confdefs.h" | 12569 #include "confdefs.h" |
| 12565 | 12570 |
| 12566 #include <sys/types.h> | 12571 #include <sys/types.h> |
| 12567 #include <netinet/in.h> | 12572 #include <netinet/in.h> |
| 12568 | 12573 |
| 12569 int main() { | 12574 int main() { |
| 12570 static struct ip_mreq x; | 12575 static struct ip_mreq x; |
| 12571 ; return 0; } | 12576 ; return 0; } |
| 12572 EOF | 12577 EOF |
| 12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12578 if { (eval echo configure:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12574 rm -rf conftest* | 12579 rm -rf conftest* |
| 12575 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12580 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 12576 Defining HAVE_MULTICAST | 12581 Defining HAVE_MULTICAST |
| 12577 EOF | 12582 EOF |
| 12578 cat >> confdefs.h <<\EOF | 12583 cat >> confdefs.h <<\EOF |
| 12599 echo "$ac_t""no" 1>&6 | 12604 echo "$ac_t""no" 1>&6 |
| 12600 fi | 12605 fi |
| 12601 | 12606 |
| 12602 | 12607 |
| 12603 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12608 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 12604 echo "configure:12605: checking for msgget" >&5 | 12609 echo "configure:12610: checking for msgget" >&5 |
| 12605 | 12610 |
| 12606 cat > conftest.$ac_ext <<EOF | 12611 cat > conftest.$ac_ext <<EOF |
| 12607 #line 12608 "configure" | 12612 #line 12613 "configure" |
| 12608 #include "confdefs.h" | 12613 #include "confdefs.h" |
| 12609 /* System header to define __stub macros and hopefully few prototypes, | 12614 /* System header to define __stub macros and hopefully few prototypes, |
| 12610 which can conflict with char msgget(); below. */ | 12615 which can conflict with char msgget(); below. */ |
| 12611 #include <assert.h> | 12616 #include <assert.h> |
| 12612 /* Override any gcc2 internal prototype to avoid an error. */ | 12617 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12625 msgget(); | 12630 msgget(); |
| 12626 #endif | 12631 #endif |
| 12627 | 12632 |
| 12628 ; return 0; } | 12633 ; return 0; } |
| 12629 EOF | 12634 EOF |
| 12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12635 if { (eval echo configure:12636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12631 rm -rf conftest* | 12636 rm -rf conftest* |
| 12632 eval "ac_cv_func_msgget=yes" | 12637 eval "ac_cv_func_msgget=yes" |
| 12633 else | 12638 else |
| 12634 echo "configure: failed program was:" >&5 | 12639 echo "configure: failed program was:" >&5 |
| 12635 cat conftest.$ac_ext >&5 | 12640 cat conftest.$ac_ext >&5 |
| 12640 | 12645 |
| 12641 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12646 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 12642 echo "$ac_t""yes" 1>&6 | 12647 echo "$ac_t""yes" 1>&6 |
| 12643 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12648 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 12644 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12649 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 12645 echo "configure:12646: checking for sys/ipc.h" >&5 | 12650 echo "configure:12651: checking for sys/ipc.h" >&5 |
| 12646 | 12651 |
| 12647 cat > conftest.$ac_ext <<EOF | 12652 cat > conftest.$ac_ext <<EOF |
| 12648 #line 12649 "configure" | 12653 #line 12654 "configure" |
| 12649 #include "confdefs.h" | 12654 #include "confdefs.h" |
| 12650 #include <sys/ipc.h> | 12655 #include <sys/ipc.h> |
| 12651 EOF | 12656 EOF |
| 12652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12653 { (eval echo configure:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12658 { (eval echo configure:12659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12655 if test -z "$ac_err"; then | 12660 if test -z "$ac_err"; then |
| 12656 rm -rf conftest* | 12661 rm -rf conftest* |
| 12657 eval "ac_cv_header_$ac_safe=yes" | 12662 eval "ac_cv_header_$ac_safe=yes" |
| 12658 else | 12663 else |
| 12665 rm -f conftest* | 12670 rm -f conftest* |
| 12666 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12667 echo "$ac_t""yes" 1>&6 | 12672 echo "$ac_t""yes" 1>&6 |
| 12668 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12673 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 12669 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12674 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 12670 echo "configure:12671: checking for sys/msg.h" >&5 | 12675 echo "configure:12676: checking for sys/msg.h" >&5 |
| 12671 | 12676 |
| 12672 cat > conftest.$ac_ext <<EOF | 12677 cat > conftest.$ac_ext <<EOF |
| 12673 #line 12674 "configure" | 12678 #line 12679 "configure" |
| 12674 #include "confdefs.h" | 12679 #include "confdefs.h" |
| 12675 #include <sys/msg.h> | 12680 #include <sys/msg.h> |
| 12676 EOF | 12681 EOF |
| 12677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12678 { (eval echo configure:12679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12683 { (eval echo configure:12684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12680 if test -z "$ac_err"; then | 12685 if test -z "$ac_err"; then |
| 12681 rm -rf conftest* | 12686 rm -rf conftest* |
| 12682 eval "ac_cv_header_$ac_safe=yes" | 12687 eval "ac_cv_header_$ac_safe=yes" |
| 12683 else | 12688 else |
| 12711 fi | 12716 fi |
| 12712 | 12717 |
| 12713 | 12718 |
| 12714 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12719 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 12715 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12720 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 12716 echo "configure:12717: checking for dirent.h" >&5 | 12721 echo "configure:12722: checking for dirent.h" >&5 |
| 12717 | 12722 |
| 12718 cat > conftest.$ac_ext <<EOF | 12723 cat > conftest.$ac_ext <<EOF |
| 12719 #line 12720 "configure" | 12724 #line 12725 "configure" |
| 12720 #include "confdefs.h" | 12725 #include "confdefs.h" |
| 12721 #include <dirent.h> | 12726 #include <dirent.h> |
| 12722 EOF | 12727 EOF |
| 12723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12724 { (eval echo configure:12725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12729 { (eval echo configure:12730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12726 if test -z "$ac_err"; then | 12731 if test -z "$ac_err"; then |
| 12727 rm -rf conftest* | 12732 rm -rf conftest* |
| 12728 eval "ac_cv_header_$ac_safe=yes" | 12733 eval "ac_cv_header_$ac_safe=yes" |
| 12729 else | 12734 else |
| 12746 | 12751 |
| 12747 else | 12752 else |
| 12748 echo "$ac_t""no" 1>&6 | 12753 echo "$ac_t""no" 1>&6 |
| 12749 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12754 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 12750 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12755 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 12751 echo "configure:12752: checking for sys/dir.h" >&5 | 12756 echo "configure:12757: checking for sys/dir.h" >&5 |
| 12752 | 12757 |
| 12753 cat > conftest.$ac_ext <<EOF | 12758 cat > conftest.$ac_ext <<EOF |
| 12754 #line 12755 "configure" | 12759 #line 12760 "configure" |
| 12755 #include "confdefs.h" | 12760 #include "confdefs.h" |
| 12756 #include <sys/dir.h> | 12761 #include <sys/dir.h> |
| 12757 EOF | 12762 EOF |
| 12758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12759 { (eval echo configure:12760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12764 { (eval echo configure:12765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12761 if test -z "$ac_err"; then | 12766 if test -z "$ac_err"; then |
| 12762 rm -rf conftest* | 12767 rm -rf conftest* |
| 12763 eval "ac_cv_header_$ac_safe=yes" | 12768 eval "ac_cv_header_$ac_safe=yes" |
| 12764 else | 12769 else |
| 12787 fi | 12792 fi |
| 12788 | 12793 |
| 12789 | 12794 |
| 12790 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12795 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 12791 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12796 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 12792 echo "configure:12793: checking for nlist.h" >&5 | 12797 echo "configure:12798: checking for nlist.h" >&5 |
| 12793 | 12798 |
| 12794 cat > conftest.$ac_ext <<EOF | 12799 cat > conftest.$ac_ext <<EOF |
| 12795 #line 12796 "configure" | 12800 #line 12801 "configure" |
| 12796 #include "confdefs.h" | 12801 #include "confdefs.h" |
| 12797 #include <nlist.h> | 12802 #include <nlist.h> |
| 12798 EOF | 12803 EOF |
| 12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12805 { (eval echo configure:12806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12802 if test -z "$ac_err"; then | 12807 if test -z "$ac_err"; then |
| 12803 rm -rf conftest* | 12808 rm -rf conftest* |
| 12804 eval "ac_cv_header_$ac_safe=yes" | 12809 eval "ac_cv_header_$ac_safe=yes" |
| 12805 else | 12810 else |
| 12825 fi | 12830 fi |
| 12826 | 12831 |
| 12827 | 12832 |
| 12828 | 12833 |
| 12829 echo "checking "for sound support"" 1>&6 | 12834 echo "checking "for sound support"" 1>&6 |
| 12830 echo "configure:12831: checking "for sound support"" >&5 | 12835 echo "configure:12836: checking "for sound support"" >&5 |
| 12831 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12836 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 12832 | 12837 |
| 12833 if test "$with_native_sound" != "no"; then | 12838 if test "$with_native_sound" != "no"; then |
| 12834 if test -n "$native_sound_lib"; then | 12839 if test -n "$native_sound_lib"; then |
| 12835 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12840 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 12836 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12841 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 12837 echo "configure:12838: checking for multimedia/audio_device.h" >&5 | 12842 echo "configure:12843: checking for multimedia/audio_device.h" >&5 |
| 12838 | 12843 |
| 12839 cat > conftest.$ac_ext <<EOF | 12844 cat > conftest.$ac_ext <<EOF |
| 12840 #line 12841 "configure" | 12845 #line 12846 "configure" |
| 12841 #include "confdefs.h" | 12846 #include "confdefs.h" |
| 12842 #include <multimedia/audio_device.h> | 12847 #include <multimedia/audio_device.h> |
| 12843 EOF | 12848 EOF |
| 12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12850 { (eval echo configure:12851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12847 if test -z "$ac_err"; then | 12852 if test -z "$ac_err"; then |
| 12848 rm -rf conftest* | 12853 rm -rf conftest* |
| 12849 eval "ac_cv_header_$ac_safe=yes" | 12854 eval "ac_cv_header_$ac_safe=yes" |
| 12850 else | 12855 else |
| 12888 case "$canonical" in | 12893 case "$canonical" in |
| 12889 *-sgi-* ) | 12894 *-sgi-* ) |
| 12890 if test -z "$native_sound_lib"; then | 12895 if test -z "$native_sound_lib"; then |
| 12891 | 12896 |
| 12892 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12897 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 12893 echo "configure:12894: checking for ALopenport in -laudio" >&5 | 12898 echo "configure:12899: checking for ALopenport in -laudio" >&5 |
| 12894 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12899 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 12895 | 12900 |
| 12896 xe_check_libs=" -laudio " | 12901 xe_check_libs=" -laudio " |
| 12897 cat > conftest.$ac_ext <<EOF | 12902 cat > conftest.$ac_ext <<EOF |
| 12898 #line 12899 "configure" | 12903 #line 12904 "configure" |
| 12899 #include "confdefs.h" | 12904 #include "confdefs.h" |
| 12900 /* Override any gcc2 internal prototype to avoid an error. */ | 12905 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12901 /* We use char because int might match the return type of a gcc2 | 12906 /* We use char because int might match the return type of a gcc2 |
| 12902 builtin and then its argument prototype would still apply. */ | 12907 builtin and then its argument prototype would still apply. */ |
| 12903 char ALopenport(); | 12908 char ALopenport(); |
| 12904 | 12909 |
| 12905 int main() { | 12910 int main() { |
| 12906 ALopenport() | 12911 ALopenport() |
| 12907 ; return 0; } | 12912 ; return 0; } |
| 12908 EOF | 12913 EOF |
| 12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12910 rm -rf conftest* | 12915 rm -rf conftest* |
| 12911 eval "ac_cv_lib_$ac_lib_var=yes" | 12916 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12912 else | 12917 else |
| 12913 echo "configure: failed program was:" >&5 | 12918 echo "configure: failed program was:" >&5 |
| 12914 cat conftest.$ac_ext >&5 | 12919 cat conftest.$ac_ext >&5 |
| 12935 fi ;; | 12940 fi ;; |
| 12936 hppa*-hp-hpux* ) | 12941 hppa*-hp-hpux* ) |
| 12937 if test -z "$native_sound_lib"; then | 12942 if test -z "$native_sound_lib"; then |
| 12938 | 12943 |
| 12939 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12944 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 12940 echo "configure:12941: checking for AOpenAudio in -lAlib" >&5 | 12945 echo "configure:12946: checking for AOpenAudio in -lAlib" >&5 |
| 12941 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12946 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 12942 | 12947 |
| 12943 xe_check_libs=" -lAlib " | 12948 xe_check_libs=" -lAlib " |
| 12944 cat > conftest.$ac_ext <<EOF | 12949 cat > conftest.$ac_ext <<EOF |
| 12945 #line 12946 "configure" | 12950 #line 12951 "configure" |
| 12946 #include "confdefs.h" | 12951 #include "confdefs.h" |
| 12947 /* Override any gcc2 internal prototype to avoid an error. */ | 12952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12948 /* We use char because int might match the return type of a gcc2 | 12953 /* We use char because int might match the return type of a gcc2 |
| 12949 builtin and then its argument prototype would still apply. */ | 12954 builtin and then its argument prototype would still apply. */ |
| 12950 char AOpenAudio(); | 12955 char AOpenAudio(); |
| 12951 | 12956 |
| 12952 int main() { | 12957 int main() { |
| 12953 AOpenAudio() | 12958 AOpenAudio() |
| 12954 ; return 0; } | 12959 ; return 0; } |
| 12955 EOF | 12960 EOF |
| 12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12961 if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12957 rm -rf conftest* | 12962 rm -rf conftest* |
| 12958 eval "ac_cv_lib_$ac_lib_var=yes" | 12963 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12959 else | 12964 else |
| 12960 echo "configure: failed program was:" >&5 | 12965 echo "configure: failed program was:" >&5 |
| 12961 cat conftest.$ac_ext >&5 | 12966 cat conftest.$ac_ext >&5 |
| 12999 | 13004 |
| 13000 if test -z "$sound_found"; then | 13005 if test -z "$sound_found"; then |
| 13001 for dir in "machine" "sys" "linux"; do | 13006 for dir in "machine" "sys" "linux"; do |
| 13002 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13007 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 13003 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13008 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 13004 echo "configure:13005: checking for ${dir}/soundcard.h" >&5 | 13009 echo "configure:13010: checking for ${dir}/soundcard.h" >&5 |
| 13005 | 13010 |
| 13006 cat > conftest.$ac_ext <<EOF | 13011 cat > conftest.$ac_ext <<EOF |
| 13007 #line 13008 "configure" | 13012 #line 13013 "configure" |
| 13008 #include "confdefs.h" | 13013 #include "confdefs.h" |
| 13009 #include <${dir}/soundcard.h> | 13014 #include <${dir}/soundcard.h> |
| 13010 EOF | 13015 EOF |
| 13011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13012 { (eval echo configure:13013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13017 { (eval echo configure:13018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13014 if test -z "$ac_err"; then | 13019 if test -z "$ac_err"; then |
| 13015 rm -rf conftest* | 13020 rm -rf conftest* |
| 13016 eval "ac_cv_header_$ac_safe=yes" | 13021 eval "ac_cv_header_$ac_safe=yes" |
| 13017 else | 13022 else |
| 13061 fi | 13066 fi |
| 13062 | 13067 |
| 13063 if test "$with_nas_sound" != "no"; then | 13068 if test "$with_nas_sound" != "no"; then |
| 13064 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13069 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
| 13065 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13070 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
| 13066 echo "configure:13067: checking for audio/audiolib.h" >&5 | 13071 echo "configure:13072: checking for audio/audiolib.h" >&5 |
| 13067 | 13072 |
| 13068 cat > conftest.$ac_ext <<EOF | 13073 cat > conftest.$ac_ext <<EOF |
| 13069 #line 13070 "configure" | 13074 #line 13075 "configure" |
| 13070 #include "confdefs.h" | 13075 #include "confdefs.h" |
| 13071 #include <audio/audiolib.h> | 13076 #include <audio/audiolib.h> |
| 13072 EOF | 13077 EOF |
| 13073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13074 { (eval echo configure:13075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13079 { (eval echo configure:13080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13076 if test -z "$ac_err"; then | 13081 if test -z "$ac_err"; then |
| 13077 rm -rf conftest* | 13082 rm -rf conftest* |
| 13078 eval "ac_cv_header_$ac_safe=yes" | 13083 eval "ac_cv_header_$ac_safe=yes" |
| 13079 else | 13084 else |
| 13087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13088 echo "$ac_t""yes" 1>&6 | 13093 echo "$ac_t""yes" 1>&6 |
| 13089 | 13094 |
| 13090 | 13095 |
| 13091 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13096 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
| 13092 echo "configure:13093: checking for AuOpenServer in -laudio" >&5 | 13097 echo "configure:13098: checking for AuOpenServer in -laudio" >&5 |
| 13093 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13098 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
| 13094 | 13099 |
| 13095 xe_check_libs=" -laudio " | 13100 xe_check_libs=" -laudio " |
| 13096 cat > conftest.$ac_ext <<EOF | 13101 cat > conftest.$ac_ext <<EOF |
| 13097 #line 13098 "configure" | 13102 #line 13103 "configure" |
| 13098 #include "confdefs.h" | 13103 #include "confdefs.h" |
| 13099 /* Override any gcc2 internal prototype to avoid an error. */ | 13104 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13100 /* We use char because int might match the return type of a gcc2 | 13105 /* We use char because int might match the return type of a gcc2 |
| 13101 builtin and then its argument prototype would still apply. */ | 13106 builtin and then its argument prototype would still apply. */ |
| 13102 char AuOpenServer(); | 13107 char AuOpenServer(); |
| 13103 | 13108 |
| 13104 int main() { | 13109 int main() { |
| 13105 AuOpenServer() | 13110 AuOpenServer() |
| 13106 ; return 0; } | 13111 ; return 0; } |
| 13107 EOF | 13112 EOF |
| 13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13113 if { (eval echo configure:13114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13109 rm -rf conftest* | 13114 rm -rf conftest* |
| 13110 eval "ac_cv_lib_$ac_lib_var=yes" | 13115 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13111 else | 13116 else |
| 13112 echo "configure: failed program was:" >&5 | 13117 echo "configure: failed program was:" >&5 |
| 13113 cat conftest.$ac_ext >&5 | 13118 cat conftest.$ac_ext >&5 |
| 13142 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13147 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 13143 echo " xemacs will be linked with \"nas.o\"" | 13148 echo " xemacs will be linked with \"nas.o\"" |
| 13144 fi | 13149 fi |
| 13145 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13150 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 13146 cat > conftest.$ac_ext <<EOF | 13151 cat > conftest.$ac_ext <<EOF |
| 13147 #line 13148 "configure" | 13152 #line 13153 "configure" |
| 13148 #include "confdefs.h" | 13153 #include "confdefs.h" |
| 13149 #include <audio/Xtutil.h> | 13154 #include <audio/Xtutil.h> |
| 13150 EOF | 13155 EOF |
| 13151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13152 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13157 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 13173 | 13178 |
| 13174 if test "$with_esd_sound" != "no"; then | 13179 if test "$with_esd_sound" != "no"; then |
| 13175 # Extract the first word of "esd-config", so it can be a program name with args. | 13180 # Extract the first word of "esd-config", so it can be a program name with args. |
| 13176 set dummy esd-config; ac_word=$2 | 13181 set dummy esd-config; ac_word=$2 |
| 13177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 13178 echo "configure:13179: checking for $ac_word" >&5 | 13183 echo "configure:13184: checking for $ac_word" >&5 |
| 13179 | 13184 |
| 13180 if test -n "$have_esd_config"; then | 13185 if test -n "$have_esd_config"; then |
| 13181 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13186 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
| 13182 else | 13187 else |
| 13183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 13202 if test "$have_esd_config" = "yes"; then | 13207 if test "$have_esd_config" = "yes"; then |
| 13203 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13208 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
| 13204 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 | 13209 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 |
| 13205 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13210 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
| 13206 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13211 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
| 13207 echo "configure:13208: checking for esd_play_stream" >&5 | 13212 echo "configure:13213: checking for esd_play_stream" >&5 |
| 13208 | 13213 |
| 13209 cat > conftest.$ac_ext <<EOF | 13214 cat > conftest.$ac_ext <<EOF |
| 13210 #line 13211 "configure" | 13215 #line 13216 "configure" |
| 13211 #include "confdefs.h" | 13216 #include "confdefs.h" |
| 13212 /* System header to define __stub macros and hopefully few prototypes, | 13217 /* System header to define __stub macros and hopefully few prototypes, |
| 13213 which can conflict with char esd_play_stream(); below. */ | 13218 which can conflict with char esd_play_stream(); below. */ |
| 13214 #include <assert.h> | 13219 #include <assert.h> |
| 13215 /* Override any gcc2 internal prototype to avoid an error. */ | 13220 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13228 esd_play_stream(); | 13233 esd_play_stream(); |
| 13229 #endif | 13234 #endif |
| 13230 | 13235 |
| 13231 ; return 0; } | 13236 ; return 0; } |
| 13232 EOF | 13237 EOF |
| 13233 if { (eval echo configure:13234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13238 if { (eval echo configure:13239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13234 rm -rf conftest* | 13239 rm -rf conftest* |
| 13235 eval "ac_cv_func_esd_play_stream=yes" | 13240 eval "ac_cv_func_esd_play_stream=yes" |
| 13236 else | 13241 else |
| 13237 echo "configure: failed program was:" >&5 | 13242 echo "configure: failed program was:" >&5 |
| 13238 cat conftest.$ac_ext >&5 | 13243 cat conftest.$ac_ext >&5 |
| 13279 | 13284 |
| 13280 test -z "$with_tty" && with_tty=yes | 13285 test -z "$with_tty" && with_tty=yes |
| 13281 | 13286 |
| 13282 if test "$with_tty" = "yes" ; then | 13287 if test "$with_tty" = "yes" ; then |
| 13283 echo "checking for TTY-related features" 1>&6 | 13288 echo "checking for TTY-related features" 1>&6 |
| 13284 echo "configure:13285: checking for TTY-related features" >&5 | 13289 echo "configure:13290: checking for TTY-related features" >&5 |
| 13285 { test "$extra_verbose" = "yes" && cat << \EOF | 13290 { test "$extra_verbose" = "yes" && cat << \EOF |
| 13286 Defining HAVE_TTY | 13291 Defining HAVE_TTY |
| 13287 EOF | 13292 EOF |
| 13288 cat >> confdefs.h <<\EOF | 13293 cat >> confdefs.h <<\EOF |
| 13289 #define HAVE_TTY 1 | 13294 #define HAVE_TTY 1 |
| 13292 | 13297 |
| 13293 | 13298 |
| 13294 if test -z "$with_ncurses"; then | 13299 if test -z "$with_ncurses"; then |
| 13295 | 13300 |
| 13296 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13301 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 13297 echo "configure:13298: checking for tgetent in -lncurses" >&5 | 13302 echo "configure:13303: checking for tgetent in -lncurses" >&5 |
| 13298 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13303 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 13299 | 13304 |
| 13300 xe_check_libs=" -lncurses " | 13305 xe_check_libs=" -lncurses " |
| 13301 cat > conftest.$ac_ext <<EOF | 13306 cat > conftest.$ac_ext <<EOF |
| 13302 #line 13303 "configure" | 13307 #line 13308 "configure" |
| 13303 #include "confdefs.h" | 13308 #include "confdefs.h" |
| 13304 /* Override any gcc2 internal prototype to avoid an error. */ | 13309 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13305 /* We use char because int might match the return type of a gcc2 | 13310 /* We use char because int might match the return type of a gcc2 |
| 13306 builtin and then its argument prototype would still apply. */ | 13311 builtin and then its argument prototype would still apply. */ |
| 13307 char tgetent(); | 13312 char tgetent(); |
| 13308 | 13313 |
| 13309 int main() { | 13314 int main() { |
| 13310 tgetent() | 13315 tgetent() |
| 13311 ; return 0; } | 13316 ; return 0; } |
| 13312 EOF | 13317 EOF |
| 13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13314 rm -rf conftest* | 13319 rm -rf conftest* |
| 13315 eval "ac_cv_lib_$ac_lib_var=yes" | 13320 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13316 else | 13321 else |
| 13317 echo "configure: failed program was:" >&5 | 13322 echo "configure: failed program was:" >&5 |
| 13318 cat conftest.$ac_ext >&5 | 13323 cat conftest.$ac_ext >&5 |
| 13341 EOF | 13346 EOF |
| 13342 } | 13347 } |
| 13343 | 13348 |
| 13344 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13349 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 13345 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13350 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 13346 echo "configure:13347: checking for ncurses/curses.h" >&5 | 13351 echo "configure:13352: checking for ncurses/curses.h" >&5 |
| 13347 | 13352 |
| 13348 cat > conftest.$ac_ext <<EOF | 13353 cat > conftest.$ac_ext <<EOF |
| 13349 #line 13350 "configure" | 13354 #line 13355 "configure" |
| 13350 #include "confdefs.h" | 13355 #include "confdefs.h" |
| 13351 #include <ncurses/curses.h> | 13356 #include <ncurses/curses.h> |
| 13352 EOF | 13357 EOF |
| 13353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13354 { (eval echo configure:13355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13359 { (eval echo configure:13360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13356 if test -z "$ac_err"; then | 13361 if test -z "$ac_err"; then |
| 13357 rm -rf conftest* | 13362 rm -rf conftest* |
| 13358 eval "ac_cv_header_$ac_safe=yes" | 13363 eval "ac_cv_header_$ac_safe=yes" |
| 13359 else | 13364 else |
| 13371 echo "$ac_t""no" 1>&6 | 13376 echo "$ac_t""no" 1>&6 |
| 13372 fi | 13377 fi |
| 13373 | 13378 |
| 13374 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13379 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 13375 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13380 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 13376 echo "configure:13377: checking for ncurses/term.h" >&5 | 13381 echo "configure:13382: checking for ncurses/term.h" >&5 |
| 13377 | 13382 |
| 13378 cat > conftest.$ac_ext <<EOF | 13383 cat > conftest.$ac_ext <<EOF |
| 13379 #line 13380 "configure" | 13384 #line 13385 "configure" |
| 13380 #include "confdefs.h" | 13385 #include "confdefs.h" |
| 13381 #include <ncurses/term.h> | 13386 #include <ncurses/term.h> |
| 13382 EOF | 13387 EOF |
| 13383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13384 { (eval echo configure:13385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13389 { (eval echo configure:13390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13386 if test -z "$ac_err"; then | 13391 if test -z "$ac_err"; then |
| 13387 rm -rf conftest* | 13392 rm -rf conftest* |
| 13388 eval "ac_cv_header_$ac_safe=yes" | 13393 eval "ac_cv_header_$ac_safe=yes" |
| 13389 else | 13394 else |
| 13409 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13414 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 13410 save_c_switch_site="$c_switch_site" | 13415 save_c_switch_site="$c_switch_site" |
| 13411 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13416 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 13412 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13417 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 13413 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13418 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 13414 echo "configure:13415: checking for ncurses/curses.h" >&5 | 13419 echo "configure:13420: checking for ncurses/curses.h" >&5 |
| 13415 | 13420 |
| 13416 cat > conftest.$ac_ext <<EOF | 13421 cat > conftest.$ac_ext <<EOF |
| 13417 #line 13418 "configure" | 13422 #line 13423 "configure" |
| 13418 #include "confdefs.h" | 13423 #include "confdefs.h" |
| 13419 #include <ncurses/curses.h> | 13424 #include <ncurses/curses.h> |
| 13420 EOF | 13425 EOF |
| 13421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13422 { (eval echo configure:13423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13427 { (eval echo configure:13428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13424 if test -z "$ac_err"; then | 13429 if test -z "$ac_err"; then |
| 13425 rm -rf conftest* | 13430 rm -rf conftest* |
| 13426 eval "ac_cv_header_$ac_safe=yes" | 13431 eval "ac_cv_header_$ac_safe=yes" |
| 13427 else | 13432 else |
| 13452 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13457 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 13453 else | 13458 else |
| 13454 for lib in curses termlib termcap; do | 13459 for lib in curses termlib termcap; do |
| 13455 | 13460 |
| 13456 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13461 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 13457 echo "configure:13458: checking for tgetent in -l$lib" >&5 | 13462 echo "configure:13463: checking for tgetent in -l$lib" >&5 |
| 13458 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13463 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 13459 | 13464 |
| 13460 xe_check_libs=" -l$lib " | 13465 xe_check_libs=" -l$lib " |
| 13461 cat > conftest.$ac_ext <<EOF | 13466 cat > conftest.$ac_ext <<EOF |
| 13462 #line 13463 "configure" | 13467 #line 13468 "configure" |
| 13463 #include "confdefs.h" | 13468 #include "confdefs.h" |
| 13464 /* Override any gcc2 internal prototype to avoid an error. */ | 13469 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13465 /* We use char because int might match the return type of a gcc2 | 13470 /* We use char because int might match the return type of a gcc2 |
| 13466 builtin and then its argument prototype would still apply. */ | 13471 builtin and then its argument prototype would still apply. */ |
| 13467 char tgetent(); | 13472 char tgetent(); |
| 13468 | 13473 |
| 13469 int main() { | 13474 int main() { |
| 13470 tgetent() | 13475 tgetent() |
| 13471 ; return 0; } | 13476 ; return 0; } |
| 13472 EOF | 13477 EOF |
| 13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13478 if { (eval echo configure:13479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13474 rm -rf conftest* | 13479 rm -rf conftest* |
| 13475 eval "ac_cv_lib_$ac_lib_var=yes" | 13480 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13476 else | 13481 else |
| 13477 echo "configure: failed program was:" >&5 | 13482 echo "configure: failed program was:" >&5 |
| 13478 cat conftest.$ac_ext >&5 | 13483 cat conftest.$ac_ext >&5 |
| 13499 if test -n "$libs_termcap"; then | 13504 if test -n "$libs_termcap"; then |
| 13500 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13505 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 13501 else | 13506 else |
| 13502 | 13507 |
| 13503 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13508 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 13504 echo "configure:13505: checking for tgetent in -lcurses" >&5 | 13509 echo "configure:13510: checking for tgetent in -lcurses" >&5 |
| 13505 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13510 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 13506 | 13511 |
| 13507 xe_check_libs=" -lcurses " | 13512 xe_check_libs=" -lcurses " |
| 13508 cat > conftest.$ac_ext <<EOF | 13513 cat > conftest.$ac_ext <<EOF |
| 13509 #line 13510 "configure" | 13514 #line 13515 "configure" |
| 13510 #include "confdefs.h" | 13515 #include "confdefs.h" |
| 13511 /* Override any gcc2 internal prototype to avoid an error. */ | 13516 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13512 /* We use char because int might match the return type of a gcc2 | 13517 /* We use char because int might match the return type of a gcc2 |
| 13513 builtin and then its argument prototype would still apply. */ | 13518 builtin and then its argument prototype would still apply. */ |
| 13514 char tgetent(); | 13519 char tgetent(); |
| 13515 | 13520 |
| 13516 int main() { | 13521 int main() { |
| 13517 tgetent() | 13522 tgetent() |
| 13518 ; return 0; } | 13523 ; return 0; } |
| 13519 EOF | 13524 EOF |
| 13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13525 if { (eval echo configure:13526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13521 rm -rf conftest* | 13526 rm -rf conftest* |
| 13522 eval "ac_cv_lib_$ac_lib_var=yes" | 13527 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13523 else | 13528 else |
| 13524 echo "configure: failed program was:" >&5 | 13529 echo "configure: failed program was:" >&5 |
| 13525 cat conftest.$ac_ext >&5 | 13530 cat conftest.$ac_ext >&5 |
| 13533 echo "$ac_t""yes" 1>&6 | 13538 echo "$ac_t""yes" 1>&6 |
| 13534 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13539 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 13535 else | 13540 else |
| 13536 echo "$ac_t""no" 1>&6 | 13541 echo "$ac_t""no" 1>&6 |
| 13537 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13542 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 13538 echo "configure:13539: checking for tgetent in -ltermcap" >&5 | 13543 echo "configure:13544: checking for tgetent in -ltermcap" >&5 |
| 13539 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13544 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 13540 | 13545 |
| 13541 xe_check_libs=" -ltermcap " | 13546 xe_check_libs=" -ltermcap " |
| 13542 cat > conftest.$ac_ext <<EOF | 13547 cat > conftest.$ac_ext <<EOF |
| 13543 #line 13544 "configure" | 13548 #line 13549 "configure" |
| 13544 #include "confdefs.h" | 13549 #include "confdefs.h" |
| 13545 /* Override any gcc2 internal prototype to avoid an error. */ | 13550 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13546 /* We use char because int might match the return type of a gcc2 | 13551 /* We use char because int might match the return type of a gcc2 |
| 13547 builtin and then its argument prototype would still apply. */ | 13552 builtin and then its argument prototype would still apply. */ |
| 13548 char tgetent(); | 13553 char tgetent(); |
| 13549 | 13554 |
| 13550 int main() { | 13555 int main() { |
| 13551 tgetent() | 13556 tgetent() |
| 13552 ; return 0; } | 13557 ; return 0; } |
| 13553 EOF | 13558 EOF |
| 13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13559 if { (eval echo configure:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13555 rm -rf conftest* | 13560 rm -rf conftest* |
| 13556 eval "ac_cv_lib_$ac_lib_var=yes" | 13561 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13557 else | 13562 else |
| 13558 echo "configure: failed program was:" >&5 | 13563 echo "configure: failed program was:" >&5 |
| 13559 cat conftest.$ac_ext >&5 | 13564 cat conftest.$ac_ext >&5 |
| 13597 } | 13602 } |
| 13598 | 13603 |
| 13599 | 13604 |
| 13600 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13605 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 13601 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13606 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 13602 echo "configure:13603: checking for gpm.h" >&5 | 13607 echo "configure:13608: checking for gpm.h" >&5 |
| 13603 | 13608 |
| 13604 cat > conftest.$ac_ext <<EOF | 13609 cat > conftest.$ac_ext <<EOF |
| 13605 #line 13606 "configure" | 13610 #line 13611 "configure" |
| 13606 #include "confdefs.h" | 13611 #include "confdefs.h" |
| 13607 #include <gpm.h> | 13612 #include <gpm.h> |
| 13608 EOF | 13613 EOF |
| 13609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13610 { (eval echo configure:13611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13615 { (eval echo configure:13616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13612 if test -z "$ac_err"; then | 13617 if test -z "$ac_err"; then |
| 13613 rm -rf conftest* | 13618 rm -rf conftest* |
| 13614 eval "ac_cv_header_$ac_safe=yes" | 13619 eval "ac_cv_header_$ac_safe=yes" |
| 13615 else | 13620 else |
| 13628 with_gpm=no | 13633 with_gpm=no |
| 13629 fi | 13634 fi |
| 13630 } | 13635 } |
| 13631 test -z "$with_gpm" && { | 13636 test -z "$with_gpm" && { |
| 13632 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13637 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 13633 echo "configure:13634: checking for Gpm_Open in -lgpm" >&5 | 13638 echo "configure:13639: checking for Gpm_Open in -lgpm" >&5 |
| 13634 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13639 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 13635 | 13640 |
| 13636 xe_check_libs=" -lgpm " | 13641 xe_check_libs=" -lgpm " |
| 13637 cat > conftest.$ac_ext <<EOF | 13642 cat > conftest.$ac_ext <<EOF |
| 13638 #line 13639 "configure" | 13643 #line 13644 "configure" |
| 13639 #include "confdefs.h" | 13644 #include "confdefs.h" |
| 13640 /* Override any gcc2 internal prototype to avoid an error. */ | 13645 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13641 /* We use char because int might match the return type of a gcc2 | 13646 /* We use char because int might match the return type of a gcc2 |
| 13642 builtin and then its argument prototype would still apply. */ | 13647 builtin and then its argument prototype would still apply. */ |
| 13643 char Gpm_Open(); | 13648 char Gpm_Open(); |
| 13644 | 13649 |
| 13645 int main() { | 13650 int main() { |
| 13646 Gpm_Open() | 13651 Gpm_Open() |
| 13647 ; return 0; } | 13652 ; return 0; } |
| 13648 EOF | 13653 EOF |
| 13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13654 if { (eval echo configure:13655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13650 rm -rf conftest* | 13655 rm -rf conftest* |
| 13651 eval "ac_cv_lib_$ac_lib_var=yes" | 13656 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13652 else | 13657 else |
| 13653 echo "configure: failed program was:" >&5 | 13658 echo "configure: failed program was:" >&5 |
| 13654 cat conftest.$ac_ext >&5 | 13659 cat conftest.$ac_ext >&5 |
| 13687 done | 13692 done |
| 13688 fi | 13693 fi |
| 13689 | 13694 |
| 13690 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13695 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
| 13691 != "no no no" && echo "checking for database support" 1>&6 | 13696 != "no no no" && echo "checking for database support" 1>&6 |
| 13692 echo "configure:13693: checking for database support" >&5 | 13697 echo "configure:13698: checking for database support" >&5 |
| 13693 | 13698 |
| 13694 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13699 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
| 13695 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13700 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 13696 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13701 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 13697 echo "configure:13698: checking for ndbm.h" >&5 | 13702 echo "configure:13703: checking for ndbm.h" >&5 |
| 13698 | 13703 |
| 13699 cat > conftest.$ac_ext <<EOF | 13704 cat > conftest.$ac_ext <<EOF |
| 13700 #line 13701 "configure" | 13705 #line 13706 "configure" |
| 13701 #include "confdefs.h" | 13706 #include "confdefs.h" |
| 13702 #include <ndbm.h> | 13707 #include <ndbm.h> |
| 13703 EOF | 13708 EOF |
| 13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13710 { (eval echo configure:13711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13707 if test -z "$ac_err"; then | 13712 if test -z "$ac_err"; then |
| 13708 rm -rf conftest* | 13713 rm -rf conftest* |
| 13709 eval "ac_cv_header_$ac_safe=yes" | 13714 eval "ac_cv_header_$ac_safe=yes" |
| 13710 else | 13715 else |
| 13730 fi | 13735 fi |
| 13731 | 13736 |
| 13732 if test "$with_database_gdbm" != "no"; then | 13737 if test "$with_database_gdbm" != "no"; then |
| 13733 | 13738 |
| 13734 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13739 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 13735 echo "configure:13736: checking for dbm_open in -lgdbm" >&5 | 13740 echo "configure:13741: checking for dbm_open in -lgdbm" >&5 |
| 13736 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13741 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13737 | 13742 |
| 13738 xe_check_libs=" -lgdbm " | 13743 xe_check_libs=" -lgdbm " |
| 13739 cat > conftest.$ac_ext <<EOF | 13744 cat > conftest.$ac_ext <<EOF |
| 13740 #line 13741 "configure" | 13745 #line 13746 "configure" |
| 13741 #include "confdefs.h" | 13746 #include "confdefs.h" |
| 13742 /* Override any gcc2 internal prototype to avoid an error. */ | 13747 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13743 /* We use char because int might match the return type of a gcc2 | 13748 /* We use char because int might match the return type of a gcc2 |
| 13744 builtin and then its argument prototype would still apply. */ | 13749 builtin and then its argument prototype would still apply. */ |
| 13745 char dbm_open(); | 13750 char dbm_open(); |
| 13746 | 13751 |
| 13747 int main() { | 13752 int main() { |
| 13748 dbm_open() | 13753 dbm_open() |
| 13749 ; return 0; } | 13754 ; return 0; } |
| 13750 EOF | 13755 EOF |
| 13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13752 rm -rf conftest* | 13757 rm -rf conftest* |
| 13753 eval "ac_cv_lib_$ac_lib_var=yes" | 13758 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13754 else | 13759 else |
| 13755 echo "configure: failed program was:" >&5 | 13760 echo "configure: failed program was:" >&5 |
| 13756 cat conftest.$ac_ext >&5 | 13761 cat conftest.$ac_ext >&5 |
| 13774 | 13779 |
| 13775 fi | 13780 fi |
| 13776 | 13781 |
| 13777 if test "$with_database_dbm" != "no"; then | 13782 if test "$with_database_dbm" != "no"; then |
| 13778 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13783 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 13779 echo "configure:13780: checking for dbm_open" >&5 | 13784 echo "configure:13785: checking for dbm_open" >&5 |
| 13780 | 13785 |
| 13781 cat > conftest.$ac_ext <<EOF | 13786 cat > conftest.$ac_ext <<EOF |
| 13782 #line 13783 "configure" | 13787 #line 13788 "configure" |
| 13783 #include "confdefs.h" | 13788 #include "confdefs.h" |
| 13784 /* System header to define __stub macros and hopefully few prototypes, | 13789 /* System header to define __stub macros and hopefully few prototypes, |
| 13785 which can conflict with char dbm_open(); below. */ | 13790 which can conflict with char dbm_open(); below. */ |
| 13786 #include <assert.h> | 13791 #include <assert.h> |
| 13787 /* Override any gcc2 internal prototype to avoid an error. */ | 13792 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13800 dbm_open(); | 13805 dbm_open(); |
| 13801 #endif | 13806 #endif |
| 13802 | 13807 |
| 13803 ; return 0; } | 13808 ; return 0; } |
| 13804 EOF | 13809 EOF |
| 13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13810 if { (eval echo configure:13811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13806 rm -rf conftest* | 13811 rm -rf conftest* |
| 13807 eval "ac_cv_func_dbm_open=yes" | 13812 eval "ac_cv_func_dbm_open=yes" |
| 13808 else | 13813 else |
| 13809 echo "configure: failed program was:" >&5 | 13814 echo "configure: failed program was:" >&5 |
| 13810 cat conftest.$ac_ext >&5 | 13815 cat conftest.$ac_ext >&5 |
| 13819 else | 13824 else |
| 13820 echo "$ac_t""no" 1>&6 | 13825 echo "$ac_t""no" 1>&6 |
| 13821 | 13826 |
| 13822 | 13827 |
| 13823 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13828 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 13824 echo "configure:13825: checking for dbm_open in -ldbm" >&5 | 13829 echo "configure:13830: checking for dbm_open in -ldbm" >&5 |
| 13825 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13830 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13826 | 13831 |
| 13827 xe_check_libs=" -ldbm " | 13832 xe_check_libs=" -ldbm " |
| 13828 cat > conftest.$ac_ext <<EOF | 13833 cat > conftest.$ac_ext <<EOF |
| 13829 #line 13830 "configure" | 13834 #line 13835 "configure" |
| 13830 #include "confdefs.h" | 13835 #include "confdefs.h" |
| 13831 /* Override any gcc2 internal prototype to avoid an error. */ | 13836 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13832 /* We use char because int might match the return type of a gcc2 | 13837 /* We use char because int might match the return type of a gcc2 |
| 13833 builtin and then its argument prototype would still apply. */ | 13838 builtin and then its argument prototype would still apply. */ |
| 13834 char dbm_open(); | 13839 char dbm_open(); |
| 13835 | 13840 |
| 13836 int main() { | 13841 int main() { |
| 13837 dbm_open() | 13842 dbm_open() |
| 13838 ; return 0; } | 13843 ; return 0; } |
| 13839 EOF | 13844 EOF |
| 13840 if { (eval echo configure:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13845 if { (eval echo configure:13846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13841 rm -rf conftest* | 13846 rm -rf conftest* |
| 13842 eval "ac_cv_lib_$ac_lib_var=yes" | 13847 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13843 else | 13848 else |
| 13844 echo "configure: failed program was:" >&5 | 13849 echo "configure: failed program was:" >&5 |
| 13845 cat conftest.$ac_ext >&5 | 13850 cat conftest.$ac_ext >&5 |
| 13876 } | 13881 } |
| 13877 | 13882 |
| 13878 | 13883 |
| 13879 if test "$with_database_berkdb" != "no"; then | 13884 if test "$with_database_berkdb" != "no"; then |
| 13880 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13885 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 13881 echo "configure:13882: checking for Berkeley db.h" >&5 | 13886 echo "configure:13887: checking for Berkeley db.h" >&5 |
| 13882 for header in "db/db.h" "db.h"; do | 13887 for header in "db/db.h" "db.h"; do |
| 13883 cat > conftest.$ac_ext <<EOF | 13888 cat > conftest.$ac_ext <<EOF |
| 13884 #line 13885 "configure" | 13889 #line 13890 "configure" |
| 13885 #include "confdefs.h" | 13890 #include "confdefs.h" |
| 13886 | 13891 |
| 13887 #include <stdlib.h> | 13892 #include <stdlib.h> |
| 13888 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13893 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 13889 #ifdef HAVE_INTTYPES_H | 13894 #ifdef HAVE_INTTYPES_H |
| 13901 | 13906 |
| 13902 int main() { | 13907 int main() { |
| 13903 | 13908 |
| 13904 ; return 0; } | 13909 ; return 0; } |
| 13905 EOF | 13910 EOF |
| 13906 if { (eval echo configure:13907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13911 if { (eval echo configure:13912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 13907 rm -rf conftest* | 13912 rm -rf conftest* |
| 13908 db_h_file="$header"; break | 13913 db_h_file="$header"; break |
| 13909 else | 13914 else |
| 13910 echo "configure: failed program was:" >&5 | 13915 echo "configure: failed program was:" >&5 |
| 13911 cat conftest.$ac_ext >&5 | 13916 cat conftest.$ac_ext >&5 |
| 13917 else echo "$ac_t""$db_h_file" 1>&6 | 13922 else echo "$ac_t""$db_h_file" 1>&6 |
| 13918 fi | 13923 fi |
| 13919 | 13924 |
| 13920 if test "$with_database_berkdb" != "no"; then | 13925 if test "$with_database_berkdb" != "no"; then |
| 13921 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13926 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 13922 echo "configure:13923: checking for Berkeley DB version" >&5 | 13927 echo "configure:13928: checking for Berkeley DB version" >&5 |
| 13923 cat > conftest.$ac_ext <<EOF | 13928 cat > conftest.$ac_ext <<EOF |
| 13924 #line 13925 "configure" | 13929 #line 13930 "configure" |
| 13925 #include "confdefs.h" | 13930 #include "confdefs.h" |
| 13926 #include <$db_h_file> | 13931 #include <$db_h_file> |
| 13927 #if DB_VERSION_MAJOR > 1 | 13932 #if DB_VERSION_MAJOR > 1 |
| 13928 yes | 13933 yes |
| 13929 #endif | 13934 #endif |
| 13931 EOF | 13936 EOF |
| 13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13933 egrep "yes" >/dev/null 2>&1; then | 13938 egrep "yes" >/dev/null 2>&1; then |
| 13934 rm -rf conftest* | 13939 rm -rf conftest* |
| 13935 cat > conftest.$ac_ext <<EOF | 13940 cat > conftest.$ac_ext <<EOF |
| 13936 #line 13937 "configure" | 13941 #line 13942 "configure" |
| 13937 #include "confdefs.h" | 13942 #include "confdefs.h" |
| 13938 #include <$db_h_file> | 13943 #include <$db_h_file> |
| 13939 #if DB_VERSION_MAJOR > 2 | 13944 #if DB_VERSION_MAJOR > 2 |
| 13940 yes | 13945 yes |
| 13941 #endif | 13946 #endif |
| 13958 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13963 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 13959 fi | 13964 fi |
| 13960 rm -f conftest* | 13965 rm -f conftest* |
| 13961 | 13966 |
| 13962 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13967 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 13963 echo "configure:13964: checking for $dbfunc" >&5 | 13968 echo "configure:13969: checking for $dbfunc" >&5 |
| 13964 | 13969 |
| 13965 cat > conftest.$ac_ext <<EOF | 13970 cat > conftest.$ac_ext <<EOF |
| 13966 #line 13967 "configure" | 13971 #line 13972 "configure" |
| 13967 #include "confdefs.h" | 13972 #include "confdefs.h" |
| 13968 /* System header to define __stub macros and hopefully few prototypes, | 13973 /* System header to define __stub macros and hopefully few prototypes, |
| 13969 which can conflict with char $dbfunc(); below. */ | 13974 which can conflict with char $dbfunc(); below. */ |
| 13970 #include <assert.h> | 13975 #include <assert.h> |
| 13971 /* Override any gcc2 internal prototype to avoid an error. */ | 13976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13984 $dbfunc(); | 13989 $dbfunc(); |
| 13985 #endif | 13990 #endif |
| 13986 | 13991 |
| 13987 ; return 0; } | 13992 ; return 0; } |
| 13988 EOF | 13993 EOF |
| 13989 if { (eval echo configure:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13994 if { (eval echo configure:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13990 rm -rf conftest* | 13995 rm -rf conftest* |
| 13991 eval "ac_cv_func_$dbfunc=yes" | 13996 eval "ac_cv_func_$dbfunc=yes" |
| 13992 else | 13997 else |
| 13993 echo "configure: failed program was:" >&5 | 13998 echo "configure: failed program was:" >&5 |
| 13994 cat conftest.$ac_ext >&5 | 13999 cat conftest.$ac_ext >&5 |
| 14003 else | 14008 else |
| 14004 echo "$ac_t""no" 1>&6 | 14009 echo "$ac_t""no" 1>&6 |
| 14005 | 14010 |
| 14006 | 14011 |
| 14007 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14012 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 14008 echo "configure:14009: checking for $dbfunc in -ldb" >&5 | 14013 echo "configure:14014: checking for $dbfunc in -ldb" >&5 |
| 14009 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14014 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 14010 | 14015 |
| 14011 xe_check_libs=" -ldb " | 14016 xe_check_libs=" -ldb " |
| 14012 cat > conftest.$ac_ext <<EOF | 14017 cat > conftest.$ac_ext <<EOF |
| 14013 #line 14014 "configure" | 14018 #line 14019 "configure" |
| 14014 #include "confdefs.h" | 14019 #include "confdefs.h" |
| 14015 /* Override any gcc2 internal prototype to avoid an error. */ | 14020 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14016 /* We use char because int might match the return type of a gcc2 | 14021 /* We use char because int might match the return type of a gcc2 |
| 14017 builtin and then its argument prototype would still apply. */ | 14022 builtin and then its argument prototype would still apply. */ |
| 14018 char $dbfunc(); | 14023 char $dbfunc(); |
| 14019 | 14024 |
| 14020 int main() { | 14025 int main() { |
| 14021 $dbfunc() | 14026 $dbfunc() |
| 14022 ; return 0; } | 14027 ; return 0; } |
| 14023 EOF | 14028 EOF |
| 14024 if { (eval echo configure:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14029 if { (eval echo configure:14030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14025 rm -rf conftest* | 14030 rm -rf conftest* |
| 14026 eval "ac_cv_lib_$ac_lib_var=yes" | 14031 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14027 else | 14032 else |
| 14028 echo "configure: failed program was:" >&5 | 14033 echo "configure: failed program was:" >&5 |
| 14029 cat conftest.$ac_ext >&5 | 14034 cat conftest.$ac_ext >&5 |
| 14080 fi | 14085 fi |
| 14081 | 14086 |
| 14082 if test "$with_socks" = "yes"; then | 14087 if test "$with_socks" = "yes"; then |
| 14083 | 14088 |
| 14084 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14089 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 14085 echo "configure:14086: checking for SOCKSinit in -lsocks" >&5 | 14090 echo "configure:14091: checking for SOCKSinit in -lsocks" >&5 |
| 14086 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14091 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 14087 | 14092 |
| 14088 xe_check_libs=" -lsocks " | 14093 xe_check_libs=" -lsocks " |
| 14089 cat > conftest.$ac_ext <<EOF | 14094 cat > conftest.$ac_ext <<EOF |
| 14090 #line 14091 "configure" | 14095 #line 14096 "configure" |
| 14091 #include "confdefs.h" | 14096 #include "confdefs.h" |
| 14092 /* Override any gcc2 internal prototype to avoid an error. */ | 14097 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14093 /* We use char because int might match the return type of a gcc2 | 14098 /* We use char because int might match the return type of a gcc2 |
| 14094 builtin and then its argument prototype would still apply. */ | 14099 builtin and then its argument prototype would still apply. */ |
| 14095 char SOCKSinit(); | 14100 char SOCKSinit(); |
| 14096 | 14101 |
| 14097 int main() { | 14102 int main() { |
| 14098 SOCKSinit() | 14103 SOCKSinit() |
| 14099 ; return 0; } | 14104 ; return 0; } |
| 14100 EOF | 14105 EOF |
| 14101 if { (eval echo configure:14102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14106 if { (eval echo configure:14107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14102 rm -rf conftest* | 14107 rm -rf conftest* |
| 14103 eval "ac_cv_lib_$ac_lib_var=yes" | 14108 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14104 else | 14109 else |
| 14105 echo "configure: failed program was:" >&5 | 14110 echo "configure: failed program was:" >&5 |
| 14106 cat conftest.$ac_ext >&5 | 14111 cat conftest.$ac_ext >&5 |
| 14151 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14156 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 14152 fi | 14157 fi |
| 14153 | 14158 |
| 14154 if test "$with_modules" != "no"; then | 14159 if test "$with_modules" != "no"; then |
| 14155 echo "checking for module support" 1>&6 | 14160 echo "checking for module support" 1>&6 |
| 14156 echo "configure:14157: checking for module support" >&5 | 14161 echo "configure:14162: checking for module support" >&5 |
| 14157 | 14162 |
| 14158 if test "$with_msw" = "yes"; then | 14163 if test "$with_msw" = "yes"; then |
| 14159 have_dl=yes; | 14164 have_dl=yes; |
| 14160 else | 14165 else |
| 14161 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14166 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
| 14162 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14167 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
| 14163 echo "configure:14164: checking for dlfcn.h" >&5 | 14168 echo "configure:14169: checking for dlfcn.h" >&5 |
| 14164 | 14169 |
| 14165 cat > conftest.$ac_ext <<EOF | 14170 cat > conftest.$ac_ext <<EOF |
| 14166 #line 14167 "configure" | 14171 #line 14172 "configure" |
| 14167 #include "confdefs.h" | 14172 #include "confdefs.h" |
| 14168 #include <dlfcn.h> | 14173 #include <dlfcn.h> |
| 14169 EOF | 14174 EOF |
| 14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14176 { (eval echo configure:14177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14173 if test -z "$ac_err"; then | 14178 if test -z "$ac_err"; then |
| 14174 rm -rf conftest* | 14179 rm -rf conftest* |
| 14175 eval "ac_cv_header_$ac_safe=yes" | 14180 eval "ac_cv_header_$ac_safe=yes" |
| 14176 else | 14181 else |
| 14183 rm -f conftest* | 14188 rm -f conftest* |
| 14184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14189 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 14185 echo "$ac_t""yes" 1>&6 | 14190 echo "$ac_t""yes" 1>&6 |
| 14186 | 14191 |
| 14187 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14192 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 14188 echo "configure:14189: checking for dlopen in -lc" >&5 | 14193 echo "configure:14194: checking for dlopen in -lc" >&5 |
| 14189 cat > conftest.$ac_ext <<EOF | 14194 cat > conftest.$ac_ext <<EOF |
| 14190 #line 14191 "configure" | 14195 #line 14196 "configure" |
| 14191 #include "confdefs.h" | 14196 #include "confdefs.h" |
| 14192 #include <dlfcn.h> | 14197 #include <dlfcn.h> |
| 14193 int main() { | 14198 int main() { |
| 14194 dlopen ("", 0); | 14199 dlopen ("", 0); |
| 14195 ; return 0; } | 14200 ; return 0; } |
| 14196 EOF | 14201 EOF |
| 14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14202 if { (eval echo configure:14203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14198 rm -rf conftest* | 14203 rm -rf conftest* |
| 14199 have_dl=yes | 14204 have_dl=yes |
| 14200 else | 14205 else |
| 14201 echo "configure: failed program was:" >&5 | 14206 echo "configure: failed program was:" >&5 |
| 14202 cat conftest.$ac_ext >&5 | 14207 cat conftest.$ac_ext >&5 |
| 14203 rm -rf conftest* | 14208 rm -rf conftest* |
| 14204 | 14209 |
| 14205 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14210 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 14206 echo "configure:14207: checking for dlopen in -ldl" >&5 | 14211 echo "configure:14212: checking for dlopen in -ldl" >&5 |
| 14207 ac_save_LIBS="$LIBS" | 14212 ac_save_LIBS="$LIBS" |
| 14208 LIBS="-ldl $LIBS" | 14213 LIBS="-ldl $LIBS" |
| 14209 cat > conftest.$ac_ext <<EOF | 14214 cat > conftest.$ac_ext <<EOF |
| 14210 #line 14211 "configure" | 14215 #line 14216 "configure" |
| 14211 #include "confdefs.h" | 14216 #include "confdefs.h" |
| 14212 #include <dlfcn.h> | 14217 #include <dlfcn.h> |
| 14213 int main() { | 14218 int main() { |
| 14214 dlopen ("", 0); | 14219 dlopen ("", 0); |
| 14215 ; return 0; } | 14220 ; return 0; } |
| 14216 EOF | 14221 EOF |
| 14217 if { (eval echo configure:14218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14222 if { (eval echo configure:14223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14218 rm -rf conftest* | 14223 rm -rf conftest* |
| 14219 have_dl=yes | 14224 have_dl=yes |
| 14220 else | 14225 else |
| 14221 echo "configure: failed program was:" >&5 | 14226 echo "configure: failed program was:" >&5 |
| 14222 cat conftest.$ac_ext >&5 | 14227 cat conftest.$ac_ext >&5 |
| 14241 } | 14246 } |
| 14242 | 14247 |
| 14243 else | 14248 else |
| 14244 | 14249 |
| 14245 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14250 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 14246 echo "configure:14247: checking for shl_load in -ldld" >&5 | 14251 echo "configure:14252: checking for shl_load in -ldld" >&5 |
| 14247 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14252 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 14248 | 14253 |
| 14249 xe_check_libs=" -ldld " | 14254 xe_check_libs=" -ldld " |
| 14250 cat > conftest.$ac_ext <<EOF | 14255 cat > conftest.$ac_ext <<EOF |
| 14251 #line 14252 "configure" | 14256 #line 14257 "configure" |
| 14252 #include "confdefs.h" | 14257 #include "confdefs.h" |
| 14253 /* Override any gcc2 internal prototype to avoid an error. */ | 14258 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14254 /* We use char because int might match the return type of a gcc2 | 14259 /* We use char because int might match the return type of a gcc2 |
| 14255 builtin and then its argument prototype would still apply. */ | 14260 builtin and then its argument prototype would still apply. */ |
| 14256 char shl_load(); | 14261 char shl_load(); |
| 14257 | 14262 |
| 14258 int main() { | 14263 int main() { |
| 14259 shl_load() | 14264 shl_load() |
| 14260 ; return 0; } | 14265 ; return 0; } |
| 14261 EOF | 14266 EOF |
| 14262 if { (eval echo configure:14263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14267 if { (eval echo configure:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14263 rm -rf conftest* | 14268 rm -rf conftest* |
| 14264 eval "ac_cv_lib_$ac_lib_var=yes" | 14269 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14265 else | 14270 else |
| 14266 echo "configure: failed program was:" >&5 | 14271 echo "configure: failed program was:" >&5 |
| 14267 cat conftest.$ac_ext >&5 | 14272 cat conftest.$ac_ext >&5 |
| 14284 | 14289 |
| 14285 else | 14290 else |
| 14286 echo "$ac_t""no" 1>&6 | 14291 echo "$ac_t""no" 1>&6 |
| 14287 | 14292 |
| 14288 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14293 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 14289 echo "configure:14290: checking for dld_init in -ldld" >&5 | 14294 echo "configure:14295: checking for dld_init in -ldld" >&5 |
| 14290 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14295 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 14291 | 14296 |
| 14292 xe_check_libs=" -ldld " | 14297 xe_check_libs=" -ldld " |
| 14293 cat > conftest.$ac_ext <<EOF | 14298 cat > conftest.$ac_ext <<EOF |
| 14294 #line 14295 "configure" | 14299 #line 14300 "configure" |
| 14295 #include "confdefs.h" | 14300 #include "confdefs.h" |
| 14296 /* Override any gcc2 internal prototype to avoid an error. */ | 14301 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14297 /* We use char because int might match the return type of a gcc2 | 14302 /* We use char because int might match the return type of a gcc2 |
| 14298 builtin and then its argument prototype would still apply. */ | 14303 builtin and then its argument prototype would still apply. */ |
| 14299 char dld_init(); | 14304 char dld_init(); |
| 14300 | 14305 |
| 14301 int main() { | 14306 int main() { |
| 14302 dld_init() | 14307 dld_init() |
| 14303 ; return 0; } | 14308 ; return 0; } |
| 14304 EOF | 14309 EOF |
| 14305 if { (eval echo configure:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14310 if { (eval echo configure:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14306 rm -rf conftest* | 14311 rm -rf conftest* |
| 14307 eval "ac_cv_lib_$ac_lib_var=yes" | 14312 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14308 else | 14313 else |
| 14309 echo "configure: failed program was:" >&5 | 14314 echo "configure: failed program was:" >&5 |
| 14310 cat conftest.$ac_ext >&5 | 14315 cat conftest.$ac_ext >&5 |
| 14345 ld_dynamic_link_flags= | 14350 ld_dynamic_link_flags= |
| 14346 xehost=$canonical | 14351 xehost=$canonical |
| 14347 xealias=$internal_configuration | 14352 xealias=$internal_configuration |
| 14348 | 14353 |
| 14349 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14354 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 14350 echo "configure:14351: checking how to build dynamic libraries for ${xehost}" >&5 | 14355 echo "configure:14356: checking how to build dynamic libraries for ${xehost}" >&5 |
| 14351 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14356 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 14352 case "$xehost" in | 14357 case "$xehost" in |
| 14353 *-*-linux-gnu*) ;; | 14358 *-*-linux-gnu*) ;; |
| 14354 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14359 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 14355 esac | 14360 esac |
| 14373 # Now see if the compiler is really GCC. | 14378 # Now see if the compiler is really GCC. |
| 14374 if test "$GCC" = "yes"; then | 14379 if test "$GCC" = "yes"; then |
| 14375 XEGCC=yes | 14380 XEGCC=yes |
| 14376 else | 14381 else |
| 14377 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14382 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 14378 echo "configure:14379: checking checking whether we are using GNU C" >&5 | 14383 echo "configure:14384: checking checking whether we are using GNU C" >&5 |
| 14379 cat > conftest.$ac_ext <<EOF | 14384 cat > conftest.$ac_ext <<EOF |
| 14380 #line 14381 "configure" | 14385 #line 14386 "configure" |
| 14381 #include "confdefs.h" | 14386 #include "confdefs.h" |
| 14382 | 14387 |
| 14383 #ifdef __GNUC__ | 14388 #ifdef __GNUC__ |
| 14384 yes; | 14389 yes; |
| 14385 #endif | 14390 #endif |
| 14397 | 14402 |
| 14398 echo "$ac_t""${XEGCC}" 1>&6 | 14403 echo "$ac_t""${XEGCC}" 1>&6 |
| 14399 fi | 14404 fi |
| 14400 | 14405 |
| 14401 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14406 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 14402 echo "configure:14403: checking how to produce PIC code" >&5 | 14407 echo "configure:14408: checking how to produce PIC code" >&5 |
| 14403 wl= | 14408 wl= |
| 14404 | 14409 |
| 14405 can_build_shared=yes | 14410 can_build_shared=yes |
| 14406 if test "$XEGCC" = yes; then | 14411 if test "$XEGCC" = yes; then |
| 14407 wl='-Wl,' | 14412 wl='-Wl,' |
| 14498 if test -n "$dll_cflags"; then | 14503 if test -n "$dll_cflags"; then |
| 14499 echo "$ac_t""${dll_cflags}" 1>&6 | 14504 echo "$ac_t""${dll_cflags}" 1>&6 |
| 14500 | 14505 |
| 14501 # Check to make sure the dll_cflags actually works. | 14506 # Check to make sure the dll_cflags actually works. |
| 14502 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14507 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 14503 echo "configure:14504: checking if PIC flag ${dll_cflags} really works" >&5 | 14508 echo "configure:14509: checking if PIC flag ${dll_cflags} really works" >&5 |
| 14504 save_CFLAGS="$CFLAGS" | 14509 save_CFLAGS="$CFLAGS" |
| 14505 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14510 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 14506 cat > conftest.$ac_ext <<EOF | 14511 cat > conftest.$ac_ext <<EOF |
| 14507 #line 14508 "configure" | 14512 #line 14513 "configure" |
| 14508 #include "confdefs.h" | 14513 #include "confdefs.h" |
| 14509 | 14514 |
| 14510 int main() { | 14515 int main() { |
| 14511 int x=0; | 14516 int x=0; |
| 14512 ; return 0; } | 14517 ; return 0; } |
| 14513 EOF | 14518 EOF |
| 14514 if { (eval echo configure:14515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14519 if { (eval echo configure:14520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 14515 rm -rf conftest* | 14520 rm -rf conftest* |
| 14516 | 14521 |
| 14517 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14522 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 14518 # reports no error. So, we need to grep stderr for (Bundled). | 14523 # reports no error. So, we need to grep stderr for (Bundled). |
| 14519 if grep '(Bundled)' config.log >/dev/null; then | 14524 if grep '(Bundled)' config.log >/dev/null; then |
| 14540 if test "$can_build_shared" = "yes"; then | 14545 if test "$can_build_shared" = "yes"; then |
| 14541 cc_produces_so=no | 14546 cc_produces_so=no |
| 14542 xldf= | 14547 xldf= |
| 14543 xcldf= | 14548 xcldf= |
| 14544 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14549 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 14545 echo "configure:14546: checking if C compiler can produce shared libraries" >&5 | 14550 echo "configure:14551: checking if C compiler can produce shared libraries" >&5 |
| 14546 if test "$XEGCC" = yes; then | 14551 if test "$XEGCC" = yes; then |
| 14547 xcldf="-shared" | 14552 xcldf="-shared" |
| 14548 xldf="-shared" | 14553 xldf="-shared" |
| 14549 else # Not using GCC | 14554 else # Not using GCC |
| 14550 case "$xehost_os" in | 14555 case "$xehost_os" in |
| 14591 LDFLAGS="$xcldf $LDFLAGS" | 14596 LDFLAGS="$xcldf $LDFLAGS" |
| 14592 LIBS= | 14597 LIBS= |
| 14593 xe_libs= | 14598 xe_libs= |
| 14594 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14599 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 14595 cat > conftest.$ac_ext <<EOF | 14600 cat > conftest.$ac_ext <<EOF |
| 14596 #line 14597 "configure" | 14601 #line 14602 "configure" |
| 14597 #include "confdefs.h" | 14602 #include "confdefs.h" |
| 14598 | 14603 |
| 14599 int main() { | 14604 int main() { |
| 14600 int x=0; | 14605 int x=0; |
| 14601 ; return 0; } | 14606 ; return 0; } |
| 14602 EOF | 14607 EOF |
| 14603 if { (eval echo configure:14604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14608 if { (eval echo configure:14609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14604 rm -rf conftest* | 14609 rm -rf conftest* |
| 14605 cc_produces_so=yes | 14610 cc_produces_so=yes |
| 14606 else | 14611 else |
| 14607 echo "configure: failed program was:" >&5 | 14612 echo "configure: failed program was:" >&5 |
| 14608 cat conftest.$ac_ext >&5 | 14613 cat conftest.$ac_ext >&5 |
| 14623 if test -z "$LTLD"; then | 14628 if test -z "$LTLD"; then |
| 14624 ac_prog=ld | 14629 ac_prog=ld |
| 14625 if test "$XEGCC" = yes; then | 14630 if test "$XEGCC" = yes; then |
| 14626 # Check if gcc -print-prog-name=ld gives a path. | 14631 # Check if gcc -print-prog-name=ld gives a path. |
| 14627 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14632 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 14628 echo "configure:14629: checking for ld used by GCC" >&5 | 14633 echo "configure:14634: checking for ld used by GCC" >&5 |
| 14629 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14634 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 14630 case "$ac_prog" in | 14635 case "$ac_prog" in |
| 14631 # Accept absolute paths. | 14636 # Accept absolute paths. |
| 14632 /*) | 14637 /*) |
| 14633 if test -z "$LTLD"; then | 14638 if test -z "$LTLD"; then |
| 14649 with_gnu_ld=unknown | 14654 with_gnu_ld=unknown |
| 14650 ;; | 14655 ;; |
| 14651 esac | 14656 esac |
| 14652 else | 14657 else |
| 14653 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14658 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 14654 echo "configure:14655: checking for GNU ld" >&5 | 14659 echo "configure:14660: checking for GNU ld" >&5 |
| 14655 fi | 14660 fi |
| 14656 | 14661 |
| 14657 if test -z "$LTLD"; then | 14662 if test -z "$LTLD"; then |
| 14658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 14659 for ac_dir in $PATH; do | 14664 for ac_dir in $PATH; do |
| 14687 | 14692 |
| 14688 ld_dynamic_link_flags= | 14693 ld_dynamic_link_flags= |
| 14689 | 14694 |
| 14690 # Check to see if it really is or isn't GNU ld. | 14695 # Check to see if it really is or isn't GNU ld. |
| 14691 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14696 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 14692 echo "configure:14693: checking if the linker is GNU ld" >&5 | 14697 echo "configure:14698: checking if the linker is GNU ld" >&5 |
| 14693 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14698 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 14694 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14699 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 14695 xe_gnu_ld=yes | 14700 xe_gnu_ld=yes |
| 14696 else | 14701 else |
| 14697 xe_gnu_ld=no | 14702 xe_gnu_ld=no |
| 14715 ld_shlibs=yes | 14720 ld_shlibs=yes |
| 14716 else | 14721 else |
| 14717 # OK - only NOW do we futz about with ld. | 14722 # OK - only NOW do we futz about with ld. |
| 14718 # See if the linker supports building shared libraries. | 14723 # See if the linker supports building shared libraries. |
| 14719 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14724 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 14720 echo "configure:14721: checking whether the linker supports shared libraries" >&5 | 14725 echo "configure:14726: checking whether the linker supports shared libraries" >&5 |
| 14721 dll_ld=$CC | 14726 dll_ld=$CC |
| 14722 dll_ldflags=$LDFLAGS | 14727 dll_ldflags=$LDFLAGS |
| 14723 ld_shlibs=yes | 14728 ld_shlibs=yes |
| 14724 can_build_shared=yes | 14729 can_build_shared=yes |
| 14725 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14730 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 | 14928 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 | 14929 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 | 14930 for ac_func in dlerror _dlerror |
| 14926 do | 14931 do |
| 14927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 14928 echo "configure:14929: checking for $ac_func" >&5 | 14933 echo "configure:14934: checking for $ac_func" >&5 |
| 14929 | 14934 |
| 14930 cat > conftest.$ac_ext <<EOF | 14935 cat > conftest.$ac_ext <<EOF |
| 14931 #line 14932 "configure" | 14936 #line 14937 "configure" |
| 14932 #include "confdefs.h" | 14937 #include "confdefs.h" |
| 14933 /* System header to define __stub macros and hopefully few prototypes, | 14938 /* System header to define __stub macros and hopefully few prototypes, |
| 14934 which can conflict with char $ac_func(); below. */ | 14939 which can conflict with char $ac_func(); below. */ |
| 14935 #include <assert.h> | 14940 #include <assert.h> |
| 14936 /* Override any gcc2 internal prototype to avoid an error. */ | 14941 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14949 $ac_func(); | 14954 $ac_func(); |
| 14950 #endif | 14955 #endif |
| 14951 | 14956 |
| 14952 ; return 0; } | 14957 ; return 0; } |
| 14953 EOF | 14958 EOF |
| 14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14959 if { (eval echo configure:14960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14955 rm -rf conftest* | 14960 rm -rf conftest* |
| 14956 eval "ac_cv_func_$ac_func=yes" | 14961 eval "ac_cv_func_$ac_func=yes" |
| 14957 else | 14962 else |
| 14958 echo "configure: failed program was:" >&5 | 14963 echo "configure: failed program was:" >&5 |
| 14959 cat conftest.$ac_ext >&5 | 14964 cat conftest.$ac_ext >&5 |
| 14988 with_modules=no | 14993 with_modules=no |
| 14989 fi | 14994 fi |
| 14990 fi | 14995 fi |
| 14991 | 14996 |
| 14992 cat > conftest.$ac_ext <<EOF | 14997 cat > conftest.$ac_ext <<EOF |
| 14993 #line 14994 "configure" | 14998 #line 14999 "configure" |
| 14994 #include "confdefs.h" | 14999 #include "confdefs.h" |
| 14995 int main(int c,char *v[]){return 0;} | 15000 int main(int c,char *v[]){return 0;} |
| 14996 EOF | 15001 EOF |
| 14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15002 if { (eval echo configure:15003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 14998 then | 15003 then |
| 14999 : | 15004 : |
| 15000 else | 15005 else |
| 15001 conftest_rc="$?" | 15006 conftest_rc="$?" |
| 15002 echo "configure: failed program was:" >&5 | 15007 echo "configure: failed program was:" >&5 |
