Mercurial > hg > xemacs-beta
comparison configure @ 911:428608d46017
[xemacs-hg @ 2002-07-09 11:57:41 by michaels]
2002-07-08 Mike Sperber <mike@xemacs.org>
* configure.in: Test for wchar.h.
author | michaels |
---|---|
date | Tue, 09 Jul 2002 11:57:49 +0000 |
parents | 2367ca81af28 |
children | c4937d1216b6 |
comparison
equal
deleted
inserted
replaced
910:34362f9d6d61 | 911:428608d46017 |
---|---|
3504 test -n "$YACC" && break | 3504 test -n "$YACC" && break |
3505 done | 3505 done |
3506 test -n "$YACC" || YACC="yacc" | 3506 test -n "$YACC" || YACC="yacc" |
3507 | 3507 |
3508 | 3508 |
3509 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3509 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3510 do | 3510 do |
3511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3513 echo "configure:3514: checking for $ac_hdr" >&5 | 3513 echo "configure:3514: checking for $ac_hdr" >&5 |
3514 | 3514 |
4511 | 4511 |
4512 cat > conftest.$ac_ext <<EOF | 4512 cat > conftest.$ac_ext <<EOF |
4513 #line 4514 "configure" | 4513 #line 4514 "configure" |
4514 #include "confdefs.h" | 4514 #include "confdefs.h" |
4515 #include <stdio.h> | 4515 #include <stdio.h> |
4516 #include <sys/types.h> | |
4517 main() | 4516 main() |
4518 { | 4517 { |
4519 FILE *f=fopen("conftestval", "w"); | 4518 FILE *f=fopen("conftestval", "w"); |
4520 if (!f) exit(1); | 4519 if (!f) exit(1); |
4521 fprintf(f, "%d\n", sizeof(short)); | 4520 fprintf(f, "%d\n", sizeof(short)); |
4522 exit(0); | 4521 exit(0); |
4523 } | 4522 } |
4524 EOF | 4523 EOF |
4525 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4526 then | 4525 then |
4527 ac_cv_sizeof_short=`cat conftestval` | 4526 ac_cv_sizeof_short=`cat conftestval` |
4528 else | 4527 else |
4529 conftest_rc="$?" | 4528 conftest_rc="$?" |
4530 echo "configure: failed program was:" >&5 | 4529 echo "configure: failed program was:" >&5 |
4548 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4547 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4549 echo "*** PANIC *** Please examine config.log for compilation errors." | 4548 echo "*** PANIC *** Please examine config.log for compilation errors." |
4550 exit 1 | 4549 exit 1 |
4551 fi | 4550 fi |
4552 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4551 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4553 echo "configure:4554: checking size of int" >&5 | 4552 echo "configure:4553: checking size of int" >&5 |
4554 | 4553 |
4555 cat > conftest.$ac_ext <<EOF | 4554 cat > conftest.$ac_ext <<EOF |
4556 #line 4557 "configure" | 4555 #line 4556 "configure" |
4557 #include "confdefs.h" | 4556 #include "confdefs.h" |
4558 #include <stdio.h> | 4557 #include <stdio.h> |
4559 #include <sys/types.h> | |
4560 main() | 4558 main() |
4561 { | 4559 { |
4562 FILE *f=fopen("conftestval", "w"); | 4560 FILE *f=fopen("conftestval", "w"); |
4563 if (!f) exit(1); | 4561 if (!f) exit(1); |
4564 fprintf(f, "%d\n", sizeof(int)); | 4562 fprintf(f, "%d\n", sizeof(int)); |
4565 exit(0); | 4563 exit(0); |
4566 } | 4564 } |
4567 EOF | 4565 EOF |
4568 if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4569 then | 4567 then |
4570 ac_cv_sizeof_int=`cat conftestval` | 4568 ac_cv_sizeof_int=`cat conftestval` |
4571 else | 4569 else |
4572 conftest_rc="$?" | 4570 conftest_rc="$?" |
4573 echo "configure: failed program was:" >&5 | 4571 echo "configure: failed program was:" >&5 |
4585 EOF | 4583 EOF |
4586 } | 4584 } |
4587 | 4585 |
4588 | 4586 |
4589 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4587 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4590 echo "configure:4591: checking size of long" >&5 | 4588 echo "configure:4589: checking size of long" >&5 |
4591 | 4589 |
4592 cat > conftest.$ac_ext <<EOF | 4590 cat > conftest.$ac_ext <<EOF |
4593 #line 4594 "configure" | 4591 #line 4592 "configure" |
4594 #include "confdefs.h" | 4592 #include "confdefs.h" |
4595 #include <stdio.h> | 4593 #include <stdio.h> |
4596 #include <sys/types.h> | |
4597 main() | 4594 main() |
4598 { | 4595 { |
4599 FILE *f=fopen("conftestval", "w"); | 4596 FILE *f=fopen("conftestval", "w"); |
4600 if (!f) exit(1); | 4597 if (!f) exit(1); |
4601 fprintf(f, "%d\n", sizeof(long)); | 4598 fprintf(f, "%d\n", sizeof(long)); |
4602 exit(0); | 4599 exit(0); |
4603 } | 4600 } |
4604 EOF | 4601 EOF |
4605 if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4606 then | 4603 then |
4607 ac_cv_sizeof_long=`cat conftestval` | 4604 ac_cv_sizeof_long=`cat conftestval` |
4608 else | 4605 else |
4609 conftest_rc="$?" | 4606 conftest_rc="$?" |
4610 echo "configure: failed program was:" >&5 | 4607 echo "configure: failed program was:" >&5 |
4622 EOF | 4619 EOF |
4623 } | 4620 } |
4624 | 4621 |
4625 | 4622 |
4626 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4623 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4627 echo "configure:4628: checking size of long long" >&5 | 4624 echo "configure:4625: checking size of long long" >&5 |
4628 | 4625 |
4629 cat > conftest.$ac_ext <<EOF | 4626 cat > conftest.$ac_ext <<EOF |
4630 #line 4631 "configure" | 4627 #line 4628 "configure" |
4631 #include "confdefs.h" | 4628 #include "confdefs.h" |
4632 #include <stdio.h> | 4629 #include <stdio.h> |
4633 #include <sys/types.h> | |
4634 main() | 4630 main() |
4635 { | 4631 { |
4636 FILE *f=fopen("conftestval", "w"); | 4632 FILE *f=fopen("conftestval", "w"); |
4637 if (!f) exit(1); | 4633 if (!f) exit(1); |
4638 fprintf(f, "%d\n", sizeof(long long)); | 4634 fprintf(f, "%d\n", sizeof(long long)); |
4639 exit(0); | 4635 exit(0); |
4640 } | 4636 } |
4641 EOF | 4637 EOF |
4642 if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4643 then | 4639 then |
4644 ac_cv_sizeof_long_long=`cat conftestval` | 4640 ac_cv_sizeof_long_long=`cat conftestval` |
4645 else | 4641 else |
4646 conftest_rc="$?" | 4642 conftest_rc="$?" |
4647 echo "configure: failed program was:" >&5 | 4643 echo "configure: failed program was:" >&5 |
4659 EOF | 4655 EOF |
4660 } | 4656 } |
4661 | 4657 |
4662 | 4658 |
4663 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4659 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4664 echo "configure:4665: checking size of void *" >&5 | 4660 echo "configure:4661: checking size of void *" >&5 |
4665 | 4661 |
4666 cat > conftest.$ac_ext <<EOF | 4662 cat > conftest.$ac_ext <<EOF |
4667 #line 4668 "configure" | 4663 #line 4664 "configure" |
4668 #include "confdefs.h" | 4664 #include "confdefs.h" |
4669 #include <stdio.h> | 4665 #include <stdio.h> |
4670 #include <sys/types.h> | |
4671 main() | 4666 main() |
4672 { | 4667 { |
4673 FILE *f=fopen("conftestval", "w"); | 4668 FILE *f=fopen("conftestval", "w"); |
4674 if (!f) exit(1); | 4669 if (!f) exit(1); |
4675 fprintf(f, "%d\n", sizeof(void *)); | 4670 fprintf(f, "%d\n", sizeof(void *)); |
4676 exit(0); | 4671 exit(0); |
4677 } | 4672 } |
4678 EOF | 4673 EOF |
4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4680 then | 4675 then |
4681 ac_cv_sizeof_void_p=`cat conftestval` | 4676 ac_cv_sizeof_void_p=`cat conftestval` |
4682 else | 4677 else |
4683 conftest_rc="$?" | 4678 conftest_rc="$?" |
4684 echo "configure: failed program was:" >&5 | 4679 echo "configure: failed program was:" >&5 |
4697 } | 4692 } |
4698 | 4693 |
4699 | 4694 |
4700 | 4695 |
4701 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4696 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4702 echo "configure:4703: checking for long file names" >&5 | 4697 echo "configure:4698: checking for long file names" >&5 |
4703 | 4698 |
4704 ac_cv_sys_long_file_names=yes | 4699 ac_cv_sys_long_file_names=yes |
4705 # Test for long file names in all the places we know might matter: | 4700 # Test for long file names in all the places we know might matter: |
4706 # . the current directory, where building will happen | 4701 # . the current directory, where building will happen |
4707 # $prefix/lib where we will be installing things | 4702 # $prefix/lib where we will be installing things |
4743 | 4738 |
4744 fi | 4739 fi |
4745 | 4740 |
4746 | 4741 |
4747 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4742 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4748 echo "configure:4749: checking for sin" >&5 | 4743 echo "configure:4744: checking for sin" >&5 |
4749 | 4744 |
4750 cat > conftest.$ac_ext <<EOF | 4745 cat > conftest.$ac_ext <<EOF |
4751 #line 4752 "configure" | 4746 #line 4747 "configure" |
4752 #include "confdefs.h" | 4747 #include "confdefs.h" |
4753 /* System header to define __stub macros and hopefully few prototypes, | 4748 /* System header to define __stub macros and hopefully few prototypes, |
4754 which can conflict with char sin(); below. */ | 4749 which can conflict with char sin(); below. */ |
4755 #include <assert.h> | 4750 #include <assert.h> |
4756 /* Override any gcc2 internal prototype to avoid an error. */ | 4751 /* Override any gcc2 internal prototype to avoid an error. */ |
4769 sin(); | 4764 sin(); |
4770 #endif | 4765 #endif |
4771 | 4766 |
4772 ; return 0; } | 4767 ; return 0; } |
4773 EOF | 4768 EOF |
4774 if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4775 rm -rf conftest* | 4770 rm -rf conftest* |
4776 eval "ac_cv_func_sin=yes" | 4771 eval "ac_cv_func_sin=yes" |
4777 else | 4772 else |
4778 echo "configure: failed program was:" >&5 | 4773 echo "configure: failed program was:" >&5 |
4779 cat conftest.$ac_ext >&5 | 4774 cat conftest.$ac_ext >&5 |
4787 : | 4782 : |
4788 else | 4783 else |
4789 echo "$ac_t""no" 1>&6 | 4784 echo "$ac_t""no" 1>&6 |
4790 | 4785 |
4791 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4786 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4792 echo "configure:4793: checking for sin in -lm" >&5 | 4787 echo "configure:4788: checking for sin in -lm" >&5 |
4793 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4788 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4794 | 4789 |
4795 xe_check_libs=" -lm " | 4790 xe_check_libs=" -lm " |
4796 cat > conftest.$ac_ext <<EOF | 4791 cat > conftest.$ac_ext <<EOF |
4797 #line 4798 "configure" | 4792 #line 4793 "configure" |
4798 #include "confdefs.h" | 4793 #include "confdefs.h" |
4799 /* Override any gcc2 internal prototype to avoid an error. */ | 4794 /* Override any gcc2 internal prototype to avoid an error. */ |
4800 /* We use char because int might match the return type of a gcc2 | 4795 /* We use char because int might match the return type of a gcc2 |
4801 builtin and then its argument prototype would still apply. */ | 4796 builtin and then its argument prototype would still apply. */ |
4802 char sin(); | 4797 char sin(); |
4803 | 4798 |
4804 int main() { | 4799 int main() { |
4805 sin() | 4800 sin() |
4806 ; return 0; } | 4801 ; return 0; } |
4807 EOF | 4802 EOF |
4808 if { (eval echo configure:4809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4809 rm -rf conftest* | 4804 rm -rf conftest* |
4810 eval "ac_cv_lib_$ac_lib_var=yes" | 4805 eval "ac_cv_lib_$ac_lib_var=yes" |
4811 else | 4806 else |
4812 echo "configure: failed program was:" >&5 | 4807 echo "configure: failed program was:" >&5 |
4813 cat conftest.$ac_ext >&5 | 4808 cat conftest.$ac_ext >&5 |
4847 EOF | 4842 EOF |
4848 } | 4843 } |
4849 | 4844 |
4850 | 4845 |
4851 cat > conftest.$ac_ext <<EOF | 4846 cat > conftest.$ac_ext <<EOF |
4852 #line 4853 "configure" | 4847 #line 4848 "configure" |
4853 #include "confdefs.h" | 4848 #include "confdefs.h" |
4854 #include <math.h> | 4849 #include <math.h> |
4855 int main() { | 4850 int main() { |
4856 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4851 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4857 ; return 0; } | 4852 ; return 0; } |
4858 EOF | 4853 EOF |
4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4860 rm -rf conftest* | 4855 rm -rf conftest* |
4861 { test "$extra_verbose" = "yes" && cat << \EOF | 4856 { test "$extra_verbose" = "yes" && cat << \EOF |
4862 Defining HAVE_INVERSE_HYPERBOLIC | 4857 Defining HAVE_INVERSE_HYPERBOLIC |
4863 EOF | 4858 EOF |
4864 cat >> confdefs.h <<\EOF | 4859 cat >> confdefs.h <<\EOF |
4873 rm -f conftest* | 4868 rm -f conftest* |
4874 | 4869 |
4875 for ac_func in mkstemp | 4870 for ac_func in mkstemp |
4876 do | 4871 do |
4877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4878 echo "configure:4879: checking for $ac_func" >&5 | 4873 echo "configure:4874: checking for $ac_func" >&5 |
4879 | 4874 |
4880 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
4881 #line 4882 "configure" | 4876 #line 4877 "configure" |
4882 #include "confdefs.h" | 4877 #include "confdefs.h" |
4883 /* System header to define __stub macros and hopefully few prototypes, | 4878 /* System header to define __stub macros and hopefully few prototypes, |
4884 which can conflict with char $ac_func(); below. */ | 4879 which can conflict with char $ac_func(); below. */ |
4885 #include <assert.h> | 4880 #include <assert.h> |
4886 /* Override any gcc2 internal prototype to avoid an error. */ | 4881 /* Override any gcc2 internal prototype to avoid an error. */ |
4899 $ac_func(); | 4894 $ac_func(); |
4900 #endif | 4895 #endif |
4901 | 4896 |
4902 ; return 0; } | 4897 ; return 0; } |
4903 EOF | 4898 EOF |
4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4899 if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4905 rm -rf conftest* | 4900 rm -rf conftest* |
4906 eval "ac_cv_func_$ac_func=yes" | 4901 eval "ac_cv_func_$ac_func=yes" |
4907 else | 4902 else |
4908 echo "configure: failed program was:" >&5 | 4903 echo "configure: failed program was:" >&5 |
4909 cat conftest.$ac_ext >&5 | 4904 cat conftest.$ac_ext >&5 |
4928 fi | 4923 fi |
4929 done | 4924 done |
4930 | 4925 |
4931 | 4926 |
4932 echo "checking type of mail spool file locking" 1>&6 | 4927 echo "checking type of mail spool file locking" 1>&6 |
4933 echo "configure:4934: checking type of mail spool file locking" >&5 | 4928 echo "configure:4929: checking type of mail spool file locking" >&5 |
4934 for ac_func in lockf flock | 4929 for ac_func in lockf flock |
4935 do | 4930 do |
4936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4937 echo "configure:4938: checking for $ac_func" >&5 | 4932 echo "configure:4933: checking for $ac_func" >&5 |
4938 | 4933 |
4939 cat > conftest.$ac_ext <<EOF | 4934 cat > conftest.$ac_ext <<EOF |
4940 #line 4941 "configure" | 4935 #line 4936 "configure" |
4941 #include "confdefs.h" | 4936 #include "confdefs.h" |
4942 /* System header to define __stub macros and hopefully few prototypes, | 4937 /* System header to define __stub macros and hopefully few prototypes, |
4943 which can conflict with char $ac_func(); below. */ | 4938 which can conflict with char $ac_func(); below. */ |
4944 #include <assert.h> | 4939 #include <assert.h> |
4945 /* Override any gcc2 internal prototype to avoid an error. */ | 4940 /* Override any gcc2 internal prototype to avoid an error. */ |
4958 $ac_func(); | 4953 $ac_func(); |
4959 #endif | 4954 #endif |
4960 | 4955 |
4961 ; return 0; } | 4956 ; return 0; } |
4962 EOF | 4957 EOF |
4963 if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4964 rm -rf conftest* | 4959 rm -rf conftest* |
4965 eval "ac_cv_func_$ac_func=yes" | 4960 eval "ac_cv_func_$ac_func=yes" |
4966 else | 4961 else |
4967 echo "configure: failed program was:" >&5 | 4962 echo "configure: failed program was:" >&5 |
4968 cat conftest.$ac_ext >&5 | 4963 cat conftest.$ac_ext >&5 |
5040 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5035 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5041 | 5036 |
5042 case "$opsys" in decosf*) | 5037 case "$opsys" in decosf*) |
5043 | 5038 |
5044 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5039 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5045 echo "configure:5046: checking for cma_open in -lpthreads" >&5 | 5040 echo "configure:5041: checking for cma_open in -lpthreads" >&5 |
5046 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5041 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5047 | 5042 |
5048 xe_check_libs=" -lpthreads " | 5043 xe_check_libs=" -lpthreads " |
5049 cat > conftest.$ac_ext <<EOF | 5044 cat > conftest.$ac_ext <<EOF |
5050 #line 5051 "configure" | 5045 #line 5046 "configure" |
5051 #include "confdefs.h" | 5046 #include "confdefs.h" |
5052 /* Override any gcc2 internal prototype to avoid an error. */ | 5047 /* Override any gcc2 internal prototype to avoid an error. */ |
5053 /* We use char because int might match the return type of a gcc2 | 5048 /* We use char because int might match the return type of a gcc2 |
5054 builtin and then its argument prototype would still apply. */ | 5049 builtin and then its argument prototype would still apply. */ |
5055 char cma_open(); | 5050 char cma_open(); |
5056 | 5051 |
5057 int main() { | 5052 int main() { |
5058 cma_open() | 5053 cma_open() |
5059 ; return 0; } | 5054 ; return 0; } |
5060 EOF | 5055 EOF |
5061 if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5062 rm -rf conftest* | 5057 rm -rf conftest* |
5063 eval "ac_cv_lib_$ac_lib_var=yes" | 5058 eval "ac_cv_lib_$ac_lib_var=yes" |
5064 else | 5059 else |
5065 echo "configure: failed program was:" >&5 | 5060 echo "configure: failed program was:" >&5 |
5066 cat conftest.$ac_ext >&5 | 5061 cat conftest.$ac_ext >&5 |
5093 c_switch_site="$c_switch_site -threads" ;; | 5088 c_switch_site="$c_switch_site -threads" ;; |
5094 esac | 5089 esac |
5095 | 5090 |
5096 | 5091 |
5097 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5092 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5098 echo "configure:5099: checking whether the -xildoff compiler flag is required" >&5 | 5093 echo "configure:5094: checking whether the -xildoff compiler flag is required" >&5 |
5099 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5094 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5100 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5095 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5101 then echo "$ac_t""no" 1>&6; | 5096 then echo "$ac_t""no" 1>&6; |
5102 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5097 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
5103 fi | 5098 fi |
5105 fi | 5100 fi |
5106 | 5101 |
5107 if test "$opsys" = "sol2"; then | 5102 if test "$opsys" = "sol2"; then |
5108 if test "$os_release" -ge 56; then | 5103 if test "$os_release" -ge 56; then |
5109 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5104 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5110 echo "configure:5111: checking for \"-z ignore\" linker flag" >&5 | 5105 echo "configure:5106: checking for \"-z ignore\" linker flag" >&5 |
5111 case "`ld -h 2>&1`" in | 5106 case "`ld -h 2>&1`" in |
5112 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5107 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5113 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5108 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5114 *) echo "$ac_t""no" 1>&6 ;; | 5109 *) echo "$ac_t""no" 1>&6 ;; |
5115 esac | 5110 esac |
5116 fi | 5111 fi |
5117 fi | 5112 fi |
5118 | 5113 |
5119 | 5114 |
5120 echo "checking "for specified window system"" 1>&6 | 5115 echo "checking "for specified window system"" 1>&6 |
5121 echo "configure:5122: checking "for specified window system"" >&5 | 5116 echo "configure:5117: checking "for specified window system"" >&5 |
5122 | 5117 |
5123 | 5118 |
5124 GNOME_CONFIG=no | 5119 GNOME_CONFIG=no |
5125 GTK_CONFIG=no | 5120 GTK_CONFIG=no |
5126 | 5121 |
5127 if test "$with_gnome" != "no"; then | 5122 if test "$with_gnome" != "no"; then |
5128 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5123 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5129 echo "configure:5130: checking for GNOME configuration script" >&5 | 5124 echo "configure:5125: checking for GNOME configuration script" >&5 |
5130 for possible in gnome-config | 5125 for possible in gnome-config |
5131 do | 5126 do |
5132 possible_version=`${possible} --version 2> /dev/null` | 5127 possible_version=`${possible} --version 2> /dev/null` |
5133 if test "x${possible_version}" != "x"; then | 5128 if test "x${possible_version}" != "x"; then |
5134 GNOME_CONFIG="${possible}" | 5129 GNOME_CONFIG="${possible}" |
5155 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5150 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5156 fi | 5151 fi |
5157 | 5152 |
5158 if test "$with_gtk" != "no";then | 5153 if test "$with_gtk" != "no";then |
5159 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5154 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5160 echo "configure:5161: checking for GTK configuration script" >&5 | 5155 echo "configure:5156: checking for GTK configuration script" >&5 |
5161 for possible in gtk12-config gtk14-config gtk-config | 5156 for possible in gtk12-config gtk14-config gtk-config |
5162 do | 5157 do |
5163 possible_version=`${possible} --version 2> /dev/null` | 5158 possible_version=`${possible} --version 2> /dev/null` |
5164 if test "x${possible_version}" != "x"; then | 5159 if test "x${possible_version}" != "x"; then |
5165 GTK_CONFIG="${possible}" | 5160 GTK_CONFIG="${possible}" |
5177 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5172 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5178 fi | 5173 fi |
5179 | 5174 |
5180 if test "${GTK_CONFIG}" != "no"; then | 5175 if test "${GTK_CONFIG}" != "no"; then |
5181 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5176 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5182 echo "configure:5183: checking gtk version" >&5 | 5177 echo "configure:5178: checking gtk version" >&5 |
5183 GTK_VERSION=`${GTK_CONFIG} --version` | 5178 GTK_VERSION=`${GTK_CONFIG} --version` |
5184 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5179 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5185 | 5180 |
5186 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5181 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5187 echo "configure:5188: checking gtk libs" >&5 | 5182 echo "configure:5183: checking gtk libs" >&5 |
5188 GTK_LIBS=`${GTK_CONFIG} --libs` | 5183 GTK_LIBS=`${GTK_CONFIG} --libs` |
5189 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5184 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5190 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5185 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5191 | 5186 |
5192 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5187 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5193 echo "configure:5194: checking gtk cflags" >&5 | 5188 echo "configure:5189: checking gtk cflags" >&5 |
5194 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5189 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5195 if test "$GCC" = "yes"; then | 5190 if test "$GCC" = "yes"; then |
5196 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5191 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5197 fi | 5192 fi |
5198 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5193 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5199 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5194 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5200 | 5195 |
5201 | 5196 |
5202 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5197 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5203 echo "configure:5204: checking for main in -lgdk_imlib" >&5 | 5198 echo "configure:5199: checking for main in -lgdk_imlib" >&5 |
5204 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5199 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5205 | 5200 |
5206 xe_check_libs=" -lgdk_imlib " | 5201 xe_check_libs=" -lgdk_imlib " |
5207 cat > conftest.$ac_ext <<EOF | 5202 cat > conftest.$ac_ext <<EOF |
5208 #line 5209 "configure" | 5203 #line 5204 "configure" |
5209 #include "confdefs.h" | 5204 #include "confdefs.h" |
5210 | 5205 |
5211 int main() { | 5206 int main() { |
5212 main() | 5207 main() |
5213 ; return 0; } | 5208 ; return 0; } |
5214 EOF | 5209 EOF |
5215 if { (eval echo configure:5216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5216 rm -rf conftest* | 5211 rm -rf conftest* |
5217 eval "ac_cv_lib_$ac_lib_var=yes" | 5212 eval "ac_cv_lib_$ac_lib_var=yes" |
5218 else | 5213 else |
5219 echo "configure: failed program was:" >&5 | 5214 echo "configure: failed program was:" >&5 |
5220 cat conftest.$ac_ext >&5 | 5215 cat conftest.$ac_ext >&5 |
5232 fi | 5227 fi |
5233 | 5228 |
5234 | 5229 |
5235 | 5230 |
5236 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5231 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5237 echo "configure:5238: checking for Imlib_init in -lImlib" >&5 | 5232 echo "configure:5233: checking for Imlib_init in -lImlib" >&5 |
5238 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5233 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5239 | 5234 |
5240 xe_check_libs=" -lImlib " | 5235 xe_check_libs=" -lImlib " |
5241 cat > conftest.$ac_ext <<EOF | 5236 cat > conftest.$ac_ext <<EOF |
5242 #line 5243 "configure" | 5237 #line 5238 "configure" |
5243 #include "confdefs.h" | 5238 #include "confdefs.h" |
5244 /* Override any gcc2 internal prototype to avoid an error. */ | 5239 /* Override any gcc2 internal prototype to avoid an error. */ |
5245 /* We use char because int might match the return type of a gcc2 | 5240 /* We use char because int might match the return type of a gcc2 |
5246 builtin and then its argument prototype would still apply. */ | 5241 builtin and then its argument prototype would still apply. */ |
5247 char Imlib_init(); | 5242 char Imlib_init(); |
5248 | 5243 |
5249 int main() { | 5244 int main() { |
5250 Imlib_init() | 5245 Imlib_init() |
5251 ; return 0; } | 5246 ; return 0; } |
5252 EOF | 5247 EOF |
5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5254 rm -rf conftest* | 5249 rm -rf conftest* |
5255 eval "ac_cv_lib_$ac_lib_var=yes" | 5250 eval "ac_cv_lib_$ac_lib_var=yes" |
5256 else | 5251 else |
5257 echo "configure: failed program was:" >&5 | 5252 echo "configure: failed program was:" >&5 |
5258 cat conftest.$ac_ext >&5 | 5253 cat conftest.$ac_ext >&5 |
5271 | 5266 |
5272 | 5267 |
5273 for ac_func in gdk_imlib_init | 5268 for ac_func in gdk_imlib_init |
5274 do | 5269 do |
5275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5276 echo "configure:5277: checking for $ac_func" >&5 | 5271 echo "configure:5272: checking for $ac_func" >&5 |
5277 | 5272 |
5278 cat > conftest.$ac_ext <<EOF | 5273 cat > conftest.$ac_ext <<EOF |
5279 #line 5280 "configure" | 5274 #line 5275 "configure" |
5280 #include "confdefs.h" | 5275 #include "confdefs.h" |
5281 /* System header to define __stub macros and hopefully few prototypes, | 5276 /* System header to define __stub macros and hopefully few prototypes, |
5282 which can conflict with char $ac_func(); below. */ | 5277 which can conflict with char $ac_func(); below. */ |
5283 #include <assert.h> | 5278 #include <assert.h> |
5284 /* Override any gcc2 internal prototype to avoid an error. */ | 5279 /* Override any gcc2 internal prototype to avoid an error. */ |
5297 $ac_func(); | 5292 $ac_func(); |
5298 #endif | 5293 #endif |
5299 | 5294 |
5300 ; return 0; } | 5295 ; return 0; } |
5301 EOF | 5296 EOF |
5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5303 rm -rf conftest* | 5298 rm -rf conftest* |
5304 eval "ac_cv_func_$ac_func=yes" | 5299 eval "ac_cv_func_$ac_func=yes" |
5305 else | 5300 else |
5306 echo "configure: failed program was:" >&5 | 5301 echo "configure: failed program was:" >&5 |
5307 cat conftest.$ac_ext >&5 | 5302 cat conftest.$ac_ext >&5 |
5363 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5358 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5364 for ac_hdr in glade/glade.h glade.h | 5359 for ac_hdr in glade/glade.h glade.h |
5365 do | 5360 do |
5366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5368 echo "configure:5369: checking for $ac_hdr" >&5 | 5363 echo "configure:5364: checking for $ac_hdr" >&5 |
5369 | 5364 |
5370 cat > conftest.$ac_ext <<EOF | 5365 cat > conftest.$ac_ext <<EOF |
5371 #line 5372 "configure" | 5366 #line 5367 "configure" |
5372 #include "confdefs.h" | 5367 #include "confdefs.h" |
5373 #include <$ac_hdr> | 5368 #include <$ac_hdr> |
5374 EOF | 5369 EOF |
5375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5376 { (eval echo configure:5377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5371 { (eval echo configure:5372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5378 if test -z "$ac_err"; then | 5373 if test -z "$ac_err"; then |
5379 rm -rf conftest* | 5374 rm -rf conftest* |
5380 eval "ac_cv_header_$ac_safe=yes" | 5375 eval "ac_cv_header_$ac_safe=yes" |
5381 else | 5376 else |
5402 fi | 5397 fi |
5403 done | 5398 done |
5404 | 5399 |
5405 | 5400 |
5406 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5401 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5407 echo "configure:5408: checking for main in -lxml" >&5 | 5402 echo "configure:5403: checking for main in -lxml" >&5 |
5408 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5403 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5409 | 5404 |
5410 xe_check_libs=" -lxml " | 5405 xe_check_libs=" -lxml " |
5411 cat > conftest.$ac_ext <<EOF | 5406 cat > conftest.$ac_ext <<EOF |
5412 #line 5413 "configure" | 5407 #line 5408 "configure" |
5413 #include "confdefs.h" | 5408 #include "confdefs.h" |
5414 | 5409 |
5415 int main() { | 5410 int main() { |
5416 main() | 5411 main() |
5417 ; return 0; } | 5412 ; return 0; } |
5418 EOF | 5413 EOF |
5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5420 rm -rf conftest* | 5415 rm -rf conftest* |
5421 eval "ac_cv_lib_$ac_lib_var=yes" | 5416 eval "ac_cv_lib_$ac_lib_var=yes" |
5422 else | 5417 else |
5423 echo "configure: failed program was:" >&5 | 5418 echo "configure: failed program was:" >&5 |
5424 cat conftest.$ac_ext >&5 | 5419 cat conftest.$ac_ext >&5 |
5436 fi | 5431 fi |
5437 | 5432 |
5438 | 5433 |
5439 | 5434 |
5440 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5435 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5441 echo "configure:5442: checking for main in -lglade" >&5 | 5436 echo "configure:5437: checking for main in -lglade" >&5 |
5442 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5437 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5443 | 5438 |
5444 xe_check_libs=" -lglade " | 5439 xe_check_libs=" -lglade " |
5445 cat > conftest.$ac_ext <<EOF | 5440 cat > conftest.$ac_ext <<EOF |
5446 #line 5447 "configure" | 5441 #line 5442 "configure" |
5447 #include "confdefs.h" | 5442 #include "confdefs.h" |
5448 | 5443 |
5449 int main() { | 5444 int main() { |
5450 main() | 5445 main() |
5451 ; return 0; } | 5446 ; return 0; } |
5452 EOF | 5447 EOF |
5453 if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5454 rm -rf conftest* | 5449 rm -rf conftest* |
5455 eval "ac_cv_lib_$ac_lib_var=yes" | 5450 eval "ac_cv_lib_$ac_lib_var=yes" |
5456 else | 5451 else |
5457 echo "configure: failed program was:" >&5 | 5452 echo "configure: failed program was:" >&5 |
5458 cat conftest.$ac_ext >&5 | 5453 cat conftest.$ac_ext >&5 |
5470 fi | 5465 fi |
5471 | 5466 |
5472 | 5467 |
5473 | 5468 |
5474 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5469 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5475 echo "configure:5476: checking for main in -lglade-gnome" >&5 | 5470 echo "configure:5471: checking for main in -lglade-gnome" >&5 |
5476 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5471 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5477 | 5472 |
5478 xe_check_libs=" -lglade-gnome " | 5473 xe_check_libs=" -lglade-gnome " |
5479 cat > conftest.$ac_ext <<EOF | 5474 cat > conftest.$ac_ext <<EOF |
5480 #line 5481 "configure" | 5475 #line 5476 "configure" |
5481 #include "confdefs.h" | 5476 #include "confdefs.h" |
5482 | 5477 |
5483 int main() { | 5478 int main() { |
5484 main() | 5479 main() |
5485 ; return 0; } | 5480 ; return 0; } |
5486 EOF | 5481 EOF |
5487 if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5488 rm -rf conftest* | 5483 rm -rf conftest* |
5489 eval "ac_cv_lib_$ac_lib_var=yes" | 5484 eval "ac_cv_lib_$ac_lib_var=yes" |
5490 else | 5485 else |
5491 echo "configure: failed program was:" >&5 | 5486 echo "configure: failed program was:" >&5 |
5492 cat conftest.$ac_ext >&5 | 5487 cat conftest.$ac_ext >&5 |
5503 echo "$ac_t""no" 1>&6 | 5498 echo "$ac_t""no" 1>&6 |
5504 fi | 5499 fi |
5505 | 5500 |
5506 | 5501 |
5507 cat > conftest.$ac_ext <<EOF | 5502 cat > conftest.$ac_ext <<EOF |
5508 #line 5509 "configure" | 5503 #line 5504 "configure" |
5509 #include "confdefs.h" | 5504 #include "confdefs.h" |
5510 #include <glade/glade-xml.h> | 5505 #include <glade/glade-xml.h> |
5511 EOF | 5506 EOF |
5512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5513 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5508 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5562 # If we find X, set shell vars x_includes and x_libraries to the | 5557 # If we find X, set shell vars x_includes and x_libraries to the |
5563 # paths, otherwise set no_x=yes. | 5558 # paths, otherwise set no_x=yes. |
5564 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5559 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5565 # --without-x overrides everything else, but does not touch the cache. | 5560 # --without-x overrides everything else, but does not touch the cache. |
5566 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5561 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5567 echo "configure:5568: checking for X" >&5 | 5562 echo "configure:5563: checking for X" >&5 |
5568 | 5563 |
5569 # Check whether --with-x or --without-x was given. | 5564 # Check whether --with-x or --without-x was given. |
5570 if test "${with_x+set}" = set; then | 5565 if test "${with_x+set}" = set; then |
5571 withval="$with_x" | 5566 withval="$with_x" |
5572 : | 5567 : |
5622 # Guess where to find include files, by looking for this one X11 .h file. | 5617 # Guess where to find include files, by looking for this one X11 .h file. |
5623 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5618 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5624 | 5619 |
5625 # First, try using that file with no special directory specified. | 5620 # First, try using that file with no special directory specified. |
5626 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5627 #line 5628 "configure" | 5622 #line 5623 "configure" |
5628 #include "confdefs.h" | 5623 #include "confdefs.h" |
5629 #include <$x_direct_test_include> | 5624 #include <$x_direct_test_include> |
5630 EOF | 5625 EOF |
5631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5632 { (eval echo configure:5633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5627 { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5634 if test -z "$ac_err"; then | 5629 if test -z "$ac_err"; then |
5635 rm -rf conftest* | 5630 rm -rf conftest* |
5636 # We can compile using X headers with no special include directory. | 5631 # We can compile using X headers with no special include directory. |
5637 ac_x_includes= | 5632 ac_x_includes= |
5696 # See if we find them without any special options. | 5691 # See if we find them without any special options. |
5697 # Don't add to $LIBS permanently. | 5692 # Don't add to $LIBS permanently. |
5698 ac_save_LIBS="$LIBS" | 5693 ac_save_LIBS="$LIBS" |
5699 LIBS="-l$x_direct_test_library $LIBS" | 5694 LIBS="-l$x_direct_test_library $LIBS" |
5700 cat > conftest.$ac_ext <<EOF | 5695 cat > conftest.$ac_ext <<EOF |
5701 #line 5702 "configure" | 5696 #line 5697 "configure" |
5702 #include "confdefs.h" | 5697 #include "confdefs.h" |
5703 | 5698 |
5704 int main() { | 5699 int main() { |
5705 ${x_direct_test_function}() | 5700 ${x_direct_test_function}() |
5706 ; return 0; } | 5701 ; return 0; } |
5707 EOF | 5702 EOF |
5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5709 rm -rf conftest* | 5704 rm -rf conftest* |
5710 LIBS="$ac_save_LIBS" | 5705 LIBS="$ac_save_LIBS" |
5711 # We can link X programs with no special library path. | 5706 # We can link X programs with no special library path. |
5712 ac_x_libraries= | 5707 ac_x_libraries= |
5713 else | 5708 else |
5812 # For Solaris; some versions of Sun CC require a space after -R and | 5807 # For Solaris; some versions of Sun CC require a space after -R and |
5813 # others require no space. Words are not sufficient . . . . | 5808 # others require no space. Words are not sufficient . . . . |
5814 case "`(uname -sr) 2>/dev/null`" in | 5809 case "`(uname -sr) 2>/dev/null`" in |
5815 "SunOS 5"*) | 5810 "SunOS 5"*) |
5816 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5811 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5817 echo "configure:5818: checking whether -R must be followed by a space" >&5 | 5812 echo "configure:5813: checking whether -R must be followed by a space" >&5 |
5818 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5813 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5819 cat > conftest.$ac_ext <<EOF | 5814 cat > conftest.$ac_ext <<EOF |
5820 #line 5821 "configure" | 5815 #line 5816 "configure" |
5821 #include "confdefs.h" | 5816 #include "confdefs.h" |
5822 | 5817 |
5823 int main() { | 5818 int main() { |
5824 | 5819 |
5825 ; return 0; } | 5820 ; return 0; } |
5826 EOF | 5821 EOF |
5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5828 rm -rf conftest* | 5823 rm -rf conftest* |
5829 ac_R_nospace=yes | 5824 ac_R_nospace=yes |
5830 else | 5825 else |
5831 echo "configure: failed program was:" >&5 | 5826 echo "configure: failed program was:" >&5 |
5832 cat conftest.$ac_ext >&5 | 5827 cat conftest.$ac_ext >&5 |
5838 echo "$ac_t""no" 1>&6 | 5833 echo "$ac_t""no" 1>&6 |
5839 X_LIBS="$X_LIBS -R$x_libraries" | 5834 X_LIBS="$X_LIBS -R$x_libraries" |
5840 else | 5835 else |
5841 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5836 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5842 cat > conftest.$ac_ext <<EOF | 5837 cat > conftest.$ac_ext <<EOF |
5843 #line 5844 "configure" | 5838 #line 5839 "configure" |
5844 #include "confdefs.h" | 5839 #include "confdefs.h" |
5845 | 5840 |
5846 int main() { | 5841 int main() { |
5847 | 5842 |
5848 ; return 0; } | 5843 ; return 0; } |
5849 EOF | 5844 EOF |
5850 if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5845 if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5851 rm -rf conftest* | 5846 rm -rf conftest* |
5852 ac_R_space=yes | 5847 ac_R_space=yes |
5853 else | 5848 else |
5854 echo "configure: failed program was:" >&5 | 5849 echo "configure: failed program was:" >&5 |
5855 cat conftest.$ac_ext >&5 | 5850 cat conftest.$ac_ext >&5 |
5881 if test "$with_dnet" = "no" ; then | 5876 if test "$with_dnet" = "no" ; then |
5882 ac_cv_lib_dnet_dnet_ntoa=no | 5877 ac_cv_lib_dnet_dnet_ntoa=no |
5883 else | 5878 else |
5884 | 5879 |
5885 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5880 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5886 echo "configure:5887: checking for dnet_ntoa in -ldnet" >&5 | 5881 echo "configure:5882: checking for dnet_ntoa in -ldnet" >&5 |
5887 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5882 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5888 | 5883 |
5889 xe_check_libs=" -ldnet " | 5884 xe_check_libs=" -ldnet " |
5890 cat > conftest.$ac_ext <<EOF | 5885 cat > conftest.$ac_ext <<EOF |
5891 #line 5892 "configure" | 5886 #line 5887 "configure" |
5892 #include "confdefs.h" | 5887 #include "confdefs.h" |
5893 /* Override any gcc2 internal prototype to avoid an error. */ | 5888 /* Override any gcc2 internal prototype to avoid an error. */ |
5894 /* We use char because int might match the return type of a gcc2 | 5889 /* We use char because int might match the return type of a gcc2 |
5895 builtin and then its argument prototype would still apply. */ | 5890 builtin and then its argument prototype would still apply. */ |
5896 char dnet_ntoa(); | 5891 char dnet_ntoa(); |
5897 | 5892 |
5898 int main() { | 5893 int main() { |
5899 dnet_ntoa() | 5894 dnet_ntoa() |
5900 ; return 0; } | 5895 ; return 0; } |
5901 EOF | 5896 EOF |
5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5903 rm -rf conftest* | 5898 rm -rf conftest* |
5904 eval "ac_cv_lib_$ac_lib_var=yes" | 5899 eval "ac_cv_lib_$ac_lib_var=yes" |
5905 else | 5900 else |
5906 echo "configure: failed program was:" >&5 | 5901 echo "configure: failed program was:" >&5 |
5907 cat conftest.$ac_ext >&5 | 5902 cat conftest.$ac_ext >&5 |
5921 fi | 5916 fi |
5922 | 5917 |
5923 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5924 | 5919 |
5925 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5920 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5926 echo "configure:5927: checking for dnet_ntoa in -ldnet_stub" >&5 | 5921 echo "configure:5922: checking for dnet_ntoa in -ldnet_stub" >&5 |
5927 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5922 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5928 | 5923 |
5929 xe_check_libs=" -ldnet_stub " | 5924 xe_check_libs=" -ldnet_stub " |
5930 cat > conftest.$ac_ext <<EOF | 5925 cat > conftest.$ac_ext <<EOF |
5931 #line 5932 "configure" | 5926 #line 5927 "configure" |
5932 #include "confdefs.h" | 5927 #include "confdefs.h" |
5933 /* Override any gcc2 internal prototype to avoid an error. */ | 5928 /* Override any gcc2 internal prototype to avoid an error. */ |
5934 /* We use char because int might match the return type of a gcc2 | 5929 /* We use char because int might match the return type of a gcc2 |
5935 builtin and then its argument prototype would still apply. */ | 5930 builtin and then its argument prototype would still apply. */ |
5936 char dnet_ntoa(); | 5931 char dnet_ntoa(); |
5937 | 5932 |
5938 int main() { | 5933 int main() { |
5939 dnet_ntoa() | 5934 dnet_ntoa() |
5940 ; return 0; } | 5935 ; return 0; } |
5941 EOF | 5936 EOF |
5942 if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5943 rm -rf conftest* | 5938 rm -rf conftest* |
5944 eval "ac_cv_lib_$ac_lib_var=yes" | 5939 eval "ac_cv_lib_$ac_lib_var=yes" |
5945 else | 5940 else |
5946 echo "configure: failed program was:" >&5 | 5941 echo "configure: failed program was:" >&5 |
5947 cat conftest.$ac_ext >&5 | 5942 cat conftest.$ac_ext >&5 |
5966 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5961 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5967 # needs -lnsl. | 5962 # needs -lnsl. |
5968 # The nsl library prevents programs from opening the X display | 5963 # The nsl library prevents programs from opening the X display |
5969 # on Irix 5.2, according to dickey@clark.net. | 5964 # on Irix 5.2, according to dickey@clark.net. |
5970 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5965 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5971 echo "configure:5972: checking for gethostbyname" >&5 | 5966 echo "configure:5967: checking for gethostbyname" >&5 |
5972 | 5967 |
5973 cat > conftest.$ac_ext <<EOF | 5968 cat > conftest.$ac_ext <<EOF |
5974 #line 5975 "configure" | 5969 #line 5970 "configure" |
5975 #include "confdefs.h" | 5970 #include "confdefs.h" |
5976 /* System header to define __stub macros and hopefully few prototypes, | 5971 /* System header to define __stub macros and hopefully few prototypes, |
5977 which can conflict with char gethostbyname(); below. */ | 5972 which can conflict with char gethostbyname(); below. */ |
5978 #include <assert.h> | 5973 #include <assert.h> |
5979 /* Override any gcc2 internal prototype to avoid an error. */ | 5974 /* Override any gcc2 internal prototype to avoid an error. */ |
5992 gethostbyname(); | 5987 gethostbyname(); |
5993 #endif | 5988 #endif |
5994 | 5989 |
5995 ; return 0; } | 5990 ; return 0; } |
5996 EOF | 5991 EOF |
5997 if { (eval echo configure:5998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5998 rm -rf conftest* | 5993 rm -rf conftest* |
5999 eval "ac_cv_func_gethostbyname=yes" | 5994 eval "ac_cv_func_gethostbyname=yes" |
6000 else | 5995 else |
6001 echo "configure: failed program was:" >&5 | 5996 echo "configure: failed program was:" >&5 |
6002 cat conftest.$ac_ext >&5 | 5997 cat conftest.$ac_ext >&5 |
6013 fi | 6008 fi |
6014 | 6009 |
6015 if test $ac_cv_func_gethostbyname = no; then | 6010 if test $ac_cv_func_gethostbyname = no; then |
6016 | 6011 |
6017 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6012 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6018 echo "configure:6019: checking for gethostbyname in -lnsl" >&5 | 6013 echo "configure:6014: checking for gethostbyname in -lnsl" >&5 |
6019 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6014 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6020 | 6015 |
6021 xe_check_libs=" -lnsl " | 6016 xe_check_libs=" -lnsl " |
6022 cat > conftest.$ac_ext <<EOF | 6017 cat > conftest.$ac_ext <<EOF |
6023 #line 6024 "configure" | 6018 #line 6019 "configure" |
6024 #include "confdefs.h" | 6019 #include "confdefs.h" |
6025 /* Override any gcc2 internal prototype to avoid an error. */ | 6020 /* Override any gcc2 internal prototype to avoid an error. */ |
6026 /* We use char because int might match the return type of a gcc2 | 6021 /* We use char because int might match the return type of a gcc2 |
6027 builtin and then its argument prototype would still apply. */ | 6022 builtin and then its argument prototype would still apply. */ |
6028 char gethostbyname(); | 6023 char gethostbyname(); |
6029 | 6024 |
6030 int main() { | 6025 int main() { |
6031 gethostbyname() | 6026 gethostbyname() |
6032 ; return 0; } | 6027 ; return 0; } |
6033 EOF | 6028 EOF |
6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6035 rm -rf conftest* | 6030 rm -rf conftest* |
6036 eval "ac_cv_lib_$ac_lib_var=yes" | 6031 eval "ac_cv_lib_$ac_lib_var=yes" |
6037 else | 6032 else |
6038 echo "configure: failed program was:" >&5 | 6033 echo "configure: failed program was:" >&5 |
6039 cat conftest.$ac_ext >&5 | 6034 cat conftest.$ac_ext >&5 |
6059 # on later versions), says simon@lia.di.epfl.ch: it contains | 6054 # on later versions), says simon@lia.di.epfl.ch: it contains |
6060 # gethostby* variants that don't use the nameserver (or something). | 6055 # gethostby* variants that don't use the nameserver (or something). |
6061 # -lsocket must be given before -lnsl if both are needed. | 6056 # -lsocket must be given before -lnsl if both are needed. |
6062 # We assume that if connect needs -lnsl, so does gethostbyname. | 6057 # We assume that if connect needs -lnsl, so does gethostbyname. |
6063 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6058 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6064 echo "configure:6065: checking for connect" >&5 | 6059 echo "configure:6060: checking for connect" >&5 |
6065 | 6060 |
6066 cat > conftest.$ac_ext <<EOF | 6061 cat > conftest.$ac_ext <<EOF |
6067 #line 6068 "configure" | 6062 #line 6063 "configure" |
6068 #include "confdefs.h" | 6063 #include "confdefs.h" |
6069 /* System header to define __stub macros and hopefully few prototypes, | 6064 /* System header to define __stub macros and hopefully few prototypes, |
6070 which can conflict with char connect(); below. */ | 6065 which can conflict with char connect(); below. */ |
6071 #include <assert.h> | 6066 #include <assert.h> |
6072 /* Override any gcc2 internal prototype to avoid an error. */ | 6067 /* Override any gcc2 internal prototype to avoid an error. */ |
6085 connect(); | 6080 connect(); |
6086 #endif | 6081 #endif |
6087 | 6082 |
6088 ; return 0; } | 6083 ; return 0; } |
6089 EOF | 6084 EOF |
6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6091 rm -rf conftest* | 6086 rm -rf conftest* |
6092 eval "ac_cv_func_connect=yes" | 6087 eval "ac_cv_func_connect=yes" |
6093 else | 6088 else |
6094 echo "configure: failed program was:" >&5 | 6089 echo "configure: failed program was:" >&5 |
6095 cat conftest.$ac_ext >&5 | 6090 cat conftest.$ac_ext >&5 |
6108 if test $ac_cv_func_connect = no; then | 6103 if test $ac_cv_func_connect = no; then |
6109 | 6104 |
6110 xe_msg_checking="for connect in -lsocket" | 6105 xe_msg_checking="for connect in -lsocket" |
6111 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6106 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6113 echo "configure:6114: checking "$xe_msg_checking"" >&5 | 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 |
6114 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6109 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6115 | 6110 |
6116 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6111 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6117 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
6118 #line 6119 "configure" | 6113 #line 6114 "configure" |
6119 #include "confdefs.h" | 6114 #include "confdefs.h" |
6120 /* Override any gcc2 internal prototype to avoid an error. */ | 6115 /* Override any gcc2 internal prototype to avoid an error. */ |
6121 /* We use char because int might match the return type of a gcc2 | 6116 /* We use char because int might match the return type of a gcc2 |
6122 builtin and then its argument prototype would still apply. */ | 6117 builtin and then its argument prototype would still apply. */ |
6123 char connect(); | 6118 char connect(); |
6124 | 6119 |
6125 int main() { | 6120 int main() { |
6126 connect() | 6121 connect() |
6127 ; return 0; } | 6122 ; return 0; } |
6128 EOF | 6123 EOF |
6129 if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6130 rm -rf conftest* | 6125 rm -rf conftest* |
6131 eval "ac_cv_lib_$ac_lib_var=yes" | 6126 eval "ac_cv_lib_$ac_lib_var=yes" |
6132 else | 6127 else |
6133 echo "configure: failed program was:" >&5 | 6128 echo "configure: failed program was:" >&5 |
6134 cat conftest.$ac_ext >&5 | 6129 cat conftest.$ac_ext >&5 |
6148 | 6143 |
6149 fi | 6144 fi |
6150 | 6145 |
6151 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6146 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6152 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6147 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6153 echo "configure:6154: checking for remove" >&5 | 6148 echo "configure:6149: checking for remove" >&5 |
6154 | 6149 |
6155 cat > conftest.$ac_ext <<EOF | 6150 cat > conftest.$ac_ext <<EOF |
6156 #line 6157 "configure" | 6151 #line 6152 "configure" |
6157 #include "confdefs.h" | 6152 #include "confdefs.h" |
6158 /* System header to define __stub macros and hopefully few prototypes, | 6153 /* System header to define __stub macros and hopefully few prototypes, |
6159 which can conflict with char remove(); below. */ | 6154 which can conflict with char remove(); below. */ |
6160 #include <assert.h> | 6155 #include <assert.h> |
6161 /* Override any gcc2 internal prototype to avoid an error. */ | 6156 /* Override any gcc2 internal prototype to avoid an error. */ |
6174 remove(); | 6169 remove(); |
6175 #endif | 6170 #endif |
6176 | 6171 |
6177 ; return 0; } | 6172 ; return 0; } |
6178 EOF | 6173 EOF |
6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6180 rm -rf conftest* | 6175 rm -rf conftest* |
6181 eval "ac_cv_func_remove=yes" | 6176 eval "ac_cv_func_remove=yes" |
6182 else | 6177 else |
6183 echo "configure: failed program was:" >&5 | 6178 echo "configure: failed program was:" >&5 |
6184 cat conftest.$ac_ext >&5 | 6179 cat conftest.$ac_ext >&5 |
6195 fi | 6190 fi |
6196 | 6191 |
6197 if test $ac_cv_func_remove = no; then | 6192 if test $ac_cv_func_remove = no; then |
6198 | 6193 |
6199 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6194 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6200 echo "configure:6201: checking for remove in -lposix" >&5 | 6195 echo "configure:6196: checking for remove in -lposix" >&5 |
6201 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6196 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6202 | 6197 |
6203 xe_check_libs=" -lposix " | 6198 xe_check_libs=" -lposix " |
6204 cat > conftest.$ac_ext <<EOF | 6199 cat > conftest.$ac_ext <<EOF |
6205 #line 6206 "configure" | 6200 #line 6201 "configure" |
6206 #include "confdefs.h" | 6201 #include "confdefs.h" |
6207 /* Override any gcc2 internal prototype to avoid an error. */ | 6202 /* Override any gcc2 internal prototype to avoid an error. */ |
6208 /* We use char because int might match the return type of a gcc2 | 6203 /* We use char because int might match the return type of a gcc2 |
6209 builtin and then its argument prototype would still apply. */ | 6204 builtin and then its argument prototype would still apply. */ |
6210 char remove(); | 6205 char remove(); |
6211 | 6206 |
6212 int main() { | 6207 int main() { |
6213 remove() | 6208 remove() |
6214 ; return 0; } | 6209 ; return 0; } |
6215 EOF | 6210 EOF |
6216 if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6217 rm -rf conftest* | 6212 rm -rf conftest* |
6218 eval "ac_cv_lib_$ac_lib_var=yes" | 6213 eval "ac_cv_lib_$ac_lib_var=yes" |
6219 else | 6214 else |
6220 echo "configure: failed program was:" >&5 | 6215 echo "configure: failed program was:" >&5 |
6221 cat conftest.$ac_ext >&5 | 6216 cat conftest.$ac_ext >&5 |
6235 | 6230 |
6236 fi | 6231 fi |
6237 | 6232 |
6238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6233 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6239 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6234 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6240 echo "configure:6241: checking for shmat" >&5 | 6235 echo "configure:6236: checking for shmat" >&5 |
6241 | 6236 |
6242 cat > conftest.$ac_ext <<EOF | 6237 cat > conftest.$ac_ext <<EOF |
6243 #line 6244 "configure" | 6238 #line 6239 "configure" |
6244 #include "confdefs.h" | 6239 #include "confdefs.h" |
6245 /* System header to define __stub macros and hopefully few prototypes, | 6240 /* System header to define __stub macros and hopefully few prototypes, |
6246 which can conflict with char shmat(); below. */ | 6241 which can conflict with char shmat(); below. */ |
6247 #include <assert.h> | 6242 #include <assert.h> |
6248 /* Override any gcc2 internal prototype to avoid an error. */ | 6243 /* Override any gcc2 internal prototype to avoid an error. */ |
6261 shmat(); | 6256 shmat(); |
6262 #endif | 6257 #endif |
6263 | 6258 |
6264 ; return 0; } | 6259 ; return 0; } |
6265 EOF | 6260 EOF |
6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6267 rm -rf conftest* | 6262 rm -rf conftest* |
6268 eval "ac_cv_func_shmat=yes" | 6263 eval "ac_cv_func_shmat=yes" |
6269 else | 6264 else |
6270 echo "configure: failed program was:" >&5 | 6265 echo "configure: failed program was:" >&5 |
6271 cat conftest.$ac_ext >&5 | 6266 cat conftest.$ac_ext >&5 |
6282 fi | 6277 fi |
6283 | 6278 |
6284 if test $ac_cv_func_shmat = no; then | 6279 if test $ac_cv_func_shmat = no; then |
6285 | 6280 |
6286 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6281 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6287 echo "configure:6288: checking for shmat in -lipc" >&5 | 6282 echo "configure:6283: checking for shmat in -lipc" >&5 |
6288 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6283 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6289 | 6284 |
6290 xe_check_libs=" -lipc " | 6285 xe_check_libs=" -lipc " |
6291 cat > conftest.$ac_ext <<EOF | 6286 cat > conftest.$ac_ext <<EOF |
6292 #line 6293 "configure" | 6287 #line 6288 "configure" |
6293 #include "confdefs.h" | 6288 #include "confdefs.h" |
6294 /* Override any gcc2 internal prototype to avoid an error. */ | 6289 /* Override any gcc2 internal prototype to avoid an error. */ |
6295 /* We use char because int might match the return type of a gcc2 | 6290 /* We use char because int might match the return type of a gcc2 |
6296 builtin and then its argument prototype would still apply. */ | 6291 builtin and then its argument prototype would still apply. */ |
6297 char shmat(); | 6292 char shmat(); |
6298 | 6293 |
6299 int main() { | 6294 int main() { |
6300 shmat() | 6295 shmat() |
6301 ; return 0; } | 6296 ; return 0; } |
6302 EOF | 6297 EOF |
6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6304 rm -rf conftest* | 6299 rm -rf conftest* |
6305 eval "ac_cv_lib_$ac_lib_var=yes" | 6300 eval "ac_cv_lib_$ac_lib_var=yes" |
6306 else | 6301 else |
6307 echo "configure: failed program was:" >&5 | 6302 echo "configure: failed program was:" >&5 |
6308 cat conftest.$ac_ext >&5 | 6303 cat conftest.$ac_ext >&5 |
6334 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6329 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6335 | 6330 |
6336 xe_msg_checking="for IceConnectionNumber in -lICE" | 6331 xe_msg_checking="for IceConnectionNumber in -lICE" |
6337 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6332 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6333 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6339 echo "configure:6340: checking "$xe_msg_checking"" >&5 | 6334 echo "configure:6335: checking "$xe_msg_checking"" >&5 |
6340 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6335 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6341 | 6336 |
6342 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6337 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6343 cat > conftest.$ac_ext <<EOF | 6338 cat > conftest.$ac_ext <<EOF |
6344 #line 6345 "configure" | 6339 #line 6340 "configure" |
6345 #include "confdefs.h" | 6340 #include "confdefs.h" |
6346 /* Override any gcc2 internal prototype to avoid an error. */ | 6341 /* Override any gcc2 internal prototype to avoid an error. */ |
6347 /* We use char because int might match the return type of a gcc2 | 6342 /* We use char because int might match the return type of a gcc2 |
6348 builtin and then its argument prototype would still apply. */ | 6343 builtin and then its argument prototype would still apply. */ |
6349 char IceConnectionNumber(); | 6344 char IceConnectionNumber(); |
6350 | 6345 |
6351 int main() { | 6346 int main() { |
6352 IceConnectionNumber() | 6347 IceConnectionNumber() |
6353 ; return 0; } | 6348 ; return 0; } |
6354 EOF | 6349 EOF |
6355 if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6350 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6356 rm -rf conftest* | 6351 rm -rf conftest* |
6357 eval "ac_cv_lib_$ac_lib_var=yes" | 6352 eval "ac_cv_lib_$ac_lib_var=yes" |
6358 else | 6353 else |
6359 echo "configure: failed program was:" >&5 | 6354 echo "configure: failed program was:" >&5 |
6360 cat conftest.$ac_ext >&5 | 6355 cat conftest.$ac_ext >&5 |
6517 EOF | 6512 EOF |
6518 } | 6513 } |
6519 | 6514 |
6520 | 6515 |
6521 echo "checking for X defines extracted by xmkmf" 1>&6 | 6516 echo "checking for X defines extracted by xmkmf" 1>&6 |
6522 echo "configure:6523: checking for X defines extracted by xmkmf" >&5 | 6517 echo "configure:6518: checking for X defines extracted by xmkmf" >&5 |
6523 rm -fr conftestdir | 6518 rm -fr conftestdir |
6524 if mkdir conftestdir; then | 6519 if mkdir conftestdir; then |
6525 cd conftestdir | 6520 cd conftestdir |
6526 cat > Imakefile <<'EOF' | 6521 cat > Imakefile <<'EOF' |
6527 xetest: | 6522 xetest: |
6566 done | 6561 done |
6567 fi | 6562 fi |
6568 | 6563 |
6569 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6564 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6570 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6565 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6571 echo "configure:6572: checking for X11/Intrinsic.h" >&5 | 6566 echo "configure:6567: checking for X11/Intrinsic.h" >&5 |
6572 | 6567 |
6573 cat > conftest.$ac_ext <<EOF | 6568 cat > conftest.$ac_ext <<EOF |
6574 #line 6575 "configure" | 6569 #line 6570 "configure" |
6575 #include "confdefs.h" | 6570 #include "confdefs.h" |
6576 #include <X11/Intrinsic.h> | 6571 #include <X11/Intrinsic.h> |
6577 EOF | 6572 EOF |
6578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6579 { (eval echo configure:6580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6574 { (eval echo configure:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6581 if test -z "$ac_err"; then | 6576 if test -z "$ac_err"; then |
6582 rm -rf conftest* | 6577 rm -rf conftest* |
6583 eval "ac_cv_header_$ac_safe=yes" | 6578 eval "ac_cv_header_$ac_safe=yes" |
6584 else | 6579 else |
6598 fi | 6593 fi |
6599 | 6594 |
6600 | 6595 |
6601 | 6596 |
6602 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for XOpenDisplay in -lX11" >&5 | 6598 echo "configure:6599: checking for XOpenDisplay in -lX11" >&5 |
6604 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6599 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6605 | 6600 |
6606 xe_check_libs=" -lX11 " | 6601 xe_check_libs=" -lX11 " |
6607 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6608 #line 6609 "configure" | 6603 #line 6604 "configure" |
6609 #include "confdefs.h" | 6604 #include "confdefs.h" |
6610 /* Override any gcc2 internal prototype to avoid an error. */ | 6605 /* Override any gcc2 internal prototype to avoid an error. */ |
6611 /* We use char because int might match the return type of a gcc2 | 6606 /* We use char because int might match the return type of a gcc2 |
6612 builtin and then its argument prototype would still apply. */ | 6607 builtin and then its argument prototype would still apply. */ |
6613 char XOpenDisplay(); | 6608 char XOpenDisplay(); |
6614 | 6609 |
6615 int main() { | 6610 int main() { |
6616 XOpenDisplay() | 6611 XOpenDisplay() |
6617 ; return 0; } | 6612 ; return 0; } |
6618 EOF | 6613 EOF |
6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6620 rm -rf conftest* | 6615 rm -rf conftest* |
6621 eval "ac_cv_lib_$ac_lib_var=yes" | 6616 eval "ac_cv_lib_$ac_lib_var=yes" |
6622 else | 6617 else |
6623 echo "configure: failed program was:" >&5 | 6618 echo "configure: failed program was:" >&5 |
6624 cat conftest.$ac_ext >&5 | 6619 cat conftest.$ac_ext >&5 |
6639 if test "$have_lib_x11" != "yes"; then | 6634 if test "$have_lib_x11" != "yes"; then |
6640 | 6635 |
6641 xe_msg_checking="for XGetFontProperty in -lX11" | 6636 xe_msg_checking="for XGetFontProperty in -lX11" |
6642 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6637 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6643 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6638 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6644 echo "configure:6645: checking "$xe_msg_checking"" >&5 | 6639 echo "configure:6640: checking "$xe_msg_checking"" >&5 |
6645 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6640 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6646 | 6641 |
6647 xe_check_libs=" -lX11 -b i486-linuxaout" | 6642 xe_check_libs=" -lX11 -b i486-linuxaout" |
6648 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6649 #line 6650 "configure" | 6644 #line 6645 "configure" |
6650 #include "confdefs.h" | 6645 #include "confdefs.h" |
6651 /* Override any gcc2 internal prototype to avoid an error. */ | 6646 /* Override any gcc2 internal prototype to avoid an error. */ |
6652 /* We use char because int might match the return type of a gcc2 | 6647 /* We use char because int might match the return type of a gcc2 |
6653 builtin and then its argument prototype would still apply. */ | 6648 builtin and then its argument prototype would still apply. */ |
6654 char XGetFontProperty(); | 6649 char XGetFontProperty(); |
6655 | 6650 |
6656 int main() { | 6651 int main() { |
6657 XGetFontProperty() | 6652 XGetFontProperty() |
6658 ; return 0; } | 6653 ; return 0; } |
6659 EOF | 6654 EOF |
6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6661 rm -rf conftest* | 6656 rm -rf conftest* |
6662 eval "ac_cv_lib_$ac_lib_var=yes" | 6657 eval "ac_cv_lib_$ac_lib_var=yes" |
6663 else | 6658 else |
6664 echo "configure: failed program was:" >&5 | 6659 echo "configure: failed program was:" >&5 |
6665 cat conftest.$ac_ext >&5 | 6660 cat conftest.$ac_ext >&5 |
6682 libs_x="-lX11" | 6677 libs_x="-lX11" |
6683 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6678 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6684 | 6679 |
6685 | 6680 |
6686 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6681 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6687 echo "configure:6688: checking for XShapeSelectInput in -lXext" >&5 | 6682 echo "configure:6683: checking for XShapeSelectInput in -lXext" >&5 |
6688 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6683 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6689 | 6684 |
6690 xe_check_libs=" -lXext " | 6685 xe_check_libs=" -lXext " |
6691 cat > conftest.$ac_ext <<EOF | 6686 cat > conftest.$ac_ext <<EOF |
6692 #line 6693 "configure" | 6687 #line 6688 "configure" |
6693 #include "confdefs.h" | 6688 #include "confdefs.h" |
6694 /* Override any gcc2 internal prototype to avoid an error. */ | 6689 /* Override any gcc2 internal prototype to avoid an error. */ |
6695 /* We use char because int might match the return type of a gcc2 | 6690 /* We use char because int might match the return type of a gcc2 |
6696 builtin and then its argument prototype would still apply. */ | 6691 builtin and then its argument prototype would still apply. */ |
6697 char XShapeSelectInput(); | 6692 char XShapeSelectInput(); |
6698 | 6693 |
6699 int main() { | 6694 int main() { |
6700 XShapeSelectInput() | 6695 XShapeSelectInput() |
6701 ; return 0; } | 6696 ; return 0; } |
6702 EOF | 6697 EOF |
6703 if { (eval echo configure:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6704 rm -rf conftest* | 6699 rm -rf conftest* |
6705 eval "ac_cv_lib_$ac_lib_var=yes" | 6700 eval "ac_cv_lib_$ac_lib_var=yes" |
6706 else | 6701 else |
6707 echo "configure: failed program was:" >&5 | 6702 echo "configure: failed program was:" >&5 |
6708 cat conftest.$ac_ext >&5 | 6703 cat conftest.$ac_ext >&5 |
6721 | 6716 |
6722 | 6717 |
6723 | 6718 |
6724 | 6719 |
6725 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6720 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6726 echo "configure:6727: checking for XtOpenDisplay in -lXt" >&5 | 6721 echo "configure:6722: checking for XtOpenDisplay in -lXt" >&5 |
6727 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6722 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6728 | 6723 |
6729 xe_check_libs=" -lXt " | 6724 xe_check_libs=" -lXt " |
6730 cat > conftest.$ac_ext <<EOF | 6725 cat > conftest.$ac_ext <<EOF |
6731 #line 6732 "configure" | 6726 #line 6727 "configure" |
6732 #include "confdefs.h" | 6727 #include "confdefs.h" |
6733 /* Override any gcc2 internal prototype to avoid an error. */ | 6728 /* Override any gcc2 internal prototype to avoid an error. */ |
6734 /* We use char because int might match the return type of a gcc2 | 6729 /* We use char because int might match the return type of a gcc2 |
6735 builtin and then its argument prototype would still apply. */ | 6730 builtin and then its argument prototype would still apply. */ |
6736 char XtOpenDisplay(); | 6731 char XtOpenDisplay(); |
6737 | 6732 |
6738 int main() { | 6733 int main() { |
6739 XtOpenDisplay() | 6734 XtOpenDisplay() |
6740 ; return 0; } | 6735 ; return 0; } |
6741 EOF | 6736 EOF |
6742 if { (eval echo configure:6743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6743 rm -rf conftest* | 6738 rm -rf conftest* |
6744 eval "ac_cv_lib_$ac_lib_var=yes" | 6739 eval "ac_cv_lib_$ac_lib_var=yes" |
6745 else | 6740 else |
6746 echo "configure: failed program was:" >&5 | 6741 echo "configure: failed program was:" >&5 |
6747 cat conftest.$ac_ext >&5 | 6742 cat conftest.$ac_ext >&5 |
6760 fi | 6755 fi |
6761 | 6756 |
6762 | 6757 |
6763 | 6758 |
6764 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6759 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6765 echo "configure:6766: checking the version of X11 being used" >&5 | 6760 echo "configure:6761: checking the version of X11 being used" >&5 |
6766 cat > conftest.$ac_ext <<EOF | 6761 cat > conftest.$ac_ext <<EOF |
6767 #line 6768 "configure" | 6762 #line 6763 "configure" |
6768 #include "confdefs.h" | 6763 #include "confdefs.h" |
6769 #include <X11/Intrinsic.h> | 6764 #include <X11/Intrinsic.h> |
6770 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6765 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6771 EOF | 6766 EOF |
6772 if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6767 if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6773 then | 6768 then |
6774 ./conftest foobar; x11_release=$? | 6769 ./conftest foobar; x11_release=$? |
6775 else | 6770 else |
6776 conftest_rc="$?" | 6771 conftest_rc="$?" |
6777 echo "configure: failed program was:" >&5 | 6772 echo "configure: failed program was:" >&5 |
6798 fi | 6793 fi |
6799 | 6794 |
6800 for ac_func in XConvertCase | 6795 for ac_func in XConvertCase |
6801 do | 6796 do |
6802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6803 echo "configure:6804: checking for $ac_func" >&5 | 6798 echo "configure:6799: checking for $ac_func" >&5 |
6804 | 6799 |
6805 cat > conftest.$ac_ext <<EOF | 6800 cat > conftest.$ac_ext <<EOF |
6806 #line 6807 "configure" | 6801 #line 6802 "configure" |
6807 #include "confdefs.h" | 6802 #include "confdefs.h" |
6808 /* System header to define __stub macros and hopefully few prototypes, | 6803 /* System header to define __stub macros and hopefully few prototypes, |
6809 which can conflict with char $ac_func(); below. */ | 6804 which can conflict with char $ac_func(); below. */ |
6810 #include <assert.h> | 6805 #include <assert.h> |
6811 /* Override any gcc2 internal prototype to avoid an error. */ | 6806 /* Override any gcc2 internal prototype to avoid an error. */ |
6824 $ac_func(); | 6819 $ac_func(); |
6825 #endif | 6820 #endif |
6826 | 6821 |
6827 ; return 0; } | 6822 ; return 0; } |
6828 EOF | 6823 EOF |
6829 if { (eval echo configure:6830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6830 rm -rf conftest* | 6825 rm -rf conftest* |
6831 eval "ac_cv_func_$ac_func=yes" | 6826 eval "ac_cv_func_$ac_func=yes" |
6832 else | 6827 else |
6833 echo "configure: failed program was:" >&5 | 6828 echo "configure: failed program was:" >&5 |
6834 cat conftest.$ac_ext >&5 | 6829 cat conftest.$ac_ext >&5 |
6856 | 6851 |
6857 for ac_hdr in X11/Xlocale.h | 6852 for ac_hdr in X11/Xlocale.h |
6858 do | 6853 do |
6859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6861 echo "configure:6862: checking for $ac_hdr" >&5 | 6856 echo "configure:6857: checking for $ac_hdr" >&5 |
6862 | 6857 |
6863 cat > conftest.$ac_ext <<EOF | 6858 cat > conftest.$ac_ext <<EOF |
6864 #line 6865 "configure" | 6859 #line 6860 "configure" |
6865 #include "confdefs.h" | 6860 #include "confdefs.h" |
6866 #include <$ac_hdr> | 6861 #include <$ac_hdr> |
6867 EOF | 6862 EOF |
6868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6869 { (eval echo configure:6870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6871 if test -z "$ac_err"; then | 6866 if test -z "$ac_err"; then |
6872 rm -rf conftest* | 6867 rm -rf conftest* |
6873 eval "ac_cv_header_$ac_safe=yes" | 6868 eval "ac_cv_header_$ac_safe=yes" |
6874 else | 6869 else |
6897 | 6892 |
6898 | 6893 |
6899 for ac_func in XRegisterIMInstantiateCallback | 6894 for ac_func in XRegisterIMInstantiateCallback |
6900 do | 6895 do |
6901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6902 echo "configure:6903: checking for $ac_func" >&5 | 6897 echo "configure:6898: checking for $ac_func" >&5 |
6903 | 6898 |
6904 cat > conftest.$ac_ext <<EOF | 6899 cat > conftest.$ac_ext <<EOF |
6905 #line 6906 "configure" | 6900 #line 6901 "configure" |
6906 #include "confdefs.h" | 6901 #include "confdefs.h" |
6907 /* System header to define __stub macros and hopefully few prototypes, | 6902 /* System header to define __stub macros and hopefully few prototypes, |
6908 which can conflict with char $ac_func(); below. */ | 6903 which can conflict with char $ac_func(); below. */ |
6909 #include <assert.h> | 6904 #include <assert.h> |
6910 /* Override any gcc2 internal prototype to avoid an error. */ | 6905 /* Override any gcc2 internal prototype to avoid an error. */ |
6923 $ac_func(); | 6918 $ac_func(); |
6924 #endif | 6919 #endif |
6925 | 6920 |
6926 ; return 0; } | 6921 ; return 0; } |
6927 EOF | 6922 EOF |
6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6929 rm -rf conftest* | 6924 rm -rf conftest* |
6930 eval "ac_cv_func_$ac_func=yes" | 6925 eval "ac_cv_func_$ac_func=yes" |
6931 else | 6926 else |
6932 echo "configure: failed program was:" >&5 | 6927 echo "configure: failed program was:" >&5 |
6933 cat conftest.$ac_ext >&5 | 6928 cat conftest.$ac_ext >&5 |
6951 echo "$ac_t""no" 1>&6 | 6946 echo "$ac_t""no" 1>&6 |
6952 fi | 6947 fi |
6953 done | 6948 done |
6954 | 6949 |
6955 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6950 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6956 echo "configure:6957: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6951 echo "configure:6952: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6957 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
6958 #line 6959 "configure" | 6953 #line 6954 "configure" |
6959 #include "confdefs.h" | 6954 #include "confdefs.h" |
6960 | 6955 |
6961 #define NeedFunctionPrototypes 1 | 6956 #define NeedFunctionPrototypes 1 |
6962 #include <X11/Xlib.h> | 6957 #include <X11/Xlib.h> |
6963 extern Bool XRegisterIMInstantiateCallback( | 6958 extern Bool XRegisterIMInstantiateCallback( |
6965 | 6960 |
6966 int main() { | 6961 int main() { |
6967 | 6962 |
6968 ; return 0; } | 6963 ; return 0; } |
6969 EOF | 6964 EOF |
6970 if { (eval echo configure:6971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6965 if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6971 rm -rf conftest* | 6966 rm -rf conftest* |
6972 echo "$ac_t""yes" 1>&6 | 6967 echo "$ac_t""yes" 1>&6 |
6973 else | 6968 else |
6974 echo "configure: failed program was:" >&5 | 6969 echo "configure: failed program was:" >&5 |
6975 cat conftest.$ac_ext >&5 | 6970 cat conftest.$ac_ext >&5 |
6986 fi | 6981 fi |
6987 rm -f conftest* | 6982 rm -f conftest* |
6988 | 6983 |
6989 test -z "$with_xmu" && { | 6984 test -z "$with_xmu" && { |
6990 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6985 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6991 echo "configure:6992: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6986 echo "configure:6987: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6992 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6987 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6993 | 6988 |
6994 xe_check_libs=" -lXmu " | 6989 xe_check_libs=" -lXmu " |
6995 cat > conftest.$ac_ext <<EOF | 6990 cat > conftest.$ac_ext <<EOF |
6996 #line 6997 "configure" | 6991 #line 6992 "configure" |
6997 #include "confdefs.h" | 6992 #include "confdefs.h" |
6998 /* Override any gcc2 internal prototype to avoid an error. */ | 6993 /* Override any gcc2 internal prototype to avoid an error. */ |
6999 /* We use char because int might match the return type of a gcc2 | 6994 /* We use char because int might match the return type of a gcc2 |
7000 builtin and then its argument prototype would still apply. */ | 6995 builtin and then its argument prototype would still apply. */ |
7001 char XmuReadBitmapDataFromFile(); | 6996 char XmuReadBitmapDataFromFile(); |
7002 | 6997 |
7003 int main() { | 6998 int main() { |
7004 XmuReadBitmapDataFromFile() | 6999 XmuReadBitmapDataFromFile() |
7005 ; return 0; } | 7000 ; return 0; } |
7006 EOF | 7001 EOF |
7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7008 rm -rf conftest* | 7003 rm -rf conftest* |
7009 eval "ac_cv_lib_$ac_lib_var=yes" | 7004 eval "ac_cv_lib_$ac_lib_var=yes" |
7010 else | 7005 else |
7011 echo "configure: failed program was:" >&5 | 7006 echo "configure: failed program was:" >&5 |
7012 cat conftest.$ac_ext >&5 | 7007 cat conftest.$ac_ext >&5 |
7041 | 7036 |
7042 fi | 7037 fi |
7043 | 7038 |
7044 | 7039 |
7045 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7040 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7046 echo "configure:7047: checking for main in -lXbsd" >&5 | 7041 echo "configure:7042: checking for main in -lXbsd" >&5 |
7047 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7042 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7048 | 7043 |
7049 xe_check_libs=" -lXbsd " | 7044 xe_check_libs=" -lXbsd " |
7050 cat > conftest.$ac_ext <<EOF | 7045 cat > conftest.$ac_ext <<EOF |
7051 #line 7052 "configure" | 7046 #line 7047 "configure" |
7052 #include "confdefs.h" | 7047 #include "confdefs.h" |
7053 | 7048 |
7054 int main() { | 7049 int main() { |
7055 main() | 7050 main() |
7056 ; return 0; } | 7051 ; return 0; } |
7057 EOF | 7052 EOF |
7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7059 rm -rf conftest* | 7054 rm -rf conftest* |
7060 eval "ac_cv_lib_$ac_lib_var=yes" | 7055 eval "ac_cv_lib_$ac_lib_var=yes" |
7061 else | 7056 else |
7062 echo "configure: failed program was:" >&5 | 7057 echo "configure: failed program was:" >&5 |
7063 cat conftest.$ac_ext >&5 | 7058 cat conftest.$ac_ext >&5 |
7090 fi | 7085 fi |
7091 | 7086 |
7092 fi | 7087 fi |
7093 if test "$with_msw" != "no"; then | 7088 if test "$with_msw" != "no"; then |
7094 echo "checking for MS-Windows" 1>&6 | 7089 echo "checking for MS-Windows" 1>&6 |
7095 echo "configure:7096: checking for MS-Windows" >&5 | 7090 echo "configure:7091: checking for MS-Windows" >&5 |
7096 | 7091 |
7097 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7092 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7098 echo "configure:7099: checking for main in -lgdi32" >&5 | 7093 echo "configure:7094: checking for main in -lgdi32" >&5 |
7099 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7094 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7100 | 7095 |
7101 xe_check_libs=" -lgdi32 " | 7096 xe_check_libs=" -lgdi32 " |
7102 cat > conftest.$ac_ext <<EOF | 7097 cat > conftest.$ac_ext <<EOF |
7103 #line 7104 "configure" | 7098 #line 7099 "configure" |
7104 #include "confdefs.h" | 7099 #include "confdefs.h" |
7105 | 7100 |
7106 int main() { | 7101 int main() { |
7107 main() | 7102 main() |
7108 ; return 0; } | 7103 ; return 0; } |
7109 EOF | 7104 EOF |
7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7111 rm -rf conftest* | 7106 rm -rf conftest* |
7112 eval "ac_cv_lib_$ac_lib_var=yes" | 7107 eval "ac_cv_lib_$ac_lib_var=yes" |
7113 else | 7108 else |
7114 echo "configure: failed program was:" >&5 | 7109 echo "configure: failed program was:" >&5 |
7115 cat conftest.$ac_ext >&5 | 7110 cat conftest.$ac_ext >&5 |
7156 test "$with_toolbars" != "no" && with_toolbars=msw | 7151 test "$with_toolbars" != "no" && with_toolbars=msw |
7157 test "$with_dialogs" != "no" && with_dialogs=msw | 7152 test "$with_dialogs" != "no" && with_dialogs=msw |
7158 test "$with_widgets" != "no" && with_widgets=msw | 7153 test "$with_widgets" != "no" && with_widgets=msw |
7159 fi | 7154 fi |
7160 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
7161 #line 7162 "configure" | 7156 #line 7157 "configure" |
7162 #include "confdefs.h" | 7157 #include "confdefs.h" |
7163 #include <fcntl.h> | 7158 #include <fcntl.h> |
7164 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7165 EOF | 7160 EOF |
7166 if { (eval echo configure:7167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7167 then | 7162 then |
7168 { test "$extra_verbose" = "yes" && cat << \EOF | 7163 { test "$extra_verbose" = "yes" && cat << \EOF |
7169 Defining HAVE_MSG_SELECT | 7164 Defining HAVE_MSG_SELECT |
7170 EOF | 7165 EOF |
7171 cat >> confdefs.h <<\EOF | 7166 cat >> confdefs.h <<\EOF |
7222 fi | 7217 fi |
7223 | 7218 |
7224 if test "$with_x11" = "yes"; then | 7219 if test "$with_x11" = "yes"; then |
7225 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7220 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7226 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7227 echo "configure:7228: checking for X11/extensions/shape.h" >&5 | 7222 echo "configure:7223: checking for X11/extensions/shape.h" >&5 |
7228 | 7223 |
7229 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7230 #line 7231 "configure" | 7225 #line 7226 "configure" |
7231 #include "confdefs.h" | 7226 #include "confdefs.h" |
7232 #include <X11/extensions/shape.h> | 7227 #include <X11/extensions/shape.h> |
7233 EOF | 7228 EOF |
7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7237 if test -z "$ac_err"; then | 7232 if test -z "$ac_err"; then |
7238 rm -rf conftest* | 7233 rm -rf conftest* |
7239 eval "ac_cv_header_$ac_safe=yes" | 7234 eval "ac_cv_header_$ac_safe=yes" |
7240 else | 7235 else |
7280 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7275 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7281 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7276 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7282 esac | 7277 esac |
7283 | 7278 |
7284 echo "checking for WM_COMMAND option" 1>&6 | 7279 echo "checking for WM_COMMAND option" 1>&6 |
7285 echo "configure:7286: checking for WM_COMMAND option" >&5; | 7280 echo "configure:7281: checking for WM_COMMAND option" >&5; |
7286 if test "$with_wmcommand" != "no"; then | 7281 if test "$with_wmcommand" != "no"; then |
7287 { test "$extra_verbose" = "yes" && cat << \EOF | 7282 { test "$extra_verbose" = "yes" && cat << \EOF |
7288 Defining HAVE_WMCOMMAND | 7283 Defining HAVE_WMCOMMAND |
7289 EOF | 7284 EOF |
7290 cat >> confdefs.h <<\EOF | 7285 cat >> confdefs.h <<\EOF |
7295 fi | 7290 fi |
7296 | 7291 |
7297 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7292 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7298 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7293 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7299 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7294 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7300 echo "configure:7301: checking for X11/Xauth.h" >&5 | 7295 echo "configure:7296: checking for X11/Xauth.h" >&5 |
7301 | 7296 |
7302 cat > conftest.$ac_ext <<EOF | 7297 cat > conftest.$ac_ext <<EOF |
7303 #line 7304 "configure" | 7298 #line 7299 "configure" |
7304 #include "confdefs.h" | 7299 #include "confdefs.h" |
7305 #include <X11/Xauth.h> | 7300 #include <X11/Xauth.h> |
7306 EOF | 7301 EOF |
7307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7308 { (eval echo configure:7309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7310 if test -z "$ac_err"; then | 7305 if test -z "$ac_err"; then |
7311 rm -rf conftest* | 7306 rm -rf conftest* |
7312 eval "ac_cv_header_$ac_safe=yes" | 7307 eval "ac_cv_header_$ac_safe=yes" |
7313 else | 7308 else |
7326 with_xauth=no | 7321 with_xauth=no |
7327 fi | 7322 fi |
7328 } | 7323 } |
7329 test -z "$with_xauth" && { | 7324 test -z "$with_xauth" && { |
7330 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7325 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7331 echo "configure:7332: checking for XauGetAuthByAddr in -lXau" >&5 | 7326 echo "configure:7327: checking for XauGetAuthByAddr in -lXau" >&5 |
7332 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7327 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7333 | 7328 |
7334 xe_check_libs=" -lXau " | 7329 xe_check_libs=" -lXau " |
7335 cat > conftest.$ac_ext <<EOF | 7330 cat > conftest.$ac_ext <<EOF |
7336 #line 7337 "configure" | 7331 #line 7332 "configure" |
7337 #include "confdefs.h" | 7332 #include "confdefs.h" |
7338 /* Override any gcc2 internal prototype to avoid an error. */ | 7333 /* Override any gcc2 internal prototype to avoid an error. */ |
7339 /* We use char because int might match the return type of a gcc2 | 7334 /* We use char because int might match the return type of a gcc2 |
7340 builtin and then its argument prototype would still apply. */ | 7335 builtin and then its argument prototype would still apply. */ |
7341 char XauGetAuthByAddr(); | 7336 char XauGetAuthByAddr(); |
7342 | 7337 |
7343 int main() { | 7338 int main() { |
7344 XauGetAuthByAddr() | 7339 XauGetAuthByAddr() |
7345 ; return 0; } | 7340 ; return 0; } |
7346 EOF | 7341 EOF |
7347 if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7342 if { (eval echo configure:7343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7348 rm -rf conftest* | 7343 rm -rf conftest* |
7349 eval "ac_cv_lib_$ac_lib_var=yes" | 7344 eval "ac_cv_lib_$ac_lib_var=yes" |
7350 else | 7345 else |
7351 echo "configure: failed program was:" >&5 | 7346 echo "configure: failed program was:" >&5 |
7352 cat conftest.$ac_ext >&5 | 7347 cat conftest.$ac_ext >&5 |
7387 | 7382 |
7388 if test "$with_tooltalk" != "no" ; then | 7383 if test "$with_tooltalk" != "no" ; then |
7389 for dir in "" "Tt/" "desktop/" ; do | 7384 for dir in "" "Tt/" "desktop/" ; do |
7390 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7391 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7392 echo "configure:7393: checking for ${dir}tt_c.h" >&5 | 7387 echo "configure:7388: checking for ${dir}tt_c.h" >&5 |
7393 | 7388 |
7394 cat > conftest.$ac_ext <<EOF | 7389 cat > conftest.$ac_ext <<EOF |
7395 #line 7396 "configure" | 7390 #line 7391 "configure" |
7396 #include "confdefs.h" | 7391 #include "confdefs.h" |
7397 #include <${dir}tt_c.h> | 7392 #include <${dir}tt_c.h> |
7398 EOF | 7393 EOF |
7399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7400 { (eval echo configure:7401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7395 { (eval echo configure:7396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7402 if test -z "$ac_err"; then | 7397 if test -z "$ac_err"; then |
7403 rm -rf conftest* | 7398 rm -rf conftest* |
7404 eval "ac_cv_header_$ac_safe=yes" | 7399 eval "ac_cv_header_$ac_safe=yes" |
7405 else | 7400 else |
7431 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7432 | 7427 |
7433 xe_msg_checking="for tt_message_create in -ltt" | 7428 xe_msg_checking="for tt_message_create in -ltt" |
7434 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7435 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7436 echo "configure:7437: checking "$xe_msg_checking"" >&5 | 7431 echo "configure:7432: checking "$xe_msg_checking"" >&5 |
7437 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7438 | 7433 |
7439 xe_check_libs=" -ltt $extra_libs" | 7434 xe_check_libs=" -ltt $extra_libs" |
7440 cat > conftest.$ac_ext <<EOF | 7435 cat > conftest.$ac_ext <<EOF |
7441 #line 7442 "configure" | 7436 #line 7437 "configure" |
7442 #include "confdefs.h" | 7437 #include "confdefs.h" |
7443 /* Override any gcc2 internal prototype to avoid an error. */ | 7438 /* Override any gcc2 internal prototype to avoid an error. */ |
7444 /* We use char because int might match the return type of a gcc2 | 7439 /* We use char because int might match the return type of a gcc2 |
7445 builtin and then its argument prototype would still apply. */ | 7440 builtin and then its argument prototype would still apply. */ |
7446 char tt_message_create(); | 7441 char tt_message_create(); |
7447 | 7442 |
7448 int main() { | 7443 int main() { |
7449 tt_message_create() | 7444 tt_message_create() |
7450 ; return 0; } | 7445 ; return 0; } |
7451 EOF | 7446 EOF |
7452 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7447 if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7453 rm -rf conftest* | 7448 rm -rf conftest* |
7454 eval "ac_cv_lib_$ac_lib_var=yes" | 7449 eval "ac_cv_lib_$ac_lib_var=yes" |
7455 else | 7450 else |
7456 echo "configure: failed program was:" >&5 | 7451 echo "configure: failed program was:" >&5 |
7457 cat conftest.$ac_ext >&5 | 7452 cat conftest.$ac_ext >&5 |
7501 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7502 fi | 7497 fi |
7503 | 7498 |
7504 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7505 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7506 echo "configure:7507: checking for Dt/Dt.h" >&5 | 7501 echo "configure:7502: checking for Dt/Dt.h" >&5 |
7507 | 7502 |
7508 cat > conftest.$ac_ext <<EOF | 7503 cat > conftest.$ac_ext <<EOF |
7509 #line 7510 "configure" | 7504 #line 7505 "configure" |
7510 #include "confdefs.h" | 7505 #include "confdefs.h" |
7511 #include <Dt/Dt.h> | 7506 #include <Dt/Dt.h> |
7512 EOF | 7507 EOF |
7513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7514 { (eval echo configure:7515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7509 { (eval echo configure:7510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7516 if test -z "$ac_err"; then | 7511 if test -z "$ac_err"; then |
7517 rm -rf conftest* | 7512 rm -rf conftest* |
7518 eval "ac_cv_header_$ac_safe=yes" | 7513 eval "ac_cv_header_$ac_safe=yes" |
7519 else | 7514 else |
7532 with_cde=no | 7527 with_cde=no |
7533 fi | 7528 fi |
7534 } | 7529 } |
7535 test -z "$with_cde" && { | 7530 test -z "$with_cde" && { |
7536 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7537 echo "configure:7538: checking for DtDndDragStart in -lDtSvc" >&5 | 7532 echo "configure:7533: checking for DtDndDragStart in -lDtSvc" >&5 |
7538 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7539 | 7534 |
7540 xe_check_libs=" -lDtSvc " | 7535 xe_check_libs=" -lDtSvc " |
7541 cat > conftest.$ac_ext <<EOF | 7536 cat > conftest.$ac_ext <<EOF |
7542 #line 7543 "configure" | 7537 #line 7538 "configure" |
7543 #include "confdefs.h" | 7538 #include "confdefs.h" |
7544 /* Override any gcc2 internal prototype to avoid an error. */ | 7539 /* Override any gcc2 internal prototype to avoid an error. */ |
7545 /* We use char because int might match the return type of a gcc2 | 7540 /* We use char because int might match the return type of a gcc2 |
7546 builtin and then its argument prototype would still apply. */ | 7541 builtin and then its argument prototype would still apply. */ |
7547 char DtDndDragStart(); | 7542 char DtDndDragStart(); |
7548 | 7543 |
7549 int main() { | 7544 int main() { |
7550 DtDndDragStart() | 7545 DtDndDragStart() |
7551 ; return 0; } | 7546 ; return 0; } |
7552 EOF | 7547 EOF |
7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7548 if { (eval echo configure:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7554 rm -rf conftest* | 7549 rm -rf conftest* |
7555 eval "ac_cv_lib_$ac_lib_var=yes" | 7550 eval "ac_cv_lib_$ac_lib_var=yes" |
7556 else | 7551 else |
7557 echo "configure: failed program was:" >&5 | 7552 echo "configure: failed program was:" >&5 |
7558 cat conftest.$ac_ext >&5 | 7553 cat conftest.$ac_ext >&5 |
7629 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7630 fi | 7625 fi |
7631 | 7626 |
7632 if test "$with_dragndrop" != "no" ; then | 7627 if test "$with_dragndrop" != "no" ; then |
7633 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7634 echo "configure:7635: checking if drag and drop API is needed" >&5 | 7629 echo "configure:7630: checking if drag and drop API is needed" >&5 |
7635 if test -n "$dragndrop_proto" ; then | 7630 if test -n "$dragndrop_proto" ; then |
7636 with_dragndrop=yes | 7631 with_dragndrop=yes |
7637 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7638 { test "$extra_verbose" = "yes" && cat << \EOF | 7633 { test "$extra_verbose" = "yes" && cat << \EOF |
7639 Defining HAVE_DRAGNDROP | 7634 Defining HAVE_DRAGNDROP |
7649 echo "$ac_t""no" 1>&6 | 7644 echo "$ac_t""no" 1>&6 |
7650 fi | 7645 fi |
7651 fi | 7646 fi |
7652 | 7647 |
7653 echo "checking for LDAP" 1>&6 | 7648 echo "checking for LDAP" 1>&6 |
7654 echo "configure:7655: checking for LDAP" >&5 | 7649 echo "configure:7650: checking for LDAP" >&5 |
7655 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7650 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7656 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7651 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7657 echo "configure:7658: checking for ldap.h" >&5 | 7652 echo "configure:7653: checking for ldap.h" >&5 |
7658 | 7653 |
7659 cat > conftest.$ac_ext <<EOF | 7654 cat > conftest.$ac_ext <<EOF |
7660 #line 7661 "configure" | 7655 #line 7656 "configure" |
7661 #include "confdefs.h" | 7656 #include "confdefs.h" |
7662 #include <ldap.h> | 7657 #include <ldap.h> |
7663 EOF | 7658 EOF |
7664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7665 { (eval echo configure:7666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7660 { (eval echo configure:7661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7667 if test -z "$ac_err"; then | 7662 if test -z "$ac_err"; then |
7668 rm -rf conftest* | 7663 rm -rf conftest* |
7669 eval "ac_cv_header_$ac_safe=yes" | 7664 eval "ac_cv_header_$ac_safe=yes" |
7670 else | 7665 else |
7683 with_ldap=no | 7678 with_ldap=no |
7684 fi | 7679 fi |
7685 } | 7680 } |
7686 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7681 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7687 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7682 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7688 echo "configure:7689: checking for lber.h" >&5 | 7683 echo "configure:7684: checking for lber.h" >&5 |
7689 | 7684 |
7690 cat > conftest.$ac_ext <<EOF | 7685 cat > conftest.$ac_ext <<EOF |
7691 #line 7692 "configure" | 7686 #line 7687 "configure" |
7692 #include "confdefs.h" | 7687 #include "confdefs.h" |
7693 #include <lber.h> | 7688 #include <lber.h> |
7694 EOF | 7689 EOF |
7695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7696 { (eval echo configure:7697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7691 { (eval echo configure:7692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7698 if test -z "$ac_err"; then | 7693 if test -z "$ac_err"; then |
7699 rm -rf conftest* | 7694 rm -rf conftest* |
7700 eval "ac_cv_header_$ac_safe=yes" | 7695 eval "ac_cv_header_$ac_safe=yes" |
7701 else | 7696 else |
7715 fi | 7710 fi |
7716 } | 7711 } |
7717 if test "$with_ldap" != "no"; then | 7712 if test "$with_ldap" != "no"; then |
7718 | 7713 |
7719 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7714 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7720 echo "configure:7721: checking for ldap_search in -lldap" >&5 | 7715 echo "configure:7716: checking for ldap_search in -lldap" >&5 |
7721 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7716 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7722 | 7717 |
7723 xe_check_libs=" -lldap " | 7718 xe_check_libs=" -lldap " |
7724 cat > conftest.$ac_ext <<EOF | 7719 cat > conftest.$ac_ext <<EOF |
7725 #line 7726 "configure" | 7720 #line 7721 "configure" |
7726 #include "confdefs.h" | 7721 #include "confdefs.h" |
7727 /* Override any gcc2 internal prototype to avoid an error. */ | 7722 /* Override any gcc2 internal prototype to avoid an error. */ |
7728 /* We use char because int might match the return type of a gcc2 | 7723 /* We use char because int might match the return type of a gcc2 |
7729 builtin and then its argument prototype would still apply. */ | 7724 builtin and then its argument prototype would still apply. */ |
7730 char ldap_search(); | 7725 char ldap_search(); |
7731 | 7726 |
7732 int main() { | 7727 int main() { |
7733 ldap_search() | 7728 ldap_search() |
7734 ; return 0; } | 7729 ; return 0; } |
7735 EOF | 7730 EOF |
7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7737 rm -rf conftest* | 7732 rm -rf conftest* |
7738 eval "ac_cv_lib_$ac_lib_var=yes" | 7733 eval "ac_cv_lib_$ac_lib_var=yes" |
7739 else | 7734 else |
7740 echo "configure: failed program was:" >&5 | 7735 echo "configure: failed program was:" >&5 |
7741 cat conftest.$ac_ext >&5 | 7736 cat conftest.$ac_ext >&5 |
7756 | 7751 |
7757 test "$with_ldap_nolber" = "no" && { | 7752 test "$with_ldap_nolber" = "no" && { |
7758 xe_msg_checking="for ldap_open in -lldap" | 7753 xe_msg_checking="for ldap_open in -lldap" |
7759 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7754 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7760 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7755 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7761 echo "configure:7762: checking "$xe_msg_checking"" >&5 | 7756 echo "configure:7757: checking "$xe_msg_checking"" >&5 |
7762 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7757 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7763 | 7758 |
7764 xe_check_libs=" -lldap -llber" | 7759 xe_check_libs=" -lldap -llber" |
7765 cat > conftest.$ac_ext <<EOF | 7760 cat > conftest.$ac_ext <<EOF |
7766 #line 7767 "configure" | 7761 #line 7762 "configure" |
7767 #include "confdefs.h" | 7762 #include "confdefs.h" |
7768 /* Override any gcc2 internal prototype to avoid an error. */ | 7763 /* Override any gcc2 internal prototype to avoid an error. */ |
7769 /* We use char because int might match the return type of a gcc2 | 7764 /* We use char because int might match the return type of a gcc2 |
7770 builtin and then its argument prototype would still apply. */ | 7765 builtin and then its argument prototype would still apply. */ |
7771 char ldap_open(); | 7766 char ldap_open(); |
7772 | 7767 |
7773 int main() { | 7768 int main() { |
7774 ldap_open() | 7769 ldap_open() |
7775 ; return 0; } | 7770 ; return 0; } |
7776 EOF | 7771 EOF |
7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7778 rm -rf conftest* | 7773 rm -rf conftest* |
7779 eval "ac_cv_lib_$ac_lib_var=yes" | 7774 eval "ac_cv_lib_$ac_lib_var=yes" |
7780 else | 7775 else |
7781 echo "configure: failed program was:" >&5 | 7776 echo "configure: failed program was:" >&5 |
7782 cat conftest.$ac_ext >&5 | 7777 cat conftest.$ac_ext >&5 |
7797 } | 7792 } |
7798 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7793 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7799 xe_msg_checking="for ldap_open in -lldap" | 7794 xe_msg_checking="for ldap_open in -lldap" |
7800 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7795 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7801 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7796 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7802 echo "configure:7803: checking "$xe_msg_checking"" >&5 | 7797 echo "configure:7798: checking "$xe_msg_checking"" >&5 |
7803 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7798 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7804 | 7799 |
7805 xe_check_libs=" -lldap -llber -lkrb" | 7800 xe_check_libs=" -lldap -llber -lkrb" |
7806 cat > conftest.$ac_ext <<EOF | 7801 cat > conftest.$ac_ext <<EOF |
7807 #line 7808 "configure" | 7802 #line 7803 "configure" |
7808 #include "confdefs.h" | 7803 #include "confdefs.h" |
7809 /* Override any gcc2 internal prototype to avoid an error. */ | 7804 /* Override any gcc2 internal prototype to avoid an error. */ |
7810 /* We use char because int might match the return type of a gcc2 | 7805 /* We use char because int might match the return type of a gcc2 |
7811 builtin and then its argument prototype would still apply. */ | 7806 builtin and then its argument prototype would still apply. */ |
7812 char ldap_open(); | 7807 char ldap_open(); |
7813 | 7808 |
7814 int main() { | 7809 int main() { |
7815 ldap_open() | 7810 ldap_open() |
7816 ; return 0; } | 7811 ; return 0; } |
7817 EOF | 7812 EOF |
7818 if { (eval echo configure:7819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7819 rm -rf conftest* | 7814 rm -rf conftest* |
7820 eval "ac_cv_lib_$ac_lib_var=yes" | 7815 eval "ac_cv_lib_$ac_lib_var=yes" |
7821 else | 7816 else |
7822 echo "configure: failed program was:" >&5 | 7817 echo "configure: failed program was:" >&5 |
7823 cat conftest.$ac_ext >&5 | 7818 cat conftest.$ac_ext >&5 |
7838 } | 7833 } |
7839 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7834 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7840 xe_msg_checking="for ldap_open in -lldap" | 7835 xe_msg_checking="for ldap_open in -lldap" |
7841 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7836 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7842 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7837 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7843 echo "configure:7844: checking "$xe_msg_checking"" >&5 | 7838 echo "configure:7839: checking "$xe_msg_checking"" >&5 |
7844 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7839 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7845 | 7840 |
7846 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7841 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7847 cat > conftest.$ac_ext <<EOF | 7842 cat > conftest.$ac_ext <<EOF |
7848 #line 7849 "configure" | 7843 #line 7844 "configure" |
7849 #include "confdefs.h" | 7844 #include "confdefs.h" |
7850 /* Override any gcc2 internal prototype to avoid an error. */ | 7845 /* Override any gcc2 internal prototype to avoid an error. */ |
7851 /* We use char because int might match the return type of a gcc2 | 7846 /* We use char because int might match the return type of a gcc2 |
7852 builtin and then its argument prototype would still apply. */ | 7847 builtin and then its argument prototype would still apply. */ |
7853 char ldap_open(); | 7848 char ldap_open(); |
7854 | 7849 |
7855 int main() { | 7850 int main() { |
7856 ldap_open() | 7851 ldap_open() |
7857 ; return 0; } | 7852 ; return 0; } |
7858 EOF | 7853 EOF |
7859 if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7854 if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7860 rm -rf conftest* | 7855 rm -rf conftest* |
7861 eval "ac_cv_lib_$ac_lib_var=yes" | 7856 eval "ac_cv_lib_$ac_lib_var=yes" |
7862 else | 7857 else |
7863 echo "configure: failed program was:" >&5 | 7858 echo "configure: failed program was:" >&5 |
7864 cat conftest.$ac_ext >&5 | 7859 cat conftest.$ac_ext >&5 |
7902 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7897 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7903 fi | 7898 fi |
7904 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7899 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7905 do | 7900 do |
7906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7907 echo "configure:7908: checking for $ac_func" >&5 | 7902 echo "configure:7903: checking for $ac_func" >&5 |
7908 | 7903 |
7909 cat > conftest.$ac_ext <<EOF | 7904 cat > conftest.$ac_ext <<EOF |
7910 #line 7911 "configure" | 7905 #line 7906 "configure" |
7911 #include "confdefs.h" | 7906 #include "confdefs.h" |
7912 /* System header to define __stub macros and hopefully few prototypes, | 7907 /* System header to define __stub macros and hopefully few prototypes, |
7913 which can conflict with char $ac_func(); below. */ | 7908 which can conflict with char $ac_func(); below. */ |
7914 #include <assert.h> | 7909 #include <assert.h> |
7915 /* Override any gcc2 internal prototype to avoid an error. */ | 7910 /* Override any gcc2 internal prototype to avoid an error. */ |
7928 $ac_func(); | 7923 $ac_func(); |
7929 #endif | 7924 #endif |
7930 | 7925 |
7931 ; return 0; } | 7926 ; return 0; } |
7932 EOF | 7927 EOF |
7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7934 rm -rf conftest* | 7929 rm -rf conftest* |
7935 eval "ac_cv_func_$ac_func=yes" | 7930 eval "ac_cv_func_$ac_func=yes" |
7936 else | 7931 else |
7937 echo "configure: failed program was:" >&5 | 7932 echo "configure: failed program was:" >&5 |
7938 cat conftest.$ac_ext >&5 | 7933 cat conftest.$ac_ext >&5 |
7959 | 7954 |
7960 fi | 7955 fi |
7961 | 7956 |
7962 if test "$with_postgresql" != "no"; then | 7957 if test "$with_postgresql" != "no"; then |
7963 echo "checking for PostgreSQL" 1>&6 | 7958 echo "checking for PostgreSQL" 1>&6 |
7964 echo "configure:7965: checking for PostgreSQL" >&5 | 7959 echo "configure:7960: checking for PostgreSQL" >&5 |
7965 | 7960 |
7966 for header_dir in "" "pgsql/" "postgresql/"; do | 7961 for header_dir in "" "pgsql/" "postgresql/"; do |
7967 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7962 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7968 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7963 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7969 echo "configure:7970: checking for ${header_dir}libpq-fe.h" >&5 | 7964 echo "configure:7965: checking for ${header_dir}libpq-fe.h" >&5 |
7970 | 7965 |
7971 cat > conftest.$ac_ext <<EOF | 7966 cat > conftest.$ac_ext <<EOF |
7972 #line 7973 "configure" | 7967 #line 7968 "configure" |
7973 #include "confdefs.h" | 7968 #include "confdefs.h" |
7974 #include <${header_dir}libpq-fe.h> | 7969 #include <${header_dir}libpq-fe.h> |
7975 EOF | 7970 EOF |
7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7979 if test -z "$ac_err"; then | 7974 if test -z "$ac_err"; then |
7980 rm -rf conftest* | 7975 rm -rf conftest* |
7981 eval "ac_cv_header_$ac_safe=yes" | 7976 eval "ac_cv_header_$ac_safe=yes" |
7982 else | 7977 else |
7996 | 7991 |
7997 done | 7992 done |
7998 | 7993 |
7999 test -n "$libpq_fe_h_file" && { | 7994 test -n "$libpq_fe_h_file" && { |
8000 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7995 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8001 echo "configure:8002: checking for PQconnectdb in -lpq" >&5 | 7996 echo "configure:7997: checking for PQconnectdb in -lpq" >&5 |
8002 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7997 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8003 | 7998 |
8004 xe_check_libs=" -lpq " | 7999 xe_check_libs=" -lpq " |
8005 cat > conftest.$ac_ext <<EOF | 8000 cat > conftest.$ac_ext <<EOF |
8006 #line 8007 "configure" | 8001 #line 8002 "configure" |
8007 #include "confdefs.h" | 8002 #include "confdefs.h" |
8008 /* Override any gcc2 internal prototype to avoid an error. */ | 8003 /* Override any gcc2 internal prototype to avoid an error. */ |
8009 /* We use char because int might match the return type of a gcc2 | 8004 /* We use char because int might match the return type of a gcc2 |
8010 builtin and then its argument prototype would still apply. */ | 8005 builtin and then its argument prototype would still apply. */ |
8011 char PQconnectdb(); | 8006 char PQconnectdb(); |
8012 | 8007 |
8013 int main() { | 8008 int main() { |
8014 PQconnectdb() | 8009 PQconnectdb() |
8015 ; return 0; } | 8010 ; return 0; } |
8016 EOF | 8011 EOF |
8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8018 rm -rf conftest* | 8013 rm -rf conftest* |
8019 eval "ac_cv_lib_$ac_lib_var=yes" | 8014 eval "ac_cv_lib_$ac_lib_var=yes" |
8020 else | 8015 else |
8021 echo "configure: failed program was:" >&5 | 8016 echo "configure: failed program was:" >&5 |
8022 cat conftest.$ac_ext >&5 | 8017 cat conftest.$ac_ext >&5 |
8045 EOF | 8040 EOF |
8046 } | 8041 } |
8047 | 8042 |
8048 | 8043 |
8049 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8044 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking for PQconnectStart in -lpq" >&5 | 8045 echo "configure:8046: checking for PQconnectStart in -lpq" >&5 |
8051 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8046 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8052 | 8047 |
8053 xe_check_libs=" -lpq " | 8048 xe_check_libs=" -lpq " |
8054 cat > conftest.$ac_ext <<EOF | 8049 cat > conftest.$ac_ext <<EOF |
8055 #line 8056 "configure" | 8050 #line 8051 "configure" |
8056 #include "confdefs.h" | 8051 #include "confdefs.h" |
8057 /* Override any gcc2 internal prototype to avoid an error. */ | 8052 /* Override any gcc2 internal prototype to avoid an error. */ |
8058 /* We use char because int might match the return type of a gcc2 | 8053 /* We use char because int might match the return type of a gcc2 |
8059 builtin and then its argument prototype would still apply. */ | 8054 builtin and then its argument prototype would still apply. */ |
8060 char PQconnectStart(); | 8055 char PQconnectStart(); |
8061 | 8056 |
8062 int main() { | 8057 int main() { |
8063 PQconnectStart() | 8058 PQconnectStart() |
8064 ; return 0; } | 8059 ; return 0; } |
8065 EOF | 8060 EOF |
8066 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8067 rm -rf conftest* | 8062 rm -rf conftest* |
8068 eval "ac_cv_lib_$ac_lib_var=yes" | 8063 eval "ac_cv_lib_$ac_lib_var=yes" |
8069 else | 8064 else |
8070 echo "configure: failed program was:" >&5 | 8065 echo "configure: failed program was:" >&5 |
8071 cat conftest.$ac_ext >&5 | 8066 cat conftest.$ac_ext >&5 |
8106 fi | 8101 fi |
8107 | 8102 |
8108 | 8103 |
8109 if test "$window_system" != "none"; then | 8104 if test "$window_system" != "none"; then |
8110 echo "checking for graphics libraries" 1>&6 | 8105 echo "checking for graphics libraries" 1>&6 |
8111 echo "configure:8112: checking for graphics libraries" >&5 | 8106 echo "configure:8107: checking for graphics libraries" >&5 |
8112 | 8107 |
8113 libpath_xpm= | 8108 libpath_xpm= |
8114 incpath_xpm= | 8109 incpath_xpm= |
8115 case "$opsys" in | 8110 case "$opsys" in |
8116 cygwin*) | 8111 cygwin*) |
8132 xpm_problem="" | 8127 xpm_problem="" |
8133 if test -z "$with_xpm"; then | 8128 if test -z "$with_xpm"; then |
8134 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8129 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8135 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8130 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8136 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8131 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8137 echo "configure:8138: checking for Xpm - no older than 3.4f" >&5 | 8132 echo "configure:8133: checking for Xpm - no older than 3.4f" >&5 |
8138 xe_check_libs=-lXpm | 8133 xe_check_libs=-lXpm |
8139 cat > conftest.$ac_ext <<EOF | 8134 cat > conftest.$ac_ext <<EOF |
8140 #line 8141 "configure" | 8135 #line 8136 "configure" |
8141 #include "confdefs.h" | 8136 #include "confdefs.h" |
8142 #define XPM_NUMBERS | 8137 #define XPM_NUMBERS |
8143 #include <X11/xpm.h> | 8138 #include <X11/xpm.h> |
8144 int main(int c, char **v) { | 8139 int main(int c, char **v) { |
8145 return c == 1 ? 0 : | 8140 return c == 1 ? 0 : |
8146 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8141 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8147 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8142 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8148 EOF | 8143 EOF |
8149 if { (eval echo configure:8150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8150 then | 8145 then |
8151 ./conftest dummy_arg; xpm_status=$?; | 8146 ./conftest dummy_arg; xpm_status=$?; |
8152 if test "$xpm_status" = "0"; then | 8147 if test "$xpm_status" = "0"; then |
8153 with_xpm=yes; | 8148 with_xpm=yes; |
8154 else | 8149 else |
8188 | 8183 |
8189 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8184 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8190 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8185 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8191 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8186 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8192 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8187 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8193 echo "configure:8194: checking for \"FOR_MSW\" xpm" >&5 | 8188 echo "configure:8189: checking for \"FOR_MSW\" xpm" >&5 |
8194 xe_check_libs=-lXpm | 8189 xe_check_libs=-lXpm |
8195 cat > conftest.$ac_ext <<EOF | 8190 cat > conftest.$ac_ext <<EOF |
8196 #line 8197 "configure" | 8191 #line 8192 "configure" |
8197 #include "confdefs.h" | 8192 #include "confdefs.h" |
8198 | 8193 |
8199 int main() { | 8194 int main() { |
8200 XpmCreatePixmapFromData() | 8195 XpmCreatePixmapFromData() |
8201 ; return 0; } | 8196 ; return 0; } |
8202 EOF | 8197 EOF |
8203 if { (eval echo configure:8204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8198 if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8204 rm -rf conftest* | 8199 rm -rf conftest* |
8205 xpm_for_msw=no | 8200 xpm_for_msw=no |
8206 else | 8201 else |
8207 echo "configure: failed program was:" >&5 | 8202 echo "configure: failed program was:" >&5 |
8208 cat conftest.$ac_ext >&5 | 8203 cat conftest.$ac_ext >&5 |
8224 fi | 8219 fi |
8225 fi | 8220 fi |
8226 | 8221 |
8227 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8222 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8228 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8223 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8229 echo "configure:8230: checking for compface.h" >&5 | 8224 echo "configure:8225: checking for compface.h" >&5 |
8230 | 8225 |
8231 cat > conftest.$ac_ext <<EOF | 8226 cat > conftest.$ac_ext <<EOF |
8232 #line 8233 "configure" | 8227 #line 8228 "configure" |
8233 #include "confdefs.h" | 8228 #include "confdefs.h" |
8234 #include <compface.h> | 8229 #include <compface.h> |
8235 EOF | 8230 EOF |
8236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8237 { (eval echo configure:8238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8232 { (eval echo configure:8233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8239 if test -z "$ac_err"; then | 8234 if test -z "$ac_err"; then |
8240 rm -rf conftest* | 8235 rm -rf conftest* |
8241 eval "ac_cv_header_$ac_safe=yes" | 8236 eval "ac_cv_header_$ac_safe=yes" |
8242 else | 8237 else |
8255 with_xface=no | 8250 with_xface=no |
8256 fi | 8251 fi |
8257 } | 8252 } |
8258 test -z "$with_xface" && { | 8253 test -z "$with_xface" && { |
8259 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8254 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8260 echo "configure:8261: checking for UnGenFace in -lcompface" >&5 | 8255 echo "configure:8256: checking for UnGenFace in -lcompface" >&5 |
8261 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8256 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8262 | 8257 |
8263 xe_check_libs=" -lcompface " | 8258 xe_check_libs=" -lcompface " |
8264 cat > conftest.$ac_ext <<EOF | 8259 cat > conftest.$ac_ext <<EOF |
8265 #line 8266 "configure" | 8260 #line 8261 "configure" |
8266 #include "confdefs.h" | 8261 #include "confdefs.h" |
8267 /* Override any gcc2 internal prototype to avoid an error. */ | 8262 /* Override any gcc2 internal prototype to avoid an error. */ |
8268 /* We use char because int might match the return type of a gcc2 | 8263 /* We use char because int might match the return type of a gcc2 |
8269 builtin and then its argument prototype would still apply. */ | 8264 builtin and then its argument prototype would still apply. */ |
8270 char UnGenFace(); | 8265 char UnGenFace(); |
8271 | 8266 |
8272 int main() { | 8267 int main() { |
8273 UnGenFace() | 8268 UnGenFace() |
8274 ; return 0; } | 8269 ; return 0; } |
8275 EOF | 8270 EOF |
8276 if { (eval echo configure:8277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8277 rm -rf conftest* | 8272 rm -rf conftest* |
8278 eval "ac_cv_lib_$ac_lib_var=yes" | 8273 eval "ac_cv_lib_$ac_lib_var=yes" |
8279 else | 8274 else |
8280 echo "configure: failed program was:" >&5 | 8275 echo "configure: failed program was:" >&5 |
8281 cat conftest.$ac_ext >&5 | 8276 cat conftest.$ac_ext >&5 |
8320 fi | 8315 fi |
8321 | 8316 |
8322 if test "$with_png $with_tiff" != "no no"; then | 8317 if test "$with_png $with_tiff" != "no no"; then |
8323 | 8318 |
8324 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8319 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8325 echo "configure:8326: checking for inflate in -lc" >&5 | 8320 echo "configure:8321: checking for inflate in -lc" >&5 |
8326 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8321 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8327 | 8322 |
8328 xe_check_libs=" -lc " | 8323 xe_check_libs=" -lc " |
8329 cat > conftest.$ac_ext <<EOF | 8324 cat > conftest.$ac_ext <<EOF |
8330 #line 8331 "configure" | 8325 #line 8326 "configure" |
8331 #include "confdefs.h" | 8326 #include "confdefs.h" |
8332 /* Override any gcc2 internal prototype to avoid an error. */ | 8327 /* Override any gcc2 internal prototype to avoid an error. */ |
8333 /* We use char because int might match the return type of a gcc2 | 8328 /* We use char because int might match the return type of a gcc2 |
8334 builtin and then its argument prototype would still apply. */ | 8329 builtin and then its argument prototype would still apply. */ |
8335 char inflate(); | 8330 char inflate(); |
8336 | 8331 |
8337 int main() { | 8332 int main() { |
8338 inflate() | 8333 inflate() |
8339 ; return 0; } | 8334 ; return 0; } |
8340 EOF | 8335 EOF |
8341 if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8342 rm -rf conftest* | 8337 rm -rf conftest* |
8343 eval "ac_cv_lib_$ac_lib_var=yes" | 8338 eval "ac_cv_lib_$ac_lib_var=yes" |
8344 else | 8339 else |
8345 echo "configure: failed program was:" >&5 | 8340 echo "configure: failed program was:" >&5 |
8346 cat conftest.$ac_ext >&5 | 8341 cat conftest.$ac_ext >&5 |
8355 : | 8350 : |
8356 else | 8351 else |
8357 echo "$ac_t""no" 1>&6 | 8352 echo "$ac_t""no" 1>&6 |
8358 | 8353 |
8359 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8354 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8360 echo "configure:8361: checking for inflate in -lz" >&5 | 8355 echo "configure:8356: checking for inflate in -lz" >&5 |
8361 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8356 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8362 | 8357 |
8363 xe_check_libs=" -lz " | 8358 xe_check_libs=" -lz " |
8364 cat > conftest.$ac_ext <<EOF | 8359 cat > conftest.$ac_ext <<EOF |
8365 #line 8366 "configure" | 8360 #line 8361 "configure" |
8366 #include "confdefs.h" | 8361 #include "confdefs.h" |
8367 /* Override any gcc2 internal prototype to avoid an error. */ | 8362 /* Override any gcc2 internal prototype to avoid an error. */ |
8368 /* We use char because int might match the return type of a gcc2 | 8363 /* We use char because int might match the return type of a gcc2 |
8369 builtin and then its argument prototype would still apply. */ | 8364 builtin and then its argument prototype would still apply. */ |
8370 char inflate(); | 8365 char inflate(); |
8371 | 8366 |
8372 int main() { | 8367 int main() { |
8373 inflate() | 8368 inflate() |
8374 ; return 0; } | 8369 ; return 0; } |
8375 EOF | 8370 EOF |
8376 if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8377 rm -rf conftest* | 8372 rm -rf conftest* |
8378 eval "ac_cv_lib_$ac_lib_var=yes" | 8373 eval "ac_cv_lib_$ac_lib_var=yes" |
8379 else | 8374 else |
8380 echo "configure: failed program was:" >&5 | 8375 echo "configure: failed program was:" >&5 |
8381 cat conftest.$ac_ext >&5 | 8376 cat conftest.$ac_ext >&5 |
8390 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8385 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8391 else | 8386 else |
8392 echo "$ac_t""no" 1>&6 | 8387 echo "$ac_t""no" 1>&6 |
8393 | 8388 |
8394 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8389 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8395 echo "configure:8396: checking for inflate in -lgz" >&5 | 8390 echo "configure:8391: checking for inflate in -lgz" >&5 |
8396 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8391 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8397 | 8392 |
8398 xe_check_libs=" -lgz " | 8393 xe_check_libs=" -lgz " |
8399 cat > conftest.$ac_ext <<EOF | 8394 cat > conftest.$ac_ext <<EOF |
8400 #line 8401 "configure" | 8395 #line 8396 "configure" |
8401 #include "confdefs.h" | 8396 #include "confdefs.h" |
8402 /* Override any gcc2 internal prototype to avoid an error. */ | 8397 /* Override any gcc2 internal prototype to avoid an error. */ |
8403 /* We use char because int might match the return type of a gcc2 | 8398 /* We use char because int might match the return type of a gcc2 |
8404 builtin and then its argument prototype would still apply. */ | 8399 builtin and then its argument prototype would still apply. */ |
8405 char inflate(); | 8400 char inflate(); |
8406 | 8401 |
8407 int main() { | 8402 int main() { |
8408 inflate() | 8403 inflate() |
8409 ; return 0; } | 8404 ; return 0; } |
8410 EOF | 8405 EOF |
8411 if { (eval echo configure:8412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8412 rm -rf conftest* | 8407 rm -rf conftest* |
8413 eval "ac_cv_lib_$ac_lib_var=yes" | 8408 eval "ac_cv_lib_$ac_lib_var=yes" |
8414 else | 8409 else |
8415 echo "configure: failed program was:" >&5 | 8410 echo "configure: failed program was:" >&5 |
8416 cat conftest.$ac_ext >&5 | 8411 cat conftest.$ac_ext >&5 |
8436 | 8431 |
8437 fi | 8432 fi |
8438 | 8433 |
8439 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8434 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8440 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8435 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8441 echo "configure:8442: checking for jpeglib.h" >&5 | 8436 echo "configure:8437: checking for jpeglib.h" >&5 |
8442 | 8437 |
8443 cat > conftest.$ac_ext <<EOF | 8438 cat > conftest.$ac_ext <<EOF |
8444 #line 8445 "configure" | 8439 #line 8440 "configure" |
8445 #include "confdefs.h" | 8440 #include "confdefs.h" |
8446 #include <jpeglib.h> | 8441 #include <jpeglib.h> |
8447 EOF | 8442 EOF |
8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8444 { (eval echo configure:8445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8451 if test -z "$ac_err"; then | 8446 if test -z "$ac_err"; then |
8452 rm -rf conftest* | 8447 rm -rf conftest* |
8453 eval "ac_cv_header_$ac_safe=yes" | 8448 eval "ac_cv_header_$ac_safe=yes" |
8454 else | 8449 else |
8467 with_jpeg=no | 8462 with_jpeg=no |
8468 fi | 8463 fi |
8469 } | 8464 } |
8470 test -z "$with_jpeg" && { | 8465 test -z "$with_jpeg" && { |
8471 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8466 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8472 echo "configure:8473: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8467 echo "configure:8468: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8473 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8468 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8474 | 8469 |
8475 xe_check_libs=" -ljpeg " | 8470 xe_check_libs=" -ljpeg " |
8476 cat > conftest.$ac_ext <<EOF | 8471 cat > conftest.$ac_ext <<EOF |
8477 #line 8478 "configure" | 8472 #line 8473 "configure" |
8478 #include "confdefs.h" | 8473 #include "confdefs.h" |
8479 /* Override any gcc2 internal prototype to avoid an error. */ | 8474 /* Override any gcc2 internal prototype to avoid an error. */ |
8480 /* We use char because int might match the return type of a gcc2 | 8475 /* We use char because int might match the return type of a gcc2 |
8481 builtin and then its argument prototype would still apply. */ | 8476 builtin and then its argument prototype would still apply. */ |
8482 char jpeg_destroy_decompress(); | 8477 char jpeg_destroy_decompress(); |
8483 | 8478 |
8484 int main() { | 8479 int main() { |
8485 jpeg_destroy_decompress() | 8480 jpeg_destroy_decompress() |
8486 ; return 0; } | 8481 ; return 0; } |
8487 EOF | 8482 EOF |
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8483 if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8489 rm -rf conftest* | 8484 rm -rf conftest* |
8490 eval "ac_cv_lib_$ac_lib_var=yes" | 8485 eval "ac_cv_lib_$ac_lib_var=yes" |
8491 else | 8486 else |
8492 echo "configure: failed program was:" >&5 | 8487 echo "configure: failed program was:" >&5 |
8493 cat conftest.$ac_ext >&5 | 8488 cat conftest.$ac_ext >&5 |
8519 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8514 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8520 fi | 8515 fi |
8521 | 8516 |
8522 png_problem="" | 8517 png_problem="" |
8523 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8518 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8524 echo "configure:8525: checking for pow" >&5 | 8519 echo "configure:8520: checking for pow" >&5 |
8525 | 8520 |
8526 cat > conftest.$ac_ext <<EOF | 8521 cat > conftest.$ac_ext <<EOF |
8527 #line 8528 "configure" | 8522 #line 8523 "configure" |
8528 #include "confdefs.h" | 8523 #include "confdefs.h" |
8529 /* System header to define __stub macros and hopefully few prototypes, | 8524 /* System header to define __stub macros and hopefully few prototypes, |
8530 which can conflict with char pow(); below. */ | 8525 which can conflict with char pow(); below. */ |
8531 #include <assert.h> | 8526 #include <assert.h> |
8532 /* Override any gcc2 internal prototype to avoid an error. */ | 8527 /* Override any gcc2 internal prototype to avoid an error. */ |
8545 pow(); | 8540 pow(); |
8546 #endif | 8541 #endif |
8547 | 8542 |
8548 ; return 0; } | 8543 ; return 0; } |
8549 EOF | 8544 EOF |
8550 if { (eval echo configure:8551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8551 rm -rf conftest* | 8546 rm -rf conftest* |
8552 eval "ac_cv_func_pow=yes" | 8547 eval "ac_cv_func_pow=yes" |
8553 else | 8548 else |
8554 echo "configure: failed program was:" >&5 | 8549 echo "configure: failed program was:" >&5 |
8555 cat conftest.$ac_ext >&5 | 8550 cat conftest.$ac_ext >&5 |
8566 with_png=no | 8561 with_png=no |
8567 fi | 8562 fi |
8568 } | 8563 } |
8569 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8564 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8570 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8565 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8571 echo "configure:8572: checking for png.h" >&5 | 8566 echo "configure:8567: checking for png.h" >&5 |
8572 | 8567 |
8573 cat > conftest.$ac_ext <<EOF | 8568 cat > conftest.$ac_ext <<EOF |
8574 #line 8575 "configure" | 8569 #line 8570 "configure" |
8575 #include "confdefs.h" | 8570 #include "confdefs.h" |
8576 #include <png.h> | 8571 #include <png.h> |
8577 EOF | 8572 EOF |
8578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8579 { (eval echo configure:8580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8581 if test -z "$ac_err"; then | 8576 if test -z "$ac_err"; then |
8582 rm -rf conftest* | 8577 rm -rf conftest* |
8583 eval "ac_cv_header_$ac_safe=yes" | 8578 eval "ac_cv_header_$ac_safe=yes" |
8584 else | 8579 else |
8597 with_png=no | 8592 with_png=no |
8598 fi | 8593 fi |
8599 } | 8594 } |
8600 test -z "$with_png" && { | 8595 test -z "$with_png" && { |
8601 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8596 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8602 echo "configure:8603: checking for png_read_image in -lpng" >&5 | 8597 echo "configure:8598: checking for png_read_image in -lpng" >&5 |
8603 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8598 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8604 | 8599 |
8605 xe_check_libs=" -lpng " | 8600 xe_check_libs=" -lpng " |
8606 cat > conftest.$ac_ext <<EOF | 8601 cat > conftest.$ac_ext <<EOF |
8607 #line 8608 "configure" | 8602 #line 8603 "configure" |
8608 #include "confdefs.h" | 8603 #include "confdefs.h" |
8609 /* Override any gcc2 internal prototype to avoid an error. */ | 8604 /* Override any gcc2 internal prototype to avoid an error. */ |
8610 /* We use char because int might match the return type of a gcc2 | 8605 /* We use char because int might match the return type of a gcc2 |
8611 builtin and then its argument prototype would still apply. */ | 8606 builtin and then its argument prototype would still apply. */ |
8612 char png_read_image(); | 8607 char png_read_image(); |
8613 | 8608 |
8614 int main() { | 8609 int main() { |
8615 png_read_image() | 8610 png_read_image() |
8616 ; return 0; } | 8611 ; return 0; } |
8617 EOF | 8612 EOF |
8618 if { (eval echo configure:8619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8619 rm -rf conftest* | 8614 rm -rf conftest* |
8620 eval "ac_cv_lib_$ac_lib_var=yes" | 8615 eval "ac_cv_lib_$ac_lib_var=yes" |
8621 else | 8616 else |
8622 echo "configure: failed program was:" >&5 | 8617 echo "configure: failed program was:" >&5 |
8623 cat conftest.$ac_ext >&5 | 8618 cat conftest.$ac_ext >&5 |
8636 fi | 8631 fi |
8637 | 8632 |
8638 } | 8633 } |
8639 if test -z "$with_png"; then | 8634 if test -z "$with_png"; then |
8640 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8635 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8641 echo "configure:8642: checking for workable png version information" >&5 | 8636 echo "configure:8637: checking for workable png version information" >&5 |
8642 xe_check_libs="-lpng -lz" | 8637 xe_check_libs="-lpng -lz" |
8643 cat > conftest.$ac_ext <<EOF | 8638 cat > conftest.$ac_ext <<EOF |
8644 #line 8645 "configure" | 8639 #line 8640 "configure" |
8645 #include "confdefs.h" | 8640 #include "confdefs.h" |
8646 #include <png.h> | 8641 #include <png.h> |
8647 int main(int c, char **v) { | 8642 int main(int c, char **v) { |
8648 if (c == 1) return 0; | 8643 if (c == 1) return 0; |
8649 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8644 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8650 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8645 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8651 EOF | 8646 EOF |
8652 if { (eval echo configure:8653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8653 then | 8648 then |
8654 ./conftest dummy_arg; png_status=$?; | 8649 ./conftest dummy_arg; png_status=$?; |
8655 if test "$png_status" = "0"; then | 8650 if test "$png_status" = "0"; then |
8656 with_png=yes; | 8651 with_png=yes; |
8657 else | 8652 else |
8690 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8685 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8691 fi | 8686 fi |
8692 | 8687 |
8693 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8688 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8694 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8689 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8695 echo "configure:8696: checking for tiffio.h" >&5 | 8690 echo "configure:8691: checking for tiffio.h" >&5 |
8696 | 8691 |
8697 cat > conftest.$ac_ext <<EOF | 8692 cat > conftest.$ac_ext <<EOF |
8698 #line 8699 "configure" | 8693 #line 8694 "configure" |
8699 #include "confdefs.h" | 8694 #include "confdefs.h" |
8700 #include <tiffio.h> | 8695 #include <tiffio.h> |
8701 EOF | 8696 EOF |
8702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8703 { (eval echo configure:8704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8698 { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8705 if test -z "$ac_err"; then | 8700 if test -z "$ac_err"; then |
8706 rm -rf conftest* | 8701 rm -rf conftest* |
8707 eval "ac_cv_header_$ac_safe=yes" | 8702 eval "ac_cv_header_$ac_safe=yes" |
8708 else | 8703 else |
8721 with_tiff=no | 8716 with_tiff=no |
8722 fi | 8717 fi |
8723 } | 8718 } |
8724 test -z "$with_tiff" && { | 8719 test -z "$with_tiff" && { |
8725 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8720 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8726 echo "configure:8727: checking for TIFFClientOpen in -ltiff" >&5 | 8721 echo "configure:8722: checking for TIFFClientOpen in -ltiff" >&5 |
8727 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8722 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8728 | 8723 |
8729 xe_check_libs=" -ltiff " | 8724 xe_check_libs=" -ltiff " |
8730 cat > conftest.$ac_ext <<EOF | 8725 cat > conftest.$ac_ext <<EOF |
8731 #line 8732 "configure" | 8726 #line 8727 "configure" |
8732 #include "confdefs.h" | 8727 #include "confdefs.h" |
8733 /* Override any gcc2 internal prototype to avoid an error. */ | 8728 /* Override any gcc2 internal prototype to avoid an error. */ |
8734 /* We use char because int might match the return type of a gcc2 | 8729 /* We use char because int might match the return type of a gcc2 |
8735 builtin and then its argument prototype would still apply. */ | 8730 builtin and then its argument prototype would still apply. */ |
8736 char TIFFClientOpen(); | 8731 char TIFFClientOpen(); |
8737 | 8732 |
8738 int main() { | 8733 int main() { |
8739 TIFFClientOpen() | 8734 TIFFClientOpen() |
8740 ; return 0; } | 8735 ; return 0; } |
8741 EOF | 8736 EOF |
8742 if { (eval echo configure:8743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8743 rm -rf conftest* | 8738 rm -rf conftest* |
8744 eval "ac_cv_lib_$ac_lib_var=yes" | 8739 eval "ac_cv_lib_$ac_lib_var=yes" |
8745 else | 8740 else |
8746 echo "configure: failed program was:" >&5 | 8741 echo "configure: failed program was:" >&5 |
8747 cat conftest.$ac_ext >&5 | 8742 cat conftest.$ac_ext >&5 |
8776 | 8771 |
8777 | 8772 |
8778 if test "$with_gtk" = "yes"; then | 8773 if test "$with_gtk" = "yes"; then |
8779 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8774 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8780 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8775 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8781 echo "configure:8782: checking for compface.h" >&5 | 8776 echo "configure:8777: checking for compface.h" >&5 |
8782 | 8777 |
8783 cat > conftest.$ac_ext <<EOF | 8778 cat > conftest.$ac_ext <<EOF |
8784 #line 8785 "configure" | 8779 #line 8780 "configure" |
8785 #include "confdefs.h" | 8780 #include "confdefs.h" |
8786 #include <compface.h> | 8781 #include <compface.h> |
8787 EOF | 8782 EOF |
8788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8789 { (eval echo configure:8790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8784 { (eval echo configure:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8791 if test -z "$ac_err"; then | 8786 if test -z "$ac_err"; then |
8792 rm -rf conftest* | 8787 rm -rf conftest* |
8793 eval "ac_cv_header_$ac_safe=yes" | 8788 eval "ac_cv_header_$ac_safe=yes" |
8794 else | 8789 else |
8807 with_xface=no | 8802 with_xface=no |
8808 fi | 8803 fi |
8809 } | 8804 } |
8810 test -z "$with_xface" && { | 8805 test -z "$with_xface" && { |
8811 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8806 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8812 echo "configure:8813: checking for UnGenFace in -lcompface" >&5 | 8807 echo "configure:8808: checking for UnGenFace in -lcompface" >&5 |
8813 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8808 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8814 | 8809 |
8815 xe_check_libs=" -lcompface " | 8810 xe_check_libs=" -lcompface " |
8816 cat > conftest.$ac_ext <<EOF | 8811 cat > conftest.$ac_ext <<EOF |
8817 #line 8818 "configure" | 8812 #line 8813 "configure" |
8818 #include "confdefs.h" | 8813 #include "confdefs.h" |
8819 /* Override any gcc2 internal prototype to avoid an error. */ | 8814 /* Override any gcc2 internal prototype to avoid an error. */ |
8820 /* We use char because int might match the return type of a gcc2 | 8815 /* We use char because int might match the return type of a gcc2 |
8821 builtin and then its argument prototype would still apply. */ | 8816 builtin and then its argument prototype would still apply. */ |
8822 char UnGenFace(); | 8817 char UnGenFace(); |
8823 | 8818 |
8824 int main() { | 8819 int main() { |
8825 UnGenFace() | 8820 UnGenFace() |
8826 ; return 0; } | 8821 ; return 0; } |
8827 EOF | 8822 EOF |
8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8823 if { (eval echo configure:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8829 rm -rf conftest* | 8824 rm -rf conftest* |
8830 eval "ac_cv_lib_$ac_lib_var=yes" | 8825 eval "ac_cv_lib_$ac_lib_var=yes" |
8831 else | 8826 else |
8832 echo "configure: failed program was:" >&5 | 8827 echo "configure: failed program was:" >&5 |
8833 cat conftest.$ac_ext >&5 | 8828 cat conftest.$ac_ext >&5 |
8862 | 8857 |
8863 | 8858 |
8864 | 8859 |
8865 if test "$with_x11" = "yes"; then | 8860 if test "$with_x11" = "yes"; then |
8866 echo "checking for X11 graphics libraries" 1>&6 | 8861 echo "checking for X11 graphics libraries" 1>&6 |
8867 echo "configure:8868: checking for X11 graphics libraries" >&5 | 8862 echo "configure:8863: checking for X11 graphics libraries" >&5 |
8868 fi | 8863 fi |
8869 | 8864 |
8870 case "$with_widgets" in | 8865 case "$with_widgets" in |
8871 "yes" | "athena") detect_athena=yes ;; | 8866 "yes" | "athena") detect_athena=yes ;; |
8872 *) detect_athena=no ;; | 8867 *) detect_athena=no ;; |
8873 esac | 8868 esac |
8874 | 8869 |
8875 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8870 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8876 echo "checking for the Athena widgets" 1>&6 | 8871 echo "checking for the Athena widgets" 1>&6 |
8877 echo "configure:8878: checking for the Athena widgets" >&5 | 8872 echo "configure:8873: checking for the Athena widgets" >&5 |
8878 | 8873 |
8879 case "$with_athena" in | 8874 case "$with_athena" in |
8880 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8875 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8881 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8876 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8882 "next") athena_variant=neXtaw athena_3d=yes ;; | 8877 "next") athena_variant=neXtaw athena_3d=yes ;; |
8886 esac | 8881 esac |
8887 | 8882 |
8888 if test "$athena_3d" = "no"; then | 8883 if test "$athena_3d" = "no"; then |
8889 | 8884 |
8890 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8885 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8891 echo "configure:8892: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8886 echo "configure:8887: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8892 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8887 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8893 | 8888 |
8894 xe_check_libs=" -l$athena_variant " | 8889 xe_check_libs=" -l$athena_variant " |
8895 cat > conftest.$ac_ext <<EOF | 8890 cat > conftest.$ac_ext <<EOF |
8896 #line 8897 "configure" | 8891 #line 8892 "configure" |
8897 #include "confdefs.h" | 8892 #include "confdefs.h" |
8898 /* Override any gcc2 internal prototype to avoid an error. */ | 8893 /* Override any gcc2 internal prototype to avoid an error. */ |
8899 /* We use char because int might match the return type of a gcc2 | 8894 /* We use char because int might match the return type of a gcc2 |
8900 builtin and then its argument prototype would still apply. */ | 8895 builtin and then its argument prototype would still apply. */ |
8901 char XawScrollbarSetThumb(); | 8896 char XawScrollbarSetThumb(); |
8902 | 8897 |
8903 int main() { | 8898 int main() { |
8904 XawScrollbarSetThumb() | 8899 XawScrollbarSetThumb() |
8905 ; return 0; } | 8900 ; return 0; } |
8906 EOF | 8901 EOF |
8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8902 if { (eval echo configure:8903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8908 rm -rf conftest* | 8903 rm -rf conftest* |
8909 eval "ac_cv_lib_$ac_lib_var=yes" | 8904 eval "ac_cv_lib_$ac_lib_var=yes" |
8910 else | 8905 else |
8911 echo "configure: failed program was:" >&5 | 8906 echo "configure: failed program was:" >&5 |
8912 cat conftest.$ac_ext >&5 | 8907 cat conftest.$ac_ext >&5 |
8918 | 8913 |
8919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8920 echo "$ac_t""yes" 1>&6 | 8915 echo "$ac_t""yes" 1>&6 |
8921 | 8916 |
8922 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8917 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8923 echo "configure:8924: checking for threeDClassRec in -l$athena_variant" >&5 | 8918 echo "configure:8919: checking for threeDClassRec in -l$athena_variant" >&5 |
8924 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8919 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8925 | 8920 |
8926 xe_check_libs=" -l$athena_variant " | 8921 xe_check_libs=" -l$athena_variant " |
8927 cat > conftest.$ac_ext <<EOF | 8922 cat > conftest.$ac_ext <<EOF |
8928 #line 8929 "configure" | 8923 #line 8924 "configure" |
8929 #include "confdefs.h" | 8924 #include "confdefs.h" |
8930 /* Override any gcc2 internal prototype to avoid an error. */ | 8925 /* Override any gcc2 internal prototype to avoid an error. */ |
8931 /* We use char because int might match the return type of a gcc2 | 8926 /* We use char because int might match the return type of a gcc2 |
8932 builtin and then its argument prototype would still apply. */ | 8927 builtin and then its argument prototype would still apply. */ |
8933 char threeDClassRec(); | 8928 char threeDClassRec(); |
8934 | 8929 |
8935 int main() { | 8930 int main() { |
8936 threeDClassRec() | 8931 threeDClassRec() |
8937 ; return 0; } | 8932 ; return 0; } |
8938 EOF | 8933 EOF |
8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8940 rm -rf conftest* | 8935 rm -rf conftest* |
8941 eval "ac_cv_lib_$ac_lib_var=yes" | 8936 eval "ac_cv_lib_$ac_lib_var=yes" |
8942 else | 8937 else |
8943 echo "configure: failed program was:" >&5 | 8938 echo "configure: failed program was:" >&5 |
8944 cat conftest.$ac_ext >&5 | 8939 cat conftest.$ac_ext >&5 |
8965 | 8960 |
8966 | 8961 |
8967 else | 8962 else |
8968 | 8963 |
8969 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8964 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8970 echo "configure:8971: checking for threeDClassRec in -l$athena_variant" >&5 | 8965 echo "configure:8966: checking for threeDClassRec in -l$athena_variant" >&5 |
8971 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8966 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8972 | 8967 |
8973 xe_check_libs=" -l$athena_variant " | 8968 xe_check_libs=" -l$athena_variant " |
8974 cat > conftest.$ac_ext <<EOF | 8969 cat > conftest.$ac_ext <<EOF |
8975 #line 8976 "configure" | 8970 #line 8971 "configure" |
8976 #include "confdefs.h" | 8971 #include "confdefs.h" |
8977 /* Override any gcc2 internal prototype to avoid an error. */ | 8972 /* Override any gcc2 internal prototype to avoid an error. */ |
8978 /* We use char because int might match the return type of a gcc2 | 8973 /* We use char because int might match the return type of a gcc2 |
8979 builtin and then its argument prototype would still apply. */ | 8974 builtin and then its argument prototype would still apply. */ |
8980 char threeDClassRec(); | 8975 char threeDClassRec(); |
8981 | 8976 |
8982 int main() { | 8977 int main() { |
8983 threeDClassRec() | 8978 threeDClassRec() |
8984 ; return 0; } | 8979 ; return 0; } |
8985 EOF | 8980 EOF |
8986 if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8987 rm -rf conftest* | 8982 rm -rf conftest* |
8988 eval "ac_cv_lib_$ac_lib_var=yes" | 8983 eval "ac_cv_lib_$ac_lib_var=yes" |
8989 else | 8984 else |
8990 echo "configure: failed program was:" >&5 | 8985 echo "configure: failed program was:" >&5 |
8991 cat conftest.$ac_ext >&5 | 8986 cat conftest.$ac_ext >&5 |
8999 echo "$ac_t""yes" 1>&6 | 8994 echo "$ac_t""yes" 1>&6 |
9000 athena_lib=$athena_variant | 8995 athena_lib=$athena_variant |
9001 else | 8996 else |
9002 echo "$ac_t""no" 1>&6 | 8997 echo "$ac_t""no" 1>&6 |
9003 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8998 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9004 echo "configure:9005: checking for threeDClassRec in -lXaw" >&5 | 8999 echo "configure:9000: checking for threeDClassRec in -lXaw" >&5 |
9005 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9000 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9006 | 9001 |
9007 xe_check_libs=" -lXaw " | 9002 xe_check_libs=" -lXaw " |
9008 cat > conftest.$ac_ext <<EOF | 9003 cat > conftest.$ac_ext <<EOF |
9009 #line 9010 "configure" | 9004 #line 9005 "configure" |
9010 #include "confdefs.h" | 9005 #include "confdefs.h" |
9011 /* Override any gcc2 internal prototype to avoid an error. */ | 9006 /* Override any gcc2 internal prototype to avoid an error. */ |
9012 /* We use char because int might match the return type of a gcc2 | 9007 /* We use char because int might match the return type of a gcc2 |
9013 builtin and then its argument prototype would still apply. */ | 9008 builtin and then its argument prototype would still apply. */ |
9014 char threeDClassRec(); | 9009 char threeDClassRec(); |
9015 | 9010 |
9016 int main() { | 9011 int main() { |
9017 threeDClassRec() | 9012 threeDClassRec() |
9018 ; return 0; } | 9013 ; return 0; } |
9019 EOF | 9014 EOF |
9020 if { (eval echo configure:9021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9015 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9021 rm -rf conftest* | 9016 rm -rf conftest* |
9022 eval "ac_cv_lib_$ac_lib_var=yes" | 9017 eval "ac_cv_lib_$ac_lib_var=yes" |
9023 else | 9018 else |
9024 echo "configure: failed program was:" >&5 | 9019 echo "configure: failed program was:" >&5 |
9025 cat conftest.$ac_ext >&5 | 9020 cat conftest.$ac_ext >&5 |
9046 fi | 9041 fi |
9047 | 9042 |
9048 if test "$athena_3d" = "no"; then | 9043 if test "$athena_3d" = "no"; then |
9049 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9044 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9050 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9045 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9051 echo "configure:9052: checking for X11/Xaw/ThreeD.h" >&5 | 9046 echo "configure:9047: checking for X11/Xaw/ThreeD.h" >&5 |
9052 | 9047 |
9053 cat > conftest.$ac_ext <<EOF | 9048 cat > conftest.$ac_ext <<EOF |
9054 #line 9055 "configure" | 9049 #line 9050 "configure" |
9055 #include "confdefs.h" | 9050 #include "confdefs.h" |
9056 #include <X11/Xaw/ThreeD.h> | 9051 #include <X11/Xaw/ThreeD.h> |
9057 EOF | 9052 EOF |
9058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9059 { (eval echo configure:9060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9061 if test -z "$ac_err"; then | 9056 if test -z "$ac_err"; then |
9062 rm -rf conftest* | 9057 rm -rf conftest* |
9063 eval "ac_cv_header_$ac_safe=yes" | 9058 eval "ac_cv_header_$ac_safe=yes" |
9064 else | 9059 else |
9074 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9069 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9075 else | 9070 else |
9076 echo "$ac_t""no" 1>&6 | 9071 echo "$ac_t""no" 1>&6 |
9077 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9072 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9078 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9073 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9079 echo "configure:9080: checking for X11/Xaw/XawInit.h" >&5 | 9074 echo "configure:9075: checking for X11/Xaw/XawInit.h" >&5 |
9080 | 9075 |
9081 cat > conftest.$ac_ext <<EOF | 9076 cat > conftest.$ac_ext <<EOF |
9082 #line 9083 "configure" | 9077 #line 9078 "configure" |
9083 #include "confdefs.h" | 9078 #include "confdefs.h" |
9084 #include <X11/Xaw/XawInit.h> | 9079 #include <X11/Xaw/XawInit.h> |
9085 EOF | 9080 EOF |
9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9082 { (eval echo configure:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9089 if test -z "$ac_err"; then | 9084 if test -z "$ac_err"; then |
9090 rm -rf conftest* | 9085 rm -rf conftest* |
9091 eval "ac_cv_header_$ac_safe=yes" | 9086 eval "ac_cv_header_$ac_safe=yes" |
9092 else | 9087 else |
9108 fi | 9103 fi |
9109 | 9104 |
9110 else | 9105 else |
9111 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9106 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9112 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9107 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9113 echo "configure:9114: checking for X11/$athena_variant/XawInit.h" >&5 | 9108 echo "configure:9109: checking for X11/$athena_variant/XawInit.h" >&5 |
9114 | 9109 |
9115 cat > conftest.$ac_ext <<EOF | 9110 cat > conftest.$ac_ext <<EOF |
9116 #line 9117 "configure" | 9111 #line 9112 "configure" |
9117 #include "confdefs.h" | 9112 #include "confdefs.h" |
9118 #include <X11/$athena_variant/XawInit.h> | 9113 #include <X11/$athena_variant/XawInit.h> |
9119 EOF | 9114 EOF |
9120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9121 { (eval echo configure:9122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9116 { (eval echo configure:9117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9123 if test -z "$ac_err"; then | 9118 if test -z "$ac_err"; then |
9124 rm -rf conftest* | 9119 rm -rf conftest* |
9125 eval "ac_cv_header_$ac_safe=yes" | 9120 eval "ac_cv_header_$ac_safe=yes" |
9126 else | 9121 else |
9133 rm -f conftest* | 9128 rm -f conftest* |
9134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9135 echo "$ac_t""yes" 1>&6 | 9130 echo "$ac_t""yes" 1>&6 |
9136 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9131 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9137 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9132 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9138 echo "configure:9139: checking for X11/$athena_variant/ThreeD.h" >&5 | 9133 echo "configure:9134: checking for X11/$athena_variant/ThreeD.h" >&5 |
9139 | 9134 |
9140 cat > conftest.$ac_ext <<EOF | 9135 cat > conftest.$ac_ext <<EOF |
9141 #line 9142 "configure" | 9136 #line 9137 "configure" |
9142 #include "confdefs.h" | 9137 #include "confdefs.h" |
9143 #include <X11/$athena_variant/ThreeD.h> | 9138 #include <X11/$athena_variant/ThreeD.h> |
9144 EOF | 9139 EOF |
9145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9146 { (eval echo configure:9147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9148 if test -z "$ac_err"; then | 9143 if test -z "$ac_err"; then |
9149 rm -rf conftest* | 9144 rm -rf conftest* |
9150 eval "ac_cv_header_$ac_safe=yes" | 9145 eval "ac_cv_header_$ac_safe=yes" |
9151 else | 9146 else |
9169 | 9164 |
9170 | 9165 |
9171 if test -z "$athena_h_path"; then | 9166 if test -z "$athena_h_path"; then |
9172 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9167 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9173 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9168 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9174 echo "configure:9175: checking for $athena_variant/XawInit.h" >&5 | 9169 echo "configure:9170: checking for $athena_variant/XawInit.h" >&5 |
9175 | 9170 |
9176 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
9177 #line 9178 "configure" | 9172 #line 9173 "configure" |
9178 #include "confdefs.h" | 9173 #include "confdefs.h" |
9179 #include <$athena_variant/XawInit.h> | 9174 #include <$athena_variant/XawInit.h> |
9180 EOF | 9175 EOF |
9181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9182 { (eval echo configure:9183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9177 { (eval echo configure:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9184 if test -z "$ac_err"; then | 9179 if test -z "$ac_err"; then |
9185 rm -rf conftest* | 9180 rm -rf conftest* |
9186 eval "ac_cv_header_$ac_safe=yes" | 9181 eval "ac_cv_header_$ac_safe=yes" |
9187 else | 9182 else |
9194 rm -f conftest* | 9189 rm -f conftest* |
9195 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9196 echo "$ac_t""yes" 1>&6 | 9191 echo "$ac_t""yes" 1>&6 |
9197 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9192 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9198 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9193 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9199 echo "configure:9200: checking for $athena_variant/ThreeD.h" >&5 | 9194 echo "configure:9195: checking for $athena_variant/ThreeD.h" >&5 |
9200 | 9195 |
9201 cat > conftest.$ac_ext <<EOF | 9196 cat > conftest.$ac_ext <<EOF |
9202 #line 9203 "configure" | 9197 #line 9198 "configure" |
9203 #include "confdefs.h" | 9198 #include "confdefs.h" |
9204 #include <$athena_variant/ThreeD.h> | 9199 #include <$athena_variant/ThreeD.h> |
9205 EOF | 9200 EOF |
9206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9207 { (eval echo configure:9208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9202 { (eval echo configure:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9209 if test -z "$ac_err"; then | 9204 if test -z "$ac_err"; then |
9210 rm -rf conftest* | 9205 rm -rf conftest* |
9211 eval "ac_cv_header_$ac_safe=yes" | 9206 eval "ac_cv_header_$ac_safe=yes" |
9212 else | 9207 else |
9231 fi | 9226 fi |
9232 | 9227 |
9233 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9228 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9234 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9229 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9235 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9230 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9236 echo "configure:9237: checking for X11/Xaw3d/XawInit.h" >&5 | 9231 echo "configure:9232: checking for X11/Xaw3d/XawInit.h" >&5 |
9237 | 9232 |
9238 cat > conftest.$ac_ext <<EOF | 9233 cat > conftest.$ac_ext <<EOF |
9239 #line 9240 "configure" | 9234 #line 9235 "configure" |
9240 #include "confdefs.h" | 9235 #include "confdefs.h" |
9241 #include <X11/Xaw3d/XawInit.h> | 9236 #include <X11/Xaw3d/XawInit.h> |
9242 EOF | 9237 EOF |
9243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9244 { (eval echo configure:9245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9239 { (eval echo configure:9240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9246 if test -z "$ac_err"; then | 9241 if test -z "$ac_err"; then |
9247 rm -rf conftest* | 9242 rm -rf conftest* |
9248 eval "ac_cv_header_$ac_safe=yes" | 9243 eval "ac_cv_header_$ac_safe=yes" |
9249 else | 9244 else |
9256 rm -f conftest* | 9251 rm -f conftest* |
9257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9258 echo "$ac_t""yes" 1>&6 | 9253 echo "$ac_t""yes" 1>&6 |
9259 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9254 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9260 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9255 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9261 echo "configure:9262: checking for X11/Xaw3d/ThreeD.h" >&5 | 9256 echo "configure:9257: checking for X11/Xaw3d/ThreeD.h" >&5 |
9262 | 9257 |
9263 cat > conftest.$ac_ext <<EOF | 9258 cat > conftest.$ac_ext <<EOF |
9264 #line 9265 "configure" | 9259 #line 9260 "configure" |
9265 #include "confdefs.h" | 9260 #include "confdefs.h" |
9266 #include <X11/Xaw3d/ThreeD.h> | 9261 #include <X11/Xaw3d/ThreeD.h> |
9267 EOF | 9262 EOF |
9268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9269 { (eval echo configure:9270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9264 { (eval echo configure:9265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9271 if test -z "$ac_err"; then | 9266 if test -z "$ac_err"; then |
9272 rm -rf conftest* | 9267 rm -rf conftest* |
9273 eval "ac_cv_header_$ac_safe=yes" | 9268 eval "ac_cv_header_$ac_safe=yes" |
9274 else | 9269 else |
9296 fi | 9291 fi |
9297 | 9292 |
9298 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9293 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9299 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9294 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9300 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9295 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9301 echo "configure:9302: checking for Xaw3d/XawInit.h" >&5 | 9296 echo "configure:9297: checking for Xaw3d/XawInit.h" >&5 |
9302 | 9297 |
9303 cat > conftest.$ac_ext <<EOF | 9298 cat > conftest.$ac_ext <<EOF |
9304 #line 9305 "configure" | 9299 #line 9300 "configure" |
9305 #include "confdefs.h" | 9300 #include "confdefs.h" |
9306 #include <Xaw3d/XawInit.h> | 9301 #include <Xaw3d/XawInit.h> |
9307 EOF | 9302 EOF |
9308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9304 { (eval echo configure:9305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9311 if test -z "$ac_err"; then | 9306 if test -z "$ac_err"; then |
9312 rm -rf conftest* | 9307 rm -rf conftest* |
9313 eval "ac_cv_header_$ac_safe=yes" | 9308 eval "ac_cv_header_$ac_safe=yes" |
9314 else | 9309 else |
9321 rm -f conftest* | 9316 rm -f conftest* |
9322 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9323 echo "$ac_t""yes" 1>&6 | 9318 echo "$ac_t""yes" 1>&6 |
9324 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9319 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9325 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9326 echo "configure:9327: checking for Xaw3d/ThreeD.h" >&5 | 9321 echo "configure:9322: checking for Xaw3d/ThreeD.h" >&5 |
9327 | 9322 |
9328 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9329 #line 9330 "configure" | 9324 #line 9325 "configure" |
9330 #include "confdefs.h" | 9325 #include "confdefs.h" |
9331 #include <Xaw3d/ThreeD.h> | 9326 #include <Xaw3d/ThreeD.h> |
9332 EOF | 9327 EOF |
9333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9334 { (eval echo configure:9335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9329 { (eval echo configure:9330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9336 if test -z "$ac_err"; then | 9331 if test -z "$ac_err"; then |
9337 rm -rf conftest* | 9332 rm -rf conftest* |
9338 eval "ac_cv_header_$ac_safe=yes" | 9333 eval "ac_cv_header_$ac_safe=yes" |
9339 else | 9334 else |
9361 fi | 9356 fi |
9362 | 9357 |
9363 if test -z "$athena_h_path"; then | 9358 if test -z "$athena_h_path"; then |
9364 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9359 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9365 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9360 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9366 echo "configure:9367: checking for X11/Xaw/ThreeD.h" >&5 | 9361 echo "configure:9362: checking for X11/Xaw/ThreeD.h" >&5 |
9367 | 9362 |
9368 cat > conftest.$ac_ext <<EOF | 9363 cat > conftest.$ac_ext <<EOF |
9369 #line 9370 "configure" | 9364 #line 9365 "configure" |
9370 #include "confdefs.h" | 9365 #include "confdefs.h" |
9371 #include <X11/Xaw/ThreeD.h> | 9366 #include <X11/Xaw/ThreeD.h> |
9372 EOF | 9367 EOF |
9373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9374 { (eval echo configure:9375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9369 { (eval echo configure:9370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9376 if test -z "$ac_err"; then | 9371 if test -z "$ac_err"; then |
9377 rm -rf conftest* | 9372 rm -rf conftest* |
9378 eval "ac_cv_header_$ac_safe=yes" | 9373 eval "ac_cv_header_$ac_safe=yes" |
9379 else | 9374 else |
9408 have_xaw=no | 9403 have_xaw=no |
9409 fi | 9404 fi |
9410 if test "$with_x11" = "yes"; then | 9405 if test "$with_x11" = "yes"; then |
9411 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9406 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9412 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9407 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9413 echo "configure:9414: checking for Xm/Xm.h" >&5 | 9408 echo "configure:9409: checking for Xm/Xm.h" >&5 |
9414 | 9409 |
9415 cat > conftest.$ac_ext <<EOF | 9410 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9411 #line 9412 "configure" |
9417 #include "confdefs.h" | 9412 #include "confdefs.h" |
9418 #include <Xm/Xm.h> | 9413 #include <Xm/Xm.h> |
9419 EOF | 9414 EOF |
9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9416 { (eval echo configure:9417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9423 if test -z "$ac_err"; then | 9418 if test -z "$ac_err"; then |
9424 rm -rf conftest* | 9419 rm -rf conftest* |
9425 eval "ac_cv_header_$ac_safe=yes" | 9420 eval "ac_cv_header_$ac_safe=yes" |
9426 else | 9421 else |
9433 rm -f conftest* | 9428 rm -f conftest* |
9434 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9435 echo "$ac_t""yes" 1>&6 | 9430 echo "$ac_t""yes" 1>&6 |
9436 | 9431 |
9437 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9438 echo "configure:9439: checking for XmStringFree in -lXm" >&5 | 9433 echo "configure:9434: checking for XmStringFree in -lXm" >&5 |
9439 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9434 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9440 | 9435 |
9441 xe_check_libs=" -lXm " | 9436 xe_check_libs=" -lXm " |
9442 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9443 #line 9444 "configure" | 9438 #line 9439 "configure" |
9444 #include "confdefs.h" | 9439 #include "confdefs.h" |
9445 /* Override any gcc2 internal prototype to avoid an error. */ | 9440 /* Override any gcc2 internal prototype to avoid an error. */ |
9446 /* We use char because int might match the return type of a gcc2 | 9441 /* We use char because int might match the return type of a gcc2 |
9447 builtin and then its argument prototype would still apply. */ | 9442 builtin and then its argument prototype would still apply. */ |
9448 char XmStringFree(); | 9443 char XmStringFree(); |
9449 | 9444 |
9450 int main() { | 9445 int main() { |
9451 XmStringFree() | 9446 XmStringFree() |
9452 ; return 0; } | 9447 ; return 0; } |
9453 EOF | 9448 EOF |
9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9455 rm -rf conftest* | 9450 rm -rf conftest* |
9456 eval "ac_cv_lib_$ac_lib_var=yes" | 9451 eval "ac_cv_lib_$ac_lib_var=yes" |
9457 else | 9452 else |
9458 echo "configure: failed program was:" >&5 | 9453 echo "configure: failed program was:" >&5 |
9459 cat conftest.$ac_ext >&5 | 9454 cat conftest.$ac_ext >&5 |
9478 fi | 9473 fi |
9479 | 9474 |
9480 | 9475 |
9481 if test "$have_motif" = "yes"; then | 9476 if test "$have_motif" = "yes"; then |
9482 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9477 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9483 echo "configure:9484: checking for Lesstif" >&5 | 9478 echo "configure:9479: checking for Lesstif" >&5 |
9484 cat > conftest.$ac_ext <<EOF | 9479 cat > conftest.$ac_ext <<EOF |
9485 #line 9486 "configure" | 9480 #line 9481 "configure" |
9486 #include "confdefs.h" | 9481 #include "confdefs.h" |
9487 #include <Xm/Xm.h> | 9482 #include <Xm/Xm.h> |
9488 #ifdef LESSTIF_VERSION | 9483 #ifdef LESSTIF_VERSION |
9489 yes | 9484 yes |
9490 #endif | 9485 #endif |
9853 | 9848 |
9854 fi | 9849 fi |
9855 | 9850 |
9856 if test "$with_mule" = "yes" ; then | 9851 if test "$with_mule" = "yes" ; then |
9857 echo "checking for Mule-related features" 1>&6 | 9852 echo "checking for Mule-related features" 1>&6 |
9858 echo "configure:9859: checking for Mule-related features" >&5 | 9853 echo "configure:9854: checking for Mule-related features" >&5 |
9859 { test "$extra_verbose" = "yes" && cat << \EOF | 9854 { test "$extra_verbose" = "yes" && cat << \EOF |
9860 Defining MULE | 9855 Defining MULE |
9861 EOF | 9856 EOF |
9862 cat >> confdefs.h <<\EOF | 9857 cat >> confdefs.h <<\EOF |
9863 #define MULE 1 | 9858 #define MULE 1 |
9867 | 9862 |
9868 for ac_hdr in libintl.h | 9863 for ac_hdr in libintl.h |
9869 do | 9864 do |
9870 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9865 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9872 echo "configure:9873: checking for $ac_hdr" >&5 | 9867 echo "configure:9868: checking for $ac_hdr" >&5 |
9873 | 9868 |
9874 cat > conftest.$ac_ext <<EOF | 9869 cat > conftest.$ac_ext <<EOF |
9875 #line 9876 "configure" | 9870 #line 9871 "configure" |
9876 #include "confdefs.h" | 9871 #include "confdefs.h" |
9877 #include <$ac_hdr> | 9872 #include <$ac_hdr> |
9878 EOF | 9873 EOF |
9879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9882 if test -z "$ac_err"; then | 9877 if test -z "$ac_err"; then |
9883 rm -rf conftest* | 9878 rm -rf conftest* |
9884 eval "ac_cv_header_$ac_safe=yes" | 9879 eval "ac_cv_header_$ac_safe=yes" |
9885 else | 9880 else |
9906 fi | 9901 fi |
9907 done | 9902 done |
9908 | 9903 |
9909 | 9904 |
9910 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9905 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9911 echo "configure:9912: checking for strerror in -lintl" >&5 | 9906 echo "configure:9907: checking for strerror in -lintl" >&5 |
9912 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9907 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9913 | 9908 |
9914 xe_check_libs=" -lintl " | 9909 xe_check_libs=" -lintl " |
9915 cat > conftest.$ac_ext <<EOF | 9910 cat > conftest.$ac_ext <<EOF |
9916 #line 9917 "configure" | 9911 #line 9912 "configure" |
9917 #include "confdefs.h" | 9912 #include "confdefs.h" |
9918 /* Override any gcc2 internal prototype to avoid an error. */ | 9913 /* Override any gcc2 internal prototype to avoid an error. */ |
9919 /* We use char because int might match the return type of a gcc2 | 9914 /* We use char because int might match the return type of a gcc2 |
9920 builtin and then its argument prototype would still apply. */ | 9915 builtin and then its argument prototype would still apply. */ |
9921 char strerror(); | 9916 char strerror(); |
9922 | 9917 |
9923 int main() { | 9918 int main() { |
9924 strerror() | 9919 strerror() |
9925 ; return 0; } | 9920 ; return 0; } |
9926 EOF | 9921 EOF |
9927 if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9928 rm -rf conftest* | 9923 rm -rf conftest* |
9929 eval "ac_cv_lib_$ac_lib_var=yes" | 9924 eval "ac_cv_lib_$ac_lib_var=yes" |
9930 else | 9925 else |
9931 echo "configure: failed program was:" >&5 | 9926 echo "configure: failed program was:" >&5 |
9932 cat conftest.$ac_ext >&5 | 9927 cat conftest.$ac_ext >&5 |
9955 fi | 9950 fi |
9956 | 9951 |
9957 | 9952 |
9958 | 9953 |
9959 echo "checking for Mule input methods" 1>&6 | 9954 echo "checking for Mule input methods" 1>&6 |
9960 echo "configure:9961: checking for Mule input methods" >&5 | 9955 echo "configure:9956: checking for Mule input methods" >&5 |
9961 case "$with_xim" in "" | "yes" ) | 9956 case "$with_xim" in "" | "yes" ) |
9962 echo "checking for XIM" 1>&6 | 9957 echo "checking for XIM" 1>&6 |
9963 echo "configure:9964: checking for XIM" >&5 | 9958 echo "configure:9959: checking for XIM" >&5 |
9964 | 9959 |
9965 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9960 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9966 echo "configure:9967: checking for XOpenIM in -lX11" >&5 | 9961 echo "configure:9962: checking for XOpenIM in -lX11" >&5 |
9967 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9962 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9968 | 9963 |
9969 xe_check_libs=" -lX11 " | 9964 xe_check_libs=" -lX11 " |
9970 cat > conftest.$ac_ext <<EOF | 9965 cat > conftest.$ac_ext <<EOF |
9971 #line 9972 "configure" | 9966 #line 9967 "configure" |
9972 #include "confdefs.h" | 9967 #include "confdefs.h" |
9973 /* Override any gcc2 internal prototype to avoid an error. */ | 9968 /* Override any gcc2 internal prototype to avoid an error. */ |
9974 /* We use char because int might match the return type of a gcc2 | 9969 /* We use char because int might match the return type of a gcc2 |
9975 builtin and then its argument prototype would still apply. */ | 9970 builtin and then its argument prototype would still apply. */ |
9976 char XOpenIM(); | 9971 char XOpenIM(); |
9977 | 9972 |
9978 int main() { | 9973 int main() { |
9979 XOpenIM() | 9974 XOpenIM() |
9980 ; return 0; } | 9975 ; return 0; } |
9981 EOF | 9976 EOF |
9982 if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9983 rm -rf conftest* | 9978 rm -rf conftest* |
9984 eval "ac_cv_lib_$ac_lib_var=yes" | 9979 eval "ac_cv_lib_$ac_lib_var=yes" |
9985 else | 9980 else |
9986 echo "configure: failed program was:" >&5 | 9981 echo "configure: failed program was:" >&5 |
9987 cat conftest.$ac_ext >&5 | 9982 cat conftest.$ac_ext >&5 |
10001 | 9996 |
10002 | 9997 |
10003 if test "$have_motif $have_lesstif" = "yes no"; then | 9998 if test "$have_motif $have_lesstif" = "yes no"; then |
10004 | 9999 |
10005 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10000 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10006 echo "configure:10007: checking for XmImMbLookupString in -lXm" >&5 | 10001 echo "configure:10002: checking for XmImMbLookupString in -lXm" >&5 |
10007 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10002 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10008 | 10003 |
10009 xe_check_libs=" -lXm " | 10004 xe_check_libs=" -lXm " |
10010 cat > conftest.$ac_ext <<EOF | 10005 cat > conftest.$ac_ext <<EOF |
10011 #line 10012 "configure" | 10006 #line 10007 "configure" |
10012 #include "confdefs.h" | 10007 #include "confdefs.h" |
10013 /* Override any gcc2 internal prototype to avoid an error. */ | 10008 /* Override any gcc2 internal prototype to avoid an error. */ |
10014 /* We use char because int might match the return type of a gcc2 | 10009 /* We use char because int might match the return type of a gcc2 |
10015 builtin and then its argument prototype would still apply. */ | 10010 builtin and then its argument prototype would still apply. */ |
10016 char XmImMbLookupString(); | 10011 char XmImMbLookupString(); |
10017 | 10012 |
10018 int main() { | 10013 int main() { |
10019 XmImMbLookupString() | 10014 XmImMbLookupString() |
10020 ; return 0; } | 10015 ; return 0; } |
10021 EOF | 10016 EOF |
10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10023 rm -rf conftest* | 10018 rm -rf conftest* |
10024 eval "ac_cv_lib_$ac_lib_var=yes" | 10019 eval "ac_cv_lib_$ac_lib_var=yes" |
10025 else | 10020 else |
10026 echo "configure: failed program was:" >&5 | 10021 echo "configure: failed program was:" >&5 |
10027 cat conftest.$ac_ext >&5 | 10022 cat conftest.$ac_ext >&5 |
10082 fi | 10077 fi |
10083 fi | 10078 fi |
10084 | 10079 |
10085 if test "$with_xfs" = "yes" ; then | 10080 if test "$with_xfs" = "yes" ; then |
10086 echo "checking for XFontSet" 1>&6 | 10081 echo "checking for XFontSet" 1>&6 |
10087 echo "configure:10088: checking for XFontSet" >&5 | 10082 echo "configure:10083: checking for XFontSet" >&5 |
10088 | 10083 |
10089 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10084 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10090 echo "configure:10091: checking for XmbDrawString in -lX11" >&5 | 10085 echo "configure:10086: checking for XmbDrawString in -lX11" >&5 |
10091 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10086 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10092 | 10087 |
10093 xe_check_libs=" -lX11 " | 10088 xe_check_libs=" -lX11 " |
10094 cat > conftest.$ac_ext <<EOF | 10089 cat > conftest.$ac_ext <<EOF |
10095 #line 10096 "configure" | 10090 #line 10091 "configure" |
10096 #include "confdefs.h" | 10091 #include "confdefs.h" |
10097 /* Override any gcc2 internal prototype to avoid an error. */ | 10092 /* Override any gcc2 internal prototype to avoid an error. */ |
10098 /* We use char because int might match the return type of a gcc2 | 10093 /* We use char because int might match the return type of a gcc2 |
10099 builtin and then its argument prototype would still apply. */ | 10094 builtin and then its argument prototype would still apply. */ |
10100 char XmbDrawString(); | 10095 char XmbDrawString(); |
10101 | 10096 |
10102 int main() { | 10097 int main() { |
10103 XmbDrawString() | 10098 XmbDrawString() |
10104 ; return 0; } | 10099 ; return 0; } |
10105 EOF | 10100 EOF |
10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10101 if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10107 rm -rf conftest* | 10102 rm -rf conftest* |
10108 eval "ac_cv_lib_$ac_lib_var=yes" | 10103 eval "ac_cv_lib_$ac_lib_var=yes" |
10109 else | 10104 else |
10110 echo "configure: failed program was:" >&5 | 10105 echo "configure: failed program was:" >&5 |
10111 cat conftest.$ac_ext >&5 | 10106 cat conftest.$ac_ext >&5 |
10141 fi | 10136 fi |
10142 fi | 10137 fi |
10143 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10138 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10144 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10139 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10145 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10140 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10146 echo "configure:10147: checking for wnn/jllib.h" >&5 | 10141 echo "configure:10142: checking for wnn/jllib.h" >&5 |
10147 | 10142 |
10148 cat > conftest.$ac_ext <<EOF | 10143 cat > conftest.$ac_ext <<EOF |
10149 #line 10150 "configure" | 10144 #line 10145 "configure" |
10150 #include "confdefs.h" | 10145 #include "confdefs.h" |
10151 #include <wnn/jllib.h> | 10146 #include <wnn/jllib.h> |
10152 EOF | 10147 EOF |
10153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10154 { (eval echo configure:10155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10156 if test -z "$ac_err"; then | 10151 if test -z "$ac_err"; then |
10157 rm -rf conftest* | 10152 rm -rf conftest* |
10158 eval "ac_cv_header_$ac_safe=yes" | 10153 eval "ac_cv_header_$ac_safe=yes" |
10159 else | 10154 else |
10172 with_wnn=no | 10167 with_wnn=no |
10173 fi | 10168 fi |
10174 } | 10169 } |
10175 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10170 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10176 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10171 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10177 echo "configure:10178: checking for wnn/commonhd.h" >&5 | 10172 echo "configure:10173: checking for wnn/commonhd.h" >&5 |
10178 | 10173 |
10179 cat > conftest.$ac_ext <<EOF | 10174 cat > conftest.$ac_ext <<EOF |
10180 #line 10181 "configure" | 10175 #line 10176 "configure" |
10181 #include "confdefs.h" | 10176 #include "confdefs.h" |
10182 #include <wnn/commonhd.h> | 10177 #include <wnn/commonhd.h> |
10183 EOF | 10178 EOF |
10184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10185 { (eval echo configure:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10187 if test -z "$ac_err"; then | 10182 if test -z "$ac_err"; then |
10188 rm -rf conftest* | 10183 rm -rf conftest* |
10189 eval "ac_cv_header_$ac_safe=yes" | 10184 eval "ac_cv_header_$ac_safe=yes" |
10190 else | 10185 else |
10205 } | 10200 } |
10206 if test "$with_wnn" != "no"; then | 10201 if test "$with_wnn" != "no"; then |
10207 for ac_func in crypt | 10202 for ac_func in crypt |
10208 do | 10203 do |
10209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10210 echo "configure:10211: checking for $ac_func" >&5 | 10205 echo "configure:10206: checking for $ac_func" >&5 |
10211 | 10206 |
10212 cat > conftest.$ac_ext <<EOF | 10207 cat > conftest.$ac_ext <<EOF |
10213 #line 10214 "configure" | 10208 #line 10209 "configure" |
10214 #include "confdefs.h" | 10209 #include "confdefs.h" |
10215 /* System header to define __stub macros and hopefully few prototypes, | 10210 /* System header to define __stub macros and hopefully few prototypes, |
10216 which can conflict with char $ac_func(); below. */ | 10211 which can conflict with char $ac_func(); below. */ |
10217 #include <assert.h> | 10212 #include <assert.h> |
10218 /* Override any gcc2 internal prototype to avoid an error. */ | 10213 /* Override any gcc2 internal prototype to avoid an error. */ |
10231 $ac_func(); | 10226 $ac_func(); |
10232 #endif | 10227 #endif |
10233 | 10228 |
10234 ; return 0; } | 10229 ; return 0; } |
10235 EOF | 10230 EOF |
10236 if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10237 rm -rf conftest* | 10232 rm -rf conftest* |
10238 eval "ac_cv_func_$ac_func=yes" | 10233 eval "ac_cv_func_$ac_func=yes" |
10239 else | 10234 else |
10240 echo "configure: failed program was:" >&5 | 10235 echo "configure: failed program was:" >&5 |
10241 cat conftest.$ac_ext >&5 | 10236 cat conftest.$ac_ext >&5 |
10260 fi | 10255 fi |
10261 done | 10256 done |
10262 | 10257 |
10263 test "$ac_cv_func_crypt" != "yes" && { | 10258 test "$ac_cv_func_crypt" != "yes" && { |
10264 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10259 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10265 echo "configure:10266: checking for crypt in -lcrypt" >&5 | 10260 echo "configure:10261: checking for crypt in -lcrypt" >&5 |
10266 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10261 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10267 | 10262 |
10268 xe_check_libs=" -lcrypt " | 10263 xe_check_libs=" -lcrypt " |
10269 cat > conftest.$ac_ext <<EOF | 10264 cat > conftest.$ac_ext <<EOF |
10270 #line 10271 "configure" | 10265 #line 10266 "configure" |
10271 #include "confdefs.h" | 10266 #include "confdefs.h" |
10272 /* Override any gcc2 internal prototype to avoid an error. */ | 10267 /* Override any gcc2 internal prototype to avoid an error. */ |
10273 /* We use char because int might match the return type of a gcc2 | 10268 /* We use char because int might match the return type of a gcc2 |
10274 builtin and then its argument prototype would still apply. */ | 10269 builtin and then its argument prototype would still apply. */ |
10275 char crypt(); | 10270 char crypt(); |
10276 | 10271 |
10277 int main() { | 10272 int main() { |
10278 crypt() | 10273 crypt() |
10279 ; return 0; } | 10274 ; return 0; } |
10280 EOF | 10275 EOF |
10281 if { (eval echo configure:10282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10276 if { (eval echo configure:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10282 rm -rf conftest* | 10277 rm -rf conftest* |
10283 eval "ac_cv_lib_$ac_lib_var=yes" | 10278 eval "ac_cv_lib_$ac_lib_var=yes" |
10284 else | 10279 else |
10285 echo "configure: failed program was:" >&5 | 10280 echo "configure: failed program was:" >&5 |
10286 cat conftest.$ac_ext >&5 | 10281 cat conftest.$ac_ext >&5 |
10311 } | 10306 } |
10312 fi | 10307 fi |
10313 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10308 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10314 | 10309 |
10315 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10310 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10316 echo "configure:10317: checking for jl_dic_list_e in -lwnn" >&5 | 10311 echo "configure:10312: checking for jl_dic_list_e in -lwnn" >&5 |
10317 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10312 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10318 | 10313 |
10319 xe_check_libs=" -lwnn " | 10314 xe_check_libs=" -lwnn " |
10320 cat > conftest.$ac_ext <<EOF | 10315 cat > conftest.$ac_ext <<EOF |
10321 #line 10322 "configure" | 10316 #line 10317 "configure" |
10322 #include "confdefs.h" | 10317 #include "confdefs.h" |
10323 /* Override any gcc2 internal prototype to avoid an error. */ | 10318 /* Override any gcc2 internal prototype to avoid an error. */ |
10324 /* We use char because int might match the return type of a gcc2 | 10319 /* We use char because int might match the return type of a gcc2 |
10325 builtin and then its argument prototype would still apply. */ | 10320 builtin and then its argument prototype would still apply. */ |
10326 char jl_dic_list_e(); | 10321 char jl_dic_list_e(); |
10327 | 10322 |
10328 int main() { | 10323 int main() { |
10329 jl_dic_list_e() | 10324 jl_dic_list_e() |
10330 ; return 0; } | 10325 ; return 0; } |
10331 EOF | 10326 EOF |
10332 if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10333 rm -rf conftest* | 10328 rm -rf conftest* |
10334 eval "ac_cv_lib_$ac_lib_var=yes" | 10329 eval "ac_cv_lib_$ac_lib_var=yes" |
10335 else | 10330 else |
10336 echo "configure: failed program was:" >&5 | 10331 echo "configure: failed program was:" >&5 |
10337 cat conftest.$ac_ext >&5 | 10332 cat conftest.$ac_ext >&5 |
10345 echo "$ac_t""yes" 1>&6 | 10340 echo "$ac_t""yes" 1>&6 |
10346 libwnn=wnn | 10341 libwnn=wnn |
10347 else | 10342 else |
10348 echo "$ac_t""no" 1>&6 | 10343 echo "$ac_t""no" 1>&6 |
10349 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10350 echo "configure:10351: checking for jl_dic_list_e in -lwnn4" >&5 | 10345 echo "configure:10346: checking for jl_dic_list_e in -lwnn4" >&5 |
10351 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10346 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10352 | 10347 |
10353 xe_check_libs=" -lwnn4 " | 10348 xe_check_libs=" -lwnn4 " |
10354 cat > conftest.$ac_ext <<EOF | 10349 cat > conftest.$ac_ext <<EOF |
10355 #line 10356 "configure" | 10350 #line 10351 "configure" |
10356 #include "confdefs.h" | 10351 #include "confdefs.h" |
10357 /* Override any gcc2 internal prototype to avoid an error. */ | 10352 /* Override any gcc2 internal prototype to avoid an error. */ |
10358 /* We use char because int might match the return type of a gcc2 | 10353 /* We use char because int might match the return type of a gcc2 |
10359 builtin and then its argument prototype would still apply. */ | 10354 builtin and then its argument prototype would still apply. */ |
10360 char jl_dic_list_e(); | 10355 char jl_dic_list_e(); |
10361 | 10356 |
10362 int main() { | 10357 int main() { |
10363 jl_dic_list_e() | 10358 jl_dic_list_e() |
10364 ; return 0; } | 10359 ; return 0; } |
10365 EOF | 10360 EOF |
10366 if { (eval echo configure:10367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10367 rm -rf conftest* | 10362 rm -rf conftest* |
10368 eval "ac_cv_lib_$ac_lib_var=yes" | 10363 eval "ac_cv_lib_$ac_lib_var=yes" |
10369 else | 10364 else |
10370 echo "configure: failed program was:" >&5 | 10365 echo "configure: failed program was:" >&5 |
10371 cat conftest.$ac_ext >&5 | 10366 cat conftest.$ac_ext >&5 |
10379 echo "$ac_t""yes" 1>&6 | 10374 echo "$ac_t""yes" 1>&6 |
10380 libwnn=wnn4 | 10375 libwnn=wnn4 |
10381 else | 10376 else |
10382 echo "$ac_t""no" 1>&6 | 10377 echo "$ac_t""no" 1>&6 |
10383 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10378 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10384 echo "configure:10385: checking for jl_dic_list_e in -lwnn6" >&5 | 10379 echo "configure:10380: checking for jl_dic_list_e in -lwnn6" >&5 |
10385 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10380 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10386 | 10381 |
10387 xe_check_libs=" -lwnn6 " | 10382 xe_check_libs=" -lwnn6 " |
10388 cat > conftest.$ac_ext <<EOF | 10383 cat > conftest.$ac_ext <<EOF |
10389 #line 10390 "configure" | 10384 #line 10385 "configure" |
10390 #include "confdefs.h" | 10385 #include "confdefs.h" |
10391 /* Override any gcc2 internal prototype to avoid an error. */ | 10386 /* Override any gcc2 internal prototype to avoid an error. */ |
10392 /* We use char because int might match the return type of a gcc2 | 10387 /* We use char because int might match the return type of a gcc2 |
10393 builtin and then its argument prototype would still apply. */ | 10388 builtin and then its argument prototype would still apply. */ |
10394 char jl_dic_list_e(); | 10389 char jl_dic_list_e(); |
10395 | 10390 |
10396 int main() { | 10391 int main() { |
10397 jl_dic_list_e() | 10392 jl_dic_list_e() |
10398 ; return 0; } | 10393 ; return 0; } |
10399 EOF | 10394 EOF |
10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10401 rm -rf conftest* | 10396 rm -rf conftest* |
10402 eval "ac_cv_lib_$ac_lib_var=yes" | 10397 eval "ac_cv_lib_$ac_lib_var=yes" |
10403 else | 10398 else |
10404 echo "configure: failed program was:" >&5 | 10399 echo "configure: failed program was:" >&5 |
10405 cat conftest.$ac_ext >&5 | 10400 cat conftest.$ac_ext >&5 |
10413 echo "$ac_t""yes" 1>&6 | 10408 echo "$ac_t""yes" 1>&6 |
10414 libwnn=wnn6 | 10409 libwnn=wnn6 |
10415 else | 10410 else |
10416 echo "$ac_t""no" 1>&6 | 10411 echo "$ac_t""no" 1>&6 |
10417 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10412 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10418 echo "configure:10419: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10413 echo "configure:10414: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10419 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10414 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10420 | 10415 |
10421 xe_check_libs=" -lwnn6_fromsrc " | 10416 xe_check_libs=" -lwnn6_fromsrc " |
10422 cat > conftest.$ac_ext <<EOF | 10417 cat > conftest.$ac_ext <<EOF |
10423 #line 10424 "configure" | 10418 #line 10419 "configure" |
10424 #include "confdefs.h" | 10419 #include "confdefs.h" |
10425 /* Override any gcc2 internal prototype to avoid an error. */ | 10420 /* Override any gcc2 internal prototype to avoid an error. */ |
10426 /* We use char because int might match the return type of a gcc2 | 10421 /* We use char because int might match the return type of a gcc2 |
10427 builtin and then its argument prototype would still apply. */ | 10422 builtin and then its argument prototype would still apply. */ |
10428 char dic_list_e(); | 10423 char dic_list_e(); |
10429 | 10424 |
10430 int main() { | 10425 int main() { |
10431 dic_list_e() | 10426 dic_list_e() |
10432 ; return 0; } | 10427 ; return 0; } |
10433 EOF | 10428 EOF |
10434 if { (eval echo configure:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10429 if { (eval echo configure:10430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10435 rm -rf conftest* | 10430 rm -rf conftest* |
10436 eval "ac_cv_lib_$ac_lib_var=yes" | 10431 eval "ac_cv_lib_$ac_lib_var=yes" |
10437 else | 10432 else |
10438 echo "configure: failed program was:" >&5 | 10433 echo "configure: failed program was:" >&5 |
10439 cat conftest.$ac_ext >&5 | 10434 cat conftest.$ac_ext >&5 |
10474 | 10469 |
10475 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10470 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10476 if test "$with_wnn6" != "no"; then | 10471 if test "$with_wnn6" != "no"; then |
10477 | 10472 |
10478 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10473 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10479 echo "configure:10480: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10474 echo "configure:10475: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10480 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10475 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10481 | 10476 |
10482 xe_check_libs=" -l$libwnn " | 10477 xe_check_libs=" -l$libwnn " |
10483 cat > conftest.$ac_ext <<EOF | 10478 cat > conftest.$ac_ext <<EOF |
10484 #line 10485 "configure" | 10479 #line 10480 "configure" |
10485 #include "confdefs.h" | 10480 #include "confdefs.h" |
10486 /* Override any gcc2 internal prototype to avoid an error. */ | 10481 /* Override any gcc2 internal prototype to avoid an error. */ |
10487 /* We use char because int might match the return type of a gcc2 | 10482 /* We use char because int might match the return type of a gcc2 |
10488 builtin and then its argument prototype would still apply. */ | 10483 builtin and then its argument prototype would still apply. */ |
10489 char jl_fi_dic_list(); | 10484 char jl_fi_dic_list(); |
10490 | 10485 |
10491 int main() { | 10486 int main() { |
10492 jl_fi_dic_list() | 10487 jl_fi_dic_list() |
10493 ; return 0; } | 10488 ; return 0; } |
10494 EOF | 10489 EOF |
10495 if { (eval echo configure:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10490 if { (eval echo configure:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10496 rm -rf conftest* | 10491 rm -rf conftest* |
10497 eval "ac_cv_lib_$ac_lib_var=yes" | 10492 eval "ac_cv_lib_$ac_lib_var=yes" |
10498 else | 10493 else |
10499 echo "configure: failed program was:" >&5 | 10494 echo "configure: failed program was:" >&5 |
10500 cat conftest.$ac_ext >&5 | 10495 cat conftest.$ac_ext >&5 |
10525 | 10520 |
10526 canna_includes_found=no | 10521 canna_includes_found=no |
10527 if test "$with_canna" != "no"; then | 10522 if test "$with_canna" != "no"; then |
10528 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10523 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10529 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10524 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10530 echo "configure:10531: checking for canna/jrkanji.h" >&5 | 10525 echo "configure:10526: checking for canna/jrkanji.h" >&5 |
10531 | 10526 |
10532 cat > conftest.$ac_ext <<EOF | 10527 cat > conftest.$ac_ext <<EOF |
10533 #line 10534 "configure" | 10528 #line 10529 "configure" |
10534 #include "confdefs.h" | 10529 #include "confdefs.h" |
10535 #include <canna/jrkanji.h> | 10530 #include <canna/jrkanji.h> |
10536 EOF | 10531 EOF |
10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10540 if test -z "$ac_err"; then | 10535 if test -z "$ac_err"; then |
10541 rm -rf conftest* | 10536 rm -rf conftest* |
10542 eval "ac_cv_header_$ac_safe=yes" | 10537 eval "ac_cv_header_$ac_safe=yes" |
10543 else | 10538 else |
10560 -d "/usr/local/canna/include"; then | 10555 -d "/usr/local/canna/include"; then |
10561 save_c_switch_site="$c_switch_site" | 10556 save_c_switch_site="$c_switch_site" |
10562 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10557 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10563 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10558 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10564 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10559 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10565 echo "configure:10566: checking for canna/jrkanji.h" >&5 | 10560 echo "configure:10561: checking for canna/jrkanji.h" >&5 |
10566 | 10561 |
10567 cat > conftest.$ac_ext <<EOF | 10562 cat > conftest.$ac_ext <<EOF |
10568 #line 10569 "configure" | 10563 #line 10564 "configure" |
10569 #include "confdefs.h" | 10564 #include "confdefs.h" |
10570 #include <canna/jrkanji.h> | 10565 #include <canna/jrkanji.h> |
10571 EOF | 10566 EOF |
10572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10573 { (eval echo configure:10574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10568 { (eval echo configure:10569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10575 if test -z "$ac_err"; then | 10570 if test -z "$ac_err"; then |
10576 rm -rf conftest* | 10571 rm -rf conftest* |
10577 eval "ac_cv_header_$ac_safe=yes" | 10572 eval "ac_cv_header_$ac_safe=yes" |
10578 else | 10573 else |
10596 fi | 10591 fi |
10597 fi | 10592 fi |
10598 | 10593 |
10599 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10594 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10600 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10595 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10601 echo "configure:10602: checking for canna/RK.h" >&5 | 10596 echo "configure:10597: checking for canna/RK.h" >&5 |
10602 | 10597 |
10603 cat > conftest.$ac_ext <<EOF | 10598 cat > conftest.$ac_ext <<EOF |
10604 #line 10605 "configure" | 10599 #line 10600 "configure" |
10605 #include "confdefs.h" | 10600 #include "confdefs.h" |
10606 #include <canna/RK.h> | 10601 #include <canna/RK.h> |
10607 EOF | 10602 EOF |
10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10604 { (eval echo configure:10605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10611 if test -z "$ac_err"; then | 10606 if test -z "$ac_err"; then |
10612 rm -rf conftest* | 10607 rm -rf conftest* |
10613 eval "ac_cv_header_$ac_safe=yes" | 10608 eval "ac_cv_header_$ac_safe=yes" |
10614 else | 10609 else |
10627 with_canna=no | 10622 with_canna=no |
10628 fi | 10623 fi |
10629 } | 10624 } |
10630 test -z "$with_canna" && { | 10625 test -z "$with_canna" && { |
10631 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10626 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10632 echo "configure:10633: checking for RkBgnBun in -lRKC" >&5 | 10627 echo "configure:10628: checking for RkBgnBun in -lRKC" >&5 |
10633 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10628 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10634 | 10629 |
10635 xe_check_libs=" -lRKC " | 10630 xe_check_libs=" -lRKC " |
10636 cat > conftest.$ac_ext <<EOF | 10631 cat > conftest.$ac_ext <<EOF |
10637 #line 10638 "configure" | 10632 #line 10633 "configure" |
10638 #include "confdefs.h" | 10633 #include "confdefs.h" |
10639 /* Override any gcc2 internal prototype to avoid an error. */ | 10634 /* Override any gcc2 internal prototype to avoid an error. */ |
10640 /* We use char because int might match the return type of a gcc2 | 10635 /* We use char because int might match the return type of a gcc2 |
10641 builtin and then its argument prototype would still apply. */ | 10636 builtin and then its argument prototype would still apply. */ |
10642 char RkBgnBun(); | 10637 char RkBgnBun(); |
10643 | 10638 |
10644 int main() { | 10639 int main() { |
10645 RkBgnBun() | 10640 RkBgnBun() |
10646 ; return 0; } | 10641 ; return 0; } |
10647 EOF | 10642 EOF |
10648 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10649 rm -rf conftest* | 10644 rm -rf conftest* |
10650 eval "ac_cv_lib_$ac_lib_var=yes" | 10645 eval "ac_cv_lib_$ac_lib_var=yes" |
10651 else | 10646 else |
10652 echo "configure: failed program was:" >&5 | 10647 echo "configure: failed program was:" >&5 |
10653 cat conftest.$ac_ext >&5 | 10648 cat conftest.$ac_ext >&5 |
10666 fi | 10661 fi |
10667 | 10662 |
10668 } | 10663 } |
10669 test -z "$with_canna" && { | 10664 test -z "$with_canna" && { |
10670 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10665 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10671 echo "configure:10672: checking for jrKanjiControl in -lcanna" >&5 | 10666 echo "configure:10667: checking for jrKanjiControl in -lcanna" >&5 |
10672 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10667 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10673 | 10668 |
10674 xe_check_libs=" -lcanna " | 10669 xe_check_libs=" -lcanna " |
10675 cat > conftest.$ac_ext <<EOF | 10670 cat > conftest.$ac_ext <<EOF |
10676 #line 10677 "configure" | 10671 #line 10672 "configure" |
10677 #include "confdefs.h" | 10672 #include "confdefs.h" |
10678 /* Override any gcc2 internal prototype to avoid an error. */ | 10673 /* Override any gcc2 internal prototype to avoid an error. */ |
10679 /* We use char because int might match the return type of a gcc2 | 10674 /* We use char because int might match the return type of a gcc2 |
10680 builtin and then its argument prototype would still apply. */ | 10675 builtin and then its argument prototype would still apply. */ |
10681 char jrKanjiControl(); | 10676 char jrKanjiControl(); |
10682 | 10677 |
10683 int main() { | 10678 int main() { |
10684 jrKanjiControl() | 10679 jrKanjiControl() |
10685 ; return 0; } | 10680 ; return 0; } |
10686 EOF | 10681 EOF |
10687 if { (eval echo configure:10688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10688 rm -rf conftest* | 10683 rm -rf conftest* |
10689 eval "ac_cv_lib_$ac_lib_var=yes" | 10684 eval "ac_cv_lib_$ac_lib_var=yes" |
10690 else | 10685 else |
10691 echo "configure: failed program was:" >&5 | 10686 echo "configure: failed program was:" >&5 |
10692 cat conftest.$ac_ext >&5 | 10687 cat conftest.$ac_ext >&5 |
10728 | 10723 |
10729 if test "$need_motif" = "yes" ; then | 10724 if test "$need_motif" = "yes" ; then |
10730 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10725 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10731 | 10726 |
10732 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10727 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10733 echo "configure:10734: checking for layout_object_getvalue in -li18n" >&5 | 10728 echo "configure:10729: checking for layout_object_getvalue in -li18n" >&5 |
10734 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10729 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10735 | 10730 |
10736 xe_check_libs=" -li18n " | 10731 xe_check_libs=" -li18n " |
10737 cat > conftest.$ac_ext <<EOF | 10732 cat > conftest.$ac_ext <<EOF |
10738 #line 10739 "configure" | 10733 #line 10734 "configure" |
10739 #include "confdefs.h" | 10734 #include "confdefs.h" |
10740 /* Override any gcc2 internal prototype to avoid an error. */ | 10735 /* Override any gcc2 internal prototype to avoid an error. */ |
10741 /* We use char because int might match the return type of a gcc2 | 10736 /* We use char because int might match the return type of a gcc2 |
10742 builtin and then its argument prototype would still apply. */ | 10737 builtin and then its argument prototype would still apply. */ |
10743 char layout_object_getvalue(); | 10738 char layout_object_getvalue(); |
10744 | 10739 |
10745 int main() { | 10740 int main() { |
10746 layout_object_getvalue() | 10741 layout_object_getvalue() |
10747 ; return 0; } | 10742 ; return 0; } |
10748 EOF | 10743 EOF |
10749 if { (eval echo configure:10750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10744 if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10750 rm -rf conftest* | 10745 rm -rf conftest* |
10751 eval "ac_cv_lib_$ac_lib_var=yes" | 10746 eval "ac_cv_lib_$ac_lib_var=yes" |
10752 else | 10747 else |
10753 echo "configure: failed program was:" >&5 | 10748 echo "configure: failed program was:" >&5 |
10754 cat conftest.$ac_ext >&5 | 10749 cat conftest.$ac_ext >&5 |
10830 fi | 10825 fi |
10831 | 10826 |
10832 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10827 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10833 do | 10828 do |
10834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10835 echo "configure:10836: checking for $ac_func" >&5 | 10830 echo "configure:10831: checking for $ac_func" >&5 |
10836 | 10831 |
10837 cat > conftest.$ac_ext <<EOF | 10832 cat > conftest.$ac_ext <<EOF |
10838 #line 10839 "configure" | 10833 #line 10834 "configure" |
10839 #include "confdefs.h" | 10834 #include "confdefs.h" |
10840 /* System header to define __stub macros and hopefully few prototypes, | 10835 /* System header to define __stub macros and hopefully few prototypes, |
10841 which can conflict with char $ac_func(); below. */ | 10836 which can conflict with char $ac_func(); below. */ |
10842 #include <assert.h> | 10837 #include <assert.h> |
10843 /* Override any gcc2 internal prototype to avoid an error. */ | 10838 /* Override any gcc2 internal prototype to avoid an error. */ |
10856 $ac_func(); | 10851 $ac_func(); |
10857 #endif | 10852 #endif |
10858 | 10853 |
10859 ; return 0; } | 10854 ; return 0; } |
10860 EOF | 10855 EOF |
10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10856 if { (eval echo configure:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10862 rm -rf conftest* | 10857 rm -rf conftest* |
10863 eval "ac_cv_func_$ac_func=yes" | 10858 eval "ac_cv_func_$ac_func=yes" |
10864 else | 10859 else |
10865 echo "configure: failed program was:" >&5 | 10860 echo "configure: failed program was:" >&5 |
10866 cat conftest.$ac_ext >&5 | 10861 cat conftest.$ac_ext >&5 |
10888 | 10883 |
10889 | 10884 |
10890 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10885 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10891 do | 10886 do |
10892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10893 echo "configure:10894: checking for $ac_func" >&5 | 10888 echo "configure:10889: checking for $ac_func" >&5 |
10894 | 10889 |
10895 cat > conftest.$ac_ext <<EOF | 10890 cat > conftest.$ac_ext <<EOF |
10896 #line 10897 "configure" | 10891 #line 10892 "configure" |
10897 #include "confdefs.h" | 10892 #include "confdefs.h" |
10898 /* System header to define __stub macros and hopefully few prototypes, | 10893 /* System header to define __stub macros and hopefully few prototypes, |
10899 which can conflict with char $ac_func(); below. */ | 10894 which can conflict with char $ac_func(); below. */ |
10900 #include <assert.h> | 10895 #include <assert.h> |
10901 /* Override any gcc2 internal prototype to avoid an error. */ | 10896 /* Override any gcc2 internal prototype to avoid an error. */ |
10914 $ac_func(); | 10909 $ac_func(); |
10915 #endif | 10910 #endif |
10916 | 10911 |
10917 ; return 0; } | 10912 ; return 0; } |
10918 EOF | 10913 EOF |
10919 if { (eval echo configure:10920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10920 rm -rf conftest* | 10915 rm -rf conftest* |
10921 eval "ac_cv_func_$ac_func=yes" | 10916 eval "ac_cv_func_$ac_func=yes" |
10922 else | 10917 else |
10923 echo "configure: failed program was:" >&5 | 10918 echo "configure: failed program was:" >&5 |
10924 cat conftest.$ac_ext >&5 | 10919 cat conftest.$ac_ext >&5 |
10943 fi | 10938 fi |
10944 done | 10939 done |
10945 | 10940 |
10946 | 10941 |
10947 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10942 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10948 echo "configure:10949: checking for openpty" >&5 | 10943 echo "configure:10944: checking for openpty" >&5 |
10949 | 10944 |
10950 cat > conftest.$ac_ext <<EOF | 10945 cat > conftest.$ac_ext <<EOF |
10951 #line 10952 "configure" | 10946 #line 10947 "configure" |
10952 #include "confdefs.h" | 10947 #include "confdefs.h" |
10953 /* System header to define __stub macros and hopefully few prototypes, | 10948 /* System header to define __stub macros and hopefully few prototypes, |
10954 which can conflict with char openpty(); below. */ | 10949 which can conflict with char openpty(); below. */ |
10955 #include <assert.h> | 10950 #include <assert.h> |
10956 /* Override any gcc2 internal prototype to avoid an error. */ | 10951 /* Override any gcc2 internal prototype to avoid an error. */ |
10969 openpty(); | 10964 openpty(); |
10970 #endif | 10965 #endif |
10971 | 10966 |
10972 ; return 0; } | 10967 ; return 0; } |
10973 EOF | 10968 EOF |
10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10969 if { (eval echo configure:10970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10975 rm -rf conftest* | 10970 rm -rf conftest* |
10976 eval "ac_cv_func_openpty=yes" | 10971 eval "ac_cv_func_openpty=yes" |
10977 else | 10972 else |
10978 echo "configure: failed program was:" >&5 | 10973 echo "configure: failed program was:" >&5 |
10979 cat conftest.$ac_ext >&5 | 10974 cat conftest.$ac_ext >&5 |
10988 else | 10983 else |
10989 echo "$ac_t""no" 1>&6 | 10984 echo "$ac_t""no" 1>&6 |
10990 | 10985 |
10991 | 10986 |
10992 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10987 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10993 echo "configure:10994: checking for openpty in -lutil" >&5 | 10988 echo "configure:10989: checking for openpty in -lutil" >&5 |
10994 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10989 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10995 | 10990 |
10996 xe_check_libs=" -lutil " | 10991 xe_check_libs=" -lutil " |
10997 cat > conftest.$ac_ext <<EOF | 10992 cat > conftest.$ac_ext <<EOF |
10998 #line 10999 "configure" | 10993 #line 10994 "configure" |
10999 #include "confdefs.h" | 10994 #include "confdefs.h" |
11000 /* Override any gcc2 internal prototype to avoid an error. */ | 10995 /* Override any gcc2 internal prototype to avoid an error. */ |
11001 /* We use char because int might match the return type of a gcc2 | 10996 /* We use char because int might match the return type of a gcc2 |
11002 builtin and then its argument prototype would still apply. */ | 10997 builtin and then its argument prototype would still apply. */ |
11003 char openpty(); | 10998 char openpty(); |
11004 | 10999 |
11005 int main() { | 11000 int main() { |
11006 openpty() | 11001 openpty() |
11007 ; return 0; } | 11002 ; return 0; } |
11008 EOF | 11003 EOF |
11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11010 rm -rf conftest* | 11005 rm -rf conftest* |
11011 eval "ac_cv_lib_$ac_lib_var=yes" | 11006 eval "ac_cv_lib_$ac_lib_var=yes" |
11012 else | 11007 else |
11013 echo "configure: failed program was:" >&5 | 11008 echo "configure: failed program was:" >&5 |
11014 cat conftest.$ac_ext >&5 | 11009 cat conftest.$ac_ext >&5 |
11039 | 11034 |
11040 for ac_hdr in libutil.h util.h | 11035 for ac_hdr in libutil.h util.h |
11041 do | 11036 do |
11042 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11037 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11038 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11044 echo "configure:11045: checking for $ac_hdr" >&5 | 11039 echo "configure:11040: checking for $ac_hdr" >&5 |
11045 | 11040 |
11046 cat > conftest.$ac_ext <<EOF | 11041 cat > conftest.$ac_ext <<EOF |
11047 #line 11048 "configure" | 11042 #line 11043 "configure" |
11048 #include "confdefs.h" | 11043 #include "confdefs.h" |
11049 #include <$ac_hdr> | 11044 #include <$ac_hdr> |
11050 EOF | 11045 EOF |
11051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11052 { (eval echo configure:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11047 { (eval echo configure:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11054 if test -z "$ac_err"; then | 11049 if test -z "$ac_err"; then |
11055 rm -rf conftest* | 11050 rm -rf conftest* |
11056 eval "ac_cv_header_$ac_safe=yes" | 11051 eval "ac_cv_header_$ac_safe=yes" |
11057 else | 11052 else |
11084 case "$opsys" in | 11079 case "$opsys" in |
11085 hpux*) for ac_hdr in sys/ptyio.h | 11080 hpux*) for ac_hdr in sys/ptyio.h |
11086 do | 11081 do |
11087 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11082 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11089 echo "configure:11090: checking for $ac_hdr" >&5 | 11084 echo "configure:11085: checking for $ac_hdr" >&5 |
11090 | 11085 |
11091 cat > conftest.$ac_ext <<EOF | 11086 cat > conftest.$ac_ext <<EOF |
11092 #line 11093 "configure" | 11087 #line 11088 "configure" |
11093 #include "confdefs.h" | 11088 #include "confdefs.h" |
11094 #include <$ac_hdr> | 11089 #include <$ac_hdr> |
11095 EOF | 11090 EOF |
11096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11097 { (eval echo configure:11098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11092 { (eval echo configure:11093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11099 if test -z "$ac_err"; then | 11094 if test -z "$ac_err"; then |
11100 rm -rf conftest* | 11095 rm -rf conftest* |
11101 eval "ac_cv_header_$ac_safe=yes" | 11096 eval "ac_cv_header_$ac_safe=yes" |
11102 else | 11097 else |
11125 ;; | 11120 ;; |
11126 *) for ac_hdr in pty.h | 11121 *) for ac_hdr in pty.h |
11127 do | 11122 do |
11128 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11129 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11130 echo "configure:11131: checking for $ac_hdr" >&5 | 11125 echo "configure:11126: checking for $ac_hdr" >&5 |
11131 | 11126 |
11132 cat > conftest.$ac_ext <<EOF | 11127 cat > conftest.$ac_ext <<EOF |
11133 #line 11134 "configure" | 11128 #line 11129 "configure" |
11134 #include "confdefs.h" | 11129 #include "confdefs.h" |
11135 #include <$ac_hdr> | 11130 #include <$ac_hdr> |
11136 EOF | 11131 EOF |
11137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11138 { (eval echo configure:11139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11140 if test -z "$ac_err"; then | 11135 if test -z "$ac_err"; then |
11141 rm -rf conftest* | 11136 rm -rf conftest* |
11142 eval "ac_cv_header_$ac_safe=yes" | 11137 eval "ac_cv_header_$ac_safe=yes" |
11143 else | 11138 else |
11166 | 11161 |
11167 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11162 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11168 do | 11163 do |
11169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11171 echo "configure:11172: checking for $ac_hdr" >&5 | 11166 echo "configure:11167: checking for $ac_hdr" >&5 |
11172 | 11167 |
11173 cat > conftest.$ac_ext <<EOF | 11168 cat > conftest.$ac_ext <<EOF |
11174 #line 11175 "configure" | 11169 #line 11170 "configure" |
11175 #include "confdefs.h" | 11170 #include "confdefs.h" |
11176 #include <$ac_hdr> | 11171 #include <$ac_hdr> |
11177 EOF | 11172 EOF |
11178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11179 { (eval echo configure:11180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11181 if test -z "$ac_err"; then | 11176 if test -z "$ac_err"; then |
11182 rm -rf conftest* | 11177 rm -rf conftest* |
11183 eval "ac_cv_header_$ac_safe=yes" | 11178 eval "ac_cv_header_$ac_safe=yes" |
11184 else | 11179 else |
11210 | 11205 |
11211 for ac_hdr in stropts.h | 11206 for ac_hdr in stropts.h |
11212 do | 11207 do |
11213 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11215 echo "configure:11216: checking for $ac_hdr" >&5 | 11210 echo "configure:11211: checking for $ac_hdr" >&5 |
11216 | 11211 |
11217 cat > conftest.$ac_ext <<EOF | 11212 cat > conftest.$ac_ext <<EOF |
11218 #line 11219 "configure" | 11213 #line 11214 "configure" |
11219 #include "confdefs.h" | 11214 #include "confdefs.h" |
11220 #include <$ac_hdr> | 11215 #include <$ac_hdr> |
11221 EOF | 11216 EOF |
11222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11223 { (eval echo configure:11224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11218 { (eval echo configure:11219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11225 if test -z "$ac_err"; then | 11220 if test -z "$ac_err"; then |
11226 rm -rf conftest* | 11221 rm -rf conftest* |
11227 eval "ac_cv_header_$ac_safe=yes" | 11222 eval "ac_cv_header_$ac_safe=yes" |
11228 else | 11223 else |
11251 | 11246 |
11252 if test "$ac_cv_header_stropts_h" = "yes"; then | 11247 if test "$ac_cv_header_stropts_h" = "yes"; then |
11253 for ac_func in isastream | 11248 for ac_func in isastream |
11254 do | 11249 do |
11255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11256 echo "configure:11257: checking for $ac_func" >&5 | 11251 echo "configure:11252: checking for $ac_func" >&5 |
11257 | 11252 |
11258 cat > conftest.$ac_ext <<EOF | 11253 cat > conftest.$ac_ext <<EOF |
11259 #line 11260 "configure" | 11254 #line 11255 "configure" |
11260 #include "confdefs.h" | 11255 #include "confdefs.h" |
11261 /* System header to define __stub macros and hopefully few prototypes, | 11256 /* System header to define __stub macros and hopefully few prototypes, |
11262 which can conflict with char $ac_func(); below. */ | 11257 which can conflict with char $ac_func(); below. */ |
11263 #include <assert.h> | 11258 #include <assert.h> |
11264 /* Override any gcc2 internal prototype to avoid an error. */ | 11259 /* Override any gcc2 internal prototype to avoid an error. */ |
11277 $ac_func(); | 11272 $ac_func(); |
11278 #endif | 11273 #endif |
11279 | 11274 |
11280 ; return 0; } | 11275 ; return 0; } |
11281 EOF | 11276 EOF |
11282 if { (eval echo configure:11283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11277 if { (eval echo configure:11278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11283 rm -rf conftest* | 11278 rm -rf conftest* |
11284 eval "ac_cv_func_$ac_func=yes" | 11279 eval "ac_cv_func_$ac_func=yes" |
11285 else | 11280 else |
11286 echo "configure: failed program was:" >&5 | 11281 echo "configure: failed program was:" >&5 |
11287 cat conftest.$ac_ext >&5 | 11282 cat conftest.$ac_ext >&5 |
11308 | 11303 |
11309 for ac_hdr in strtio.h | 11304 for ac_hdr in strtio.h |
11310 do | 11305 do |
11311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11306 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11313 echo "configure:11314: checking for $ac_hdr" >&5 | 11308 echo "configure:11309: checking for $ac_hdr" >&5 |
11314 | 11309 |
11315 cat > conftest.$ac_ext <<EOF | 11310 cat > conftest.$ac_ext <<EOF |
11316 #line 11317 "configure" | 11311 #line 11312 "configure" |
11317 #include "confdefs.h" | 11312 #include "confdefs.h" |
11318 #include <$ac_hdr> | 11313 #include <$ac_hdr> |
11319 EOF | 11314 EOF |
11320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11321 { (eval echo configure:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11316 { (eval echo configure:11317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11323 if test -z "$ac_err"; then | 11318 if test -z "$ac_err"; then |
11324 rm -rf conftest* | 11319 rm -rf conftest* |
11325 eval "ac_cv_header_$ac_safe=yes" | 11320 eval "ac_cv_header_$ac_safe=yes" |
11326 else | 11321 else |
11349 fi | 11344 fi |
11350 | 11345 |
11351 for ac_func in getloadavg | 11346 for ac_func in getloadavg |
11352 do | 11347 do |
11353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11354 echo "configure:11355: checking for $ac_func" >&5 | 11349 echo "configure:11350: checking for $ac_func" >&5 |
11355 | 11350 |
11356 cat > conftest.$ac_ext <<EOF | 11351 cat > conftest.$ac_ext <<EOF |
11357 #line 11358 "configure" | 11352 #line 11353 "configure" |
11358 #include "confdefs.h" | 11353 #include "confdefs.h" |
11359 /* System header to define __stub macros and hopefully few prototypes, | 11354 /* System header to define __stub macros and hopefully few prototypes, |
11360 which can conflict with char $ac_func(); below. */ | 11355 which can conflict with char $ac_func(); below. */ |
11361 #include <assert.h> | 11356 #include <assert.h> |
11362 /* Override any gcc2 internal prototype to avoid an error. */ | 11357 /* Override any gcc2 internal prototype to avoid an error. */ |
11375 $ac_func(); | 11370 $ac_func(); |
11376 #endif | 11371 #endif |
11377 | 11372 |
11378 ; return 0; } | 11373 ; return 0; } |
11379 EOF | 11374 EOF |
11380 if { (eval echo configure:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11381 rm -rf conftest* | 11376 rm -rf conftest* |
11382 eval "ac_cv_func_$ac_func=yes" | 11377 eval "ac_cv_func_$ac_func=yes" |
11383 else | 11378 else |
11384 echo "configure: failed program was:" >&5 | 11379 echo "configure: failed program was:" >&5 |
11385 cat conftest.$ac_ext >&5 | 11380 cat conftest.$ac_ext >&5 |
11408 if test "$ac_cv_func_getloadavg" = "yes"; then | 11403 if test "$ac_cv_func_getloadavg" = "yes"; then |
11409 for ac_hdr in sys/loadavg.h | 11404 for ac_hdr in sys/loadavg.h |
11410 do | 11405 do |
11411 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11412 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11413 echo "configure:11414: checking for $ac_hdr" >&5 | 11408 echo "configure:11409: checking for $ac_hdr" >&5 |
11414 | 11409 |
11415 cat > conftest.$ac_ext <<EOF | 11410 cat > conftest.$ac_ext <<EOF |
11416 #line 11417 "configure" | 11411 #line 11412 "configure" |
11417 #include "confdefs.h" | 11412 #include "confdefs.h" |
11418 #include <$ac_hdr> | 11413 #include <$ac_hdr> |
11419 EOF | 11414 EOF |
11420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11421 { (eval echo configure:11422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11423 if test -z "$ac_err"; then | 11418 if test -z "$ac_err"; then |
11424 rm -rf conftest* | 11419 rm -rf conftest* |
11425 eval "ac_cv_header_$ac_safe=yes" | 11420 eval "ac_cv_header_$ac_safe=yes" |
11426 else | 11421 else |
11452 echo " xemacs will be linked with \"getloadavg.o\"" | 11447 echo " xemacs will be linked with \"getloadavg.o\"" |
11453 fi | 11448 fi |
11454 | 11449 |
11455 | 11450 |
11456 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11451 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11457 echo "configure:11458: checking for kstat_open in -lkstat" >&5 | 11452 echo "configure:11453: checking for kstat_open in -lkstat" >&5 |
11458 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11453 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11459 | 11454 |
11460 xe_check_libs=" -lkstat " | 11455 xe_check_libs=" -lkstat " |
11461 cat > conftest.$ac_ext <<EOF | 11456 cat > conftest.$ac_ext <<EOF |
11462 #line 11463 "configure" | 11457 #line 11458 "configure" |
11463 #include "confdefs.h" | 11458 #include "confdefs.h" |
11464 /* Override any gcc2 internal prototype to avoid an error. */ | 11459 /* Override any gcc2 internal prototype to avoid an error. */ |
11465 /* We use char because int might match the return type of a gcc2 | 11460 /* We use char because int might match the return type of a gcc2 |
11466 builtin and then its argument prototype would still apply. */ | 11461 builtin and then its argument prototype would still apply. */ |
11467 char kstat_open(); | 11462 char kstat_open(); |
11468 | 11463 |
11469 int main() { | 11464 int main() { |
11470 kstat_open() | 11465 kstat_open() |
11471 ; return 0; } | 11466 ; return 0; } |
11472 EOF | 11467 EOF |
11473 if { (eval echo configure:11474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11474 rm -rf conftest* | 11469 rm -rf conftest* |
11475 eval "ac_cv_lib_$ac_lib_var=yes" | 11470 eval "ac_cv_lib_$ac_lib_var=yes" |
11476 else | 11471 else |
11477 echo "configure: failed program was:" >&5 | 11472 echo "configure: failed program was:" >&5 |
11478 cat conftest.$ac_ext >&5 | 11473 cat conftest.$ac_ext >&5 |
11503 | 11498 |
11504 for ac_hdr in kstat.h | 11499 for ac_hdr in kstat.h |
11505 do | 11500 do |
11506 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11508 echo "configure:11509: checking for $ac_hdr" >&5 | 11503 echo "configure:11504: checking for $ac_hdr" >&5 |
11509 | 11504 |
11510 cat > conftest.$ac_ext <<EOF | 11505 cat > conftest.$ac_ext <<EOF |
11511 #line 11512 "configure" | 11506 #line 11507 "configure" |
11512 #include "confdefs.h" | 11507 #include "confdefs.h" |
11513 #include <$ac_hdr> | 11508 #include <$ac_hdr> |
11514 EOF | 11509 EOF |
11515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11516 { (eval echo configure:11517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11511 { (eval echo configure:11512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11518 if test -z "$ac_err"; then | 11513 if test -z "$ac_err"; then |
11519 rm -rf conftest* | 11514 rm -rf conftest* |
11520 eval "ac_cv_header_$ac_safe=yes" | 11515 eval "ac_cv_header_$ac_safe=yes" |
11521 else | 11516 else |
11543 done | 11538 done |
11544 | 11539 |
11545 | 11540 |
11546 | 11541 |
11547 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11542 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11548 echo "configure:11549: checking for kvm_read in -lkvm" >&5 | 11543 echo "configure:11544: checking for kvm_read in -lkvm" >&5 |
11549 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11544 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11550 | 11545 |
11551 xe_check_libs=" -lkvm " | 11546 xe_check_libs=" -lkvm " |
11552 cat > conftest.$ac_ext <<EOF | 11547 cat > conftest.$ac_ext <<EOF |
11553 #line 11554 "configure" | 11548 #line 11549 "configure" |
11554 #include "confdefs.h" | 11549 #include "confdefs.h" |
11555 /* Override any gcc2 internal prototype to avoid an error. */ | 11550 /* Override any gcc2 internal prototype to avoid an error. */ |
11556 /* We use char because int might match the return type of a gcc2 | 11551 /* We use char because int might match the return type of a gcc2 |
11557 builtin and then its argument prototype would still apply. */ | 11552 builtin and then its argument prototype would still apply. */ |
11558 char kvm_read(); | 11553 char kvm_read(); |
11559 | 11554 |
11560 int main() { | 11555 int main() { |
11561 kvm_read() | 11556 kvm_read() |
11562 ; return 0; } | 11557 ; return 0; } |
11563 EOF | 11558 EOF |
11564 if { (eval echo configure:11565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11565 rm -rf conftest* | 11560 rm -rf conftest* |
11566 eval "ac_cv_lib_$ac_lib_var=yes" | 11561 eval "ac_cv_lib_$ac_lib_var=yes" |
11567 else | 11562 else |
11568 echo "configure: failed program was:" >&5 | 11563 echo "configure: failed program was:" >&5 |
11569 cat conftest.$ac_ext >&5 | 11564 cat conftest.$ac_ext >&5 |
11593 | 11588 |
11594 | 11589 |
11595 fi | 11590 fi |
11596 | 11591 |
11597 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11592 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11598 echo "configure:11599: checking whether netdb declares h_errno" >&5 | 11593 echo "configure:11594: checking whether netdb declares h_errno" >&5 |
11599 cat > conftest.$ac_ext <<EOF | 11594 cat > conftest.$ac_ext <<EOF |
11600 #line 11601 "configure" | 11595 #line 11596 "configure" |
11601 #include "confdefs.h" | 11596 #include "confdefs.h" |
11602 #include <netdb.h> | 11597 #include <netdb.h> |
11603 int main() { | 11598 int main() { |
11604 return h_errno; | 11599 return h_errno; |
11605 ; return 0; } | 11600 ; return 0; } |
11606 EOF | 11601 EOF |
11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11602 if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11608 rm -rf conftest* | 11603 rm -rf conftest* |
11609 echo "$ac_t""yes" 1>&6 | 11604 echo "$ac_t""yes" 1>&6 |
11610 { test "$extra_verbose" = "yes" && cat << \EOF | 11605 { test "$extra_verbose" = "yes" && cat << \EOF |
11611 Defining HAVE_H_ERRNO | 11606 Defining HAVE_H_ERRNO |
11612 EOF | 11607 EOF |
11622 echo "$ac_t""no" 1>&6 | 11617 echo "$ac_t""no" 1>&6 |
11623 fi | 11618 fi |
11624 rm -f conftest* | 11619 rm -f conftest* |
11625 | 11620 |
11626 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11621 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11627 echo "configure:11628: checking for sigsetjmp" >&5 | 11622 echo "configure:11623: checking for sigsetjmp" >&5 |
11628 cat > conftest.$ac_ext <<EOF | 11623 cat > conftest.$ac_ext <<EOF |
11629 #line 11630 "configure" | 11624 #line 11625 "configure" |
11630 #include "confdefs.h" | 11625 #include "confdefs.h" |
11631 #include <setjmp.h> | 11626 #include <setjmp.h> |
11632 int main() { | 11627 int main() { |
11633 sigjmp_buf bar; sigsetjmp (bar, 0); | 11628 sigjmp_buf bar; sigsetjmp (bar, 0); |
11634 ; return 0; } | 11629 ; return 0; } |
11635 EOF | 11630 EOF |
11636 if { (eval echo configure:11637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11631 if { (eval echo configure:11632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11637 rm -rf conftest* | 11632 rm -rf conftest* |
11638 echo "$ac_t""yes" 1>&6 | 11633 echo "$ac_t""yes" 1>&6 |
11639 { test "$extra_verbose" = "yes" && cat << \EOF | 11634 { test "$extra_verbose" = "yes" && cat << \EOF |
11640 Defining HAVE_SIGSETJMP | 11635 Defining HAVE_SIGSETJMP |
11641 EOF | 11636 EOF |
11651 echo "$ac_t""no" 1>&6 | 11646 echo "$ac_t""no" 1>&6 |
11652 fi | 11647 fi |
11653 rm -f conftest* | 11648 rm -f conftest* |
11654 | 11649 |
11655 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11650 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11656 echo "configure:11657: checking whether localtime caches TZ" >&5 | 11651 echo "configure:11652: checking whether localtime caches TZ" >&5 |
11657 | 11652 |
11658 if test "$ac_cv_func_tzset" = "yes"; then | 11653 if test "$ac_cv_func_tzset" = "yes"; then |
11659 cat > conftest.$ac_ext <<EOF | 11654 cat > conftest.$ac_ext <<EOF |
11660 #line 11661 "configure" | 11655 #line 11656 "configure" |
11661 #include "confdefs.h" | 11656 #include "confdefs.h" |
11662 #include <time.h> | 11657 #include <time.h> |
11663 #if STDC_HEADERS | 11658 #if STDC_HEADERS |
11664 # include <stdlib.h> | 11659 # include <stdlib.h> |
11665 #endif | 11660 #endif |
11690 if (localtime (&now)->tm_hour != hour_unset) | 11685 if (localtime (&now)->tm_hour != hour_unset) |
11691 exit (1); | 11686 exit (1); |
11692 exit (0); | 11687 exit (0); |
11693 } | 11688 } |
11694 EOF | 11689 EOF |
11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11696 then | 11691 then |
11697 emacs_cv_localtime_cache=no | 11692 emacs_cv_localtime_cache=no |
11698 else | 11693 else |
11699 conftest_rc="$?" | 11694 conftest_rc="$?" |
11700 echo "configure: failed program was:" >&5 | 11695 echo "configure: failed program was:" >&5 |
11720 | 11715 |
11721 fi | 11716 fi |
11722 | 11717 |
11723 if test "$HAVE_TIMEVAL" = "yes"; then | 11718 if test "$HAVE_TIMEVAL" = "yes"; then |
11724 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11719 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11725 echo "configure:11726: checking whether gettimeofday accepts one or two arguments" >&5 | 11720 echo "configure:11721: checking whether gettimeofday accepts one or two arguments" >&5 |
11726 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
11727 #line 11728 "configure" | 11722 #line 11723 "configure" |
11728 #include "confdefs.h" | 11723 #include "confdefs.h" |
11729 | 11724 |
11730 #ifdef TIME_WITH_SYS_TIME | 11725 #ifdef TIME_WITH_SYS_TIME |
11731 #include <sys/time.h> | 11726 #include <sys/time.h> |
11732 #include <time.h> | 11727 #include <time.h> |
11743 struct timeval time; | 11738 struct timeval time; |
11744 gettimeofday (&time, 0); | 11739 gettimeofday (&time, 0); |
11745 | 11740 |
11746 ; return 0; } | 11741 ; return 0; } |
11747 EOF | 11742 EOF |
11748 if { (eval echo configure:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11743 if { (eval echo configure:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11749 rm -rf conftest* | 11744 rm -rf conftest* |
11750 echo "$ac_t""two" 1>&6 | 11745 echo "$ac_t""two" 1>&6 |
11751 else | 11746 else |
11752 echo "configure: failed program was:" >&5 | 11747 echo "configure: failed program was:" >&5 |
11753 cat conftest.$ac_ext >&5 | 11748 cat conftest.$ac_ext >&5 |
11765 rm -f conftest* | 11760 rm -f conftest* |
11766 fi | 11761 fi |
11767 | 11762 |
11768 | 11763 |
11769 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11764 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11770 echo "configure:11771: checking for inline" >&5 | 11765 echo "configure:11766: checking for inline" >&5 |
11771 | 11766 |
11772 ac_cv_c_inline=no | 11767 ac_cv_c_inline=no |
11773 for ac_kw in inline __inline__ __inline; do | 11768 for ac_kw in inline __inline__ __inline; do |
11774 cat > conftest.$ac_ext <<EOF | 11769 cat > conftest.$ac_ext <<EOF |
11775 #line 11776 "configure" | 11770 #line 11771 "configure" |
11776 #include "confdefs.h" | 11771 #include "confdefs.h" |
11777 | 11772 |
11778 int main() { | 11773 int main() { |
11779 } $ac_kw foo() { | 11774 } $ac_kw foo() { |
11780 ; return 0; } | 11775 ; return 0; } |
11781 EOF | 11776 EOF |
11782 if { (eval echo configure:11783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11777 if { (eval echo configure:11778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11783 rm -rf conftest* | 11778 rm -rf conftest* |
11784 ac_cv_c_inline=$ac_kw; break | 11779 ac_cv_c_inline=$ac_kw; break |
11785 else | 11780 else |
11786 echo "configure: failed program was:" >&5 | 11781 echo "configure: failed program was:" >&5 |
11787 cat conftest.$ac_ext >&5 | 11782 cat conftest.$ac_ext >&5 |
11818 | 11813 |
11819 if test "$__DECC" != "yes"; then | 11814 if test "$__DECC" != "yes"; then |
11820 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11815 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11821 # for constant arguments. Useless! | 11816 # for constant arguments. Useless! |
11822 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11817 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11823 echo "configure:11824: checking for working alloca.h" >&5 | 11818 echo "configure:11819: checking for working alloca.h" >&5 |
11824 | 11819 |
11825 cat > conftest.$ac_ext <<EOF | 11820 cat > conftest.$ac_ext <<EOF |
11826 #line 11827 "configure" | 11821 #line 11822 "configure" |
11827 #include "confdefs.h" | 11822 #include "confdefs.h" |
11828 #include <alloca.h> | 11823 #include <alloca.h> |
11829 int main() { | 11824 int main() { |
11830 char *p = alloca(2 * sizeof(int)); | 11825 char *p = alloca(2 * sizeof(int)); |
11831 ; return 0; } | 11826 ; return 0; } |
11832 EOF | 11827 EOF |
11833 if { (eval echo configure:11834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11834 rm -rf conftest* | 11829 rm -rf conftest* |
11835 ac_cv_header_alloca_h=yes | 11830 ac_cv_header_alloca_h=yes |
11836 else | 11831 else |
11837 echo "configure: failed program was:" >&5 | 11832 echo "configure: failed program was:" >&5 |
11838 cat conftest.$ac_ext >&5 | 11833 cat conftest.$ac_ext >&5 |
11852 } | 11847 } |
11853 | 11848 |
11854 fi | 11849 fi |
11855 | 11850 |
11856 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11851 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11857 echo "configure:11858: checking for alloca" >&5 | 11852 echo "configure:11853: checking for alloca" >&5 |
11858 | 11853 |
11859 cat > conftest.$ac_ext <<EOF | 11854 cat > conftest.$ac_ext <<EOF |
11860 #line 11861 "configure" | 11855 #line 11856 "configure" |
11861 #include "confdefs.h" | 11856 #include "confdefs.h" |
11862 | 11857 |
11863 #ifdef __GNUC__ | 11858 #ifdef __GNUC__ |
11864 # define alloca __builtin_alloca | 11859 # define alloca __builtin_alloca |
11865 #else | 11860 #else |
11883 | 11878 |
11884 int main() { | 11879 int main() { |
11885 char *p = (char *) alloca(1); | 11880 char *p = (char *) alloca(1); |
11886 ; return 0; } | 11881 ; return 0; } |
11887 EOF | 11882 EOF |
11888 if { (eval echo configure:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11889 rm -rf conftest* | 11884 rm -rf conftest* |
11890 ac_cv_func_alloca_works=yes | 11885 ac_cv_func_alloca_works=yes |
11891 else | 11886 else |
11892 echo "configure: failed program was:" >&5 | 11887 echo "configure: failed program was:" >&5 |
11893 cat conftest.$ac_ext >&5 | 11888 cat conftest.$ac_ext >&5 |
11922 EOF | 11917 EOF |
11923 } | 11918 } |
11924 | 11919 |
11925 | 11920 |
11926 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11921 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11927 echo "configure:11928: checking whether alloca needs Cray hooks" >&5 | 11922 echo "configure:11923: checking whether alloca needs Cray hooks" >&5 |
11928 | 11923 |
11929 cat > conftest.$ac_ext <<EOF | 11924 cat > conftest.$ac_ext <<EOF |
11930 #line 11931 "configure" | 11925 #line 11926 "configure" |
11931 #include "confdefs.h" | 11926 #include "confdefs.h" |
11932 #if defined(CRAY) && ! defined(CRAY2) | 11927 #if defined(CRAY) && ! defined(CRAY2) |
11933 webecray | 11928 webecray |
11934 #else | 11929 #else |
11935 wenotbecray | 11930 wenotbecray |
11949 | 11944 |
11950 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11945 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11951 if test $ac_cv_os_cray = yes; then | 11946 if test $ac_cv_os_cray = yes; then |
11952 for ac_func in _getb67 GETB67 getb67; do | 11947 for ac_func in _getb67 GETB67 getb67; do |
11953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11954 echo "configure:11955: checking for $ac_func" >&5 | 11949 echo "configure:11950: checking for $ac_func" >&5 |
11955 | 11950 |
11956 cat > conftest.$ac_ext <<EOF | 11951 cat > conftest.$ac_ext <<EOF |
11957 #line 11958 "configure" | 11952 #line 11953 "configure" |
11958 #include "confdefs.h" | 11953 #include "confdefs.h" |
11959 /* System header to define __stub macros and hopefully few prototypes, | 11954 /* System header to define __stub macros and hopefully few prototypes, |
11960 which can conflict with char $ac_func(); below. */ | 11955 which can conflict with char $ac_func(); below. */ |
11961 #include <assert.h> | 11956 #include <assert.h> |
11962 /* Override any gcc2 internal prototype to avoid an error. */ | 11957 /* Override any gcc2 internal prototype to avoid an error. */ |
11975 $ac_func(); | 11970 $ac_func(); |
11976 #endif | 11971 #endif |
11977 | 11972 |
11978 ; return 0; } | 11973 ; return 0; } |
11979 EOF | 11974 EOF |
11980 if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11975 if { (eval echo configure:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11981 rm -rf conftest* | 11976 rm -rf conftest* |
11982 eval "ac_cv_func_$ac_func=yes" | 11977 eval "ac_cv_func_$ac_func=yes" |
11983 else | 11978 else |
11984 echo "configure: failed program was:" >&5 | 11979 echo "configure: failed program was:" >&5 |
11985 cat conftest.$ac_ext >&5 | 11980 cat conftest.$ac_ext >&5 |
12005 | 12000 |
12006 done | 12001 done |
12007 fi | 12002 fi |
12008 | 12003 |
12009 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12004 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12010 echo "configure:12011: checking stack direction for C alloca" >&5 | 12005 echo "configure:12006: checking stack direction for C alloca" >&5 |
12011 | 12006 |
12012 cat > conftest.$ac_ext <<EOF | 12007 cat > conftest.$ac_ext <<EOF |
12013 #line 12014 "configure" | 12008 #line 12009 "configure" |
12014 #include "confdefs.h" | 12009 #include "confdefs.h" |
12015 find_stack_direction () | 12010 find_stack_direction () |
12016 { | 12011 { |
12017 static char *addr = 0; | 12012 static char *addr = 0; |
12018 auto char dummy; | 12013 auto char dummy; |
12027 main () | 12022 main () |
12028 { | 12023 { |
12029 exit (find_stack_direction() < 0); | 12024 exit (find_stack_direction() < 0); |
12030 } | 12025 } |
12031 EOF | 12026 EOF |
12032 if { (eval echo configure:12033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12033 then | 12028 then |
12034 ac_cv_c_stack_direction=1 | 12029 ac_cv_c_stack_direction=1 |
12035 else | 12030 else |
12036 conftest_rc="$?" | 12031 conftest_rc="$?" |
12037 echo "configure: failed program was:" >&5 | 12032 echo "configure: failed program was:" >&5 |
12056 echo " xemacs will be linked with \"$ALLOCA\"" | 12051 echo " xemacs will be linked with \"$ALLOCA\"" |
12057 fi | 12052 fi |
12058 fi | 12053 fi |
12059 | 12054 |
12060 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12055 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12061 echo "configure:12062: checking for working strcoll" >&5 | 12056 echo "configure:12057: checking for working strcoll" >&5 |
12062 | 12057 |
12063 cat > conftest.$ac_ext <<EOF | 12058 cat > conftest.$ac_ext <<EOF |
12064 #line 12065 "configure" | 12059 #line 12060 "configure" |
12065 #include "confdefs.h" | 12060 #include "confdefs.h" |
12066 #include <string.h> | 12061 #include <string.h> |
12067 main () | 12062 main () |
12068 { | 12063 { |
12069 exit (strcoll ("abc", "def") >= 0 || | 12064 exit (strcoll ("abc", "def") >= 0 || |
12070 strcoll ("ABC", "DEF") >= 0 || | 12065 strcoll ("ABC", "DEF") >= 0 || |
12071 strcoll ("123", "456") >= 0); | 12066 strcoll ("123", "456") >= 0); |
12072 } | 12067 } |
12073 EOF | 12068 EOF |
12074 if { (eval echo configure:12075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12069 if { (eval echo configure:12070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12075 then | 12070 then |
12076 ac_cv_func_strcoll_works=yes | 12071 ac_cv_func_strcoll_works=yes |
12077 else | 12072 else |
12078 conftest_rc="$?" | 12073 conftest_rc="$?" |
12079 echo "configure: failed program was:" >&5 | 12074 echo "configure: failed program was:" >&5 |
12097 | 12092 |
12098 | 12093 |
12099 for ac_func in getpgrp | 12094 for ac_func in getpgrp |
12100 do | 12095 do |
12101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12102 echo "configure:12103: checking for $ac_func" >&5 | 12097 echo "configure:12098: checking for $ac_func" >&5 |
12103 | 12098 |
12104 cat > conftest.$ac_ext <<EOF | 12099 cat > conftest.$ac_ext <<EOF |
12105 #line 12106 "configure" | 12100 #line 12101 "configure" |
12106 #include "confdefs.h" | 12101 #include "confdefs.h" |
12107 /* System header to define __stub macros and hopefully few prototypes, | 12102 /* System header to define __stub macros and hopefully few prototypes, |
12108 which can conflict with char $ac_func(); below. */ | 12103 which can conflict with char $ac_func(); below. */ |
12109 #include <assert.h> | 12104 #include <assert.h> |
12110 /* Override any gcc2 internal prototype to avoid an error. */ | 12105 /* Override any gcc2 internal prototype to avoid an error. */ |
12123 $ac_func(); | 12118 $ac_func(); |
12124 #endif | 12119 #endif |
12125 | 12120 |
12126 ; return 0; } | 12121 ; return 0; } |
12127 EOF | 12122 EOF |
12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12129 rm -rf conftest* | 12124 rm -rf conftest* |
12130 eval "ac_cv_func_$ac_func=yes" | 12125 eval "ac_cv_func_$ac_func=yes" |
12131 else | 12126 else |
12132 echo "configure: failed program was:" >&5 | 12127 echo "configure: failed program was:" >&5 |
12133 cat conftest.$ac_ext >&5 | 12128 cat conftest.$ac_ext >&5 |
12151 echo "$ac_t""no" 1>&6 | 12146 echo "$ac_t""no" 1>&6 |
12152 fi | 12147 fi |
12153 done | 12148 done |
12154 | 12149 |
12155 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12150 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12156 echo "configure:12157: checking whether getpgrp takes no argument" >&5 | 12151 echo "configure:12152: checking whether getpgrp takes no argument" >&5 |
12157 | 12152 |
12158 cat > conftest.$ac_ext <<EOF | 12153 cat > conftest.$ac_ext <<EOF |
12159 #line 12160 "configure" | 12154 #line 12155 "configure" |
12160 #include "confdefs.h" | 12155 #include "confdefs.h" |
12161 | 12156 |
12162 /* | 12157 /* |
12163 * If this system has a BSD-style getpgrp(), | 12158 * If this system has a BSD-style getpgrp(), |
12164 * which takes a pid argument, exit unsuccessfully. | 12159 * which takes a pid argument, exit unsuccessfully. |
12209 exit(s>>8); | 12204 exit(s>>8); |
12210 } | 12205 } |
12211 } | 12206 } |
12212 | 12207 |
12213 EOF | 12208 EOF |
12214 if { (eval echo configure:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12215 then | 12210 then |
12216 ac_cv_func_getpgrp_void=yes | 12211 ac_cv_func_getpgrp_void=yes |
12217 else | 12212 else |
12218 conftest_rc="$?" | 12213 conftest_rc="$?" |
12219 echo "configure: failed program was:" >&5 | 12214 echo "configure: failed program was:" >&5 |
12236 | 12231 |
12237 fi | 12232 fi |
12238 | 12233 |
12239 | 12234 |
12240 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12241 echo "configure:12242: checking for working mmap" >&5 | 12236 echo "configure:12237: checking for working mmap" >&5 |
12242 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12237 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12243 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
12244 #line 12245 "configure" | 12239 #line 12240 "configure" |
12245 #include "confdefs.h" | 12240 #include "confdefs.h" |
12246 #include <stdio.h> | 12241 #include <stdio.h> |
12247 #include <unistd.h> | 12242 #include <unistd.h> |
12248 #include <fcntl.h> | 12243 #include <fcntl.h> |
12249 #include <sys/mman.h> | 12244 #include <sys/mman.h> |
12272 return 0; | 12267 return 0; |
12273 perror ("conftest: mmap failed"); | 12268 perror ("conftest: mmap failed"); |
12274 return 1; | 12269 return 1; |
12275 } | 12270 } |
12276 EOF | 12271 EOF |
12277 if { (eval echo configure:12278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12272 if { (eval echo configure:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12278 then | 12273 then |
12279 have_mmap=yes | 12274 have_mmap=yes |
12280 else | 12275 else |
12281 conftest_rc="$?" | 12276 conftest_rc="$?" |
12282 echo "configure: failed program was:" >&5 | 12277 echo "configure: failed program was:" >&5 |
12301 esac | 12296 esac |
12302 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12297 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12303 if test "$rel_alloc $have_mmap" = "default yes"; then | 12298 if test "$rel_alloc $have_mmap" = "default yes"; then |
12304 if test "$doug_lea_malloc" = "yes"; then | 12299 if test "$doug_lea_malloc" = "yes"; then |
12305 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12300 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12306 echo "configure:12307: checking for M_MMAP_THRESHOLD" >&5 | 12301 echo "configure:12302: checking for M_MMAP_THRESHOLD" >&5 |
12307 cat > conftest.$ac_ext <<EOF | 12302 cat > conftest.$ac_ext <<EOF |
12308 #line 12309 "configure" | 12303 #line 12304 "configure" |
12309 #include "confdefs.h" | 12304 #include "confdefs.h" |
12310 #include <malloc.h> | 12305 #include <malloc.h> |
12311 int main() { | 12306 int main() { |
12312 | 12307 |
12313 #ifndef M_MMAP_THRESHOLD | 12308 #ifndef M_MMAP_THRESHOLD |
12315 !@+$%^&*_)(_ - unlikely to compile... | 12310 !@+$%^&*_)(_ - unlikely to compile... |
12316 #endif | 12311 #endif |
12317 | 12312 |
12318 ; return 0; } | 12313 ; return 0; } |
12319 EOF | 12314 EOF |
12320 if { (eval echo configure:12321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12315 if { (eval echo configure:12316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12321 rm -rf conftest* | 12316 rm -rf conftest* |
12322 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12317 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12323 else | 12318 else |
12324 echo "configure: failed program was:" >&5 | 12319 echo "configure: failed program was:" >&5 |
12325 cat conftest.$ac_ext >&5 | 12320 cat conftest.$ac_ext >&5 |
12340 } | 12335 } |
12341 | 12336 |
12342 | 12337 |
12343 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12338 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12344 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12339 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12345 echo "configure:12346: checking for termios.h" >&5 | 12340 echo "configure:12341: checking for termios.h" >&5 |
12346 | 12341 |
12347 cat > conftest.$ac_ext <<EOF | 12342 cat > conftest.$ac_ext <<EOF |
12348 #line 12349 "configure" | 12343 #line 12344 "configure" |
12349 #include "confdefs.h" | 12344 #include "confdefs.h" |
12350 #include <termios.h> | 12345 #include <termios.h> |
12351 EOF | 12346 EOF |
12352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12353 { (eval echo configure:12354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12348 { (eval echo configure:12349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12355 if test -z "$ac_err"; then | 12350 if test -z "$ac_err"; then |
12356 rm -rf conftest* | 12351 rm -rf conftest* |
12357 eval "ac_cv_header_$ac_safe=yes" | 12352 eval "ac_cv_header_$ac_safe=yes" |
12358 else | 12353 else |
12391 | 12386 |
12392 else | 12387 else |
12393 echo "$ac_t""no" 1>&6 | 12388 echo "$ac_t""no" 1>&6 |
12394 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12389 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12395 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12390 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12396 echo "configure:12397: checking for termio.h" >&5 | 12391 echo "configure:12392: checking for termio.h" >&5 |
12397 | 12392 |
12398 cat > conftest.$ac_ext <<EOF | 12393 cat > conftest.$ac_ext <<EOF |
12399 #line 12400 "configure" | 12394 #line 12395 "configure" |
12400 #include "confdefs.h" | 12395 #include "confdefs.h" |
12401 #include <termio.h> | 12396 #include <termio.h> |
12402 EOF | 12397 EOF |
12403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12404 { (eval echo configure:12405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12399 { (eval echo configure:12400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12406 if test -z "$ac_err"; then | 12401 if test -z "$ac_err"; then |
12407 rm -rf conftest* | 12402 rm -rf conftest* |
12408 eval "ac_cv_header_$ac_safe=yes" | 12403 eval "ac_cv_header_$ac_safe=yes" |
12409 else | 12404 else |
12431 fi | 12426 fi |
12432 | 12427 |
12433 | 12428 |
12434 | 12429 |
12435 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12430 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12436 echo "configure:12437: checking for socket" >&5 | 12431 echo "configure:12432: checking for socket" >&5 |
12437 | 12432 |
12438 cat > conftest.$ac_ext <<EOF | 12433 cat > conftest.$ac_ext <<EOF |
12439 #line 12440 "configure" | 12434 #line 12435 "configure" |
12440 #include "confdefs.h" | 12435 #include "confdefs.h" |
12441 /* System header to define __stub macros and hopefully few prototypes, | 12436 /* System header to define __stub macros and hopefully few prototypes, |
12442 which can conflict with char socket(); below. */ | 12437 which can conflict with char socket(); below. */ |
12443 #include <assert.h> | 12438 #include <assert.h> |
12444 /* Override any gcc2 internal prototype to avoid an error. */ | 12439 /* Override any gcc2 internal prototype to avoid an error. */ |
12457 socket(); | 12452 socket(); |
12458 #endif | 12453 #endif |
12459 | 12454 |
12460 ; return 0; } | 12455 ; return 0; } |
12461 EOF | 12456 EOF |
12462 if { (eval echo configure:12463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12457 if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12463 rm -rf conftest* | 12458 rm -rf conftest* |
12464 eval "ac_cv_func_socket=yes" | 12459 eval "ac_cv_func_socket=yes" |
12465 else | 12460 else |
12466 echo "configure: failed program was:" >&5 | 12461 echo "configure: failed program was:" >&5 |
12467 cat conftest.$ac_ext >&5 | 12462 cat conftest.$ac_ext >&5 |
12472 | 12467 |
12473 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12468 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12474 echo "$ac_t""yes" 1>&6 | 12469 echo "$ac_t""yes" 1>&6 |
12475 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12470 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12476 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12471 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12477 echo "configure:12478: checking for netinet/in.h" >&5 | 12472 echo "configure:12473: checking for netinet/in.h" >&5 |
12478 | 12473 |
12479 cat > conftest.$ac_ext <<EOF | 12474 cat > conftest.$ac_ext <<EOF |
12480 #line 12481 "configure" | 12475 #line 12476 "configure" |
12481 #include "confdefs.h" | 12476 #include "confdefs.h" |
12482 #include <netinet/in.h> | 12477 #include <netinet/in.h> |
12483 EOF | 12478 EOF |
12484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12485 { (eval echo configure:12486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12480 { (eval echo configure:12481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12487 if test -z "$ac_err"; then | 12482 if test -z "$ac_err"; then |
12488 rm -rf conftest* | 12483 rm -rf conftest* |
12489 eval "ac_cv_header_$ac_safe=yes" | 12484 eval "ac_cv_header_$ac_safe=yes" |
12490 else | 12485 else |
12497 rm -f conftest* | 12492 rm -f conftest* |
12498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12499 echo "$ac_t""yes" 1>&6 | 12494 echo "$ac_t""yes" 1>&6 |
12500 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12495 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12501 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12496 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12502 echo "configure:12503: checking for arpa/inet.h" >&5 | 12497 echo "configure:12498: checking for arpa/inet.h" >&5 |
12503 | 12498 |
12504 cat > conftest.$ac_ext <<EOF | 12499 cat > conftest.$ac_ext <<EOF |
12505 #line 12506 "configure" | 12500 #line 12501 "configure" |
12506 #include "confdefs.h" | 12501 #include "confdefs.h" |
12507 #include <arpa/inet.h> | 12502 #include <arpa/inet.h> |
12508 EOF | 12503 EOF |
12509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12510 { (eval echo configure:12511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12505 { (eval echo configure:12506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12512 if test -z "$ac_err"; then | 12507 if test -z "$ac_err"; then |
12513 rm -rf conftest* | 12508 rm -rf conftest* |
12514 eval "ac_cv_header_$ac_safe=yes" | 12509 eval "ac_cv_header_$ac_safe=yes" |
12515 else | 12510 else |
12530 #define HAVE_SOCKETS 1 | 12525 #define HAVE_SOCKETS 1 |
12531 EOF | 12526 EOF |
12532 } | 12527 } |
12533 | 12528 |
12534 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12529 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12535 echo "configure:12536: checking "for sun_len member in struct sockaddr_un"" >&5 | 12530 echo "configure:12531: checking "for sun_len member in struct sockaddr_un"" >&5 |
12536 cat > conftest.$ac_ext <<EOF | 12531 cat > conftest.$ac_ext <<EOF |
12537 #line 12538 "configure" | 12532 #line 12533 "configure" |
12538 #include "confdefs.h" | 12533 #include "confdefs.h" |
12539 | 12534 |
12540 #include <sys/types.h> | 12535 #include <sys/types.h> |
12541 #include <sys/socket.h> | 12536 #include <sys/socket.h> |
12542 #include <sys/un.h> | 12537 #include <sys/un.h> |
12543 | 12538 |
12544 int main() { | 12539 int main() { |
12545 static struct sockaddr_un x; x.sun_len = 1; | 12540 static struct sockaddr_un x; x.sun_len = 1; |
12546 ; return 0; } | 12541 ; return 0; } |
12547 EOF | 12542 EOF |
12548 if { (eval echo configure:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12543 if { (eval echo configure:12544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12549 rm -rf conftest* | 12544 rm -rf conftest* |
12550 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12545 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12551 Defining HAVE_SOCKADDR_SUN_LEN | 12546 Defining HAVE_SOCKADDR_SUN_LEN |
12552 EOF | 12547 EOF |
12553 cat >> confdefs.h <<\EOF | 12548 cat >> confdefs.h <<\EOF |
12561 rm -rf conftest* | 12556 rm -rf conftest* |
12562 echo "$ac_t""no" 1>&6 | 12557 echo "$ac_t""no" 1>&6 |
12563 fi | 12558 fi |
12564 rm -f conftest* | 12559 rm -f conftest* |
12565 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12560 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12566 echo "configure:12567: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12561 echo "configure:12562: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12567 cat > conftest.$ac_ext <<EOF | 12562 cat > conftest.$ac_ext <<EOF |
12568 #line 12569 "configure" | 12563 #line 12564 "configure" |
12569 #include "confdefs.h" | 12564 #include "confdefs.h" |
12570 | 12565 |
12571 #include <sys/types.h> | 12566 #include <sys/types.h> |
12572 #include <netinet/in.h> | 12567 #include <netinet/in.h> |
12573 | 12568 |
12574 int main() { | 12569 int main() { |
12575 static struct ip_mreq x; | 12570 static struct ip_mreq x; |
12576 ; return 0; } | 12571 ; return 0; } |
12577 EOF | 12572 EOF |
12578 if { (eval echo configure:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12579 rm -rf conftest* | 12574 rm -rf conftest* |
12580 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12575 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12581 Defining HAVE_MULTICAST | 12576 Defining HAVE_MULTICAST |
12582 EOF | 12577 EOF |
12583 cat >> confdefs.h <<\EOF | 12578 cat >> confdefs.h <<\EOF |
12604 echo "$ac_t""no" 1>&6 | 12599 echo "$ac_t""no" 1>&6 |
12605 fi | 12600 fi |
12606 | 12601 |
12607 | 12602 |
12608 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12603 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12609 echo "configure:12610: checking for msgget" >&5 | 12604 echo "configure:12605: checking for msgget" >&5 |
12610 | 12605 |
12611 cat > conftest.$ac_ext <<EOF | 12606 cat > conftest.$ac_ext <<EOF |
12612 #line 12613 "configure" | 12607 #line 12608 "configure" |
12613 #include "confdefs.h" | 12608 #include "confdefs.h" |
12614 /* System header to define __stub macros and hopefully few prototypes, | 12609 /* System header to define __stub macros and hopefully few prototypes, |
12615 which can conflict with char msgget(); below. */ | 12610 which can conflict with char msgget(); below. */ |
12616 #include <assert.h> | 12611 #include <assert.h> |
12617 /* Override any gcc2 internal prototype to avoid an error. */ | 12612 /* Override any gcc2 internal prototype to avoid an error. */ |
12630 msgget(); | 12625 msgget(); |
12631 #endif | 12626 #endif |
12632 | 12627 |
12633 ; return 0; } | 12628 ; return 0; } |
12634 EOF | 12629 EOF |
12635 if { (eval echo configure:12636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12636 rm -rf conftest* | 12631 rm -rf conftest* |
12637 eval "ac_cv_func_msgget=yes" | 12632 eval "ac_cv_func_msgget=yes" |
12638 else | 12633 else |
12639 echo "configure: failed program was:" >&5 | 12634 echo "configure: failed program was:" >&5 |
12640 cat conftest.$ac_ext >&5 | 12635 cat conftest.$ac_ext >&5 |
12645 | 12640 |
12646 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12641 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12647 echo "$ac_t""yes" 1>&6 | 12642 echo "$ac_t""yes" 1>&6 |
12648 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12643 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12649 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12644 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12650 echo "configure:12651: checking for sys/ipc.h" >&5 | 12645 echo "configure:12646: checking for sys/ipc.h" >&5 |
12651 | 12646 |
12652 cat > conftest.$ac_ext <<EOF | 12647 cat > conftest.$ac_ext <<EOF |
12653 #line 12654 "configure" | 12648 #line 12649 "configure" |
12654 #include "confdefs.h" | 12649 #include "confdefs.h" |
12655 #include <sys/ipc.h> | 12650 #include <sys/ipc.h> |
12656 EOF | 12651 EOF |
12657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12658 { (eval echo configure:12659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12653 { (eval echo configure:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12660 if test -z "$ac_err"; then | 12655 if test -z "$ac_err"; then |
12661 rm -rf conftest* | 12656 rm -rf conftest* |
12662 eval "ac_cv_header_$ac_safe=yes" | 12657 eval "ac_cv_header_$ac_safe=yes" |
12663 else | 12658 else |
12670 rm -f conftest* | 12665 rm -f conftest* |
12671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12666 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12672 echo "$ac_t""yes" 1>&6 | 12667 echo "$ac_t""yes" 1>&6 |
12673 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12668 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12674 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12669 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12675 echo "configure:12676: checking for sys/msg.h" >&5 | 12670 echo "configure:12671: checking for sys/msg.h" >&5 |
12676 | 12671 |
12677 cat > conftest.$ac_ext <<EOF | 12672 cat > conftest.$ac_ext <<EOF |
12678 #line 12679 "configure" | 12673 #line 12674 "configure" |
12679 #include "confdefs.h" | 12674 #include "confdefs.h" |
12680 #include <sys/msg.h> | 12675 #include <sys/msg.h> |
12681 EOF | 12676 EOF |
12682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12683 { (eval echo configure:12684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12678 { (eval echo configure:12679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12685 if test -z "$ac_err"; then | 12680 if test -z "$ac_err"; then |
12686 rm -rf conftest* | 12681 rm -rf conftest* |
12687 eval "ac_cv_header_$ac_safe=yes" | 12682 eval "ac_cv_header_$ac_safe=yes" |
12688 else | 12683 else |
12716 fi | 12711 fi |
12717 | 12712 |
12718 | 12713 |
12719 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12714 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12720 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12715 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12721 echo "configure:12722: checking for dirent.h" >&5 | 12716 echo "configure:12717: checking for dirent.h" >&5 |
12722 | 12717 |
12723 cat > conftest.$ac_ext <<EOF | 12718 cat > conftest.$ac_ext <<EOF |
12724 #line 12725 "configure" | 12719 #line 12720 "configure" |
12725 #include "confdefs.h" | 12720 #include "confdefs.h" |
12726 #include <dirent.h> | 12721 #include <dirent.h> |
12727 EOF | 12722 EOF |
12728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12729 { (eval echo configure:12730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12724 { (eval echo configure:12725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12731 if test -z "$ac_err"; then | 12726 if test -z "$ac_err"; then |
12732 rm -rf conftest* | 12727 rm -rf conftest* |
12733 eval "ac_cv_header_$ac_safe=yes" | 12728 eval "ac_cv_header_$ac_safe=yes" |
12734 else | 12729 else |
12751 | 12746 |
12752 else | 12747 else |
12753 echo "$ac_t""no" 1>&6 | 12748 echo "$ac_t""no" 1>&6 |
12754 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12749 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12755 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12750 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12756 echo "configure:12757: checking for sys/dir.h" >&5 | 12751 echo "configure:12752: checking for sys/dir.h" >&5 |
12757 | 12752 |
12758 cat > conftest.$ac_ext <<EOF | 12753 cat > conftest.$ac_ext <<EOF |
12759 #line 12760 "configure" | 12754 #line 12755 "configure" |
12760 #include "confdefs.h" | 12755 #include "confdefs.h" |
12761 #include <sys/dir.h> | 12756 #include <sys/dir.h> |
12762 EOF | 12757 EOF |
12763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12764 { (eval echo configure:12765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12759 { (eval echo configure:12760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12766 if test -z "$ac_err"; then | 12761 if test -z "$ac_err"; then |
12767 rm -rf conftest* | 12762 rm -rf conftest* |
12768 eval "ac_cv_header_$ac_safe=yes" | 12763 eval "ac_cv_header_$ac_safe=yes" |
12769 else | 12764 else |
12792 fi | 12787 fi |
12793 | 12788 |
12794 | 12789 |
12795 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12790 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12796 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12791 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12797 echo "configure:12798: checking for nlist.h" >&5 | 12792 echo "configure:12793: checking for nlist.h" >&5 |
12798 | 12793 |
12799 cat > conftest.$ac_ext <<EOF | 12794 cat > conftest.$ac_ext <<EOF |
12800 #line 12801 "configure" | 12795 #line 12796 "configure" |
12801 #include "confdefs.h" | 12796 #include "confdefs.h" |
12802 #include <nlist.h> | 12797 #include <nlist.h> |
12803 EOF | 12798 EOF |
12804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12805 { (eval echo configure:12806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12807 if test -z "$ac_err"; then | 12802 if test -z "$ac_err"; then |
12808 rm -rf conftest* | 12803 rm -rf conftest* |
12809 eval "ac_cv_header_$ac_safe=yes" | 12804 eval "ac_cv_header_$ac_safe=yes" |
12810 else | 12805 else |
12830 fi | 12825 fi |
12831 | 12826 |
12832 | 12827 |
12833 | 12828 |
12834 echo "checking "for sound support"" 1>&6 | 12829 echo "checking "for sound support"" 1>&6 |
12835 echo "configure:12836: checking "for sound support"" >&5 | 12830 echo "configure:12831: checking "for sound support"" >&5 |
12836 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12831 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12837 | 12832 |
12838 if test "$with_native_sound" != "no"; then | 12833 if test "$with_native_sound" != "no"; then |
12839 if test -n "$native_sound_lib"; then | 12834 if test -n "$native_sound_lib"; then |
12840 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12835 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12841 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12836 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12842 echo "configure:12843: checking for multimedia/audio_device.h" >&5 | 12837 echo "configure:12838: checking for multimedia/audio_device.h" >&5 |
12843 | 12838 |
12844 cat > conftest.$ac_ext <<EOF | 12839 cat > conftest.$ac_ext <<EOF |
12845 #line 12846 "configure" | 12840 #line 12841 "configure" |
12846 #include "confdefs.h" | 12841 #include "confdefs.h" |
12847 #include <multimedia/audio_device.h> | 12842 #include <multimedia/audio_device.h> |
12848 EOF | 12843 EOF |
12849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12850 { (eval echo configure:12851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12852 if test -z "$ac_err"; then | 12847 if test -z "$ac_err"; then |
12853 rm -rf conftest* | 12848 rm -rf conftest* |
12854 eval "ac_cv_header_$ac_safe=yes" | 12849 eval "ac_cv_header_$ac_safe=yes" |
12855 else | 12850 else |
12893 case "$canonical" in | 12888 case "$canonical" in |
12894 *-sgi-* ) | 12889 *-sgi-* ) |
12895 if test -z "$native_sound_lib"; then | 12890 if test -z "$native_sound_lib"; then |
12896 | 12891 |
12897 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12892 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12898 echo "configure:12899: checking for ALopenport in -laudio" >&5 | 12893 echo "configure:12894: checking for ALopenport in -laudio" >&5 |
12899 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12894 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12900 | 12895 |
12901 xe_check_libs=" -laudio " | 12896 xe_check_libs=" -laudio " |
12902 cat > conftest.$ac_ext <<EOF | 12897 cat > conftest.$ac_ext <<EOF |
12903 #line 12904 "configure" | 12898 #line 12899 "configure" |
12904 #include "confdefs.h" | 12899 #include "confdefs.h" |
12905 /* Override any gcc2 internal prototype to avoid an error. */ | 12900 /* Override any gcc2 internal prototype to avoid an error. */ |
12906 /* We use char because int might match the return type of a gcc2 | 12901 /* We use char because int might match the return type of a gcc2 |
12907 builtin and then its argument prototype would still apply. */ | 12902 builtin and then its argument prototype would still apply. */ |
12908 char ALopenport(); | 12903 char ALopenport(); |
12909 | 12904 |
12910 int main() { | 12905 int main() { |
12911 ALopenport() | 12906 ALopenport() |
12912 ; return 0; } | 12907 ; return 0; } |
12913 EOF | 12908 EOF |
12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12915 rm -rf conftest* | 12910 rm -rf conftest* |
12916 eval "ac_cv_lib_$ac_lib_var=yes" | 12911 eval "ac_cv_lib_$ac_lib_var=yes" |
12917 else | 12912 else |
12918 echo "configure: failed program was:" >&5 | 12913 echo "configure: failed program was:" >&5 |
12919 cat conftest.$ac_ext >&5 | 12914 cat conftest.$ac_ext >&5 |
12940 fi ;; | 12935 fi ;; |
12941 hppa*-hp-hpux* ) | 12936 hppa*-hp-hpux* ) |
12942 if test -z "$native_sound_lib"; then | 12937 if test -z "$native_sound_lib"; then |
12943 | 12938 |
12944 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12939 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12945 echo "configure:12946: checking for AOpenAudio in -lAlib" >&5 | 12940 echo "configure:12941: checking for AOpenAudio in -lAlib" >&5 |
12946 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12941 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12947 | 12942 |
12948 xe_check_libs=" -lAlib " | 12943 xe_check_libs=" -lAlib " |
12949 cat > conftest.$ac_ext <<EOF | 12944 cat > conftest.$ac_ext <<EOF |
12950 #line 12951 "configure" | 12945 #line 12946 "configure" |
12951 #include "confdefs.h" | 12946 #include "confdefs.h" |
12952 /* Override any gcc2 internal prototype to avoid an error. */ | 12947 /* Override any gcc2 internal prototype to avoid an error. */ |
12953 /* We use char because int might match the return type of a gcc2 | 12948 /* We use char because int might match the return type of a gcc2 |
12954 builtin and then its argument prototype would still apply. */ | 12949 builtin and then its argument prototype would still apply. */ |
12955 char AOpenAudio(); | 12950 char AOpenAudio(); |
12956 | 12951 |
12957 int main() { | 12952 int main() { |
12958 AOpenAudio() | 12953 AOpenAudio() |
12959 ; return 0; } | 12954 ; return 0; } |
12960 EOF | 12955 EOF |
12961 if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12962 rm -rf conftest* | 12957 rm -rf conftest* |
12963 eval "ac_cv_lib_$ac_lib_var=yes" | 12958 eval "ac_cv_lib_$ac_lib_var=yes" |
12964 else | 12959 else |
12965 echo "configure: failed program was:" >&5 | 12960 echo "configure: failed program was:" >&5 |
12966 cat conftest.$ac_ext >&5 | 12961 cat conftest.$ac_ext >&5 |
13004 | 12999 |
13005 if test -z "$sound_found"; then | 13000 if test -z "$sound_found"; then |
13006 for dir in "machine" "sys" "linux"; do | 13001 for dir in "machine" "sys" "linux"; do |
13007 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13002 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13008 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13003 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13009 echo "configure:13010: checking for ${dir}/soundcard.h" >&5 | 13004 echo "configure:13005: checking for ${dir}/soundcard.h" >&5 |
13010 | 13005 |
13011 cat > conftest.$ac_ext <<EOF | 13006 cat > conftest.$ac_ext <<EOF |
13012 #line 13013 "configure" | 13007 #line 13008 "configure" |
13013 #include "confdefs.h" | 13008 #include "confdefs.h" |
13014 #include <${dir}/soundcard.h> | 13009 #include <${dir}/soundcard.h> |
13015 EOF | 13010 EOF |
13016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13017 { (eval echo configure:13018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13012 { (eval echo configure:13013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13019 if test -z "$ac_err"; then | 13014 if test -z "$ac_err"; then |
13020 rm -rf conftest* | 13015 rm -rf conftest* |
13021 eval "ac_cv_header_$ac_safe=yes" | 13016 eval "ac_cv_header_$ac_safe=yes" |
13022 else | 13017 else |
13066 fi | 13061 fi |
13067 | 13062 |
13068 if test "$with_nas_sound" != "no"; then | 13063 if test "$with_nas_sound" != "no"; then |
13069 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13064 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13070 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13065 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13071 echo "configure:13072: checking for audio/audiolib.h" >&5 | 13066 echo "configure:13067: checking for audio/audiolib.h" >&5 |
13072 | 13067 |
13073 cat > conftest.$ac_ext <<EOF | 13068 cat > conftest.$ac_ext <<EOF |
13074 #line 13075 "configure" | 13069 #line 13070 "configure" |
13075 #include "confdefs.h" | 13070 #include "confdefs.h" |
13076 #include <audio/audiolib.h> | 13071 #include <audio/audiolib.h> |
13077 EOF | 13072 EOF |
13078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13079 { (eval echo configure:13080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13074 { (eval echo configure:13075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13081 if test -z "$ac_err"; then | 13076 if test -z "$ac_err"; then |
13082 rm -rf conftest* | 13077 rm -rf conftest* |
13083 eval "ac_cv_header_$ac_safe=yes" | 13078 eval "ac_cv_header_$ac_safe=yes" |
13084 else | 13079 else |
13092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13093 echo "$ac_t""yes" 1>&6 | 13088 echo "$ac_t""yes" 1>&6 |
13094 | 13089 |
13095 | 13090 |
13096 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13091 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13097 echo "configure:13098: checking for AuOpenServer in -laudio" >&5 | 13092 echo "configure:13093: checking for AuOpenServer in -laudio" >&5 |
13098 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13093 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13099 | 13094 |
13100 xe_check_libs=" -laudio " | 13095 xe_check_libs=" -laudio " |
13101 cat > conftest.$ac_ext <<EOF | 13096 cat > conftest.$ac_ext <<EOF |
13102 #line 13103 "configure" | 13097 #line 13098 "configure" |
13103 #include "confdefs.h" | 13098 #include "confdefs.h" |
13104 /* Override any gcc2 internal prototype to avoid an error. */ | 13099 /* Override any gcc2 internal prototype to avoid an error. */ |
13105 /* We use char because int might match the return type of a gcc2 | 13100 /* We use char because int might match the return type of a gcc2 |
13106 builtin and then its argument prototype would still apply. */ | 13101 builtin and then its argument prototype would still apply. */ |
13107 char AuOpenServer(); | 13102 char AuOpenServer(); |
13108 | 13103 |
13109 int main() { | 13104 int main() { |
13110 AuOpenServer() | 13105 AuOpenServer() |
13111 ; return 0; } | 13106 ; return 0; } |
13112 EOF | 13107 EOF |
13113 if { (eval echo configure:13114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13114 rm -rf conftest* | 13109 rm -rf conftest* |
13115 eval "ac_cv_lib_$ac_lib_var=yes" | 13110 eval "ac_cv_lib_$ac_lib_var=yes" |
13116 else | 13111 else |
13117 echo "configure: failed program was:" >&5 | 13112 echo "configure: failed program was:" >&5 |
13118 cat conftest.$ac_ext >&5 | 13113 cat conftest.$ac_ext >&5 |
13147 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13142 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13148 echo " xemacs will be linked with \"nas.o\"" | 13143 echo " xemacs will be linked with \"nas.o\"" |
13149 fi | 13144 fi |
13150 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13145 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13151 cat > conftest.$ac_ext <<EOF | 13146 cat > conftest.$ac_ext <<EOF |
13152 #line 13153 "configure" | 13147 #line 13148 "configure" |
13153 #include "confdefs.h" | 13148 #include "confdefs.h" |
13154 #include <audio/Xtutil.h> | 13149 #include <audio/Xtutil.h> |
13155 EOF | 13150 EOF |
13156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13157 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13152 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13178 | 13173 |
13179 if test "$with_esd_sound" != "no"; then | 13174 if test "$with_esd_sound" != "no"; then |
13180 # Extract the first word of "esd-config", so it can be a program name with args. | 13175 # Extract the first word of "esd-config", so it can be a program name with args. |
13181 set dummy esd-config; ac_word=$2 | 13176 set dummy esd-config; ac_word=$2 |
13182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13183 echo "configure:13184: checking for $ac_word" >&5 | 13178 echo "configure:13179: checking for $ac_word" >&5 |
13184 | 13179 |
13185 if test -n "$have_esd_config"; then | 13180 if test -n "$have_esd_config"; then |
13186 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13181 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13187 else | 13182 else |
13188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13207 if test "$have_esd_config" = "yes"; then | 13202 if test "$have_esd_config" = "yes"; then |
13208 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13203 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13209 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13204 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
13210 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13205 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13211 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13206 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13212 echo "configure:13213: checking for esd_play_stream" >&5 | 13207 echo "configure:13208: checking for esd_play_stream" >&5 |
13213 | 13208 |
13214 cat > conftest.$ac_ext <<EOF | 13209 cat > conftest.$ac_ext <<EOF |
13215 #line 13216 "configure" | 13210 #line 13211 "configure" |
13216 #include "confdefs.h" | 13211 #include "confdefs.h" |
13217 /* System header to define __stub macros and hopefully few prototypes, | 13212 /* System header to define __stub macros and hopefully few prototypes, |
13218 which can conflict with char esd_play_stream(); below. */ | 13213 which can conflict with char esd_play_stream(); below. */ |
13219 #include <assert.h> | 13214 #include <assert.h> |
13220 /* Override any gcc2 internal prototype to avoid an error. */ | 13215 /* Override any gcc2 internal prototype to avoid an error. */ |
13233 esd_play_stream(); | 13228 esd_play_stream(); |
13234 #endif | 13229 #endif |
13235 | 13230 |
13236 ; return 0; } | 13231 ; return 0; } |
13237 EOF | 13232 EOF |
13238 if { (eval echo configure:13239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13233 if { (eval echo configure:13234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13239 rm -rf conftest* | 13234 rm -rf conftest* |
13240 eval "ac_cv_func_esd_play_stream=yes" | 13235 eval "ac_cv_func_esd_play_stream=yes" |
13241 else | 13236 else |
13242 echo "configure: failed program was:" >&5 | 13237 echo "configure: failed program was:" >&5 |
13243 cat conftest.$ac_ext >&5 | 13238 cat conftest.$ac_ext >&5 |
13284 | 13279 |
13285 test -z "$with_tty" && with_tty=yes | 13280 test -z "$with_tty" && with_tty=yes |
13286 | 13281 |
13287 if test "$with_tty" = "yes" ; then | 13282 if test "$with_tty" = "yes" ; then |
13288 echo "checking for TTY-related features" 1>&6 | 13283 echo "checking for TTY-related features" 1>&6 |
13289 echo "configure:13290: checking for TTY-related features" >&5 | 13284 echo "configure:13285: checking for TTY-related features" >&5 |
13290 { test "$extra_verbose" = "yes" && cat << \EOF | 13285 { test "$extra_verbose" = "yes" && cat << \EOF |
13291 Defining HAVE_TTY | 13286 Defining HAVE_TTY |
13292 EOF | 13287 EOF |
13293 cat >> confdefs.h <<\EOF | 13288 cat >> confdefs.h <<\EOF |
13294 #define HAVE_TTY 1 | 13289 #define HAVE_TTY 1 |
13297 | 13292 |
13298 | 13293 |
13299 if test -z "$with_ncurses"; then | 13294 if test -z "$with_ncurses"; then |
13300 | 13295 |
13301 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13296 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13302 echo "configure:13303: checking for tgetent in -lncurses" >&5 | 13297 echo "configure:13298: checking for tgetent in -lncurses" >&5 |
13303 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13298 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13304 | 13299 |
13305 xe_check_libs=" -lncurses " | 13300 xe_check_libs=" -lncurses " |
13306 cat > conftest.$ac_ext <<EOF | 13301 cat > conftest.$ac_ext <<EOF |
13307 #line 13308 "configure" | 13302 #line 13303 "configure" |
13308 #include "confdefs.h" | 13303 #include "confdefs.h" |
13309 /* Override any gcc2 internal prototype to avoid an error. */ | 13304 /* Override any gcc2 internal prototype to avoid an error. */ |
13310 /* We use char because int might match the return type of a gcc2 | 13305 /* We use char because int might match the return type of a gcc2 |
13311 builtin and then its argument prototype would still apply. */ | 13306 builtin and then its argument prototype would still apply. */ |
13312 char tgetent(); | 13307 char tgetent(); |
13313 | 13308 |
13314 int main() { | 13309 int main() { |
13315 tgetent() | 13310 tgetent() |
13316 ; return 0; } | 13311 ; return 0; } |
13317 EOF | 13312 EOF |
13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13319 rm -rf conftest* | 13314 rm -rf conftest* |
13320 eval "ac_cv_lib_$ac_lib_var=yes" | 13315 eval "ac_cv_lib_$ac_lib_var=yes" |
13321 else | 13316 else |
13322 echo "configure: failed program was:" >&5 | 13317 echo "configure: failed program was:" >&5 |
13323 cat conftest.$ac_ext >&5 | 13318 cat conftest.$ac_ext >&5 |
13346 EOF | 13341 EOF |
13347 } | 13342 } |
13348 | 13343 |
13349 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13344 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13350 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13345 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13351 echo "configure:13352: checking for ncurses/curses.h" >&5 | 13346 echo "configure:13347: checking for ncurses/curses.h" >&5 |
13352 | 13347 |
13353 cat > conftest.$ac_ext <<EOF | 13348 cat > conftest.$ac_ext <<EOF |
13354 #line 13355 "configure" | 13349 #line 13350 "configure" |
13355 #include "confdefs.h" | 13350 #include "confdefs.h" |
13356 #include <ncurses/curses.h> | 13351 #include <ncurses/curses.h> |
13357 EOF | 13352 EOF |
13358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13359 { (eval echo configure:13360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13354 { (eval echo configure:13355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13361 if test -z "$ac_err"; then | 13356 if test -z "$ac_err"; then |
13362 rm -rf conftest* | 13357 rm -rf conftest* |
13363 eval "ac_cv_header_$ac_safe=yes" | 13358 eval "ac_cv_header_$ac_safe=yes" |
13364 else | 13359 else |
13376 echo "$ac_t""no" 1>&6 | 13371 echo "$ac_t""no" 1>&6 |
13377 fi | 13372 fi |
13378 | 13373 |
13379 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13374 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13380 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13375 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13381 echo "configure:13382: checking for ncurses/term.h" >&5 | 13376 echo "configure:13377: checking for ncurses/term.h" >&5 |
13382 | 13377 |
13383 cat > conftest.$ac_ext <<EOF | 13378 cat > conftest.$ac_ext <<EOF |
13384 #line 13385 "configure" | 13379 #line 13380 "configure" |
13385 #include "confdefs.h" | 13380 #include "confdefs.h" |
13386 #include <ncurses/term.h> | 13381 #include <ncurses/term.h> |
13387 EOF | 13382 EOF |
13388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13389 { (eval echo configure:13390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13384 { (eval echo configure:13385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13391 if test -z "$ac_err"; then | 13386 if test -z "$ac_err"; then |
13392 rm -rf conftest* | 13387 rm -rf conftest* |
13393 eval "ac_cv_header_$ac_safe=yes" | 13388 eval "ac_cv_header_$ac_safe=yes" |
13394 else | 13389 else |
13414 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13409 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13415 save_c_switch_site="$c_switch_site" | 13410 save_c_switch_site="$c_switch_site" |
13416 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13411 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13417 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13412 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13418 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13413 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13419 echo "configure:13420: checking for ncurses/curses.h" >&5 | 13414 echo "configure:13415: checking for ncurses/curses.h" >&5 |
13420 | 13415 |
13421 cat > conftest.$ac_ext <<EOF | 13416 cat > conftest.$ac_ext <<EOF |
13422 #line 13423 "configure" | 13417 #line 13418 "configure" |
13423 #include "confdefs.h" | 13418 #include "confdefs.h" |
13424 #include <ncurses/curses.h> | 13419 #include <ncurses/curses.h> |
13425 EOF | 13420 EOF |
13426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13427 { (eval echo configure:13428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13422 { (eval echo configure:13423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13429 if test -z "$ac_err"; then | 13424 if test -z "$ac_err"; then |
13430 rm -rf conftest* | 13425 rm -rf conftest* |
13431 eval "ac_cv_header_$ac_safe=yes" | 13426 eval "ac_cv_header_$ac_safe=yes" |
13432 else | 13427 else |
13457 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13452 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13458 else | 13453 else |
13459 for lib in curses termlib termcap; do | 13454 for lib in curses termlib termcap; do |
13460 | 13455 |
13461 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13456 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13462 echo "configure:13463: checking for tgetent in -l$lib" >&5 | 13457 echo "configure:13458: checking for tgetent in -l$lib" >&5 |
13463 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13458 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13464 | 13459 |
13465 xe_check_libs=" -l$lib " | 13460 xe_check_libs=" -l$lib " |
13466 cat > conftest.$ac_ext <<EOF | 13461 cat > conftest.$ac_ext <<EOF |
13467 #line 13468 "configure" | 13462 #line 13463 "configure" |
13468 #include "confdefs.h" | 13463 #include "confdefs.h" |
13469 /* Override any gcc2 internal prototype to avoid an error. */ | 13464 /* Override any gcc2 internal prototype to avoid an error. */ |
13470 /* We use char because int might match the return type of a gcc2 | 13465 /* We use char because int might match the return type of a gcc2 |
13471 builtin and then its argument prototype would still apply. */ | 13466 builtin and then its argument prototype would still apply. */ |
13472 char tgetent(); | 13467 char tgetent(); |
13473 | 13468 |
13474 int main() { | 13469 int main() { |
13475 tgetent() | 13470 tgetent() |
13476 ; return 0; } | 13471 ; return 0; } |
13477 EOF | 13472 EOF |
13478 if { (eval echo configure:13479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13479 rm -rf conftest* | 13474 rm -rf conftest* |
13480 eval "ac_cv_lib_$ac_lib_var=yes" | 13475 eval "ac_cv_lib_$ac_lib_var=yes" |
13481 else | 13476 else |
13482 echo "configure: failed program was:" >&5 | 13477 echo "configure: failed program was:" >&5 |
13483 cat conftest.$ac_ext >&5 | 13478 cat conftest.$ac_ext >&5 |
13504 if test -n "$libs_termcap"; then | 13499 if test -n "$libs_termcap"; then |
13505 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13500 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13506 else | 13501 else |
13507 | 13502 |
13508 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13503 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13509 echo "configure:13510: checking for tgetent in -lcurses" >&5 | 13504 echo "configure:13505: checking for tgetent in -lcurses" >&5 |
13510 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13505 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13511 | 13506 |
13512 xe_check_libs=" -lcurses " | 13507 xe_check_libs=" -lcurses " |
13513 cat > conftest.$ac_ext <<EOF | 13508 cat > conftest.$ac_ext <<EOF |
13514 #line 13515 "configure" | 13509 #line 13510 "configure" |
13515 #include "confdefs.h" | 13510 #include "confdefs.h" |
13516 /* Override any gcc2 internal prototype to avoid an error. */ | 13511 /* Override any gcc2 internal prototype to avoid an error. */ |
13517 /* We use char because int might match the return type of a gcc2 | 13512 /* We use char because int might match the return type of a gcc2 |
13518 builtin and then its argument prototype would still apply. */ | 13513 builtin and then its argument prototype would still apply. */ |
13519 char tgetent(); | 13514 char tgetent(); |
13520 | 13515 |
13521 int main() { | 13516 int main() { |
13522 tgetent() | 13517 tgetent() |
13523 ; return 0; } | 13518 ; return 0; } |
13524 EOF | 13519 EOF |
13525 if { (eval echo configure:13526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13526 rm -rf conftest* | 13521 rm -rf conftest* |
13527 eval "ac_cv_lib_$ac_lib_var=yes" | 13522 eval "ac_cv_lib_$ac_lib_var=yes" |
13528 else | 13523 else |
13529 echo "configure: failed program was:" >&5 | 13524 echo "configure: failed program was:" >&5 |
13530 cat conftest.$ac_ext >&5 | 13525 cat conftest.$ac_ext >&5 |
13538 echo "$ac_t""yes" 1>&6 | 13533 echo "$ac_t""yes" 1>&6 |
13539 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13534 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13540 else | 13535 else |
13541 echo "$ac_t""no" 1>&6 | 13536 echo "$ac_t""no" 1>&6 |
13542 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13537 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13543 echo "configure:13544: checking for tgetent in -ltermcap" >&5 | 13538 echo "configure:13539: checking for tgetent in -ltermcap" >&5 |
13544 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13539 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13545 | 13540 |
13546 xe_check_libs=" -ltermcap " | 13541 xe_check_libs=" -ltermcap " |
13547 cat > conftest.$ac_ext <<EOF | 13542 cat > conftest.$ac_ext <<EOF |
13548 #line 13549 "configure" | 13543 #line 13544 "configure" |
13549 #include "confdefs.h" | 13544 #include "confdefs.h" |
13550 /* Override any gcc2 internal prototype to avoid an error. */ | 13545 /* Override any gcc2 internal prototype to avoid an error. */ |
13551 /* We use char because int might match the return type of a gcc2 | 13546 /* We use char because int might match the return type of a gcc2 |
13552 builtin and then its argument prototype would still apply. */ | 13547 builtin and then its argument prototype would still apply. */ |
13553 char tgetent(); | 13548 char tgetent(); |
13554 | 13549 |
13555 int main() { | 13550 int main() { |
13556 tgetent() | 13551 tgetent() |
13557 ; return 0; } | 13552 ; return 0; } |
13558 EOF | 13553 EOF |
13559 if { (eval echo configure:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13560 rm -rf conftest* | 13555 rm -rf conftest* |
13561 eval "ac_cv_lib_$ac_lib_var=yes" | 13556 eval "ac_cv_lib_$ac_lib_var=yes" |
13562 else | 13557 else |
13563 echo "configure: failed program was:" >&5 | 13558 echo "configure: failed program was:" >&5 |
13564 cat conftest.$ac_ext >&5 | 13559 cat conftest.$ac_ext >&5 |
13602 } | 13597 } |
13603 | 13598 |
13604 | 13599 |
13605 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13600 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13606 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13601 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13607 echo "configure:13608: checking for gpm.h" >&5 | 13602 echo "configure:13603: checking for gpm.h" >&5 |
13608 | 13603 |
13609 cat > conftest.$ac_ext <<EOF | 13604 cat > conftest.$ac_ext <<EOF |
13610 #line 13611 "configure" | 13605 #line 13606 "configure" |
13611 #include "confdefs.h" | 13606 #include "confdefs.h" |
13612 #include <gpm.h> | 13607 #include <gpm.h> |
13613 EOF | 13608 EOF |
13614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13615 { (eval echo configure:13616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13610 { (eval echo configure:13611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13617 if test -z "$ac_err"; then | 13612 if test -z "$ac_err"; then |
13618 rm -rf conftest* | 13613 rm -rf conftest* |
13619 eval "ac_cv_header_$ac_safe=yes" | 13614 eval "ac_cv_header_$ac_safe=yes" |
13620 else | 13615 else |
13633 with_gpm=no | 13628 with_gpm=no |
13634 fi | 13629 fi |
13635 } | 13630 } |
13636 test -z "$with_gpm" && { | 13631 test -z "$with_gpm" && { |
13637 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13632 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13638 echo "configure:13639: checking for Gpm_Open in -lgpm" >&5 | 13633 echo "configure:13634: checking for Gpm_Open in -lgpm" >&5 |
13639 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13634 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13640 | 13635 |
13641 xe_check_libs=" -lgpm " | 13636 xe_check_libs=" -lgpm " |
13642 cat > conftest.$ac_ext <<EOF | 13637 cat > conftest.$ac_ext <<EOF |
13643 #line 13644 "configure" | 13638 #line 13639 "configure" |
13644 #include "confdefs.h" | 13639 #include "confdefs.h" |
13645 /* Override any gcc2 internal prototype to avoid an error. */ | 13640 /* Override any gcc2 internal prototype to avoid an error. */ |
13646 /* We use char because int might match the return type of a gcc2 | 13641 /* We use char because int might match the return type of a gcc2 |
13647 builtin and then its argument prototype would still apply. */ | 13642 builtin and then its argument prototype would still apply. */ |
13648 char Gpm_Open(); | 13643 char Gpm_Open(); |
13649 | 13644 |
13650 int main() { | 13645 int main() { |
13651 Gpm_Open() | 13646 Gpm_Open() |
13652 ; return 0; } | 13647 ; return 0; } |
13653 EOF | 13648 EOF |
13654 if { (eval echo configure:13655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13655 rm -rf conftest* | 13650 rm -rf conftest* |
13656 eval "ac_cv_lib_$ac_lib_var=yes" | 13651 eval "ac_cv_lib_$ac_lib_var=yes" |
13657 else | 13652 else |
13658 echo "configure: failed program was:" >&5 | 13653 echo "configure: failed program was:" >&5 |
13659 cat conftest.$ac_ext >&5 | 13654 cat conftest.$ac_ext >&5 |
13692 done | 13687 done |
13693 fi | 13688 fi |
13694 | 13689 |
13695 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13690 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13696 != "no no no" && echo "checking for database support" 1>&6 | 13691 != "no no no" && echo "checking for database support" 1>&6 |
13697 echo "configure:13698: checking for database support" >&5 | 13692 echo "configure:13693: checking for database support" >&5 |
13698 | 13693 |
13699 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13694 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13700 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13695 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13701 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13696 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13702 echo "configure:13703: checking for ndbm.h" >&5 | 13697 echo "configure:13698: checking for ndbm.h" >&5 |
13703 | 13698 |
13704 cat > conftest.$ac_ext <<EOF | 13699 cat > conftest.$ac_ext <<EOF |
13705 #line 13706 "configure" | 13700 #line 13701 "configure" |
13706 #include "confdefs.h" | 13701 #include "confdefs.h" |
13707 #include <ndbm.h> | 13702 #include <ndbm.h> |
13708 EOF | 13703 EOF |
13709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13710 { (eval echo configure:13711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13712 if test -z "$ac_err"; then | 13707 if test -z "$ac_err"; then |
13713 rm -rf conftest* | 13708 rm -rf conftest* |
13714 eval "ac_cv_header_$ac_safe=yes" | 13709 eval "ac_cv_header_$ac_safe=yes" |
13715 else | 13710 else |
13735 fi | 13730 fi |
13736 | 13731 |
13737 if test "$with_database_gdbm" != "no"; then | 13732 if test "$with_database_gdbm" != "no"; then |
13738 | 13733 |
13739 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13734 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13740 echo "configure:13741: checking for dbm_open in -lgdbm" >&5 | 13735 echo "configure:13736: checking for dbm_open in -lgdbm" >&5 |
13741 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13736 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13742 | 13737 |
13743 xe_check_libs=" -lgdbm " | 13738 xe_check_libs=" -lgdbm " |
13744 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
13745 #line 13746 "configure" | 13740 #line 13741 "configure" |
13746 #include "confdefs.h" | 13741 #include "confdefs.h" |
13747 /* Override any gcc2 internal prototype to avoid an error. */ | 13742 /* Override any gcc2 internal prototype to avoid an error. */ |
13748 /* We use char because int might match the return type of a gcc2 | 13743 /* We use char because int might match the return type of a gcc2 |
13749 builtin and then its argument prototype would still apply. */ | 13744 builtin and then its argument prototype would still apply. */ |
13750 char dbm_open(); | 13745 char dbm_open(); |
13751 | 13746 |
13752 int main() { | 13747 int main() { |
13753 dbm_open() | 13748 dbm_open() |
13754 ; return 0; } | 13749 ; return 0; } |
13755 EOF | 13750 EOF |
13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13757 rm -rf conftest* | 13752 rm -rf conftest* |
13758 eval "ac_cv_lib_$ac_lib_var=yes" | 13753 eval "ac_cv_lib_$ac_lib_var=yes" |
13759 else | 13754 else |
13760 echo "configure: failed program was:" >&5 | 13755 echo "configure: failed program was:" >&5 |
13761 cat conftest.$ac_ext >&5 | 13756 cat conftest.$ac_ext >&5 |
13779 | 13774 |
13780 fi | 13775 fi |
13781 | 13776 |
13782 if test "$with_database_dbm" != "no"; then | 13777 if test "$with_database_dbm" != "no"; then |
13783 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13778 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13784 echo "configure:13785: checking for dbm_open" >&5 | 13779 echo "configure:13780: checking for dbm_open" >&5 |
13785 | 13780 |
13786 cat > conftest.$ac_ext <<EOF | 13781 cat > conftest.$ac_ext <<EOF |
13787 #line 13788 "configure" | 13782 #line 13783 "configure" |
13788 #include "confdefs.h" | 13783 #include "confdefs.h" |
13789 /* System header to define __stub macros and hopefully few prototypes, | 13784 /* System header to define __stub macros and hopefully few prototypes, |
13790 which can conflict with char dbm_open(); below. */ | 13785 which can conflict with char dbm_open(); below. */ |
13791 #include <assert.h> | 13786 #include <assert.h> |
13792 /* Override any gcc2 internal prototype to avoid an error. */ | 13787 /* Override any gcc2 internal prototype to avoid an error. */ |
13805 dbm_open(); | 13800 dbm_open(); |
13806 #endif | 13801 #endif |
13807 | 13802 |
13808 ; return 0; } | 13803 ; return 0; } |
13809 EOF | 13804 EOF |
13810 if { (eval echo configure:13811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13811 rm -rf conftest* | 13806 rm -rf conftest* |
13812 eval "ac_cv_func_dbm_open=yes" | 13807 eval "ac_cv_func_dbm_open=yes" |
13813 else | 13808 else |
13814 echo "configure: failed program was:" >&5 | 13809 echo "configure: failed program was:" >&5 |
13815 cat conftest.$ac_ext >&5 | 13810 cat conftest.$ac_ext >&5 |
13824 else | 13819 else |
13825 echo "$ac_t""no" 1>&6 | 13820 echo "$ac_t""no" 1>&6 |
13826 | 13821 |
13827 | 13822 |
13828 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13823 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13829 echo "configure:13830: checking for dbm_open in -ldbm" >&5 | 13824 echo "configure:13825: checking for dbm_open in -ldbm" >&5 |
13830 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13825 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13831 | 13826 |
13832 xe_check_libs=" -ldbm " | 13827 xe_check_libs=" -ldbm " |
13833 cat > conftest.$ac_ext <<EOF | 13828 cat > conftest.$ac_ext <<EOF |
13834 #line 13835 "configure" | 13829 #line 13830 "configure" |
13835 #include "confdefs.h" | 13830 #include "confdefs.h" |
13836 /* Override any gcc2 internal prototype to avoid an error. */ | 13831 /* Override any gcc2 internal prototype to avoid an error. */ |
13837 /* We use char because int might match the return type of a gcc2 | 13832 /* We use char because int might match the return type of a gcc2 |
13838 builtin and then its argument prototype would still apply. */ | 13833 builtin and then its argument prototype would still apply. */ |
13839 char dbm_open(); | 13834 char dbm_open(); |
13840 | 13835 |
13841 int main() { | 13836 int main() { |
13842 dbm_open() | 13837 dbm_open() |
13843 ; return 0; } | 13838 ; return 0; } |
13844 EOF | 13839 EOF |
13845 if { (eval echo configure:13846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13840 if { (eval echo configure:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13846 rm -rf conftest* | 13841 rm -rf conftest* |
13847 eval "ac_cv_lib_$ac_lib_var=yes" | 13842 eval "ac_cv_lib_$ac_lib_var=yes" |
13848 else | 13843 else |
13849 echo "configure: failed program was:" >&5 | 13844 echo "configure: failed program was:" >&5 |
13850 cat conftest.$ac_ext >&5 | 13845 cat conftest.$ac_ext >&5 |
13881 } | 13876 } |
13882 | 13877 |
13883 | 13878 |
13884 if test "$with_database_berkdb" != "no"; then | 13879 if test "$with_database_berkdb" != "no"; then |
13885 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13880 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13886 echo "configure:13887: checking for Berkeley db.h" >&5 | 13881 echo "configure:13882: checking for Berkeley db.h" >&5 |
13887 for header in "db/db.h" "db.h"; do | 13882 for header in "db/db.h" "db.h"; do |
13888 cat > conftest.$ac_ext <<EOF | 13883 cat > conftest.$ac_ext <<EOF |
13889 #line 13890 "configure" | 13884 #line 13885 "configure" |
13890 #include "confdefs.h" | 13885 #include "confdefs.h" |
13891 | 13886 |
13892 #include <stdlib.h> | 13887 #include <stdlib.h> |
13893 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13888 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13894 #ifdef HAVE_INTTYPES_H | 13889 #ifdef HAVE_INTTYPES_H |
13906 | 13901 |
13907 int main() { | 13902 int main() { |
13908 | 13903 |
13909 ; return 0; } | 13904 ; return 0; } |
13910 EOF | 13905 EOF |
13911 if { (eval echo configure:13912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13906 if { (eval echo configure:13907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13912 rm -rf conftest* | 13907 rm -rf conftest* |
13913 db_h_file="$header"; break | 13908 db_h_file="$header"; break |
13914 else | 13909 else |
13915 echo "configure: failed program was:" >&5 | 13910 echo "configure: failed program was:" >&5 |
13916 cat conftest.$ac_ext >&5 | 13911 cat conftest.$ac_ext >&5 |
13922 else echo "$ac_t""$db_h_file" 1>&6 | 13917 else echo "$ac_t""$db_h_file" 1>&6 |
13923 fi | 13918 fi |
13924 | 13919 |
13925 if test "$with_database_berkdb" != "no"; then | 13920 if test "$with_database_berkdb" != "no"; then |
13926 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13921 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13927 echo "configure:13928: checking for Berkeley DB version" >&5 | 13922 echo "configure:13923: checking for Berkeley DB version" >&5 |
13928 cat > conftest.$ac_ext <<EOF | 13923 cat > conftest.$ac_ext <<EOF |
13929 #line 13930 "configure" | 13924 #line 13925 "configure" |
13930 #include "confdefs.h" | 13925 #include "confdefs.h" |
13931 #include <$db_h_file> | 13926 #include <$db_h_file> |
13932 #if DB_VERSION_MAJOR > 1 | 13927 #if DB_VERSION_MAJOR > 1 |
13933 yes | 13928 yes |
13934 #endif | 13929 #endif |
13936 EOF | 13931 EOF |
13937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13938 egrep "yes" >/dev/null 2>&1; then | 13933 egrep "yes" >/dev/null 2>&1; then |
13939 rm -rf conftest* | 13934 rm -rf conftest* |
13940 cat > conftest.$ac_ext <<EOF | 13935 cat > conftest.$ac_ext <<EOF |
13941 #line 13942 "configure" | 13936 #line 13937 "configure" |
13942 #include "confdefs.h" | 13937 #include "confdefs.h" |
13943 #include <$db_h_file> | 13938 #include <$db_h_file> |
13944 #if DB_VERSION_MAJOR > 2 | 13939 #if DB_VERSION_MAJOR > 2 |
13945 yes | 13940 yes |
13946 #endif | 13941 #endif |
13963 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13958 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13964 fi | 13959 fi |
13965 rm -f conftest* | 13960 rm -f conftest* |
13966 | 13961 |
13967 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13962 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13968 echo "configure:13969: checking for $dbfunc" >&5 | 13963 echo "configure:13964: checking for $dbfunc" >&5 |
13969 | 13964 |
13970 cat > conftest.$ac_ext <<EOF | 13965 cat > conftest.$ac_ext <<EOF |
13971 #line 13972 "configure" | 13966 #line 13967 "configure" |
13972 #include "confdefs.h" | 13967 #include "confdefs.h" |
13973 /* System header to define __stub macros and hopefully few prototypes, | 13968 /* System header to define __stub macros and hopefully few prototypes, |
13974 which can conflict with char $dbfunc(); below. */ | 13969 which can conflict with char $dbfunc(); below. */ |
13975 #include <assert.h> | 13970 #include <assert.h> |
13976 /* Override any gcc2 internal prototype to avoid an error. */ | 13971 /* Override any gcc2 internal prototype to avoid an error. */ |
13989 $dbfunc(); | 13984 $dbfunc(); |
13990 #endif | 13985 #endif |
13991 | 13986 |
13992 ; return 0; } | 13987 ; return 0; } |
13993 EOF | 13988 EOF |
13994 if { (eval echo configure:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13989 if { (eval echo configure:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13995 rm -rf conftest* | 13990 rm -rf conftest* |
13996 eval "ac_cv_func_$dbfunc=yes" | 13991 eval "ac_cv_func_$dbfunc=yes" |
13997 else | 13992 else |
13998 echo "configure: failed program was:" >&5 | 13993 echo "configure: failed program was:" >&5 |
13999 cat conftest.$ac_ext >&5 | 13994 cat conftest.$ac_ext >&5 |
14008 else | 14003 else |
14009 echo "$ac_t""no" 1>&6 | 14004 echo "$ac_t""no" 1>&6 |
14010 | 14005 |
14011 | 14006 |
14012 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14007 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14013 echo "configure:14014: checking for $dbfunc in -ldb" >&5 | 14008 echo "configure:14009: checking for $dbfunc in -ldb" >&5 |
14014 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14009 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14015 | 14010 |
14016 xe_check_libs=" -ldb " | 14011 xe_check_libs=" -ldb " |
14017 cat > conftest.$ac_ext <<EOF | 14012 cat > conftest.$ac_ext <<EOF |
14018 #line 14019 "configure" | 14013 #line 14014 "configure" |
14019 #include "confdefs.h" | 14014 #include "confdefs.h" |
14020 /* Override any gcc2 internal prototype to avoid an error. */ | 14015 /* Override any gcc2 internal prototype to avoid an error. */ |
14021 /* We use char because int might match the return type of a gcc2 | 14016 /* We use char because int might match the return type of a gcc2 |
14022 builtin and then its argument prototype would still apply. */ | 14017 builtin and then its argument prototype would still apply. */ |
14023 char $dbfunc(); | 14018 char $dbfunc(); |
14024 | 14019 |
14025 int main() { | 14020 int main() { |
14026 $dbfunc() | 14021 $dbfunc() |
14027 ; return 0; } | 14022 ; return 0; } |
14028 EOF | 14023 EOF |
14029 if { (eval echo configure:14030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14024 if { (eval echo configure:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14030 rm -rf conftest* | 14025 rm -rf conftest* |
14031 eval "ac_cv_lib_$ac_lib_var=yes" | 14026 eval "ac_cv_lib_$ac_lib_var=yes" |
14032 else | 14027 else |
14033 echo "configure: failed program was:" >&5 | 14028 echo "configure: failed program was:" >&5 |
14034 cat conftest.$ac_ext >&5 | 14029 cat conftest.$ac_ext >&5 |
14085 fi | 14080 fi |
14086 | 14081 |
14087 if test "$with_socks" = "yes"; then | 14082 if test "$with_socks" = "yes"; then |
14088 | 14083 |
14089 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14084 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14090 echo "configure:14091: checking for SOCKSinit in -lsocks" >&5 | 14085 echo "configure:14086: checking for SOCKSinit in -lsocks" >&5 |
14091 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14086 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14092 | 14087 |
14093 xe_check_libs=" -lsocks " | 14088 xe_check_libs=" -lsocks " |
14094 cat > conftest.$ac_ext <<EOF | 14089 cat > conftest.$ac_ext <<EOF |
14095 #line 14096 "configure" | 14090 #line 14091 "configure" |
14096 #include "confdefs.h" | 14091 #include "confdefs.h" |
14097 /* Override any gcc2 internal prototype to avoid an error. */ | 14092 /* Override any gcc2 internal prototype to avoid an error. */ |
14098 /* We use char because int might match the return type of a gcc2 | 14093 /* We use char because int might match the return type of a gcc2 |
14099 builtin and then its argument prototype would still apply. */ | 14094 builtin and then its argument prototype would still apply. */ |
14100 char SOCKSinit(); | 14095 char SOCKSinit(); |
14101 | 14096 |
14102 int main() { | 14097 int main() { |
14103 SOCKSinit() | 14098 SOCKSinit() |
14104 ; return 0; } | 14099 ; return 0; } |
14105 EOF | 14100 EOF |
14106 if { (eval echo configure:14107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14101 if { (eval echo configure:14102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14107 rm -rf conftest* | 14102 rm -rf conftest* |
14108 eval "ac_cv_lib_$ac_lib_var=yes" | 14103 eval "ac_cv_lib_$ac_lib_var=yes" |
14109 else | 14104 else |
14110 echo "configure: failed program was:" >&5 | 14105 echo "configure: failed program was:" >&5 |
14111 cat conftest.$ac_ext >&5 | 14106 cat conftest.$ac_ext >&5 |
14156 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14151 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14157 fi | 14152 fi |
14158 | 14153 |
14159 if test "$with_modules" != "no"; then | 14154 if test "$with_modules" != "no"; then |
14160 echo "checking for module support" 1>&6 | 14155 echo "checking for module support" 1>&6 |
14161 echo "configure:14162: checking for module support" >&5 | 14156 echo "configure:14157: checking for module support" >&5 |
14162 | 14157 |
14163 if test "$with_msw" = "yes"; then | 14158 if test "$with_msw" = "yes"; then |
14164 have_dl=yes; | 14159 have_dl=yes; |
14165 else | 14160 else |
14166 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14161 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14167 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14162 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14168 echo "configure:14169: checking for dlfcn.h" >&5 | 14163 echo "configure:14164: checking for dlfcn.h" >&5 |
14169 | 14164 |
14170 cat > conftest.$ac_ext <<EOF | 14165 cat > conftest.$ac_ext <<EOF |
14171 #line 14172 "configure" | 14166 #line 14167 "configure" |
14172 #include "confdefs.h" | 14167 #include "confdefs.h" |
14173 #include <dlfcn.h> | 14168 #include <dlfcn.h> |
14174 EOF | 14169 EOF |
14175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14176 { (eval echo configure:14177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14178 if test -z "$ac_err"; then | 14173 if test -z "$ac_err"; then |
14179 rm -rf conftest* | 14174 rm -rf conftest* |
14180 eval "ac_cv_header_$ac_safe=yes" | 14175 eval "ac_cv_header_$ac_safe=yes" |
14181 else | 14176 else |
14188 rm -f conftest* | 14183 rm -f conftest* |
14189 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14190 echo "$ac_t""yes" 1>&6 | 14185 echo "$ac_t""yes" 1>&6 |
14191 | 14186 |
14192 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14187 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14193 echo "configure:14194: checking for dlopen in -lc" >&5 | 14188 echo "configure:14189: checking for dlopen in -lc" >&5 |
14194 cat > conftest.$ac_ext <<EOF | 14189 cat > conftest.$ac_ext <<EOF |
14195 #line 14196 "configure" | 14190 #line 14191 "configure" |
14196 #include "confdefs.h" | 14191 #include "confdefs.h" |
14197 #include <dlfcn.h> | 14192 #include <dlfcn.h> |
14198 int main() { | 14193 int main() { |
14199 dlopen ("", 0); | 14194 dlopen ("", 0); |
14200 ; return 0; } | 14195 ; return 0; } |
14201 EOF | 14196 EOF |
14202 if { (eval echo configure:14203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14203 rm -rf conftest* | 14198 rm -rf conftest* |
14204 have_dl=yes | 14199 have_dl=yes |
14205 else | 14200 else |
14206 echo "configure: failed program was:" >&5 | 14201 echo "configure: failed program was:" >&5 |
14207 cat conftest.$ac_ext >&5 | 14202 cat conftest.$ac_ext >&5 |
14208 rm -rf conftest* | 14203 rm -rf conftest* |
14209 | 14204 |
14210 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14205 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14211 echo "configure:14212: checking for dlopen in -ldl" >&5 | 14206 echo "configure:14207: checking for dlopen in -ldl" >&5 |
14212 ac_save_LIBS="$LIBS" | 14207 ac_save_LIBS="$LIBS" |
14213 LIBS="-ldl $LIBS" | 14208 LIBS="-ldl $LIBS" |
14214 cat > conftest.$ac_ext <<EOF | 14209 cat > conftest.$ac_ext <<EOF |
14215 #line 14216 "configure" | 14210 #line 14211 "configure" |
14216 #include "confdefs.h" | 14211 #include "confdefs.h" |
14217 #include <dlfcn.h> | 14212 #include <dlfcn.h> |
14218 int main() { | 14213 int main() { |
14219 dlopen ("", 0); | 14214 dlopen ("", 0); |
14220 ; return 0; } | 14215 ; return 0; } |
14221 EOF | 14216 EOF |
14222 if { (eval echo configure:14223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14217 if { (eval echo configure:14218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14223 rm -rf conftest* | 14218 rm -rf conftest* |
14224 have_dl=yes | 14219 have_dl=yes |
14225 else | 14220 else |
14226 echo "configure: failed program was:" >&5 | 14221 echo "configure: failed program was:" >&5 |
14227 cat conftest.$ac_ext >&5 | 14222 cat conftest.$ac_ext >&5 |
14246 } | 14241 } |
14247 | 14242 |
14248 else | 14243 else |
14249 | 14244 |
14250 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14245 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14251 echo "configure:14252: checking for shl_load in -ldld" >&5 | 14246 echo "configure:14247: checking for shl_load in -ldld" >&5 |
14252 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14247 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14253 | 14248 |
14254 xe_check_libs=" -ldld " | 14249 xe_check_libs=" -ldld " |
14255 cat > conftest.$ac_ext <<EOF | 14250 cat > conftest.$ac_ext <<EOF |
14256 #line 14257 "configure" | 14251 #line 14252 "configure" |
14257 #include "confdefs.h" | 14252 #include "confdefs.h" |
14258 /* Override any gcc2 internal prototype to avoid an error. */ | 14253 /* Override any gcc2 internal prototype to avoid an error. */ |
14259 /* We use char because int might match the return type of a gcc2 | 14254 /* We use char because int might match the return type of a gcc2 |
14260 builtin and then its argument prototype would still apply. */ | 14255 builtin and then its argument prototype would still apply. */ |
14261 char shl_load(); | 14256 char shl_load(); |
14262 | 14257 |
14263 int main() { | 14258 int main() { |
14264 shl_load() | 14259 shl_load() |
14265 ; return 0; } | 14260 ; return 0; } |
14266 EOF | 14261 EOF |
14267 if { (eval echo configure:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14262 if { (eval echo configure:14263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14268 rm -rf conftest* | 14263 rm -rf conftest* |
14269 eval "ac_cv_lib_$ac_lib_var=yes" | 14264 eval "ac_cv_lib_$ac_lib_var=yes" |
14270 else | 14265 else |
14271 echo "configure: failed program was:" >&5 | 14266 echo "configure: failed program was:" >&5 |
14272 cat conftest.$ac_ext >&5 | 14267 cat conftest.$ac_ext >&5 |
14289 | 14284 |
14290 else | 14285 else |
14291 echo "$ac_t""no" 1>&6 | 14286 echo "$ac_t""no" 1>&6 |
14292 | 14287 |
14293 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14288 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14294 echo "configure:14295: checking for dld_init in -ldld" >&5 | 14289 echo "configure:14290: checking for dld_init in -ldld" >&5 |
14295 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14290 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14296 | 14291 |
14297 xe_check_libs=" -ldld " | 14292 xe_check_libs=" -ldld " |
14298 cat > conftest.$ac_ext <<EOF | 14293 cat > conftest.$ac_ext <<EOF |
14299 #line 14300 "configure" | 14294 #line 14295 "configure" |
14300 #include "confdefs.h" | 14295 #include "confdefs.h" |
14301 /* Override any gcc2 internal prototype to avoid an error. */ | 14296 /* Override any gcc2 internal prototype to avoid an error. */ |
14302 /* We use char because int might match the return type of a gcc2 | 14297 /* We use char because int might match the return type of a gcc2 |
14303 builtin and then its argument prototype would still apply. */ | 14298 builtin and then its argument prototype would still apply. */ |
14304 char dld_init(); | 14299 char dld_init(); |
14305 | 14300 |
14306 int main() { | 14301 int main() { |
14307 dld_init() | 14302 dld_init() |
14308 ; return 0; } | 14303 ; return 0; } |
14309 EOF | 14304 EOF |
14310 if { (eval echo configure:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14305 if { (eval echo configure:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14311 rm -rf conftest* | 14306 rm -rf conftest* |
14312 eval "ac_cv_lib_$ac_lib_var=yes" | 14307 eval "ac_cv_lib_$ac_lib_var=yes" |
14313 else | 14308 else |
14314 echo "configure: failed program was:" >&5 | 14309 echo "configure: failed program was:" >&5 |
14315 cat conftest.$ac_ext >&5 | 14310 cat conftest.$ac_ext >&5 |
14350 ld_dynamic_link_flags= | 14345 ld_dynamic_link_flags= |
14351 xehost=$canonical | 14346 xehost=$canonical |
14352 xealias=$internal_configuration | 14347 xealias=$internal_configuration |
14353 | 14348 |
14354 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14349 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14355 echo "configure:14356: checking how to build dynamic libraries for ${xehost}" >&5 | 14350 echo "configure:14351: checking how to build dynamic libraries for ${xehost}" >&5 |
14356 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14351 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14357 case "$xehost" in | 14352 case "$xehost" in |
14358 *-*-linux-gnu*) ;; | 14353 *-*-linux-gnu*) ;; |
14359 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14354 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14360 esac | 14355 esac |
14378 # Now see if the compiler is really GCC. | 14373 # Now see if the compiler is really GCC. |
14379 if test "$GCC" = "yes"; then | 14374 if test "$GCC" = "yes"; then |
14380 XEGCC=yes | 14375 XEGCC=yes |
14381 else | 14376 else |
14382 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14377 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14383 echo "configure:14384: checking checking whether we are using GNU C" >&5 | 14378 echo "configure:14379: checking checking whether we are using GNU C" >&5 |
14384 cat > conftest.$ac_ext <<EOF | 14379 cat > conftest.$ac_ext <<EOF |
14385 #line 14386 "configure" | 14380 #line 14381 "configure" |
14386 #include "confdefs.h" | 14381 #include "confdefs.h" |
14387 | 14382 |
14388 #ifdef __GNUC__ | 14383 #ifdef __GNUC__ |
14389 yes; | 14384 yes; |
14390 #endif | 14385 #endif |
14402 | 14397 |
14403 echo "$ac_t""${XEGCC}" 1>&6 | 14398 echo "$ac_t""${XEGCC}" 1>&6 |
14404 fi | 14399 fi |
14405 | 14400 |
14406 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14401 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14407 echo "configure:14408: checking how to produce PIC code" >&5 | 14402 echo "configure:14403: checking how to produce PIC code" >&5 |
14408 wl= | 14403 wl= |
14409 | 14404 |
14410 can_build_shared=yes | 14405 can_build_shared=yes |
14411 if test "$XEGCC" = yes; then | 14406 if test "$XEGCC" = yes; then |
14412 wl='-Wl,' | 14407 wl='-Wl,' |
14503 if test -n "$dll_cflags"; then | 14498 if test -n "$dll_cflags"; then |
14504 echo "$ac_t""${dll_cflags}" 1>&6 | 14499 echo "$ac_t""${dll_cflags}" 1>&6 |
14505 | 14500 |
14506 # Check to make sure the dll_cflags actually works. | 14501 # Check to make sure the dll_cflags actually works. |
14507 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14502 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14508 echo "configure:14509: checking if PIC flag ${dll_cflags} really works" >&5 | 14503 echo "configure:14504: checking if PIC flag ${dll_cflags} really works" >&5 |
14509 save_CFLAGS="$CFLAGS" | 14504 save_CFLAGS="$CFLAGS" |
14510 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14505 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14511 cat > conftest.$ac_ext <<EOF | 14506 cat > conftest.$ac_ext <<EOF |
14512 #line 14513 "configure" | 14507 #line 14508 "configure" |
14513 #include "confdefs.h" | 14508 #include "confdefs.h" |
14514 | 14509 |
14515 int main() { | 14510 int main() { |
14516 int x=0; | 14511 int x=0; |
14517 ; return 0; } | 14512 ; return 0; } |
14518 EOF | 14513 EOF |
14519 if { (eval echo configure:14520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14514 if { (eval echo configure:14515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14520 rm -rf conftest* | 14515 rm -rf conftest* |
14521 | 14516 |
14522 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14517 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14523 # reports no error. So, we need to grep stderr for (Bundled). | 14518 # reports no error. So, we need to grep stderr for (Bundled). |
14524 if grep '(Bundled)' config.log >/dev/null; then | 14519 if grep '(Bundled)' config.log >/dev/null; then |
14545 if test "$can_build_shared" = "yes"; then | 14540 if test "$can_build_shared" = "yes"; then |
14546 cc_produces_so=no | 14541 cc_produces_so=no |
14547 xldf= | 14542 xldf= |
14548 xcldf= | 14543 xcldf= |
14549 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14544 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14550 echo "configure:14551: checking if C compiler can produce shared libraries" >&5 | 14545 echo "configure:14546: checking if C compiler can produce shared libraries" >&5 |
14551 if test "$XEGCC" = yes; then | 14546 if test "$XEGCC" = yes; then |
14552 xcldf="-shared" | 14547 xcldf="-shared" |
14553 xldf="-shared" | 14548 xldf="-shared" |
14554 else # Not using GCC | 14549 else # Not using GCC |
14555 case "$xehost_os" in | 14550 case "$xehost_os" in |
14596 LDFLAGS="$xcldf $LDFLAGS" | 14591 LDFLAGS="$xcldf $LDFLAGS" |
14597 LIBS= | 14592 LIBS= |
14598 xe_libs= | 14593 xe_libs= |
14599 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14594 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14600 cat > conftest.$ac_ext <<EOF | 14595 cat > conftest.$ac_ext <<EOF |
14601 #line 14602 "configure" | 14596 #line 14597 "configure" |
14602 #include "confdefs.h" | 14597 #include "confdefs.h" |
14603 | 14598 |
14604 int main() { | 14599 int main() { |
14605 int x=0; | 14600 int x=0; |
14606 ; return 0; } | 14601 ; return 0; } |
14607 EOF | 14602 EOF |
14608 if { (eval echo configure:14609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14603 if { (eval echo configure:14604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14609 rm -rf conftest* | 14604 rm -rf conftest* |
14610 cc_produces_so=yes | 14605 cc_produces_so=yes |
14611 else | 14606 else |
14612 echo "configure: failed program was:" >&5 | 14607 echo "configure: failed program was:" >&5 |
14613 cat conftest.$ac_ext >&5 | 14608 cat conftest.$ac_ext >&5 |
14628 if test -z "$LTLD"; then | 14623 if test -z "$LTLD"; then |
14629 ac_prog=ld | 14624 ac_prog=ld |
14630 if test "$XEGCC" = yes; then | 14625 if test "$XEGCC" = yes; then |
14631 # Check if gcc -print-prog-name=ld gives a path. | 14626 # Check if gcc -print-prog-name=ld gives a path. |
14632 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14627 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14633 echo "configure:14634: checking for ld used by GCC" >&5 | 14628 echo "configure:14629: checking for ld used by GCC" >&5 |
14634 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14629 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14635 case "$ac_prog" in | 14630 case "$ac_prog" in |
14636 # Accept absolute paths. | 14631 # Accept absolute paths. |
14637 /*) | 14632 /*) |
14638 if test -z "$LTLD"; then | 14633 if test -z "$LTLD"; then |
14654 with_gnu_ld=unknown | 14649 with_gnu_ld=unknown |
14655 ;; | 14650 ;; |
14656 esac | 14651 esac |
14657 else | 14652 else |
14658 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14653 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14659 echo "configure:14660: checking for GNU ld" >&5 | 14654 echo "configure:14655: checking for GNU ld" >&5 |
14660 fi | 14655 fi |
14661 | 14656 |
14662 if test -z "$LTLD"; then | 14657 if test -z "$LTLD"; then |
14663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14664 for ac_dir in $PATH; do | 14659 for ac_dir in $PATH; do |
14692 | 14687 |
14693 ld_dynamic_link_flags= | 14688 ld_dynamic_link_flags= |
14694 | 14689 |
14695 # Check to see if it really is or isn't GNU ld. | 14690 # Check to see if it really is or isn't GNU ld. |
14696 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14691 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14697 echo "configure:14698: checking if the linker is GNU ld" >&5 | 14692 echo "configure:14693: checking if the linker is GNU ld" >&5 |
14698 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14693 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14699 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14694 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14700 xe_gnu_ld=yes | 14695 xe_gnu_ld=yes |
14701 else | 14696 else |
14702 xe_gnu_ld=no | 14697 xe_gnu_ld=no |
14720 ld_shlibs=yes | 14715 ld_shlibs=yes |
14721 else | 14716 else |
14722 # OK - only NOW do we futz about with ld. | 14717 # OK - only NOW do we futz about with ld. |
14723 # See if the linker supports building shared libraries. | 14718 # See if the linker supports building shared libraries. |
14724 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14719 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14725 echo "configure:14726: checking whether the linker supports shared libraries" >&5 | 14720 echo "configure:14721: checking whether the linker supports shared libraries" >&5 |
14726 dll_ld=$CC | 14721 dll_ld=$CC |
14727 dll_ldflags=$LDFLAGS | 14722 dll_ldflags=$LDFLAGS |
14728 ld_shlibs=yes | 14723 ld_shlibs=yes |
14729 can_build_shared=yes | 14724 can_build_shared=yes |
14730 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14725 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14928 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14923 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14929 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14924 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14930 for ac_func in dlerror _dlerror | 14925 for ac_func in dlerror _dlerror |
14931 do | 14926 do |
14932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14933 echo "configure:14934: checking for $ac_func" >&5 | 14928 echo "configure:14929: checking for $ac_func" >&5 |
14934 | 14929 |
14935 cat > conftest.$ac_ext <<EOF | 14930 cat > conftest.$ac_ext <<EOF |
14936 #line 14937 "configure" | 14931 #line 14932 "configure" |
14937 #include "confdefs.h" | 14932 #include "confdefs.h" |
14938 /* System header to define __stub macros and hopefully few prototypes, | 14933 /* System header to define __stub macros and hopefully few prototypes, |
14939 which can conflict with char $ac_func(); below. */ | 14934 which can conflict with char $ac_func(); below. */ |
14940 #include <assert.h> | 14935 #include <assert.h> |
14941 /* Override any gcc2 internal prototype to avoid an error. */ | 14936 /* Override any gcc2 internal prototype to avoid an error. */ |
14954 $ac_func(); | 14949 $ac_func(); |
14955 #endif | 14950 #endif |
14956 | 14951 |
14957 ; return 0; } | 14952 ; return 0; } |
14958 EOF | 14953 EOF |
14959 if { (eval echo configure:14960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14960 rm -rf conftest* | 14955 rm -rf conftest* |
14961 eval "ac_cv_func_$ac_func=yes" | 14956 eval "ac_cv_func_$ac_func=yes" |
14962 else | 14957 else |
14963 echo "configure: failed program was:" >&5 | 14958 echo "configure: failed program was:" >&5 |
14964 cat conftest.$ac_ext >&5 | 14959 cat conftest.$ac_ext >&5 |
14993 with_modules=no | 14988 with_modules=no |
14994 fi | 14989 fi |
14995 fi | 14990 fi |
14996 | 14991 |
14997 cat > conftest.$ac_ext <<EOF | 14992 cat > conftest.$ac_ext <<EOF |
14998 #line 14999 "configure" | 14993 #line 14994 "configure" |
14999 #include "confdefs.h" | 14994 #include "confdefs.h" |
15000 int main(int c,char *v[]){return 0;} | 14995 int main(int c,char *v[]){return 0;} |
15001 EOF | 14996 EOF |
15002 if { (eval echo configure:15003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15003 then | 14998 then |
15004 : | 14999 : |
15005 else | 15000 else |
15006 conftest_rc="$?" | 15001 conftest_rc="$?" |
15007 echo "configure: failed program was:" >&5 | 15002 echo "configure: failed program was:" >&5 |