Mercurial > hg > xemacs-beta
comparison configure @ 808:aa9a0cd78930
[xemacs-hg @ 2002-04-05 12:30:45 by stephent]
what is going on here?
author | stephent |
---|---|
date | Fri, 05 Apr 2002 12:30:45 +0000 |
parents | a5954632b187 |
children | a634e3b7acc8 |
comparison
equal
deleted
inserted
replaced
807:7afc267f1c3c | 808:aa9a0cd78930 |
---|---|
4483 | 4483 |
4484 cat > conftest.$ac_ext <<EOF | 4484 cat > conftest.$ac_ext <<EOF |
4485 #line 4486 "configure" | 4485 #line 4486 "configure" |
4486 #include "confdefs.h" | 4486 #include "confdefs.h" |
4487 #include <stdio.h> | 4487 #include <stdio.h> |
4488 #include <sys/types.h> | |
4488 main() | 4489 main() |
4489 { | 4490 { |
4490 FILE *f=fopen("conftestval", "w"); | 4491 FILE *f=fopen("conftestval", "w"); |
4491 if (!f) exit(1); | 4492 if (!f) exit(1); |
4492 fprintf(f, "%d\n", sizeof(short)); | 4493 fprintf(f, "%d\n", sizeof(short)); |
4493 exit(0); | 4494 exit(0); |
4494 } | 4495 } |
4495 EOF | 4496 EOF |
4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4497 if { (eval echo configure:4498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4497 then | 4498 then |
4498 ac_cv_sizeof_short=`cat conftestval` | 4499 ac_cv_sizeof_short=`cat conftestval` |
4499 else | 4500 else |
4500 conftest_rc="$?" | 4501 conftest_rc="$?" |
4501 echo "configure: failed program was:" >&5 | 4502 echo "configure: failed program was:" >&5 |
4519 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4520 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4520 echo "*** PANIC *** Please examine config.log for compilation errors." | 4521 echo "*** PANIC *** Please examine config.log for compilation errors." |
4521 exit 1 | 4522 exit 1 |
4522 fi | 4523 fi |
4523 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4524 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4524 echo "configure:4525: checking size of int" >&5 | 4525 echo "configure:4526: checking size of int" >&5 |
4525 | 4526 |
4526 cat > conftest.$ac_ext <<EOF | 4527 cat > conftest.$ac_ext <<EOF |
4527 #line 4528 "configure" | 4528 #line 4529 "configure" |
4528 #include "confdefs.h" | 4529 #include "confdefs.h" |
4529 #include <stdio.h> | 4530 #include <stdio.h> |
4531 #include <sys/types.h> | |
4530 main() | 4532 main() |
4531 { | 4533 { |
4532 FILE *f=fopen("conftestval", "w"); | 4534 FILE *f=fopen("conftestval", "w"); |
4533 if (!f) exit(1); | 4535 if (!f) exit(1); |
4534 fprintf(f, "%d\n", sizeof(int)); | 4536 fprintf(f, "%d\n", sizeof(int)); |
4535 exit(0); | 4537 exit(0); |
4536 } | 4538 } |
4537 EOF | 4539 EOF |
4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4539 then | 4541 then |
4540 ac_cv_sizeof_int=`cat conftestval` | 4542 ac_cv_sizeof_int=`cat conftestval` |
4541 else | 4543 else |
4542 conftest_rc="$?" | 4544 conftest_rc="$?" |
4543 echo "configure: failed program was:" >&5 | 4545 echo "configure: failed program was:" >&5 |
4555 EOF | 4557 EOF |
4556 } | 4558 } |
4557 | 4559 |
4558 | 4560 |
4559 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4561 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4560 echo "configure:4561: checking size of long" >&5 | 4562 echo "configure:4563: checking size of long" >&5 |
4561 | 4563 |
4562 cat > conftest.$ac_ext <<EOF | 4564 cat > conftest.$ac_ext <<EOF |
4563 #line 4564 "configure" | 4565 #line 4566 "configure" |
4564 #include "confdefs.h" | 4566 #include "confdefs.h" |
4565 #include <stdio.h> | 4567 #include <stdio.h> |
4568 #include <sys/types.h> | |
4566 main() | 4569 main() |
4567 { | 4570 { |
4568 FILE *f=fopen("conftestval", "w"); | 4571 FILE *f=fopen("conftestval", "w"); |
4569 if (!f) exit(1); | 4572 if (!f) exit(1); |
4570 fprintf(f, "%d\n", sizeof(long)); | 4573 fprintf(f, "%d\n", sizeof(long)); |
4571 exit(0); | 4574 exit(0); |
4572 } | 4575 } |
4573 EOF | 4576 EOF |
4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4575 then | 4578 then |
4576 ac_cv_sizeof_long=`cat conftestval` | 4579 ac_cv_sizeof_long=`cat conftestval` |
4577 else | 4580 else |
4578 conftest_rc="$?" | 4581 conftest_rc="$?" |
4579 echo "configure: failed program was:" >&5 | 4582 echo "configure: failed program was:" >&5 |
4591 EOF | 4594 EOF |
4592 } | 4595 } |
4593 | 4596 |
4594 | 4597 |
4595 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4598 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4596 echo "configure:4597: checking size of long long" >&5 | 4599 echo "configure:4600: checking size of long long" >&5 |
4597 | 4600 |
4598 cat > conftest.$ac_ext <<EOF | 4601 cat > conftest.$ac_ext <<EOF |
4599 #line 4600 "configure" | 4602 #line 4603 "configure" |
4600 #include "confdefs.h" | 4603 #include "confdefs.h" |
4601 #include <stdio.h> | 4604 #include <stdio.h> |
4605 #include <sys/types.h> | |
4602 main() | 4606 main() |
4603 { | 4607 { |
4604 FILE *f=fopen("conftestval", "w"); | 4608 FILE *f=fopen("conftestval", "w"); |
4605 if (!f) exit(1); | 4609 if (!f) exit(1); |
4606 fprintf(f, "%d\n", sizeof(long long)); | 4610 fprintf(f, "%d\n", sizeof(long long)); |
4607 exit(0); | 4611 exit(0); |
4608 } | 4612 } |
4609 EOF | 4613 EOF |
4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4611 then | 4615 then |
4612 ac_cv_sizeof_long_long=`cat conftestval` | 4616 ac_cv_sizeof_long_long=`cat conftestval` |
4613 else | 4617 else |
4614 conftest_rc="$?" | 4618 conftest_rc="$?" |
4615 echo "configure: failed program was:" >&5 | 4619 echo "configure: failed program was:" >&5 |
4627 EOF | 4631 EOF |
4628 } | 4632 } |
4629 | 4633 |
4630 | 4634 |
4631 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4635 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4632 echo "configure:4633: checking size of void *" >&5 | 4636 echo "configure:4637: checking size of void *" >&5 |
4633 | 4637 |
4634 cat > conftest.$ac_ext <<EOF | 4638 cat > conftest.$ac_ext <<EOF |
4635 #line 4636 "configure" | 4639 #line 4640 "configure" |
4636 #include "confdefs.h" | 4640 #include "confdefs.h" |
4637 #include <stdio.h> | 4641 #include <stdio.h> |
4642 #include <sys/types.h> | |
4638 main() | 4643 main() |
4639 { | 4644 { |
4640 FILE *f=fopen("conftestval", "w"); | 4645 FILE *f=fopen("conftestval", "w"); |
4641 if (!f) exit(1); | 4646 if (!f) exit(1); |
4642 fprintf(f, "%d\n", sizeof(void *)); | 4647 fprintf(f, "%d\n", sizeof(void *)); |
4643 exit(0); | 4648 exit(0); |
4644 } | 4649 } |
4645 EOF | 4650 EOF |
4646 if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4647 then | 4652 then |
4648 ac_cv_sizeof_void_p=`cat conftestval` | 4653 ac_cv_sizeof_void_p=`cat conftestval` |
4649 else | 4654 else |
4650 conftest_rc="$?" | 4655 conftest_rc="$?" |
4651 echo "configure: failed program was:" >&5 | 4656 echo "configure: failed program was:" >&5 |
4664 } | 4669 } |
4665 | 4670 |
4666 | 4671 |
4667 | 4672 |
4668 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4673 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4669 echo "configure:4670: checking for long file names" >&5 | 4674 echo "configure:4675: checking for long file names" >&5 |
4670 | 4675 |
4671 ac_cv_sys_long_file_names=yes | 4676 ac_cv_sys_long_file_names=yes |
4672 # Test for long file names in all the places we know might matter: | 4677 # Test for long file names in all the places we know might matter: |
4673 # . the current directory, where building will happen | 4678 # . the current directory, where building will happen |
4674 # $prefix/lib where we will be installing things | 4679 # $prefix/lib where we will be installing things |
4710 | 4715 |
4711 fi | 4716 fi |
4712 | 4717 |
4713 | 4718 |
4714 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4719 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4715 echo "configure:4716: checking for sin" >&5 | 4720 echo "configure:4721: checking for sin" >&5 |
4716 | 4721 |
4717 cat > conftest.$ac_ext <<EOF | 4722 cat > conftest.$ac_ext <<EOF |
4718 #line 4719 "configure" | 4723 #line 4724 "configure" |
4719 #include "confdefs.h" | 4724 #include "confdefs.h" |
4720 /* System header to define __stub macros and hopefully few prototypes, | 4725 /* System header to define __stub macros and hopefully few prototypes, |
4721 which can conflict with char sin(); below. */ | 4726 which can conflict with char sin(); below. */ |
4722 #include <assert.h> | 4727 #include <assert.h> |
4723 /* Override any gcc2 internal prototype to avoid an error. */ | 4728 /* Override any gcc2 internal prototype to avoid an error. */ |
4736 sin(); | 4741 sin(); |
4737 #endif | 4742 #endif |
4738 | 4743 |
4739 ; return 0; } | 4744 ; return 0; } |
4740 EOF | 4745 EOF |
4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4746 if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4742 rm -rf conftest* | 4747 rm -rf conftest* |
4743 eval "ac_cv_func_sin=yes" | 4748 eval "ac_cv_func_sin=yes" |
4744 else | 4749 else |
4745 echo "configure: failed program was:" >&5 | 4750 echo "configure: failed program was:" >&5 |
4746 cat conftest.$ac_ext >&5 | 4751 cat conftest.$ac_ext >&5 |
4754 : | 4759 : |
4755 else | 4760 else |
4756 echo "$ac_t""no" 1>&6 | 4761 echo "$ac_t""no" 1>&6 |
4757 | 4762 |
4758 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4763 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4759 echo "configure:4760: checking for sin in -lm" >&5 | 4764 echo "configure:4765: checking for sin in -lm" >&5 |
4760 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4765 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4761 | 4766 |
4762 xe_check_libs=" -lm " | 4767 xe_check_libs=" -lm " |
4763 cat > conftest.$ac_ext <<EOF | 4768 cat > conftest.$ac_ext <<EOF |
4764 #line 4765 "configure" | 4769 #line 4770 "configure" |
4765 #include "confdefs.h" | 4770 #include "confdefs.h" |
4766 /* Override any gcc2 internal prototype to avoid an error. */ | 4771 /* Override any gcc2 internal prototype to avoid an error. */ |
4767 /* We use char because int might match the return type of a gcc2 | 4772 /* We use char because int might match the return type of a gcc2 |
4768 builtin and then its argument prototype would still apply. */ | 4773 builtin and then its argument prototype would still apply. */ |
4769 char sin(); | 4774 char sin(); |
4770 | 4775 |
4771 int main() { | 4776 int main() { |
4772 sin() | 4777 sin() |
4773 ; return 0; } | 4778 ; return 0; } |
4774 EOF | 4779 EOF |
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4776 rm -rf conftest* | 4781 rm -rf conftest* |
4777 eval "ac_cv_lib_$ac_lib_var=yes" | 4782 eval "ac_cv_lib_$ac_lib_var=yes" |
4778 else | 4783 else |
4779 echo "configure: failed program was:" >&5 | 4784 echo "configure: failed program was:" >&5 |
4780 cat conftest.$ac_ext >&5 | 4785 cat conftest.$ac_ext >&5 |
4814 EOF | 4819 EOF |
4815 } | 4820 } |
4816 | 4821 |
4817 | 4822 |
4818 cat > conftest.$ac_ext <<EOF | 4823 cat > conftest.$ac_ext <<EOF |
4819 #line 4820 "configure" | 4824 #line 4825 "configure" |
4820 #include "confdefs.h" | 4825 #include "confdefs.h" |
4821 #include <math.h> | 4826 #include <math.h> |
4822 int main() { | 4827 int main() { |
4823 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4828 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4824 ; return 0; } | 4829 ; return 0; } |
4825 EOF | 4830 EOF |
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4831 if { (eval echo configure:4832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4827 rm -rf conftest* | 4832 rm -rf conftest* |
4828 { test "$extra_verbose" = "yes" && cat << \EOF | 4833 { test "$extra_verbose" = "yes" && cat << \EOF |
4829 Defining HAVE_INVERSE_HYPERBOLIC | 4834 Defining HAVE_INVERSE_HYPERBOLIC |
4830 EOF | 4835 EOF |
4831 cat >> confdefs.h <<\EOF | 4836 cat >> confdefs.h <<\EOF |
4840 rm -f conftest* | 4845 rm -f conftest* |
4841 | 4846 |
4842 for ac_func in mkstemp | 4847 for ac_func in mkstemp |
4843 do | 4848 do |
4844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4845 echo "configure:4846: checking for $ac_func" >&5 | 4850 echo "configure:4851: checking for $ac_func" >&5 |
4846 | 4851 |
4847 cat > conftest.$ac_ext <<EOF | 4852 cat > conftest.$ac_ext <<EOF |
4848 #line 4849 "configure" | 4853 #line 4854 "configure" |
4849 #include "confdefs.h" | 4854 #include "confdefs.h" |
4850 /* System header to define __stub macros and hopefully few prototypes, | 4855 /* System header to define __stub macros and hopefully few prototypes, |
4851 which can conflict with char $ac_func(); below. */ | 4856 which can conflict with char $ac_func(); below. */ |
4852 #include <assert.h> | 4857 #include <assert.h> |
4853 /* Override any gcc2 internal prototype to avoid an error. */ | 4858 /* Override any gcc2 internal prototype to avoid an error. */ |
4866 $ac_func(); | 4871 $ac_func(); |
4867 #endif | 4872 #endif |
4868 | 4873 |
4869 ; return 0; } | 4874 ; return 0; } |
4870 EOF | 4875 EOF |
4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4876 if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4872 rm -rf conftest* | 4877 rm -rf conftest* |
4873 eval "ac_cv_func_$ac_func=yes" | 4878 eval "ac_cv_func_$ac_func=yes" |
4874 else | 4879 else |
4875 echo "configure: failed program was:" >&5 | 4880 echo "configure: failed program was:" >&5 |
4876 cat conftest.$ac_ext >&5 | 4881 cat conftest.$ac_ext >&5 |
4895 fi | 4900 fi |
4896 done | 4901 done |
4897 | 4902 |
4898 | 4903 |
4899 echo "checking type of mail spool file locking" 1>&6 | 4904 echo "checking type of mail spool file locking" 1>&6 |
4900 echo "configure:4901: checking type of mail spool file locking" >&5 | 4905 echo "configure:4906: checking type of mail spool file locking" >&5 |
4901 for ac_func in lockf flock | 4906 for ac_func in lockf flock |
4902 do | 4907 do |
4903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4904 echo "configure:4905: checking for $ac_func" >&5 | 4909 echo "configure:4910: checking for $ac_func" >&5 |
4905 | 4910 |
4906 cat > conftest.$ac_ext <<EOF | 4911 cat > conftest.$ac_ext <<EOF |
4907 #line 4908 "configure" | 4912 #line 4913 "configure" |
4908 #include "confdefs.h" | 4913 #include "confdefs.h" |
4909 /* System header to define __stub macros and hopefully few prototypes, | 4914 /* System header to define __stub macros and hopefully few prototypes, |
4910 which can conflict with char $ac_func(); below. */ | 4915 which can conflict with char $ac_func(); below. */ |
4911 #include <assert.h> | 4916 #include <assert.h> |
4912 /* Override any gcc2 internal prototype to avoid an error. */ | 4917 /* Override any gcc2 internal prototype to avoid an error. */ |
4925 $ac_func(); | 4930 $ac_func(); |
4926 #endif | 4931 #endif |
4927 | 4932 |
4928 ; return 0; } | 4933 ; return 0; } |
4929 EOF | 4934 EOF |
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4931 rm -rf conftest* | 4936 rm -rf conftest* |
4932 eval "ac_cv_func_$ac_func=yes" | 4937 eval "ac_cv_func_$ac_func=yes" |
4933 else | 4938 else |
4934 echo "configure: failed program was:" >&5 | 4939 echo "configure: failed program was:" >&5 |
4935 cat conftest.$ac_ext >&5 | 4940 cat conftest.$ac_ext >&5 |
5007 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5012 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5008 | 5013 |
5009 case "$opsys" in decosf*) | 5014 case "$opsys" in decosf*) |
5010 | 5015 |
5011 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5016 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5012 echo "configure:5013: checking for cma_open in -lpthreads" >&5 | 5017 echo "configure:5018: checking for cma_open in -lpthreads" >&5 |
5013 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5018 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5014 | 5019 |
5015 xe_check_libs=" -lpthreads " | 5020 xe_check_libs=" -lpthreads " |
5016 cat > conftest.$ac_ext <<EOF | 5021 cat > conftest.$ac_ext <<EOF |
5017 #line 5018 "configure" | 5022 #line 5023 "configure" |
5018 #include "confdefs.h" | 5023 #include "confdefs.h" |
5019 /* Override any gcc2 internal prototype to avoid an error. */ | 5024 /* Override any gcc2 internal prototype to avoid an error. */ |
5020 /* We use char because int might match the return type of a gcc2 | 5025 /* We use char because int might match the return type of a gcc2 |
5021 builtin and then its argument prototype would still apply. */ | 5026 builtin and then its argument prototype would still apply. */ |
5022 char cma_open(); | 5027 char cma_open(); |
5023 | 5028 |
5024 int main() { | 5029 int main() { |
5025 cma_open() | 5030 cma_open() |
5026 ; return 0; } | 5031 ; return 0; } |
5027 EOF | 5032 EOF |
5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5029 rm -rf conftest* | 5034 rm -rf conftest* |
5030 eval "ac_cv_lib_$ac_lib_var=yes" | 5035 eval "ac_cv_lib_$ac_lib_var=yes" |
5031 else | 5036 else |
5032 echo "configure: failed program was:" >&5 | 5037 echo "configure: failed program was:" >&5 |
5033 cat conftest.$ac_ext >&5 | 5038 cat conftest.$ac_ext >&5 |
5060 c_switch_site="$c_switch_site -threads" ;; | 5065 c_switch_site="$c_switch_site -threads" ;; |
5061 esac | 5066 esac |
5062 | 5067 |
5063 | 5068 |
5064 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5069 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5065 echo "configure:5066: checking whether the -xildoff compiler flag is required" >&5 | 5070 echo "configure:5071: checking whether the -xildoff compiler flag is required" >&5 |
5066 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5071 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5067 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5072 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5068 then echo "$ac_t""no" 1>&6; | 5073 then echo "$ac_t""no" 1>&6; |
5069 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 | 5074 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 |
5070 fi | 5075 fi |
5072 fi | 5077 fi |
5073 | 5078 |
5074 if test "$opsys" = "sol2"; then | 5079 if test "$opsys" = "sol2"; then |
5075 if test "$os_release" -ge 56; then | 5080 if test "$os_release" -ge 56; then |
5076 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5081 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5077 echo "configure:5078: checking for \"-z ignore\" linker flag" >&5 | 5082 echo "configure:5083: checking for \"-z ignore\" linker flag" >&5 |
5078 case "`ld -h 2>&1`" in | 5083 case "`ld -h 2>&1`" in |
5079 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5084 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5080 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5085 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5081 *) echo "$ac_t""no" 1>&6 ;; | 5086 *) echo "$ac_t""no" 1>&6 ;; |
5082 esac | 5087 esac |
5083 fi | 5088 fi |
5084 fi | 5089 fi |
5085 | 5090 |
5086 if test "$pdump" != "yes"; then | 5091 if test "$pdump" != "yes"; then |
5087 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 5092 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
5088 echo "configure:5089: checking for \"-z nocombreloc\" linker flag" >&5 | 5093 echo "configure:5094: checking for \"-z nocombreloc\" linker flag" >&5 |
5089 case "`ld --help 2>&1`" in | 5094 case "`ld --help 2>&1`" in |
5090 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 5095 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
5091 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 5096 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
5092 *) echo "$ac_t""no" 1>&6 ;; | 5097 *) echo "$ac_t""no" 1>&6 ;; |
5093 esac | 5098 esac |
5094 fi | 5099 fi |
5095 | 5100 |
5096 | 5101 |
5097 echo "checking "for specified window system"" 1>&6 | 5102 echo "checking "for specified window system"" 1>&6 |
5098 echo "configure:5099: checking "for specified window system"" >&5 | 5103 echo "configure:5104: checking "for specified window system"" >&5 |
5099 | 5104 |
5100 | 5105 |
5101 GNOME_CONFIG=no | 5106 GNOME_CONFIG=no |
5102 GTK_CONFIG=no | 5107 GTK_CONFIG=no |
5103 | 5108 |
5104 if test "$with_gnome" != "no"; then | 5109 if test "$with_gnome" != "no"; then |
5105 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5110 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5106 echo "configure:5107: checking for GNOME configuration script" >&5 | 5111 echo "configure:5112: checking for GNOME configuration script" >&5 |
5107 for possible in gnome-config | 5112 for possible in gnome-config |
5108 do | 5113 do |
5109 possible_version=`${possible} --version 2> /dev/null` | 5114 possible_version=`${possible} --version 2> /dev/null` |
5110 if test "x${possible_version}" != "x"; then | 5115 if test "x${possible_version}" != "x"; then |
5111 GNOME_CONFIG="${possible}" | 5116 GNOME_CONFIG="${possible}" |
5132 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5137 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5133 fi | 5138 fi |
5134 | 5139 |
5135 if test "$with_gtk" != "no";then | 5140 if test "$with_gtk" != "no";then |
5136 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5141 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5137 echo "configure:5138: checking for GTK configuration script" >&5 | 5142 echo "configure:5143: checking for GTK configuration script" >&5 |
5138 for possible in gtk12-config gtk14-config gtk-config | 5143 for possible in gtk12-config gtk14-config gtk-config |
5139 do | 5144 do |
5140 possible_version=`${possible} --version 2> /dev/null` | 5145 possible_version=`${possible} --version 2> /dev/null` |
5141 if test "x${possible_version}" != "x"; then | 5146 if test "x${possible_version}" != "x"; then |
5142 GTK_CONFIG="${possible}" | 5147 GTK_CONFIG="${possible}" |
5154 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5159 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5155 fi | 5160 fi |
5156 | 5161 |
5157 if test "${GTK_CONFIG}" != "no"; then | 5162 if test "${GTK_CONFIG}" != "no"; then |
5158 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5163 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5159 echo "configure:5160: checking gtk version" >&5 | 5164 echo "configure:5165: checking gtk version" >&5 |
5160 GTK_VERSION=`${GTK_CONFIG} --version` | 5165 GTK_VERSION=`${GTK_CONFIG} --version` |
5161 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5166 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5162 | 5167 |
5163 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5168 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5164 echo "configure:5165: checking gtk libs" >&5 | 5169 echo "configure:5170: checking gtk libs" >&5 |
5165 GTK_LIBS=`${GTK_CONFIG} --libs` | 5170 GTK_LIBS=`${GTK_CONFIG} --libs` |
5166 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5171 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5167 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5172 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5168 | 5173 |
5169 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5174 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5170 echo "configure:5171: checking gtk cflags" >&5 | 5175 echo "configure:5176: checking gtk cflags" >&5 |
5171 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5176 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5172 if test "$GCC" = "yes"; then | 5177 if test "$GCC" = "yes"; then |
5173 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5178 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5174 fi | 5179 fi |
5175 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5180 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5176 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5181 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5177 | 5182 |
5178 | 5183 |
5179 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5184 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5180 echo "configure:5181: checking for main in -lgdk_imlib" >&5 | 5185 echo "configure:5186: checking for main in -lgdk_imlib" >&5 |
5181 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5186 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5182 | 5187 |
5183 xe_check_libs=" -lgdk_imlib " | 5188 xe_check_libs=" -lgdk_imlib " |
5184 cat > conftest.$ac_ext <<EOF | 5189 cat > conftest.$ac_ext <<EOF |
5185 #line 5186 "configure" | 5190 #line 5191 "configure" |
5186 #include "confdefs.h" | 5191 #include "confdefs.h" |
5187 | 5192 |
5188 int main() { | 5193 int main() { |
5189 main() | 5194 main() |
5190 ; return 0; } | 5195 ; return 0; } |
5191 EOF | 5196 EOF |
5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5193 rm -rf conftest* | 5198 rm -rf conftest* |
5194 eval "ac_cv_lib_$ac_lib_var=yes" | 5199 eval "ac_cv_lib_$ac_lib_var=yes" |
5195 else | 5200 else |
5196 echo "configure: failed program was:" >&5 | 5201 echo "configure: failed program was:" >&5 |
5197 cat conftest.$ac_ext >&5 | 5202 cat conftest.$ac_ext >&5 |
5209 fi | 5214 fi |
5210 | 5215 |
5211 | 5216 |
5212 | 5217 |
5213 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5218 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5214 echo "configure:5215: checking for Imlib_init in -lImlib" >&5 | 5219 echo "configure:5220: checking for Imlib_init in -lImlib" >&5 |
5215 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5220 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5216 | 5221 |
5217 xe_check_libs=" -lImlib " | 5222 xe_check_libs=" -lImlib " |
5218 cat > conftest.$ac_ext <<EOF | 5223 cat > conftest.$ac_ext <<EOF |
5219 #line 5220 "configure" | 5224 #line 5225 "configure" |
5220 #include "confdefs.h" | 5225 #include "confdefs.h" |
5221 /* Override any gcc2 internal prototype to avoid an error. */ | 5226 /* Override any gcc2 internal prototype to avoid an error. */ |
5222 /* We use char because int might match the return type of a gcc2 | 5227 /* We use char because int might match the return type of a gcc2 |
5223 builtin and then its argument prototype would still apply. */ | 5228 builtin and then its argument prototype would still apply. */ |
5224 char Imlib_init(); | 5229 char Imlib_init(); |
5225 | 5230 |
5226 int main() { | 5231 int main() { |
5227 Imlib_init() | 5232 Imlib_init() |
5228 ; return 0; } | 5233 ; return 0; } |
5229 EOF | 5234 EOF |
5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5235 if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5231 rm -rf conftest* | 5236 rm -rf conftest* |
5232 eval "ac_cv_lib_$ac_lib_var=yes" | 5237 eval "ac_cv_lib_$ac_lib_var=yes" |
5233 else | 5238 else |
5234 echo "configure: failed program was:" >&5 | 5239 echo "configure: failed program was:" >&5 |
5235 cat conftest.$ac_ext >&5 | 5240 cat conftest.$ac_ext >&5 |
5248 | 5253 |
5249 | 5254 |
5250 for ac_func in gdk_imlib_init | 5255 for ac_func in gdk_imlib_init |
5251 do | 5256 do |
5252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5253 echo "configure:5254: checking for $ac_func" >&5 | 5258 echo "configure:5259: checking for $ac_func" >&5 |
5254 | 5259 |
5255 cat > conftest.$ac_ext <<EOF | 5260 cat > conftest.$ac_ext <<EOF |
5256 #line 5257 "configure" | 5261 #line 5262 "configure" |
5257 #include "confdefs.h" | 5262 #include "confdefs.h" |
5258 /* System header to define __stub macros and hopefully few prototypes, | 5263 /* System header to define __stub macros and hopefully few prototypes, |
5259 which can conflict with char $ac_func(); below. */ | 5264 which can conflict with char $ac_func(); below. */ |
5260 #include <assert.h> | 5265 #include <assert.h> |
5261 /* Override any gcc2 internal prototype to avoid an error. */ | 5266 /* Override any gcc2 internal prototype to avoid an error. */ |
5274 $ac_func(); | 5279 $ac_func(); |
5275 #endif | 5280 #endif |
5276 | 5281 |
5277 ; return 0; } | 5282 ; return 0; } |
5278 EOF | 5283 EOF |
5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5284 if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5280 rm -rf conftest* | 5285 rm -rf conftest* |
5281 eval "ac_cv_func_$ac_func=yes" | 5286 eval "ac_cv_func_$ac_func=yes" |
5282 else | 5287 else |
5283 echo "configure: failed program was:" >&5 | 5288 echo "configure: failed program was:" >&5 |
5284 cat conftest.$ac_ext >&5 | 5289 cat conftest.$ac_ext >&5 |
5340 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5345 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5341 for ac_hdr in glade/glade.h glade.h | 5346 for ac_hdr in glade/glade.h glade.h |
5342 do | 5347 do |
5343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5345 echo "configure:5346: checking for $ac_hdr" >&5 | 5350 echo "configure:5351: checking for $ac_hdr" >&5 |
5346 | 5351 |
5347 cat > conftest.$ac_ext <<EOF | 5352 cat > conftest.$ac_ext <<EOF |
5348 #line 5349 "configure" | 5353 #line 5354 "configure" |
5349 #include "confdefs.h" | 5354 #include "confdefs.h" |
5350 #include <$ac_hdr> | 5355 #include <$ac_hdr> |
5351 EOF | 5356 EOF |
5352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5353 { (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5358 { (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5355 if test -z "$ac_err"; then | 5360 if test -z "$ac_err"; then |
5356 rm -rf conftest* | 5361 rm -rf conftest* |
5357 eval "ac_cv_header_$ac_safe=yes" | 5362 eval "ac_cv_header_$ac_safe=yes" |
5358 else | 5363 else |
5379 fi | 5384 fi |
5380 done | 5385 done |
5381 | 5386 |
5382 | 5387 |
5383 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5388 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5384 echo "configure:5385: checking for main in -lxml" >&5 | 5389 echo "configure:5390: checking for main in -lxml" >&5 |
5385 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5390 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5386 | 5391 |
5387 xe_check_libs=" -lxml " | 5392 xe_check_libs=" -lxml " |
5388 cat > conftest.$ac_ext <<EOF | 5393 cat > conftest.$ac_ext <<EOF |
5389 #line 5390 "configure" | 5394 #line 5395 "configure" |
5390 #include "confdefs.h" | 5395 #include "confdefs.h" |
5391 | 5396 |
5392 int main() { | 5397 int main() { |
5393 main() | 5398 main() |
5394 ; return 0; } | 5399 ; return 0; } |
5395 EOF | 5400 EOF |
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5397 rm -rf conftest* | 5402 rm -rf conftest* |
5398 eval "ac_cv_lib_$ac_lib_var=yes" | 5403 eval "ac_cv_lib_$ac_lib_var=yes" |
5399 else | 5404 else |
5400 echo "configure: failed program was:" >&5 | 5405 echo "configure: failed program was:" >&5 |
5401 cat conftest.$ac_ext >&5 | 5406 cat conftest.$ac_ext >&5 |
5413 fi | 5418 fi |
5414 | 5419 |
5415 | 5420 |
5416 | 5421 |
5417 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5422 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5418 echo "configure:5419: checking for main in -lglade" >&5 | 5423 echo "configure:5424: checking for main in -lglade" >&5 |
5419 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5424 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5420 | 5425 |
5421 xe_check_libs=" -lglade " | 5426 xe_check_libs=" -lglade " |
5422 cat > conftest.$ac_ext <<EOF | 5427 cat > conftest.$ac_ext <<EOF |
5423 #line 5424 "configure" | 5428 #line 5429 "configure" |
5424 #include "confdefs.h" | 5429 #include "confdefs.h" |
5425 | 5430 |
5426 int main() { | 5431 int main() { |
5427 main() | 5432 main() |
5428 ; return 0; } | 5433 ; return 0; } |
5429 EOF | 5434 EOF |
5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5431 rm -rf conftest* | 5436 rm -rf conftest* |
5432 eval "ac_cv_lib_$ac_lib_var=yes" | 5437 eval "ac_cv_lib_$ac_lib_var=yes" |
5433 else | 5438 else |
5434 echo "configure: failed program was:" >&5 | 5439 echo "configure: failed program was:" >&5 |
5435 cat conftest.$ac_ext >&5 | 5440 cat conftest.$ac_ext >&5 |
5447 fi | 5452 fi |
5448 | 5453 |
5449 | 5454 |
5450 | 5455 |
5451 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5456 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5452 echo "configure:5453: checking for main in -lglade-gnome" >&5 | 5457 echo "configure:5458: checking for main in -lglade-gnome" >&5 |
5453 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5458 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5454 | 5459 |
5455 xe_check_libs=" -lglade-gnome " | 5460 xe_check_libs=" -lglade-gnome " |
5456 cat > conftest.$ac_ext <<EOF | 5461 cat > conftest.$ac_ext <<EOF |
5457 #line 5458 "configure" | 5462 #line 5463 "configure" |
5458 #include "confdefs.h" | 5463 #include "confdefs.h" |
5459 | 5464 |
5460 int main() { | 5465 int main() { |
5461 main() | 5466 main() |
5462 ; return 0; } | 5467 ; return 0; } |
5463 EOF | 5468 EOF |
5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5469 if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5465 rm -rf conftest* | 5470 rm -rf conftest* |
5466 eval "ac_cv_lib_$ac_lib_var=yes" | 5471 eval "ac_cv_lib_$ac_lib_var=yes" |
5467 else | 5472 else |
5468 echo "configure: failed program was:" >&5 | 5473 echo "configure: failed program was:" >&5 |
5469 cat conftest.$ac_ext >&5 | 5474 cat conftest.$ac_ext >&5 |
5480 echo "$ac_t""no" 1>&6 | 5485 echo "$ac_t""no" 1>&6 |
5481 fi | 5486 fi |
5482 | 5487 |
5483 | 5488 |
5484 cat > conftest.$ac_ext <<EOF | 5489 cat > conftest.$ac_ext <<EOF |
5485 #line 5486 "configure" | 5490 #line 5491 "configure" |
5486 #include "confdefs.h" | 5491 #include "confdefs.h" |
5487 #include <glade/glade-xml.h> | 5492 #include <glade/glade-xml.h> |
5488 EOF | 5493 EOF |
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5490 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5495 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5539 # If we find X, set shell vars x_includes and x_libraries to the | 5544 # If we find X, set shell vars x_includes and x_libraries to the |
5540 # paths, otherwise set no_x=yes. | 5545 # paths, otherwise set no_x=yes. |
5541 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5546 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5542 # --without-x overrides everything else, but does not touch the cache. | 5547 # --without-x overrides everything else, but does not touch the cache. |
5543 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5548 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5544 echo "configure:5545: checking for X" >&5 | 5549 echo "configure:5550: checking for X" >&5 |
5545 | 5550 |
5546 # Check whether --with-x or --without-x was given. | 5551 # Check whether --with-x or --without-x was given. |
5547 if test "${with_x+set}" = set; then | 5552 if test "${with_x+set}" = set; then |
5548 withval="$with_x" | 5553 withval="$with_x" |
5549 : | 5554 : |
5599 # Guess where to find include files, by looking for this one X11 .h file. | 5604 # Guess where to find include files, by looking for this one X11 .h file. |
5600 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5605 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5601 | 5606 |
5602 # First, try using that file with no special directory specified. | 5607 # First, try using that file with no special directory specified. |
5603 cat > conftest.$ac_ext <<EOF | 5608 cat > conftest.$ac_ext <<EOF |
5604 #line 5605 "configure" | 5609 #line 5610 "configure" |
5605 #include "confdefs.h" | 5610 #include "confdefs.h" |
5606 #include <$x_direct_test_include> | 5611 #include <$x_direct_test_include> |
5607 EOF | 5612 EOF |
5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5614 { (eval echo configure:5615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5611 if test -z "$ac_err"; then | 5616 if test -z "$ac_err"; then |
5612 rm -rf conftest* | 5617 rm -rf conftest* |
5613 # We can compile using X headers with no special include directory. | 5618 # We can compile using X headers with no special include directory. |
5614 ac_x_includes= | 5619 ac_x_includes= |
5673 # See if we find them without any special options. | 5678 # See if we find them without any special options. |
5674 # Don't add to $LIBS permanently. | 5679 # Don't add to $LIBS permanently. |
5675 ac_save_LIBS="$LIBS" | 5680 ac_save_LIBS="$LIBS" |
5676 LIBS="-l$x_direct_test_library $LIBS" | 5681 LIBS="-l$x_direct_test_library $LIBS" |
5677 cat > conftest.$ac_ext <<EOF | 5682 cat > conftest.$ac_ext <<EOF |
5678 #line 5679 "configure" | 5683 #line 5684 "configure" |
5679 #include "confdefs.h" | 5684 #include "confdefs.h" |
5680 | 5685 |
5681 int main() { | 5686 int main() { |
5682 ${x_direct_test_function}() | 5687 ${x_direct_test_function}() |
5683 ; return 0; } | 5688 ; return 0; } |
5684 EOF | 5689 EOF |
5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5690 if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5686 rm -rf conftest* | 5691 rm -rf conftest* |
5687 LIBS="$ac_save_LIBS" | 5692 LIBS="$ac_save_LIBS" |
5688 # We can link X programs with no special library path. | 5693 # We can link X programs with no special library path. |
5689 ac_x_libraries= | 5694 ac_x_libraries= |
5690 else | 5695 else |
5789 # For Solaris; some versions of Sun CC require a space after -R and | 5794 # For Solaris; some versions of Sun CC require a space after -R and |
5790 # others require no space. Words are not sufficient . . . . | 5795 # others require no space. Words are not sufficient . . . . |
5791 case "`(uname -sr) 2>/dev/null`" in | 5796 case "`(uname -sr) 2>/dev/null`" in |
5792 "SunOS 5"*) | 5797 "SunOS 5"*) |
5793 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5798 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5794 echo "configure:5795: checking whether -R must be followed by a space" >&5 | 5799 echo "configure:5800: checking whether -R must be followed by a space" >&5 |
5795 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5800 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5796 cat > conftest.$ac_ext <<EOF | 5801 cat > conftest.$ac_ext <<EOF |
5797 #line 5798 "configure" | 5802 #line 5803 "configure" |
5798 #include "confdefs.h" | 5803 #include "confdefs.h" |
5799 | 5804 |
5800 int main() { | 5805 int main() { |
5801 | 5806 |
5802 ; return 0; } | 5807 ; return 0; } |
5803 EOF | 5808 EOF |
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5809 if { (eval echo configure:5810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5805 rm -rf conftest* | 5810 rm -rf conftest* |
5806 ac_R_nospace=yes | 5811 ac_R_nospace=yes |
5807 else | 5812 else |
5808 echo "configure: failed program was:" >&5 | 5813 echo "configure: failed program was:" >&5 |
5809 cat conftest.$ac_ext >&5 | 5814 cat conftest.$ac_ext >&5 |
5815 echo "$ac_t""no" 1>&6 | 5820 echo "$ac_t""no" 1>&6 |
5816 X_LIBS="$X_LIBS -R$x_libraries" | 5821 X_LIBS="$X_LIBS -R$x_libraries" |
5817 else | 5822 else |
5818 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5823 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5819 cat > conftest.$ac_ext <<EOF | 5824 cat > conftest.$ac_ext <<EOF |
5820 #line 5821 "configure" | 5825 #line 5826 "configure" |
5821 #include "confdefs.h" | 5826 #include "confdefs.h" |
5822 | 5827 |
5823 int main() { | 5828 int main() { |
5824 | 5829 |
5825 ; return 0; } | 5830 ; return 0; } |
5826 EOF | 5831 EOF |
5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5828 rm -rf conftest* | 5833 rm -rf conftest* |
5829 ac_R_space=yes | 5834 ac_R_space=yes |
5830 else | 5835 else |
5831 echo "configure: failed program was:" >&5 | 5836 echo "configure: failed program was:" >&5 |
5832 cat conftest.$ac_ext >&5 | 5837 cat conftest.$ac_ext >&5 |
5858 if test "$with_dnet" = "no" ; then | 5863 if test "$with_dnet" = "no" ; then |
5859 ac_cv_lib_dnet_dnet_ntoa=no | 5864 ac_cv_lib_dnet_dnet_ntoa=no |
5860 else | 5865 else |
5861 | 5866 |
5862 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5867 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5863 echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5 | 5868 echo "configure:5869: checking for dnet_ntoa in -ldnet" >&5 |
5864 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5869 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5865 | 5870 |
5866 xe_check_libs=" -ldnet " | 5871 xe_check_libs=" -ldnet " |
5867 cat > conftest.$ac_ext <<EOF | 5872 cat > conftest.$ac_ext <<EOF |
5868 #line 5869 "configure" | 5873 #line 5874 "configure" |
5869 #include "confdefs.h" | 5874 #include "confdefs.h" |
5870 /* Override any gcc2 internal prototype to avoid an error. */ | 5875 /* Override any gcc2 internal prototype to avoid an error. */ |
5871 /* We use char because int might match the return type of a gcc2 | 5876 /* We use char because int might match the return type of a gcc2 |
5872 builtin and then its argument prototype would still apply. */ | 5877 builtin and then its argument prototype would still apply. */ |
5873 char dnet_ntoa(); | 5878 char dnet_ntoa(); |
5874 | 5879 |
5875 int main() { | 5880 int main() { |
5876 dnet_ntoa() | 5881 dnet_ntoa() |
5877 ; return 0; } | 5882 ; return 0; } |
5878 EOF | 5883 EOF |
5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5880 rm -rf conftest* | 5885 rm -rf conftest* |
5881 eval "ac_cv_lib_$ac_lib_var=yes" | 5886 eval "ac_cv_lib_$ac_lib_var=yes" |
5882 else | 5887 else |
5883 echo "configure: failed program was:" >&5 | 5888 echo "configure: failed program was:" >&5 |
5884 cat conftest.$ac_ext >&5 | 5889 cat conftest.$ac_ext >&5 |
5898 fi | 5903 fi |
5899 | 5904 |
5900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5905 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5901 | 5906 |
5902 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5907 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5903 echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5 | 5908 echo "configure:5909: checking for dnet_ntoa in -ldnet_stub" >&5 |
5904 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5909 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5905 | 5910 |
5906 xe_check_libs=" -ldnet_stub " | 5911 xe_check_libs=" -ldnet_stub " |
5907 cat > conftest.$ac_ext <<EOF | 5912 cat > conftest.$ac_ext <<EOF |
5908 #line 5909 "configure" | 5913 #line 5914 "configure" |
5909 #include "confdefs.h" | 5914 #include "confdefs.h" |
5910 /* Override any gcc2 internal prototype to avoid an error. */ | 5915 /* Override any gcc2 internal prototype to avoid an error. */ |
5911 /* We use char because int might match the return type of a gcc2 | 5916 /* We use char because int might match the return type of a gcc2 |
5912 builtin and then its argument prototype would still apply. */ | 5917 builtin and then its argument prototype would still apply. */ |
5913 char dnet_ntoa(); | 5918 char dnet_ntoa(); |
5914 | 5919 |
5915 int main() { | 5920 int main() { |
5916 dnet_ntoa() | 5921 dnet_ntoa() |
5917 ; return 0; } | 5922 ; return 0; } |
5918 EOF | 5923 EOF |
5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5920 rm -rf conftest* | 5925 rm -rf conftest* |
5921 eval "ac_cv_lib_$ac_lib_var=yes" | 5926 eval "ac_cv_lib_$ac_lib_var=yes" |
5922 else | 5927 else |
5923 echo "configure: failed program was:" >&5 | 5928 echo "configure: failed program was:" >&5 |
5924 cat conftest.$ac_ext >&5 | 5929 cat conftest.$ac_ext >&5 |
5943 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5948 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5944 # needs -lnsl. | 5949 # needs -lnsl. |
5945 # The nsl library prevents programs from opening the X display | 5950 # The nsl library prevents programs from opening the X display |
5946 # on Irix 5.2, according to dickey@clark.net. | 5951 # on Irix 5.2, according to dickey@clark.net. |
5947 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5952 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5948 echo "configure:5949: checking for gethostbyname" >&5 | 5953 echo "configure:5954: checking for gethostbyname" >&5 |
5949 | 5954 |
5950 cat > conftest.$ac_ext <<EOF | 5955 cat > conftest.$ac_ext <<EOF |
5951 #line 5952 "configure" | 5956 #line 5957 "configure" |
5952 #include "confdefs.h" | 5957 #include "confdefs.h" |
5953 /* System header to define __stub macros and hopefully few prototypes, | 5958 /* System header to define __stub macros and hopefully few prototypes, |
5954 which can conflict with char gethostbyname(); below. */ | 5959 which can conflict with char gethostbyname(); below. */ |
5955 #include <assert.h> | 5960 #include <assert.h> |
5956 /* Override any gcc2 internal prototype to avoid an error. */ | 5961 /* Override any gcc2 internal prototype to avoid an error. */ |
5969 gethostbyname(); | 5974 gethostbyname(); |
5970 #endif | 5975 #endif |
5971 | 5976 |
5972 ; return 0; } | 5977 ; return 0; } |
5973 EOF | 5978 EOF |
5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5975 rm -rf conftest* | 5980 rm -rf conftest* |
5976 eval "ac_cv_func_gethostbyname=yes" | 5981 eval "ac_cv_func_gethostbyname=yes" |
5977 else | 5982 else |
5978 echo "configure: failed program was:" >&5 | 5983 echo "configure: failed program was:" >&5 |
5979 cat conftest.$ac_ext >&5 | 5984 cat conftest.$ac_ext >&5 |
5990 fi | 5995 fi |
5991 | 5996 |
5992 if test $ac_cv_func_gethostbyname = no; then | 5997 if test $ac_cv_func_gethostbyname = no; then |
5993 | 5998 |
5994 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5999 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5995 echo "configure:5996: checking for gethostbyname in -lnsl" >&5 | 6000 echo "configure:6001: checking for gethostbyname in -lnsl" >&5 |
5996 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6001 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5997 | 6002 |
5998 xe_check_libs=" -lnsl " | 6003 xe_check_libs=" -lnsl " |
5999 cat > conftest.$ac_ext <<EOF | 6004 cat > conftest.$ac_ext <<EOF |
6000 #line 6001 "configure" | 6005 #line 6006 "configure" |
6001 #include "confdefs.h" | 6006 #include "confdefs.h" |
6002 /* Override any gcc2 internal prototype to avoid an error. */ | 6007 /* Override any gcc2 internal prototype to avoid an error. */ |
6003 /* We use char because int might match the return type of a gcc2 | 6008 /* We use char because int might match the return type of a gcc2 |
6004 builtin and then its argument prototype would still apply. */ | 6009 builtin and then its argument prototype would still apply. */ |
6005 char gethostbyname(); | 6010 char gethostbyname(); |
6006 | 6011 |
6007 int main() { | 6012 int main() { |
6008 gethostbyname() | 6013 gethostbyname() |
6009 ; return 0; } | 6014 ; return 0; } |
6010 EOF | 6015 EOF |
6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6012 rm -rf conftest* | 6017 rm -rf conftest* |
6013 eval "ac_cv_lib_$ac_lib_var=yes" | 6018 eval "ac_cv_lib_$ac_lib_var=yes" |
6014 else | 6019 else |
6015 echo "configure: failed program was:" >&5 | 6020 echo "configure: failed program was:" >&5 |
6016 cat conftest.$ac_ext >&5 | 6021 cat conftest.$ac_ext >&5 |
6036 # on later versions), says simon@lia.di.epfl.ch: it contains | 6041 # on later versions), says simon@lia.di.epfl.ch: it contains |
6037 # gethostby* variants that don't use the nameserver (or something). | 6042 # gethostby* variants that don't use the nameserver (or something). |
6038 # -lsocket must be given before -lnsl if both are needed. | 6043 # -lsocket must be given before -lnsl if both are needed. |
6039 # We assume that if connect needs -lnsl, so does gethostbyname. | 6044 # We assume that if connect needs -lnsl, so does gethostbyname. |
6040 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6045 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6041 echo "configure:6042: checking for connect" >&5 | 6046 echo "configure:6047: checking for connect" >&5 |
6042 | 6047 |
6043 cat > conftest.$ac_ext <<EOF | 6048 cat > conftest.$ac_ext <<EOF |
6044 #line 6045 "configure" | 6049 #line 6050 "configure" |
6045 #include "confdefs.h" | 6050 #include "confdefs.h" |
6046 /* System header to define __stub macros and hopefully few prototypes, | 6051 /* System header to define __stub macros and hopefully few prototypes, |
6047 which can conflict with char connect(); below. */ | 6052 which can conflict with char connect(); below. */ |
6048 #include <assert.h> | 6053 #include <assert.h> |
6049 /* Override any gcc2 internal prototype to avoid an error. */ | 6054 /* Override any gcc2 internal prototype to avoid an error. */ |
6062 connect(); | 6067 connect(); |
6063 #endif | 6068 #endif |
6064 | 6069 |
6065 ; return 0; } | 6070 ; return 0; } |
6066 EOF | 6071 EOF |
6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6068 rm -rf conftest* | 6073 rm -rf conftest* |
6069 eval "ac_cv_func_connect=yes" | 6074 eval "ac_cv_func_connect=yes" |
6070 else | 6075 else |
6071 echo "configure: failed program was:" >&5 | 6076 echo "configure: failed program was:" >&5 |
6072 cat conftest.$ac_ext >&5 | 6077 cat conftest.$ac_ext >&5 |
6085 if test $ac_cv_func_connect = no; then | 6090 if test $ac_cv_func_connect = no; then |
6086 | 6091 |
6087 xe_msg_checking="for connect in -lsocket" | 6092 xe_msg_checking="for connect in -lsocket" |
6088 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6093 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6089 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6094 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6090 echo "configure:6091: checking "$xe_msg_checking"" >&5 | 6095 echo "configure:6096: checking "$xe_msg_checking"" >&5 |
6091 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6096 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6092 | 6097 |
6093 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6098 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6094 cat > conftest.$ac_ext <<EOF | 6099 cat > conftest.$ac_ext <<EOF |
6095 #line 6096 "configure" | 6100 #line 6101 "configure" |
6096 #include "confdefs.h" | 6101 #include "confdefs.h" |
6097 /* Override any gcc2 internal prototype to avoid an error. */ | 6102 /* Override any gcc2 internal prototype to avoid an error. */ |
6098 /* We use char because int might match the return type of a gcc2 | 6103 /* We use char because int might match the return type of a gcc2 |
6099 builtin and then its argument prototype would still apply. */ | 6104 builtin and then its argument prototype would still apply. */ |
6100 char connect(); | 6105 char connect(); |
6101 | 6106 |
6102 int main() { | 6107 int main() { |
6103 connect() | 6108 connect() |
6104 ; return 0; } | 6109 ; return 0; } |
6105 EOF | 6110 EOF |
6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6107 rm -rf conftest* | 6112 rm -rf conftest* |
6108 eval "ac_cv_lib_$ac_lib_var=yes" | 6113 eval "ac_cv_lib_$ac_lib_var=yes" |
6109 else | 6114 else |
6110 echo "configure: failed program was:" >&5 | 6115 echo "configure: failed program was:" >&5 |
6111 cat conftest.$ac_ext >&5 | 6116 cat conftest.$ac_ext >&5 |
6125 | 6130 |
6126 fi | 6131 fi |
6127 | 6132 |
6128 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6133 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6129 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6134 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6130 echo "configure:6131: checking for remove" >&5 | 6135 echo "configure:6136: checking for remove" >&5 |
6131 | 6136 |
6132 cat > conftest.$ac_ext <<EOF | 6137 cat > conftest.$ac_ext <<EOF |
6133 #line 6134 "configure" | 6138 #line 6139 "configure" |
6134 #include "confdefs.h" | 6139 #include "confdefs.h" |
6135 /* System header to define __stub macros and hopefully few prototypes, | 6140 /* System header to define __stub macros and hopefully few prototypes, |
6136 which can conflict with char remove(); below. */ | 6141 which can conflict with char remove(); below. */ |
6137 #include <assert.h> | 6142 #include <assert.h> |
6138 /* Override any gcc2 internal prototype to avoid an error. */ | 6143 /* Override any gcc2 internal prototype to avoid an error. */ |
6151 remove(); | 6156 remove(); |
6152 #endif | 6157 #endif |
6153 | 6158 |
6154 ; return 0; } | 6159 ; return 0; } |
6155 EOF | 6160 EOF |
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6157 rm -rf conftest* | 6162 rm -rf conftest* |
6158 eval "ac_cv_func_remove=yes" | 6163 eval "ac_cv_func_remove=yes" |
6159 else | 6164 else |
6160 echo "configure: failed program was:" >&5 | 6165 echo "configure: failed program was:" >&5 |
6161 cat conftest.$ac_ext >&5 | 6166 cat conftest.$ac_ext >&5 |
6172 fi | 6177 fi |
6173 | 6178 |
6174 if test $ac_cv_func_remove = no; then | 6179 if test $ac_cv_func_remove = no; then |
6175 | 6180 |
6176 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6181 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6177 echo "configure:6178: checking for remove in -lposix" >&5 | 6182 echo "configure:6183: checking for remove in -lposix" >&5 |
6178 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6183 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6179 | 6184 |
6180 xe_check_libs=" -lposix " | 6185 xe_check_libs=" -lposix " |
6181 cat > conftest.$ac_ext <<EOF | 6186 cat > conftest.$ac_ext <<EOF |
6182 #line 6183 "configure" | 6187 #line 6188 "configure" |
6183 #include "confdefs.h" | 6188 #include "confdefs.h" |
6184 /* Override any gcc2 internal prototype to avoid an error. */ | 6189 /* Override any gcc2 internal prototype to avoid an error. */ |
6185 /* We use char because int might match the return type of a gcc2 | 6190 /* We use char because int might match the return type of a gcc2 |
6186 builtin and then its argument prototype would still apply. */ | 6191 builtin and then its argument prototype would still apply. */ |
6187 char remove(); | 6192 char remove(); |
6188 | 6193 |
6189 int main() { | 6194 int main() { |
6190 remove() | 6195 remove() |
6191 ; return 0; } | 6196 ; return 0; } |
6192 EOF | 6197 EOF |
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6194 rm -rf conftest* | 6199 rm -rf conftest* |
6195 eval "ac_cv_lib_$ac_lib_var=yes" | 6200 eval "ac_cv_lib_$ac_lib_var=yes" |
6196 else | 6201 else |
6197 echo "configure: failed program was:" >&5 | 6202 echo "configure: failed program was:" >&5 |
6198 cat conftest.$ac_ext >&5 | 6203 cat conftest.$ac_ext >&5 |
6212 | 6217 |
6213 fi | 6218 fi |
6214 | 6219 |
6215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6216 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6221 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6217 echo "configure:6218: checking for shmat" >&5 | 6222 echo "configure:6223: checking for shmat" >&5 |
6218 | 6223 |
6219 cat > conftest.$ac_ext <<EOF | 6224 cat > conftest.$ac_ext <<EOF |
6220 #line 6221 "configure" | 6225 #line 6226 "configure" |
6221 #include "confdefs.h" | 6226 #include "confdefs.h" |
6222 /* System header to define __stub macros and hopefully few prototypes, | 6227 /* System header to define __stub macros and hopefully few prototypes, |
6223 which can conflict with char shmat(); below. */ | 6228 which can conflict with char shmat(); below. */ |
6224 #include <assert.h> | 6229 #include <assert.h> |
6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6230 /* Override any gcc2 internal prototype to avoid an error. */ |
6238 shmat(); | 6243 shmat(); |
6239 #endif | 6244 #endif |
6240 | 6245 |
6241 ; return 0; } | 6246 ; return 0; } |
6242 EOF | 6247 EOF |
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6244 rm -rf conftest* | 6249 rm -rf conftest* |
6245 eval "ac_cv_func_shmat=yes" | 6250 eval "ac_cv_func_shmat=yes" |
6246 else | 6251 else |
6247 echo "configure: failed program was:" >&5 | 6252 echo "configure: failed program was:" >&5 |
6248 cat conftest.$ac_ext >&5 | 6253 cat conftest.$ac_ext >&5 |
6259 fi | 6264 fi |
6260 | 6265 |
6261 if test $ac_cv_func_shmat = no; then | 6266 if test $ac_cv_func_shmat = no; then |
6262 | 6267 |
6263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6268 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6264 echo "configure:6265: checking for shmat in -lipc" >&5 | 6269 echo "configure:6270: checking for shmat in -lipc" >&5 |
6265 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6270 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6266 | 6271 |
6267 xe_check_libs=" -lipc " | 6272 xe_check_libs=" -lipc " |
6268 cat > conftest.$ac_ext <<EOF | 6273 cat > conftest.$ac_ext <<EOF |
6269 #line 6270 "configure" | 6274 #line 6275 "configure" |
6270 #include "confdefs.h" | 6275 #include "confdefs.h" |
6271 /* Override any gcc2 internal prototype to avoid an error. */ | 6276 /* Override any gcc2 internal prototype to avoid an error. */ |
6272 /* We use char because int might match the return type of a gcc2 | 6277 /* We use char because int might match the return type of a gcc2 |
6273 builtin and then its argument prototype would still apply. */ | 6278 builtin and then its argument prototype would still apply. */ |
6274 char shmat(); | 6279 char shmat(); |
6275 | 6280 |
6276 int main() { | 6281 int main() { |
6277 shmat() | 6282 shmat() |
6278 ; return 0; } | 6283 ; return 0; } |
6279 EOF | 6284 EOF |
6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6281 rm -rf conftest* | 6286 rm -rf conftest* |
6282 eval "ac_cv_lib_$ac_lib_var=yes" | 6287 eval "ac_cv_lib_$ac_lib_var=yes" |
6283 else | 6288 else |
6284 echo "configure: failed program was:" >&5 | 6289 echo "configure: failed program was:" >&5 |
6285 cat conftest.$ac_ext >&5 | 6290 cat conftest.$ac_ext >&5 |
6311 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6316 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6312 | 6317 |
6313 xe_msg_checking="for IceConnectionNumber in -lICE" | 6318 xe_msg_checking="for IceConnectionNumber in -lICE" |
6314 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6319 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6315 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6320 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6316 echo "configure:6317: checking "$xe_msg_checking"" >&5 | 6321 echo "configure:6322: checking "$xe_msg_checking"" >&5 |
6317 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6322 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6318 | 6323 |
6319 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6324 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6320 cat > conftest.$ac_ext <<EOF | 6325 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6326 #line 6327 "configure" |
6322 #include "confdefs.h" | 6327 #include "confdefs.h" |
6323 /* Override any gcc2 internal prototype to avoid an error. */ | 6328 /* Override any gcc2 internal prototype to avoid an error. */ |
6324 /* We use char because int might match the return type of a gcc2 | 6329 /* We use char because int might match the return type of a gcc2 |
6325 builtin and then its argument prototype would still apply. */ | 6330 builtin and then its argument prototype would still apply. */ |
6326 char IceConnectionNumber(); | 6331 char IceConnectionNumber(); |
6327 | 6332 |
6328 int main() { | 6333 int main() { |
6329 IceConnectionNumber() | 6334 IceConnectionNumber() |
6330 ; return 0; } | 6335 ; return 0; } |
6331 EOF | 6336 EOF |
6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6333 rm -rf conftest* | 6338 rm -rf conftest* |
6334 eval "ac_cv_lib_$ac_lib_var=yes" | 6339 eval "ac_cv_lib_$ac_lib_var=yes" |
6335 else | 6340 else |
6336 echo "configure: failed program was:" >&5 | 6341 echo "configure: failed program was:" >&5 |
6337 cat conftest.$ac_ext >&5 | 6342 cat conftest.$ac_ext >&5 |
6494 EOF | 6499 EOF |
6495 } | 6500 } |
6496 | 6501 |
6497 | 6502 |
6498 echo "checking for X defines extracted by xmkmf" 1>&6 | 6503 echo "checking for X defines extracted by xmkmf" 1>&6 |
6499 echo "configure:6500: checking for X defines extracted by xmkmf" >&5 | 6504 echo "configure:6505: checking for X defines extracted by xmkmf" >&5 |
6500 rm -fr conftestdir | 6505 rm -fr conftestdir |
6501 if mkdir conftestdir; then | 6506 if mkdir conftestdir; then |
6502 cd conftestdir | 6507 cd conftestdir |
6503 cat > Imakefile <<'EOF' | 6508 cat > Imakefile <<'EOF' |
6504 xetest: | 6509 xetest: |
6543 done | 6548 done |
6544 fi | 6549 fi |
6545 | 6550 |
6546 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6551 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6547 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6552 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6548 echo "configure:6549: checking for X11/Intrinsic.h" >&5 | 6553 echo "configure:6554: checking for X11/Intrinsic.h" >&5 |
6549 | 6554 |
6550 cat > conftest.$ac_ext <<EOF | 6555 cat > conftest.$ac_ext <<EOF |
6551 #line 6552 "configure" | 6556 #line 6557 "configure" |
6552 #include "confdefs.h" | 6557 #include "confdefs.h" |
6553 #include <X11/Intrinsic.h> | 6558 #include <X11/Intrinsic.h> |
6554 EOF | 6559 EOF |
6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6558 if test -z "$ac_err"; then | 6563 if test -z "$ac_err"; then |
6559 rm -rf conftest* | 6564 rm -rf conftest* |
6560 eval "ac_cv_header_$ac_safe=yes" | 6565 eval "ac_cv_header_$ac_safe=yes" |
6561 else | 6566 else |
6575 fi | 6580 fi |
6576 | 6581 |
6577 | 6582 |
6578 | 6583 |
6579 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6584 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6580 echo "configure:6581: checking for XOpenDisplay in -lX11" >&5 | 6585 echo "configure:6586: checking for XOpenDisplay in -lX11" >&5 |
6581 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6586 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6582 | 6587 |
6583 xe_check_libs=" -lX11 " | 6588 xe_check_libs=" -lX11 " |
6584 cat > conftest.$ac_ext <<EOF | 6589 cat > conftest.$ac_ext <<EOF |
6585 #line 6586 "configure" | 6590 #line 6591 "configure" |
6586 #include "confdefs.h" | 6591 #include "confdefs.h" |
6587 /* Override any gcc2 internal prototype to avoid an error. */ | 6592 /* Override any gcc2 internal prototype to avoid an error. */ |
6588 /* We use char because int might match the return type of a gcc2 | 6593 /* We use char because int might match the return type of a gcc2 |
6589 builtin and then its argument prototype would still apply. */ | 6594 builtin and then its argument prototype would still apply. */ |
6590 char XOpenDisplay(); | 6595 char XOpenDisplay(); |
6591 | 6596 |
6592 int main() { | 6597 int main() { |
6593 XOpenDisplay() | 6598 XOpenDisplay() |
6594 ; return 0; } | 6599 ; return 0; } |
6595 EOF | 6600 EOF |
6596 if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6597 rm -rf conftest* | 6602 rm -rf conftest* |
6598 eval "ac_cv_lib_$ac_lib_var=yes" | 6603 eval "ac_cv_lib_$ac_lib_var=yes" |
6599 else | 6604 else |
6600 echo "configure: failed program was:" >&5 | 6605 echo "configure: failed program was:" >&5 |
6601 cat conftest.$ac_ext >&5 | 6606 cat conftest.$ac_ext >&5 |
6616 if test "$have_lib_x11" != "yes"; then | 6621 if test "$have_lib_x11" != "yes"; then |
6617 | 6622 |
6618 xe_msg_checking="for XGetFontProperty in -lX11" | 6623 xe_msg_checking="for XGetFontProperty in -lX11" |
6619 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6624 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6620 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6625 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6621 echo "configure:6622: checking "$xe_msg_checking"" >&5 | 6626 echo "configure:6627: checking "$xe_msg_checking"" >&5 |
6622 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6627 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6623 | 6628 |
6624 xe_check_libs=" -lX11 -b i486-linuxaout" | 6629 xe_check_libs=" -lX11 -b i486-linuxaout" |
6625 cat > conftest.$ac_ext <<EOF | 6630 cat > conftest.$ac_ext <<EOF |
6626 #line 6627 "configure" | 6631 #line 6632 "configure" |
6627 #include "confdefs.h" | 6632 #include "confdefs.h" |
6628 /* Override any gcc2 internal prototype to avoid an error. */ | 6633 /* Override any gcc2 internal prototype to avoid an error. */ |
6629 /* We use char because int might match the return type of a gcc2 | 6634 /* We use char because int might match the return type of a gcc2 |
6630 builtin and then its argument prototype would still apply. */ | 6635 builtin and then its argument prototype would still apply. */ |
6631 char XGetFontProperty(); | 6636 char XGetFontProperty(); |
6632 | 6637 |
6633 int main() { | 6638 int main() { |
6634 XGetFontProperty() | 6639 XGetFontProperty() |
6635 ; return 0; } | 6640 ; return 0; } |
6636 EOF | 6641 EOF |
6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6638 rm -rf conftest* | 6643 rm -rf conftest* |
6639 eval "ac_cv_lib_$ac_lib_var=yes" | 6644 eval "ac_cv_lib_$ac_lib_var=yes" |
6640 else | 6645 else |
6641 echo "configure: failed program was:" >&5 | 6646 echo "configure: failed program was:" >&5 |
6642 cat conftest.$ac_ext >&5 | 6647 cat conftest.$ac_ext >&5 |
6659 libs_x="-lX11" | 6664 libs_x="-lX11" |
6660 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6665 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6661 | 6666 |
6662 | 6667 |
6663 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6668 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6664 echo "configure:6665: checking for XShapeSelectInput in -lXext" >&5 | 6669 echo "configure:6670: checking for XShapeSelectInput in -lXext" >&5 |
6665 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6670 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6666 | 6671 |
6667 xe_check_libs=" -lXext " | 6672 xe_check_libs=" -lXext " |
6668 cat > conftest.$ac_ext <<EOF | 6673 cat > conftest.$ac_ext <<EOF |
6669 #line 6670 "configure" | 6674 #line 6675 "configure" |
6670 #include "confdefs.h" | 6675 #include "confdefs.h" |
6671 /* Override any gcc2 internal prototype to avoid an error. */ | 6676 /* Override any gcc2 internal prototype to avoid an error. */ |
6672 /* We use char because int might match the return type of a gcc2 | 6677 /* We use char because int might match the return type of a gcc2 |
6673 builtin and then its argument prototype would still apply. */ | 6678 builtin and then its argument prototype would still apply. */ |
6674 char XShapeSelectInput(); | 6679 char XShapeSelectInput(); |
6675 | 6680 |
6676 int main() { | 6681 int main() { |
6677 XShapeSelectInput() | 6682 XShapeSelectInput() |
6678 ; return 0; } | 6683 ; return 0; } |
6679 EOF | 6684 EOF |
6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6685 if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6681 rm -rf conftest* | 6686 rm -rf conftest* |
6682 eval "ac_cv_lib_$ac_lib_var=yes" | 6687 eval "ac_cv_lib_$ac_lib_var=yes" |
6683 else | 6688 else |
6684 echo "configure: failed program was:" >&5 | 6689 echo "configure: failed program was:" >&5 |
6685 cat conftest.$ac_ext >&5 | 6690 cat conftest.$ac_ext >&5 |
6698 | 6703 |
6699 | 6704 |
6700 | 6705 |
6701 | 6706 |
6702 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6707 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6703 echo "configure:6704: checking for XtOpenDisplay in -lXt" >&5 | 6708 echo "configure:6709: checking for XtOpenDisplay in -lXt" >&5 |
6704 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6709 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6705 | 6710 |
6706 xe_check_libs=" -lXt " | 6711 xe_check_libs=" -lXt " |
6707 cat > conftest.$ac_ext <<EOF | 6712 cat > conftest.$ac_ext <<EOF |
6708 #line 6709 "configure" | 6713 #line 6714 "configure" |
6709 #include "confdefs.h" | 6714 #include "confdefs.h" |
6710 /* Override any gcc2 internal prototype to avoid an error. */ | 6715 /* Override any gcc2 internal prototype to avoid an error. */ |
6711 /* We use char because int might match the return type of a gcc2 | 6716 /* We use char because int might match the return type of a gcc2 |
6712 builtin and then its argument prototype would still apply. */ | 6717 builtin and then its argument prototype would still apply. */ |
6713 char XtOpenDisplay(); | 6718 char XtOpenDisplay(); |
6714 | 6719 |
6715 int main() { | 6720 int main() { |
6716 XtOpenDisplay() | 6721 XtOpenDisplay() |
6717 ; return 0; } | 6722 ; return 0; } |
6718 EOF | 6723 EOF |
6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6720 rm -rf conftest* | 6725 rm -rf conftest* |
6721 eval "ac_cv_lib_$ac_lib_var=yes" | 6726 eval "ac_cv_lib_$ac_lib_var=yes" |
6722 else | 6727 else |
6723 echo "configure: failed program was:" >&5 | 6728 echo "configure: failed program was:" >&5 |
6724 cat conftest.$ac_ext >&5 | 6729 cat conftest.$ac_ext >&5 |
6737 fi | 6742 fi |
6738 | 6743 |
6739 | 6744 |
6740 | 6745 |
6741 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6746 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6742 echo "configure:6743: checking the version of X11 being used" >&5 | 6747 echo "configure:6748: checking the version of X11 being used" >&5 |
6743 cat > conftest.$ac_ext <<EOF | 6748 cat > conftest.$ac_ext <<EOF |
6744 #line 6745 "configure" | 6749 #line 6750 "configure" |
6745 #include "confdefs.h" | 6750 #include "confdefs.h" |
6746 #include <X11/Intrinsic.h> | 6751 #include <X11/Intrinsic.h> |
6747 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6752 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6748 EOF | 6753 EOF |
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6750 then | 6755 then |
6751 ./conftest foobar; x11_release=$? | 6756 ./conftest foobar; x11_release=$? |
6752 else | 6757 else |
6753 conftest_rc="$?" | 6758 conftest_rc="$?" |
6754 echo "configure: failed program was:" >&5 | 6759 echo "configure: failed program was:" >&5 |
6775 fi | 6780 fi |
6776 | 6781 |
6777 for ac_func in XConvertCase | 6782 for ac_func in XConvertCase |
6778 do | 6783 do |
6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6780 echo "configure:6781: checking for $ac_func" >&5 | 6785 echo "configure:6786: checking for $ac_func" >&5 |
6781 | 6786 |
6782 cat > conftest.$ac_ext <<EOF | 6787 cat > conftest.$ac_ext <<EOF |
6783 #line 6784 "configure" | 6788 #line 6789 "configure" |
6784 #include "confdefs.h" | 6789 #include "confdefs.h" |
6785 /* System header to define __stub macros and hopefully few prototypes, | 6790 /* System header to define __stub macros and hopefully few prototypes, |
6786 which can conflict with char $ac_func(); below. */ | 6791 which can conflict with char $ac_func(); below. */ |
6787 #include <assert.h> | 6792 #include <assert.h> |
6788 /* Override any gcc2 internal prototype to avoid an error. */ | 6793 /* Override any gcc2 internal prototype to avoid an error. */ |
6801 $ac_func(); | 6806 $ac_func(); |
6802 #endif | 6807 #endif |
6803 | 6808 |
6804 ; return 0; } | 6809 ; return 0; } |
6805 EOF | 6810 EOF |
6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6807 rm -rf conftest* | 6812 rm -rf conftest* |
6808 eval "ac_cv_func_$ac_func=yes" | 6813 eval "ac_cv_func_$ac_func=yes" |
6809 else | 6814 else |
6810 echo "configure: failed program was:" >&5 | 6815 echo "configure: failed program was:" >&5 |
6811 cat conftest.$ac_ext >&5 | 6816 cat conftest.$ac_ext >&5 |
6833 | 6838 |
6834 for ac_hdr in X11/Xlocale.h | 6839 for ac_hdr in X11/Xlocale.h |
6835 do | 6840 do |
6836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6838 echo "configure:6839: checking for $ac_hdr" >&5 | 6843 echo "configure:6844: checking for $ac_hdr" >&5 |
6839 | 6844 |
6840 cat > conftest.$ac_ext <<EOF | 6845 cat > conftest.$ac_ext <<EOF |
6841 #line 6842 "configure" | 6846 #line 6847 "configure" |
6842 #include "confdefs.h" | 6847 #include "confdefs.h" |
6843 #include <$ac_hdr> | 6848 #include <$ac_hdr> |
6844 EOF | 6849 EOF |
6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6851 { (eval echo configure:6852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6848 if test -z "$ac_err"; then | 6853 if test -z "$ac_err"; then |
6849 rm -rf conftest* | 6854 rm -rf conftest* |
6850 eval "ac_cv_header_$ac_safe=yes" | 6855 eval "ac_cv_header_$ac_safe=yes" |
6851 else | 6856 else |
6874 | 6879 |
6875 | 6880 |
6876 for ac_func in XRegisterIMInstantiateCallback | 6881 for ac_func in XRegisterIMInstantiateCallback |
6877 do | 6882 do |
6878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking for $ac_func" >&5 | 6884 echo "configure:6885: checking for $ac_func" >&5 |
6880 | 6885 |
6881 cat > conftest.$ac_ext <<EOF | 6886 cat > conftest.$ac_ext <<EOF |
6882 #line 6883 "configure" | 6887 #line 6888 "configure" |
6883 #include "confdefs.h" | 6888 #include "confdefs.h" |
6884 /* System header to define __stub macros and hopefully few prototypes, | 6889 /* System header to define __stub macros and hopefully few prototypes, |
6885 which can conflict with char $ac_func(); below. */ | 6890 which can conflict with char $ac_func(); below. */ |
6886 #include <assert.h> | 6891 #include <assert.h> |
6887 /* Override any gcc2 internal prototype to avoid an error. */ | 6892 /* Override any gcc2 internal prototype to avoid an error. */ |
6900 $ac_func(); | 6905 $ac_func(); |
6901 #endif | 6906 #endif |
6902 | 6907 |
6903 ; return 0; } | 6908 ; return 0; } |
6904 EOF | 6909 EOF |
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6906 rm -rf conftest* | 6911 rm -rf conftest* |
6907 eval "ac_cv_func_$ac_func=yes" | 6912 eval "ac_cv_func_$ac_func=yes" |
6908 else | 6913 else |
6909 echo "configure: failed program was:" >&5 | 6914 echo "configure: failed program was:" >&5 |
6910 cat conftest.$ac_ext >&5 | 6915 cat conftest.$ac_ext >&5 |
6928 echo "$ac_t""no" 1>&6 | 6933 echo "$ac_t""no" 1>&6 |
6929 fi | 6934 fi |
6930 done | 6935 done |
6931 | 6936 |
6932 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6937 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6933 echo "configure:6934: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6938 echo "configure:6939: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6934 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6935 #line 6936 "configure" | 6940 #line 6941 "configure" |
6936 #include "confdefs.h" | 6941 #include "confdefs.h" |
6937 | 6942 |
6938 #define NeedFunctionPrototypes 1 | 6943 #define NeedFunctionPrototypes 1 |
6939 #include <X11/Xlib.h> | 6944 #include <X11/Xlib.h> |
6940 extern Bool XRegisterIMInstantiateCallback( | 6945 extern Bool XRegisterIMInstantiateCallback( |
6942 | 6947 |
6943 int main() { | 6948 int main() { |
6944 | 6949 |
6945 ; return 0; } | 6950 ; return 0; } |
6946 EOF | 6951 EOF |
6947 if { (eval echo configure:6948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6952 if { (eval echo configure:6953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6948 rm -rf conftest* | 6953 rm -rf conftest* |
6949 echo "$ac_t""yes" 1>&6 | 6954 echo "$ac_t""yes" 1>&6 |
6950 else | 6955 else |
6951 echo "configure: failed program was:" >&5 | 6956 echo "configure: failed program was:" >&5 |
6952 cat conftest.$ac_ext >&5 | 6957 cat conftest.$ac_ext >&5 |
6963 fi | 6968 fi |
6964 rm -f conftest* | 6969 rm -f conftest* |
6965 | 6970 |
6966 test -z "$with_xmu" && { | 6971 test -z "$with_xmu" && { |
6967 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6972 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6968 echo "configure:6969: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6973 echo "configure:6974: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6969 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6974 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6970 | 6975 |
6971 xe_check_libs=" -lXmu " | 6976 xe_check_libs=" -lXmu " |
6972 cat > conftest.$ac_ext <<EOF | 6977 cat > conftest.$ac_ext <<EOF |
6973 #line 6974 "configure" | 6978 #line 6979 "configure" |
6974 #include "confdefs.h" | 6979 #include "confdefs.h" |
6975 /* Override any gcc2 internal prototype to avoid an error. */ | 6980 /* Override any gcc2 internal prototype to avoid an error. */ |
6976 /* We use char because int might match the return type of a gcc2 | 6981 /* We use char because int might match the return type of a gcc2 |
6977 builtin and then its argument prototype would still apply. */ | 6982 builtin and then its argument prototype would still apply. */ |
6978 char XmuReadBitmapDataFromFile(); | 6983 char XmuReadBitmapDataFromFile(); |
6979 | 6984 |
6980 int main() { | 6985 int main() { |
6981 XmuReadBitmapDataFromFile() | 6986 XmuReadBitmapDataFromFile() |
6982 ; return 0; } | 6987 ; return 0; } |
6983 EOF | 6988 EOF |
6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6985 rm -rf conftest* | 6990 rm -rf conftest* |
6986 eval "ac_cv_lib_$ac_lib_var=yes" | 6991 eval "ac_cv_lib_$ac_lib_var=yes" |
6987 else | 6992 else |
6988 echo "configure: failed program was:" >&5 | 6993 echo "configure: failed program was:" >&5 |
6989 cat conftest.$ac_ext >&5 | 6994 cat conftest.$ac_ext >&5 |
7018 | 7023 |
7019 fi | 7024 fi |
7020 | 7025 |
7021 | 7026 |
7022 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7027 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7023 echo "configure:7024: checking for main in -lXbsd" >&5 | 7028 echo "configure:7029: checking for main in -lXbsd" >&5 |
7024 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7029 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7025 | 7030 |
7026 xe_check_libs=" -lXbsd " | 7031 xe_check_libs=" -lXbsd " |
7027 cat > conftest.$ac_ext <<EOF | 7032 cat > conftest.$ac_ext <<EOF |
7028 #line 7029 "configure" | 7033 #line 7034 "configure" |
7029 #include "confdefs.h" | 7034 #include "confdefs.h" |
7030 | 7035 |
7031 int main() { | 7036 int main() { |
7032 main() | 7037 main() |
7033 ; return 0; } | 7038 ; return 0; } |
7034 EOF | 7039 EOF |
7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7036 rm -rf conftest* | 7041 rm -rf conftest* |
7037 eval "ac_cv_lib_$ac_lib_var=yes" | 7042 eval "ac_cv_lib_$ac_lib_var=yes" |
7038 else | 7043 else |
7039 echo "configure: failed program was:" >&5 | 7044 echo "configure: failed program was:" >&5 |
7040 cat conftest.$ac_ext >&5 | 7045 cat conftest.$ac_ext >&5 |
7067 fi | 7072 fi |
7068 | 7073 |
7069 fi | 7074 fi |
7070 if test "$with_msw" != "no"; then | 7075 if test "$with_msw" != "no"; then |
7071 echo "checking for MS-Windows" 1>&6 | 7076 echo "checking for MS-Windows" 1>&6 |
7072 echo "configure:7073: checking for MS-Windows" >&5 | 7077 echo "configure:7078: checking for MS-Windows" >&5 |
7073 | 7078 |
7074 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7079 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7075 echo "configure:7076: checking for main in -lgdi32" >&5 | 7080 echo "configure:7081: checking for main in -lgdi32" >&5 |
7076 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7081 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7077 | 7082 |
7078 xe_check_libs=" -lgdi32 " | 7083 xe_check_libs=" -lgdi32 " |
7079 cat > conftest.$ac_ext <<EOF | 7084 cat > conftest.$ac_ext <<EOF |
7080 #line 7081 "configure" | 7085 #line 7086 "configure" |
7081 #include "confdefs.h" | 7086 #include "confdefs.h" |
7082 | 7087 |
7083 int main() { | 7088 int main() { |
7084 main() | 7089 main() |
7085 ; return 0; } | 7090 ; return 0; } |
7086 EOF | 7091 EOF |
7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7088 rm -rf conftest* | 7093 rm -rf conftest* |
7089 eval "ac_cv_lib_$ac_lib_var=yes" | 7094 eval "ac_cv_lib_$ac_lib_var=yes" |
7090 else | 7095 else |
7091 echo "configure: failed program was:" >&5 | 7096 echo "configure: failed program was:" >&5 |
7092 cat conftest.$ac_ext >&5 | 7097 cat conftest.$ac_ext >&5 |
7133 test "$with_toolbars" != "no" && with_toolbars=msw | 7138 test "$with_toolbars" != "no" && with_toolbars=msw |
7134 test "$with_dialogs" != "no" && with_dialogs=msw | 7139 test "$with_dialogs" != "no" && with_dialogs=msw |
7135 test "$with_widgets" != "no" && with_widgets=msw | 7140 test "$with_widgets" != "no" && with_widgets=msw |
7136 fi | 7141 fi |
7137 cat > conftest.$ac_ext <<EOF | 7142 cat > conftest.$ac_ext <<EOF |
7138 #line 7139 "configure" | 7143 #line 7144 "configure" |
7139 #include "confdefs.h" | 7144 #include "confdefs.h" |
7140 #include <fcntl.h> | 7145 #include <fcntl.h> |
7141 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7146 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7142 EOF | 7147 EOF |
7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7148 if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7144 then | 7149 then |
7145 { test "$extra_verbose" = "yes" && cat << \EOF | 7150 { test "$extra_verbose" = "yes" && cat << \EOF |
7146 Defining HAVE_MSG_SELECT | 7151 Defining HAVE_MSG_SELECT |
7147 EOF | 7152 EOF |
7148 cat >> confdefs.h <<\EOF | 7153 cat >> confdefs.h <<\EOF |
7199 fi | 7204 fi |
7200 | 7205 |
7201 if test "$with_x11" = "yes"; then | 7206 if test "$with_x11" = "yes"; then |
7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7207 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7208 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5 | 7209 echo "configure:7210: checking for X11/extensions/shape.h" >&5 |
7205 | 7210 |
7206 cat > conftest.$ac_ext <<EOF | 7211 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 7212 #line 7213 "configure" |
7208 #include "confdefs.h" | 7213 #include "confdefs.h" |
7209 #include <X11/extensions/shape.h> | 7214 #include <X11/extensions/shape.h> |
7210 EOF | 7215 EOF |
7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7217 { (eval echo configure:7218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7214 if test -z "$ac_err"; then | 7219 if test -z "$ac_err"; then |
7215 rm -rf conftest* | 7220 rm -rf conftest* |
7216 eval "ac_cv_header_$ac_safe=yes" | 7221 eval "ac_cv_header_$ac_safe=yes" |
7217 else | 7222 else |
7257 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7262 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7258 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7263 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7259 esac | 7264 esac |
7260 | 7265 |
7261 echo "checking for WM_COMMAND option" 1>&6 | 7266 echo "checking for WM_COMMAND option" 1>&6 |
7262 echo "configure:7263: checking for WM_COMMAND option" >&5; | 7267 echo "configure:7268: checking for WM_COMMAND option" >&5; |
7263 if test "$with_wmcommand" != "no"; then | 7268 if test "$with_wmcommand" != "no"; then |
7264 { test "$extra_verbose" = "yes" && cat << \EOF | 7269 { test "$extra_verbose" = "yes" && cat << \EOF |
7265 Defining HAVE_WMCOMMAND | 7270 Defining HAVE_WMCOMMAND |
7266 EOF | 7271 EOF |
7267 cat >> confdefs.h <<\EOF | 7272 cat >> confdefs.h <<\EOF |
7272 fi | 7277 fi |
7273 | 7278 |
7274 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7279 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7275 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7280 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7276 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7281 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7277 echo "configure:7278: checking for X11/Xauth.h" >&5 | 7282 echo "configure:7283: checking for X11/Xauth.h" >&5 |
7278 | 7283 |
7279 cat > conftest.$ac_ext <<EOF | 7284 cat > conftest.$ac_ext <<EOF |
7280 #line 7281 "configure" | 7285 #line 7286 "configure" |
7281 #include "confdefs.h" | 7286 #include "confdefs.h" |
7282 #include <X11/Xauth.h> | 7287 #include <X11/Xauth.h> |
7283 EOF | 7288 EOF |
7284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7285 { (eval echo configure:7286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7290 { (eval echo configure:7291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7287 if test -z "$ac_err"; then | 7292 if test -z "$ac_err"; then |
7288 rm -rf conftest* | 7293 rm -rf conftest* |
7289 eval "ac_cv_header_$ac_safe=yes" | 7294 eval "ac_cv_header_$ac_safe=yes" |
7290 else | 7295 else |
7303 with_xauth=no | 7308 with_xauth=no |
7304 fi | 7309 fi |
7305 } | 7310 } |
7306 test -z "$with_xauth" && { | 7311 test -z "$with_xauth" && { |
7307 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7312 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7308 echo "configure:7309: checking for XauGetAuthByAddr in -lXau" >&5 | 7313 echo "configure:7314: checking for XauGetAuthByAddr in -lXau" >&5 |
7309 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7314 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7310 | 7315 |
7311 xe_check_libs=" -lXau " | 7316 xe_check_libs=" -lXau " |
7312 cat > conftest.$ac_ext <<EOF | 7317 cat > conftest.$ac_ext <<EOF |
7313 #line 7314 "configure" | 7318 #line 7319 "configure" |
7314 #include "confdefs.h" | 7319 #include "confdefs.h" |
7315 /* Override any gcc2 internal prototype to avoid an error. */ | 7320 /* Override any gcc2 internal prototype to avoid an error. */ |
7316 /* We use char because int might match the return type of a gcc2 | 7321 /* We use char because int might match the return type of a gcc2 |
7317 builtin and then its argument prototype would still apply. */ | 7322 builtin and then its argument prototype would still apply. */ |
7318 char XauGetAuthByAddr(); | 7323 char XauGetAuthByAddr(); |
7319 | 7324 |
7320 int main() { | 7325 int main() { |
7321 XauGetAuthByAddr() | 7326 XauGetAuthByAddr() |
7322 ; return 0; } | 7327 ; return 0; } |
7323 EOF | 7328 EOF |
7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7329 if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7325 rm -rf conftest* | 7330 rm -rf conftest* |
7326 eval "ac_cv_lib_$ac_lib_var=yes" | 7331 eval "ac_cv_lib_$ac_lib_var=yes" |
7327 else | 7332 else |
7328 echo "configure: failed program was:" >&5 | 7333 echo "configure: failed program was:" >&5 |
7329 cat conftest.$ac_ext >&5 | 7334 cat conftest.$ac_ext >&5 |
7364 | 7369 |
7365 if test "$with_tooltalk" != "no" ; then | 7370 if test "$with_tooltalk" != "no" ; then |
7366 for dir in "" "Tt/" "desktop/" ; do | 7371 for dir in "" "Tt/" "desktop/" ; do |
7367 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7372 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7368 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7373 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7369 echo "configure:7370: checking for ${dir}tt_c.h" >&5 | 7374 echo "configure:7375: checking for ${dir}tt_c.h" >&5 |
7370 | 7375 |
7371 cat > conftest.$ac_ext <<EOF | 7376 cat > conftest.$ac_ext <<EOF |
7372 #line 7373 "configure" | 7377 #line 7378 "configure" |
7373 #include "confdefs.h" | 7378 #include "confdefs.h" |
7374 #include <${dir}tt_c.h> | 7379 #include <${dir}tt_c.h> |
7375 EOF | 7380 EOF |
7376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7377 { (eval echo configure:7378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7382 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7379 if test -z "$ac_err"; then | 7384 if test -z "$ac_err"; then |
7380 rm -rf conftest* | 7385 rm -rf conftest* |
7381 eval "ac_cv_header_$ac_safe=yes" | 7386 eval "ac_cv_header_$ac_safe=yes" |
7382 else | 7387 else |
7408 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7413 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7409 | 7414 |
7410 xe_msg_checking="for tt_message_create in -ltt" | 7415 xe_msg_checking="for tt_message_create in -ltt" |
7411 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7416 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7417 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking "$xe_msg_checking"" >&5 | 7418 echo "configure:7419: checking "$xe_msg_checking"" >&5 |
7414 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7419 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7415 | 7420 |
7416 xe_check_libs=" -ltt $extra_libs" | 7421 xe_check_libs=" -ltt $extra_libs" |
7417 cat > conftest.$ac_ext <<EOF | 7422 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7423 #line 7424 "configure" |
7419 #include "confdefs.h" | 7424 #include "confdefs.h" |
7420 /* Override any gcc2 internal prototype to avoid an error. */ | 7425 /* Override any gcc2 internal prototype to avoid an error. */ |
7421 /* We use char because int might match the return type of a gcc2 | 7426 /* We use char because int might match the return type of a gcc2 |
7422 builtin and then its argument prototype would still apply. */ | 7427 builtin and then its argument prototype would still apply. */ |
7423 char tt_message_create(); | 7428 char tt_message_create(); |
7424 | 7429 |
7425 int main() { | 7430 int main() { |
7426 tt_message_create() | 7431 tt_message_create() |
7427 ; return 0; } | 7432 ; return 0; } |
7428 EOF | 7433 EOF |
7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7434 if { (eval echo configure:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7430 rm -rf conftest* | 7435 rm -rf conftest* |
7431 eval "ac_cv_lib_$ac_lib_var=yes" | 7436 eval "ac_cv_lib_$ac_lib_var=yes" |
7432 else | 7437 else |
7433 echo "configure: failed program was:" >&5 | 7438 echo "configure: failed program was:" >&5 |
7434 cat conftest.$ac_ext >&5 | 7439 cat conftest.$ac_ext >&5 |
7478 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7483 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7479 fi | 7484 fi |
7480 | 7485 |
7481 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7486 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7482 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7487 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7483 echo "configure:7484: checking for Dt/Dt.h" >&5 | 7488 echo "configure:7489: checking for Dt/Dt.h" >&5 |
7484 | 7489 |
7485 cat > conftest.$ac_ext <<EOF | 7490 cat > conftest.$ac_ext <<EOF |
7486 #line 7487 "configure" | 7491 #line 7492 "configure" |
7487 #include "confdefs.h" | 7492 #include "confdefs.h" |
7488 #include <Dt/Dt.h> | 7493 #include <Dt/Dt.h> |
7489 EOF | 7494 EOF |
7490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7491 { (eval echo configure:7492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7496 { (eval echo configure:7497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7493 if test -z "$ac_err"; then | 7498 if test -z "$ac_err"; then |
7494 rm -rf conftest* | 7499 rm -rf conftest* |
7495 eval "ac_cv_header_$ac_safe=yes" | 7500 eval "ac_cv_header_$ac_safe=yes" |
7496 else | 7501 else |
7509 with_cde=no | 7514 with_cde=no |
7510 fi | 7515 fi |
7511 } | 7516 } |
7512 test -z "$with_cde" && { | 7517 test -z "$with_cde" && { |
7513 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7518 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7514 echo "configure:7515: checking for DtDndDragStart in -lDtSvc" >&5 | 7519 echo "configure:7520: checking for DtDndDragStart in -lDtSvc" >&5 |
7515 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7520 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7516 | 7521 |
7517 xe_check_libs=" -lDtSvc " | 7522 xe_check_libs=" -lDtSvc " |
7518 cat > conftest.$ac_ext <<EOF | 7523 cat > conftest.$ac_ext <<EOF |
7519 #line 7520 "configure" | 7524 #line 7525 "configure" |
7520 #include "confdefs.h" | 7525 #include "confdefs.h" |
7521 /* Override any gcc2 internal prototype to avoid an error. */ | 7526 /* Override any gcc2 internal prototype to avoid an error. */ |
7522 /* We use char because int might match the return type of a gcc2 | 7527 /* We use char because int might match the return type of a gcc2 |
7523 builtin and then its argument prototype would still apply. */ | 7528 builtin and then its argument prototype would still apply. */ |
7524 char DtDndDragStart(); | 7529 char DtDndDragStart(); |
7525 | 7530 |
7526 int main() { | 7531 int main() { |
7527 DtDndDragStart() | 7532 DtDndDragStart() |
7528 ; return 0; } | 7533 ; return 0; } |
7529 EOF | 7534 EOF |
7530 if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7531 rm -rf conftest* | 7536 rm -rf conftest* |
7532 eval "ac_cv_lib_$ac_lib_var=yes" | 7537 eval "ac_cv_lib_$ac_lib_var=yes" |
7533 else | 7538 else |
7534 echo "configure: failed program was:" >&5 | 7539 echo "configure: failed program was:" >&5 |
7535 cat conftest.$ac_ext >&5 | 7540 cat conftest.$ac_ext >&5 |
7606 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7611 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7607 fi | 7612 fi |
7608 | 7613 |
7609 if test "$with_dragndrop" != "no" ; then | 7614 if test "$with_dragndrop" != "no" ; then |
7610 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7615 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7611 echo "configure:7612: checking if drag and drop API is needed" >&5 | 7616 echo "configure:7617: checking if drag and drop API is needed" >&5 |
7612 if test -n "$dragndrop_proto" ; then | 7617 if test -n "$dragndrop_proto" ; then |
7613 with_dragndrop=yes | 7618 with_dragndrop=yes |
7614 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7619 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7615 { test "$extra_verbose" = "yes" && cat << \EOF | 7620 { test "$extra_verbose" = "yes" && cat << \EOF |
7616 Defining HAVE_DRAGNDROP | 7621 Defining HAVE_DRAGNDROP |
7626 echo "$ac_t""no" 1>&6 | 7631 echo "$ac_t""no" 1>&6 |
7627 fi | 7632 fi |
7628 fi | 7633 fi |
7629 | 7634 |
7630 echo "checking for LDAP" 1>&6 | 7635 echo "checking for LDAP" 1>&6 |
7631 echo "configure:7632: checking for LDAP" >&5 | 7636 echo "configure:7637: checking for LDAP" >&5 |
7632 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7637 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7633 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7638 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7634 echo "configure:7635: checking for ldap.h" >&5 | 7639 echo "configure:7640: checking for ldap.h" >&5 |
7635 | 7640 |
7636 cat > conftest.$ac_ext <<EOF | 7641 cat > conftest.$ac_ext <<EOF |
7637 #line 7638 "configure" | 7642 #line 7643 "configure" |
7638 #include "confdefs.h" | 7643 #include "confdefs.h" |
7639 #include <ldap.h> | 7644 #include <ldap.h> |
7640 EOF | 7645 EOF |
7641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7642 { (eval echo configure:7643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7647 { (eval echo configure:7648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7644 if test -z "$ac_err"; then | 7649 if test -z "$ac_err"; then |
7645 rm -rf conftest* | 7650 rm -rf conftest* |
7646 eval "ac_cv_header_$ac_safe=yes" | 7651 eval "ac_cv_header_$ac_safe=yes" |
7647 else | 7652 else |
7660 with_ldap=no | 7665 with_ldap=no |
7661 fi | 7666 fi |
7662 } | 7667 } |
7663 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7668 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7664 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7669 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7665 echo "configure:7666: checking for lber.h" >&5 | 7670 echo "configure:7671: checking for lber.h" >&5 |
7666 | 7671 |
7667 cat > conftest.$ac_ext <<EOF | 7672 cat > conftest.$ac_ext <<EOF |
7668 #line 7669 "configure" | 7673 #line 7674 "configure" |
7669 #include "confdefs.h" | 7674 #include "confdefs.h" |
7670 #include <lber.h> | 7675 #include <lber.h> |
7671 EOF | 7676 EOF |
7672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7673 { (eval echo configure:7674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7678 { (eval echo configure:7679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7675 if test -z "$ac_err"; then | 7680 if test -z "$ac_err"; then |
7676 rm -rf conftest* | 7681 rm -rf conftest* |
7677 eval "ac_cv_header_$ac_safe=yes" | 7682 eval "ac_cv_header_$ac_safe=yes" |
7678 else | 7683 else |
7692 fi | 7697 fi |
7693 } | 7698 } |
7694 if test "$with_ldap" != "no"; then | 7699 if test "$with_ldap" != "no"; then |
7695 | 7700 |
7696 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7701 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7697 echo "configure:7698: checking for ldap_search in -lldap" >&5 | 7702 echo "configure:7703: checking for ldap_search in -lldap" >&5 |
7698 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7703 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7699 | 7704 |
7700 xe_check_libs=" -lldap " | 7705 xe_check_libs=" -lldap " |
7701 cat > conftest.$ac_ext <<EOF | 7706 cat > conftest.$ac_ext <<EOF |
7702 #line 7703 "configure" | 7707 #line 7708 "configure" |
7703 #include "confdefs.h" | 7708 #include "confdefs.h" |
7704 /* Override any gcc2 internal prototype to avoid an error. */ | 7709 /* Override any gcc2 internal prototype to avoid an error. */ |
7705 /* We use char because int might match the return type of a gcc2 | 7710 /* We use char because int might match the return type of a gcc2 |
7706 builtin and then its argument prototype would still apply. */ | 7711 builtin and then its argument prototype would still apply. */ |
7707 char ldap_search(); | 7712 char ldap_search(); |
7708 | 7713 |
7709 int main() { | 7714 int main() { |
7710 ldap_search() | 7715 ldap_search() |
7711 ; return 0; } | 7716 ; return 0; } |
7712 EOF | 7717 EOF |
7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7718 if { (eval echo configure:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7714 rm -rf conftest* | 7719 rm -rf conftest* |
7715 eval "ac_cv_lib_$ac_lib_var=yes" | 7720 eval "ac_cv_lib_$ac_lib_var=yes" |
7716 else | 7721 else |
7717 echo "configure: failed program was:" >&5 | 7722 echo "configure: failed program was:" >&5 |
7718 cat conftest.$ac_ext >&5 | 7723 cat conftest.$ac_ext >&5 |
7733 | 7738 |
7734 test "$with_ldap_nolber" = "no" && { | 7739 test "$with_ldap_nolber" = "no" && { |
7735 xe_msg_checking="for ldap_open in -lldap" | 7740 xe_msg_checking="for ldap_open in -lldap" |
7736 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7741 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7742 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7738 echo "configure:7739: checking "$xe_msg_checking"" >&5 | 7743 echo "configure:7744: checking "$xe_msg_checking"" >&5 |
7739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7744 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7740 | 7745 |
7741 xe_check_libs=" -lldap -llber" | 7746 xe_check_libs=" -lldap -llber" |
7742 cat > conftest.$ac_ext <<EOF | 7747 cat > conftest.$ac_ext <<EOF |
7743 #line 7744 "configure" | 7748 #line 7749 "configure" |
7744 #include "confdefs.h" | 7749 #include "confdefs.h" |
7745 /* Override any gcc2 internal prototype to avoid an error. */ | 7750 /* Override any gcc2 internal prototype to avoid an error. */ |
7746 /* We use char because int might match the return type of a gcc2 | 7751 /* We use char because int might match the return type of a gcc2 |
7747 builtin and then its argument prototype would still apply. */ | 7752 builtin and then its argument prototype would still apply. */ |
7748 char ldap_open(); | 7753 char ldap_open(); |
7749 | 7754 |
7750 int main() { | 7755 int main() { |
7751 ldap_open() | 7756 ldap_open() |
7752 ; return 0; } | 7757 ; return 0; } |
7753 EOF | 7758 EOF |
7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7759 if { (eval echo configure:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7755 rm -rf conftest* | 7760 rm -rf conftest* |
7756 eval "ac_cv_lib_$ac_lib_var=yes" | 7761 eval "ac_cv_lib_$ac_lib_var=yes" |
7757 else | 7762 else |
7758 echo "configure: failed program was:" >&5 | 7763 echo "configure: failed program was:" >&5 |
7759 cat conftest.$ac_ext >&5 | 7764 cat conftest.$ac_ext >&5 |
7774 } | 7779 } |
7775 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7780 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7776 xe_msg_checking="for ldap_open in -lldap" | 7781 xe_msg_checking="for ldap_open in -lldap" |
7777 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7782 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7778 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7783 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7779 echo "configure:7780: checking "$xe_msg_checking"" >&5 | 7784 echo "configure:7785: checking "$xe_msg_checking"" >&5 |
7780 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7785 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7781 | 7786 |
7782 xe_check_libs=" -lldap -llber -lkrb" | 7787 xe_check_libs=" -lldap -llber -lkrb" |
7783 cat > conftest.$ac_ext <<EOF | 7788 cat > conftest.$ac_ext <<EOF |
7784 #line 7785 "configure" | 7789 #line 7790 "configure" |
7785 #include "confdefs.h" | 7790 #include "confdefs.h" |
7786 /* Override any gcc2 internal prototype to avoid an error. */ | 7791 /* Override any gcc2 internal prototype to avoid an error. */ |
7787 /* We use char because int might match the return type of a gcc2 | 7792 /* We use char because int might match the return type of a gcc2 |
7788 builtin and then its argument prototype would still apply. */ | 7793 builtin and then its argument prototype would still apply. */ |
7789 char ldap_open(); | 7794 char ldap_open(); |
7790 | 7795 |
7791 int main() { | 7796 int main() { |
7792 ldap_open() | 7797 ldap_open() |
7793 ; return 0; } | 7798 ; return 0; } |
7794 EOF | 7799 EOF |
7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7800 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7796 rm -rf conftest* | 7801 rm -rf conftest* |
7797 eval "ac_cv_lib_$ac_lib_var=yes" | 7802 eval "ac_cv_lib_$ac_lib_var=yes" |
7798 else | 7803 else |
7799 echo "configure: failed program was:" >&5 | 7804 echo "configure: failed program was:" >&5 |
7800 cat conftest.$ac_ext >&5 | 7805 cat conftest.$ac_ext >&5 |
7815 } | 7820 } |
7816 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7821 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7817 xe_msg_checking="for ldap_open in -lldap" | 7822 xe_msg_checking="for ldap_open in -lldap" |
7818 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7823 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7819 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7824 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7820 echo "configure:7821: checking "$xe_msg_checking"" >&5 | 7825 echo "configure:7826: checking "$xe_msg_checking"" >&5 |
7821 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7826 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7822 | 7827 |
7823 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7828 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7824 cat > conftest.$ac_ext <<EOF | 7829 cat > conftest.$ac_ext <<EOF |
7825 #line 7826 "configure" | 7830 #line 7831 "configure" |
7826 #include "confdefs.h" | 7831 #include "confdefs.h" |
7827 /* Override any gcc2 internal prototype to avoid an error. */ | 7832 /* Override any gcc2 internal prototype to avoid an error. */ |
7828 /* We use char because int might match the return type of a gcc2 | 7833 /* We use char because int might match the return type of a gcc2 |
7829 builtin and then its argument prototype would still apply. */ | 7834 builtin and then its argument prototype would still apply. */ |
7830 char ldap_open(); | 7835 char ldap_open(); |
7831 | 7836 |
7832 int main() { | 7837 int main() { |
7833 ldap_open() | 7838 ldap_open() |
7834 ; return 0; } | 7839 ; return 0; } |
7835 EOF | 7840 EOF |
7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7841 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7837 rm -rf conftest* | 7842 rm -rf conftest* |
7838 eval "ac_cv_lib_$ac_lib_var=yes" | 7843 eval "ac_cv_lib_$ac_lib_var=yes" |
7839 else | 7844 else |
7840 echo "configure: failed program was:" >&5 | 7845 echo "configure: failed program was:" >&5 |
7841 cat conftest.$ac_ext >&5 | 7846 cat conftest.$ac_ext >&5 |
7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7884 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7880 fi | 7885 fi |
7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7886 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7882 do | 7887 do |
7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7884 echo "configure:7885: checking for $ac_func" >&5 | 7889 echo "configure:7890: checking for $ac_func" >&5 |
7885 | 7890 |
7886 cat > conftest.$ac_ext <<EOF | 7891 cat > conftest.$ac_ext <<EOF |
7887 #line 7888 "configure" | 7892 #line 7893 "configure" |
7888 #include "confdefs.h" | 7893 #include "confdefs.h" |
7889 /* System header to define __stub macros and hopefully few prototypes, | 7894 /* System header to define __stub macros and hopefully few prototypes, |
7890 which can conflict with char $ac_func(); below. */ | 7895 which can conflict with char $ac_func(); below. */ |
7891 #include <assert.h> | 7896 #include <assert.h> |
7892 /* Override any gcc2 internal prototype to avoid an error. */ | 7897 /* Override any gcc2 internal prototype to avoid an error. */ |
7905 $ac_func(); | 7910 $ac_func(); |
7906 #endif | 7911 #endif |
7907 | 7912 |
7908 ; return 0; } | 7913 ; return 0; } |
7909 EOF | 7914 EOF |
7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7911 rm -rf conftest* | 7916 rm -rf conftest* |
7912 eval "ac_cv_func_$ac_func=yes" | 7917 eval "ac_cv_func_$ac_func=yes" |
7913 else | 7918 else |
7914 echo "configure: failed program was:" >&5 | 7919 echo "configure: failed program was:" >&5 |
7915 cat conftest.$ac_ext >&5 | 7920 cat conftest.$ac_ext >&5 |
7936 | 7941 |
7937 fi | 7942 fi |
7938 | 7943 |
7939 if test "$with_postgresql" != "no"; then | 7944 if test "$with_postgresql" != "no"; then |
7940 echo "checking for PostgreSQL" 1>&6 | 7945 echo "checking for PostgreSQL" 1>&6 |
7941 echo "configure:7942: checking for PostgreSQL" >&5 | 7946 echo "configure:7947: checking for PostgreSQL" >&5 |
7942 | 7947 |
7943 for header_dir in "" "pgsql/" "postgresql/"; do | 7948 for header_dir in "" "pgsql/" "postgresql/"; do |
7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7949 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7950 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5 | 7951 echo "configure:7952: checking for ${header_dir}libpq-fe.h" >&5 |
7947 | 7952 |
7948 cat > conftest.$ac_ext <<EOF | 7953 cat > conftest.$ac_ext <<EOF |
7949 #line 7950 "configure" | 7954 #line 7955 "configure" |
7950 #include "confdefs.h" | 7955 #include "confdefs.h" |
7951 #include <${header_dir}libpq-fe.h> | 7956 #include <${header_dir}libpq-fe.h> |
7952 EOF | 7957 EOF |
7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7959 { (eval echo configure:7960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7956 if test -z "$ac_err"; then | 7961 if test -z "$ac_err"; then |
7957 rm -rf conftest* | 7962 rm -rf conftest* |
7958 eval "ac_cv_header_$ac_safe=yes" | 7963 eval "ac_cv_header_$ac_safe=yes" |
7959 else | 7964 else |
7973 | 7978 |
7974 done | 7979 done |
7975 | 7980 |
7976 test -n "$libpq_fe_h_file" && { | 7981 test -n "$libpq_fe_h_file" && { |
7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7982 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5 | 7983 echo "configure:7984: checking for PQconnectdb in -lpq" >&5 |
7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7984 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7980 | 7985 |
7981 xe_check_libs=" -lpq " | 7986 xe_check_libs=" -lpq " |
7982 cat > conftest.$ac_ext <<EOF | 7987 cat > conftest.$ac_ext <<EOF |
7983 #line 7984 "configure" | 7988 #line 7989 "configure" |
7984 #include "confdefs.h" | 7989 #include "confdefs.h" |
7985 /* Override any gcc2 internal prototype to avoid an error. */ | 7990 /* Override any gcc2 internal prototype to avoid an error. */ |
7986 /* We use char because int might match the return type of a gcc2 | 7991 /* We use char because int might match the return type of a gcc2 |
7987 builtin and then its argument prototype would still apply. */ | 7992 builtin and then its argument prototype would still apply. */ |
7988 char PQconnectdb(); | 7993 char PQconnectdb(); |
7989 | 7994 |
7990 int main() { | 7995 int main() { |
7991 PQconnectdb() | 7996 PQconnectdb() |
7992 ; return 0; } | 7997 ; return 0; } |
7993 EOF | 7998 EOF |
7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7995 rm -rf conftest* | 8000 rm -rf conftest* |
7996 eval "ac_cv_lib_$ac_lib_var=yes" | 8001 eval "ac_cv_lib_$ac_lib_var=yes" |
7997 else | 8002 else |
7998 echo "configure: failed program was:" >&5 | 8003 echo "configure: failed program was:" >&5 |
7999 cat conftest.$ac_ext >&5 | 8004 cat conftest.$ac_ext >&5 |
8022 EOF | 8027 EOF |
8023 } | 8028 } |
8024 | 8029 |
8025 | 8030 |
8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8031 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5 | 8032 echo "configure:8033: checking for PQconnectStart in -lpq" >&5 |
8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8033 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8029 | 8034 |
8030 xe_check_libs=" -lpq " | 8035 xe_check_libs=" -lpq " |
8031 cat > conftest.$ac_ext <<EOF | 8036 cat > conftest.$ac_ext <<EOF |
8032 #line 8033 "configure" | 8037 #line 8038 "configure" |
8033 #include "confdefs.h" | 8038 #include "confdefs.h" |
8034 /* Override any gcc2 internal prototype to avoid an error. */ | 8039 /* Override any gcc2 internal prototype to avoid an error. */ |
8035 /* We use char because int might match the return type of a gcc2 | 8040 /* We use char because int might match the return type of a gcc2 |
8036 builtin and then its argument prototype would still apply. */ | 8041 builtin and then its argument prototype would still apply. */ |
8037 char PQconnectStart(); | 8042 char PQconnectStart(); |
8038 | 8043 |
8039 int main() { | 8044 int main() { |
8040 PQconnectStart() | 8045 PQconnectStart() |
8041 ; return 0; } | 8046 ; return 0; } |
8042 EOF | 8047 EOF |
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8048 if { (eval echo configure:8049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8044 rm -rf conftest* | 8049 rm -rf conftest* |
8045 eval "ac_cv_lib_$ac_lib_var=yes" | 8050 eval "ac_cv_lib_$ac_lib_var=yes" |
8046 else | 8051 else |
8047 echo "configure: failed program was:" >&5 | 8052 echo "configure: failed program was:" >&5 |
8048 cat conftest.$ac_ext >&5 | 8053 cat conftest.$ac_ext >&5 |
8083 fi | 8088 fi |
8084 | 8089 |
8085 | 8090 |
8086 if test "$window_system" != "none"; then | 8091 if test "$window_system" != "none"; then |
8087 echo "checking for graphics libraries" 1>&6 | 8092 echo "checking for graphics libraries" 1>&6 |
8088 echo "configure:8089: checking for graphics libraries" >&5 | 8093 echo "configure:8094: checking for graphics libraries" >&5 |
8089 | 8094 |
8090 libpath_xpm= | 8095 libpath_xpm= |
8091 incpath_xpm= | 8096 incpath_xpm= |
8092 case "$opsys" in | 8097 case "$opsys" in |
8093 cygwin*) | 8098 cygwin*) |
8109 xpm_problem="" | 8114 xpm_problem="" |
8110 if test -z "$with_xpm"; then | 8115 if test -z "$with_xpm"; then |
8111 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8116 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8112 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8117 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8113 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8118 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for Xpm - no older than 3.4f" >&5 | 8119 echo "configure:8120: checking for Xpm - no older than 3.4f" >&5 |
8115 xe_check_libs=-lXpm | 8120 xe_check_libs=-lXpm |
8116 cat > conftest.$ac_ext <<EOF | 8121 cat > conftest.$ac_ext <<EOF |
8117 #line 8118 "configure" | 8122 #line 8123 "configure" |
8118 #include "confdefs.h" | 8123 #include "confdefs.h" |
8119 #define XPM_NUMBERS | 8124 #define XPM_NUMBERS |
8120 #include <X11/xpm.h> | 8125 #include <X11/xpm.h> |
8121 int main(int c, char **v) { | 8126 int main(int c, char **v) { |
8122 return c == 1 ? 0 : | 8127 return c == 1 ? 0 : |
8123 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8128 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8124 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8129 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8125 EOF | 8130 EOF |
8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8127 then | 8132 then |
8128 ./conftest dummy_arg; xpm_status=$?; | 8133 ./conftest dummy_arg; xpm_status=$?; |
8129 if test "$xpm_status" = "0"; then | 8134 if test "$xpm_status" = "0"; then |
8130 with_xpm=yes; | 8135 with_xpm=yes; |
8131 else | 8136 else |
8165 | 8170 |
8166 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8171 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8167 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8172 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8168 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8173 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8169 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8174 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8170 echo "configure:8171: checking for \"FOR_MSW\" xpm" >&5 | 8175 echo "configure:8176: checking for \"FOR_MSW\" xpm" >&5 |
8171 xe_check_libs=-lXpm | 8176 xe_check_libs=-lXpm |
8172 cat > conftest.$ac_ext <<EOF | 8177 cat > conftest.$ac_ext <<EOF |
8173 #line 8174 "configure" | 8178 #line 8179 "configure" |
8174 #include "confdefs.h" | 8179 #include "confdefs.h" |
8175 | 8180 |
8176 int main() { | 8181 int main() { |
8177 XpmCreatePixmapFromData() | 8182 XpmCreatePixmapFromData() |
8178 ; return 0; } | 8183 ; return 0; } |
8179 EOF | 8184 EOF |
8180 if { (eval echo configure:8181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8185 if { (eval echo configure:8186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8181 rm -rf conftest* | 8186 rm -rf conftest* |
8182 xpm_for_msw=no | 8187 xpm_for_msw=no |
8183 else | 8188 else |
8184 echo "configure: failed program was:" >&5 | 8189 echo "configure: failed program was:" >&5 |
8185 cat conftest.$ac_ext >&5 | 8190 cat conftest.$ac_ext >&5 |
8201 fi | 8206 fi |
8202 fi | 8207 fi |
8203 | 8208 |
8204 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8209 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8205 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8210 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8206 echo "configure:8207: checking for compface.h" >&5 | 8211 echo "configure:8212: checking for compface.h" >&5 |
8207 | 8212 |
8208 cat > conftest.$ac_ext <<EOF | 8213 cat > conftest.$ac_ext <<EOF |
8209 #line 8210 "configure" | 8214 #line 8215 "configure" |
8210 #include "confdefs.h" | 8215 #include "confdefs.h" |
8211 #include <compface.h> | 8216 #include <compface.h> |
8212 EOF | 8217 EOF |
8213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8219 { (eval echo configure:8220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8216 if test -z "$ac_err"; then | 8221 if test -z "$ac_err"; then |
8217 rm -rf conftest* | 8222 rm -rf conftest* |
8218 eval "ac_cv_header_$ac_safe=yes" | 8223 eval "ac_cv_header_$ac_safe=yes" |
8219 else | 8224 else |
8232 with_xface=no | 8237 with_xface=no |
8233 fi | 8238 fi |
8234 } | 8239 } |
8235 test -z "$with_xface" && { | 8240 test -z "$with_xface" && { |
8236 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8241 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8237 echo "configure:8238: checking for UnGenFace in -lcompface" >&5 | 8242 echo "configure:8243: checking for UnGenFace in -lcompface" >&5 |
8238 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8243 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8239 | 8244 |
8240 xe_check_libs=" -lcompface " | 8245 xe_check_libs=" -lcompface " |
8241 cat > conftest.$ac_ext <<EOF | 8246 cat > conftest.$ac_ext <<EOF |
8242 #line 8243 "configure" | 8247 #line 8248 "configure" |
8243 #include "confdefs.h" | 8248 #include "confdefs.h" |
8244 /* Override any gcc2 internal prototype to avoid an error. */ | 8249 /* Override any gcc2 internal prototype to avoid an error. */ |
8245 /* We use char because int might match the return type of a gcc2 | 8250 /* We use char because int might match the return type of a gcc2 |
8246 builtin and then its argument prototype would still apply. */ | 8251 builtin and then its argument prototype would still apply. */ |
8247 char UnGenFace(); | 8252 char UnGenFace(); |
8248 | 8253 |
8249 int main() { | 8254 int main() { |
8250 UnGenFace() | 8255 UnGenFace() |
8251 ; return 0; } | 8256 ; return 0; } |
8252 EOF | 8257 EOF |
8253 if { (eval echo configure:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8258 if { (eval echo configure:8259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8254 rm -rf conftest* | 8259 rm -rf conftest* |
8255 eval "ac_cv_lib_$ac_lib_var=yes" | 8260 eval "ac_cv_lib_$ac_lib_var=yes" |
8256 else | 8261 else |
8257 echo "configure: failed program was:" >&5 | 8262 echo "configure: failed program was:" >&5 |
8258 cat conftest.$ac_ext >&5 | 8263 cat conftest.$ac_ext >&5 |
8297 fi | 8302 fi |
8298 | 8303 |
8299 if test "$with_png $with_tiff" != "no no"; then | 8304 if test "$with_png $with_tiff" != "no no"; then |
8300 | 8305 |
8301 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8306 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8302 echo "configure:8303: checking for inflate in -lc" >&5 | 8307 echo "configure:8308: checking for inflate in -lc" >&5 |
8303 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8308 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8304 | 8309 |
8305 xe_check_libs=" -lc " | 8310 xe_check_libs=" -lc " |
8306 cat > conftest.$ac_ext <<EOF | 8311 cat > conftest.$ac_ext <<EOF |
8307 #line 8308 "configure" | 8312 #line 8313 "configure" |
8308 #include "confdefs.h" | 8313 #include "confdefs.h" |
8309 /* Override any gcc2 internal prototype to avoid an error. */ | 8314 /* Override any gcc2 internal prototype to avoid an error. */ |
8310 /* We use char because int might match the return type of a gcc2 | 8315 /* We use char because int might match the return type of a gcc2 |
8311 builtin and then its argument prototype would still apply. */ | 8316 builtin and then its argument prototype would still apply. */ |
8312 char inflate(); | 8317 char inflate(); |
8313 | 8318 |
8314 int main() { | 8319 int main() { |
8315 inflate() | 8320 inflate() |
8316 ; return 0; } | 8321 ; return 0; } |
8317 EOF | 8322 EOF |
8318 if { (eval echo configure:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8323 if { (eval echo configure:8324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8319 rm -rf conftest* | 8324 rm -rf conftest* |
8320 eval "ac_cv_lib_$ac_lib_var=yes" | 8325 eval "ac_cv_lib_$ac_lib_var=yes" |
8321 else | 8326 else |
8322 echo "configure: failed program was:" >&5 | 8327 echo "configure: failed program was:" >&5 |
8323 cat conftest.$ac_ext >&5 | 8328 cat conftest.$ac_ext >&5 |
8332 : | 8337 : |
8333 else | 8338 else |
8334 echo "$ac_t""no" 1>&6 | 8339 echo "$ac_t""no" 1>&6 |
8335 | 8340 |
8336 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8341 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8337 echo "configure:8338: checking for inflate in -lz" >&5 | 8342 echo "configure:8343: checking for inflate in -lz" >&5 |
8338 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8343 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8339 | 8344 |
8340 xe_check_libs=" -lz " | 8345 xe_check_libs=" -lz " |
8341 cat > conftest.$ac_ext <<EOF | 8346 cat > conftest.$ac_ext <<EOF |
8342 #line 8343 "configure" | 8347 #line 8348 "configure" |
8343 #include "confdefs.h" | 8348 #include "confdefs.h" |
8344 /* Override any gcc2 internal prototype to avoid an error. */ | 8349 /* Override any gcc2 internal prototype to avoid an error. */ |
8345 /* We use char because int might match the return type of a gcc2 | 8350 /* We use char because int might match the return type of a gcc2 |
8346 builtin and then its argument prototype would still apply. */ | 8351 builtin and then its argument prototype would still apply. */ |
8347 char inflate(); | 8352 char inflate(); |
8348 | 8353 |
8349 int main() { | 8354 int main() { |
8350 inflate() | 8355 inflate() |
8351 ; return 0; } | 8356 ; return 0; } |
8352 EOF | 8357 EOF |
8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8358 if { (eval echo configure:8359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8354 rm -rf conftest* | 8359 rm -rf conftest* |
8355 eval "ac_cv_lib_$ac_lib_var=yes" | 8360 eval "ac_cv_lib_$ac_lib_var=yes" |
8356 else | 8361 else |
8357 echo "configure: failed program was:" >&5 | 8362 echo "configure: failed program was:" >&5 |
8358 cat conftest.$ac_ext >&5 | 8363 cat conftest.$ac_ext >&5 |
8367 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8372 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8368 else | 8373 else |
8369 echo "$ac_t""no" 1>&6 | 8374 echo "$ac_t""no" 1>&6 |
8370 | 8375 |
8371 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8376 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8372 echo "configure:8373: checking for inflate in -lgz" >&5 | 8377 echo "configure:8378: checking for inflate in -lgz" >&5 |
8373 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8378 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8374 | 8379 |
8375 xe_check_libs=" -lgz " | 8380 xe_check_libs=" -lgz " |
8376 cat > conftest.$ac_ext <<EOF | 8381 cat > conftest.$ac_ext <<EOF |
8377 #line 8378 "configure" | 8382 #line 8383 "configure" |
8378 #include "confdefs.h" | 8383 #include "confdefs.h" |
8379 /* Override any gcc2 internal prototype to avoid an error. */ | 8384 /* Override any gcc2 internal prototype to avoid an error. */ |
8380 /* We use char because int might match the return type of a gcc2 | 8385 /* We use char because int might match the return type of a gcc2 |
8381 builtin and then its argument prototype would still apply. */ | 8386 builtin and then its argument prototype would still apply. */ |
8382 char inflate(); | 8387 char inflate(); |
8383 | 8388 |
8384 int main() { | 8389 int main() { |
8385 inflate() | 8390 inflate() |
8386 ; return 0; } | 8391 ; return 0; } |
8387 EOF | 8392 EOF |
8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8393 if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8389 rm -rf conftest* | 8394 rm -rf conftest* |
8390 eval "ac_cv_lib_$ac_lib_var=yes" | 8395 eval "ac_cv_lib_$ac_lib_var=yes" |
8391 else | 8396 else |
8392 echo "configure: failed program was:" >&5 | 8397 echo "configure: failed program was:" >&5 |
8393 cat conftest.$ac_ext >&5 | 8398 cat conftest.$ac_ext >&5 |
8413 | 8418 |
8414 fi | 8419 fi |
8415 | 8420 |
8416 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8421 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8417 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8422 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8418 echo "configure:8419: checking for jpeglib.h" >&5 | 8423 echo "configure:8424: checking for jpeglib.h" >&5 |
8419 | 8424 |
8420 cat > conftest.$ac_ext <<EOF | 8425 cat > conftest.$ac_ext <<EOF |
8421 #line 8422 "configure" | 8426 #line 8427 "configure" |
8422 #include "confdefs.h" | 8427 #include "confdefs.h" |
8423 #include <jpeglib.h> | 8428 #include <jpeglib.h> |
8424 EOF | 8429 EOF |
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8431 { (eval echo configure:8432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8428 if test -z "$ac_err"; then | 8433 if test -z "$ac_err"; then |
8429 rm -rf conftest* | 8434 rm -rf conftest* |
8430 eval "ac_cv_header_$ac_safe=yes" | 8435 eval "ac_cv_header_$ac_safe=yes" |
8431 else | 8436 else |
8444 with_jpeg=no | 8449 with_jpeg=no |
8445 fi | 8450 fi |
8446 } | 8451 } |
8447 test -z "$with_jpeg" && { | 8452 test -z "$with_jpeg" && { |
8448 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8453 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8449 echo "configure:8450: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8454 echo "configure:8455: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8450 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8455 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8451 | 8456 |
8452 xe_check_libs=" -ljpeg " | 8457 xe_check_libs=" -ljpeg " |
8453 cat > conftest.$ac_ext <<EOF | 8458 cat > conftest.$ac_ext <<EOF |
8454 #line 8455 "configure" | 8459 #line 8460 "configure" |
8455 #include "confdefs.h" | 8460 #include "confdefs.h" |
8456 /* Override any gcc2 internal prototype to avoid an error. */ | 8461 /* Override any gcc2 internal prototype to avoid an error. */ |
8457 /* We use char because int might match the return type of a gcc2 | 8462 /* We use char because int might match the return type of a gcc2 |
8458 builtin and then its argument prototype would still apply. */ | 8463 builtin and then its argument prototype would still apply. */ |
8459 char jpeg_destroy_decompress(); | 8464 char jpeg_destroy_decompress(); |
8460 | 8465 |
8461 int main() { | 8466 int main() { |
8462 jpeg_destroy_decompress() | 8467 jpeg_destroy_decompress() |
8463 ; return 0; } | 8468 ; return 0; } |
8464 EOF | 8469 EOF |
8465 if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8470 if { (eval echo configure:8471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8466 rm -rf conftest* | 8471 rm -rf conftest* |
8467 eval "ac_cv_lib_$ac_lib_var=yes" | 8472 eval "ac_cv_lib_$ac_lib_var=yes" |
8468 else | 8473 else |
8469 echo "configure: failed program was:" >&5 | 8474 echo "configure: failed program was:" >&5 |
8470 cat conftest.$ac_ext >&5 | 8475 cat conftest.$ac_ext >&5 |
8496 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8501 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8497 fi | 8502 fi |
8498 | 8503 |
8499 png_problem="" | 8504 png_problem="" |
8500 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8505 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8501 echo "configure:8502: checking for pow" >&5 | 8506 echo "configure:8507: checking for pow" >&5 |
8502 | 8507 |
8503 cat > conftest.$ac_ext <<EOF | 8508 cat > conftest.$ac_ext <<EOF |
8504 #line 8505 "configure" | 8509 #line 8510 "configure" |
8505 #include "confdefs.h" | 8510 #include "confdefs.h" |
8506 /* System header to define __stub macros and hopefully few prototypes, | 8511 /* System header to define __stub macros and hopefully few prototypes, |
8507 which can conflict with char pow(); below. */ | 8512 which can conflict with char pow(); below. */ |
8508 #include <assert.h> | 8513 #include <assert.h> |
8509 /* Override any gcc2 internal prototype to avoid an error. */ | 8514 /* Override any gcc2 internal prototype to avoid an error. */ |
8522 pow(); | 8527 pow(); |
8523 #endif | 8528 #endif |
8524 | 8529 |
8525 ; return 0; } | 8530 ; return 0; } |
8526 EOF | 8531 EOF |
8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8528 rm -rf conftest* | 8533 rm -rf conftest* |
8529 eval "ac_cv_func_pow=yes" | 8534 eval "ac_cv_func_pow=yes" |
8530 else | 8535 else |
8531 echo "configure: failed program was:" >&5 | 8536 echo "configure: failed program was:" >&5 |
8532 cat conftest.$ac_ext >&5 | 8537 cat conftest.$ac_ext >&5 |
8543 with_png=no | 8548 with_png=no |
8544 fi | 8549 fi |
8545 } | 8550 } |
8546 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8551 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8547 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8552 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8548 echo "configure:8549: checking for png.h" >&5 | 8553 echo "configure:8554: checking for png.h" >&5 |
8549 | 8554 |
8550 cat > conftest.$ac_ext <<EOF | 8555 cat > conftest.$ac_ext <<EOF |
8551 #line 8552 "configure" | 8556 #line 8557 "configure" |
8552 #include "confdefs.h" | 8557 #include "confdefs.h" |
8553 #include <png.h> | 8558 #include <png.h> |
8554 EOF | 8559 EOF |
8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8561 { (eval echo configure:8562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8558 if test -z "$ac_err"; then | 8563 if test -z "$ac_err"; then |
8559 rm -rf conftest* | 8564 rm -rf conftest* |
8560 eval "ac_cv_header_$ac_safe=yes" | 8565 eval "ac_cv_header_$ac_safe=yes" |
8561 else | 8566 else |
8574 with_png=no | 8579 with_png=no |
8575 fi | 8580 fi |
8576 } | 8581 } |
8577 test -z "$with_png" && { | 8582 test -z "$with_png" && { |
8578 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8583 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8579 echo "configure:8580: checking for png_read_image in -lpng" >&5 | 8584 echo "configure:8585: checking for png_read_image in -lpng" >&5 |
8580 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8585 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8581 | 8586 |
8582 xe_check_libs=" -lpng " | 8587 xe_check_libs=" -lpng " |
8583 cat > conftest.$ac_ext <<EOF | 8588 cat > conftest.$ac_ext <<EOF |
8584 #line 8585 "configure" | 8589 #line 8590 "configure" |
8585 #include "confdefs.h" | 8590 #include "confdefs.h" |
8586 /* Override any gcc2 internal prototype to avoid an error. */ | 8591 /* Override any gcc2 internal prototype to avoid an error. */ |
8587 /* We use char because int might match the return type of a gcc2 | 8592 /* We use char because int might match the return type of a gcc2 |
8588 builtin and then its argument prototype would still apply. */ | 8593 builtin and then its argument prototype would still apply. */ |
8589 char png_read_image(); | 8594 char png_read_image(); |
8590 | 8595 |
8591 int main() { | 8596 int main() { |
8592 png_read_image() | 8597 png_read_image() |
8593 ; return 0; } | 8598 ; return 0; } |
8594 EOF | 8599 EOF |
8595 if { (eval echo configure:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8596 rm -rf conftest* | 8601 rm -rf conftest* |
8597 eval "ac_cv_lib_$ac_lib_var=yes" | 8602 eval "ac_cv_lib_$ac_lib_var=yes" |
8598 else | 8603 else |
8599 echo "configure: failed program was:" >&5 | 8604 echo "configure: failed program was:" >&5 |
8600 cat conftest.$ac_ext >&5 | 8605 cat conftest.$ac_ext >&5 |
8613 fi | 8618 fi |
8614 | 8619 |
8615 } | 8620 } |
8616 if test -z "$with_png"; then | 8621 if test -z "$with_png"; then |
8617 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8622 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8618 echo "configure:8619: checking for workable png version information" >&5 | 8623 echo "configure:8624: checking for workable png version information" >&5 |
8619 xe_check_libs="-lpng -lz" | 8624 xe_check_libs="-lpng -lz" |
8620 cat > conftest.$ac_ext <<EOF | 8625 cat > conftest.$ac_ext <<EOF |
8621 #line 8622 "configure" | 8626 #line 8627 "configure" |
8622 #include "confdefs.h" | 8627 #include "confdefs.h" |
8623 #include <png.h> | 8628 #include <png.h> |
8624 int main(int c, char **v) { | 8629 int main(int c, char **v) { |
8625 if (c == 1) return 0; | 8630 if (c == 1) return 0; |
8626 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8631 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8627 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8632 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8628 EOF | 8633 EOF |
8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8630 then | 8635 then |
8631 ./conftest dummy_arg; png_status=$?; | 8636 ./conftest dummy_arg; png_status=$?; |
8632 if test "$png_status" = "0"; then | 8637 if test "$png_status" = "0"; then |
8633 with_png=yes; | 8638 with_png=yes; |
8634 else | 8639 else |
8667 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8672 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8668 fi | 8673 fi |
8669 | 8674 |
8670 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8675 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8671 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8672 echo "configure:8673: checking for tiffio.h" >&5 | 8677 echo "configure:8678: checking for tiffio.h" >&5 |
8673 | 8678 |
8674 cat > conftest.$ac_ext <<EOF | 8679 cat > conftest.$ac_ext <<EOF |
8675 #line 8676 "configure" | 8680 #line 8681 "configure" |
8676 #include "confdefs.h" | 8681 #include "confdefs.h" |
8677 #include <tiffio.h> | 8682 #include <tiffio.h> |
8678 EOF | 8683 EOF |
8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8685 { (eval echo configure:8686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8682 if test -z "$ac_err"; then | 8687 if test -z "$ac_err"; then |
8683 rm -rf conftest* | 8688 rm -rf conftest* |
8684 eval "ac_cv_header_$ac_safe=yes" | 8689 eval "ac_cv_header_$ac_safe=yes" |
8685 else | 8690 else |
8698 with_tiff=no | 8703 with_tiff=no |
8699 fi | 8704 fi |
8700 } | 8705 } |
8701 test -z "$with_tiff" && { | 8706 test -z "$with_tiff" && { |
8702 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8707 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8703 echo "configure:8704: checking for TIFFClientOpen in -ltiff" >&5 | 8708 echo "configure:8709: checking for TIFFClientOpen in -ltiff" >&5 |
8704 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8709 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8705 | 8710 |
8706 xe_check_libs=" -ltiff " | 8711 xe_check_libs=" -ltiff " |
8707 cat > conftest.$ac_ext <<EOF | 8712 cat > conftest.$ac_ext <<EOF |
8708 #line 8709 "configure" | 8713 #line 8714 "configure" |
8709 #include "confdefs.h" | 8714 #include "confdefs.h" |
8710 /* Override any gcc2 internal prototype to avoid an error. */ | 8715 /* Override any gcc2 internal prototype to avoid an error. */ |
8711 /* We use char because int might match the return type of a gcc2 | 8716 /* We use char because int might match the return type of a gcc2 |
8712 builtin and then its argument prototype would still apply. */ | 8717 builtin and then its argument prototype would still apply. */ |
8713 char TIFFClientOpen(); | 8718 char TIFFClientOpen(); |
8714 | 8719 |
8715 int main() { | 8720 int main() { |
8716 TIFFClientOpen() | 8721 TIFFClientOpen() |
8717 ; return 0; } | 8722 ; return 0; } |
8718 EOF | 8723 EOF |
8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8720 rm -rf conftest* | 8725 rm -rf conftest* |
8721 eval "ac_cv_lib_$ac_lib_var=yes" | 8726 eval "ac_cv_lib_$ac_lib_var=yes" |
8722 else | 8727 else |
8723 echo "configure: failed program was:" >&5 | 8728 echo "configure: failed program was:" >&5 |
8724 cat conftest.$ac_ext >&5 | 8729 cat conftest.$ac_ext >&5 |
8753 | 8758 |
8754 | 8759 |
8755 if test "$with_gtk" = "yes"; then | 8760 if test "$with_gtk" = "yes"; then |
8756 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8761 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8757 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8762 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8758 echo "configure:8759: checking for compface.h" >&5 | 8763 echo "configure:8764: checking for compface.h" >&5 |
8759 | 8764 |
8760 cat > conftest.$ac_ext <<EOF | 8765 cat > conftest.$ac_ext <<EOF |
8761 #line 8762 "configure" | 8766 #line 8767 "configure" |
8762 #include "confdefs.h" | 8767 #include "confdefs.h" |
8763 #include <compface.h> | 8768 #include <compface.h> |
8764 EOF | 8769 EOF |
8765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8766 { (eval echo configure:8767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8771 { (eval echo configure:8772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8768 if test -z "$ac_err"; then | 8773 if test -z "$ac_err"; then |
8769 rm -rf conftest* | 8774 rm -rf conftest* |
8770 eval "ac_cv_header_$ac_safe=yes" | 8775 eval "ac_cv_header_$ac_safe=yes" |
8771 else | 8776 else |
8784 with_xface=no | 8789 with_xface=no |
8785 fi | 8790 fi |
8786 } | 8791 } |
8787 test -z "$with_xface" && { | 8792 test -z "$with_xface" && { |
8788 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8793 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8789 echo "configure:8790: checking for UnGenFace in -lcompface" >&5 | 8794 echo "configure:8795: checking for UnGenFace in -lcompface" >&5 |
8790 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8795 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8791 | 8796 |
8792 xe_check_libs=" -lcompface " | 8797 xe_check_libs=" -lcompface " |
8793 cat > conftest.$ac_ext <<EOF | 8798 cat > conftest.$ac_ext <<EOF |
8794 #line 8795 "configure" | 8799 #line 8800 "configure" |
8795 #include "confdefs.h" | 8800 #include "confdefs.h" |
8796 /* Override any gcc2 internal prototype to avoid an error. */ | 8801 /* Override any gcc2 internal prototype to avoid an error. */ |
8797 /* We use char because int might match the return type of a gcc2 | 8802 /* We use char because int might match the return type of a gcc2 |
8798 builtin and then its argument prototype would still apply. */ | 8803 builtin and then its argument prototype would still apply. */ |
8799 char UnGenFace(); | 8804 char UnGenFace(); |
8800 | 8805 |
8801 int main() { | 8806 int main() { |
8802 UnGenFace() | 8807 UnGenFace() |
8803 ; return 0; } | 8808 ; return 0; } |
8804 EOF | 8809 EOF |
8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8810 if { (eval echo configure:8811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8806 rm -rf conftest* | 8811 rm -rf conftest* |
8807 eval "ac_cv_lib_$ac_lib_var=yes" | 8812 eval "ac_cv_lib_$ac_lib_var=yes" |
8808 else | 8813 else |
8809 echo "configure: failed program was:" >&5 | 8814 echo "configure: failed program was:" >&5 |
8810 cat conftest.$ac_ext >&5 | 8815 cat conftest.$ac_ext >&5 |
8839 | 8844 |
8840 | 8845 |
8841 | 8846 |
8842 if test "$with_x11" = "yes"; then | 8847 if test "$with_x11" = "yes"; then |
8843 echo "checking for X11 graphics libraries" 1>&6 | 8848 echo "checking for X11 graphics libraries" 1>&6 |
8844 echo "configure:8845: checking for X11 graphics libraries" >&5 | 8849 echo "configure:8850: checking for X11 graphics libraries" >&5 |
8845 fi | 8850 fi |
8846 | 8851 |
8847 case "$with_widgets" in | 8852 case "$with_widgets" in |
8848 "yes" | "athena") detect_athena=yes ;; | 8853 "yes" | "athena") detect_athena=yes ;; |
8849 *) detect_athena=no ;; | 8854 *) detect_athena=no ;; |
8850 esac | 8855 esac |
8851 | 8856 |
8852 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8857 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8853 echo "checking for the Athena widgets" 1>&6 | 8858 echo "checking for the Athena widgets" 1>&6 |
8854 echo "configure:8855: checking for the Athena widgets" >&5 | 8859 echo "configure:8860: checking for the Athena widgets" >&5 |
8855 | 8860 |
8856 case "$with_athena" in | 8861 case "$with_athena" in |
8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8862 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8858 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8863 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8859 "next") athena_variant=neXtaw athena_3d=yes ;; | 8864 "next") athena_variant=neXtaw athena_3d=yes ;; |
8863 esac | 8868 esac |
8864 | 8869 |
8865 if test "$athena_3d" = "no"; then | 8870 if test "$athena_3d" = "no"; then |
8866 | 8871 |
8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8872 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8873 echo "configure:8874: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8874 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8870 | 8875 |
8871 xe_check_libs=" -l$athena_variant " | 8876 xe_check_libs=" -l$athena_variant " |
8872 cat > conftest.$ac_ext <<EOF | 8877 cat > conftest.$ac_ext <<EOF |
8873 #line 8874 "configure" | 8878 #line 8879 "configure" |
8874 #include "confdefs.h" | 8879 #include "confdefs.h" |
8875 /* Override any gcc2 internal prototype to avoid an error. */ | 8880 /* Override any gcc2 internal prototype to avoid an error. */ |
8876 /* We use char because int might match the return type of a gcc2 | 8881 /* We use char because int might match the return type of a gcc2 |
8877 builtin and then its argument prototype would still apply. */ | 8882 builtin and then its argument prototype would still apply. */ |
8878 char XawScrollbarSetThumb(); | 8883 char XawScrollbarSetThumb(); |
8879 | 8884 |
8880 int main() { | 8885 int main() { |
8881 XawScrollbarSetThumb() | 8886 XawScrollbarSetThumb() |
8882 ; return 0; } | 8887 ; return 0; } |
8883 EOF | 8888 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8885 rm -rf conftest* | 8890 rm -rf conftest* |
8886 eval "ac_cv_lib_$ac_lib_var=yes" | 8891 eval "ac_cv_lib_$ac_lib_var=yes" |
8887 else | 8892 else |
8888 echo "configure: failed program was:" >&5 | 8893 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8894 cat conftest.$ac_ext >&5 |
8895 | 8900 |
8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8897 echo "$ac_t""yes" 1>&6 | 8902 echo "$ac_t""yes" 1>&6 |
8898 | 8903 |
8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8904 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5 | 8905 echo "configure:8906: checking for threeDClassRec in -l$athena_variant" >&5 |
8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8906 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8902 | 8907 |
8903 xe_check_libs=" -l$athena_variant " | 8908 xe_check_libs=" -l$athena_variant " |
8904 cat > conftest.$ac_ext <<EOF | 8909 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8910 #line 8911 "configure" |
8906 #include "confdefs.h" | 8911 #include "confdefs.h" |
8907 /* Override any gcc2 internal prototype to avoid an error. */ | 8912 /* Override any gcc2 internal prototype to avoid an error. */ |
8908 /* We use char because int might match the return type of a gcc2 | 8913 /* We use char because int might match the return type of a gcc2 |
8909 builtin and then its argument prototype would still apply. */ | 8914 builtin and then its argument prototype would still apply. */ |
8910 char threeDClassRec(); | 8915 char threeDClassRec(); |
8911 | 8916 |
8912 int main() { | 8917 int main() { |
8913 threeDClassRec() | 8918 threeDClassRec() |
8914 ; return 0; } | 8919 ; return 0; } |
8915 EOF | 8920 EOF |
8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8921 if { (eval echo configure:8922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8917 rm -rf conftest* | 8922 rm -rf conftest* |
8918 eval "ac_cv_lib_$ac_lib_var=yes" | 8923 eval "ac_cv_lib_$ac_lib_var=yes" |
8919 else | 8924 else |
8920 echo "configure: failed program was:" >&5 | 8925 echo "configure: failed program was:" >&5 |
8921 cat conftest.$ac_ext >&5 | 8926 cat conftest.$ac_ext >&5 |
8942 | 8947 |
8943 | 8948 |
8944 else | 8949 else |
8945 | 8950 |
8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8951 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5 | 8952 echo "configure:8953: checking for threeDClassRec in -l$athena_variant" >&5 |
8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8953 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8949 | 8954 |
8950 xe_check_libs=" -l$athena_variant " | 8955 xe_check_libs=" -l$athena_variant " |
8951 cat > conftest.$ac_ext <<EOF | 8956 cat > conftest.$ac_ext <<EOF |
8952 #line 8953 "configure" | 8957 #line 8958 "configure" |
8953 #include "confdefs.h" | 8958 #include "confdefs.h" |
8954 /* Override any gcc2 internal prototype to avoid an error. */ | 8959 /* Override any gcc2 internal prototype to avoid an error. */ |
8955 /* We use char because int might match the return type of a gcc2 | 8960 /* We use char because int might match the return type of a gcc2 |
8956 builtin and then its argument prototype would still apply. */ | 8961 builtin and then its argument prototype would still apply. */ |
8957 char threeDClassRec(); | 8962 char threeDClassRec(); |
8958 | 8963 |
8959 int main() { | 8964 int main() { |
8960 threeDClassRec() | 8965 threeDClassRec() |
8961 ; return 0; } | 8966 ; return 0; } |
8962 EOF | 8967 EOF |
8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8968 if { (eval echo configure:8969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8964 rm -rf conftest* | 8969 rm -rf conftest* |
8965 eval "ac_cv_lib_$ac_lib_var=yes" | 8970 eval "ac_cv_lib_$ac_lib_var=yes" |
8966 else | 8971 else |
8967 echo "configure: failed program was:" >&5 | 8972 echo "configure: failed program was:" >&5 |
8968 cat conftest.$ac_ext >&5 | 8973 cat conftest.$ac_ext >&5 |
8976 echo "$ac_t""yes" 1>&6 | 8981 echo "$ac_t""yes" 1>&6 |
8977 athena_lib=$athena_variant | 8982 athena_lib=$athena_variant |
8978 else | 8983 else |
8979 echo "$ac_t""no" 1>&6 | 8984 echo "$ac_t""no" 1>&6 |
8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8985 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5 | 8986 echo "configure:8987: checking for threeDClassRec in -lXaw" >&5 |
8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8987 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8983 | 8988 |
8984 xe_check_libs=" -lXaw " | 8989 xe_check_libs=" -lXaw " |
8985 cat > conftest.$ac_ext <<EOF | 8990 cat > conftest.$ac_ext <<EOF |
8986 #line 8987 "configure" | 8991 #line 8992 "configure" |
8987 #include "confdefs.h" | 8992 #include "confdefs.h" |
8988 /* Override any gcc2 internal prototype to avoid an error. */ | 8993 /* Override any gcc2 internal prototype to avoid an error. */ |
8989 /* We use char because int might match the return type of a gcc2 | 8994 /* We use char because int might match the return type of a gcc2 |
8990 builtin and then its argument prototype would still apply. */ | 8995 builtin and then its argument prototype would still apply. */ |
8991 char threeDClassRec(); | 8996 char threeDClassRec(); |
8992 | 8997 |
8993 int main() { | 8998 int main() { |
8994 threeDClassRec() | 8999 threeDClassRec() |
8995 ; return 0; } | 9000 ; return 0; } |
8996 EOF | 9001 EOF |
8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8998 rm -rf conftest* | 9003 rm -rf conftest* |
8999 eval "ac_cv_lib_$ac_lib_var=yes" | 9004 eval "ac_cv_lib_$ac_lib_var=yes" |
9000 else | 9005 else |
9001 echo "configure: failed program was:" >&5 | 9006 echo "configure: failed program was:" >&5 |
9002 cat conftest.$ac_ext >&5 | 9007 cat conftest.$ac_ext >&5 |
9023 fi | 9028 fi |
9024 | 9029 |
9025 if test "$athena_3d" = "no"; then | 9030 if test "$athena_3d" = "no"; then |
9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9031 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9032 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5 | 9033 echo "configure:9034: checking for X11/Xaw/ThreeD.h" >&5 |
9029 | 9034 |
9030 cat > conftest.$ac_ext <<EOF | 9035 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 9036 #line 9037 "configure" |
9032 #include "confdefs.h" | 9037 #include "confdefs.h" |
9033 #include <X11/Xaw/ThreeD.h> | 9038 #include <X11/Xaw/ThreeD.h> |
9034 EOF | 9039 EOF |
9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9038 if test -z "$ac_err"; then | 9043 if test -z "$ac_err"; then |
9039 rm -rf conftest* | 9044 rm -rf conftest* |
9040 eval "ac_cv_header_$ac_safe=yes" | 9045 eval "ac_cv_header_$ac_safe=yes" |
9041 else | 9046 else |
9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9056 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9052 else | 9057 else |
9053 echo "$ac_t""no" 1>&6 | 9058 echo "$ac_t""no" 1>&6 |
9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9059 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9060 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5 | 9061 echo "configure:9062: checking for X11/Xaw/XawInit.h" >&5 |
9057 | 9062 |
9058 cat > conftest.$ac_ext <<EOF | 9063 cat > conftest.$ac_ext <<EOF |
9059 #line 9060 "configure" | 9064 #line 9065 "configure" |
9060 #include "confdefs.h" | 9065 #include "confdefs.h" |
9061 #include <X11/Xaw/XawInit.h> | 9066 #include <X11/Xaw/XawInit.h> |
9062 EOF | 9067 EOF |
9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9069 { (eval echo configure:9070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9066 if test -z "$ac_err"; then | 9071 if test -z "$ac_err"; then |
9067 rm -rf conftest* | 9072 rm -rf conftest* |
9068 eval "ac_cv_header_$ac_safe=yes" | 9073 eval "ac_cv_header_$ac_safe=yes" |
9069 else | 9074 else |
9085 fi | 9090 fi |
9086 | 9091 |
9087 else | 9092 else |
9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9093 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9094 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5 | 9095 echo "configure:9096: checking for X11/$athena_variant/XawInit.h" >&5 |
9091 | 9096 |
9092 cat > conftest.$ac_ext <<EOF | 9097 cat > conftest.$ac_ext <<EOF |
9093 #line 9094 "configure" | 9098 #line 9099 "configure" |
9094 #include "confdefs.h" | 9099 #include "confdefs.h" |
9095 #include <X11/$athena_variant/XawInit.h> | 9100 #include <X11/$athena_variant/XawInit.h> |
9096 EOF | 9101 EOF |
9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9103 { (eval echo configure:9104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9100 if test -z "$ac_err"; then | 9105 if test -z "$ac_err"; then |
9101 rm -rf conftest* | 9106 rm -rf conftest* |
9102 eval "ac_cv_header_$ac_safe=yes" | 9107 eval "ac_cv_header_$ac_safe=yes" |
9103 else | 9108 else |
9110 rm -f conftest* | 9115 rm -f conftest* |
9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9112 echo "$ac_t""yes" 1>&6 | 9117 echo "$ac_t""yes" 1>&6 |
9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9118 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9119 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5 | 9120 echo "configure:9121: checking for X11/$athena_variant/ThreeD.h" >&5 |
9116 | 9121 |
9117 cat > conftest.$ac_ext <<EOF | 9122 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9123 #line 9124 "configure" |
9119 #include "confdefs.h" | 9124 #include "confdefs.h" |
9120 #include <X11/$athena_variant/ThreeD.h> | 9125 #include <X11/$athena_variant/ThreeD.h> |
9121 EOF | 9126 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9128 { (eval echo configure:9129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9125 if test -z "$ac_err"; then | 9130 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9131 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9132 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9133 else |
9146 | 9151 |
9147 | 9152 |
9148 if test -z "$athena_h_path"; then | 9153 if test -z "$athena_h_path"; then |
9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9154 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9155 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5 | 9156 echo "configure:9157: checking for $athena_variant/XawInit.h" >&5 |
9152 | 9157 |
9153 cat > conftest.$ac_ext <<EOF | 9158 cat > conftest.$ac_ext <<EOF |
9154 #line 9155 "configure" | 9159 #line 9160 "configure" |
9155 #include "confdefs.h" | 9160 #include "confdefs.h" |
9156 #include <$athena_variant/XawInit.h> | 9161 #include <$athena_variant/XawInit.h> |
9157 EOF | 9162 EOF |
9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9164 { (eval echo configure:9165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9161 if test -z "$ac_err"; then | 9166 if test -z "$ac_err"; then |
9162 rm -rf conftest* | 9167 rm -rf conftest* |
9163 eval "ac_cv_header_$ac_safe=yes" | 9168 eval "ac_cv_header_$ac_safe=yes" |
9164 else | 9169 else |
9171 rm -f conftest* | 9176 rm -f conftest* |
9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9177 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9173 echo "$ac_t""yes" 1>&6 | 9178 echo "$ac_t""yes" 1>&6 |
9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9179 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9180 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5 | 9181 echo "configure:9182: checking for $athena_variant/ThreeD.h" >&5 |
9177 | 9182 |
9178 cat > conftest.$ac_ext <<EOF | 9183 cat > conftest.$ac_ext <<EOF |
9179 #line 9180 "configure" | 9184 #line 9185 "configure" |
9180 #include "confdefs.h" | 9185 #include "confdefs.h" |
9181 #include <$athena_variant/ThreeD.h> | 9186 #include <$athena_variant/ThreeD.h> |
9182 EOF | 9187 EOF |
9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9189 { (eval echo configure:9190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9186 if test -z "$ac_err"; then | 9191 if test -z "$ac_err"; then |
9187 rm -rf conftest* | 9192 rm -rf conftest* |
9188 eval "ac_cv_header_$ac_safe=yes" | 9193 eval "ac_cv_header_$ac_safe=yes" |
9189 else | 9194 else |
9208 fi | 9213 fi |
9209 | 9214 |
9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9215 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9216 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9217 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5 | 9218 echo "configure:9219: checking for X11/Xaw3d/XawInit.h" >&5 |
9214 | 9219 |
9215 cat > conftest.$ac_ext <<EOF | 9220 cat > conftest.$ac_ext <<EOF |
9216 #line 9217 "configure" | 9221 #line 9222 "configure" |
9217 #include "confdefs.h" | 9222 #include "confdefs.h" |
9218 #include <X11/Xaw3d/XawInit.h> | 9223 #include <X11/Xaw3d/XawInit.h> |
9219 EOF | 9224 EOF |
9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9226 { (eval echo configure:9227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9223 if test -z "$ac_err"; then | 9228 if test -z "$ac_err"; then |
9224 rm -rf conftest* | 9229 rm -rf conftest* |
9225 eval "ac_cv_header_$ac_safe=yes" | 9230 eval "ac_cv_header_$ac_safe=yes" |
9226 else | 9231 else |
9233 rm -f conftest* | 9238 rm -f conftest* |
9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9235 echo "$ac_t""yes" 1>&6 | 9240 echo "$ac_t""yes" 1>&6 |
9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9241 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9242 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5 | 9243 echo "configure:9244: checking for X11/Xaw3d/ThreeD.h" >&5 |
9239 | 9244 |
9240 cat > conftest.$ac_ext <<EOF | 9245 cat > conftest.$ac_ext <<EOF |
9241 #line 9242 "configure" | 9246 #line 9247 "configure" |
9242 #include "confdefs.h" | 9247 #include "confdefs.h" |
9243 #include <X11/Xaw3d/ThreeD.h> | 9248 #include <X11/Xaw3d/ThreeD.h> |
9244 EOF | 9249 EOF |
9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9251 { (eval echo configure:9252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9248 if test -z "$ac_err"; then | 9253 if test -z "$ac_err"; then |
9249 rm -rf conftest* | 9254 rm -rf conftest* |
9250 eval "ac_cv_header_$ac_safe=yes" | 9255 eval "ac_cv_header_$ac_safe=yes" |
9251 else | 9256 else |
9273 fi | 9278 fi |
9274 | 9279 |
9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9280 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9281 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9282 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5 | 9283 echo "configure:9284: checking for Xaw3d/XawInit.h" >&5 |
9279 | 9284 |
9280 cat > conftest.$ac_ext <<EOF | 9285 cat > conftest.$ac_ext <<EOF |
9281 #line 9282 "configure" | 9286 #line 9287 "configure" |
9282 #include "confdefs.h" | 9287 #include "confdefs.h" |
9283 #include <Xaw3d/XawInit.h> | 9288 #include <Xaw3d/XawInit.h> |
9284 EOF | 9289 EOF |
9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9291 { (eval echo configure:9292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9288 if test -z "$ac_err"; then | 9293 if test -z "$ac_err"; then |
9289 rm -rf conftest* | 9294 rm -rf conftest* |
9290 eval "ac_cv_header_$ac_safe=yes" | 9295 eval "ac_cv_header_$ac_safe=yes" |
9291 else | 9296 else |
9298 rm -f conftest* | 9303 rm -f conftest* |
9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9300 echo "$ac_t""yes" 1>&6 | 9305 echo "$ac_t""yes" 1>&6 |
9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9306 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9307 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5 | 9308 echo "configure:9309: checking for Xaw3d/ThreeD.h" >&5 |
9304 | 9309 |
9305 cat > conftest.$ac_ext <<EOF | 9310 cat > conftest.$ac_ext <<EOF |
9306 #line 9307 "configure" | 9311 #line 9312 "configure" |
9307 #include "confdefs.h" | 9312 #include "confdefs.h" |
9308 #include <Xaw3d/ThreeD.h> | 9313 #include <Xaw3d/ThreeD.h> |
9309 EOF | 9314 EOF |
9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9316 { (eval echo configure:9317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9313 if test -z "$ac_err"; then | 9318 if test -z "$ac_err"; then |
9314 rm -rf conftest* | 9319 rm -rf conftest* |
9315 eval "ac_cv_header_$ac_safe=yes" | 9320 eval "ac_cv_header_$ac_safe=yes" |
9316 else | 9321 else |
9338 fi | 9343 fi |
9339 | 9344 |
9340 if test -z "$athena_h_path"; then | 9345 if test -z "$athena_h_path"; then |
9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9346 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9347 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5 | 9348 echo "configure:9349: checking for X11/Xaw/ThreeD.h" >&5 |
9344 | 9349 |
9345 cat > conftest.$ac_ext <<EOF | 9350 cat > conftest.$ac_ext <<EOF |
9346 #line 9347 "configure" | 9351 #line 9352 "configure" |
9347 #include "confdefs.h" | 9352 #include "confdefs.h" |
9348 #include <X11/Xaw/ThreeD.h> | 9353 #include <X11/Xaw/ThreeD.h> |
9349 EOF | 9354 EOF |
9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9356 { (eval echo configure:9357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9353 if test -z "$ac_err"; then | 9358 if test -z "$ac_err"; then |
9354 rm -rf conftest* | 9359 rm -rf conftest* |
9355 eval "ac_cv_header_$ac_safe=yes" | 9360 eval "ac_cv_header_$ac_safe=yes" |
9356 else | 9361 else |
9385 have_xaw=no | 9390 have_xaw=no |
9386 fi | 9391 fi |
9387 if test "$with_x11" = "yes"; then | 9392 if test "$with_x11" = "yes"; then |
9388 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9393 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9389 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9394 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9390 echo "configure:9391: checking for Xm/Xm.h" >&5 | 9395 echo "configure:9396: checking for Xm/Xm.h" >&5 |
9391 | 9396 |
9392 cat > conftest.$ac_ext <<EOF | 9397 cat > conftest.$ac_ext <<EOF |
9393 #line 9394 "configure" | 9398 #line 9399 "configure" |
9394 #include "confdefs.h" | 9399 #include "confdefs.h" |
9395 #include <Xm/Xm.h> | 9400 #include <Xm/Xm.h> |
9396 EOF | 9401 EOF |
9397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9398 { (eval echo configure:9399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9403 { (eval echo configure:9404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9400 if test -z "$ac_err"; then | 9405 if test -z "$ac_err"; then |
9401 rm -rf conftest* | 9406 rm -rf conftest* |
9402 eval "ac_cv_header_$ac_safe=yes" | 9407 eval "ac_cv_header_$ac_safe=yes" |
9403 else | 9408 else |
9410 rm -f conftest* | 9415 rm -f conftest* |
9411 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9412 echo "$ac_t""yes" 1>&6 | 9417 echo "$ac_t""yes" 1>&6 |
9413 | 9418 |
9414 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9419 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9415 echo "configure:9416: checking for XmStringFree in -lXm" >&5 | 9420 echo "configure:9421: checking for XmStringFree in -lXm" >&5 |
9416 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9421 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9417 | 9422 |
9418 xe_check_libs=" -lXm " | 9423 xe_check_libs=" -lXm " |
9419 cat > conftest.$ac_ext <<EOF | 9424 cat > conftest.$ac_ext <<EOF |
9420 #line 9421 "configure" | 9425 #line 9426 "configure" |
9421 #include "confdefs.h" | 9426 #include "confdefs.h" |
9422 /* Override any gcc2 internal prototype to avoid an error. */ | 9427 /* Override any gcc2 internal prototype to avoid an error. */ |
9423 /* We use char because int might match the return type of a gcc2 | 9428 /* We use char because int might match the return type of a gcc2 |
9424 builtin and then its argument prototype would still apply. */ | 9429 builtin and then its argument prototype would still apply. */ |
9425 char XmStringFree(); | 9430 char XmStringFree(); |
9426 | 9431 |
9427 int main() { | 9432 int main() { |
9428 XmStringFree() | 9433 XmStringFree() |
9429 ; return 0; } | 9434 ; return 0; } |
9430 EOF | 9435 EOF |
9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9436 if { (eval echo configure:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9432 rm -rf conftest* | 9437 rm -rf conftest* |
9433 eval "ac_cv_lib_$ac_lib_var=yes" | 9438 eval "ac_cv_lib_$ac_lib_var=yes" |
9434 else | 9439 else |
9435 echo "configure: failed program was:" >&5 | 9440 echo "configure: failed program was:" >&5 |
9436 cat conftest.$ac_ext >&5 | 9441 cat conftest.$ac_ext >&5 |
9455 fi | 9460 fi |
9456 | 9461 |
9457 | 9462 |
9458 if test "$have_motif" = "yes"; then | 9463 if test "$have_motif" = "yes"; then |
9459 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9464 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9460 echo "configure:9461: checking for Lesstif" >&5 | 9465 echo "configure:9466: checking for Lesstif" >&5 |
9461 cat > conftest.$ac_ext <<EOF | 9466 cat > conftest.$ac_ext <<EOF |
9462 #line 9463 "configure" | 9467 #line 9468 "configure" |
9463 #include "confdefs.h" | 9468 #include "confdefs.h" |
9464 #include <Xm/Xm.h> | 9469 #include <Xm/Xm.h> |
9465 #ifdef LESSTIF_VERSION | 9470 #ifdef LESSTIF_VERSION |
9466 yes | 9471 yes |
9467 #endif | 9472 #endif |
9830 | 9835 |
9831 fi | 9836 fi |
9832 | 9837 |
9833 if test "$with_mule" = "yes" ; then | 9838 if test "$with_mule" = "yes" ; then |
9834 echo "checking for Mule-related features" 1>&6 | 9839 echo "checking for Mule-related features" 1>&6 |
9835 echo "configure:9836: checking for Mule-related features" >&5 | 9840 echo "configure:9841: checking for Mule-related features" >&5 |
9836 { test "$extra_verbose" = "yes" && cat << \EOF | 9841 { test "$extra_verbose" = "yes" && cat << \EOF |
9837 Defining MULE | 9842 Defining MULE |
9838 EOF | 9843 EOF |
9839 cat >> confdefs.h <<\EOF | 9844 cat >> confdefs.h <<\EOF |
9840 #define MULE 1 | 9845 #define MULE 1 |
9844 | 9849 |
9845 for ac_hdr in libintl.h | 9850 for ac_hdr in libintl.h |
9846 do | 9851 do |
9847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9849 echo "configure:9850: checking for $ac_hdr" >&5 | 9854 echo "configure:9855: checking for $ac_hdr" >&5 |
9850 | 9855 |
9851 cat > conftest.$ac_ext <<EOF | 9856 cat > conftest.$ac_ext <<EOF |
9852 #line 9853 "configure" | 9857 #line 9858 "configure" |
9853 #include "confdefs.h" | 9858 #include "confdefs.h" |
9854 #include <$ac_hdr> | 9859 #include <$ac_hdr> |
9855 EOF | 9860 EOF |
9856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9857 { (eval echo configure:9858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9862 { (eval echo configure:9863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9859 if test -z "$ac_err"; then | 9864 if test -z "$ac_err"; then |
9860 rm -rf conftest* | 9865 rm -rf conftest* |
9861 eval "ac_cv_header_$ac_safe=yes" | 9866 eval "ac_cv_header_$ac_safe=yes" |
9862 else | 9867 else |
9883 fi | 9888 fi |
9884 done | 9889 done |
9885 | 9890 |
9886 | 9891 |
9887 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9892 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9888 echo "configure:9889: checking for strerror in -lintl" >&5 | 9893 echo "configure:9894: checking for strerror in -lintl" >&5 |
9889 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9894 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9890 | 9895 |
9891 xe_check_libs=" -lintl " | 9896 xe_check_libs=" -lintl " |
9892 cat > conftest.$ac_ext <<EOF | 9897 cat > conftest.$ac_ext <<EOF |
9893 #line 9894 "configure" | 9898 #line 9899 "configure" |
9894 #include "confdefs.h" | 9899 #include "confdefs.h" |
9895 /* Override any gcc2 internal prototype to avoid an error. */ | 9900 /* Override any gcc2 internal prototype to avoid an error. */ |
9896 /* We use char because int might match the return type of a gcc2 | 9901 /* We use char because int might match the return type of a gcc2 |
9897 builtin and then its argument prototype would still apply. */ | 9902 builtin and then its argument prototype would still apply. */ |
9898 char strerror(); | 9903 char strerror(); |
9899 | 9904 |
9900 int main() { | 9905 int main() { |
9901 strerror() | 9906 strerror() |
9902 ; return 0; } | 9907 ; return 0; } |
9903 EOF | 9908 EOF |
9904 if { (eval echo configure:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9905 rm -rf conftest* | 9910 rm -rf conftest* |
9906 eval "ac_cv_lib_$ac_lib_var=yes" | 9911 eval "ac_cv_lib_$ac_lib_var=yes" |
9907 else | 9912 else |
9908 echo "configure: failed program was:" >&5 | 9913 echo "configure: failed program was:" >&5 |
9909 cat conftest.$ac_ext >&5 | 9914 cat conftest.$ac_ext >&5 |
9932 fi | 9937 fi |
9933 | 9938 |
9934 | 9939 |
9935 | 9940 |
9936 echo "checking for Mule input methods" 1>&6 | 9941 echo "checking for Mule input methods" 1>&6 |
9937 echo "configure:9938: checking for Mule input methods" >&5 | 9942 echo "configure:9943: checking for Mule input methods" >&5 |
9938 case "$with_xim" in "" | "yes" ) | 9943 case "$with_xim" in "" | "yes" ) |
9939 echo "checking for XIM" 1>&6 | 9944 echo "checking for XIM" 1>&6 |
9940 echo "configure:9941: checking for XIM" >&5 | 9945 echo "configure:9946: checking for XIM" >&5 |
9941 | 9946 |
9942 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9947 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9943 echo "configure:9944: checking for XOpenIM in -lX11" >&5 | 9948 echo "configure:9949: checking for XOpenIM in -lX11" >&5 |
9944 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9949 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9945 | 9950 |
9946 xe_check_libs=" -lX11 " | 9951 xe_check_libs=" -lX11 " |
9947 cat > conftest.$ac_ext <<EOF | 9952 cat > conftest.$ac_ext <<EOF |
9948 #line 9949 "configure" | 9953 #line 9954 "configure" |
9949 #include "confdefs.h" | 9954 #include "confdefs.h" |
9950 /* Override any gcc2 internal prototype to avoid an error. */ | 9955 /* Override any gcc2 internal prototype to avoid an error. */ |
9951 /* We use char because int might match the return type of a gcc2 | 9956 /* We use char because int might match the return type of a gcc2 |
9952 builtin and then its argument prototype would still apply. */ | 9957 builtin and then its argument prototype would still apply. */ |
9953 char XOpenIM(); | 9958 char XOpenIM(); |
9954 | 9959 |
9955 int main() { | 9960 int main() { |
9956 XOpenIM() | 9961 XOpenIM() |
9957 ; return 0; } | 9962 ; return 0; } |
9958 EOF | 9963 EOF |
9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9964 if { (eval echo configure:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9960 rm -rf conftest* | 9965 rm -rf conftest* |
9961 eval "ac_cv_lib_$ac_lib_var=yes" | 9966 eval "ac_cv_lib_$ac_lib_var=yes" |
9962 else | 9967 else |
9963 echo "configure: failed program was:" >&5 | 9968 echo "configure: failed program was:" >&5 |
9964 cat conftest.$ac_ext >&5 | 9969 cat conftest.$ac_ext >&5 |
9978 | 9983 |
9979 | 9984 |
9980 if test "$have_motif $have_lesstif" = "yes no"; then | 9985 if test "$have_motif $have_lesstif" = "yes no"; then |
9981 | 9986 |
9982 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9987 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9983 echo "configure:9984: checking for XmImMbLookupString in -lXm" >&5 | 9988 echo "configure:9989: checking for XmImMbLookupString in -lXm" >&5 |
9984 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9989 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9985 | 9990 |
9986 xe_check_libs=" -lXm " | 9991 xe_check_libs=" -lXm " |
9987 cat > conftest.$ac_ext <<EOF | 9992 cat > conftest.$ac_ext <<EOF |
9988 #line 9989 "configure" | 9993 #line 9994 "configure" |
9989 #include "confdefs.h" | 9994 #include "confdefs.h" |
9990 /* Override any gcc2 internal prototype to avoid an error. */ | 9995 /* Override any gcc2 internal prototype to avoid an error. */ |
9991 /* We use char because int might match the return type of a gcc2 | 9996 /* We use char because int might match the return type of a gcc2 |
9992 builtin and then its argument prototype would still apply. */ | 9997 builtin and then its argument prototype would still apply. */ |
9993 char XmImMbLookupString(); | 9998 char XmImMbLookupString(); |
9994 | 9999 |
9995 int main() { | 10000 int main() { |
9996 XmImMbLookupString() | 10001 XmImMbLookupString() |
9997 ; return 0; } | 10002 ; return 0; } |
9998 EOF | 10003 EOF |
9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10004 if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10000 rm -rf conftest* | 10005 rm -rf conftest* |
10001 eval "ac_cv_lib_$ac_lib_var=yes" | 10006 eval "ac_cv_lib_$ac_lib_var=yes" |
10002 else | 10007 else |
10003 echo "configure: failed program was:" >&5 | 10008 echo "configure: failed program was:" >&5 |
10004 cat conftest.$ac_ext >&5 | 10009 cat conftest.$ac_ext >&5 |
10059 fi | 10064 fi |
10060 fi | 10065 fi |
10061 | 10066 |
10062 if test "$with_xfs" = "yes" ; then | 10067 if test "$with_xfs" = "yes" ; then |
10063 echo "checking for XFontSet" 1>&6 | 10068 echo "checking for XFontSet" 1>&6 |
10064 echo "configure:10065: checking for XFontSet" >&5 | 10069 echo "configure:10070: checking for XFontSet" >&5 |
10065 | 10070 |
10066 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10071 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10067 echo "configure:10068: checking for XmbDrawString in -lX11" >&5 | 10072 echo "configure:10073: checking for XmbDrawString in -lX11" >&5 |
10068 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10073 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10069 | 10074 |
10070 xe_check_libs=" -lX11 " | 10075 xe_check_libs=" -lX11 " |
10071 cat > conftest.$ac_ext <<EOF | 10076 cat > conftest.$ac_ext <<EOF |
10072 #line 10073 "configure" | 10077 #line 10078 "configure" |
10073 #include "confdefs.h" | 10078 #include "confdefs.h" |
10074 /* Override any gcc2 internal prototype to avoid an error. */ | 10079 /* Override any gcc2 internal prototype to avoid an error. */ |
10075 /* We use char because int might match the return type of a gcc2 | 10080 /* We use char because int might match the return type of a gcc2 |
10076 builtin and then its argument prototype would still apply. */ | 10081 builtin and then its argument prototype would still apply. */ |
10077 char XmbDrawString(); | 10082 char XmbDrawString(); |
10078 | 10083 |
10079 int main() { | 10084 int main() { |
10080 XmbDrawString() | 10085 XmbDrawString() |
10081 ; return 0; } | 10086 ; return 0; } |
10082 EOF | 10087 EOF |
10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10088 if { (eval echo configure:10089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10084 rm -rf conftest* | 10089 rm -rf conftest* |
10085 eval "ac_cv_lib_$ac_lib_var=yes" | 10090 eval "ac_cv_lib_$ac_lib_var=yes" |
10086 else | 10091 else |
10087 echo "configure: failed program was:" >&5 | 10092 echo "configure: failed program was:" >&5 |
10088 cat conftest.$ac_ext >&5 | 10093 cat conftest.$ac_ext >&5 |
10118 fi | 10123 fi |
10119 fi | 10124 fi |
10120 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10125 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10121 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10126 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10122 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10127 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10123 echo "configure:10124: checking for wnn/jllib.h" >&5 | 10128 echo "configure:10129: checking for wnn/jllib.h" >&5 |
10124 | 10129 |
10125 cat > conftest.$ac_ext <<EOF | 10130 cat > conftest.$ac_ext <<EOF |
10126 #line 10127 "configure" | 10131 #line 10132 "configure" |
10127 #include "confdefs.h" | 10132 #include "confdefs.h" |
10128 #include <wnn/jllib.h> | 10133 #include <wnn/jllib.h> |
10129 EOF | 10134 EOF |
10130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10131 { (eval echo configure:10132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10136 { (eval echo configure:10137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10133 if test -z "$ac_err"; then | 10138 if test -z "$ac_err"; then |
10134 rm -rf conftest* | 10139 rm -rf conftest* |
10135 eval "ac_cv_header_$ac_safe=yes" | 10140 eval "ac_cv_header_$ac_safe=yes" |
10136 else | 10141 else |
10149 with_wnn=no | 10154 with_wnn=no |
10150 fi | 10155 fi |
10151 } | 10156 } |
10152 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10157 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10153 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10158 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for wnn/commonhd.h" >&5 | 10159 echo "configure:10160: checking for wnn/commonhd.h" >&5 |
10155 | 10160 |
10156 cat > conftest.$ac_ext <<EOF | 10161 cat > conftest.$ac_ext <<EOF |
10157 #line 10158 "configure" | 10162 #line 10163 "configure" |
10158 #include "confdefs.h" | 10163 #include "confdefs.h" |
10159 #include <wnn/commonhd.h> | 10164 #include <wnn/commonhd.h> |
10160 EOF | 10165 EOF |
10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10167 { (eval echo configure:10168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10164 if test -z "$ac_err"; then | 10169 if test -z "$ac_err"; then |
10165 rm -rf conftest* | 10170 rm -rf conftest* |
10166 eval "ac_cv_header_$ac_safe=yes" | 10171 eval "ac_cv_header_$ac_safe=yes" |
10167 else | 10172 else |
10182 } | 10187 } |
10183 if test "$with_wnn" != "no"; then | 10188 if test "$with_wnn" != "no"; then |
10184 for ac_func in crypt | 10189 for ac_func in crypt |
10185 do | 10190 do |
10186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10187 echo "configure:10188: checking for $ac_func" >&5 | 10192 echo "configure:10193: checking for $ac_func" >&5 |
10188 | 10193 |
10189 cat > conftest.$ac_ext <<EOF | 10194 cat > conftest.$ac_ext <<EOF |
10190 #line 10191 "configure" | 10195 #line 10196 "configure" |
10191 #include "confdefs.h" | 10196 #include "confdefs.h" |
10192 /* System header to define __stub macros and hopefully few prototypes, | 10197 /* System header to define __stub macros and hopefully few prototypes, |
10193 which can conflict with char $ac_func(); below. */ | 10198 which can conflict with char $ac_func(); below. */ |
10194 #include <assert.h> | 10199 #include <assert.h> |
10195 /* Override any gcc2 internal prototype to avoid an error. */ | 10200 /* Override any gcc2 internal prototype to avoid an error. */ |
10208 $ac_func(); | 10213 $ac_func(); |
10209 #endif | 10214 #endif |
10210 | 10215 |
10211 ; return 0; } | 10216 ; return 0; } |
10212 EOF | 10217 EOF |
10213 if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10214 rm -rf conftest* | 10219 rm -rf conftest* |
10215 eval "ac_cv_func_$ac_func=yes" | 10220 eval "ac_cv_func_$ac_func=yes" |
10216 else | 10221 else |
10217 echo "configure: failed program was:" >&5 | 10222 echo "configure: failed program was:" >&5 |
10218 cat conftest.$ac_ext >&5 | 10223 cat conftest.$ac_ext >&5 |
10237 fi | 10242 fi |
10238 done | 10243 done |
10239 | 10244 |
10240 test "$ac_cv_func_crypt" != "yes" && { | 10245 test "$ac_cv_func_crypt" != "yes" && { |
10241 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10246 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10242 echo "configure:10243: checking for crypt in -lcrypt" >&5 | 10247 echo "configure:10248: checking for crypt in -lcrypt" >&5 |
10243 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10248 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10244 | 10249 |
10245 xe_check_libs=" -lcrypt " | 10250 xe_check_libs=" -lcrypt " |
10246 cat > conftest.$ac_ext <<EOF | 10251 cat > conftest.$ac_ext <<EOF |
10247 #line 10248 "configure" | 10252 #line 10253 "configure" |
10248 #include "confdefs.h" | 10253 #include "confdefs.h" |
10249 /* Override any gcc2 internal prototype to avoid an error. */ | 10254 /* Override any gcc2 internal prototype to avoid an error. */ |
10250 /* We use char because int might match the return type of a gcc2 | 10255 /* We use char because int might match the return type of a gcc2 |
10251 builtin and then its argument prototype would still apply. */ | 10256 builtin and then its argument prototype would still apply. */ |
10252 char crypt(); | 10257 char crypt(); |
10253 | 10258 |
10254 int main() { | 10259 int main() { |
10255 crypt() | 10260 crypt() |
10256 ; return 0; } | 10261 ; return 0; } |
10257 EOF | 10262 EOF |
10258 if { (eval echo configure:10259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10263 if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10259 rm -rf conftest* | 10264 rm -rf conftest* |
10260 eval "ac_cv_lib_$ac_lib_var=yes" | 10265 eval "ac_cv_lib_$ac_lib_var=yes" |
10261 else | 10266 else |
10262 echo "configure: failed program was:" >&5 | 10267 echo "configure: failed program was:" >&5 |
10263 cat conftest.$ac_ext >&5 | 10268 cat conftest.$ac_ext >&5 |
10288 } | 10293 } |
10289 fi | 10294 fi |
10290 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10295 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10291 | 10296 |
10292 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10297 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10293 echo "configure:10294: checking for jl_dic_list_e in -lwnn" >&5 | 10298 echo "configure:10299: checking for jl_dic_list_e in -lwnn" >&5 |
10294 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10299 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10295 | 10300 |
10296 xe_check_libs=" -lwnn " | 10301 xe_check_libs=" -lwnn " |
10297 cat > conftest.$ac_ext <<EOF | 10302 cat > conftest.$ac_ext <<EOF |
10298 #line 10299 "configure" | 10303 #line 10304 "configure" |
10299 #include "confdefs.h" | 10304 #include "confdefs.h" |
10300 /* Override any gcc2 internal prototype to avoid an error. */ | 10305 /* Override any gcc2 internal prototype to avoid an error. */ |
10301 /* We use char because int might match the return type of a gcc2 | 10306 /* We use char because int might match the return type of a gcc2 |
10302 builtin and then its argument prototype would still apply. */ | 10307 builtin and then its argument prototype would still apply. */ |
10303 char jl_dic_list_e(); | 10308 char jl_dic_list_e(); |
10304 | 10309 |
10305 int main() { | 10310 int main() { |
10306 jl_dic_list_e() | 10311 jl_dic_list_e() |
10307 ; return 0; } | 10312 ; return 0; } |
10308 EOF | 10313 EOF |
10309 if { (eval echo configure:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10314 if { (eval echo configure:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10310 rm -rf conftest* | 10315 rm -rf conftest* |
10311 eval "ac_cv_lib_$ac_lib_var=yes" | 10316 eval "ac_cv_lib_$ac_lib_var=yes" |
10312 else | 10317 else |
10313 echo "configure: failed program was:" >&5 | 10318 echo "configure: failed program was:" >&5 |
10314 cat conftest.$ac_ext >&5 | 10319 cat conftest.$ac_ext >&5 |
10322 echo "$ac_t""yes" 1>&6 | 10327 echo "$ac_t""yes" 1>&6 |
10323 libwnn=wnn | 10328 libwnn=wnn |
10324 else | 10329 else |
10325 echo "$ac_t""no" 1>&6 | 10330 echo "$ac_t""no" 1>&6 |
10326 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10331 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10327 echo "configure:10328: checking for jl_dic_list_e in -lwnn4" >&5 | 10332 echo "configure:10333: checking for jl_dic_list_e in -lwnn4" >&5 |
10328 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10333 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10329 | 10334 |
10330 xe_check_libs=" -lwnn4 " | 10335 xe_check_libs=" -lwnn4 " |
10331 cat > conftest.$ac_ext <<EOF | 10336 cat > conftest.$ac_ext <<EOF |
10332 #line 10333 "configure" | 10337 #line 10338 "configure" |
10333 #include "confdefs.h" | 10338 #include "confdefs.h" |
10334 /* Override any gcc2 internal prototype to avoid an error. */ | 10339 /* Override any gcc2 internal prototype to avoid an error. */ |
10335 /* We use char because int might match the return type of a gcc2 | 10340 /* We use char because int might match the return type of a gcc2 |
10336 builtin and then its argument prototype would still apply. */ | 10341 builtin and then its argument prototype would still apply. */ |
10337 char jl_dic_list_e(); | 10342 char jl_dic_list_e(); |
10338 | 10343 |
10339 int main() { | 10344 int main() { |
10340 jl_dic_list_e() | 10345 jl_dic_list_e() |
10341 ; return 0; } | 10346 ; return 0; } |
10342 EOF | 10347 EOF |
10343 if { (eval echo configure:10344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10344 rm -rf conftest* | 10349 rm -rf conftest* |
10345 eval "ac_cv_lib_$ac_lib_var=yes" | 10350 eval "ac_cv_lib_$ac_lib_var=yes" |
10346 else | 10351 else |
10347 echo "configure: failed program was:" >&5 | 10352 echo "configure: failed program was:" >&5 |
10348 cat conftest.$ac_ext >&5 | 10353 cat conftest.$ac_ext >&5 |
10356 echo "$ac_t""yes" 1>&6 | 10361 echo "$ac_t""yes" 1>&6 |
10357 libwnn=wnn4 | 10362 libwnn=wnn4 |
10358 else | 10363 else |
10359 echo "$ac_t""no" 1>&6 | 10364 echo "$ac_t""no" 1>&6 |
10360 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10365 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10361 echo "configure:10362: checking for jl_dic_list_e in -lwnn6" >&5 | 10366 echo "configure:10367: checking for jl_dic_list_e in -lwnn6" >&5 |
10362 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10367 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10363 | 10368 |
10364 xe_check_libs=" -lwnn6 " | 10369 xe_check_libs=" -lwnn6 " |
10365 cat > conftest.$ac_ext <<EOF | 10370 cat > conftest.$ac_ext <<EOF |
10366 #line 10367 "configure" | 10371 #line 10372 "configure" |
10367 #include "confdefs.h" | 10372 #include "confdefs.h" |
10368 /* Override any gcc2 internal prototype to avoid an error. */ | 10373 /* Override any gcc2 internal prototype to avoid an error. */ |
10369 /* We use char because int might match the return type of a gcc2 | 10374 /* We use char because int might match the return type of a gcc2 |
10370 builtin and then its argument prototype would still apply. */ | 10375 builtin and then its argument prototype would still apply. */ |
10371 char jl_dic_list_e(); | 10376 char jl_dic_list_e(); |
10372 | 10377 |
10373 int main() { | 10378 int main() { |
10374 jl_dic_list_e() | 10379 jl_dic_list_e() |
10375 ; return 0; } | 10380 ; return 0; } |
10376 EOF | 10381 EOF |
10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10382 if { (eval echo configure:10383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10378 rm -rf conftest* | 10383 rm -rf conftest* |
10379 eval "ac_cv_lib_$ac_lib_var=yes" | 10384 eval "ac_cv_lib_$ac_lib_var=yes" |
10380 else | 10385 else |
10381 echo "configure: failed program was:" >&5 | 10386 echo "configure: failed program was:" >&5 |
10382 cat conftest.$ac_ext >&5 | 10387 cat conftest.$ac_ext >&5 |
10390 echo "$ac_t""yes" 1>&6 | 10395 echo "$ac_t""yes" 1>&6 |
10391 libwnn=wnn6 | 10396 libwnn=wnn6 |
10392 else | 10397 else |
10393 echo "$ac_t""no" 1>&6 | 10398 echo "$ac_t""no" 1>&6 |
10394 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10399 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10395 echo "configure:10396: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10400 echo "configure:10401: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10396 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10401 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10397 | 10402 |
10398 xe_check_libs=" -lwnn6_fromsrc " | 10403 xe_check_libs=" -lwnn6_fromsrc " |
10399 cat > conftest.$ac_ext <<EOF | 10404 cat > conftest.$ac_ext <<EOF |
10400 #line 10401 "configure" | 10405 #line 10406 "configure" |
10401 #include "confdefs.h" | 10406 #include "confdefs.h" |
10402 /* Override any gcc2 internal prototype to avoid an error. */ | 10407 /* Override any gcc2 internal prototype to avoid an error. */ |
10403 /* We use char because int might match the return type of a gcc2 | 10408 /* We use char because int might match the return type of a gcc2 |
10404 builtin and then its argument prototype would still apply. */ | 10409 builtin and then its argument prototype would still apply. */ |
10405 char dic_list_e(); | 10410 char dic_list_e(); |
10406 | 10411 |
10407 int main() { | 10412 int main() { |
10408 dic_list_e() | 10413 dic_list_e() |
10409 ; return 0; } | 10414 ; return 0; } |
10410 EOF | 10415 EOF |
10411 if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10416 if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10412 rm -rf conftest* | 10417 rm -rf conftest* |
10413 eval "ac_cv_lib_$ac_lib_var=yes" | 10418 eval "ac_cv_lib_$ac_lib_var=yes" |
10414 else | 10419 else |
10415 echo "configure: failed program was:" >&5 | 10420 echo "configure: failed program was:" >&5 |
10416 cat conftest.$ac_ext >&5 | 10421 cat conftest.$ac_ext >&5 |
10451 | 10456 |
10452 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10457 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10453 if test "$with_wnn6" != "no"; then | 10458 if test "$with_wnn6" != "no"; then |
10454 | 10459 |
10455 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10460 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10456 echo "configure:10457: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10461 echo "configure:10462: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10457 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10462 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10458 | 10463 |
10459 xe_check_libs=" -l$libwnn " | 10464 xe_check_libs=" -l$libwnn " |
10460 cat > conftest.$ac_ext <<EOF | 10465 cat > conftest.$ac_ext <<EOF |
10461 #line 10462 "configure" | 10466 #line 10467 "configure" |
10462 #include "confdefs.h" | 10467 #include "confdefs.h" |
10463 /* Override any gcc2 internal prototype to avoid an error. */ | 10468 /* Override any gcc2 internal prototype to avoid an error. */ |
10464 /* We use char because int might match the return type of a gcc2 | 10469 /* We use char because int might match the return type of a gcc2 |
10465 builtin and then its argument prototype would still apply. */ | 10470 builtin and then its argument prototype would still apply. */ |
10466 char jl_fi_dic_list(); | 10471 char jl_fi_dic_list(); |
10467 | 10472 |
10468 int main() { | 10473 int main() { |
10469 jl_fi_dic_list() | 10474 jl_fi_dic_list() |
10470 ; return 0; } | 10475 ; return 0; } |
10471 EOF | 10476 EOF |
10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10473 rm -rf conftest* | 10478 rm -rf conftest* |
10474 eval "ac_cv_lib_$ac_lib_var=yes" | 10479 eval "ac_cv_lib_$ac_lib_var=yes" |
10475 else | 10480 else |
10476 echo "configure: failed program was:" >&5 | 10481 echo "configure: failed program was:" >&5 |
10477 cat conftest.$ac_ext >&5 | 10482 cat conftest.$ac_ext >&5 |
10502 | 10507 |
10503 canna_includes_found=no | 10508 canna_includes_found=no |
10504 if test "$with_canna" != "no"; then | 10509 if test "$with_canna" != "no"; then |
10505 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10510 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10506 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10511 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for canna/jrkanji.h" >&5 | 10512 echo "configure:10513: checking for canna/jrkanji.h" >&5 |
10508 | 10513 |
10509 cat > conftest.$ac_ext <<EOF | 10514 cat > conftest.$ac_ext <<EOF |
10510 #line 10511 "configure" | 10515 #line 10516 "configure" |
10511 #include "confdefs.h" | 10516 #include "confdefs.h" |
10512 #include <canna/jrkanji.h> | 10517 #include <canna/jrkanji.h> |
10513 EOF | 10518 EOF |
10514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10515 { (eval echo configure:10516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10520 { (eval echo configure:10521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10517 if test -z "$ac_err"; then | 10522 if test -z "$ac_err"; then |
10518 rm -rf conftest* | 10523 rm -rf conftest* |
10519 eval "ac_cv_header_$ac_safe=yes" | 10524 eval "ac_cv_header_$ac_safe=yes" |
10520 else | 10525 else |
10537 -d "/usr/local/canna/include"; then | 10542 -d "/usr/local/canna/include"; then |
10538 save_c_switch_site="$c_switch_site" | 10543 save_c_switch_site="$c_switch_site" |
10539 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10544 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10540 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10545 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10541 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10546 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10542 echo "configure:10543: checking for canna/jrkanji.h" >&5 | 10547 echo "configure:10548: checking for canna/jrkanji.h" >&5 |
10543 | 10548 |
10544 cat > conftest.$ac_ext <<EOF | 10549 cat > conftest.$ac_ext <<EOF |
10545 #line 10546 "configure" | 10550 #line 10551 "configure" |
10546 #include "confdefs.h" | 10551 #include "confdefs.h" |
10547 #include <canna/jrkanji.h> | 10552 #include <canna/jrkanji.h> |
10548 EOF | 10553 EOF |
10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10555 { (eval echo configure:10556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10552 if test -z "$ac_err"; then | 10557 if test -z "$ac_err"; then |
10553 rm -rf conftest* | 10558 rm -rf conftest* |
10554 eval "ac_cv_header_$ac_safe=yes" | 10559 eval "ac_cv_header_$ac_safe=yes" |
10555 else | 10560 else |
10573 fi | 10578 fi |
10574 fi | 10579 fi |
10575 | 10580 |
10576 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10581 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10577 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10582 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10578 echo "configure:10579: checking for canna/RK.h" >&5 | 10583 echo "configure:10584: checking for canna/RK.h" >&5 |
10579 | 10584 |
10580 cat > conftest.$ac_ext <<EOF | 10585 cat > conftest.$ac_ext <<EOF |
10581 #line 10582 "configure" | 10586 #line 10587 "configure" |
10582 #include "confdefs.h" | 10587 #include "confdefs.h" |
10583 #include <canna/RK.h> | 10588 #include <canna/RK.h> |
10584 EOF | 10589 EOF |
10585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10586 { (eval echo configure:10587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10591 { (eval echo configure:10592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10588 if test -z "$ac_err"; then | 10593 if test -z "$ac_err"; then |
10589 rm -rf conftest* | 10594 rm -rf conftest* |
10590 eval "ac_cv_header_$ac_safe=yes" | 10595 eval "ac_cv_header_$ac_safe=yes" |
10591 else | 10596 else |
10604 with_canna=no | 10609 with_canna=no |
10605 fi | 10610 fi |
10606 } | 10611 } |
10607 test -z "$with_canna" && { | 10612 test -z "$with_canna" && { |
10608 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10613 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10609 echo "configure:10610: checking for RkBgnBun in -lRKC" >&5 | 10614 echo "configure:10615: checking for RkBgnBun in -lRKC" >&5 |
10610 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10615 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10611 | 10616 |
10612 xe_check_libs=" -lRKC " | 10617 xe_check_libs=" -lRKC " |
10613 cat > conftest.$ac_ext <<EOF | 10618 cat > conftest.$ac_ext <<EOF |
10614 #line 10615 "configure" | 10619 #line 10620 "configure" |
10615 #include "confdefs.h" | 10620 #include "confdefs.h" |
10616 /* Override any gcc2 internal prototype to avoid an error. */ | 10621 /* Override any gcc2 internal prototype to avoid an error. */ |
10617 /* We use char because int might match the return type of a gcc2 | 10622 /* We use char because int might match the return type of a gcc2 |
10618 builtin and then its argument prototype would still apply. */ | 10623 builtin and then its argument prototype would still apply. */ |
10619 char RkBgnBun(); | 10624 char RkBgnBun(); |
10620 | 10625 |
10621 int main() { | 10626 int main() { |
10622 RkBgnBun() | 10627 RkBgnBun() |
10623 ; return 0; } | 10628 ; return 0; } |
10624 EOF | 10629 EOF |
10625 if { (eval echo configure:10626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10626 rm -rf conftest* | 10631 rm -rf conftest* |
10627 eval "ac_cv_lib_$ac_lib_var=yes" | 10632 eval "ac_cv_lib_$ac_lib_var=yes" |
10628 else | 10633 else |
10629 echo "configure: failed program was:" >&5 | 10634 echo "configure: failed program was:" >&5 |
10630 cat conftest.$ac_ext >&5 | 10635 cat conftest.$ac_ext >&5 |
10643 fi | 10648 fi |
10644 | 10649 |
10645 } | 10650 } |
10646 test -z "$with_canna" && { | 10651 test -z "$with_canna" && { |
10647 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10652 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10648 echo "configure:10649: checking for jrKanjiControl in -lcanna" >&5 | 10653 echo "configure:10654: checking for jrKanjiControl in -lcanna" >&5 |
10649 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10654 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10650 | 10655 |
10651 xe_check_libs=" -lcanna " | 10656 xe_check_libs=" -lcanna " |
10652 cat > conftest.$ac_ext <<EOF | 10657 cat > conftest.$ac_ext <<EOF |
10653 #line 10654 "configure" | 10658 #line 10659 "configure" |
10654 #include "confdefs.h" | 10659 #include "confdefs.h" |
10655 /* Override any gcc2 internal prototype to avoid an error. */ | 10660 /* Override any gcc2 internal prototype to avoid an error. */ |
10656 /* We use char because int might match the return type of a gcc2 | 10661 /* We use char because int might match the return type of a gcc2 |
10657 builtin and then its argument prototype would still apply. */ | 10662 builtin and then its argument prototype would still apply. */ |
10658 char jrKanjiControl(); | 10663 char jrKanjiControl(); |
10659 | 10664 |
10660 int main() { | 10665 int main() { |
10661 jrKanjiControl() | 10666 jrKanjiControl() |
10662 ; return 0; } | 10667 ; return 0; } |
10663 EOF | 10668 EOF |
10664 if { (eval echo configure:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10669 if { (eval echo configure:10670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10665 rm -rf conftest* | 10670 rm -rf conftest* |
10666 eval "ac_cv_lib_$ac_lib_var=yes" | 10671 eval "ac_cv_lib_$ac_lib_var=yes" |
10667 else | 10672 else |
10668 echo "configure: failed program was:" >&5 | 10673 echo "configure: failed program was:" >&5 |
10669 cat conftest.$ac_ext >&5 | 10674 cat conftest.$ac_ext >&5 |
10705 | 10710 |
10706 if test "$need_motif" = "yes" ; then | 10711 if test "$need_motif" = "yes" ; then |
10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10712 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10708 | 10713 |
10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10714 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5 | 10715 echo "configure:10716: checking for layout_object_getvalue in -li18n" >&5 |
10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10716 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10712 | 10717 |
10713 xe_check_libs=" -li18n " | 10718 xe_check_libs=" -li18n " |
10714 cat > conftest.$ac_ext <<EOF | 10719 cat > conftest.$ac_ext <<EOF |
10715 #line 10716 "configure" | 10720 #line 10721 "configure" |
10716 #include "confdefs.h" | 10721 #include "confdefs.h" |
10717 /* Override any gcc2 internal prototype to avoid an error. */ | 10722 /* Override any gcc2 internal prototype to avoid an error. */ |
10718 /* We use char because int might match the return type of a gcc2 | 10723 /* We use char because int might match the return type of a gcc2 |
10719 builtin and then its argument prototype would still apply. */ | 10724 builtin and then its argument prototype would still apply. */ |
10720 char layout_object_getvalue(); | 10725 char layout_object_getvalue(); |
10721 | 10726 |
10722 int main() { | 10727 int main() { |
10723 layout_object_getvalue() | 10728 layout_object_getvalue() |
10724 ; return 0; } | 10729 ; return 0; } |
10725 EOF | 10730 EOF |
10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10731 if { (eval echo configure:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10727 rm -rf conftest* | 10732 rm -rf conftest* |
10728 eval "ac_cv_lib_$ac_lib_var=yes" | 10733 eval "ac_cv_lib_$ac_lib_var=yes" |
10729 else | 10734 else |
10730 echo "configure: failed program was:" >&5 | 10735 echo "configure: failed program was:" >&5 |
10731 cat conftest.$ac_ext >&5 | 10736 cat conftest.$ac_ext >&5 |
10807 fi | 10812 fi |
10808 | 10813 |
10809 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 | 10814 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 |
10810 do | 10815 do |
10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10812 echo "configure:10813: checking for $ac_func" >&5 | 10817 echo "configure:10818: checking for $ac_func" >&5 |
10813 | 10818 |
10814 cat > conftest.$ac_ext <<EOF | 10819 cat > conftest.$ac_ext <<EOF |
10815 #line 10816 "configure" | 10820 #line 10821 "configure" |
10816 #include "confdefs.h" | 10821 #include "confdefs.h" |
10817 /* System header to define __stub macros and hopefully few prototypes, | 10822 /* System header to define __stub macros and hopefully few prototypes, |
10818 which can conflict with char $ac_func(); below. */ | 10823 which can conflict with char $ac_func(); below. */ |
10819 #include <assert.h> | 10824 #include <assert.h> |
10820 /* Override any gcc2 internal prototype to avoid an error. */ | 10825 /* Override any gcc2 internal prototype to avoid an error. */ |
10833 $ac_func(); | 10838 $ac_func(); |
10834 #endif | 10839 #endif |
10835 | 10840 |
10836 ; return 0; } | 10841 ; return 0; } |
10837 EOF | 10842 EOF |
10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10843 if { (eval echo configure:10844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10839 rm -rf conftest* | 10844 rm -rf conftest* |
10840 eval "ac_cv_func_$ac_func=yes" | 10845 eval "ac_cv_func_$ac_func=yes" |
10841 else | 10846 else |
10842 echo "configure: failed program was:" >&5 | 10847 echo "configure: failed program was:" >&5 |
10843 cat conftest.$ac_ext >&5 | 10848 cat conftest.$ac_ext >&5 |
10865 | 10870 |
10866 | 10871 |
10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10872 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10868 do | 10873 do |
10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10870 echo "configure:10871: checking for $ac_func" >&5 | 10875 echo "configure:10876: checking for $ac_func" >&5 |
10871 | 10876 |
10872 cat > conftest.$ac_ext <<EOF | 10877 cat > conftest.$ac_ext <<EOF |
10873 #line 10874 "configure" | 10878 #line 10879 "configure" |
10874 #include "confdefs.h" | 10879 #include "confdefs.h" |
10875 /* System header to define __stub macros and hopefully few prototypes, | 10880 /* System header to define __stub macros and hopefully few prototypes, |
10876 which can conflict with char $ac_func(); below. */ | 10881 which can conflict with char $ac_func(); below. */ |
10877 #include <assert.h> | 10882 #include <assert.h> |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10883 /* Override any gcc2 internal prototype to avoid an error. */ |
10891 $ac_func(); | 10896 $ac_func(); |
10892 #endif | 10897 #endif |
10893 | 10898 |
10894 ; return 0; } | 10899 ; return 0; } |
10895 EOF | 10900 EOF |
10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10901 if { (eval echo configure:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10897 rm -rf conftest* | 10902 rm -rf conftest* |
10898 eval "ac_cv_func_$ac_func=yes" | 10903 eval "ac_cv_func_$ac_func=yes" |
10899 else | 10904 else |
10900 echo "configure: failed program was:" >&5 | 10905 echo "configure: failed program was:" >&5 |
10901 cat conftest.$ac_ext >&5 | 10906 cat conftest.$ac_ext >&5 |
10920 fi | 10925 fi |
10921 done | 10926 done |
10922 | 10927 |
10923 | 10928 |
10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10929 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10925 echo "configure:10926: checking for openpty" >&5 | 10930 echo "configure:10931: checking for openpty" >&5 |
10926 | 10931 |
10927 cat > conftest.$ac_ext <<EOF | 10932 cat > conftest.$ac_ext <<EOF |
10928 #line 10929 "configure" | 10933 #line 10934 "configure" |
10929 #include "confdefs.h" | 10934 #include "confdefs.h" |
10930 /* System header to define __stub macros and hopefully few prototypes, | 10935 /* System header to define __stub macros and hopefully few prototypes, |
10931 which can conflict with char openpty(); below. */ | 10936 which can conflict with char openpty(); below. */ |
10932 #include <assert.h> | 10937 #include <assert.h> |
10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10938 /* Override any gcc2 internal prototype to avoid an error. */ |
10946 openpty(); | 10951 openpty(); |
10947 #endif | 10952 #endif |
10948 | 10953 |
10949 ; return 0; } | 10954 ; return 0; } |
10950 EOF | 10955 EOF |
10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10956 if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10952 rm -rf conftest* | 10957 rm -rf conftest* |
10953 eval "ac_cv_func_openpty=yes" | 10958 eval "ac_cv_func_openpty=yes" |
10954 else | 10959 else |
10955 echo "configure: failed program was:" >&5 | 10960 echo "configure: failed program was:" >&5 |
10956 cat conftest.$ac_ext >&5 | 10961 cat conftest.$ac_ext >&5 |
10965 else | 10970 else |
10966 echo "$ac_t""no" 1>&6 | 10971 echo "$ac_t""no" 1>&6 |
10967 | 10972 |
10968 | 10973 |
10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10974 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10970 echo "configure:10971: checking for openpty in -lutil" >&5 | 10975 echo "configure:10976: checking for openpty in -lutil" >&5 |
10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10976 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10972 | 10977 |
10973 xe_check_libs=" -lutil " | 10978 xe_check_libs=" -lutil " |
10974 cat > conftest.$ac_ext <<EOF | 10979 cat > conftest.$ac_ext <<EOF |
10975 #line 10976 "configure" | 10980 #line 10981 "configure" |
10976 #include "confdefs.h" | 10981 #include "confdefs.h" |
10977 /* Override any gcc2 internal prototype to avoid an error. */ | 10982 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 /* We use char because int might match the return type of a gcc2 | 10983 /* We use char because int might match the return type of a gcc2 |
10979 builtin and then its argument prototype would still apply. */ | 10984 builtin and then its argument prototype would still apply. */ |
10980 char openpty(); | 10985 char openpty(); |
10981 | 10986 |
10982 int main() { | 10987 int main() { |
10983 openpty() | 10988 openpty() |
10984 ; return 0; } | 10989 ; return 0; } |
10985 EOF | 10990 EOF |
10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10991 if { (eval echo configure:10992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10987 rm -rf conftest* | 10992 rm -rf conftest* |
10988 eval "ac_cv_lib_$ac_lib_var=yes" | 10993 eval "ac_cv_lib_$ac_lib_var=yes" |
10989 else | 10994 else |
10990 echo "configure: failed program was:" >&5 | 10995 echo "configure: failed program was:" >&5 |
10991 cat conftest.$ac_ext >&5 | 10996 cat conftest.$ac_ext >&5 |
11016 | 11021 |
11017 for ac_hdr in libutil.h util.h | 11022 for ac_hdr in libutil.h util.h |
11018 do | 11023 do |
11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11021 echo "configure:11022: checking for $ac_hdr" >&5 | 11026 echo "configure:11027: checking for $ac_hdr" >&5 |
11022 | 11027 |
11023 cat > conftest.$ac_ext <<EOF | 11028 cat > conftest.$ac_ext <<EOF |
11024 #line 11025 "configure" | 11029 #line 11030 "configure" |
11025 #include "confdefs.h" | 11030 #include "confdefs.h" |
11026 #include <$ac_hdr> | 11031 #include <$ac_hdr> |
11027 EOF | 11032 EOF |
11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11034 { (eval echo configure:11035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11031 if test -z "$ac_err"; then | 11036 if test -z "$ac_err"; then |
11032 rm -rf conftest* | 11037 rm -rf conftest* |
11033 eval "ac_cv_header_$ac_safe=yes" | 11038 eval "ac_cv_header_$ac_safe=yes" |
11034 else | 11039 else |
11061 case "$opsys" in | 11066 case "$opsys" in |
11062 hpux*) for ac_hdr in sys/ptyio.h | 11067 hpux*) for ac_hdr in sys/ptyio.h |
11063 do | 11068 do |
11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11069 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11070 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11066 echo "configure:11067: checking for $ac_hdr" >&5 | 11071 echo "configure:11072: checking for $ac_hdr" >&5 |
11067 | 11072 |
11068 cat > conftest.$ac_ext <<EOF | 11073 cat > conftest.$ac_ext <<EOF |
11069 #line 11070 "configure" | 11074 #line 11075 "configure" |
11070 #include "confdefs.h" | 11075 #include "confdefs.h" |
11071 #include <$ac_hdr> | 11076 #include <$ac_hdr> |
11072 EOF | 11077 EOF |
11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11079 { (eval echo configure:11080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11076 if test -z "$ac_err"; then | 11081 if test -z "$ac_err"; then |
11077 rm -rf conftest* | 11082 rm -rf conftest* |
11078 eval "ac_cv_header_$ac_safe=yes" | 11083 eval "ac_cv_header_$ac_safe=yes" |
11079 else | 11084 else |
11102 ;; | 11107 ;; |
11103 *) for ac_hdr in pty.h | 11108 *) for ac_hdr in pty.h |
11104 do | 11109 do |
11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11107 echo "configure:11108: checking for $ac_hdr" >&5 | 11112 echo "configure:11113: checking for $ac_hdr" >&5 |
11108 | 11113 |
11109 cat > conftest.$ac_ext <<EOF | 11114 cat > conftest.$ac_ext <<EOF |
11110 #line 11111 "configure" | 11115 #line 11116 "configure" |
11111 #include "confdefs.h" | 11116 #include "confdefs.h" |
11112 #include <$ac_hdr> | 11117 #include <$ac_hdr> |
11113 EOF | 11118 EOF |
11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11120 { (eval echo configure:11121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11117 if test -z "$ac_err"; then | 11122 if test -z "$ac_err"; then |
11118 rm -rf conftest* | 11123 rm -rf conftest* |
11119 eval "ac_cv_header_$ac_safe=yes" | 11124 eval "ac_cv_header_$ac_safe=yes" |
11120 else | 11125 else |
11143 | 11148 |
11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11149 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11145 do | 11150 do |
11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11151 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11148 echo "configure:11149: checking for $ac_hdr" >&5 | 11153 echo "configure:11154: checking for $ac_hdr" >&5 |
11149 | 11154 |
11150 cat > conftest.$ac_ext <<EOF | 11155 cat > conftest.$ac_ext <<EOF |
11151 #line 11152 "configure" | 11156 #line 11157 "configure" |
11152 #include "confdefs.h" | 11157 #include "confdefs.h" |
11153 #include <$ac_hdr> | 11158 #include <$ac_hdr> |
11154 EOF | 11159 EOF |
11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11161 { (eval echo configure:11162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11158 if test -z "$ac_err"; then | 11163 if test -z "$ac_err"; then |
11159 rm -rf conftest* | 11164 rm -rf conftest* |
11160 eval "ac_cv_header_$ac_safe=yes" | 11165 eval "ac_cv_header_$ac_safe=yes" |
11161 else | 11166 else |
11187 | 11192 |
11188 for ac_hdr in stropts.h | 11193 for ac_hdr in stropts.h |
11189 do | 11194 do |
11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11192 echo "configure:11193: checking for $ac_hdr" >&5 | 11197 echo "configure:11198: checking for $ac_hdr" >&5 |
11193 | 11198 |
11194 cat > conftest.$ac_ext <<EOF | 11199 cat > conftest.$ac_ext <<EOF |
11195 #line 11196 "configure" | 11200 #line 11201 "configure" |
11196 #include "confdefs.h" | 11201 #include "confdefs.h" |
11197 #include <$ac_hdr> | 11202 #include <$ac_hdr> |
11198 EOF | 11203 EOF |
11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11205 { (eval echo configure:11206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11202 if test -z "$ac_err"; then | 11207 if test -z "$ac_err"; then |
11203 rm -rf conftest* | 11208 rm -rf conftest* |
11204 eval "ac_cv_header_$ac_safe=yes" | 11209 eval "ac_cv_header_$ac_safe=yes" |
11205 else | 11210 else |
11228 | 11233 |
11229 if test "$ac_cv_header_stropts_h" = "yes"; then | 11234 if test "$ac_cv_header_stropts_h" = "yes"; then |
11230 for ac_func in isastream | 11235 for ac_func in isastream |
11231 do | 11236 do |
11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11233 echo "configure:11234: checking for $ac_func" >&5 | 11238 echo "configure:11239: checking for $ac_func" >&5 |
11234 | 11239 |
11235 cat > conftest.$ac_ext <<EOF | 11240 cat > conftest.$ac_ext <<EOF |
11236 #line 11237 "configure" | 11241 #line 11242 "configure" |
11237 #include "confdefs.h" | 11242 #include "confdefs.h" |
11238 /* System header to define __stub macros and hopefully few prototypes, | 11243 /* System header to define __stub macros and hopefully few prototypes, |
11239 which can conflict with char $ac_func(); below. */ | 11244 which can conflict with char $ac_func(); below. */ |
11240 #include <assert.h> | 11245 #include <assert.h> |
11241 /* Override any gcc2 internal prototype to avoid an error. */ | 11246 /* Override any gcc2 internal prototype to avoid an error. */ |
11254 $ac_func(); | 11259 $ac_func(); |
11255 #endif | 11260 #endif |
11256 | 11261 |
11257 ; return 0; } | 11262 ; return 0; } |
11258 EOF | 11263 EOF |
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11264 if { (eval echo configure:11265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11260 rm -rf conftest* | 11265 rm -rf conftest* |
11261 eval "ac_cv_func_$ac_func=yes" | 11266 eval "ac_cv_func_$ac_func=yes" |
11262 else | 11267 else |
11263 echo "configure: failed program was:" >&5 | 11268 echo "configure: failed program was:" >&5 |
11264 cat conftest.$ac_ext >&5 | 11269 cat conftest.$ac_ext >&5 |
11285 | 11290 |
11286 for ac_hdr in strtio.h | 11291 for ac_hdr in strtio.h |
11287 do | 11292 do |
11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11290 echo "configure:11291: checking for $ac_hdr" >&5 | 11295 echo "configure:11296: checking for $ac_hdr" >&5 |
11291 | 11296 |
11292 cat > conftest.$ac_ext <<EOF | 11297 cat > conftest.$ac_ext <<EOF |
11293 #line 11294 "configure" | 11298 #line 11299 "configure" |
11294 #include "confdefs.h" | 11299 #include "confdefs.h" |
11295 #include <$ac_hdr> | 11300 #include <$ac_hdr> |
11296 EOF | 11301 EOF |
11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11303 { (eval echo configure:11304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11300 if test -z "$ac_err"; then | 11305 if test -z "$ac_err"; then |
11301 rm -rf conftest* | 11306 rm -rf conftest* |
11302 eval "ac_cv_header_$ac_safe=yes" | 11307 eval "ac_cv_header_$ac_safe=yes" |
11303 else | 11308 else |
11326 fi | 11331 fi |
11327 | 11332 |
11328 for ac_func in getloadavg | 11333 for ac_func in getloadavg |
11329 do | 11334 do |
11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11331 echo "configure:11332: checking for $ac_func" >&5 | 11336 echo "configure:11337: checking for $ac_func" >&5 |
11332 | 11337 |
11333 cat > conftest.$ac_ext <<EOF | 11338 cat > conftest.$ac_ext <<EOF |
11334 #line 11335 "configure" | 11339 #line 11340 "configure" |
11335 #include "confdefs.h" | 11340 #include "confdefs.h" |
11336 /* System header to define __stub macros and hopefully few prototypes, | 11341 /* System header to define __stub macros and hopefully few prototypes, |
11337 which can conflict with char $ac_func(); below. */ | 11342 which can conflict with char $ac_func(); below. */ |
11338 #include <assert.h> | 11343 #include <assert.h> |
11339 /* Override any gcc2 internal prototype to avoid an error. */ | 11344 /* Override any gcc2 internal prototype to avoid an error. */ |
11352 $ac_func(); | 11357 $ac_func(); |
11353 #endif | 11358 #endif |
11354 | 11359 |
11355 ; return 0; } | 11360 ; return 0; } |
11356 EOF | 11361 EOF |
11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11362 if { (eval echo configure:11363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11358 rm -rf conftest* | 11363 rm -rf conftest* |
11359 eval "ac_cv_func_$ac_func=yes" | 11364 eval "ac_cv_func_$ac_func=yes" |
11360 else | 11365 else |
11361 echo "configure: failed program was:" >&5 | 11366 echo "configure: failed program was:" >&5 |
11362 cat conftest.$ac_ext >&5 | 11367 cat conftest.$ac_ext >&5 |
11385 if test "$ac_cv_func_getloadavg" = "yes"; then | 11390 if test "$ac_cv_func_getloadavg" = "yes"; then |
11386 for ac_hdr in sys/loadavg.h | 11391 for ac_hdr in sys/loadavg.h |
11387 do | 11392 do |
11388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11390 echo "configure:11391: checking for $ac_hdr" >&5 | 11395 echo "configure:11396: checking for $ac_hdr" >&5 |
11391 | 11396 |
11392 cat > conftest.$ac_ext <<EOF | 11397 cat > conftest.$ac_ext <<EOF |
11393 #line 11394 "configure" | 11398 #line 11399 "configure" |
11394 #include "confdefs.h" | 11399 #include "confdefs.h" |
11395 #include <$ac_hdr> | 11400 #include <$ac_hdr> |
11396 EOF | 11401 EOF |
11397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11398 { (eval echo configure:11399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11403 { (eval echo configure:11404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11400 if test -z "$ac_err"; then | 11405 if test -z "$ac_err"; then |
11401 rm -rf conftest* | 11406 rm -rf conftest* |
11402 eval "ac_cv_header_$ac_safe=yes" | 11407 eval "ac_cv_header_$ac_safe=yes" |
11403 else | 11408 else |
11429 echo " xemacs will be linked with \"getloadavg.o\"" | 11434 echo " xemacs will be linked with \"getloadavg.o\"" |
11430 fi | 11435 fi |
11431 | 11436 |
11432 | 11437 |
11433 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11438 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11434 echo "configure:11435: checking for kstat_open in -lkstat" >&5 | 11439 echo "configure:11440: checking for kstat_open in -lkstat" >&5 |
11435 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11440 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11436 | 11441 |
11437 xe_check_libs=" -lkstat " | 11442 xe_check_libs=" -lkstat " |
11438 cat > conftest.$ac_ext <<EOF | 11443 cat > conftest.$ac_ext <<EOF |
11439 #line 11440 "configure" | 11444 #line 11445 "configure" |
11440 #include "confdefs.h" | 11445 #include "confdefs.h" |
11441 /* Override any gcc2 internal prototype to avoid an error. */ | 11446 /* Override any gcc2 internal prototype to avoid an error. */ |
11442 /* We use char because int might match the return type of a gcc2 | 11447 /* We use char because int might match the return type of a gcc2 |
11443 builtin and then its argument prototype would still apply. */ | 11448 builtin and then its argument prototype would still apply. */ |
11444 char kstat_open(); | 11449 char kstat_open(); |
11445 | 11450 |
11446 int main() { | 11451 int main() { |
11447 kstat_open() | 11452 kstat_open() |
11448 ; return 0; } | 11453 ; return 0; } |
11449 EOF | 11454 EOF |
11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11455 if { (eval echo configure:11456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11451 rm -rf conftest* | 11456 rm -rf conftest* |
11452 eval "ac_cv_lib_$ac_lib_var=yes" | 11457 eval "ac_cv_lib_$ac_lib_var=yes" |
11453 else | 11458 else |
11454 echo "configure: failed program was:" >&5 | 11459 echo "configure: failed program was:" >&5 |
11455 cat conftest.$ac_ext >&5 | 11460 cat conftest.$ac_ext >&5 |
11480 | 11485 |
11481 for ac_hdr in kstat.h | 11486 for ac_hdr in kstat.h |
11482 do | 11487 do |
11483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11488 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11485 echo "configure:11486: checking for $ac_hdr" >&5 | 11490 echo "configure:11491: checking for $ac_hdr" >&5 |
11486 | 11491 |
11487 cat > conftest.$ac_ext <<EOF | 11492 cat > conftest.$ac_ext <<EOF |
11488 #line 11489 "configure" | 11493 #line 11494 "configure" |
11489 #include "confdefs.h" | 11494 #include "confdefs.h" |
11490 #include <$ac_hdr> | 11495 #include <$ac_hdr> |
11491 EOF | 11496 EOF |
11492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11493 { (eval echo configure:11494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11498 { (eval echo configure:11499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11495 if test -z "$ac_err"; then | 11500 if test -z "$ac_err"; then |
11496 rm -rf conftest* | 11501 rm -rf conftest* |
11497 eval "ac_cv_header_$ac_safe=yes" | 11502 eval "ac_cv_header_$ac_safe=yes" |
11498 else | 11503 else |
11520 done | 11525 done |
11521 | 11526 |
11522 | 11527 |
11523 | 11528 |
11524 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11529 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11525 echo "configure:11526: checking for kvm_read in -lkvm" >&5 | 11530 echo "configure:11531: checking for kvm_read in -lkvm" >&5 |
11526 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11531 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11527 | 11532 |
11528 xe_check_libs=" -lkvm " | 11533 xe_check_libs=" -lkvm " |
11529 cat > conftest.$ac_ext <<EOF | 11534 cat > conftest.$ac_ext <<EOF |
11530 #line 11531 "configure" | 11535 #line 11536 "configure" |
11531 #include "confdefs.h" | 11536 #include "confdefs.h" |
11532 /* Override any gcc2 internal prototype to avoid an error. */ | 11537 /* Override any gcc2 internal prototype to avoid an error. */ |
11533 /* We use char because int might match the return type of a gcc2 | 11538 /* We use char because int might match the return type of a gcc2 |
11534 builtin and then its argument prototype would still apply. */ | 11539 builtin and then its argument prototype would still apply. */ |
11535 char kvm_read(); | 11540 char kvm_read(); |
11536 | 11541 |
11537 int main() { | 11542 int main() { |
11538 kvm_read() | 11543 kvm_read() |
11539 ; return 0; } | 11544 ; return 0; } |
11540 EOF | 11545 EOF |
11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11546 if { (eval echo configure:11547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11542 rm -rf conftest* | 11547 rm -rf conftest* |
11543 eval "ac_cv_lib_$ac_lib_var=yes" | 11548 eval "ac_cv_lib_$ac_lib_var=yes" |
11544 else | 11549 else |
11545 echo "configure: failed program was:" >&5 | 11550 echo "configure: failed program was:" >&5 |
11546 cat conftest.$ac_ext >&5 | 11551 cat conftest.$ac_ext >&5 |
11570 | 11575 |
11571 | 11576 |
11572 fi | 11577 fi |
11573 | 11578 |
11574 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11579 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11575 echo "configure:11576: checking whether netdb declares h_errno" >&5 | 11580 echo "configure:11581: checking whether netdb declares h_errno" >&5 |
11576 cat > conftest.$ac_ext <<EOF | 11581 cat > conftest.$ac_ext <<EOF |
11577 #line 11578 "configure" | 11582 #line 11583 "configure" |
11578 #include "confdefs.h" | 11583 #include "confdefs.h" |
11579 #include <netdb.h> | 11584 #include <netdb.h> |
11580 int main() { | 11585 int main() { |
11581 return h_errno; | 11586 return h_errno; |
11582 ; return 0; } | 11587 ; return 0; } |
11583 EOF | 11588 EOF |
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11589 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11585 rm -rf conftest* | 11590 rm -rf conftest* |
11586 echo "$ac_t""yes" 1>&6 | 11591 echo "$ac_t""yes" 1>&6 |
11587 { test "$extra_verbose" = "yes" && cat << \EOF | 11592 { test "$extra_verbose" = "yes" && cat << \EOF |
11588 Defining HAVE_H_ERRNO | 11593 Defining HAVE_H_ERRNO |
11589 EOF | 11594 EOF |
11599 echo "$ac_t""no" 1>&6 | 11604 echo "$ac_t""no" 1>&6 |
11600 fi | 11605 fi |
11601 rm -f conftest* | 11606 rm -f conftest* |
11602 | 11607 |
11603 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11608 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11604 echo "configure:11605: checking for sigsetjmp" >&5 | 11609 echo "configure:11610: checking for sigsetjmp" >&5 |
11605 cat > conftest.$ac_ext <<EOF | 11610 cat > conftest.$ac_ext <<EOF |
11606 #line 11607 "configure" | 11611 #line 11612 "configure" |
11607 #include "confdefs.h" | 11612 #include "confdefs.h" |
11608 #include <setjmp.h> | 11613 #include <setjmp.h> |
11609 int main() { | 11614 int main() { |
11610 sigjmp_buf bar; sigsetjmp (bar, 0); | 11615 sigjmp_buf bar; sigsetjmp (bar, 0); |
11611 ; return 0; } | 11616 ; return 0; } |
11612 EOF | 11617 EOF |
11613 if { (eval echo configure:11614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11618 if { (eval echo configure:11619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11614 rm -rf conftest* | 11619 rm -rf conftest* |
11615 echo "$ac_t""yes" 1>&6 | 11620 echo "$ac_t""yes" 1>&6 |
11616 { test "$extra_verbose" = "yes" && cat << \EOF | 11621 { test "$extra_verbose" = "yes" && cat << \EOF |
11617 Defining HAVE_SIGSETJMP | 11622 Defining HAVE_SIGSETJMP |
11618 EOF | 11623 EOF |
11628 echo "$ac_t""no" 1>&6 | 11633 echo "$ac_t""no" 1>&6 |
11629 fi | 11634 fi |
11630 rm -f conftest* | 11635 rm -f conftest* |
11631 | 11636 |
11632 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11637 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11633 echo "configure:11634: checking whether localtime caches TZ" >&5 | 11638 echo "configure:11639: checking whether localtime caches TZ" >&5 |
11634 | 11639 |
11635 if test "$ac_cv_func_tzset" = "yes"; then | 11640 if test "$ac_cv_func_tzset" = "yes"; then |
11636 cat > conftest.$ac_ext <<EOF | 11641 cat > conftest.$ac_ext <<EOF |
11637 #line 11638 "configure" | 11642 #line 11643 "configure" |
11638 #include "confdefs.h" | 11643 #include "confdefs.h" |
11639 #include <time.h> | 11644 #include <time.h> |
11640 #if STDC_HEADERS | 11645 #if STDC_HEADERS |
11641 # include <stdlib.h> | 11646 # include <stdlib.h> |
11642 #endif | 11647 #endif |
11667 if (localtime (&now)->tm_hour != hour_unset) | 11672 if (localtime (&now)->tm_hour != hour_unset) |
11668 exit (1); | 11673 exit (1); |
11669 exit (0); | 11674 exit (0); |
11670 } | 11675 } |
11671 EOF | 11676 EOF |
11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11673 then | 11678 then |
11674 emacs_cv_localtime_cache=no | 11679 emacs_cv_localtime_cache=no |
11675 else | 11680 else |
11676 conftest_rc="$?" | 11681 conftest_rc="$?" |
11677 echo "configure: failed program was:" >&5 | 11682 echo "configure: failed program was:" >&5 |
11697 | 11702 |
11698 fi | 11703 fi |
11699 | 11704 |
11700 if test "$HAVE_TIMEVAL" = "yes"; then | 11705 if test "$HAVE_TIMEVAL" = "yes"; then |
11701 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11706 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11702 echo "configure:11703: checking whether gettimeofday accepts one or two arguments" >&5 | 11707 echo "configure:11708: checking whether gettimeofday accepts one or two arguments" >&5 |
11703 cat > conftest.$ac_ext <<EOF | 11708 cat > conftest.$ac_ext <<EOF |
11704 #line 11705 "configure" | 11709 #line 11710 "configure" |
11705 #include "confdefs.h" | 11710 #include "confdefs.h" |
11706 | 11711 |
11707 #ifdef TIME_WITH_SYS_TIME | 11712 #ifdef TIME_WITH_SYS_TIME |
11708 #include <sys/time.h> | 11713 #include <sys/time.h> |
11709 #include <time.h> | 11714 #include <time.h> |
11720 struct timeval time; | 11725 struct timeval time; |
11721 gettimeofday (&time, 0); | 11726 gettimeofday (&time, 0); |
11722 | 11727 |
11723 ; return 0; } | 11728 ; return 0; } |
11724 EOF | 11729 EOF |
11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11730 if { (eval echo configure:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11726 rm -rf conftest* | 11731 rm -rf conftest* |
11727 echo "$ac_t""two" 1>&6 | 11732 echo "$ac_t""two" 1>&6 |
11728 else | 11733 else |
11729 echo "configure: failed program was:" >&5 | 11734 echo "configure: failed program was:" >&5 |
11730 cat conftest.$ac_ext >&5 | 11735 cat conftest.$ac_ext >&5 |
11742 rm -f conftest* | 11747 rm -f conftest* |
11743 fi | 11748 fi |
11744 | 11749 |
11745 | 11750 |
11746 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11751 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11747 echo "configure:11748: checking for inline" >&5 | 11752 echo "configure:11753: checking for inline" >&5 |
11748 | 11753 |
11749 ac_cv_c_inline=no | 11754 ac_cv_c_inline=no |
11750 for ac_kw in inline __inline__ __inline; do | 11755 for ac_kw in inline __inline__ __inline; do |
11751 cat > conftest.$ac_ext <<EOF | 11756 cat > conftest.$ac_ext <<EOF |
11752 #line 11753 "configure" | 11757 #line 11758 "configure" |
11753 #include "confdefs.h" | 11758 #include "confdefs.h" |
11754 | 11759 |
11755 int main() { | 11760 int main() { |
11756 } $ac_kw foo() { | 11761 } $ac_kw foo() { |
11757 ; return 0; } | 11762 ; return 0; } |
11758 EOF | 11763 EOF |
11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11764 if { (eval echo configure:11765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11760 rm -rf conftest* | 11765 rm -rf conftest* |
11761 ac_cv_c_inline=$ac_kw; break | 11766 ac_cv_c_inline=$ac_kw; break |
11762 else | 11767 else |
11763 echo "configure: failed program was:" >&5 | 11768 echo "configure: failed program was:" >&5 |
11764 cat conftest.$ac_ext >&5 | 11769 cat conftest.$ac_ext >&5 |
11795 | 11800 |
11796 if test "$__DECC" != "yes"; then | 11801 if test "$__DECC" != "yes"; then |
11797 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11802 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11798 # for constant arguments. Useless! | 11803 # for constant arguments. Useless! |
11799 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11804 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11800 echo "configure:11801: checking for working alloca.h" >&5 | 11805 echo "configure:11806: checking for working alloca.h" >&5 |
11801 | 11806 |
11802 cat > conftest.$ac_ext <<EOF | 11807 cat > conftest.$ac_ext <<EOF |
11803 #line 11804 "configure" | 11808 #line 11809 "configure" |
11804 #include "confdefs.h" | 11809 #include "confdefs.h" |
11805 #include <alloca.h> | 11810 #include <alloca.h> |
11806 int main() { | 11811 int main() { |
11807 char *p = alloca(2 * sizeof(int)); | 11812 char *p = alloca(2 * sizeof(int)); |
11808 ; return 0; } | 11813 ; return 0; } |
11809 EOF | 11814 EOF |
11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11815 if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11811 rm -rf conftest* | 11816 rm -rf conftest* |
11812 ac_cv_header_alloca_h=yes | 11817 ac_cv_header_alloca_h=yes |
11813 else | 11818 else |
11814 echo "configure: failed program was:" >&5 | 11819 echo "configure: failed program was:" >&5 |
11815 cat conftest.$ac_ext >&5 | 11820 cat conftest.$ac_ext >&5 |
11829 } | 11834 } |
11830 | 11835 |
11831 fi | 11836 fi |
11832 | 11837 |
11833 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11838 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11834 echo "configure:11835: checking for alloca" >&5 | 11839 echo "configure:11840: checking for alloca" >&5 |
11835 | 11840 |
11836 cat > conftest.$ac_ext <<EOF | 11841 cat > conftest.$ac_ext <<EOF |
11837 #line 11838 "configure" | 11842 #line 11843 "configure" |
11838 #include "confdefs.h" | 11843 #include "confdefs.h" |
11839 | 11844 |
11840 #ifdef __GNUC__ | 11845 #ifdef __GNUC__ |
11841 # define alloca __builtin_alloca | 11846 # define alloca __builtin_alloca |
11842 #else | 11847 #else |
11860 | 11865 |
11861 int main() { | 11866 int main() { |
11862 char *p = (char *) alloca(1); | 11867 char *p = (char *) alloca(1); |
11863 ; return 0; } | 11868 ; return 0; } |
11864 EOF | 11869 EOF |
11865 if { (eval echo configure:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11870 if { (eval echo configure:11871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11866 rm -rf conftest* | 11871 rm -rf conftest* |
11867 ac_cv_func_alloca_works=yes | 11872 ac_cv_func_alloca_works=yes |
11868 else | 11873 else |
11869 echo "configure: failed program was:" >&5 | 11874 echo "configure: failed program was:" >&5 |
11870 cat conftest.$ac_ext >&5 | 11875 cat conftest.$ac_ext >&5 |
11899 EOF | 11904 EOF |
11900 } | 11905 } |
11901 | 11906 |
11902 | 11907 |
11903 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11908 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11904 echo "configure:11905: checking whether alloca needs Cray hooks" >&5 | 11909 echo "configure:11910: checking whether alloca needs Cray hooks" >&5 |
11905 | 11910 |
11906 cat > conftest.$ac_ext <<EOF | 11911 cat > conftest.$ac_ext <<EOF |
11907 #line 11908 "configure" | 11912 #line 11913 "configure" |
11908 #include "confdefs.h" | 11913 #include "confdefs.h" |
11909 #if defined(CRAY) && ! defined(CRAY2) | 11914 #if defined(CRAY) && ! defined(CRAY2) |
11910 webecray | 11915 webecray |
11911 #else | 11916 #else |
11912 wenotbecray | 11917 wenotbecray |
11926 | 11931 |
11927 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11932 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11928 if test $ac_cv_os_cray = yes; then | 11933 if test $ac_cv_os_cray = yes; then |
11929 for ac_func in _getb67 GETB67 getb67; do | 11934 for ac_func in _getb67 GETB67 getb67; do |
11930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11931 echo "configure:11932: checking for $ac_func" >&5 | 11936 echo "configure:11937: checking for $ac_func" >&5 |
11932 | 11937 |
11933 cat > conftest.$ac_ext <<EOF | 11938 cat > conftest.$ac_ext <<EOF |
11934 #line 11935 "configure" | 11939 #line 11940 "configure" |
11935 #include "confdefs.h" | 11940 #include "confdefs.h" |
11936 /* System header to define __stub macros and hopefully few prototypes, | 11941 /* System header to define __stub macros and hopefully few prototypes, |
11937 which can conflict with char $ac_func(); below. */ | 11942 which can conflict with char $ac_func(); below. */ |
11938 #include <assert.h> | 11943 #include <assert.h> |
11939 /* Override any gcc2 internal prototype to avoid an error. */ | 11944 /* Override any gcc2 internal prototype to avoid an error. */ |
11952 $ac_func(); | 11957 $ac_func(); |
11953 #endif | 11958 #endif |
11954 | 11959 |
11955 ; return 0; } | 11960 ; return 0; } |
11956 EOF | 11961 EOF |
11957 if { (eval echo configure:11958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11962 if { (eval echo configure:11963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11958 rm -rf conftest* | 11963 rm -rf conftest* |
11959 eval "ac_cv_func_$ac_func=yes" | 11964 eval "ac_cv_func_$ac_func=yes" |
11960 else | 11965 else |
11961 echo "configure: failed program was:" >&5 | 11966 echo "configure: failed program was:" >&5 |
11962 cat conftest.$ac_ext >&5 | 11967 cat conftest.$ac_ext >&5 |
11982 | 11987 |
11983 done | 11988 done |
11984 fi | 11989 fi |
11985 | 11990 |
11986 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11991 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11987 echo "configure:11988: checking stack direction for C alloca" >&5 | 11992 echo "configure:11993: checking stack direction for C alloca" >&5 |
11988 | 11993 |
11989 cat > conftest.$ac_ext <<EOF | 11994 cat > conftest.$ac_ext <<EOF |
11990 #line 11991 "configure" | 11995 #line 11996 "configure" |
11991 #include "confdefs.h" | 11996 #include "confdefs.h" |
11992 find_stack_direction () | 11997 find_stack_direction () |
11993 { | 11998 { |
11994 static char *addr = 0; | 11999 static char *addr = 0; |
11995 auto char dummy; | 12000 auto char dummy; |
12004 main () | 12009 main () |
12005 { | 12010 { |
12006 exit (find_stack_direction() < 0); | 12011 exit (find_stack_direction() < 0); |
12007 } | 12012 } |
12008 EOF | 12013 EOF |
12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12010 then | 12015 then |
12011 ac_cv_c_stack_direction=1 | 12016 ac_cv_c_stack_direction=1 |
12012 else | 12017 else |
12013 conftest_rc="$?" | 12018 conftest_rc="$?" |
12014 echo "configure: failed program was:" >&5 | 12019 echo "configure: failed program was:" >&5 |
12033 echo " xemacs will be linked with \"$ALLOCA\"" | 12038 echo " xemacs will be linked with \"$ALLOCA\"" |
12034 fi | 12039 fi |
12035 fi | 12040 fi |
12036 | 12041 |
12037 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12042 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12038 echo "configure:12039: checking for working strcoll" >&5 | 12043 echo "configure:12044: checking for working strcoll" >&5 |
12039 | 12044 |
12040 cat > conftest.$ac_ext <<EOF | 12045 cat > conftest.$ac_ext <<EOF |
12041 #line 12042 "configure" | 12046 #line 12047 "configure" |
12042 #include "confdefs.h" | 12047 #include "confdefs.h" |
12043 #include <string.h> | 12048 #include <string.h> |
12044 main () | 12049 main () |
12045 { | 12050 { |
12046 exit (strcoll ("abc", "def") >= 0 || | 12051 exit (strcoll ("abc", "def") >= 0 || |
12047 strcoll ("ABC", "DEF") >= 0 || | 12052 strcoll ("ABC", "DEF") >= 0 || |
12048 strcoll ("123", "456") >= 0); | 12053 strcoll ("123", "456") >= 0); |
12049 } | 12054 } |
12050 EOF | 12055 EOF |
12051 if { (eval echo configure:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12056 if { (eval echo configure:12057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12052 then | 12057 then |
12053 ac_cv_func_strcoll_works=yes | 12058 ac_cv_func_strcoll_works=yes |
12054 else | 12059 else |
12055 conftest_rc="$?" | 12060 conftest_rc="$?" |
12056 echo "configure: failed program was:" >&5 | 12061 echo "configure: failed program was:" >&5 |
12074 | 12079 |
12075 | 12080 |
12076 for ac_func in getpgrp | 12081 for ac_func in getpgrp |
12077 do | 12082 do |
12078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12079 echo "configure:12080: checking for $ac_func" >&5 | 12084 echo "configure:12085: checking for $ac_func" >&5 |
12080 | 12085 |
12081 cat > conftest.$ac_ext <<EOF | 12086 cat > conftest.$ac_ext <<EOF |
12082 #line 12083 "configure" | 12087 #line 12088 "configure" |
12083 #include "confdefs.h" | 12088 #include "confdefs.h" |
12084 /* System header to define __stub macros and hopefully few prototypes, | 12089 /* System header to define __stub macros and hopefully few prototypes, |
12085 which can conflict with char $ac_func(); below. */ | 12090 which can conflict with char $ac_func(); below. */ |
12086 #include <assert.h> | 12091 #include <assert.h> |
12087 /* Override any gcc2 internal prototype to avoid an error. */ | 12092 /* Override any gcc2 internal prototype to avoid an error. */ |
12100 $ac_func(); | 12105 $ac_func(); |
12101 #endif | 12106 #endif |
12102 | 12107 |
12103 ; return 0; } | 12108 ; return 0; } |
12104 EOF | 12109 EOF |
12105 if { (eval echo configure:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12110 if { (eval echo configure:12111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12106 rm -rf conftest* | 12111 rm -rf conftest* |
12107 eval "ac_cv_func_$ac_func=yes" | 12112 eval "ac_cv_func_$ac_func=yes" |
12108 else | 12113 else |
12109 echo "configure: failed program was:" >&5 | 12114 echo "configure: failed program was:" >&5 |
12110 cat conftest.$ac_ext >&5 | 12115 cat conftest.$ac_ext >&5 |
12128 echo "$ac_t""no" 1>&6 | 12133 echo "$ac_t""no" 1>&6 |
12129 fi | 12134 fi |
12130 done | 12135 done |
12131 | 12136 |
12132 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12137 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12133 echo "configure:12134: checking whether getpgrp takes no argument" >&5 | 12138 echo "configure:12139: checking whether getpgrp takes no argument" >&5 |
12134 | 12139 |
12135 cat > conftest.$ac_ext <<EOF | 12140 cat > conftest.$ac_ext <<EOF |
12136 #line 12137 "configure" | 12141 #line 12142 "configure" |
12137 #include "confdefs.h" | 12142 #include "confdefs.h" |
12138 | 12143 |
12139 /* | 12144 /* |
12140 * If this system has a BSD-style getpgrp(), | 12145 * If this system has a BSD-style getpgrp(), |
12141 * which takes a pid argument, exit unsuccessfully. | 12146 * which takes a pid argument, exit unsuccessfully. |
12186 exit(s>>8); | 12191 exit(s>>8); |
12187 } | 12192 } |
12188 } | 12193 } |
12189 | 12194 |
12190 EOF | 12195 EOF |
12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12196 if { (eval echo configure:12197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12192 then | 12197 then |
12193 ac_cv_func_getpgrp_void=yes | 12198 ac_cv_func_getpgrp_void=yes |
12194 else | 12199 else |
12195 conftest_rc="$?" | 12200 conftest_rc="$?" |
12196 echo "configure: failed program was:" >&5 | 12201 echo "configure: failed program was:" >&5 |
12213 | 12218 |
12214 fi | 12219 fi |
12215 | 12220 |
12216 | 12221 |
12217 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12222 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12218 echo "configure:12219: checking for working mmap" >&5 | 12223 echo "configure:12224: checking for working mmap" >&5 |
12219 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12224 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12220 cat > conftest.$ac_ext <<EOF | 12225 cat > conftest.$ac_ext <<EOF |
12221 #line 12222 "configure" | 12226 #line 12227 "configure" |
12222 #include "confdefs.h" | 12227 #include "confdefs.h" |
12223 #include <stdio.h> | 12228 #include <stdio.h> |
12224 #include <unistd.h> | 12229 #include <unistd.h> |
12225 #include <fcntl.h> | 12230 #include <fcntl.h> |
12226 #include <sys/mman.h> | 12231 #include <sys/mman.h> |
12249 return 0; | 12254 return 0; |
12250 perror ("conftest: mmap failed"); | 12255 perror ("conftest: mmap failed"); |
12251 return 1; | 12256 return 1; |
12252 } | 12257 } |
12253 EOF | 12258 EOF |
12254 if { (eval echo configure:12255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12259 if { (eval echo configure:12260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12255 then | 12260 then |
12256 have_mmap=yes | 12261 have_mmap=yes |
12257 else | 12262 else |
12258 conftest_rc="$?" | 12263 conftest_rc="$?" |
12259 echo "configure: failed program was:" >&5 | 12264 echo "configure: failed program was:" >&5 |
12278 esac | 12283 esac |
12279 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12284 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12280 if test "$rel_alloc $have_mmap" = "default yes"; then | 12285 if test "$rel_alloc $have_mmap" = "default yes"; then |
12281 if test "$doug_lea_malloc" = "yes"; then | 12286 if test "$doug_lea_malloc" = "yes"; then |
12282 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12287 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking for M_MMAP_THRESHOLD" >&5 | 12288 echo "configure:12289: checking for M_MMAP_THRESHOLD" >&5 |
12284 cat > conftest.$ac_ext <<EOF | 12289 cat > conftest.$ac_ext <<EOF |
12285 #line 12286 "configure" | 12290 #line 12291 "configure" |
12286 #include "confdefs.h" | 12291 #include "confdefs.h" |
12287 #include <malloc.h> | 12292 #include <malloc.h> |
12288 int main() { | 12293 int main() { |
12289 | 12294 |
12290 #ifndef M_MMAP_THRESHOLD | 12295 #ifndef M_MMAP_THRESHOLD |
12292 !@+$%^&*_)(_ - unlikely to compile... | 12297 !@+$%^&*_)(_ - unlikely to compile... |
12293 #endif | 12298 #endif |
12294 | 12299 |
12295 ; return 0; } | 12300 ; return 0; } |
12296 EOF | 12301 EOF |
12297 if { (eval echo configure:12298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12302 if { (eval echo configure:12303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12298 rm -rf conftest* | 12303 rm -rf conftest* |
12299 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12304 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12300 else | 12305 else |
12301 echo "configure: failed program was:" >&5 | 12306 echo "configure: failed program was:" >&5 |
12302 cat conftest.$ac_ext >&5 | 12307 cat conftest.$ac_ext >&5 |
12317 } | 12322 } |
12318 | 12323 |
12319 | 12324 |
12320 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12325 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12321 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12326 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12322 echo "configure:12323: checking for termios.h" >&5 | 12327 echo "configure:12328: checking for termios.h" >&5 |
12323 | 12328 |
12324 cat > conftest.$ac_ext <<EOF | 12329 cat > conftest.$ac_ext <<EOF |
12325 #line 12326 "configure" | 12330 #line 12331 "configure" |
12326 #include "confdefs.h" | 12331 #include "confdefs.h" |
12327 #include <termios.h> | 12332 #include <termios.h> |
12328 EOF | 12333 EOF |
12329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12330 { (eval echo configure:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12335 { (eval echo configure:12336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12332 if test -z "$ac_err"; then | 12337 if test -z "$ac_err"; then |
12333 rm -rf conftest* | 12338 rm -rf conftest* |
12334 eval "ac_cv_header_$ac_safe=yes" | 12339 eval "ac_cv_header_$ac_safe=yes" |
12335 else | 12340 else |
12368 | 12373 |
12369 else | 12374 else |
12370 echo "$ac_t""no" 1>&6 | 12375 echo "$ac_t""no" 1>&6 |
12371 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12376 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12372 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12377 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12373 echo "configure:12374: checking for termio.h" >&5 | 12378 echo "configure:12379: checking for termio.h" >&5 |
12374 | 12379 |
12375 cat > conftest.$ac_ext <<EOF | 12380 cat > conftest.$ac_ext <<EOF |
12376 #line 12377 "configure" | 12381 #line 12382 "configure" |
12377 #include "confdefs.h" | 12382 #include "confdefs.h" |
12378 #include <termio.h> | 12383 #include <termio.h> |
12379 EOF | 12384 EOF |
12380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12381 { (eval echo configure:12382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12386 { (eval echo configure:12387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12383 if test -z "$ac_err"; then | 12388 if test -z "$ac_err"; then |
12384 rm -rf conftest* | 12389 rm -rf conftest* |
12385 eval "ac_cv_header_$ac_safe=yes" | 12390 eval "ac_cv_header_$ac_safe=yes" |
12386 else | 12391 else |
12408 fi | 12413 fi |
12409 | 12414 |
12410 | 12415 |
12411 | 12416 |
12412 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12417 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12413 echo "configure:12414: checking for socket" >&5 | 12418 echo "configure:12419: checking for socket" >&5 |
12414 | 12419 |
12415 cat > conftest.$ac_ext <<EOF | 12420 cat > conftest.$ac_ext <<EOF |
12416 #line 12417 "configure" | 12421 #line 12422 "configure" |
12417 #include "confdefs.h" | 12422 #include "confdefs.h" |
12418 /* System header to define __stub macros and hopefully few prototypes, | 12423 /* System header to define __stub macros and hopefully few prototypes, |
12419 which can conflict with char socket(); below. */ | 12424 which can conflict with char socket(); below. */ |
12420 #include <assert.h> | 12425 #include <assert.h> |
12421 /* Override any gcc2 internal prototype to avoid an error. */ | 12426 /* Override any gcc2 internal prototype to avoid an error. */ |
12434 socket(); | 12439 socket(); |
12435 #endif | 12440 #endif |
12436 | 12441 |
12437 ; return 0; } | 12442 ; return 0; } |
12438 EOF | 12443 EOF |
12439 if { (eval echo configure:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12440 rm -rf conftest* | 12445 rm -rf conftest* |
12441 eval "ac_cv_func_socket=yes" | 12446 eval "ac_cv_func_socket=yes" |
12442 else | 12447 else |
12443 echo "configure: failed program was:" >&5 | 12448 echo "configure: failed program was:" >&5 |
12444 cat conftest.$ac_ext >&5 | 12449 cat conftest.$ac_ext >&5 |
12449 | 12454 |
12450 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12455 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12451 echo "$ac_t""yes" 1>&6 | 12456 echo "$ac_t""yes" 1>&6 |
12452 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12457 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12453 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12458 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12454 echo "configure:12455: checking for netinet/in.h" >&5 | 12459 echo "configure:12460: checking for netinet/in.h" >&5 |
12455 | 12460 |
12456 cat > conftest.$ac_ext <<EOF | 12461 cat > conftest.$ac_ext <<EOF |
12457 #line 12458 "configure" | 12462 #line 12463 "configure" |
12458 #include "confdefs.h" | 12463 #include "confdefs.h" |
12459 #include <netinet/in.h> | 12464 #include <netinet/in.h> |
12460 EOF | 12465 EOF |
12461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12462 { (eval echo configure:12463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12467 { (eval echo configure:12468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12464 if test -z "$ac_err"; then | 12469 if test -z "$ac_err"; then |
12465 rm -rf conftest* | 12470 rm -rf conftest* |
12466 eval "ac_cv_header_$ac_safe=yes" | 12471 eval "ac_cv_header_$ac_safe=yes" |
12467 else | 12472 else |
12474 rm -f conftest* | 12479 rm -f conftest* |
12475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12480 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12476 echo "$ac_t""yes" 1>&6 | 12481 echo "$ac_t""yes" 1>&6 |
12477 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12482 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12478 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12483 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12479 echo "configure:12480: checking for arpa/inet.h" >&5 | 12484 echo "configure:12485: checking for arpa/inet.h" >&5 |
12480 | 12485 |
12481 cat > conftest.$ac_ext <<EOF | 12486 cat > conftest.$ac_ext <<EOF |
12482 #line 12483 "configure" | 12487 #line 12488 "configure" |
12483 #include "confdefs.h" | 12488 #include "confdefs.h" |
12484 #include <arpa/inet.h> | 12489 #include <arpa/inet.h> |
12485 EOF | 12490 EOF |
12486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12487 { (eval echo configure:12488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12492 { (eval echo configure:12493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12489 if test -z "$ac_err"; then | 12494 if test -z "$ac_err"; then |
12490 rm -rf conftest* | 12495 rm -rf conftest* |
12491 eval "ac_cv_header_$ac_safe=yes" | 12496 eval "ac_cv_header_$ac_safe=yes" |
12492 else | 12497 else |
12507 #define HAVE_SOCKETS 1 | 12512 #define HAVE_SOCKETS 1 |
12508 EOF | 12513 EOF |
12509 } | 12514 } |
12510 | 12515 |
12511 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12516 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12512 echo "configure:12513: checking "for sun_len member in struct sockaddr_un"" >&5 | 12517 echo "configure:12518: checking "for sun_len member in struct sockaddr_un"" >&5 |
12513 cat > conftest.$ac_ext <<EOF | 12518 cat > conftest.$ac_ext <<EOF |
12514 #line 12515 "configure" | 12519 #line 12520 "configure" |
12515 #include "confdefs.h" | 12520 #include "confdefs.h" |
12516 | 12521 |
12517 #include <sys/types.h> | 12522 #include <sys/types.h> |
12518 #include <sys/socket.h> | 12523 #include <sys/socket.h> |
12519 #include <sys/un.h> | 12524 #include <sys/un.h> |
12520 | 12525 |
12521 int main() { | 12526 int main() { |
12522 static struct sockaddr_un x; x.sun_len = 1; | 12527 static struct sockaddr_un x; x.sun_len = 1; |
12523 ; return 0; } | 12528 ; return 0; } |
12524 EOF | 12529 EOF |
12525 if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12530 if { (eval echo configure:12531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12526 rm -rf conftest* | 12531 rm -rf conftest* |
12527 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12532 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12528 Defining HAVE_SOCKADDR_SUN_LEN | 12533 Defining HAVE_SOCKADDR_SUN_LEN |
12529 EOF | 12534 EOF |
12530 cat >> confdefs.h <<\EOF | 12535 cat >> confdefs.h <<\EOF |
12538 rm -rf conftest* | 12543 rm -rf conftest* |
12539 echo "$ac_t""no" 1>&6 | 12544 echo "$ac_t""no" 1>&6 |
12540 fi | 12545 fi |
12541 rm -f conftest* | 12546 rm -f conftest* |
12542 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12547 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12543 echo "configure:12544: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12548 echo "configure:12549: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12544 cat > conftest.$ac_ext <<EOF | 12549 cat > conftest.$ac_ext <<EOF |
12545 #line 12546 "configure" | 12550 #line 12551 "configure" |
12546 #include "confdefs.h" | 12551 #include "confdefs.h" |
12547 | 12552 |
12548 #include <sys/types.h> | 12553 #include <sys/types.h> |
12549 #include <netinet/in.h> | 12554 #include <netinet/in.h> |
12550 | 12555 |
12551 int main() { | 12556 int main() { |
12552 static struct ip_mreq x; | 12557 static struct ip_mreq x; |
12553 ; return 0; } | 12558 ; return 0; } |
12554 EOF | 12559 EOF |
12555 if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12560 if { (eval echo configure:12561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12556 rm -rf conftest* | 12561 rm -rf conftest* |
12557 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12562 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12558 Defining HAVE_MULTICAST | 12563 Defining HAVE_MULTICAST |
12559 EOF | 12564 EOF |
12560 cat >> confdefs.h <<\EOF | 12565 cat >> confdefs.h <<\EOF |
12581 echo "$ac_t""no" 1>&6 | 12586 echo "$ac_t""no" 1>&6 |
12582 fi | 12587 fi |
12583 | 12588 |
12584 | 12589 |
12585 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12590 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12586 echo "configure:12587: checking for msgget" >&5 | 12591 echo "configure:12592: checking for msgget" >&5 |
12587 | 12592 |
12588 cat > conftest.$ac_ext <<EOF | 12593 cat > conftest.$ac_ext <<EOF |
12589 #line 12590 "configure" | 12594 #line 12595 "configure" |
12590 #include "confdefs.h" | 12595 #include "confdefs.h" |
12591 /* System header to define __stub macros and hopefully few prototypes, | 12596 /* System header to define __stub macros and hopefully few prototypes, |
12592 which can conflict with char msgget(); below. */ | 12597 which can conflict with char msgget(); below. */ |
12593 #include <assert.h> | 12598 #include <assert.h> |
12594 /* Override any gcc2 internal prototype to avoid an error. */ | 12599 /* Override any gcc2 internal prototype to avoid an error. */ |
12607 msgget(); | 12612 msgget(); |
12608 #endif | 12613 #endif |
12609 | 12614 |
12610 ; return 0; } | 12615 ; return 0; } |
12611 EOF | 12616 EOF |
12612 if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12617 if { (eval echo configure:12618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12613 rm -rf conftest* | 12618 rm -rf conftest* |
12614 eval "ac_cv_func_msgget=yes" | 12619 eval "ac_cv_func_msgget=yes" |
12615 else | 12620 else |
12616 echo "configure: failed program was:" >&5 | 12621 echo "configure: failed program was:" >&5 |
12617 cat conftest.$ac_ext >&5 | 12622 cat conftest.$ac_ext >&5 |
12622 | 12627 |
12623 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12628 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12624 echo "$ac_t""yes" 1>&6 | 12629 echo "$ac_t""yes" 1>&6 |
12625 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12630 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12626 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12631 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12627 echo "configure:12628: checking for sys/ipc.h" >&5 | 12632 echo "configure:12633: checking for sys/ipc.h" >&5 |
12628 | 12633 |
12629 cat > conftest.$ac_ext <<EOF | 12634 cat > conftest.$ac_ext <<EOF |
12630 #line 12631 "configure" | 12635 #line 12636 "configure" |
12631 #include "confdefs.h" | 12636 #include "confdefs.h" |
12632 #include <sys/ipc.h> | 12637 #include <sys/ipc.h> |
12633 EOF | 12638 EOF |
12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12640 { (eval echo configure:12641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12637 if test -z "$ac_err"; then | 12642 if test -z "$ac_err"; then |
12638 rm -rf conftest* | 12643 rm -rf conftest* |
12639 eval "ac_cv_header_$ac_safe=yes" | 12644 eval "ac_cv_header_$ac_safe=yes" |
12640 else | 12645 else |
12647 rm -f conftest* | 12652 rm -f conftest* |
12648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12653 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12649 echo "$ac_t""yes" 1>&6 | 12654 echo "$ac_t""yes" 1>&6 |
12650 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12655 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12651 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12656 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12652 echo "configure:12653: checking for sys/msg.h" >&5 | 12657 echo "configure:12658: checking for sys/msg.h" >&5 |
12653 | 12658 |
12654 cat > conftest.$ac_ext <<EOF | 12659 cat > conftest.$ac_ext <<EOF |
12655 #line 12656 "configure" | 12660 #line 12661 "configure" |
12656 #include "confdefs.h" | 12661 #include "confdefs.h" |
12657 #include <sys/msg.h> | 12662 #include <sys/msg.h> |
12658 EOF | 12663 EOF |
12659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12660 { (eval echo configure:12661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12665 { (eval echo configure:12666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12662 if test -z "$ac_err"; then | 12667 if test -z "$ac_err"; then |
12663 rm -rf conftest* | 12668 rm -rf conftest* |
12664 eval "ac_cv_header_$ac_safe=yes" | 12669 eval "ac_cv_header_$ac_safe=yes" |
12665 else | 12670 else |
12693 fi | 12698 fi |
12694 | 12699 |
12695 | 12700 |
12696 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12701 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12697 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12702 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12698 echo "configure:12699: checking for dirent.h" >&5 | 12703 echo "configure:12704: checking for dirent.h" >&5 |
12699 | 12704 |
12700 cat > conftest.$ac_ext <<EOF | 12705 cat > conftest.$ac_ext <<EOF |
12701 #line 12702 "configure" | 12706 #line 12707 "configure" |
12702 #include "confdefs.h" | 12707 #include "confdefs.h" |
12703 #include <dirent.h> | 12708 #include <dirent.h> |
12704 EOF | 12709 EOF |
12705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12706 { (eval echo configure:12707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12711 { (eval echo configure:12712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12708 if test -z "$ac_err"; then | 12713 if test -z "$ac_err"; then |
12709 rm -rf conftest* | 12714 rm -rf conftest* |
12710 eval "ac_cv_header_$ac_safe=yes" | 12715 eval "ac_cv_header_$ac_safe=yes" |
12711 else | 12716 else |
12728 | 12733 |
12729 else | 12734 else |
12730 echo "$ac_t""no" 1>&6 | 12735 echo "$ac_t""no" 1>&6 |
12731 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12736 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12732 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12737 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12733 echo "configure:12734: checking for sys/dir.h" >&5 | 12738 echo "configure:12739: checking for sys/dir.h" >&5 |
12734 | 12739 |
12735 cat > conftest.$ac_ext <<EOF | 12740 cat > conftest.$ac_ext <<EOF |
12736 #line 12737 "configure" | 12741 #line 12742 "configure" |
12737 #include "confdefs.h" | 12742 #include "confdefs.h" |
12738 #include <sys/dir.h> | 12743 #include <sys/dir.h> |
12739 EOF | 12744 EOF |
12740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12741 { (eval echo configure:12742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12746 { (eval echo configure:12747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12743 if test -z "$ac_err"; then | 12748 if test -z "$ac_err"; then |
12744 rm -rf conftest* | 12749 rm -rf conftest* |
12745 eval "ac_cv_header_$ac_safe=yes" | 12750 eval "ac_cv_header_$ac_safe=yes" |
12746 else | 12751 else |
12769 fi | 12774 fi |
12770 | 12775 |
12771 | 12776 |
12772 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12777 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12773 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12778 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12774 echo "configure:12775: checking for nlist.h" >&5 | 12779 echo "configure:12780: checking for nlist.h" >&5 |
12775 | 12780 |
12776 cat > conftest.$ac_ext <<EOF | 12781 cat > conftest.$ac_ext <<EOF |
12777 #line 12778 "configure" | 12782 #line 12783 "configure" |
12778 #include "confdefs.h" | 12783 #include "confdefs.h" |
12779 #include <nlist.h> | 12784 #include <nlist.h> |
12780 EOF | 12785 EOF |
12781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12782 { (eval echo configure:12783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12787 { (eval echo configure:12788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12784 if test -z "$ac_err"; then | 12789 if test -z "$ac_err"; then |
12785 rm -rf conftest* | 12790 rm -rf conftest* |
12786 eval "ac_cv_header_$ac_safe=yes" | 12791 eval "ac_cv_header_$ac_safe=yes" |
12787 else | 12792 else |
12807 fi | 12812 fi |
12808 | 12813 |
12809 | 12814 |
12810 | 12815 |
12811 echo "checking "for sound support"" 1>&6 | 12816 echo "checking "for sound support"" 1>&6 |
12812 echo "configure:12813: checking "for sound support"" >&5 | 12817 echo "configure:12818: checking "for sound support"" >&5 |
12813 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12818 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12814 | 12819 |
12815 if test "$with_native_sound" != "no"; then | 12820 if test "$with_native_sound" != "no"; then |
12816 if test -n "$native_sound_lib"; then | 12821 if test -n "$native_sound_lib"; then |
12817 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12822 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12818 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12823 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12819 echo "configure:12820: checking for multimedia/audio_device.h" >&5 | 12824 echo "configure:12825: checking for multimedia/audio_device.h" >&5 |
12820 | 12825 |
12821 cat > conftest.$ac_ext <<EOF | 12826 cat > conftest.$ac_ext <<EOF |
12822 #line 12823 "configure" | 12827 #line 12828 "configure" |
12823 #include "confdefs.h" | 12828 #include "confdefs.h" |
12824 #include <multimedia/audio_device.h> | 12829 #include <multimedia/audio_device.h> |
12825 EOF | 12830 EOF |
12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12832 { (eval echo configure:12833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12829 if test -z "$ac_err"; then | 12834 if test -z "$ac_err"; then |
12830 rm -rf conftest* | 12835 rm -rf conftest* |
12831 eval "ac_cv_header_$ac_safe=yes" | 12836 eval "ac_cv_header_$ac_safe=yes" |
12832 else | 12837 else |
12870 case "$canonical" in | 12875 case "$canonical" in |
12871 *-sgi-* ) | 12876 *-sgi-* ) |
12872 if test -z "$native_sound_lib"; then | 12877 if test -z "$native_sound_lib"; then |
12873 | 12878 |
12874 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12879 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12875 echo "configure:12876: checking for ALopenport in -laudio" >&5 | 12880 echo "configure:12881: checking for ALopenport in -laudio" >&5 |
12876 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12881 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12877 | 12882 |
12878 xe_check_libs=" -laudio " | 12883 xe_check_libs=" -laudio " |
12879 cat > conftest.$ac_ext <<EOF | 12884 cat > conftest.$ac_ext <<EOF |
12880 #line 12881 "configure" | 12885 #line 12886 "configure" |
12881 #include "confdefs.h" | 12886 #include "confdefs.h" |
12882 /* Override any gcc2 internal prototype to avoid an error. */ | 12887 /* Override any gcc2 internal prototype to avoid an error. */ |
12883 /* We use char because int might match the return type of a gcc2 | 12888 /* We use char because int might match the return type of a gcc2 |
12884 builtin and then its argument prototype would still apply. */ | 12889 builtin and then its argument prototype would still apply. */ |
12885 char ALopenport(); | 12890 char ALopenport(); |
12886 | 12891 |
12887 int main() { | 12892 int main() { |
12888 ALopenport() | 12893 ALopenport() |
12889 ; return 0; } | 12894 ; return 0; } |
12890 EOF | 12895 EOF |
12891 if { (eval echo configure:12892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12896 if { (eval echo configure:12897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12892 rm -rf conftest* | 12897 rm -rf conftest* |
12893 eval "ac_cv_lib_$ac_lib_var=yes" | 12898 eval "ac_cv_lib_$ac_lib_var=yes" |
12894 else | 12899 else |
12895 echo "configure: failed program was:" >&5 | 12900 echo "configure: failed program was:" >&5 |
12896 cat conftest.$ac_ext >&5 | 12901 cat conftest.$ac_ext >&5 |
12917 fi ;; | 12922 fi ;; |
12918 hppa*-hp-hpux* ) | 12923 hppa*-hp-hpux* ) |
12919 if test -z "$native_sound_lib"; then | 12924 if test -z "$native_sound_lib"; then |
12920 | 12925 |
12921 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12926 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12922 echo "configure:12923: checking for AOpenAudio in -lAlib" >&5 | 12927 echo "configure:12928: checking for AOpenAudio in -lAlib" >&5 |
12923 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12928 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12924 | 12929 |
12925 xe_check_libs=" -lAlib " | 12930 xe_check_libs=" -lAlib " |
12926 cat > conftest.$ac_ext <<EOF | 12931 cat > conftest.$ac_ext <<EOF |
12927 #line 12928 "configure" | 12932 #line 12933 "configure" |
12928 #include "confdefs.h" | 12933 #include "confdefs.h" |
12929 /* Override any gcc2 internal prototype to avoid an error. */ | 12934 /* Override any gcc2 internal prototype to avoid an error. */ |
12930 /* We use char because int might match the return type of a gcc2 | 12935 /* We use char because int might match the return type of a gcc2 |
12931 builtin and then its argument prototype would still apply. */ | 12936 builtin and then its argument prototype would still apply. */ |
12932 char AOpenAudio(); | 12937 char AOpenAudio(); |
12933 | 12938 |
12934 int main() { | 12939 int main() { |
12935 AOpenAudio() | 12940 AOpenAudio() |
12936 ; return 0; } | 12941 ; return 0; } |
12937 EOF | 12942 EOF |
12938 if { (eval echo configure:12939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12943 if { (eval echo configure:12944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12939 rm -rf conftest* | 12944 rm -rf conftest* |
12940 eval "ac_cv_lib_$ac_lib_var=yes" | 12945 eval "ac_cv_lib_$ac_lib_var=yes" |
12941 else | 12946 else |
12942 echo "configure: failed program was:" >&5 | 12947 echo "configure: failed program was:" >&5 |
12943 cat conftest.$ac_ext >&5 | 12948 cat conftest.$ac_ext >&5 |
12981 | 12986 |
12982 if test -z "$sound_found"; then | 12987 if test -z "$sound_found"; then |
12983 for dir in "machine" "sys" "linux"; do | 12988 for dir in "machine" "sys" "linux"; do |
12984 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12989 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12985 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12990 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12986 echo "configure:12987: checking for ${dir}/soundcard.h" >&5 | 12991 echo "configure:12992: checking for ${dir}/soundcard.h" >&5 |
12987 | 12992 |
12988 cat > conftest.$ac_ext <<EOF | 12993 cat > conftest.$ac_ext <<EOF |
12989 #line 12990 "configure" | 12994 #line 12995 "configure" |
12990 #include "confdefs.h" | 12995 #include "confdefs.h" |
12991 #include <${dir}/soundcard.h> | 12996 #include <${dir}/soundcard.h> |
12992 EOF | 12997 EOF |
12993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12994 { (eval echo configure:12995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12999 { (eval echo configure:13000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12996 if test -z "$ac_err"; then | 13001 if test -z "$ac_err"; then |
12997 rm -rf conftest* | 13002 rm -rf conftest* |
12998 eval "ac_cv_header_$ac_safe=yes" | 13003 eval "ac_cv_header_$ac_safe=yes" |
12999 else | 13004 else |
13043 fi | 13048 fi |
13044 | 13049 |
13045 if test "$with_nas_sound" != "no"; then | 13050 if test "$with_nas_sound" != "no"; then |
13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13051 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13052 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13048 echo "configure:13049: checking for audio/audiolib.h" >&5 | 13053 echo "configure:13054: checking for audio/audiolib.h" >&5 |
13049 | 13054 |
13050 cat > conftest.$ac_ext <<EOF | 13055 cat > conftest.$ac_ext <<EOF |
13051 #line 13052 "configure" | 13056 #line 13057 "configure" |
13052 #include "confdefs.h" | 13057 #include "confdefs.h" |
13053 #include <audio/audiolib.h> | 13058 #include <audio/audiolib.h> |
13054 EOF | 13059 EOF |
13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13061 { (eval echo configure:13062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13058 if test -z "$ac_err"; then | 13063 if test -z "$ac_err"; then |
13059 rm -rf conftest* | 13064 rm -rf conftest* |
13060 eval "ac_cv_header_$ac_safe=yes" | 13065 eval "ac_cv_header_$ac_safe=yes" |
13061 else | 13066 else |
13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13070 echo "$ac_t""yes" 1>&6 | 13075 echo "$ac_t""yes" 1>&6 |
13071 | 13076 |
13072 | 13077 |
13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13078 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5 | 13079 echo "configure:13080: checking for AuOpenServer in -laudio" >&5 |
13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13080 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13076 | 13081 |
13077 xe_check_libs=" -laudio " | 13082 xe_check_libs=" -laudio " |
13078 cat > conftest.$ac_ext <<EOF | 13083 cat > conftest.$ac_ext <<EOF |
13079 #line 13080 "configure" | 13084 #line 13085 "configure" |
13080 #include "confdefs.h" | 13085 #include "confdefs.h" |
13081 /* Override any gcc2 internal prototype to avoid an error. */ | 13086 /* Override any gcc2 internal prototype to avoid an error. */ |
13082 /* We use char because int might match the return type of a gcc2 | 13087 /* We use char because int might match the return type of a gcc2 |
13083 builtin and then its argument prototype would still apply. */ | 13088 builtin and then its argument prototype would still apply. */ |
13084 char AuOpenServer(); | 13089 char AuOpenServer(); |
13085 | 13090 |
13086 int main() { | 13091 int main() { |
13087 AuOpenServer() | 13092 AuOpenServer() |
13088 ; return 0; } | 13093 ; return 0; } |
13089 EOF | 13094 EOF |
13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13095 if { (eval echo configure:13096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13091 rm -rf conftest* | 13096 rm -rf conftest* |
13092 eval "ac_cv_lib_$ac_lib_var=yes" | 13097 eval "ac_cv_lib_$ac_lib_var=yes" |
13093 else | 13098 else |
13094 echo "configure: failed program was:" >&5 | 13099 echo "configure: failed program was:" >&5 |
13095 cat conftest.$ac_ext >&5 | 13100 cat conftest.$ac_ext >&5 |
13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13129 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13125 echo " xemacs will be linked with \"nas.o\"" | 13130 echo " xemacs will be linked with \"nas.o\"" |
13126 fi | 13131 fi |
13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13132 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13128 cat > conftest.$ac_ext <<EOF | 13133 cat > conftest.$ac_ext <<EOF |
13129 #line 13130 "configure" | 13134 #line 13135 "configure" |
13130 #include "confdefs.h" | 13135 #include "confdefs.h" |
13131 #include <audio/Xtutil.h> | 13136 #include <audio/Xtutil.h> |
13132 EOF | 13137 EOF |
13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13139 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13155 | 13160 |
13156 if test "$with_esd_sound" != "no"; then | 13161 if test "$with_esd_sound" != "no"; then |
13157 # Extract the first word of "esd-config", so it can be a program name with args. | 13162 # Extract the first word of "esd-config", so it can be a program name with args. |
13158 set dummy esd-config; ac_word=$2 | 13163 set dummy esd-config; ac_word=$2 |
13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13160 echo "configure:13161: checking for $ac_word" >&5 | 13165 echo "configure:13166: checking for $ac_word" >&5 |
13161 | 13166 |
13162 if test -n "$have_esd_config"; then | 13167 if test -n "$have_esd_config"; then |
13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13168 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13164 else | 13169 else |
13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13184 if test "$have_esd_config" = "yes"; then | 13189 if test "$have_esd_config" = "yes"; then |
13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13190 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13186 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13191 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 |
13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13192 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13193 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13189 echo "configure:13190: checking for esd_play_stream" >&5 | 13194 echo "configure:13195: checking for esd_play_stream" >&5 |
13190 | 13195 |
13191 cat > conftest.$ac_ext <<EOF | 13196 cat > conftest.$ac_ext <<EOF |
13192 #line 13193 "configure" | 13197 #line 13198 "configure" |
13193 #include "confdefs.h" | 13198 #include "confdefs.h" |
13194 /* System header to define __stub macros and hopefully few prototypes, | 13199 /* System header to define __stub macros and hopefully few prototypes, |
13195 which can conflict with char esd_play_stream(); below. */ | 13200 which can conflict with char esd_play_stream(); below. */ |
13196 #include <assert.h> | 13201 #include <assert.h> |
13197 /* Override any gcc2 internal prototype to avoid an error. */ | 13202 /* Override any gcc2 internal prototype to avoid an error. */ |
13210 esd_play_stream(); | 13215 esd_play_stream(); |
13211 #endif | 13216 #endif |
13212 | 13217 |
13213 ; return 0; } | 13218 ; return 0; } |
13214 EOF | 13219 EOF |
13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13220 if { (eval echo configure:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13216 rm -rf conftest* | 13221 rm -rf conftest* |
13217 eval "ac_cv_func_esd_play_stream=yes" | 13222 eval "ac_cv_func_esd_play_stream=yes" |
13218 else | 13223 else |
13219 echo "configure: failed program was:" >&5 | 13224 echo "configure: failed program was:" >&5 |
13220 cat conftest.$ac_ext >&5 | 13225 cat conftest.$ac_ext >&5 |
13261 | 13266 |
13262 test -z "$with_tty" && with_tty=yes | 13267 test -z "$with_tty" && with_tty=yes |
13263 | 13268 |
13264 if test "$with_tty" = "yes" ; then | 13269 if test "$with_tty" = "yes" ; then |
13265 echo "checking for TTY-related features" 1>&6 | 13270 echo "checking for TTY-related features" 1>&6 |
13266 echo "configure:13267: checking for TTY-related features" >&5 | 13271 echo "configure:13272: checking for TTY-related features" >&5 |
13267 { test "$extra_verbose" = "yes" && cat << \EOF | 13272 { test "$extra_verbose" = "yes" && cat << \EOF |
13268 Defining HAVE_TTY | 13273 Defining HAVE_TTY |
13269 EOF | 13274 EOF |
13270 cat >> confdefs.h <<\EOF | 13275 cat >> confdefs.h <<\EOF |
13271 #define HAVE_TTY 1 | 13276 #define HAVE_TTY 1 |
13274 | 13279 |
13275 | 13280 |
13276 if test -z "$with_ncurses"; then | 13281 if test -z "$with_ncurses"; then |
13277 | 13282 |
13278 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13283 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13279 echo "configure:13280: checking for tgetent in -lncurses" >&5 | 13284 echo "configure:13285: checking for tgetent in -lncurses" >&5 |
13280 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13285 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13281 | 13286 |
13282 xe_check_libs=" -lncurses " | 13287 xe_check_libs=" -lncurses " |
13283 cat > conftest.$ac_ext <<EOF | 13288 cat > conftest.$ac_ext <<EOF |
13284 #line 13285 "configure" | 13289 #line 13290 "configure" |
13285 #include "confdefs.h" | 13290 #include "confdefs.h" |
13286 /* Override any gcc2 internal prototype to avoid an error. */ | 13291 /* Override any gcc2 internal prototype to avoid an error. */ |
13287 /* We use char because int might match the return type of a gcc2 | 13292 /* We use char because int might match the return type of a gcc2 |
13288 builtin and then its argument prototype would still apply. */ | 13293 builtin and then its argument prototype would still apply. */ |
13289 char tgetent(); | 13294 char tgetent(); |
13290 | 13295 |
13291 int main() { | 13296 int main() { |
13292 tgetent() | 13297 tgetent() |
13293 ; return 0; } | 13298 ; return 0; } |
13294 EOF | 13299 EOF |
13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13296 rm -rf conftest* | 13301 rm -rf conftest* |
13297 eval "ac_cv_lib_$ac_lib_var=yes" | 13302 eval "ac_cv_lib_$ac_lib_var=yes" |
13298 else | 13303 else |
13299 echo "configure: failed program was:" >&5 | 13304 echo "configure: failed program was:" >&5 |
13300 cat conftest.$ac_ext >&5 | 13305 cat conftest.$ac_ext >&5 |
13323 EOF | 13328 EOF |
13324 } | 13329 } |
13325 | 13330 |
13326 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13331 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13327 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13332 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13328 echo "configure:13329: checking for ncurses/curses.h" >&5 | 13333 echo "configure:13334: checking for ncurses/curses.h" >&5 |
13329 | 13334 |
13330 cat > conftest.$ac_ext <<EOF | 13335 cat > conftest.$ac_ext <<EOF |
13331 #line 13332 "configure" | 13336 #line 13337 "configure" |
13332 #include "confdefs.h" | 13337 #include "confdefs.h" |
13333 #include <ncurses/curses.h> | 13338 #include <ncurses/curses.h> |
13334 EOF | 13339 EOF |
13335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13336 { (eval echo configure:13337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13341 { (eval echo configure:13342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13338 if test -z "$ac_err"; then | 13343 if test -z "$ac_err"; then |
13339 rm -rf conftest* | 13344 rm -rf conftest* |
13340 eval "ac_cv_header_$ac_safe=yes" | 13345 eval "ac_cv_header_$ac_safe=yes" |
13341 else | 13346 else |
13353 echo "$ac_t""no" 1>&6 | 13358 echo "$ac_t""no" 1>&6 |
13354 fi | 13359 fi |
13355 | 13360 |
13356 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13361 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13357 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13362 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13358 echo "configure:13359: checking for ncurses/term.h" >&5 | 13363 echo "configure:13364: checking for ncurses/term.h" >&5 |
13359 | 13364 |
13360 cat > conftest.$ac_ext <<EOF | 13365 cat > conftest.$ac_ext <<EOF |
13361 #line 13362 "configure" | 13366 #line 13367 "configure" |
13362 #include "confdefs.h" | 13367 #include "confdefs.h" |
13363 #include <ncurses/term.h> | 13368 #include <ncurses/term.h> |
13364 EOF | 13369 EOF |
13365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13366 { (eval echo configure:13367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13371 { (eval echo configure:13372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13368 if test -z "$ac_err"; then | 13373 if test -z "$ac_err"; then |
13369 rm -rf conftest* | 13374 rm -rf conftest* |
13370 eval "ac_cv_header_$ac_safe=yes" | 13375 eval "ac_cv_header_$ac_safe=yes" |
13371 else | 13376 else |
13391 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13396 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13392 save_c_switch_site="$c_switch_site" | 13397 save_c_switch_site="$c_switch_site" |
13393 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13398 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13394 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13399 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13395 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13400 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13396 echo "configure:13397: checking for ncurses/curses.h" >&5 | 13401 echo "configure:13402: checking for ncurses/curses.h" >&5 |
13397 | 13402 |
13398 cat > conftest.$ac_ext <<EOF | 13403 cat > conftest.$ac_ext <<EOF |
13399 #line 13400 "configure" | 13404 #line 13405 "configure" |
13400 #include "confdefs.h" | 13405 #include "confdefs.h" |
13401 #include <ncurses/curses.h> | 13406 #include <ncurses/curses.h> |
13402 EOF | 13407 EOF |
13403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13404 { (eval echo configure:13405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13409 { (eval echo configure:13410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13406 if test -z "$ac_err"; then | 13411 if test -z "$ac_err"; then |
13407 rm -rf conftest* | 13412 rm -rf conftest* |
13408 eval "ac_cv_header_$ac_safe=yes" | 13413 eval "ac_cv_header_$ac_safe=yes" |
13409 else | 13414 else |
13434 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13439 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13435 else | 13440 else |
13436 for lib in curses termlib termcap; do | 13441 for lib in curses termlib termcap; do |
13437 | 13442 |
13438 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13443 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13439 echo "configure:13440: checking for tgetent in -l$lib" >&5 | 13444 echo "configure:13445: checking for tgetent in -l$lib" >&5 |
13440 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13445 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13441 | 13446 |
13442 xe_check_libs=" -l$lib " | 13447 xe_check_libs=" -l$lib " |
13443 cat > conftest.$ac_ext <<EOF | 13448 cat > conftest.$ac_ext <<EOF |
13444 #line 13445 "configure" | 13449 #line 13450 "configure" |
13445 #include "confdefs.h" | 13450 #include "confdefs.h" |
13446 /* Override any gcc2 internal prototype to avoid an error. */ | 13451 /* Override any gcc2 internal prototype to avoid an error. */ |
13447 /* We use char because int might match the return type of a gcc2 | 13452 /* We use char because int might match the return type of a gcc2 |
13448 builtin and then its argument prototype would still apply. */ | 13453 builtin and then its argument prototype would still apply. */ |
13449 char tgetent(); | 13454 char tgetent(); |
13450 | 13455 |
13451 int main() { | 13456 int main() { |
13452 tgetent() | 13457 tgetent() |
13453 ; return 0; } | 13458 ; return 0; } |
13454 EOF | 13459 EOF |
13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13456 rm -rf conftest* | 13461 rm -rf conftest* |
13457 eval "ac_cv_lib_$ac_lib_var=yes" | 13462 eval "ac_cv_lib_$ac_lib_var=yes" |
13458 else | 13463 else |
13459 echo "configure: failed program was:" >&5 | 13464 echo "configure: failed program was:" >&5 |
13460 cat conftest.$ac_ext >&5 | 13465 cat conftest.$ac_ext >&5 |
13481 if test -n "$libs_termcap"; then | 13486 if test -n "$libs_termcap"; then |
13482 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13487 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13483 else | 13488 else |
13484 | 13489 |
13485 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13490 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13486 echo "configure:13487: checking for tgetent in -lcurses" >&5 | 13491 echo "configure:13492: checking for tgetent in -lcurses" >&5 |
13487 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13492 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13488 | 13493 |
13489 xe_check_libs=" -lcurses " | 13494 xe_check_libs=" -lcurses " |
13490 cat > conftest.$ac_ext <<EOF | 13495 cat > conftest.$ac_ext <<EOF |
13491 #line 13492 "configure" | 13496 #line 13497 "configure" |
13492 #include "confdefs.h" | 13497 #include "confdefs.h" |
13493 /* Override any gcc2 internal prototype to avoid an error. */ | 13498 /* Override any gcc2 internal prototype to avoid an error. */ |
13494 /* We use char because int might match the return type of a gcc2 | 13499 /* We use char because int might match the return type of a gcc2 |
13495 builtin and then its argument prototype would still apply. */ | 13500 builtin and then its argument prototype would still apply. */ |
13496 char tgetent(); | 13501 char tgetent(); |
13497 | 13502 |
13498 int main() { | 13503 int main() { |
13499 tgetent() | 13504 tgetent() |
13500 ; return 0; } | 13505 ; return 0; } |
13501 EOF | 13506 EOF |
13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13507 if { (eval echo configure:13508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13503 rm -rf conftest* | 13508 rm -rf conftest* |
13504 eval "ac_cv_lib_$ac_lib_var=yes" | 13509 eval "ac_cv_lib_$ac_lib_var=yes" |
13505 else | 13510 else |
13506 echo "configure: failed program was:" >&5 | 13511 echo "configure: failed program was:" >&5 |
13507 cat conftest.$ac_ext >&5 | 13512 cat conftest.$ac_ext >&5 |
13515 echo "$ac_t""yes" 1>&6 | 13520 echo "$ac_t""yes" 1>&6 |
13516 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13521 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13517 else | 13522 else |
13518 echo "$ac_t""no" 1>&6 | 13523 echo "$ac_t""no" 1>&6 |
13519 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13524 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13520 echo "configure:13521: checking for tgetent in -ltermcap" >&5 | 13525 echo "configure:13526: checking for tgetent in -ltermcap" >&5 |
13521 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13526 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13522 | 13527 |
13523 xe_check_libs=" -ltermcap " | 13528 xe_check_libs=" -ltermcap " |
13524 cat > conftest.$ac_ext <<EOF | 13529 cat > conftest.$ac_ext <<EOF |
13525 #line 13526 "configure" | 13530 #line 13531 "configure" |
13526 #include "confdefs.h" | 13531 #include "confdefs.h" |
13527 /* Override any gcc2 internal prototype to avoid an error. */ | 13532 /* Override any gcc2 internal prototype to avoid an error. */ |
13528 /* We use char because int might match the return type of a gcc2 | 13533 /* We use char because int might match the return type of a gcc2 |
13529 builtin and then its argument prototype would still apply. */ | 13534 builtin and then its argument prototype would still apply. */ |
13530 char tgetent(); | 13535 char tgetent(); |
13531 | 13536 |
13532 int main() { | 13537 int main() { |
13533 tgetent() | 13538 tgetent() |
13534 ; return 0; } | 13539 ; return 0; } |
13535 EOF | 13540 EOF |
13536 if { (eval echo configure:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13537 rm -rf conftest* | 13542 rm -rf conftest* |
13538 eval "ac_cv_lib_$ac_lib_var=yes" | 13543 eval "ac_cv_lib_$ac_lib_var=yes" |
13539 else | 13544 else |
13540 echo "configure: failed program was:" >&5 | 13545 echo "configure: failed program was:" >&5 |
13541 cat conftest.$ac_ext >&5 | 13546 cat conftest.$ac_ext >&5 |
13579 } | 13584 } |
13580 | 13585 |
13581 | 13586 |
13582 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13587 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13583 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13588 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13584 echo "configure:13585: checking for gpm.h" >&5 | 13589 echo "configure:13590: checking for gpm.h" >&5 |
13585 | 13590 |
13586 cat > conftest.$ac_ext <<EOF | 13591 cat > conftest.$ac_ext <<EOF |
13587 #line 13588 "configure" | 13592 #line 13593 "configure" |
13588 #include "confdefs.h" | 13593 #include "confdefs.h" |
13589 #include <gpm.h> | 13594 #include <gpm.h> |
13590 EOF | 13595 EOF |
13591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13592 { (eval echo configure:13593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13597 { (eval echo configure:13598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13594 if test -z "$ac_err"; then | 13599 if test -z "$ac_err"; then |
13595 rm -rf conftest* | 13600 rm -rf conftest* |
13596 eval "ac_cv_header_$ac_safe=yes" | 13601 eval "ac_cv_header_$ac_safe=yes" |
13597 else | 13602 else |
13610 with_gpm=no | 13615 with_gpm=no |
13611 fi | 13616 fi |
13612 } | 13617 } |
13613 test -z "$with_gpm" && { | 13618 test -z "$with_gpm" && { |
13614 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13619 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13615 echo "configure:13616: checking for Gpm_Open in -lgpm" >&5 | 13620 echo "configure:13621: checking for Gpm_Open in -lgpm" >&5 |
13616 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13621 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13617 | 13622 |
13618 xe_check_libs=" -lgpm " | 13623 xe_check_libs=" -lgpm " |
13619 cat > conftest.$ac_ext <<EOF | 13624 cat > conftest.$ac_ext <<EOF |
13620 #line 13621 "configure" | 13625 #line 13626 "configure" |
13621 #include "confdefs.h" | 13626 #include "confdefs.h" |
13622 /* Override any gcc2 internal prototype to avoid an error. */ | 13627 /* Override any gcc2 internal prototype to avoid an error. */ |
13623 /* We use char because int might match the return type of a gcc2 | 13628 /* We use char because int might match the return type of a gcc2 |
13624 builtin and then its argument prototype would still apply. */ | 13629 builtin and then its argument prototype would still apply. */ |
13625 char Gpm_Open(); | 13630 char Gpm_Open(); |
13626 | 13631 |
13627 int main() { | 13632 int main() { |
13628 Gpm_Open() | 13633 Gpm_Open() |
13629 ; return 0; } | 13634 ; return 0; } |
13630 EOF | 13635 EOF |
13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13632 rm -rf conftest* | 13637 rm -rf conftest* |
13633 eval "ac_cv_lib_$ac_lib_var=yes" | 13638 eval "ac_cv_lib_$ac_lib_var=yes" |
13634 else | 13639 else |
13635 echo "configure: failed program was:" >&5 | 13640 echo "configure: failed program was:" >&5 |
13636 cat conftest.$ac_ext >&5 | 13641 cat conftest.$ac_ext >&5 |
13669 done | 13674 done |
13670 fi | 13675 fi |
13671 | 13676 |
13672 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13677 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13673 != "no no no" && echo "checking for database support" 1>&6 | 13678 != "no no no" && echo "checking for database support" 1>&6 |
13674 echo "configure:13675: checking for database support" >&5 | 13679 echo "configure:13680: checking for database support" >&5 |
13675 | 13680 |
13676 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13681 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13677 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13682 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13678 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13683 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13679 echo "configure:13680: checking for ndbm.h" >&5 | 13684 echo "configure:13685: checking for ndbm.h" >&5 |
13680 | 13685 |
13681 cat > conftest.$ac_ext <<EOF | 13686 cat > conftest.$ac_ext <<EOF |
13682 #line 13683 "configure" | 13687 #line 13688 "configure" |
13683 #include "confdefs.h" | 13688 #include "confdefs.h" |
13684 #include <ndbm.h> | 13689 #include <ndbm.h> |
13685 EOF | 13690 EOF |
13686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13687 { (eval echo configure:13688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13692 { (eval echo configure:13693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13689 if test -z "$ac_err"; then | 13694 if test -z "$ac_err"; then |
13690 rm -rf conftest* | 13695 rm -rf conftest* |
13691 eval "ac_cv_header_$ac_safe=yes" | 13696 eval "ac_cv_header_$ac_safe=yes" |
13692 else | 13697 else |
13712 fi | 13717 fi |
13713 | 13718 |
13714 if test "$with_database_gdbm" != "no"; then | 13719 if test "$with_database_gdbm" != "no"; then |
13715 | 13720 |
13716 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13721 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13717 echo "configure:13718: checking for dbm_open in -lgdbm" >&5 | 13722 echo "configure:13723: checking for dbm_open in -lgdbm" >&5 |
13718 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13723 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13719 | 13724 |
13720 xe_check_libs=" -lgdbm " | 13725 xe_check_libs=" -lgdbm " |
13721 cat > conftest.$ac_ext <<EOF | 13726 cat > conftest.$ac_ext <<EOF |
13722 #line 13723 "configure" | 13727 #line 13728 "configure" |
13723 #include "confdefs.h" | 13728 #include "confdefs.h" |
13724 /* Override any gcc2 internal prototype to avoid an error. */ | 13729 /* Override any gcc2 internal prototype to avoid an error. */ |
13725 /* We use char because int might match the return type of a gcc2 | 13730 /* We use char because int might match the return type of a gcc2 |
13726 builtin and then its argument prototype would still apply. */ | 13731 builtin and then its argument prototype would still apply. */ |
13727 char dbm_open(); | 13732 char dbm_open(); |
13728 | 13733 |
13729 int main() { | 13734 int main() { |
13730 dbm_open() | 13735 dbm_open() |
13731 ; return 0; } | 13736 ; return 0; } |
13732 EOF | 13737 EOF |
13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13738 if { (eval echo configure:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13734 rm -rf conftest* | 13739 rm -rf conftest* |
13735 eval "ac_cv_lib_$ac_lib_var=yes" | 13740 eval "ac_cv_lib_$ac_lib_var=yes" |
13736 else | 13741 else |
13737 echo "configure: failed program was:" >&5 | 13742 echo "configure: failed program was:" >&5 |
13738 cat conftest.$ac_ext >&5 | 13743 cat conftest.$ac_ext >&5 |
13756 | 13761 |
13757 fi | 13762 fi |
13758 | 13763 |
13759 if test "$with_database_dbm" != "no"; then | 13764 if test "$with_database_dbm" != "no"; then |
13760 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13765 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13761 echo "configure:13762: checking for dbm_open" >&5 | 13766 echo "configure:13767: checking for dbm_open" >&5 |
13762 | 13767 |
13763 cat > conftest.$ac_ext <<EOF | 13768 cat > conftest.$ac_ext <<EOF |
13764 #line 13765 "configure" | 13769 #line 13770 "configure" |
13765 #include "confdefs.h" | 13770 #include "confdefs.h" |
13766 /* System header to define __stub macros and hopefully few prototypes, | 13771 /* System header to define __stub macros and hopefully few prototypes, |
13767 which can conflict with char dbm_open(); below. */ | 13772 which can conflict with char dbm_open(); below. */ |
13768 #include <assert.h> | 13773 #include <assert.h> |
13769 /* Override any gcc2 internal prototype to avoid an error. */ | 13774 /* Override any gcc2 internal prototype to avoid an error. */ |
13782 dbm_open(); | 13787 dbm_open(); |
13783 #endif | 13788 #endif |
13784 | 13789 |
13785 ; return 0; } | 13790 ; return 0; } |
13786 EOF | 13791 EOF |
13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13792 if { (eval echo configure:13793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13788 rm -rf conftest* | 13793 rm -rf conftest* |
13789 eval "ac_cv_func_dbm_open=yes" | 13794 eval "ac_cv_func_dbm_open=yes" |
13790 else | 13795 else |
13791 echo "configure: failed program was:" >&5 | 13796 echo "configure: failed program was:" >&5 |
13792 cat conftest.$ac_ext >&5 | 13797 cat conftest.$ac_ext >&5 |
13801 else | 13806 else |
13802 echo "$ac_t""no" 1>&6 | 13807 echo "$ac_t""no" 1>&6 |
13803 | 13808 |
13804 | 13809 |
13805 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13810 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13806 echo "configure:13807: checking for dbm_open in -ldbm" >&5 | 13811 echo "configure:13812: checking for dbm_open in -ldbm" >&5 |
13807 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13812 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13808 | 13813 |
13809 xe_check_libs=" -ldbm " | 13814 xe_check_libs=" -ldbm " |
13810 cat > conftest.$ac_ext <<EOF | 13815 cat > conftest.$ac_ext <<EOF |
13811 #line 13812 "configure" | 13816 #line 13817 "configure" |
13812 #include "confdefs.h" | 13817 #include "confdefs.h" |
13813 /* Override any gcc2 internal prototype to avoid an error. */ | 13818 /* Override any gcc2 internal prototype to avoid an error. */ |
13814 /* We use char because int might match the return type of a gcc2 | 13819 /* We use char because int might match the return type of a gcc2 |
13815 builtin and then its argument prototype would still apply. */ | 13820 builtin and then its argument prototype would still apply. */ |
13816 char dbm_open(); | 13821 char dbm_open(); |
13817 | 13822 |
13818 int main() { | 13823 int main() { |
13819 dbm_open() | 13824 dbm_open() |
13820 ; return 0; } | 13825 ; return 0; } |
13821 EOF | 13826 EOF |
13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13827 if { (eval echo configure:13828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13823 rm -rf conftest* | 13828 rm -rf conftest* |
13824 eval "ac_cv_lib_$ac_lib_var=yes" | 13829 eval "ac_cv_lib_$ac_lib_var=yes" |
13825 else | 13830 else |
13826 echo "configure: failed program was:" >&5 | 13831 echo "configure: failed program was:" >&5 |
13827 cat conftest.$ac_ext >&5 | 13832 cat conftest.$ac_ext >&5 |
13858 } | 13863 } |
13859 | 13864 |
13860 | 13865 |
13861 if test "$with_database_berkdb" != "no"; then | 13866 if test "$with_database_berkdb" != "no"; then |
13862 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13867 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13863 echo "configure:13864: checking for Berkeley db.h" >&5 | 13868 echo "configure:13869: checking for Berkeley db.h" >&5 |
13864 for header in "db/db.h" "db.h"; do | 13869 for header in "db/db.h" "db.h"; do |
13865 cat > conftest.$ac_ext <<EOF | 13870 cat > conftest.$ac_ext <<EOF |
13866 #line 13867 "configure" | 13871 #line 13872 "configure" |
13867 #include "confdefs.h" | 13872 #include "confdefs.h" |
13868 | 13873 |
13869 #include <stdlib.h> | 13874 #include <stdlib.h> |
13870 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13875 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13871 #ifdef HAVE_INTTYPES_H | 13876 #ifdef HAVE_INTTYPES_H |
13883 | 13888 |
13884 int main() { | 13889 int main() { |
13885 | 13890 |
13886 ; return 0; } | 13891 ; return 0; } |
13887 EOF | 13892 EOF |
13888 if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13893 if { (eval echo configure:13894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13889 rm -rf conftest* | 13894 rm -rf conftest* |
13890 db_h_file="$header"; break | 13895 db_h_file="$header"; break |
13891 else | 13896 else |
13892 echo "configure: failed program was:" >&5 | 13897 echo "configure: failed program was:" >&5 |
13893 cat conftest.$ac_ext >&5 | 13898 cat conftest.$ac_ext >&5 |
13899 else echo "$ac_t""$db_h_file" 1>&6 | 13904 else echo "$ac_t""$db_h_file" 1>&6 |
13900 fi | 13905 fi |
13901 | 13906 |
13902 if test "$with_database_berkdb" != "no"; then | 13907 if test "$with_database_berkdb" != "no"; then |
13903 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13908 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13904 echo "configure:13905: checking for Berkeley DB version" >&5 | 13909 echo "configure:13910: checking for Berkeley DB version" >&5 |
13905 cat > conftest.$ac_ext <<EOF | 13910 cat > conftest.$ac_ext <<EOF |
13906 #line 13907 "configure" | 13911 #line 13912 "configure" |
13907 #include "confdefs.h" | 13912 #include "confdefs.h" |
13908 #include <$db_h_file> | 13913 #include <$db_h_file> |
13909 #if DB_VERSION_MAJOR > 1 | 13914 #if DB_VERSION_MAJOR > 1 |
13910 yes | 13915 yes |
13911 #endif | 13916 #endif |
13913 EOF | 13918 EOF |
13914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13915 egrep "yes" >/dev/null 2>&1; then | 13920 egrep "yes" >/dev/null 2>&1; then |
13916 rm -rf conftest* | 13921 rm -rf conftest* |
13917 cat > conftest.$ac_ext <<EOF | 13922 cat > conftest.$ac_ext <<EOF |
13918 #line 13919 "configure" | 13923 #line 13924 "configure" |
13919 #include "confdefs.h" | 13924 #include "confdefs.h" |
13920 #include <$db_h_file> | 13925 #include <$db_h_file> |
13921 #if DB_VERSION_MAJOR > 2 | 13926 #if DB_VERSION_MAJOR > 2 |
13922 yes | 13927 yes |
13923 #endif | 13928 #endif |
13940 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13945 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13941 fi | 13946 fi |
13942 rm -f conftest* | 13947 rm -f conftest* |
13943 | 13948 |
13944 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13949 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13945 echo "configure:13946: checking for $dbfunc" >&5 | 13950 echo "configure:13951: checking for $dbfunc" >&5 |
13946 | 13951 |
13947 cat > conftest.$ac_ext <<EOF | 13952 cat > conftest.$ac_ext <<EOF |
13948 #line 13949 "configure" | 13953 #line 13954 "configure" |
13949 #include "confdefs.h" | 13954 #include "confdefs.h" |
13950 /* System header to define __stub macros and hopefully few prototypes, | 13955 /* System header to define __stub macros and hopefully few prototypes, |
13951 which can conflict with char $dbfunc(); below. */ | 13956 which can conflict with char $dbfunc(); below. */ |
13952 #include <assert.h> | 13957 #include <assert.h> |
13953 /* Override any gcc2 internal prototype to avoid an error. */ | 13958 /* Override any gcc2 internal prototype to avoid an error. */ |
13966 $dbfunc(); | 13971 $dbfunc(); |
13967 #endif | 13972 #endif |
13968 | 13973 |
13969 ; return 0; } | 13974 ; return 0; } |
13970 EOF | 13975 EOF |
13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13972 rm -rf conftest* | 13977 rm -rf conftest* |
13973 eval "ac_cv_func_$dbfunc=yes" | 13978 eval "ac_cv_func_$dbfunc=yes" |
13974 else | 13979 else |
13975 echo "configure: failed program was:" >&5 | 13980 echo "configure: failed program was:" >&5 |
13976 cat conftest.$ac_ext >&5 | 13981 cat conftest.$ac_ext >&5 |
13985 else | 13990 else |
13986 echo "$ac_t""no" 1>&6 | 13991 echo "$ac_t""no" 1>&6 |
13987 | 13992 |
13988 | 13993 |
13989 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13994 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13990 echo "configure:13991: checking for $dbfunc in -ldb" >&5 | 13995 echo "configure:13996: checking for $dbfunc in -ldb" >&5 |
13991 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13996 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13992 | 13997 |
13993 xe_check_libs=" -ldb " | 13998 xe_check_libs=" -ldb " |
13994 cat > conftest.$ac_ext <<EOF | 13999 cat > conftest.$ac_ext <<EOF |
13995 #line 13996 "configure" | 14000 #line 14001 "configure" |
13996 #include "confdefs.h" | 14001 #include "confdefs.h" |
13997 /* Override any gcc2 internal prototype to avoid an error. */ | 14002 /* Override any gcc2 internal prototype to avoid an error. */ |
13998 /* We use char because int might match the return type of a gcc2 | 14003 /* We use char because int might match the return type of a gcc2 |
13999 builtin and then its argument prototype would still apply. */ | 14004 builtin and then its argument prototype would still apply. */ |
14000 char $dbfunc(); | 14005 char $dbfunc(); |
14001 | 14006 |
14002 int main() { | 14007 int main() { |
14003 $dbfunc() | 14008 $dbfunc() |
14004 ; return 0; } | 14009 ; return 0; } |
14005 EOF | 14010 EOF |
14006 if { (eval echo configure:14007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14011 if { (eval echo configure:14012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14007 rm -rf conftest* | 14012 rm -rf conftest* |
14008 eval "ac_cv_lib_$ac_lib_var=yes" | 14013 eval "ac_cv_lib_$ac_lib_var=yes" |
14009 else | 14014 else |
14010 echo "configure: failed program was:" >&5 | 14015 echo "configure: failed program was:" >&5 |
14011 cat conftest.$ac_ext >&5 | 14016 cat conftest.$ac_ext >&5 |
14062 fi | 14067 fi |
14063 | 14068 |
14064 if test "$with_socks" = "yes"; then | 14069 if test "$with_socks" = "yes"; then |
14065 | 14070 |
14066 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14071 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14067 echo "configure:14068: checking for SOCKSinit in -lsocks" >&5 | 14072 echo "configure:14073: checking for SOCKSinit in -lsocks" >&5 |
14068 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14073 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14069 | 14074 |
14070 xe_check_libs=" -lsocks " | 14075 xe_check_libs=" -lsocks " |
14071 cat > conftest.$ac_ext <<EOF | 14076 cat > conftest.$ac_ext <<EOF |
14072 #line 14073 "configure" | 14077 #line 14078 "configure" |
14073 #include "confdefs.h" | 14078 #include "confdefs.h" |
14074 /* Override any gcc2 internal prototype to avoid an error. */ | 14079 /* Override any gcc2 internal prototype to avoid an error. */ |
14075 /* We use char because int might match the return type of a gcc2 | 14080 /* We use char because int might match the return type of a gcc2 |
14076 builtin and then its argument prototype would still apply. */ | 14081 builtin and then its argument prototype would still apply. */ |
14077 char SOCKSinit(); | 14082 char SOCKSinit(); |
14078 | 14083 |
14079 int main() { | 14084 int main() { |
14080 SOCKSinit() | 14085 SOCKSinit() |
14081 ; return 0; } | 14086 ; return 0; } |
14082 EOF | 14087 EOF |
14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14088 if { (eval echo configure:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14084 rm -rf conftest* | 14089 rm -rf conftest* |
14085 eval "ac_cv_lib_$ac_lib_var=yes" | 14090 eval "ac_cv_lib_$ac_lib_var=yes" |
14086 else | 14091 else |
14087 echo "configure: failed program was:" >&5 | 14092 echo "configure: failed program was:" >&5 |
14088 cat conftest.$ac_ext >&5 | 14093 cat conftest.$ac_ext >&5 |
14133 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14138 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14134 fi | 14139 fi |
14135 | 14140 |
14136 if test "$with_modules" != "no"; then | 14141 if test "$with_modules" != "no"; then |
14137 echo "checking for module support" 1>&6 | 14142 echo "checking for module support" 1>&6 |
14138 echo "configure:14139: checking for module support" >&5 | 14143 echo "configure:14144: checking for module support" >&5 |
14139 | 14144 |
14140 if test "$with_msw" = "yes"; then | 14145 if test "$with_msw" = "yes"; then |
14141 have_dl=yes; | 14146 have_dl=yes; |
14142 else | 14147 else |
14143 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14148 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14144 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14149 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14145 echo "configure:14146: checking for dlfcn.h" >&5 | 14150 echo "configure:14151: checking for dlfcn.h" >&5 |
14146 | 14151 |
14147 cat > conftest.$ac_ext <<EOF | 14152 cat > conftest.$ac_ext <<EOF |
14148 #line 14149 "configure" | 14153 #line 14154 "configure" |
14149 #include "confdefs.h" | 14154 #include "confdefs.h" |
14150 #include <dlfcn.h> | 14155 #include <dlfcn.h> |
14151 EOF | 14156 EOF |
14152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14153 { (eval echo configure:14154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14158 { (eval echo configure:14159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14155 if test -z "$ac_err"; then | 14160 if test -z "$ac_err"; then |
14156 rm -rf conftest* | 14161 rm -rf conftest* |
14157 eval "ac_cv_header_$ac_safe=yes" | 14162 eval "ac_cv_header_$ac_safe=yes" |
14158 else | 14163 else |
14165 rm -f conftest* | 14170 rm -f conftest* |
14166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14167 echo "$ac_t""yes" 1>&6 | 14172 echo "$ac_t""yes" 1>&6 |
14168 | 14173 |
14169 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14174 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14170 echo "configure:14171: checking for dlopen in -lc" >&5 | 14175 echo "configure:14176: checking for dlopen in -lc" >&5 |
14171 cat > conftest.$ac_ext <<EOF | 14176 cat > conftest.$ac_ext <<EOF |
14172 #line 14173 "configure" | 14177 #line 14178 "configure" |
14173 #include "confdefs.h" | 14178 #include "confdefs.h" |
14174 #include <dlfcn.h> | 14179 #include <dlfcn.h> |
14175 int main() { | 14180 int main() { |
14176 dlopen ("", 0); | 14181 dlopen ("", 0); |
14177 ; return 0; } | 14182 ; return 0; } |
14178 EOF | 14183 EOF |
14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14184 if { (eval echo configure:14185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14180 rm -rf conftest* | 14185 rm -rf conftest* |
14181 have_dl=yes | 14186 have_dl=yes |
14182 else | 14187 else |
14183 echo "configure: failed program was:" >&5 | 14188 echo "configure: failed program was:" >&5 |
14184 cat conftest.$ac_ext >&5 | 14189 cat conftest.$ac_ext >&5 |
14185 rm -rf conftest* | 14190 rm -rf conftest* |
14186 | 14191 |
14187 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14192 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14188 echo "configure:14189: checking for dlopen in -ldl" >&5 | 14193 echo "configure:14194: checking for dlopen in -ldl" >&5 |
14189 ac_save_LIBS="$LIBS" | 14194 ac_save_LIBS="$LIBS" |
14190 LIBS="-ldl $LIBS" | 14195 LIBS="-ldl $LIBS" |
14191 cat > conftest.$ac_ext <<EOF | 14196 cat > conftest.$ac_ext <<EOF |
14192 #line 14193 "configure" | 14197 #line 14198 "configure" |
14193 #include "confdefs.h" | 14198 #include "confdefs.h" |
14194 #include <dlfcn.h> | 14199 #include <dlfcn.h> |
14195 int main() { | 14200 int main() { |
14196 dlopen ("", 0); | 14201 dlopen ("", 0); |
14197 ; return 0; } | 14202 ; return 0; } |
14198 EOF | 14203 EOF |
14199 if { (eval echo configure:14200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14204 if { (eval echo configure:14205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14200 rm -rf conftest* | 14205 rm -rf conftest* |
14201 have_dl=yes | 14206 have_dl=yes |
14202 else | 14207 else |
14203 echo "configure: failed program was:" >&5 | 14208 echo "configure: failed program was:" >&5 |
14204 cat conftest.$ac_ext >&5 | 14209 cat conftest.$ac_ext >&5 |
14223 } | 14228 } |
14224 | 14229 |
14225 else | 14230 else |
14226 | 14231 |
14227 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14232 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14228 echo "configure:14229: checking for shl_load in -ldld" >&5 | 14233 echo "configure:14234: checking for shl_load in -ldld" >&5 |
14229 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14234 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14230 | 14235 |
14231 xe_check_libs=" -ldld " | 14236 xe_check_libs=" -ldld " |
14232 cat > conftest.$ac_ext <<EOF | 14237 cat > conftest.$ac_ext <<EOF |
14233 #line 14234 "configure" | 14238 #line 14239 "configure" |
14234 #include "confdefs.h" | 14239 #include "confdefs.h" |
14235 /* Override any gcc2 internal prototype to avoid an error. */ | 14240 /* Override any gcc2 internal prototype to avoid an error. */ |
14236 /* We use char because int might match the return type of a gcc2 | 14241 /* We use char because int might match the return type of a gcc2 |
14237 builtin and then its argument prototype would still apply. */ | 14242 builtin and then its argument prototype would still apply. */ |
14238 char shl_load(); | 14243 char shl_load(); |
14239 | 14244 |
14240 int main() { | 14245 int main() { |
14241 shl_load() | 14246 shl_load() |
14242 ; return 0; } | 14247 ; return 0; } |
14243 EOF | 14248 EOF |
14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14245 rm -rf conftest* | 14250 rm -rf conftest* |
14246 eval "ac_cv_lib_$ac_lib_var=yes" | 14251 eval "ac_cv_lib_$ac_lib_var=yes" |
14247 else | 14252 else |
14248 echo "configure: failed program was:" >&5 | 14253 echo "configure: failed program was:" >&5 |
14249 cat conftest.$ac_ext >&5 | 14254 cat conftest.$ac_ext >&5 |
14266 | 14271 |
14267 else | 14272 else |
14268 echo "$ac_t""no" 1>&6 | 14273 echo "$ac_t""no" 1>&6 |
14269 | 14274 |
14270 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14275 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14271 echo "configure:14272: checking for dld_init in -ldld" >&5 | 14276 echo "configure:14277: checking for dld_init in -ldld" >&5 |
14272 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14277 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14273 | 14278 |
14274 xe_check_libs=" -ldld " | 14279 xe_check_libs=" -ldld " |
14275 cat > conftest.$ac_ext <<EOF | 14280 cat > conftest.$ac_ext <<EOF |
14276 #line 14277 "configure" | 14281 #line 14282 "configure" |
14277 #include "confdefs.h" | 14282 #include "confdefs.h" |
14278 /* Override any gcc2 internal prototype to avoid an error. */ | 14283 /* Override any gcc2 internal prototype to avoid an error. */ |
14279 /* We use char because int might match the return type of a gcc2 | 14284 /* We use char because int might match the return type of a gcc2 |
14280 builtin and then its argument prototype would still apply. */ | 14285 builtin and then its argument prototype would still apply. */ |
14281 char dld_init(); | 14286 char dld_init(); |
14282 | 14287 |
14283 int main() { | 14288 int main() { |
14284 dld_init() | 14289 dld_init() |
14285 ; return 0; } | 14290 ; return 0; } |
14286 EOF | 14291 EOF |
14287 if { (eval echo configure:14288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14292 if { (eval echo configure:14293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14288 rm -rf conftest* | 14293 rm -rf conftest* |
14289 eval "ac_cv_lib_$ac_lib_var=yes" | 14294 eval "ac_cv_lib_$ac_lib_var=yes" |
14290 else | 14295 else |
14291 echo "configure: failed program was:" >&5 | 14296 echo "configure: failed program was:" >&5 |
14292 cat conftest.$ac_ext >&5 | 14297 cat conftest.$ac_ext >&5 |
14327 ld_dynamic_link_flags= | 14332 ld_dynamic_link_flags= |
14328 xehost=$canonical | 14333 xehost=$canonical |
14329 xealias=$internal_configuration | 14334 xealias=$internal_configuration |
14330 | 14335 |
14331 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14336 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14332 echo "configure:14333: checking how to build dynamic libraries for ${xehost}" >&5 | 14337 echo "configure:14338: checking how to build dynamic libraries for ${xehost}" >&5 |
14333 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14338 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14334 case "$xehost" in | 14339 case "$xehost" in |
14335 *-*-linux-gnu*) ;; | 14340 *-*-linux-gnu*) ;; |
14336 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14341 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14337 esac | 14342 esac |
14355 # Now see if the compiler is really GCC. | 14360 # Now see if the compiler is really GCC. |
14356 if test "$GCC" = "yes"; then | 14361 if test "$GCC" = "yes"; then |
14357 XEGCC=yes | 14362 XEGCC=yes |
14358 else | 14363 else |
14359 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14364 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14360 echo "configure:14361: checking checking whether we are using GNU C" >&5 | 14365 echo "configure:14366: checking checking whether we are using GNU C" >&5 |
14361 cat > conftest.$ac_ext <<EOF | 14366 cat > conftest.$ac_ext <<EOF |
14362 #line 14363 "configure" | 14367 #line 14368 "configure" |
14363 #include "confdefs.h" | 14368 #include "confdefs.h" |
14364 | 14369 |
14365 #ifdef __GNUC__ | 14370 #ifdef __GNUC__ |
14366 yes; | 14371 yes; |
14367 #endif | 14372 #endif |
14379 | 14384 |
14380 echo "$ac_t""${XEGCC}" 1>&6 | 14385 echo "$ac_t""${XEGCC}" 1>&6 |
14381 fi | 14386 fi |
14382 | 14387 |
14383 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14388 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14384 echo "configure:14385: checking how to produce PIC code" >&5 | 14389 echo "configure:14390: checking how to produce PIC code" >&5 |
14385 wl= | 14390 wl= |
14386 | 14391 |
14387 can_build_shared=yes | 14392 can_build_shared=yes |
14388 if test "$XEGCC" = yes; then | 14393 if test "$XEGCC" = yes; then |
14389 wl='-Wl,' | 14394 wl='-Wl,' |
14480 if test -n "$dll_cflags"; then | 14485 if test -n "$dll_cflags"; then |
14481 echo "$ac_t""${dll_cflags}" 1>&6 | 14486 echo "$ac_t""${dll_cflags}" 1>&6 |
14482 | 14487 |
14483 # Check to make sure the dll_cflags actually works. | 14488 # Check to make sure the dll_cflags actually works. |
14484 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14489 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14485 echo "configure:14486: checking if PIC flag ${dll_cflags} really works" >&5 | 14490 echo "configure:14491: checking if PIC flag ${dll_cflags} really works" >&5 |
14486 save_CFLAGS="$CFLAGS" | 14491 save_CFLAGS="$CFLAGS" |
14487 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14492 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14488 cat > conftest.$ac_ext <<EOF | 14493 cat > conftest.$ac_ext <<EOF |
14489 #line 14490 "configure" | 14494 #line 14495 "configure" |
14490 #include "confdefs.h" | 14495 #include "confdefs.h" |
14491 | 14496 |
14492 int main() { | 14497 int main() { |
14493 int x=0; | 14498 int x=0; |
14494 ; return 0; } | 14499 ; return 0; } |
14495 EOF | 14500 EOF |
14496 if { (eval echo configure:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14501 if { (eval echo configure:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14497 rm -rf conftest* | 14502 rm -rf conftest* |
14498 | 14503 |
14499 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14504 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14500 # reports no error. So, we need to grep stderr for (Bundled). | 14505 # reports no error. So, we need to grep stderr for (Bundled). |
14501 if grep '(Bundled)' config.log >/dev/null; then | 14506 if grep '(Bundled)' config.log >/dev/null; then |
14522 if test "$can_build_shared" = "yes"; then | 14527 if test "$can_build_shared" = "yes"; then |
14523 cc_produces_so=no | 14528 cc_produces_so=no |
14524 xldf= | 14529 xldf= |
14525 xcldf= | 14530 xcldf= |
14526 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14531 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14527 echo "configure:14528: checking if C compiler can produce shared libraries" >&5 | 14532 echo "configure:14533: checking if C compiler can produce shared libraries" >&5 |
14528 if test "$XEGCC" = yes; then | 14533 if test "$XEGCC" = yes; then |
14529 xcldf="-shared" | 14534 xcldf="-shared" |
14530 xldf="-shared" | 14535 xldf="-shared" |
14531 else # Not using GCC | 14536 else # Not using GCC |
14532 case "$xehost_os" in | 14537 case "$xehost_os" in |
14573 LDFLAGS="$xcldf $LDFLAGS" | 14578 LDFLAGS="$xcldf $LDFLAGS" |
14574 LIBS= | 14579 LIBS= |
14575 xe_libs= | 14580 xe_libs= |
14576 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14581 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14577 cat > conftest.$ac_ext <<EOF | 14582 cat > conftest.$ac_ext <<EOF |
14578 #line 14579 "configure" | 14583 #line 14584 "configure" |
14579 #include "confdefs.h" | 14584 #include "confdefs.h" |
14580 | 14585 |
14581 int main() { | 14586 int main() { |
14582 int x=0; | 14587 int x=0; |
14583 ; return 0; } | 14588 ; return 0; } |
14584 EOF | 14589 EOF |
14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14590 if { (eval echo configure:14591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14586 rm -rf conftest* | 14591 rm -rf conftest* |
14587 cc_produces_so=yes | 14592 cc_produces_so=yes |
14588 else | 14593 else |
14589 echo "configure: failed program was:" >&5 | 14594 echo "configure: failed program was:" >&5 |
14590 cat conftest.$ac_ext >&5 | 14595 cat conftest.$ac_ext >&5 |
14605 if test -z "$LTLD"; then | 14610 if test -z "$LTLD"; then |
14606 ac_prog=ld | 14611 ac_prog=ld |
14607 if test "$XEGCC" = yes; then | 14612 if test "$XEGCC" = yes; then |
14608 # Check if gcc -print-prog-name=ld gives a path. | 14613 # Check if gcc -print-prog-name=ld gives a path. |
14609 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14614 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14610 echo "configure:14611: checking for ld used by GCC" >&5 | 14615 echo "configure:14616: checking for ld used by GCC" >&5 |
14611 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14616 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14612 case "$ac_prog" in | 14617 case "$ac_prog" in |
14613 # Accept absolute paths. | 14618 # Accept absolute paths. |
14614 /*) | 14619 /*) |
14615 if test -z "$LTLD"; then | 14620 if test -z "$LTLD"; then |
14631 with_gnu_ld=unknown | 14636 with_gnu_ld=unknown |
14632 ;; | 14637 ;; |
14633 esac | 14638 esac |
14634 else | 14639 else |
14635 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14640 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14636 echo "configure:14637: checking for GNU ld" >&5 | 14641 echo "configure:14642: checking for GNU ld" >&5 |
14637 fi | 14642 fi |
14638 | 14643 |
14639 if test -z "$LTLD"; then | 14644 if test -z "$LTLD"; then |
14640 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14641 for ac_dir in $PATH; do | 14646 for ac_dir in $PATH; do |
14669 | 14674 |
14670 ld_dynamic_link_flags= | 14675 ld_dynamic_link_flags= |
14671 | 14676 |
14672 # Check to see if it really is or isn't GNU ld. | 14677 # Check to see if it really is or isn't GNU ld. |
14673 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14678 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14674 echo "configure:14675: checking if the linker is GNU ld" >&5 | 14679 echo "configure:14680: checking if the linker is GNU ld" >&5 |
14675 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14680 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14676 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14681 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14677 xe_gnu_ld=yes | 14682 xe_gnu_ld=yes |
14678 else | 14683 else |
14679 xe_gnu_ld=no | 14684 xe_gnu_ld=no |
14697 ld_shlibs=yes | 14702 ld_shlibs=yes |
14698 else | 14703 else |
14699 # OK - only NOW do we futz about with ld. | 14704 # OK - only NOW do we futz about with ld. |
14700 # See if the linker supports building shared libraries. | 14705 # See if the linker supports building shared libraries. |
14701 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14706 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14702 echo "configure:14703: checking whether the linker supports shared libraries" >&5 | 14707 echo "configure:14708: checking whether the linker supports shared libraries" >&5 |
14703 dll_ld=$CC | 14708 dll_ld=$CC |
14704 dll_ldflags=$LDFLAGS | 14709 dll_ldflags=$LDFLAGS |
14705 ld_shlibs=yes | 14710 ld_shlibs=yes |
14706 can_build_shared=yes | 14711 can_build_shared=yes |
14707 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14712 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14905 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14910 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14906 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14911 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14907 for ac_func in dlerror _dlerror | 14912 for ac_func in dlerror _dlerror |
14908 do | 14913 do |
14909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14910 echo "configure:14911: checking for $ac_func" >&5 | 14915 echo "configure:14916: checking for $ac_func" >&5 |
14911 | 14916 |
14912 cat > conftest.$ac_ext <<EOF | 14917 cat > conftest.$ac_ext <<EOF |
14913 #line 14914 "configure" | 14918 #line 14919 "configure" |
14914 #include "confdefs.h" | 14919 #include "confdefs.h" |
14915 /* System header to define __stub macros and hopefully few prototypes, | 14920 /* System header to define __stub macros and hopefully few prototypes, |
14916 which can conflict with char $ac_func(); below. */ | 14921 which can conflict with char $ac_func(); below. */ |
14917 #include <assert.h> | 14922 #include <assert.h> |
14918 /* Override any gcc2 internal prototype to avoid an error. */ | 14923 /* Override any gcc2 internal prototype to avoid an error. */ |
14931 $ac_func(); | 14936 $ac_func(); |
14932 #endif | 14937 #endif |
14933 | 14938 |
14934 ; return 0; } | 14939 ; return 0; } |
14935 EOF | 14940 EOF |
14936 if { (eval echo configure:14937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14941 if { (eval echo configure:14942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14937 rm -rf conftest* | 14942 rm -rf conftest* |
14938 eval "ac_cv_func_$ac_func=yes" | 14943 eval "ac_cv_func_$ac_func=yes" |
14939 else | 14944 else |
14940 echo "configure: failed program was:" >&5 | 14945 echo "configure: failed program was:" >&5 |
14941 cat conftest.$ac_ext >&5 | 14946 cat conftest.$ac_ext >&5 |
14970 with_modules=no | 14975 with_modules=no |
14971 fi | 14976 fi |
14972 fi | 14977 fi |
14973 | 14978 |
14974 cat > conftest.$ac_ext <<EOF | 14979 cat > conftest.$ac_ext <<EOF |
14975 #line 14976 "configure" | 14980 #line 14981 "configure" |
14976 #include "confdefs.h" | 14981 #include "confdefs.h" |
14977 int main(int c,char *v[]){return 0;} | 14982 int main(int c,char *v[]){return 0;} |
14978 EOF | 14983 EOF |
14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14984 if { (eval echo configure:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14980 then | 14985 then |
14981 : | 14986 : |
14982 else | 14987 else |
14983 conftest_rc="$?" | 14988 conftest_rc="$?" |
14984 echo "configure: failed program was:" >&5 | 14989 echo "configure: failed program was:" >&5 |