Mercurial > hg > xemacs-beta
comparison configure @ 1452:dd63b61df78c
[xemacs-hg @ 2003-05-03 22:47:10 by youngs]
2003-05-04 Steve Youngs <youngs@xemacs.org>
* configure: Regenerate.
2003-05-01 Andrew Begel <abegel@CS.Berkeley.EDU>
* configure.in: Move module detection to after src/ is added to
MAKE_SUBDIR. On MacOS X, building modules requires xemacs to
already be built.
* aclocal.m4 (XE_SHLIB_STUFF): Properly define ellcc flags for
MacOS X.
author | youngs |
---|---|
date | Sat, 03 May 2003 22:47:15 +0000 |
parents | 4f98e7b44323 |
children | 38d0f093d818 |
comparison
equal
deleted
inserted
replaced
1451:9a406c30e65e | 1452:dd63b61df78c |
---|---|
4634 | 4634 |
4635 cat > conftest.$ac_ext <<EOF | 4635 cat > conftest.$ac_ext <<EOF |
4636 #line 4637 "configure" | 4636 #line 4637 "configure" |
4637 #include "confdefs.h" | 4637 #include "confdefs.h" |
4638 #include <stdio.h> | 4638 #include <stdio.h> |
4639 #include <sys/types.h> | |
4640 main() | 4639 main() |
4641 { | 4640 { |
4642 FILE *f=fopen("conftestval", "w"); | 4641 FILE *f=fopen("conftestval", "w"); |
4643 if (!f) exit(1); | 4642 if (!f) exit(1); |
4644 fprintf(f, "%d\n", sizeof(short)); | 4643 fprintf(f, "%d\n", sizeof(short)); |
4645 exit(0); | 4644 exit(0); |
4646 } | 4645 } |
4647 EOF | 4646 EOF |
4648 if { (eval echo configure:4649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4647 if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4649 then | 4648 then |
4650 ac_cv_sizeof_short=`cat conftestval` | 4649 ac_cv_sizeof_short=`cat conftestval` |
4651 else | 4650 else |
4652 conftest_rc="$?" | 4651 conftest_rc="$?" |
4653 echo "configure: failed program was:" >&5 | 4652 echo "configure: failed program was:" >&5 |
4671 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4670 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4672 echo "*** PANIC *** Please examine config.log for compilation errors." | 4671 echo "*** PANIC *** Please examine config.log for compilation errors." |
4673 exit 1 | 4672 exit 1 |
4674 fi | 4673 fi |
4675 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4674 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4676 echo "configure:4677: checking size of int" >&5 | 4675 echo "configure:4676: checking size of int" >&5 |
4677 | 4676 |
4678 cat > conftest.$ac_ext <<EOF | 4677 cat > conftest.$ac_ext <<EOF |
4679 #line 4680 "configure" | 4678 #line 4679 "configure" |
4680 #include "confdefs.h" | 4679 #include "confdefs.h" |
4681 #include <stdio.h> | 4680 #include <stdio.h> |
4682 #include <sys/types.h> | |
4683 main() | 4681 main() |
4684 { | 4682 { |
4685 FILE *f=fopen("conftestval", "w"); | 4683 FILE *f=fopen("conftestval", "w"); |
4686 if (!f) exit(1); | 4684 if (!f) exit(1); |
4687 fprintf(f, "%d\n", sizeof(int)); | 4685 fprintf(f, "%d\n", sizeof(int)); |
4688 exit(0); | 4686 exit(0); |
4689 } | 4687 } |
4690 EOF | 4688 EOF |
4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4692 then | 4690 then |
4693 ac_cv_sizeof_int=`cat conftestval` | 4691 ac_cv_sizeof_int=`cat conftestval` |
4694 else | 4692 else |
4695 conftest_rc="$?" | 4693 conftest_rc="$?" |
4696 echo "configure: failed program was:" >&5 | 4694 echo "configure: failed program was:" >&5 |
4708 EOF | 4706 EOF |
4709 } | 4707 } |
4710 | 4708 |
4711 | 4709 |
4712 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4710 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4713 echo "configure:4714: checking size of long" >&5 | 4711 echo "configure:4712: checking size of long" >&5 |
4714 | 4712 |
4715 cat > conftest.$ac_ext <<EOF | 4713 cat > conftest.$ac_ext <<EOF |
4716 #line 4717 "configure" | 4714 #line 4715 "configure" |
4717 #include "confdefs.h" | 4715 #include "confdefs.h" |
4718 #include <stdio.h> | 4716 #include <stdio.h> |
4719 #include <sys/types.h> | |
4720 main() | 4717 main() |
4721 { | 4718 { |
4722 FILE *f=fopen("conftestval", "w"); | 4719 FILE *f=fopen("conftestval", "w"); |
4723 if (!f) exit(1); | 4720 if (!f) exit(1); |
4724 fprintf(f, "%d\n", sizeof(long)); | 4721 fprintf(f, "%d\n", sizeof(long)); |
4725 exit(0); | 4722 exit(0); |
4726 } | 4723 } |
4727 EOF | 4724 EOF |
4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4729 then | 4726 then |
4730 ac_cv_sizeof_long=`cat conftestval` | 4727 ac_cv_sizeof_long=`cat conftestval` |
4731 else | 4728 else |
4732 conftest_rc="$?" | 4729 conftest_rc="$?" |
4733 echo "configure: failed program was:" >&5 | 4730 echo "configure: failed program was:" >&5 |
4745 EOF | 4742 EOF |
4746 } | 4743 } |
4747 | 4744 |
4748 | 4745 |
4749 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4746 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4750 echo "configure:4751: checking size of long long" >&5 | 4747 echo "configure:4748: checking size of long long" >&5 |
4751 | 4748 |
4752 cat > conftest.$ac_ext <<EOF | 4749 cat > conftest.$ac_ext <<EOF |
4753 #line 4754 "configure" | 4750 #line 4751 "configure" |
4754 #include "confdefs.h" | 4751 #include "confdefs.h" |
4755 #include <stdio.h> | 4752 #include <stdio.h> |
4756 #include <sys/types.h> | |
4757 main() | 4753 main() |
4758 { | 4754 { |
4759 FILE *f=fopen("conftestval", "w"); | 4755 FILE *f=fopen("conftestval", "w"); |
4760 if (!f) exit(1); | 4756 if (!f) exit(1); |
4761 fprintf(f, "%d\n", sizeof(long long)); | 4757 fprintf(f, "%d\n", sizeof(long long)); |
4762 exit(0); | 4758 exit(0); |
4763 } | 4759 } |
4764 EOF | 4760 EOF |
4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4766 then | 4762 then |
4767 ac_cv_sizeof_long_long=`cat conftestval` | 4763 ac_cv_sizeof_long_long=`cat conftestval` |
4768 else | 4764 else |
4769 conftest_rc="$?" | 4765 conftest_rc="$?" |
4770 echo "configure: failed program was:" >&5 | 4766 echo "configure: failed program was:" >&5 |
4782 EOF | 4778 EOF |
4783 } | 4779 } |
4784 | 4780 |
4785 | 4781 |
4786 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4782 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4787 echo "configure:4788: checking size of void *" >&5 | 4783 echo "configure:4784: checking size of void *" >&5 |
4788 | 4784 |
4789 cat > conftest.$ac_ext <<EOF | 4785 cat > conftest.$ac_ext <<EOF |
4790 #line 4791 "configure" | 4786 #line 4787 "configure" |
4791 #include "confdefs.h" | 4787 #include "confdefs.h" |
4792 #include <stdio.h> | 4788 #include <stdio.h> |
4793 #include <sys/types.h> | |
4794 main() | 4789 main() |
4795 { | 4790 { |
4796 FILE *f=fopen("conftestval", "w"); | 4791 FILE *f=fopen("conftestval", "w"); |
4797 if (!f) exit(1); | 4792 if (!f) exit(1); |
4798 fprintf(f, "%d\n", sizeof(void *)); | 4793 fprintf(f, "%d\n", sizeof(void *)); |
4799 exit(0); | 4794 exit(0); |
4800 } | 4795 } |
4801 EOF | 4796 EOF |
4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4797 if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4803 then | 4798 then |
4804 ac_cv_sizeof_void_p=`cat conftestval` | 4799 ac_cv_sizeof_void_p=`cat conftestval` |
4805 else | 4800 else |
4806 conftest_rc="$?" | 4801 conftest_rc="$?" |
4807 echo "configure: failed program was:" >&5 | 4802 echo "configure: failed program was:" >&5 |
4820 } | 4815 } |
4821 | 4816 |
4822 | 4817 |
4823 | 4818 |
4824 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4819 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4825 echo "configure:4826: checking for long file names" >&5 | 4820 echo "configure:4821: checking for long file names" >&5 |
4826 | 4821 |
4827 ac_cv_sys_long_file_names=yes | 4822 ac_cv_sys_long_file_names=yes |
4828 # Test for long file names in all the places we know might matter: | 4823 # Test for long file names in all the places we know might matter: |
4829 # . the current directory, where building will happen | 4824 # . the current directory, where building will happen |
4830 # $prefix/lib where we will be installing things | 4825 # $prefix/lib where we will be installing things |
4866 | 4861 |
4867 fi | 4862 fi |
4868 | 4863 |
4869 | 4864 |
4870 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4865 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4871 echo "configure:4872: checking for sin" >&5 | 4866 echo "configure:4867: checking for sin" >&5 |
4872 | 4867 |
4873 cat > conftest.$ac_ext <<EOF | 4868 cat > conftest.$ac_ext <<EOF |
4874 #line 4875 "configure" | 4869 #line 4870 "configure" |
4875 #include "confdefs.h" | 4870 #include "confdefs.h" |
4876 /* System header to define __stub macros and hopefully few prototypes, | 4871 /* System header to define __stub macros and hopefully few prototypes, |
4877 which can conflict with char sin(); below. */ | 4872 which can conflict with char sin(); below. */ |
4878 #include <assert.h> | 4873 #include <assert.h> |
4879 /* Override any gcc2 internal prototype to avoid an error. */ | 4874 /* Override any gcc2 internal prototype to avoid an error. */ |
4892 sin(); | 4887 sin(); |
4893 #endif | 4888 #endif |
4894 | 4889 |
4895 ; return 0; } | 4890 ; return 0; } |
4896 EOF | 4891 EOF |
4897 if { (eval echo configure:4898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4898 rm -rf conftest* | 4893 rm -rf conftest* |
4899 eval "ac_cv_func_sin=yes" | 4894 eval "ac_cv_func_sin=yes" |
4900 else | 4895 else |
4901 echo "configure: failed program was:" >&5 | 4896 echo "configure: failed program was:" >&5 |
4902 cat conftest.$ac_ext >&5 | 4897 cat conftest.$ac_ext >&5 |
4910 : | 4905 : |
4911 else | 4906 else |
4912 echo "$ac_t""no" 1>&6 | 4907 echo "$ac_t""no" 1>&6 |
4913 | 4908 |
4914 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4909 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4915 echo "configure:4916: checking for sin in -lm" >&5 | 4910 echo "configure:4911: checking for sin in -lm" >&5 |
4916 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4911 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4917 | 4912 |
4918 xe_check_libs=" -lm " | 4913 xe_check_libs=" -lm " |
4919 cat > conftest.$ac_ext <<EOF | 4914 cat > conftest.$ac_ext <<EOF |
4920 #line 4921 "configure" | 4915 #line 4916 "configure" |
4921 #include "confdefs.h" | 4916 #include "confdefs.h" |
4922 /* Override any gcc2 internal prototype to avoid an error. */ | 4917 /* Override any gcc2 internal prototype to avoid an error. */ |
4923 /* We use char because int might match the return type of a gcc2 | 4918 /* We use char because int might match the return type of a gcc2 |
4924 builtin and then its argument prototype would still apply. */ | 4919 builtin and then its argument prototype would still apply. */ |
4925 char sin(); | 4920 char sin(); |
4926 | 4921 |
4927 int main() { | 4922 int main() { |
4928 sin() | 4923 sin() |
4929 ; return 0; } | 4924 ; return 0; } |
4930 EOF | 4925 EOF |
4931 if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4926 if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4932 rm -rf conftest* | 4927 rm -rf conftest* |
4933 eval "ac_cv_lib_$ac_lib_var=yes" | 4928 eval "ac_cv_lib_$ac_lib_var=yes" |
4934 else | 4929 else |
4935 echo "configure: failed program was:" >&5 | 4930 echo "configure: failed program was:" >&5 |
4936 cat conftest.$ac_ext >&5 | 4931 cat conftest.$ac_ext >&5 |
4961 | 4956 |
4962 fi | 4957 fi |
4963 | 4958 |
4964 | 4959 |
4965 cat > conftest.$ac_ext <<EOF | 4960 cat > conftest.$ac_ext <<EOF |
4966 #line 4967 "configure" | 4961 #line 4962 "configure" |
4967 #include "confdefs.h" | 4962 #include "confdefs.h" |
4968 #include <math.h> | 4963 #include <math.h> |
4969 int main() { | 4964 int main() { |
4970 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4965 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4971 ; return 0; } | 4966 ; return 0; } |
4972 EOF | 4967 EOF |
4973 if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4968 if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4974 rm -rf conftest* | 4969 rm -rf conftest* |
4975 { test "$extra_verbose" = "yes" && cat << \EOF | 4970 { test "$extra_verbose" = "yes" && cat << \EOF |
4976 Defining HAVE_INVERSE_HYPERBOLIC | 4971 Defining HAVE_INVERSE_HYPERBOLIC |
4977 EOF | 4972 EOF |
4978 cat >> confdefs.h <<\EOF | 4973 cat >> confdefs.h <<\EOF |
4987 rm -f conftest* | 4982 rm -f conftest* |
4988 | 4983 |
4989 for ac_func in mkstemp | 4984 for ac_func in mkstemp |
4990 do | 4985 do |
4991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4992 echo "configure:4993: checking for $ac_func" >&5 | 4987 echo "configure:4988: checking for $ac_func" >&5 |
4993 | 4988 |
4994 cat > conftest.$ac_ext <<EOF | 4989 cat > conftest.$ac_ext <<EOF |
4995 #line 4996 "configure" | 4990 #line 4991 "configure" |
4996 #include "confdefs.h" | 4991 #include "confdefs.h" |
4997 /* System header to define __stub macros and hopefully few prototypes, | 4992 /* System header to define __stub macros and hopefully few prototypes, |
4998 which can conflict with char $ac_func(); below. */ | 4993 which can conflict with char $ac_func(); below. */ |
4999 #include <assert.h> | 4994 #include <assert.h> |
5000 /* Override any gcc2 internal prototype to avoid an error. */ | 4995 /* Override any gcc2 internal prototype to avoid an error. */ |
5013 $ac_func(); | 5008 $ac_func(); |
5014 #endif | 5009 #endif |
5015 | 5010 |
5016 ; return 0; } | 5011 ; return 0; } |
5017 EOF | 5012 EOF |
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5013 if { (eval echo configure:5014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5019 rm -rf conftest* | 5014 rm -rf conftest* |
5020 eval "ac_cv_func_$ac_func=yes" | 5015 eval "ac_cv_func_$ac_func=yes" |
5021 else | 5016 else |
5022 echo "configure: failed program was:" >&5 | 5017 echo "configure: failed program was:" >&5 |
5023 cat conftest.$ac_ext >&5 | 5018 cat conftest.$ac_ext >&5 |
5042 fi | 5037 fi |
5043 done | 5038 done |
5044 | 5039 |
5045 | 5040 |
5046 echo "checking type of mail spool file locking" 1>&6 | 5041 echo "checking type of mail spool file locking" 1>&6 |
5047 echo "configure:5048: checking type of mail spool file locking" >&5 | 5042 echo "configure:5043: checking type of mail spool file locking" >&5 |
5048 for ac_func in lockf flock | 5043 for ac_func in lockf flock |
5049 do | 5044 do |
5050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking for $ac_func" >&5 | 5046 echo "configure:5047: checking for $ac_func" >&5 |
5052 | 5047 |
5053 cat > conftest.$ac_ext <<EOF | 5048 cat > conftest.$ac_ext <<EOF |
5054 #line 5055 "configure" | 5049 #line 5050 "configure" |
5055 #include "confdefs.h" | 5050 #include "confdefs.h" |
5056 /* System header to define __stub macros and hopefully few prototypes, | 5051 /* System header to define __stub macros and hopefully few prototypes, |
5057 which can conflict with char $ac_func(); below. */ | 5052 which can conflict with char $ac_func(); below. */ |
5058 #include <assert.h> | 5053 #include <assert.h> |
5059 /* Override any gcc2 internal prototype to avoid an error. */ | 5054 /* Override any gcc2 internal prototype to avoid an error. */ |
5072 $ac_func(); | 5067 $ac_func(); |
5073 #endif | 5068 #endif |
5074 | 5069 |
5075 ; return 0; } | 5070 ; return 0; } |
5076 EOF | 5071 EOF |
5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5078 rm -rf conftest* | 5073 rm -rf conftest* |
5079 eval "ac_cv_func_$ac_func=yes" | 5074 eval "ac_cv_func_$ac_func=yes" |
5080 else | 5075 else |
5081 echo "configure: failed program was:" >&5 | 5076 echo "configure: failed program was:" >&5 |
5082 cat conftest.$ac_ext >&5 | 5077 cat conftest.$ac_ext >&5 |
5154 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5149 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5155 | 5150 |
5156 case "$opsys" in decosf*) | 5151 case "$opsys" in decosf*) |
5157 | 5152 |
5158 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5153 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5159 echo "configure:5160: checking for cma_open in -lpthreads" >&5 | 5154 echo "configure:5155: checking for cma_open in -lpthreads" >&5 |
5160 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5155 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5161 | 5156 |
5162 xe_check_libs=" -lpthreads " | 5157 xe_check_libs=" -lpthreads " |
5163 cat > conftest.$ac_ext <<EOF | 5158 cat > conftest.$ac_ext <<EOF |
5164 #line 5165 "configure" | 5159 #line 5160 "configure" |
5165 #include "confdefs.h" | 5160 #include "confdefs.h" |
5166 /* Override any gcc2 internal prototype to avoid an error. */ | 5161 /* Override any gcc2 internal prototype to avoid an error. */ |
5167 /* We use char because int might match the return type of a gcc2 | 5162 /* We use char because int might match the return type of a gcc2 |
5168 builtin and then its argument prototype would still apply. */ | 5163 builtin and then its argument prototype would still apply. */ |
5169 char cma_open(); | 5164 char cma_open(); |
5170 | 5165 |
5171 int main() { | 5166 int main() { |
5172 cma_open() | 5167 cma_open() |
5173 ; return 0; } | 5168 ; return 0; } |
5174 EOF | 5169 EOF |
5175 if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5170 if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5176 rm -rf conftest* | 5171 rm -rf conftest* |
5177 eval "ac_cv_lib_$ac_lib_var=yes" | 5172 eval "ac_cv_lib_$ac_lib_var=yes" |
5178 else | 5173 else |
5179 echo "configure: failed program was:" >&5 | 5174 echo "configure: failed program was:" >&5 |
5180 cat conftest.$ac_ext >&5 | 5175 cat conftest.$ac_ext >&5 |
5207 c_switch_site="$c_switch_site -threads" ;; | 5202 c_switch_site="$c_switch_site -threads" ;; |
5208 esac | 5203 esac |
5209 | 5204 |
5210 | 5205 |
5211 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5206 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5212 echo "configure:5213: checking whether the -xildoff compiler flag is required" >&5 | 5207 echo "configure:5208: checking whether the -xildoff compiler flag is required" >&5 |
5213 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5208 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5214 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5209 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5215 then echo "$ac_t""no" 1>&6; | 5210 then echo "$ac_t""no" 1>&6; |
5216 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 | 5211 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 |
5217 fi | 5212 fi |
5219 fi | 5214 fi |
5220 | 5215 |
5221 if test "$opsys" = "sol2"; then | 5216 if test "$opsys" = "sol2"; then |
5222 if test "$os_release" -ge 56; then | 5217 if test "$os_release" -ge 56; then |
5223 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5218 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5224 echo "configure:5225: checking for \"-z ignore\" linker flag" >&5 | 5219 echo "configure:5220: checking for \"-z ignore\" linker flag" >&5 |
5225 case "`ld -h 2>&1`" in | 5220 case "`ld -h 2>&1`" in |
5226 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5221 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5227 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5222 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5228 *) echo "$ac_t""no" 1>&6 ;; | 5223 *) echo "$ac_t""no" 1>&6 ;; |
5229 esac | 5224 esac |
5230 fi | 5225 fi |
5231 fi | 5226 fi |
5232 | 5227 |
5233 | 5228 |
5234 echo "checking "for specified window system"" 1>&6 | 5229 echo "checking "for specified window system"" 1>&6 |
5235 echo "configure:5236: checking "for specified window system"" >&5 | 5230 echo "configure:5231: checking "for specified window system"" >&5 |
5236 | 5231 |
5237 | 5232 |
5238 GNOME_CONFIG=no | 5233 GNOME_CONFIG=no |
5239 GTK_CONFIG=no | 5234 GTK_CONFIG=no |
5240 | 5235 |
5241 if test "$with_gnome" != "no"; then | 5236 if test "$with_gnome" != "no"; then |
5242 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5237 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5243 echo "configure:5244: checking for GNOME configuration script" >&5 | 5238 echo "configure:5239: checking for GNOME configuration script" >&5 |
5244 for possible in gnome-config | 5239 for possible in gnome-config |
5245 do | 5240 do |
5246 possible_version=`${possible} --version 2> /dev/null` | 5241 possible_version=`${possible} --version 2> /dev/null` |
5247 if test "x${possible_version}" != "x"; then | 5242 if test "x${possible_version}" != "x"; then |
5248 GNOME_CONFIG="${possible}" | 5243 GNOME_CONFIG="${possible}" |
5269 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5264 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5270 fi | 5265 fi |
5271 | 5266 |
5272 if test "$with_gtk" != "no";then | 5267 if test "$with_gtk" != "no";then |
5273 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5268 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5274 echo "configure:5275: checking for GTK configuration script" >&5 | 5269 echo "configure:5270: checking for GTK configuration script" >&5 |
5275 for possible in gtk12-config gtk14-config gtk-config | 5270 for possible in gtk12-config gtk14-config gtk-config |
5276 do | 5271 do |
5277 possible_version=`${possible} --version 2> /dev/null` | 5272 possible_version=`${possible} --version 2> /dev/null` |
5278 if test "x${possible_version}" != "x"; then | 5273 if test "x${possible_version}" != "x"; then |
5279 GTK_CONFIG="${possible}" | 5274 GTK_CONFIG="${possible}" |
5291 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5286 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5292 fi | 5287 fi |
5293 | 5288 |
5294 if test "${GTK_CONFIG}" != "no"; then | 5289 if test "${GTK_CONFIG}" != "no"; then |
5295 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5290 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5296 echo "configure:5297: checking gtk version" >&5 | 5291 echo "configure:5292: checking gtk version" >&5 |
5297 GTK_VERSION=`${GTK_CONFIG} --version` | 5292 GTK_VERSION=`${GTK_CONFIG} --version` |
5298 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5293 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5299 | 5294 |
5300 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5295 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5301 echo "configure:5302: checking gtk libs" >&5 | 5296 echo "configure:5297: checking gtk libs" >&5 |
5302 GTK_LIBS=`${GTK_CONFIG} --libs` | 5297 GTK_LIBS=`${GTK_CONFIG} --libs` |
5303 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5298 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5304 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5299 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5305 | 5300 |
5306 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5301 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5307 echo "configure:5308: checking gtk cflags" >&5 | 5302 echo "configure:5303: checking gtk cflags" >&5 |
5308 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5303 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5309 if test "$GCC" = "yes"; then | 5304 if test "$GCC" = "yes"; then |
5310 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5305 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5311 fi | 5306 fi |
5312 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5307 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5313 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5308 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5314 | 5309 |
5315 | 5310 |
5316 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5311 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5317 echo "configure:5318: checking for main in -lgdk_imlib" >&5 | 5312 echo "configure:5313: checking for main in -lgdk_imlib" >&5 |
5318 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5313 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5319 | 5314 |
5320 xe_check_libs=" -lgdk_imlib " | 5315 xe_check_libs=" -lgdk_imlib " |
5321 cat > conftest.$ac_ext <<EOF | 5316 cat > conftest.$ac_ext <<EOF |
5322 #line 5323 "configure" | 5317 #line 5318 "configure" |
5323 #include "confdefs.h" | 5318 #include "confdefs.h" |
5324 | 5319 |
5325 int main() { | 5320 int main() { |
5326 main() | 5321 main() |
5327 ; return 0; } | 5322 ; return 0; } |
5328 EOF | 5323 EOF |
5329 if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5324 if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5330 rm -rf conftest* | 5325 rm -rf conftest* |
5331 eval "ac_cv_lib_$ac_lib_var=yes" | 5326 eval "ac_cv_lib_$ac_lib_var=yes" |
5332 else | 5327 else |
5333 echo "configure: failed program was:" >&5 | 5328 echo "configure: failed program was:" >&5 |
5334 cat conftest.$ac_ext >&5 | 5329 cat conftest.$ac_ext >&5 |
5346 fi | 5341 fi |
5347 | 5342 |
5348 | 5343 |
5349 | 5344 |
5350 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5345 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5351 echo "configure:5352: checking for Imlib_init in -lImlib" >&5 | 5346 echo "configure:5347: checking for Imlib_init in -lImlib" >&5 |
5352 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5347 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5353 | 5348 |
5354 xe_check_libs=" -lImlib " | 5349 xe_check_libs=" -lImlib " |
5355 cat > conftest.$ac_ext <<EOF | 5350 cat > conftest.$ac_ext <<EOF |
5356 #line 5357 "configure" | 5351 #line 5352 "configure" |
5357 #include "confdefs.h" | 5352 #include "confdefs.h" |
5358 /* Override any gcc2 internal prototype to avoid an error. */ | 5353 /* Override any gcc2 internal prototype to avoid an error. */ |
5359 /* We use char because int might match the return type of a gcc2 | 5354 /* We use char because int might match the return type of a gcc2 |
5360 builtin and then its argument prototype would still apply. */ | 5355 builtin and then its argument prototype would still apply. */ |
5361 char Imlib_init(); | 5356 char Imlib_init(); |
5362 | 5357 |
5363 int main() { | 5358 int main() { |
5364 Imlib_init() | 5359 Imlib_init() |
5365 ; return 0; } | 5360 ; return 0; } |
5366 EOF | 5361 EOF |
5367 if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5362 if { (eval echo configure:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5368 rm -rf conftest* | 5363 rm -rf conftest* |
5369 eval "ac_cv_lib_$ac_lib_var=yes" | 5364 eval "ac_cv_lib_$ac_lib_var=yes" |
5370 else | 5365 else |
5371 echo "configure: failed program was:" >&5 | 5366 echo "configure: failed program was:" >&5 |
5372 cat conftest.$ac_ext >&5 | 5367 cat conftest.$ac_ext >&5 |
5385 | 5380 |
5386 | 5381 |
5387 for ac_func in gdk_imlib_init | 5382 for ac_func in gdk_imlib_init |
5388 do | 5383 do |
5389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5390 echo "configure:5391: checking for $ac_func" >&5 | 5385 echo "configure:5386: checking for $ac_func" >&5 |
5391 | 5386 |
5392 cat > conftest.$ac_ext <<EOF | 5387 cat > conftest.$ac_ext <<EOF |
5393 #line 5394 "configure" | 5388 #line 5389 "configure" |
5394 #include "confdefs.h" | 5389 #include "confdefs.h" |
5395 /* System header to define __stub macros and hopefully few prototypes, | 5390 /* System header to define __stub macros and hopefully few prototypes, |
5396 which can conflict with char $ac_func(); below. */ | 5391 which can conflict with char $ac_func(); below. */ |
5397 #include <assert.h> | 5392 #include <assert.h> |
5398 /* Override any gcc2 internal prototype to avoid an error. */ | 5393 /* Override any gcc2 internal prototype to avoid an error. */ |
5411 $ac_func(); | 5406 $ac_func(); |
5412 #endif | 5407 #endif |
5413 | 5408 |
5414 ; return 0; } | 5409 ; return 0; } |
5415 EOF | 5410 EOF |
5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5411 if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5417 rm -rf conftest* | 5412 rm -rf conftest* |
5418 eval "ac_cv_func_$ac_func=yes" | 5413 eval "ac_cv_func_$ac_func=yes" |
5419 else | 5414 else |
5420 echo "configure: failed program was:" >&5 | 5415 echo "configure: failed program was:" >&5 |
5421 cat conftest.$ac_ext >&5 | 5416 cat conftest.$ac_ext >&5 |
5477 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5472 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5478 for ac_hdr in glade/glade.h glade.h | 5473 for ac_hdr in glade/glade.h glade.h |
5479 do | 5474 do |
5480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5482 echo "configure:5483: checking for $ac_hdr" >&5 | 5477 echo "configure:5478: checking for $ac_hdr" >&5 |
5483 | 5478 |
5484 cat > conftest.$ac_ext <<EOF | 5479 cat > conftest.$ac_ext <<EOF |
5485 #line 5486 "configure" | 5480 #line 5481 "configure" |
5486 #include "confdefs.h" | 5481 #include "confdefs.h" |
5487 #include <$ac_hdr> | 5482 #include <$ac_hdr> |
5488 EOF | 5483 EOF |
5489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5490 { (eval echo configure:5491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5485 { (eval echo configure:5486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5492 if test -z "$ac_err"; then | 5487 if test -z "$ac_err"; then |
5493 rm -rf conftest* | 5488 rm -rf conftest* |
5494 eval "ac_cv_header_$ac_safe=yes" | 5489 eval "ac_cv_header_$ac_safe=yes" |
5495 else | 5490 else |
5516 fi | 5511 fi |
5517 done | 5512 done |
5518 | 5513 |
5519 | 5514 |
5520 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5515 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5521 echo "configure:5522: checking for main in -lxml" >&5 | 5516 echo "configure:5517: checking for main in -lxml" >&5 |
5522 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5517 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5523 | 5518 |
5524 xe_check_libs=" -lxml " | 5519 xe_check_libs=" -lxml " |
5525 cat > conftest.$ac_ext <<EOF | 5520 cat > conftest.$ac_ext <<EOF |
5526 #line 5527 "configure" | 5521 #line 5522 "configure" |
5527 #include "confdefs.h" | 5522 #include "confdefs.h" |
5528 | 5523 |
5529 int main() { | 5524 int main() { |
5530 main() | 5525 main() |
5531 ; return 0; } | 5526 ; return 0; } |
5532 EOF | 5527 EOF |
5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5528 if { (eval echo configure:5529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5534 rm -rf conftest* | 5529 rm -rf conftest* |
5535 eval "ac_cv_lib_$ac_lib_var=yes" | 5530 eval "ac_cv_lib_$ac_lib_var=yes" |
5536 else | 5531 else |
5537 echo "configure: failed program was:" >&5 | 5532 echo "configure: failed program was:" >&5 |
5538 cat conftest.$ac_ext >&5 | 5533 cat conftest.$ac_ext >&5 |
5550 fi | 5545 fi |
5551 | 5546 |
5552 | 5547 |
5553 | 5548 |
5554 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5549 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5555 echo "configure:5556: checking for main in -lglade" >&5 | 5550 echo "configure:5551: checking for main in -lglade" >&5 |
5556 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5551 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5557 | 5552 |
5558 xe_check_libs=" -lglade " | 5553 xe_check_libs=" -lglade " |
5559 cat > conftest.$ac_ext <<EOF | 5554 cat > conftest.$ac_ext <<EOF |
5560 #line 5561 "configure" | 5555 #line 5556 "configure" |
5561 #include "confdefs.h" | 5556 #include "confdefs.h" |
5562 | 5557 |
5563 int main() { | 5558 int main() { |
5564 main() | 5559 main() |
5565 ; return 0; } | 5560 ; return 0; } |
5566 EOF | 5561 EOF |
5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5562 if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5568 rm -rf conftest* | 5563 rm -rf conftest* |
5569 eval "ac_cv_lib_$ac_lib_var=yes" | 5564 eval "ac_cv_lib_$ac_lib_var=yes" |
5570 else | 5565 else |
5571 echo "configure: failed program was:" >&5 | 5566 echo "configure: failed program was:" >&5 |
5572 cat conftest.$ac_ext >&5 | 5567 cat conftest.$ac_ext >&5 |
5584 fi | 5579 fi |
5585 | 5580 |
5586 | 5581 |
5587 | 5582 |
5588 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5583 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5589 echo "configure:5590: checking for main in -lglade-gnome" >&5 | 5584 echo "configure:5585: checking for main in -lglade-gnome" >&5 |
5590 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5585 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5591 | 5586 |
5592 xe_check_libs=" -lglade-gnome " | 5587 xe_check_libs=" -lglade-gnome " |
5593 cat > conftest.$ac_ext <<EOF | 5588 cat > conftest.$ac_ext <<EOF |
5594 #line 5595 "configure" | 5589 #line 5590 "configure" |
5595 #include "confdefs.h" | 5590 #include "confdefs.h" |
5596 | 5591 |
5597 int main() { | 5592 int main() { |
5598 main() | 5593 main() |
5599 ; return 0; } | 5594 ; return 0; } |
5600 EOF | 5595 EOF |
5601 if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5602 rm -rf conftest* | 5597 rm -rf conftest* |
5603 eval "ac_cv_lib_$ac_lib_var=yes" | 5598 eval "ac_cv_lib_$ac_lib_var=yes" |
5604 else | 5599 else |
5605 echo "configure: failed program was:" >&5 | 5600 echo "configure: failed program was:" >&5 |
5606 cat conftest.$ac_ext >&5 | 5601 cat conftest.$ac_ext >&5 |
5617 echo "$ac_t""no" 1>&6 | 5612 echo "$ac_t""no" 1>&6 |
5618 fi | 5613 fi |
5619 | 5614 |
5620 | 5615 |
5621 cat > conftest.$ac_ext <<EOF | 5616 cat > conftest.$ac_ext <<EOF |
5622 #line 5623 "configure" | 5617 #line 5618 "configure" |
5623 #include "confdefs.h" | 5618 #include "confdefs.h" |
5624 #include <glade/glade-xml.h> | 5619 #include <glade/glade-xml.h> |
5625 EOF | 5620 EOF |
5626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5627 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5622 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5676 # If we find X, set shell vars x_includes and x_libraries to the | 5671 # If we find X, set shell vars x_includes and x_libraries to the |
5677 # paths, otherwise set no_x=yes. | 5672 # paths, otherwise set no_x=yes. |
5678 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5673 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5679 # --without-x overrides everything else, but does not touch the cache. | 5674 # --without-x overrides everything else, but does not touch the cache. |
5680 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5675 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5681 echo "configure:5682: checking for X" >&5 | 5676 echo "configure:5677: checking for X" >&5 |
5682 | 5677 |
5683 # Check whether --with-x or --without-x was given. | 5678 # Check whether --with-x or --without-x was given. |
5684 if test "${with_x+set}" = set; then | 5679 if test "${with_x+set}" = set; then |
5685 withval="$with_x" | 5680 withval="$with_x" |
5686 : | 5681 : |
5736 # Guess where to find include files, by looking for this one X11 .h file. | 5731 # Guess where to find include files, by looking for this one X11 .h file. |
5737 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5732 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5738 | 5733 |
5739 # First, try using that file with no special directory specified. | 5734 # First, try using that file with no special directory specified. |
5740 cat > conftest.$ac_ext <<EOF | 5735 cat > conftest.$ac_ext <<EOF |
5741 #line 5742 "configure" | 5736 #line 5737 "configure" |
5742 #include "confdefs.h" | 5737 #include "confdefs.h" |
5743 #include <$x_direct_test_include> | 5738 #include <$x_direct_test_include> |
5744 EOF | 5739 EOF |
5745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5746 { (eval echo configure:5747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5741 { (eval echo configure:5742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5748 if test -z "$ac_err"; then | 5743 if test -z "$ac_err"; then |
5749 rm -rf conftest* | 5744 rm -rf conftest* |
5750 # We can compile using X headers with no special include directory. | 5745 # We can compile using X headers with no special include directory. |
5751 ac_x_includes= | 5746 ac_x_includes= |
5810 # See if we find them without any special options. | 5805 # See if we find them without any special options. |
5811 # Don't add to $LIBS permanently. | 5806 # Don't add to $LIBS permanently. |
5812 ac_save_LIBS="$LIBS" | 5807 ac_save_LIBS="$LIBS" |
5813 LIBS="-l$x_direct_test_library $LIBS" | 5808 LIBS="-l$x_direct_test_library $LIBS" |
5814 cat > conftest.$ac_ext <<EOF | 5809 cat > conftest.$ac_ext <<EOF |
5815 #line 5816 "configure" | 5810 #line 5811 "configure" |
5816 #include "confdefs.h" | 5811 #include "confdefs.h" |
5817 | 5812 |
5818 int main() { | 5813 int main() { |
5819 ${x_direct_test_function}() | 5814 ${x_direct_test_function}() |
5820 ; return 0; } | 5815 ; return 0; } |
5821 EOF | 5816 EOF |
5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5823 rm -rf conftest* | 5818 rm -rf conftest* |
5824 LIBS="$ac_save_LIBS" | 5819 LIBS="$ac_save_LIBS" |
5825 # We can link X programs with no special library path. | 5820 # We can link X programs with no special library path. |
5826 ac_x_libraries= | 5821 ac_x_libraries= |
5827 else | 5822 else |
5926 # For Solaris; some versions of Sun CC require a space after -R and | 5921 # For Solaris; some versions of Sun CC require a space after -R and |
5927 # others require no space. Words are not sufficient . . . . | 5922 # others require no space. Words are not sufficient . . . . |
5928 case "`(uname -sr) 2>/dev/null`" in | 5923 case "`(uname -sr) 2>/dev/null`" in |
5929 "SunOS 5"*) | 5924 "SunOS 5"*) |
5930 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5925 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5931 echo "configure:5932: checking whether -R must be followed by a space" >&5 | 5926 echo "configure:5927: checking whether -R must be followed by a space" >&5 |
5932 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5927 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5933 cat > conftest.$ac_ext <<EOF | 5928 cat > conftest.$ac_ext <<EOF |
5934 #line 5935 "configure" | 5929 #line 5930 "configure" |
5935 #include "confdefs.h" | 5930 #include "confdefs.h" |
5936 | 5931 |
5937 int main() { | 5932 int main() { |
5938 | 5933 |
5939 ; return 0; } | 5934 ; return 0; } |
5940 EOF | 5935 EOF |
5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5936 if { (eval echo configure:5937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5942 rm -rf conftest* | 5937 rm -rf conftest* |
5943 ac_R_nospace=yes | 5938 ac_R_nospace=yes |
5944 else | 5939 else |
5945 echo "configure: failed program was:" >&5 | 5940 echo "configure: failed program was:" >&5 |
5946 cat conftest.$ac_ext >&5 | 5941 cat conftest.$ac_ext >&5 |
5952 echo "$ac_t""no" 1>&6 | 5947 echo "$ac_t""no" 1>&6 |
5953 X_LIBS="$X_LIBS -R$x_libraries" | 5948 X_LIBS="$X_LIBS -R$x_libraries" |
5954 else | 5949 else |
5955 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5950 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5956 cat > conftest.$ac_ext <<EOF | 5951 cat > conftest.$ac_ext <<EOF |
5957 #line 5958 "configure" | 5952 #line 5953 "configure" |
5958 #include "confdefs.h" | 5953 #include "confdefs.h" |
5959 | 5954 |
5960 int main() { | 5955 int main() { |
5961 | 5956 |
5962 ; return 0; } | 5957 ; return 0; } |
5963 EOF | 5958 EOF |
5964 if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5959 if { (eval echo configure:5960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5965 rm -rf conftest* | 5960 rm -rf conftest* |
5966 ac_R_space=yes | 5961 ac_R_space=yes |
5967 else | 5962 else |
5968 echo "configure: failed program was:" >&5 | 5963 echo "configure: failed program was:" >&5 |
5969 cat conftest.$ac_ext >&5 | 5964 cat conftest.$ac_ext >&5 |
5995 if test "$with_dnet" = "no" ; then | 5990 if test "$with_dnet" = "no" ; then |
5996 ac_cv_lib_dnet_dnet_ntoa=no | 5991 ac_cv_lib_dnet_dnet_ntoa=no |
5997 else | 5992 else |
5998 | 5993 |
5999 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5994 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6000 echo "configure:6001: checking for dnet_ntoa in -ldnet" >&5 | 5995 echo "configure:5996: checking for dnet_ntoa in -ldnet" >&5 |
6001 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5996 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6002 | 5997 |
6003 xe_check_libs=" -ldnet " | 5998 xe_check_libs=" -ldnet " |
6004 cat > conftest.$ac_ext <<EOF | 5999 cat > conftest.$ac_ext <<EOF |
6005 #line 6006 "configure" | 6000 #line 6001 "configure" |
6006 #include "confdefs.h" | 6001 #include "confdefs.h" |
6007 /* Override any gcc2 internal prototype to avoid an error. */ | 6002 /* Override any gcc2 internal prototype to avoid an error. */ |
6008 /* We use char because int might match the return type of a gcc2 | 6003 /* We use char because int might match the return type of a gcc2 |
6009 builtin and then its argument prototype would still apply. */ | 6004 builtin and then its argument prototype would still apply. */ |
6010 char dnet_ntoa(); | 6005 char dnet_ntoa(); |
6011 | 6006 |
6012 int main() { | 6007 int main() { |
6013 dnet_ntoa() | 6008 dnet_ntoa() |
6014 ; return 0; } | 6009 ; return 0; } |
6015 EOF | 6010 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6017 rm -rf conftest* | 6012 rm -rf conftest* |
6018 eval "ac_cv_lib_$ac_lib_var=yes" | 6013 eval "ac_cv_lib_$ac_lib_var=yes" |
6019 else | 6014 else |
6020 echo "configure: failed program was:" >&5 | 6015 echo "configure: failed program was:" >&5 |
6021 cat conftest.$ac_ext >&5 | 6016 cat conftest.$ac_ext >&5 |
6035 fi | 6030 fi |
6036 | 6031 |
6037 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6032 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6038 | 6033 |
6039 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6034 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6040 echo "configure:6041: checking for dnet_ntoa in -ldnet_stub" >&5 | 6035 echo "configure:6036: checking for dnet_ntoa in -ldnet_stub" >&5 |
6041 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6036 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6042 | 6037 |
6043 xe_check_libs=" -ldnet_stub " | 6038 xe_check_libs=" -ldnet_stub " |
6044 cat > conftest.$ac_ext <<EOF | 6039 cat > conftest.$ac_ext <<EOF |
6045 #line 6046 "configure" | 6040 #line 6041 "configure" |
6046 #include "confdefs.h" | 6041 #include "confdefs.h" |
6047 /* Override any gcc2 internal prototype to avoid an error. */ | 6042 /* Override any gcc2 internal prototype to avoid an error. */ |
6048 /* We use char because int might match the return type of a gcc2 | 6043 /* We use char because int might match the return type of a gcc2 |
6049 builtin and then its argument prototype would still apply. */ | 6044 builtin and then its argument prototype would still apply. */ |
6050 char dnet_ntoa(); | 6045 char dnet_ntoa(); |
6051 | 6046 |
6052 int main() { | 6047 int main() { |
6053 dnet_ntoa() | 6048 dnet_ntoa() |
6054 ; return 0; } | 6049 ; return 0; } |
6055 EOF | 6050 EOF |
6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6051 if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6057 rm -rf conftest* | 6052 rm -rf conftest* |
6058 eval "ac_cv_lib_$ac_lib_var=yes" | 6053 eval "ac_cv_lib_$ac_lib_var=yes" |
6059 else | 6054 else |
6060 echo "configure: failed program was:" >&5 | 6055 echo "configure: failed program was:" >&5 |
6061 cat conftest.$ac_ext >&5 | 6056 cat conftest.$ac_ext >&5 |
6080 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6075 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6081 # needs -lnsl. | 6076 # needs -lnsl. |
6082 # The nsl library prevents programs from opening the X display | 6077 # The nsl library prevents programs from opening the X display |
6083 # on Irix 5.2, according to dickey@clark.net. | 6078 # on Irix 5.2, according to dickey@clark.net. |
6084 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6079 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6085 echo "configure:6086: checking for gethostbyname" >&5 | 6080 echo "configure:6081: checking for gethostbyname" >&5 |
6086 | 6081 |
6087 cat > conftest.$ac_ext <<EOF | 6082 cat > conftest.$ac_ext <<EOF |
6088 #line 6089 "configure" | 6083 #line 6084 "configure" |
6089 #include "confdefs.h" | 6084 #include "confdefs.h" |
6090 /* System header to define __stub macros and hopefully few prototypes, | 6085 /* System header to define __stub macros and hopefully few prototypes, |
6091 which can conflict with char gethostbyname(); below. */ | 6086 which can conflict with char gethostbyname(); below. */ |
6092 #include <assert.h> | 6087 #include <assert.h> |
6093 /* Override any gcc2 internal prototype to avoid an error. */ | 6088 /* Override any gcc2 internal prototype to avoid an error. */ |
6106 gethostbyname(); | 6101 gethostbyname(); |
6107 #endif | 6102 #endif |
6108 | 6103 |
6109 ; return 0; } | 6104 ; return 0; } |
6110 EOF | 6105 EOF |
6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6112 rm -rf conftest* | 6107 rm -rf conftest* |
6113 eval "ac_cv_func_gethostbyname=yes" | 6108 eval "ac_cv_func_gethostbyname=yes" |
6114 else | 6109 else |
6115 echo "configure: failed program was:" >&5 | 6110 echo "configure: failed program was:" >&5 |
6116 cat conftest.$ac_ext >&5 | 6111 cat conftest.$ac_ext >&5 |
6127 fi | 6122 fi |
6128 | 6123 |
6129 if test $ac_cv_func_gethostbyname = no; then | 6124 if test $ac_cv_func_gethostbyname = no; then |
6130 | 6125 |
6131 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6126 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6132 echo "configure:6133: checking for gethostbyname in -lnsl" >&5 | 6127 echo "configure:6128: checking for gethostbyname in -lnsl" >&5 |
6133 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6128 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6134 | 6129 |
6135 xe_check_libs=" -lnsl " | 6130 xe_check_libs=" -lnsl " |
6136 cat > conftest.$ac_ext <<EOF | 6131 cat > conftest.$ac_ext <<EOF |
6137 #line 6138 "configure" | 6132 #line 6133 "configure" |
6138 #include "confdefs.h" | 6133 #include "confdefs.h" |
6139 /* Override any gcc2 internal prototype to avoid an error. */ | 6134 /* Override any gcc2 internal prototype to avoid an error. */ |
6140 /* We use char because int might match the return type of a gcc2 | 6135 /* We use char because int might match the return type of a gcc2 |
6141 builtin and then its argument prototype would still apply. */ | 6136 builtin and then its argument prototype would still apply. */ |
6142 char gethostbyname(); | 6137 char gethostbyname(); |
6143 | 6138 |
6144 int main() { | 6139 int main() { |
6145 gethostbyname() | 6140 gethostbyname() |
6146 ; return 0; } | 6141 ; return 0; } |
6147 EOF | 6142 EOF |
6148 if { (eval echo configure:6149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6149 rm -rf conftest* | 6144 rm -rf conftest* |
6150 eval "ac_cv_lib_$ac_lib_var=yes" | 6145 eval "ac_cv_lib_$ac_lib_var=yes" |
6151 else | 6146 else |
6152 echo "configure: failed program was:" >&5 | 6147 echo "configure: failed program was:" >&5 |
6153 cat conftest.$ac_ext >&5 | 6148 cat conftest.$ac_ext >&5 |
6173 # on later versions), says simon@lia.di.epfl.ch: it contains | 6168 # on later versions), says simon@lia.di.epfl.ch: it contains |
6174 # gethostby* variants that don't use the nameserver (or something). | 6169 # gethostby* variants that don't use the nameserver (or something). |
6175 # -lsocket must be given before -lnsl if both are needed. | 6170 # -lsocket must be given before -lnsl if both are needed. |
6176 # We assume that if connect needs -lnsl, so does gethostbyname. | 6171 # We assume that if connect needs -lnsl, so does gethostbyname. |
6177 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6172 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6178 echo "configure:6179: checking for connect" >&5 | 6173 echo "configure:6174: checking for connect" >&5 |
6179 | 6174 |
6180 cat > conftest.$ac_ext <<EOF | 6175 cat > conftest.$ac_ext <<EOF |
6181 #line 6182 "configure" | 6176 #line 6177 "configure" |
6182 #include "confdefs.h" | 6177 #include "confdefs.h" |
6183 /* System header to define __stub macros and hopefully few prototypes, | 6178 /* System header to define __stub macros and hopefully few prototypes, |
6184 which can conflict with char connect(); below. */ | 6179 which can conflict with char connect(); below. */ |
6185 #include <assert.h> | 6180 #include <assert.h> |
6186 /* Override any gcc2 internal prototype to avoid an error. */ | 6181 /* Override any gcc2 internal prototype to avoid an error. */ |
6199 connect(); | 6194 connect(); |
6200 #endif | 6195 #endif |
6201 | 6196 |
6202 ; return 0; } | 6197 ; return 0; } |
6203 EOF | 6198 EOF |
6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6199 if { (eval echo configure:6200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6205 rm -rf conftest* | 6200 rm -rf conftest* |
6206 eval "ac_cv_func_connect=yes" | 6201 eval "ac_cv_func_connect=yes" |
6207 else | 6202 else |
6208 echo "configure: failed program was:" >&5 | 6203 echo "configure: failed program was:" >&5 |
6209 cat conftest.$ac_ext >&5 | 6204 cat conftest.$ac_ext >&5 |
6222 if test $ac_cv_func_connect = no; then | 6217 if test $ac_cv_func_connect = no; then |
6223 | 6218 |
6224 xe_msg_checking="for connect in -lsocket" | 6219 xe_msg_checking="for connect in -lsocket" |
6225 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6220 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6226 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6221 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6227 echo "configure:6228: checking "$xe_msg_checking"" >&5 | 6222 echo "configure:6223: checking "$xe_msg_checking"" >&5 |
6228 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6223 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6229 | 6224 |
6230 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6225 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6231 cat > conftest.$ac_ext <<EOF | 6226 cat > conftest.$ac_ext <<EOF |
6232 #line 6233 "configure" | 6227 #line 6228 "configure" |
6233 #include "confdefs.h" | 6228 #include "confdefs.h" |
6234 /* Override any gcc2 internal prototype to avoid an error. */ | 6229 /* Override any gcc2 internal prototype to avoid an error. */ |
6235 /* We use char because int might match the return type of a gcc2 | 6230 /* We use char because int might match the return type of a gcc2 |
6236 builtin and then its argument prototype would still apply. */ | 6231 builtin and then its argument prototype would still apply. */ |
6237 char connect(); | 6232 char connect(); |
6238 | 6233 |
6239 int main() { | 6234 int main() { |
6240 connect() | 6235 connect() |
6241 ; return 0; } | 6236 ; return 0; } |
6242 EOF | 6237 EOF |
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6244 rm -rf conftest* | 6239 rm -rf conftest* |
6245 eval "ac_cv_lib_$ac_lib_var=yes" | 6240 eval "ac_cv_lib_$ac_lib_var=yes" |
6246 else | 6241 else |
6247 echo "configure: failed program was:" >&5 | 6242 echo "configure: failed program was:" >&5 |
6248 cat conftest.$ac_ext >&5 | 6243 cat conftest.$ac_ext >&5 |
6262 | 6257 |
6263 fi | 6258 fi |
6264 | 6259 |
6265 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6260 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6266 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6261 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6267 echo "configure:6268: checking for remove" >&5 | 6262 echo "configure:6263: checking for remove" >&5 |
6268 | 6263 |
6269 cat > conftest.$ac_ext <<EOF | 6264 cat > conftest.$ac_ext <<EOF |
6270 #line 6271 "configure" | 6265 #line 6266 "configure" |
6271 #include "confdefs.h" | 6266 #include "confdefs.h" |
6272 /* System header to define __stub macros and hopefully few prototypes, | 6267 /* System header to define __stub macros and hopefully few prototypes, |
6273 which can conflict with char remove(); below. */ | 6268 which can conflict with char remove(); below. */ |
6274 #include <assert.h> | 6269 #include <assert.h> |
6275 /* Override any gcc2 internal prototype to avoid an error. */ | 6270 /* Override any gcc2 internal prototype to avoid an error. */ |
6288 remove(); | 6283 remove(); |
6289 #endif | 6284 #endif |
6290 | 6285 |
6291 ; return 0; } | 6286 ; return 0; } |
6292 EOF | 6287 EOF |
6293 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6288 if { (eval echo configure:6289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6294 rm -rf conftest* | 6289 rm -rf conftest* |
6295 eval "ac_cv_func_remove=yes" | 6290 eval "ac_cv_func_remove=yes" |
6296 else | 6291 else |
6297 echo "configure: failed program was:" >&5 | 6292 echo "configure: failed program was:" >&5 |
6298 cat conftest.$ac_ext >&5 | 6293 cat conftest.$ac_ext >&5 |
6309 fi | 6304 fi |
6310 | 6305 |
6311 if test $ac_cv_func_remove = no; then | 6306 if test $ac_cv_func_remove = no; then |
6312 | 6307 |
6313 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6308 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6314 echo "configure:6315: checking for remove in -lposix" >&5 | 6309 echo "configure:6310: checking for remove in -lposix" >&5 |
6315 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6310 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6316 | 6311 |
6317 xe_check_libs=" -lposix " | 6312 xe_check_libs=" -lposix " |
6318 cat > conftest.$ac_ext <<EOF | 6313 cat > conftest.$ac_ext <<EOF |
6319 #line 6320 "configure" | 6314 #line 6315 "configure" |
6320 #include "confdefs.h" | 6315 #include "confdefs.h" |
6321 /* Override any gcc2 internal prototype to avoid an error. */ | 6316 /* Override any gcc2 internal prototype to avoid an error. */ |
6322 /* We use char because int might match the return type of a gcc2 | 6317 /* We use char because int might match the return type of a gcc2 |
6323 builtin and then its argument prototype would still apply. */ | 6318 builtin and then its argument prototype would still apply. */ |
6324 char remove(); | 6319 char remove(); |
6325 | 6320 |
6326 int main() { | 6321 int main() { |
6327 remove() | 6322 remove() |
6328 ; return 0; } | 6323 ; return 0; } |
6329 EOF | 6324 EOF |
6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6325 if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6331 rm -rf conftest* | 6326 rm -rf conftest* |
6332 eval "ac_cv_lib_$ac_lib_var=yes" | 6327 eval "ac_cv_lib_$ac_lib_var=yes" |
6333 else | 6328 else |
6334 echo "configure: failed program was:" >&5 | 6329 echo "configure: failed program was:" >&5 |
6335 cat conftest.$ac_ext >&5 | 6330 cat conftest.$ac_ext >&5 |
6349 | 6344 |
6350 fi | 6345 fi |
6351 | 6346 |
6352 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6347 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6353 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6348 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6354 echo "configure:6355: checking for shmat" >&5 | 6349 echo "configure:6350: checking for shmat" >&5 |
6355 | 6350 |
6356 cat > conftest.$ac_ext <<EOF | 6351 cat > conftest.$ac_ext <<EOF |
6357 #line 6358 "configure" | 6352 #line 6353 "configure" |
6358 #include "confdefs.h" | 6353 #include "confdefs.h" |
6359 /* System header to define __stub macros and hopefully few prototypes, | 6354 /* System header to define __stub macros and hopefully few prototypes, |
6360 which can conflict with char shmat(); below. */ | 6355 which can conflict with char shmat(); below. */ |
6361 #include <assert.h> | 6356 #include <assert.h> |
6362 /* Override any gcc2 internal prototype to avoid an error. */ | 6357 /* Override any gcc2 internal prototype to avoid an error. */ |
6375 shmat(); | 6370 shmat(); |
6376 #endif | 6371 #endif |
6377 | 6372 |
6378 ; return 0; } | 6373 ; return 0; } |
6379 EOF | 6374 EOF |
6380 if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6375 if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6381 rm -rf conftest* | 6376 rm -rf conftest* |
6382 eval "ac_cv_func_shmat=yes" | 6377 eval "ac_cv_func_shmat=yes" |
6383 else | 6378 else |
6384 echo "configure: failed program was:" >&5 | 6379 echo "configure: failed program was:" >&5 |
6385 cat conftest.$ac_ext >&5 | 6380 cat conftest.$ac_ext >&5 |
6396 fi | 6391 fi |
6397 | 6392 |
6398 if test $ac_cv_func_shmat = no; then | 6393 if test $ac_cv_func_shmat = no; then |
6399 | 6394 |
6400 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6395 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6401 echo "configure:6402: checking for shmat in -lipc" >&5 | 6396 echo "configure:6397: checking for shmat in -lipc" >&5 |
6402 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6397 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6403 | 6398 |
6404 xe_check_libs=" -lipc " | 6399 xe_check_libs=" -lipc " |
6405 cat > conftest.$ac_ext <<EOF | 6400 cat > conftest.$ac_ext <<EOF |
6406 #line 6407 "configure" | 6401 #line 6402 "configure" |
6407 #include "confdefs.h" | 6402 #include "confdefs.h" |
6408 /* Override any gcc2 internal prototype to avoid an error. */ | 6403 /* Override any gcc2 internal prototype to avoid an error. */ |
6409 /* We use char because int might match the return type of a gcc2 | 6404 /* We use char because int might match the return type of a gcc2 |
6410 builtin and then its argument prototype would still apply. */ | 6405 builtin and then its argument prototype would still apply. */ |
6411 char shmat(); | 6406 char shmat(); |
6412 | 6407 |
6413 int main() { | 6408 int main() { |
6414 shmat() | 6409 shmat() |
6415 ; return 0; } | 6410 ; return 0; } |
6416 EOF | 6411 EOF |
6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6412 if { (eval echo configure:6413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6418 rm -rf conftest* | 6413 rm -rf conftest* |
6419 eval "ac_cv_lib_$ac_lib_var=yes" | 6414 eval "ac_cv_lib_$ac_lib_var=yes" |
6420 else | 6415 else |
6421 echo "configure: failed program was:" >&5 | 6416 echo "configure: failed program was:" >&5 |
6422 cat conftest.$ac_ext >&5 | 6417 cat conftest.$ac_ext >&5 |
6448 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6443 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6449 | 6444 |
6450 xe_msg_checking="for IceConnectionNumber in -lICE" | 6445 xe_msg_checking="for IceConnectionNumber in -lICE" |
6451 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6446 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6452 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6447 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6453 echo "configure:6454: checking "$xe_msg_checking"" >&5 | 6448 echo "configure:6449: checking "$xe_msg_checking"" >&5 |
6454 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6449 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6455 | 6450 |
6456 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6451 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6457 cat > conftest.$ac_ext <<EOF | 6452 cat > conftest.$ac_ext <<EOF |
6458 #line 6459 "configure" | 6453 #line 6454 "configure" |
6459 #include "confdefs.h" | 6454 #include "confdefs.h" |
6460 /* Override any gcc2 internal prototype to avoid an error. */ | 6455 /* Override any gcc2 internal prototype to avoid an error. */ |
6461 /* We use char because int might match the return type of a gcc2 | 6456 /* We use char because int might match the return type of a gcc2 |
6462 builtin and then its argument prototype would still apply. */ | 6457 builtin and then its argument prototype would still apply. */ |
6463 char IceConnectionNumber(); | 6458 char IceConnectionNumber(); |
6464 | 6459 |
6465 int main() { | 6460 int main() { |
6466 IceConnectionNumber() | 6461 IceConnectionNumber() |
6467 ; return 0; } | 6462 ; return 0; } |
6468 EOF | 6463 EOF |
6469 if { (eval echo configure:6470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6464 if { (eval echo configure:6465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6470 rm -rf conftest* | 6465 rm -rf conftest* |
6471 eval "ac_cv_lib_$ac_lib_var=yes" | 6466 eval "ac_cv_lib_$ac_lib_var=yes" |
6472 else | 6467 else |
6473 echo "configure: failed program was:" >&5 | 6468 echo "configure: failed program was:" >&5 |
6474 cat conftest.$ac_ext >&5 | 6469 cat conftest.$ac_ext >&5 |
6631 EOF | 6626 EOF |
6632 } | 6627 } |
6633 | 6628 |
6634 | 6629 |
6635 echo "checking for X defines extracted by xmkmf" 1>&6 | 6630 echo "checking for X defines extracted by xmkmf" 1>&6 |
6636 echo "configure:6637: checking for X defines extracted by xmkmf" >&5 | 6631 echo "configure:6632: checking for X defines extracted by xmkmf" >&5 |
6637 rm -fr conftestdir | 6632 rm -fr conftestdir |
6638 if mkdir conftestdir; then | 6633 if mkdir conftestdir; then |
6639 cd conftestdir | 6634 cd conftestdir |
6640 cat > Imakefile <<'EOF' | 6635 cat > Imakefile <<'EOF' |
6641 xetest: | 6636 xetest: |
6680 done | 6675 done |
6681 fi | 6676 fi |
6682 | 6677 |
6683 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6678 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6684 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6679 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6685 echo "configure:6686: checking for X11/Intrinsic.h" >&5 | 6680 echo "configure:6681: checking for X11/Intrinsic.h" >&5 |
6686 | 6681 |
6687 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6688 #line 6689 "configure" | 6683 #line 6684 "configure" |
6689 #include "confdefs.h" | 6684 #include "confdefs.h" |
6690 #include <X11/Intrinsic.h> | 6685 #include <X11/Intrinsic.h> |
6691 EOF | 6686 EOF |
6692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6693 { (eval echo configure:6694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6688 { (eval echo configure:6689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6695 if test -z "$ac_err"; then | 6690 if test -z "$ac_err"; then |
6696 rm -rf conftest* | 6691 rm -rf conftest* |
6697 eval "ac_cv_header_$ac_safe=yes" | 6692 eval "ac_cv_header_$ac_safe=yes" |
6698 else | 6693 else |
6712 fi | 6707 fi |
6713 | 6708 |
6714 | 6709 |
6715 | 6710 |
6716 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6711 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6717 echo "configure:6718: checking for XOpenDisplay in -lX11" >&5 | 6712 echo "configure:6713: checking for XOpenDisplay in -lX11" >&5 |
6718 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6713 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6719 | 6714 |
6720 xe_check_libs=" -lX11 " | 6715 xe_check_libs=" -lX11 " |
6721 cat > conftest.$ac_ext <<EOF | 6716 cat > conftest.$ac_ext <<EOF |
6722 #line 6723 "configure" | 6717 #line 6718 "configure" |
6723 #include "confdefs.h" | 6718 #include "confdefs.h" |
6724 /* Override any gcc2 internal prototype to avoid an error. */ | 6719 /* Override any gcc2 internal prototype to avoid an error. */ |
6725 /* We use char because int might match the return type of a gcc2 | 6720 /* We use char because int might match the return type of a gcc2 |
6726 builtin and then its argument prototype would still apply. */ | 6721 builtin and then its argument prototype would still apply. */ |
6727 char XOpenDisplay(); | 6722 char XOpenDisplay(); |
6728 | 6723 |
6729 int main() { | 6724 int main() { |
6730 XOpenDisplay() | 6725 XOpenDisplay() |
6731 ; return 0; } | 6726 ; return 0; } |
6732 EOF | 6727 EOF |
6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6728 if { (eval echo configure:6729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6734 rm -rf conftest* | 6729 rm -rf conftest* |
6735 eval "ac_cv_lib_$ac_lib_var=yes" | 6730 eval "ac_cv_lib_$ac_lib_var=yes" |
6736 else | 6731 else |
6737 echo "configure: failed program was:" >&5 | 6732 echo "configure: failed program was:" >&5 |
6738 cat conftest.$ac_ext >&5 | 6733 cat conftest.$ac_ext >&5 |
6753 if test "$have_lib_x11" != "yes"; then | 6748 if test "$have_lib_x11" != "yes"; then |
6754 | 6749 |
6755 xe_msg_checking="for XGetFontProperty in -lX11" | 6750 xe_msg_checking="for XGetFontProperty in -lX11" |
6756 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6751 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6757 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6752 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6758 echo "configure:6759: checking "$xe_msg_checking"" >&5 | 6753 echo "configure:6754: checking "$xe_msg_checking"" >&5 |
6759 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6754 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6760 | 6755 |
6761 xe_check_libs=" -lX11 -b i486-linuxaout" | 6756 xe_check_libs=" -lX11 -b i486-linuxaout" |
6762 cat > conftest.$ac_ext <<EOF | 6757 cat > conftest.$ac_ext <<EOF |
6763 #line 6764 "configure" | 6758 #line 6759 "configure" |
6764 #include "confdefs.h" | 6759 #include "confdefs.h" |
6765 /* Override any gcc2 internal prototype to avoid an error. */ | 6760 /* Override any gcc2 internal prototype to avoid an error. */ |
6766 /* We use char because int might match the return type of a gcc2 | 6761 /* We use char because int might match the return type of a gcc2 |
6767 builtin and then its argument prototype would still apply. */ | 6762 builtin and then its argument prototype would still apply. */ |
6768 char XGetFontProperty(); | 6763 char XGetFontProperty(); |
6769 | 6764 |
6770 int main() { | 6765 int main() { |
6771 XGetFontProperty() | 6766 XGetFontProperty() |
6772 ; return 0; } | 6767 ; return 0; } |
6773 EOF | 6768 EOF |
6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6769 if { (eval echo configure:6770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6775 rm -rf conftest* | 6770 rm -rf conftest* |
6776 eval "ac_cv_lib_$ac_lib_var=yes" | 6771 eval "ac_cv_lib_$ac_lib_var=yes" |
6777 else | 6772 else |
6778 echo "configure: failed program was:" >&5 | 6773 echo "configure: failed program was:" >&5 |
6779 cat conftest.$ac_ext >&5 | 6774 cat conftest.$ac_ext >&5 |
6796 libs_x="-lX11" | 6791 libs_x="-lX11" |
6797 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6792 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6798 | 6793 |
6799 | 6794 |
6800 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6795 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6801 echo "configure:6802: checking for XShapeSelectInput in -lXext" >&5 | 6796 echo "configure:6797: checking for XShapeSelectInput in -lXext" >&5 |
6802 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6797 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6803 | 6798 |
6804 xe_check_libs=" -lXext " | 6799 xe_check_libs=" -lXext " |
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 /* Override any gcc2 internal prototype to avoid an error. */ | 6803 /* Override any gcc2 internal prototype to avoid an error. */ |
6809 /* We use char because int might match the return type of a gcc2 | 6804 /* We use char because int might match the return type of a gcc2 |
6810 builtin and then its argument prototype would still apply. */ | 6805 builtin and then its argument prototype would still apply. */ |
6811 char XShapeSelectInput(); | 6806 char XShapeSelectInput(); |
6812 | 6807 |
6813 int main() { | 6808 int main() { |
6814 XShapeSelectInput() | 6809 XShapeSelectInput() |
6815 ; return 0; } | 6810 ; return 0; } |
6816 EOF | 6811 EOF |
6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6818 rm -rf conftest* | 6813 rm -rf conftest* |
6819 eval "ac_cv_lib_$ac_lib_var=yes" | 6814 eval "ac_cv_lib_$ac_lib_var=yes" |
6820 else | 6815 else |
6821 echo "configure: failed program was:" >&5 | 6816 echo "configure: failed program was:" >&5 |
6822 cat conftest.$ac_ext >&5 | 6817 cat conftest.$ac_ext >&5 |
6835 | 6830 |
6836 | 6831 |
6837 | 6832 |
6838 | 6833 |
6839 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6834 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6840 echo "configure:6841: checking for XtOpenDisplay in -lXt" >&5 | 6835 echo "configure:6836: checking for XtOpenDisplay in -lXt" >&5 |
6841 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6836 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6842 | 6837 |
6843 xe_check_libs=" -lXt " | 6838 xe_check_libs=" -lXt " |
6844 cat > conftest.$ac_ext <<EOF | 6839 cat > conftest.$ac_ext <<EOF |
6845 #line 6846 "configure" | 6840 #line 6841 "configure" |
6846 #include "confdefs.h" | 6841 #include "confdefs.h" |
6847 /* Override any gcc2 internal prototype to avoid an error. */ | 6842 /* Override any gcc2 internal prototype to avoid an error. */ |
6848 /* We use char because int might match the return type of a gcc2 | 6843 /* We use char because int might match the return type of a gcc2 |
6849 builtin and then its argument prototype would still apply. */ | 6844 builtin and then its argument prototype would still apply. */ |
6850 char XtOpenDisplay(); | 6845 char XtOpenDisplay(); |
6851 | 6846 |
6852 int main() { | 6847 int main() { |
6853 XtOpenDisplay() | 6848 XtOpenDisplay() |
6854 ; return 0; } | 6849 ; return 0; } |
6855 EOF | 6850 EOF |
6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6857 rm -rf conftest* | 6852 rm -rf conftest* |
6858 eval "ac_cv_lib_$ac_lib_var=yes" | 6853 eval "ac_cv_lib_$ac_lib_var=yes" |
6859 else | 6854 else |
6860 echo "configure: failed program was:" >&5 | 6855 echo "configure: failed program was:" >&5 |
6861 cat conftest.$ac_ext >&5 | 6856 cat conftest.$ac_ext >&5 |
6874 fi | 6869 fi |
6875 | 6870 |
6876 | 6871 |
6877 | 6872 |
6878 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6873 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking the version of X11 being used" >&5 | 6874 echo "configure:6875: checking the version of X11 being used" >&5 |
6880 cat > conftest.$ac_ext <<EOF | 6875 cat > conftest.$ac_ext <<EOF |
6881 #line 6882 "configure" | 6876 #line 6877 "configure" |
6882 #include "confdefs.h" | 6877 #include "confdefs.h" |
6883 #include <X11/Intrinsic.h> | 6878 #include <X11/Intrinsic.h> |
6884 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6879 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6885 EOF | 6880 EOF |
6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6887 then | 6882 then |
6888 ./conftest foobar; x11_release=$? | 6883 ./conftest foobar; x11_release=$? |
6889 else | 6884 else |
6890 conftest_rc="$?" | 6885 conftest_rc="$?" |
6891 echo "configure: failed program was:" >&5 | 6886 echo "configure: failed program was:" >&5 |
6912 fi | 6907 fi |
6913 | 6908 |
6914 for ac_func in XConvertCase | 6909 for ac_func in XConvertCase |
6915 do | 6910 do |
6916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6917 echo "configure:6918: checking for $ac_func" >&5 | 6912 echo "configure:6913: checking for $ac_func" >&5 |
6918 | 6913 |
6919 cat > conftest.$ac_ext <<EOF | 6914 cat > conftest.$ac_ext <<EOF |
6920 #line 6921 "configure" | 6915 #line 6916 "configure" |
6921 #include "confdefs.h" | 6916 #include "confdefs.h" |
6922 /* System header to define __stub macros and hopefully few prototypes, | 6917 /* System header to define __stub macros and hopefully few prototypes, |
6923 which can conflict with char $ac_func(); below. */ | 6918 which can conflict with char $ac_func(); below. */ |
6924 #include <assert.h> | 6919 #include <assert.h> |
6925 /* Override any gcc2 internal prototype to avoid an error. */ | 6920 /* Override any gcc2 internal prototype to avoid an error. */ |
6938 $ac_func(); | 6933 $ac_func(); |
6939 #endif | 6934 #endif |
6940 | 6935 |
6941 ; return 0; } | 6936 ; return 0; } |
6942 EOF | 6937 EOF |
6943 if { (eval echo configure:6944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6944 rm -rf conftest* | 6939 rm -rf conftest* |
6945 eval "ac_cv_func_$ac_func=yes" | 6940 eval "ac_cv_func_$ac_func=yes" |
6946 else | 6941 else |
6947 echo "configure: failed program was:" >&5 | 6942 echo "configure: failed program was:" >&5 |
6948 cat conftest.$ac_ext >&5 | 6943 cat conftest.$ac_ext >&5 |
6970 | 6965 |
6971 for ac_hdr in X11/Xlocale.h | 6966 for ac_hdr in X11/Xlocale.h |
6972 do | 6967 do |
6973 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6968 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6974 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6969 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6975 echo "configure:6976: checking for $ac_hdr" >&5 | 6970 echo "configure:6971: checking for $ac_hdr" >&5 |
6976 | 6971 |
6977 cat > conftest.$ac_ext <<EOF | 6972 cat > conftest.$ac_ext <<EOF |
6978 #line 6979 "configure" | 6973 #line 6974 "configure" |
6979 #include "confdefs.h" | 6974 #include "confdefs.h" |
6980 #include <$ac_hdr> | 6975 #include <$ac_hdr> |
6981 EOF | 6976 EOF |
6982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6983 { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6978 { (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6985 if test -z "$ac_err"; then | 6980 if test -z "$ac_err"; then |
6986 rm -rf conftest* | 6981 rm -rf conftest* |
6987 eval "ac_cv_header_$ac_safe=yes" | 6982 eval "ac_cv_header_$ac_safe=yes" |
6988 else | 6983 else |
7011 | 7006 |
7012 | 7007 |
7013 for ac_func in XRegisterIMInstantiateCallback | 7008 for ac_func in XRegisterIMInstantiateCallback |
7014 do | 7009 do |
7015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7016 echo "configure:7017: checking for $ac_func" >&5 | 7011 echo "configure:7012: checking for $ac_func" >&5 |
7017 | 7012 |
7018 cat > conftest.$ac_ext <<EOF | 7013 cat > conftest.$ac_ext <<EOF |
7019 #line 7020 "configure" | 7014 #line 7015 "configure" |
7020 #include "confdefs.h" | 7015 #include "confdefs.h" |
7021 /* System header to define __stub macros and hopefully few prototypes, | 7016 /* System header to define __stub macros and hopefully few prototypes, |
7022 which can conflict with char $ac_func(); below. */ | 7017 which can conflict with char $ac_func(); below. */ |
7023 #include <assert.h> | 7018 #include <assert.h> |
7024 /* Override any gcc2 internal prototype to avoid an error. */ | 7019 /* Override any gcc2 internal prototype to avoid an error. */ |
7037 $ac_func(); | 7032 $ac_func(); |
7038 #endif | 7033 #endif |
7039 | 7034 |
7040 ; return 0; } | 7035 ; return 0; } |
7041 EOF | 7036 EOF |
7042 if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7037 if { (eval echo configure:7038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7043 rm -rf conftest* | 7038 rm -rf conftest* |
7044 eval "ac_cv_func_$ac_func=yes" | 7039 eval "ac_cv_func_$ac_func=yes" |
7045 else | 7040 else |
7046 echo "configure: failed program was:" >&5 | 7041 echo "configure: failed program was:" >&5 |
7047 cat conftest.$ac_ext >&5 | 7042 cat conftest.$ac_ext >&5 |
7065 echo "$ac_t""no" 1>&6 | 7060 echo "$ac_t""no" 1>&6 |
7066 fi | 7061 fi |
7067 done | 7062 done |
7068 | 7063 |
7069 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7064 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7070 echo "configure:7071: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7065 echo "configure:7066: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7071 cat > conftest.$ac_ext <<EOF | 7066 cat > conftest.$ac_ext <<EOF |
7072 #line 7073 "configure" | 7067 #line 7068 "configure" |
7073 #include "confdefs.h" | 7068 #include "confdefs.h" |
7074 | 7069 |
7075 #define NeedFunctionPrototypes 1 | 7070 #define NeedFunctionPrototypes 1 |
7076 #include <X11/Xlib.h> | 7071 #include <X11/Xlib.h> |
7077 extern Bool XRegisterIMInstantiateCallback( | 7072 extern Bool XRegisterIMInstantiateCallback( |
7079 | 7074 |
7080 int main() { | 7075 int main() { |
7081 | 7076 |
7082 ; return 0; } | 7077 ; return 0; } |
7083 EOF | 7078 EOF |
7084 if { (eval echo configure:7085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7079 if { (eval echo configure:7080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7085 rm -rf conftest* | 7080 rm -rf conftest* |
7086 echo "$ac_t""yes" 1>&6 | 7081 echo "$ac_t""yes" 1>&6 |
7087 else | 7082 else |
7088 echo "configure: failed program was:" >&5 | 7083 echo "configure: failed program was:" >&5 |
7089 cat conftest.$ac_ext >&5 | 7084 cat conftest.$ac_ext >&5 |
7100 fi | 7095 fi |
7101 rm -f conftest* | 7096 rm -f conftest* |
7102 | 7097 |
7103 test -z "$with_xmu" && { | 7098 test -z "$with_xmu" && { |
7104 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7099 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7105 echo "configure:7106: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7100 echo "configure:7101: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7106 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7101 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7107 | 7102 |
7108 xe_check_libs=" -lXmu " | 7103 xe_check_libs=" -lXmu " |
7109 cat > conftest.$ac_ext <<EOF | 7104 cat > conftest.$ac_ext <<EOF |
7110 #line 7111 "configure" | 7105 #line 7106 "configure" |
7111 #include "confdefs.h" | 7106 #include "confdefs.h" |
7112 /* Override any gcc2 internal prototype to avoid an error. */ | 7107 /* Override any gcc2 internal prototype to avoid an error. */ |
7113 /* We use char because int might match the return type of a gcc2 | 7108 /* We use char because int might match the return type of a gcc2 |
7114 builtin and then its argument prototype would still apply. */ | 7109 builtin and then its argument prototype would still apply. */ |
7115 char XmuReadBitmapDataFromFile(); | 7110 char XmuReadBitmapDataFromFile(); |
7116 | 7111 |
7117 int main() { | 7112 int main() { |
7118 XmuReadBitmapDataFromFile() | 7113 XmuReadBitmapDataFromFile() |
7119 ; return 0; } | 7114 ; return 0; } |
7120 EOF | 7115 EOF |
7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7116 if { (eval echo configure:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7122 rm -rf conftest* | 7117 rm -rf conftest* |
7123 eval "ac_cv_lib_$ac_lib_var=yes" | 7118 eval "ac_cv_lib_$ac_lib_var=yes" |
7124 else | 7119 else |
7125 echo "configure: failed program was:" >&5 | 7120 echo "configure: failed program was:" >&5 |
7126 cat conftest.$ac_ext >&5 | 7121 cat conftest.$ac_ext >&5 |
7155 | 7150 |
7156 fi | 7151 fi |
7157 | 7152 |
7158 | 7153 |
7159 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7154 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7160 echo "configure:7161: checking for main in -lXbsd" >&5 | 7155 echo "configure:7156: checking for main in -lXbsd" >&5 |
7161 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7156 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7162 | 7157 |
7163 xe_check_libs=" -lXbsd " | 7158 xe_check_libs=" -lXbsd " |
7164 cat > conftest.$ac_ext <<EOF | 7159 cat > conftest.$ac_ext <<EOF |
7165 #line 7166 "configure" | 7160 #line 7161 "configure" |
7166 #include "confdefs.h" | 7161 #include "confdefs.h" |
7167 | 7162 |
7168 int main() { | 7163 int main() { |
7169 main() | 7164 main() |
7170 ; return 0; } | 7165 ; return 0; } |
7171 EOF | 7166 EOF |
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7173 rm -rf conftest* | 7168 rm -rf conftest* |
7174 eval "ac_cv_lib_$ac_lib_var=yes" | 7169 eval "ac_cv_lib_$ac_lib_var=yes" |
7175 else | 7170 else |
7176 echo "configure: failed program was:" >&5 | 7171 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7172 cat conftest.$ac_ext >&5 |
7204 fi | 7199 fi |
7205 | 7200 |
7206 fi | 7201 fi |
7207 if test "$with_msw" != "no"; then | 7202 if test "$with_msw" != "no"; then |
7208 echo "checking for MS-Windows" 1>&6 | 7203 echo "checking for MS-Windows" 1>&6 |
7209 echo "configure:7210: checking for MS-Windows" >&5 | 7204 echo "configure:7205: checking for MS-Windows" >&5 |
7210 | 7205 |
7211 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7206 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7212 echo "configure:7213: checking for main in -lgdi32" >&5 | 7207 echo "configure:7208: checking for main in -lgdi32" >&5 |
7213 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7208 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7214 | 7209 |
7215 xe_check_libs=" -lgdi32 " | 7210 xe_check_libs=" -lgdi32 " |
7216 cat > conftest.$ac_ext <<EOF | 7211 cat > conftest.$ac_ext <<EOF |
7217 #line 7218 "configure" | 7212 #line 7213 "configure" |
7218 #include "confdefs.h" | 7213 #include "confdefs.h" |
7219 | 7214 |
7220 int main() { | 7215 int main() { |
7221 main() | 7216 main() |
7222 ; return 0; } | 7217 ; return 0; } |
7223 EOF | 7218 EOF |
7224 if { (eval echo configure:7225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7219 if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7225 rm -rf conftest* | 7220 rm -rf conftest* |
7226 eval "ac_cv_lib_$ac_lib_var=yes" | 7221 eval "ac_cv_lib_$ac_lib_var=yes" |
7227 else | 7222 else |
7228 echo "configure: failed program was:" >&5 | 7223 echo "configure: failed program was:" >&5 |
7229 cat conftest.$ac_ext >&5 | 7224 cat conftest.$ac_ext >&5 |
7270 test "$with_toolbars" != "no" && with_toolbars=msw | 7265 test "$with_toolbars" != "no" && with_toolbars=msw |
7271 test "$with_dialogs" != "no" && with_dialogs=msw | 7266 test "$with_dialogs" != "no" && with_dialogs=msw |
7272 test "$with_widgets" != "no" && with_widgets=msw | 7267 test "$with_widgets" != "no" && with_widgets=msw |
7273 fi | 7268 fi |
7274 cat > conftest.$ac_ext <<EOF | 7269 cat > conftest.$ac_ext <<EOF |
7275 #line 7276 "configure" | 7270 #line 7271 "configure" |
7276 #include "confdefs.h" | 7271 #include "confdefs.h" |
7277 #include <fcntl.h> | 7272 #include <fcntl.h> |
7278 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7273 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7279 EOF | 7274 EOF |
7280 if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7275 if { (eval echo configure:7276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7281 then | 7276 then |
7282 { test "$extra_verbose" = "yes" && cat << \EOF | 7277 { test "$extra_verbose" = "yes" && cat << \EOF |
7283 Defining HAVE_MSG_SELECT | 7278 Defining HAVE_MSG_SELECT |
7284 EOF | 7279 EOF |
7285 cat >> confdefs.h <<\EOF | 7280 cat >> confdefs.h <<\EOF |
7336 fi | 7331 fi |
7337 | 7332 |
7338 if test "$with_x11" = "yes"; then | 7333 if test "$with_x11" = "yes"; then |
7339 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7334 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7340 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7335 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7341 echo "configure:7342: checking for X11/extensions/shape.h" >&5 | 7336 echo "configure:7337: checking for X11/extensions/shape.h" >&5 |
7342 | 7337 |
7343 cat > conftest.$ac_ext <<EOF | 7338 cat > conftest.$ac_ext <<EOF |
7344 #line 7345 "configure" | 7339 #line 7340 "configure" |
7345 #include "confdefs.h" | 7340 #include "confdefs.h" |
7346 #include <X11/extensions/shape.h> | 7341 #include <X11/extensions/shape.h> |
7347 EOF | 7342 EOF |
7348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7349 { (eval echo configure:7350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7344 { (eval echo configure:7345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7351 if test -z "$ac_err"; then | 7346 if test -z "$ac_err"; then |
7352 rm -rf conftest* | 7347 rm -rf conftest* |
7353 eval "ac_cv_header_$ac_safe=yes" | 7348 eval "ac_cv_header_$ac_safe=yes" |
7354 else | 7349 else |
7394 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7389 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7395 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7390 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7396 esac | 7391 esac |
7397 | 7392 |
7398 echo "checking for WM_COMMAND option" 1>&6 | 7393 echo "checking for WM_COMMAND option" 1>&6 |
7399 echo "configure:7400: checking for WM_COMMAND option" >&5; | 7394 echo "configure:7395: checking for WM_COMMAND option" >&5; |
7400 if test "$with_wmcommand" != "no"; then | 7395 if test "$with_wmcommand" != "no"; then |
7401 { test "$extra_verbose" = "yes" && cat << \EOF | 7396 { test "$extra_verbose" = "yes" && cat << \EOF |
7402 Defining HAVE_WMCOMMAND | 7397 Defining HAVE_WMCOMMAND |
7403 EOF | 7398 EOF |
7404 cat >> confdefs.h <<\EOF | 7399 cat >> confdefs.h <<\EOF |
7409 fi | 7404 fi |
7410 | 7405 |
7411 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7406 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7412 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7407 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7413 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7408 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7414 echo "configure:7415: checking for X11/Xauth.h" >&5 | 7409 echo "configure:7410: checking for X11/Xauth.h" >&5 |
7415 | 7410 |
7416 cat > conftest.$ac_ext <<EOF | 7411 cat > conftest.$ac_ext <<EOF |
7417 #line 7418 "configure" | 7412 #line 7413 "configure" |
7418 #include "confdefs.h" | 7413 #include "confdefs.h" |
7419 #include <X11/Xauth.h> | 7414 #include <X11/Xauth.h> |
7420 EOF | 7415 EOF |
7421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7422 { (eval echo configure:7423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7417 { (eval echo configure:7418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7424 if test -z "$ac_err"; then | 7419 if test -z "$ac_err"; then |
7425 rm -rf conftest* | 7420 rm -rf conftest* |
7426 eval "ac_cv_header_$ac_safe=yes" | 7421 eval "ac_cv_header_$ac_safe=yes" |
7427 else | 7422 else |
7440 with_xauth=no | 7435 with_xauth=no |
7441 fi | 7436 fi |
7442 } | 7437 } |
7443 test -z "$with_xauth" && { | 7438 test -z "$with_xauth" && { |
7444 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7439 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7445 echo "configure:7446: checking for XauGetAuthByAddr in -lXau" >&5 | 7440 echo "configure:7441: checking for XauGetAuthByAddr in -lXau" >&5 |
7446 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7441 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7447 | 7442 |
7448 xe_check_libs=" -lXau " | 7443 xe_check_libs=" -lXau " |
7449 cat > conftest.$ac_ext <<EOF | 7444 cat > conftest.$ac_ext <<EOF |
7450 #line 7451 "configure" | 7445 #line 7446 "configure" |
7451 #include "confdefs.h" | 7446 #include "confdefs.h" |
7452 /* Override any gcc2 internal prototype to avoid an error. */ | 7447 /* Override any gcc2 internal prototype to avoid an error. */ |
7453 /* We use char because int might match the return type of a gcc2 | 7448 /* We use char because int might match the return type of a gcc2 |
7454 builtin and then its argument prototype would still apply. */ | 7449 builtin and then its argument prototype would still apply. */ |
7455 char XauGetAuthByAddr(); | 7450 char XauGetAuthByAddr(); |
7456 | 7451 |
7457 int main() { | 7452 int main() { |
7458 XauGetAuthByAddr() | 7453 XauGetAuthByAddr() |
7459 ; return 0; } | 7454 ; return 0; } |
7460 EOF | 7455 EOF |
7461 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7462 rm -rf conftest* | 7457 rm -rf conftest* |
7463 eval "ac_cv_lib_$ac_lib_var=yes" | 7458 eval "ac_cv_lib_$ac_lib_var=yes" |
7464 else | 7459 else |
7465 echo "configure: failed program was:" >&5 | 7460 echo "configure: failed program was:" >&5 |
7466 cat conftest.$ac_ext >&5 | 7461 cat conftest.$ac_ext >&5 |
7501 | 7496 |
7502 | 7497 |
7503 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7498 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7504 : ${XEMACS_CC:="$CC"} | 7499 : ${XEMACS_CC:="$CC"} |
7505 | 7500 |
7506 if test "$with_modules" != "no"; then | |
7507 echo "checking for module support" 1>&6 | |
7508 echo "configure:7509: checking for module support" >&5 | |
7509 | |
7510 if test "$with_msw" = "yes"; then | |
7511 have_dl=yes; | |
7512 else | |
7513 case "$opsys" in | |
7514 darwin ) have_dl=yes; { test "$extra_verbose" = "yes" && cat << \EOF | |
7515 Defining HAVE_DYLD | |
7516 EOF | |
7517 cat >> confdefs.h <<\EOF | |
7518 #define HAVE_DYLD 1 | |
7519 EOF | |
7520 } | |
7521 ;; | |
7522 * ) | |
7523 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
7524 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | |
7525 echo "configure:7526: checking for dlfcn.h" >&5 | |
7526 | |
7527 cat > conftest.$ac_ext <<EOF | |
7528 #line 7529 "configure" | |
7529 #include "confdefs.h" | |
7530 #include <dlfcn.h> | |
7531 EOF | |
7532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7533 { (eval echo configure:7534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7535 if test -z "$ac_err"; then | |
7536 rm -rf conftest* | |
7537 eval "ac_cv_header_$ac_safe=yes" | |
7538 else | |
7539 echo "$ac_err" >&5 | |
7540 echo "configure: failed program was:" >&5 | |
7541 cat conftest.$ac_ext >&5 | |
7542 rm -rf conftest* | |
7543 eval "ac_cv_header_$ac_safe=no" | |
7544 fi | |
7545 rm -f conftest* | |
7546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7547 echo "$ac_t""yes" 1>&6 | |
7548 | |
7549 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | |
7550 echo "configure:7551: checking for dlopen in -lc" >&5 | |
7551 cat > conftest.$ac_ext <<EOF | |
7552 #line 7553 "configure" | |
7553 #include "confdefs.h" | |
7554 #include <dlfcn.h> | |
7555 int main() { | |
7556 dlopen ("", 0); | |
7557 ; return 0; } | |
7558 EOF | |
7559 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7560 rm -rf conftest* | |
7561 have_dl=yes | |
7562 else | |
7563 echo "configure: failed program was:" >&5 | |
7564 cat conftest.$ac_ext >&5 | |
7565 rm -rf conftest* | |
7566 | |
7567 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
7568 echo "configure:7569: checking for dlopen in -ldl" >&5 | |
7569 ac_save_LIBS="$LIBS" | |
7570 LIBS="-ldl $LIBS" | |
7571 cat > conftest.$ac_ext <<EOF | |
7572 #line 7573 "configure" | |
7573 #include "confdefs.h" | |
7574 #include <dlfcn.h> | |
7575 int main() { | |
7576 dlopen ("", 0); | |
7577 ; return 0; } | |
7578 EOF | |
7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7580 rm -rf conftest* | |
7581 have_dl=yes | |
7582 else | |
7583 echo "configure: failed program was:" >&5 | |
7584 cat conftest.$ac_ext >&5 | |
7585 rm -rf conftest* | |
7586 LIBS="$ac_save_LIBS" | |
7587 fi | |
7588 rm -f conftest* | |
7589 ac_save_LIBS= | |
7590 fi | |
7591 rm -f conftest* | |
7592 else | |
7593 echo "$ac_t""no" 1>&6 | |
7594 fi | |
7595 | |
7596 if test -n "$have_dl"; then | |
7597 { test "$extra_verbose" = "yes" && cat << \EOF | |
7598 Defining HAVE_DLOPEN | |
7599 EOF | |
7600 cat >> confdefs.h <<\EOF | |
7601 #define HAVE_DLOPEN 1 | |
7602 EOF | |
7603 } | |
7604 | |
7605 else | |
7606 | |
7607 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
7608 echo "configure:7609: checking for shl_load in -ldld" >&5 | |
7609 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
7610 | |
7611 xe_check_libs=" -ldld " | |
7612 cat > conftest.$ac_ext <<EOF | |
7613 #line 7614 "configure" | |
7614 #include "confdefs.h" | |
7615 /* Override any gcc2 internal prototype to avoid an error. */ | |
7616 /* We use char because int might match the return type of a gcc2 | |
7617 builtin and then its argument prototype would still apply. */ | |
7618 char shl_load(); | |
7619 | |
7620 int main() { | |
7621 shl_load() | |
7622 ; return 0; } | |
7623 EOF | |
7624 if { (eval echo configure:7625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7625 rm -rf conftest* | |
7626 eval "ac_cv_lib_$ac_lib_var=yes" | |
7627 else | |
7628 echo "configure: failed program was:" >&5 | |
7629 cat conftest.$ac_ext >&5 | |
7630 rm -rf conftest* | |
7631 eval "ac_cv_lib_$ac_lib_var=no" | |
7632 fi | |
7633 rm -f conftest* | |
7634 xe_check_libs="" | |
7635 | |
7636 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7637 echo "$ac_t""yes" 1>&6 | |
7638 libdl=dld have_dl=yes; | |
7639 { test "$extra_verbose" = "yes" && cat << \EOF | |
7640 Defining HAVE_SHL_LOAD | |
7641 EOF | |
7642 cat >> confdefs.h <<\EOF | |
7643 #define HAVE_SHL_LOAD 1 | |
7644 EOF | |
7645 } | |
7646 | |
7647 else | |
7648 echo "$ac_t""no" 1>&6 | |
7649 | |
7650 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | |
7651 echo "configure:7652: checking for dld_init in -ldld" >&5 | |
7652 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | |
7653 | |
7654 xe_check_libs=" -ldld " | |
7655 cat > conftest.$ac_ext <<EOF | |
7656 #line 7657 "configure" | |
7657 #include "confdefs.h" | |
7658 /* Override any gcc2 internal prototype to avoid an error. */ | |
7659 /* We use char because int might match the return type of a gcc2 | |
7660 builtin and then its argument prototype would still apply. */ | |
7661 char dld_init(); | |
7662 | |
7663 int main() { | |
7664 dld_init() | |
7665 ; return 0; } | |
7666 EOF | |
7667 if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7668 rm -rf conftest* | |
7669 eval "ac_cv_lib_$ac_lib_var=yes" | |
7670 else | |
7671 echo "configure: failed program was:" >&5 | |
7672 cat conftest.$ac_ext >&5 | |
7673 rm -rf conftest* | |
7674 eval "ac_cv_lib_$ac_lib_var=no" | |
7675 fi | |
7676 rm -f conftest* | |
7677 xe_check_libs="" | |
7678 | |
7679 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7680 echo "$ac_t""yes" 1>&6 | |
7681 libdl=dld have_dl=yes; | |
7682 { test "$extra_verbose" = "yes" && cat << \EOF | |
7683 Defining HAVE_DLD_INIT | |
7684 EOF | |
7685 cat >> confdefs.h <<\EOF | |
7686 #define HAVE_DLD_INIT 1 | |
7687 EOF | |
7688 } | |
7689 | |
7690 else | |
7691 echo "$ac_t""no" 1>&6 | |
7692 fi | |
7693 | |
7694 | |
7695 fi | |
7696 | |
7697 | |
7698 fi | |
7699 esac fi | |
7700 if test -n "$have_dl"; then | |
7701 | |
7702 dll_ld= | |
7703 dll_ldflags= | |
7704 dll_cflags= | |
7705 dll_post= | |
7706 dll_ldo="-o" | |
7707 ld_dynamic_link_flags= | |
7708 xehost=$canonical | |
7709 xealias=$internal_configuration | |
7710 | |
7711 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | |
7712 echo "configure:7713: checking how to build dynamic libraries for ${xehost}" >&5 | |
7713 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | |
7714 case "$xehost" in | |
7715 *-*-linux-gnu*) ;; | |
7716 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | |
7717 esac | |
7718 | |
7719 xehost_cpu=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
7720 xehost_vendor=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
7721 xehost_os=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
7722 | |
7723 case "$xehost_os" in | |
7724 aix3*) | |
7725 # AIX sometimes has problems with the GCC collect2 program. For some | |
7726 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
7727 # vanish in a puff of smoke. | |
7728 if test "${COLLECT_NAMES+set}" != set; then | |
7729 COLLECT_NAMES= | |
7730 export COLLECT_NAMES | |
7731 fi | |
7732 ;; | |
7733 esac | |
7734 | |
7735 # Now see if the compiler is really GCC. | |
7736 if test "$GCC" = "yes"; then | |
7737 XEGCC=yes | |
7738 else | |
7739 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | |
7740 echo "configure:7741: checking checking whether we are using GNU C" >&5 | |
7741 cat > conftest.$ac_ext <<EOF | |
7742 #line 7743 "configure" | |
7743 #include "confdefs.h" | |
7744 | |
7745 #ifdef __GNUC__ | |
7746 yes; | |
7747 #endif | |
7748 | |
7749 EOF | |
7750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
7751 egrep "yes" >/dev/null 2>&1; then | |
7752 rm -rf conftest* | |
7753 XEGCC=yes | |
7754 else | |
7755 rm -rf conftest* | |
7756 XEGCC=no | |
7757 fi | |
7758 rm -f conftest* | |
7759 | |
7760 echo "$ac_t""${XEGCC}" 1>&6 | |
7761 fi | |
7762 | |
7763 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | |
7764 echo "configure:7765: checking how to produce PIC code" >&5 | |
7765 wl= | |
7766 | |
7767 can_build_shared=yes | |
7768 cygwin_warn= | |
7769 if test "$XEGCC" = yes; then | |
7770 wl='-Wl,' | |
7771 | |
7772 case "$xehost_os" in | |
7773 aix[3-9]* | irix[5-9]* | osf[3-9]) | |
7774 # PIC is the default for these OSes. | |
7775 ;; | |
7776 | |
7777 os2*) | |
7778 # We can build DLLs from non-PIC. | |
7779 ;; | |
7780 amigaos*) | |
7781 # FIXME: we need at least 68020 code to build shared libraries, but | |
7782 # adding the `-m68020' flag to GCC prevents building anything better, | |
7783 # like `-m68040'. | |
7784 dll_cflags='-m68020 -resident32 -malways-restore-a4' | |
7785 ;; | |
7786 *cygwin* | *mingw* ) | |
7787 # PIC is the default | |
7788 cygwin_warn=yes | |
7789 # #### Need some trickery involving import libraries that we don't | |
7790 # currently support. | |
7791 can_build_shared=no | |
7792 ;; | |
7793 *) | |
7794 dll_cflags='-fPIC' | |
7795 ;; | |
7796 esac | |
7797 else | |
7798 # PORTME Check for PIC flags for the system compiler. | |
7799 case "$xehost_os" in | |
7800 hpux9* | hpux1[0-9]*) | |
7801 # Is there a better link_static_flag that works with the bundled CC? | |
7802 wl='-Wl,' | |
7803 dll_cflags='+Z' | |
7804 ;; | |
7805 | |
7806 irix[5-9]*) | |
7807 wl='-Wl,' | |
7808 # PIC (with -KPIC) is the default. | |
7809 ;; | |
7810 | |
7811 os2*) | |
7812 # We can build DLLs from non-PIC. | |
7813 ;; | |
7814 | |
7815 osf[3-9]*) | |
7816 # All OSF/1 code is PIC. | |
7817 wl='-Wl,' | |
7818 ;; | |
7819 | |
7820 aix[3-9]*) | |
7821 # All AIX code is PIC. | |
7822 wl='-Wl,' | |
7823 ;; | |
7824 | |
7825 sco3.2v5*) | |
7826 dll_cflags='-belf -Kpic' | |
7827 wl='-Wl,' | |
7828 ;; | |
7829 | |
7830 unixware*) | |
7831 dll_cflags="-KPIC" | |
7832 wl="-Wl," | |
7833 ;; | |
7834 | |
7835 sysv4*) | |
7836 dll_cflags="-KPIC" | |
7837 wl="-Wl," | |
7838 ;; | |
7839 | |
7840 sysv5*) | |
7841 dll_cflags="-KPIC" | |
7842 wl="-Wl," | |
7843 ;; | |
7844 | |
7845 solaris2*) | |
7846 dll_cflags='-KPIC' | |
7847 wl='-Wl,' | |
7848 ;; | |
7849 | |
7850 sunos4*) | |
7851 dll_cflags='-PIC' | |
7852 wl='-Qoption ld ' | |
7853 ;; | |
7854 | |
7855 uts4*) | |
7856 dll_cflags='-pic' | |
7857 ;; | |
7858 | |
7859 *) | |
7860 can_build_shared=no | |
7861 ;; | |
7862 esac | |
7863 fi | |
7864 | |
7865 if test -n "$dll_cflags"; then | |
7866 echo "$ac_t""${dll_cflags}" 1>&6 | |
7867 | |
7868 # Check to make sure the dll_cflags actually works. | |
7869 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | |
7870 echo "configure:7871: checking if PIC flag ${dll_cflags} really works" >&5 | |
7871 save_CFLAGS="$CFLAGS" | |
7872 CFLAGS="$CFLAGS $dll_cflags -DPIC" | |
7873 cat > conftest.$ac_ext <<EOF | |
7874 #line 7875 "configure" | |
7875 #include "confdefs.h" | |
7876 | |
7877 int main() { | |
7878 int x=0; | |
7879 ; return 0; } | |
7880 EOF | |
7881 if { (eval echo configure:7882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
7882 rm -rf conftest* | |
7883 | |
7884 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | |
7885 # reports no error. So, we need to grep stderr for (Bundled). | |
7886 if grep '(Bundled)' config.log >/dev/null; then | |
7887 echo "$ac_t""no" 1>&6 | |
7888 can_build_shared=no | |
7889 dll_cflags= | |
7890 else | |
7891 echo "$ac_t""yes" 1>&6 | |
7892 fi | |
7893 else | |
7894 echo "configure: failed program was:" >&5 | |
7895 cat conftest.$ac_ext >&5 | |
7896 rm -rf conftest* | |
7897 echo "$ac_t""no" 1>&6 | |
7898 can_build_shared=no | |
7899 dll_cflags= | |
7900 fi | |
7901 rm -f conftest* | |
7902 CFLAGS="$save_CFLAGS" | |
7903 else | |
7904 echo "$ac_t""none" 1>&6 | |
7905 fi | |
7906 | |
7907 if test -n "$cygwin_warn"; then | |
7908 echo "configure: warning: Cannot currently build modules under Cygwin." 1>&2 | |
7909 fi | |
7910 | |
7911 if test "$can_build_shared" = "yes"; then | |
7912 cc_produces_so=no | |
7913 xldf= | |
7914 xcldf= | |
7915 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | |
7916 echo "configure:7917: checking if C compiler can produce shared libraries" >&5 | |
7917 if test "$XEGCC" = yes; then | |
7918 xcldf="-shared" | |
7919 xldf="-shared" | |
7920 else # Not using GCC | |
7921 case "$xehost_os" in | |
7922 aix[3-9]*) | |
7923 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | |
7924 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | |
7925 ;; | |
7926 | |
7927 freebsd2* | netbsd* | openbsd*) | |
7928 xldf="-Bshareable" | |
7929 xcldf="${wl}-Bshareable" | |
7930 ;; | |
7931 | |
7932 freebsd3*) | |
7933 xcldf="-shared" | |
7934 ;; | |
7935 | |
7936 hpux*) | |
7937 xldf="-b +s" | |
7938 xcldf="${wl}-b ${wl}+s" | |
7939 ;; | |
7940 | |
7941 irix[5-9]* | osf[3-9]*) | |
7942 xcldf="${wl}-shared" | |
7943 xldf="-shared" | |
7944 ;; | |
7945 | |
7946 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) | |
7947 xcldf="-G" | |
7948 xldf="-G" | |
7949 ;; | |
7950 | |
7951 sunos4*) | |
7952 xcldf="${wl}-assert ${wl}pure-text ${wl}-Bstatic" | |
7953 xldf="-assert pure-text -Bstatic" | |
7954 ;; | |
7955 esac | |
7956 fi # End if if we are using gcc | |
7957 | |
7958 if test -n "$xcldf"; then | |
7959 save_LDFLAGS=$LDFLAGS | |
7960 save_LIBS=$LIBS | |
7961 save_xe_libs=$xe_libs | |
7962 LDFLAGS="$xcldf $LDFLAGS" | |
7963 LIBS= | |
7964 xe_libs= | |
7965 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
7966 cat > conftest.$ac_ext <<EOF | |
7967 #line 7968 "configure" | |
7968 #include "confdefs.h" | |
7969 | |
7970 int main() { | |
7971 int x=0; | |
7972 ; return 0; } | |
7973 EOF | |
7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7975 rm -rf conftest* | |
7976 cc_produces_so=yes | |
7977 else | |
7978 echo "configure: failed program was:" >&5 | |
7979 cat conftest.$ac_ext >&5 | |
7980 rm -rf conftest* | |
7981 cc_produces_so=no | |
7982 fi | |
7983 rm -f conftest* | |
7984 LDFLAGS=$save_LDFLAGS | |
7985 LIBS=$save_LIBS | |
7986 xe_libs=$save_xe_libs | |
7987 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
7988 else | |
7989 cc_produces_so=no | |
7990 fi | |
7991 echo "$ac_t""${cc_produces_so}" 1>&6 | |
7992 | |
7993 LTLD=$LD | |
7994 if test -z "$LTLD"; then | |
7995 ac_prog=ld | |
7996 if test "$XEGCC" = yes; then | |
7997 # Check if gcc -print-prog-name=ld gives a path. | |
7998 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | |
7999 echo "configure:8000: checking for ld used by GCC" >&5 | |
8000 ac_prog=`($CC -print-prog-name=ld) 2>&5` | |
8001 case "$ac_prog" in | |
8002 # Accept absolute paths. | |
8003 /*) | |
8004 if test -z "$LTLD"; then | |
8005 # case "$ac_prog" in | |
8006 # *gcc-lib*) LTLD="$CC" | |
8007 # ;; | |
8008 # *) | |
8009 LTLD="$ac_prog" | |
8010 # ;; | |
8011 # esac | |
8012 fi | |
8013 ;; | |
8014 "") | |
8015 # If it fails, then pretend we aren't using GCC. | |
8016 ac_prog=ld | |
8017 ;; | |
8018 *) | |
8019 # If it is relative, then search for the first ld in PATH. | |
8020 with_gnu_ld=unknown | |
8021 ;; | |
8022 esac | |
8023 else | |
8024 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | |
8025 echo "configure:8026: checking for GNU ld" >&5 | |
8026 fi | |
8027 | |
8028 if test -z "$LTLD"; then | |
8029 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
8030 for ac_dir in $PATH; do | |
8031 test -z "$ac_dir" && ac_dir=. | |
8032 if test -f "$ac_dir/$ac_prog"; then | |
8033 LTLD="$ac_dir/$ac_prog" | |
8034 # Check to see if the program is GNU ld. I'd rather use --version, | |
8035 # but apparently some GNU ld's only accept -v. | |
8036 # Break only if it was the GNU/non-GNU ld that we prefer. | |
8037 if "$LTLD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
8038 xe_gnu_ld=yes | |
8039 else | |
8040 xe_gnu_ld=no | |
8041 fi | |
8042 fi | |
8043 done | |
8044 IFS="$ac_save_ifs" | |
8045 fi | |
8046 | |
8047 if test -n "$LTLD"; then | |
8048 echo "$ac_t""${LTLD}" 1>&6 | |
8049 else | |
8050 echo "$ac_t""no" 1>&6 | |
8051 fi | |
8052 | |
8053 if test -z "$LTLD" -a "$cc_produces_so" = no; then | |
8054 { echo "configure: error: no acceptable linker found in \$PATH" 1>&2; exit 1; } | |
8055 exit 1 | |
8056 fi | |
8057 fi | |
8058 | |
8059 ld_dynamic_link_flags= | |
8060 | |
8061 # Check to see if it really is or isn't GNU ld. | |
8062 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | |
8063 echo "configure:8064: checking if the linker is GNU ld" >&5 | |
8064 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
8065 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
8066 xe_gnu_ld=yes | |
8067 else | |
8068 xe_gnu_ld=no | |
8069 fi | |
8070 echo "$ac_t""${xe_gnu_ld}" 1>&6 | |
8071 | |
8072 case "$xehost_os" in | |
8073 amigaos* | sunos4*) | |
8074 # On these operating systems, we should treat GNU ld like the system ld. | |
8075 gnu_ld_acts_native=yes | |
8076 ;; | |
8077 *) | |
8078 gnu_ld_acts_native=no | |
8079 ;; | |
8080 esac | |
8081 | |
8082 if test "$cc_produces_so" = "yes"; then | |
8083 dll_ld=$CC | |
8084 dll_ldflags=$xcldf | |
8085 can_build_shared=yes | |
8086 ld_shlibs=yes | |
8087 else | |
8088 # OK - only NOW do we futz about with ld. | |
8089 # See if the linker supports building shared libraries. | |
8090 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | |
8091 echo "configure:8092: checking whether the linker supports shared libraries" >&5 | |
8092 dll_ld=$CC | |
8093 dll_ldflags=$LDFLAGS | |
8094 ld_shlibs=yes | |
8095 can_build_shared=yes | |
8096 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | |
8097 # See if GNU ld supports shared libraries. | |
8098 if $LTLD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | |
8099 dll_ld=$CC | |
8100 dll_ldflags="-shared" | |
8101 ld_shlibs=yes | |
8102 else | |
8103 ld_shlibs=no | |
8104 fi | |
8105 else | |
8106 # PORTME fill in a description of your system's linker (not GNU ld) | |
8107 case "$xehost_os" in | |
8108 aix3*) | |
8109 dll_ld=$LTLD | |
8110 dll_ldflags=$xldf | |
8111 ;; | |
8112 | |
8113 aix[4-9]*) | |
8114 dll_ldflags=$xcldf | |
8115 ;; | |
8116 | |
8117 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
8118 # support. Future versions do this automatically, but an explicit c++rt0.o | |
8119 # doesn't break anything, and helps significantly (at the cost of a little | |
8120 # extra space). | |
8121 freebsd2.2*) | |
8122 dll_ld=$LTLD | |
8123 dll_ldflags=$xldf | |
8124 dll_post="/usr/lib/c++rt0.o" | |
8125 ;; | |
8126 | |
8127 # Unfortunately, older versions of FreeBSD 2 don't have this feature. | |
8128 freebsd2*) | |
8129 dll_ld=$LTLD | |
8130 dll_ldflags="-Bshareable" | |
8131 ;; | |
8132 | |
8133 # FreeBSD 3, at last, uses gcc -shared to do shared libraries. | |
8134 freebsd3*) | |
8135 dll_ldflags="-shared" | |
8136 ;; | |
8137 | |
8138 hpux*) | |
8139 dll_ld=$LTLD | |
8140 dll_ldflags=$xldf | |
8141 ;; | |
8142 | |
8143 irix[5-9]*) | |
8144 dll_ld=$LTLD | |
8145 dll_ldflags=$xldf | |
8146 ;; | |
8147 | |
8148 netbsd*) | |
8149 # Tested with NetBSD 1.2 ld | |
8150 dll_ld=$LTLD | |
8151 dll_ldflags=$xldf | |
8152 ;; | |
8153 | |
8154 openbsd*) | |
8155 dll_ld=$LTLD | |
8156 dll_ldflags=$xldf | |
8157 ;; | |
8158 | |
8159 osf3* | osf4*) | |
8160 dll_ld=$LTLD | |
8161 dll_ldflags=$xldf | |
8162 ;; | |
8163 | |
8164 # For both SCO and Solaris we MAY want to have LDFLAGS include -z text | |
8165 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7*) | |
8166 dll_ld=$LTLD | |
8167 case "$dll_ld" in | |
8168 *gcc*) dll_ldflags="-shared" | |
8169 dll_ld=$CC | |
8170 ;; | |
8171 *) dll_ldflags="-G" | |
8172 ;; | |
8173 esac | |
8174 ;; | |
8175 | |
8176 sunos4*) | |
8177 if test "$XEGCC" = yes; then | |
8178 dll_ld=$CC | |
8179 else | |
8180 dll_ld=$LTLD | |
8181 fi | |
8182 dll_ldflags=$xldf | |
8183 ;; | |
8184 | |
8185 uts4*) | |
8186 dll_ld=$LTLD | |
8187 dll_ldflags="-G" | |
8188 ;; | |
8189 | |
8190 bsdi*) | |
8191 dll_ldflags="-r" | |
8192 dll_ld="shlicc2" | |
8193 ;; | |
8194 | |
8195 *) | |
8196 ld_shlibs=no | |
8197 can_build_shared=no | |
8198 ;; | |
8199 esac | |
8200 fi | |
8201 echo "$ac_t""${ld_shlibs}" 1>&6 | |
8202 if test "$ld_shlibs" = "no"; then | |
8203 can_build_shared=no | |
8204 fi | |
8205 fi # End of if cc_produces_so = no | |
8206 | |
8207 | |
8208 if test "$xe_gnu_ld" = yes; then | |
8209 if test "$ld_shlibs" = yes; then | |
8210 ld_dynamic_link_flags="${wl}-export-dynamic" | |
8211 fi | |
8212 fi | |
8213 | |
8214 if test -z "$ld_dynamic_link_flags"; then | |
8215 case "$xehost_os" in | |
8216 aix[3-9]*) | |
8217 ld_dynamic_link_flags= | |
8218 ;; | |
8219 | |
8220 freebsd2.2*) | |
8221 ld_dynamic_link_flags= | |
8222 ;; | |
8223 | |
8224 freebsd2*) | |
8225 ld_dynamic_link_flags= | |
8226 ;; | |
8227 | |
8228 freebsd3*) | |
8229 ld_dynamic_link_flags= | |
8230 ;; | |
8231 | |
8232 hpux*) | |
8233 ld_dynamic_link_flags="${wl}-E" | |
8234 ;; | |
8235 | |
8236 irix[5-9]*) | |
8237 ld_dynamic_link_flags= | |
8238 ;; | |
8239 | |
8240 netbsd*) | |
8241 ld_dynamic_link_flags= | |
8242 ;; | |
8243 | |
8244 openbsd*) | |
8245 ld_dynamic_link_flags= | |
8246 ;; | |
8247 | |
8248 osf3* | osf4*) | |
8249 ld_dynamic_link_flags= | |
8250 ;; | |
8251 | |
8252 solaris2* | solaris7*) | |
8253 ld_dynamic_link_flags= | |
8254 ;; | |
8255 | |
8256 sco3.2v5* | unixware* | sysv5* | sysv4*) | |
8257 ld_dynamic_link_flags="${wl}-Bexport" | |
8258 ;; | |
8259 | |
8260 sunos4*) | |
8261 ld_dynamic_link_flags= | |
8262 ;; | |
8263 | |
8264 uts4*) | |
8265 ld_dynamic_link_flags= | |
8266 ;; | |
8267 | |
8268 bsdi*) | |
8269 ld_dynamic_link_flags= | |
8270 ;; | |
8271 | |
8272 esac | |
8273 fi # End of if -z ld_dynamic_link_flags | |
8274 fi # End of if test "$can_build_shared" = "yes" | |
8275 | |
8276 | |
8277 | |
8278 | |
8279 | |
8280 | |
8281 | |
8282 | |
8283 fi | |
8284 | |
8285 if test "$can_build_shared" = "yes"; then | |
8286 { test "$extra_verbose" = "yes" && cat << \EOF | |
8287 Defining HAVE_SHLIB | |
8288 EOF | |
8289 cat >> confdefs.h <<\EOF | |
8290 #define HAVE_SHLIB 1 | |
8291 EOF | |
8292 } | |
8293 | |
8294 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
8295 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | |
8296 for ac_func in dlerror _dlerror | |
8297 do | |
8298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
8299 echo "configure:8300: checking for $ac_func" >&5 | |
8300 | |
8301 cat > conftest.$ac_ext <<EOF | |
8302 #line 8303 "configure" | |
8303 #include "confdefs.h" | |
8304 /* System header to define __stub macros and hopefully few prototypes, | |
8305 which can conflict with char $ac_func(); below. */ | |
8306 #include <assert.h> | |
8307 /* Override any gcc2 internal prototype to avoid an error. */ | |
8308 /* We use char because int might match the return type of a gcc2 | |
8309 builtin and then its argument prototype would still apply. */ | |
8310 char $ac_func(); | |
8311 | |
8312 int main() { | |
8313 | |
8314 /* The GNU C library defines this for functions which it implements | |
8315 to always fail with ENOSYS. Some functions are actually named | |
8316 something starting with __ and the normal name is an alias. */ | |
8317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
8318 choke me | |
8319 #else | |
8320 $ac_func(); | |
8321 #endif | |
8322 | |
8323 ; return 0; } | |
8324 EOF | |
8325 if { (eval echo configure:8326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8326 rm -rf conftest* | |
8327 eval "ac_cv_func_$ac_func=yes" | |
8328 else | |
8329 echo "configure: failed program was:" >&5 | |
8330 cat conftest.$ac_ext >&5 | |
8331 rm -rf conftest* | |
8332 eval "ac_cv_func_$ac_func=no" | |
8333 fi | |
8334 rm -f conftest* | |
8335 | |
8336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
8337 echo "$ac_t""yes" 1>&6 | |
8338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
8339 { test "$extra_verbose" = "yes" && cat << EOF | |
8340 Defining $ac_tr_func | |
8341 EOF | |
8342 cat >> confdefs.h <<EOF | |
8343 #define $ac_tr_func 1 | |
8344 EOF | |
8345 } | |
8346 | |
8347 else | |
8348 echo "$ac_t""no" 1>&6 | |
8349 fi | |
8350 done | |
8351 | |
8352 with_modules=yes | |
8353 MOD_CC="../../lib-src/ellcc" | |
8354 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src" | |
8355 INSTALLPATH="\$(moduledir)" | |
8356 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM} | |
8357 OBJECT_TO_BUILD="\$(MODNAME).ell" | |
8358 else | |
8359 if test "$with_modules" = "yes"; then | |
8360 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | |
8361 else | |
8362 echo " No module support." | |
8363 fi | |
8364 with_modules=no | |
8365 MOD_CC="$XEMACS_CC" | |
8366 MODCFLAGS="\$(CFLAGS) -I../../src -I\$(srcdir)/../../src" | |
8367 INSTALLPATH="" | |
8368 MOD_INSTALL_PROGRAM="true" | |
8369 OBJECT_TO_BUILD="\$(MODNAME).o" | |
8370 fi | |
8371 fi | |
8372 MODARCHDIR= | |
8373 MAKE_DOCFILE="../../lib-src/make-docfile" | |
8374 | |
8375 | |
8376 | |
8377 | |
8378 | |
8379 | |
8380 | |
8381 | |
8382 | 7501 |
8383 if test "$with_tooltalk" != "no" ; then | 7502 if test "$with_tooltalk" != "no" ; then |
8384 for dir in "" "Tt/" "desktop/" ; do | 7503 for dir in "" "Tt/" "desktop/" ; do |
8385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7504 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7505 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8387 echo "configure:8388: checking for ${dir}tt_c.h" >&5 | 7506 echo "configure:7507: checking for ${dir}tt_c.h" >&5 |
8388 | 7507 |
8389 cat > conftest.$ac_ext <<EOF | 7508 cat > conftest.$ac_ext <<EOF |
8390 #line 8391 "configure" | 7509 #line 7510 "configure" |
8391 #include "confdefs.h" | 7510 #include "confdefs.h" |
8392 #include <${dir}tt_c.h> | 7511 #include <${dir}tt_c.h> |
8393 EOF | 7512 EOF |
8394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8395 { (eval echo configure:8396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7514 { (eval echo configure:7515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8397 if test -z "$ac_err"; then | 7516 if test -z "$ac_err"; then |
8398 rm -rf conftest* | 7517 rm -rf conftest* |
8399 eval "ac_cv_header_$ac_safe=yes" | 7518 eval "ac_cv_header_$ac_safe=yes" |
8400 else | 7519 else |
8426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7545 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8427 | 7546 |
8428 xe_msg_checking="for tt_message_create in -ltt" | 7547 xe_msg_checking="for tt_message_create in -ltt" |
8429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7548 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7549 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8431 echo "configure:8432: checking "$xe_msg_checking"" >&5 | 7550 echo "configure:7551: checking "$xe_msg_checking"" >&5 |
8432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7551 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8433 | 7552 |
8434 xe_check_libs=" -ltt $extra_libs" | 7553 xe_check_libs=" -ltt $extra_libs" |
8435 cat > conftest.$ac_ext <<EOF | 7554 cat > conftest.$ac_ext <<EOF |
8436 #line 8437 "configure" | 7555 #line 7556 "configure" |
8437 #include "confdefs.h" | 7556 #include "confdefs.h" |
8438 /* Override any gcc2 internal prototype to avoid an error. */ | 7557 /* Override any gcc2 internal prototype to avoid an error. */ |
8439 /* We use char because int might match the return type of a gcc2 | 7558 /* We use char because int might match the return type of a gcc2 |
8440 builtin and then its argument prototype would still apply. */ | 7559 builtin and then its argument prototype would still apply. */ |
8441 char tt_message_create(); | 7560 char tt_message_create(); |
8442 | 7561 |
8443 int main() { | 7562 int main() { |
8444 tt_message_create() | 7563 tt_message_create() |
8445 ; return 0; } | 7564 ; return 0; } |
8446 EOF | 7565 EOF |
8447 if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7566 if { (eval echo configure:7567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8448 rm -rf conftest* | 7567 rm -rf conftest* |
8449 eval "ac_cv_lib_$ac_lib_var=yes" | 7568 eval "ac_cv_lib_$ac_lib_var=yes" |
8450 else | 7569 else |
8451 echo "configure: failed program was:" >&5 | 7570 echo "configure: failed program was:" >&5 |
8452 cat conftest.$ac_ext >&5 | 7571 cat conftest.$ac_ext >&5 |
8496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7615 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8497 fi | 7616 fi |
8498 | 7617 |
8499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7618 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7619 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8501 echo "configure:8502: checking for Dt/Dt.h" >&5 | 7620 echo "configure:7621: checking for Dt/Dt.h" >&5 |
8502 | 7621 |
8503 cat > conftest.$ac_ext <<EOF | 7622 cat > conftest.$ac_ext <<EOF |
8504 #line 8505 "configure" | 7623 #line 7624 "configure" |
8505 #include "confdefs.h" | 7624 #include "confdefs.h" |
8506 #include <Dt/Dt.h> | 7625 #include <Dt/Dt.h> |
8507 EOF | 7626 EOF |
8508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8509 { (eval echo configure:8510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7628 { (eval echo configure:7629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8511 if test -z "$ac_err"; then | 7630 if test -z "$ac_err"; then |
8512 rm -rf conftest* | 7631 rm -rf conftest* |
8513 eval "ac_cv_header_$ac_safe=yes" | 7632 eval "ac_cv_header_$ac_safe=yes" |
8514 else | 7633 else |
8527 with_cde=no | 7646 with_cde=no |
8528 fi | 7647 fi |
8529 } | 7648 } |
8530 test -z "$with_cde" && { | 7649 test -z "$with_cde" && { |
8531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7650 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8532 echo "configure:8533: checking for DtDndDragStart in -lDtSvc" >&5 | 7651 echo "configure:7652: checking for DtDndDragStart in -lDtSvc" >&5 |
8533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7652 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8534 | 7653 |
8535 xe_check_libs=" -lDtSvc " | 7654 xe_check_libs=" -lDtSvc " |
8536 cat > conftest.$ac_ext <<EOF | 7655 cat > conftest.$ac_ext <<EOF |
8537 #line 8538 "configure" | 7656 #line 7657 "configure" |
8538 #include "confdefs.h" | 7657 #include "confdefs.h" |
8539 /* Override any gcc2 internal prototype to avoid an error. */ | 7658 /* Override any gcc2 internal prototype to avoid an error. */ |
8540 /* We use char because int might match the return type of a gcc2 | 7659 /* We use char because int might match the return type of a gcc2 |
8541 builtin and then its argument prototype would still apply. */ | 7660 builtin and then its argument prototype would still apply. */ |
8542 char DtDndDragStart(); | 7661 char DtDndDragStart(); |
8543 | 7662 |
8544 int main() { | 7663 int main() { |
8545 DtDndDragStart() | 7664 DtDndDragStart() |
8546 ; return 0; } | 7665 ; return 0; } |
8547 EOF | 7666 EOF |
8548 if { (eval echo configure:8549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7667 if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8549 rm -rf conftest* | 7668 rm -rf conftest* |
8550 eval "ac_cv_lib_$ac_lib_var=yes" | 7669 eval "ac_cv_lib_$ac_lib_var=yes" |
8551 else | 7670 else |
8552 echo "configure: failed program was:" >&5 | 7671 echo "configure: failed program was:" >&5 |
8553 cat conftest.$ac_ext >&5 | 7672 cat conftest.$ac_ext >&5 |
8624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7743 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8625 fi | 7744 fi |
8626 | 7745 |
8627 if test "$with_dragndrop" != "no" ; then | 7746 if test "$with_dragndrop" != "no" ; then |
8628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7747 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8629 echo "configure:8630: checking if drag and drop API is needed" >&5 | 7748 echo "configure:7749: checking if drag and drop API is needed" >&5 |
8630 if test -n "$dragndrop_proto" ; then | 7749 if test -n "$dragndrop_proto" ; then |
8631 with_dragndrop=yes | 7750 with_dragndrop=yes |
8632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7751 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8633 { test "$extra_verbose" = "yes" && cat << \EOF | 7752 { test "$extra_verbose" = "yes" && cat << \EOF |
8634 Defining HAVE_DRAGNDROP | 7753 Defining HAVE_DRAGNDROP |
8643 with_dragndrop=no | 7762 with_dragndrop=no |
8644 echo "$ac_t""no" 1>&6 | 7763 echo "$ac_t""no" 1>&6 |
8645 fi | 7764 fi |
8646 fi | 7765 fi |
8647 | 7766 |
8648 echo "checking for LDAP" 1>&6 | |
8649 echo "configure:8650: checking for LDAP" >&5 | |
8650 ldap_libs= | |
8651 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | |
8652 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | |
8653 echo "configure:8654: checking for ldap.h" >&5 | |
8654 | |
8655 cat > conftest.$ac_ext <<EOF | |
8656 #line 8657 "configure" | |
8657 #include "confdefs.h" | |
8658 #include <ldap.h> | |
8659 EOF | |
8660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8661 { (eval echo configure:8662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
8663 if test -z "$ac_err"; then | |
8664 rm -rf conftest* | |
8665 eval "ac_cv_header_$ac_safe=yes" | |
8666 else | |
8667 echo "$ac_err" >&5 | |
8668 echo "configure: failed program was:" >&5 | |
8669 cat conftest.$ac_ext >&5 | |
8670 rm -rf conftest* | |
8671 eval "ac_cv_header_$ac_safe=no" | |
8672 fi | |
8673 rm -f conftest* | |
8674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8675 echo "$ac_t""yes" 1>&6 | |
8676 : | |
8677 else | |
8678 echo "$ac_t""no" 1>&6 | |
8679 with_ldap=no | |
8680 fi | |
8681 } | |
8682 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | |
8683 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | |
8684 echo "configure:8685: checking for lber.h" >&5 | |
8685 | |
8686 cat > conftest.$ac_ext <<EOF | |
8687 #line 8688 "configure" | |
8688 #include "confdefs.h" | |
8689 #include <lber.h> | |
8690 EOF | |
8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
8694 if test -z "$ac_err"; then | |
8695 rm -rf conftest* | |
8696 eval "ac_cv_header_$ac_safe=yes" | |
8697 else | |
8698 echo "$ac_err" >&5 | |
8699 echo "configure: failed program was:" >&5 | |
8700 cat conftest.$ac_ext >&5 | |
8701 rm -rf conftest* | |
8702 eval "ac_cv_header_$ac_safe=no" | |
8703 fi | |
8704 rm -f conftest* | |
8705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8706 echo "$ac_t""yes" 1>&6 | |
8707 : | |
8708 else | |
8709 echo "$ac_t""no" 1>&6 | |
8710 with_ldap=no | |
8711 fi | |
8712 } | |
8713 if test "$with_ldap" != "no"; then | |
8714 | |
8715 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | |
8716 echo "configure:8717: checking for ldap_search in -lldap" >&5 | |
8717 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | |
8718 | |
8719 xe_check_libs=" -lldap " | |
8720 cat > conftest.$ac_ext <<EOF | |
8721 #line 8722 "configure" | |
8722 #include "confdefs.h" | |
8723 /* Override any gcc2 internal prototype to avoid an error. */ | |
8724 /* We use char because int might match the return type of a gcc2 | |
8725 builtin and then its argument prototype would still apply. */ | |
8726 char ldap_search(); | |
8727 | |
8728 int main() { | |
8729 ldap_search() | |
8730 ; return 0; } | |
8731 EOF | |
8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8733 rm -rf conftest* | |
8734 eval "ac_cv_lib_$ac_lib_var=yes" | |
8735 else | |
8736 echo "configure: failed program was:" >&5 | |
8737 cat conftest.$ac_ext >&5 | |
8738 rm -rf conftest* | |
8739 eval "ac_cv_lib_$ac_lib_var=no" | |
8740 fi | |
8741 rm -f conftest* | |
8742 xe_check_libs="" | |
8743 | |
8744 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8745 echo "$ac_t""yes" 1>&6 | |
8746 with_ldap_nolber=yes | |
8747 else | |
8748 echo "$ac_t""no" 1>&6 | |
8749 with_ldap_nolber=no | |
8750 fi | |
8751 | |
8752 | |
8753 test "$with_ldap_nolber" = "no" && { | |
8754 xe_msg_checking="for ldap_open in -lldap" | |
8755 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | |
8756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
8757 echo "configure:8758: checking "$xe_msg_checking"" >&5 | |
8758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
8759 | |
8760 xe_check_libs=" -lldap -llber" | |
8761 cat > conftest.$ac_ext <<EOF | |
8762 #line 8763 "configure" | |
8763 #include "confdefs.h" | |
8764 /* Override any gcc2 internal prototype to avoid an error. */ | |
8765 /* We use char because int might match the return type of a gcc2 | |
8766 builtin and then its argument prototype would still apply. */ | |
8767 char ldap_open(); | |
8768 | |
8769 int main() { | |
8770 ldap_open() | |
8771 ; return 0; } | |
8772 EOF | |
8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8774 rm -rf conftest* | |
8775 eval "ac_cv_lib_$ac_lib_var=yes" | |
8776 else | |
8777 echo "configure: failed program was:" >&5 | |
8778 cat conftest.$ac_ext >&5 | |
8779 rm -rf conftest* | |
8780 eval "ac_cv_lib_$ac_lib_var=no" | |
8781 fi | |
8782 rm -f conftest* | |
8783 xe_check_libs="" | |
8784 | |
8785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8786 echo "$ac_t""yes" 1>&6 | |
8787 with_ldap_lber=yes | |
8788 else | |
8789 echo "$ac_t""no" 1>&6 | |
8790 with_ldap_lber=no | |
8791 fi | |
8792 | |
8793 } | |
8794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | |
8795 xe_msg_checking="for ldap_open in -lldap" | |
8796 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | |
8797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
8798 echo "configure:8799: checking "$xe_msg_checking"" >&5 | |
8799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
8800 | |
8801 xe_check_libs=" -lldap -llber -lkrb" | |
8802 cat > conftest.$ac_ext <<EOF | |
8803 #line 8804 "configure" | |
8804 #include "confdefs.h" | |
8805 /* Override any gcc2 internal prototype to avoid an error. */ | |
8806 /* We use char because int might match the return type of a gcc2 | |
8807 builtin and then its argument prototype would still apply. */ | |
8808 char ldap_open(); | |
8809 | |
8810 int main() { | |
8811 ldap_open() | |
8812 ; return 0; } | |
8813 EOF | |
8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8815 rm -rf conftest* | |
8816 eval "ac_cv_lib_$ac_lib_var=yes" | |
8817 else | |
8818 echo "configure: failed program was:" >&5 | |
8819 cat conftest.$ac_ext >&5 | |
8820 rm -rf conftest* | |
8821 eval "ac_cv_lib_$ac_lib_var=no" | |
8822 fi | |
8823 rm -f conftest* | |
8824 xe_check_libs="" | |
8825 | |
8826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8827 echo "$ac_t""yes" 1>&6 | |
8828 with_ldap_krb=yes | |
8829 else | |
8830 echo "$ac_t""no" 1>&6 | |
8831 with_ldap_krb=no | |
8832 fi | |
8833 | |
8834 } | |
8835 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | |
8836 xe_msg_checking="for ldap_open in -lldap" | |
8837 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | |
8838 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
8839 echo "configure:8840: checking "$xe_msg_checking"" >&5 | |
8840 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
8841 | |
8842 xe_check_libs=" -lldap -llber -lkrb -ldes" | |
8843 cat > conftest.$ac_ext <<EOF | |
8844 #line 8845 "configure" | |
8845 #include "confdefs.h" | |
8846 /* Override any gcc2 internal prototype to avoid an error. */ | |
8847 /* We use char because int might match the return type of a gcc2 | |
8848 builtin and then its argument prototype would still apply. */ | |
8849 char ldap_open(); | |
8850 | |
8851 int main() { | |
8852 ldap_open() | |
8853 ; return 0; } | |
8854 EOF | |
8855 if { (eval echo configure:8856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8856 rm -rf conftest* | |
8857 eval "ac_cv_lib_$ac_lib_var=yes" | |
8858 else | |
8859 echo "configure: failed program was:" >&5 | |
8860 cat conftest.$ac_ext >&5 | |
8861 rm -rf conftest* | |
8862 eval "ac_cv_lib_$ac_lib_var=no" | |
8863 fi | |
8864 rm -f conftest* | |
8865 xe_check_libs="" | |
8866 | |
8867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8868 echo "$ac_t""yes" 1>&6 | |
8869 with_ldap_krbdes=yes | |
8870 else | |
8871 echo "$ac_t""no" 1>&6 | |
8872 with_ldap_krbdes=no | |
8873 fi | |
8874 | |
8875 } | |
8876 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" -o "$with_ldap_krb" = "yes" -o "$with_ldap_krbdes" = "yes" \) && with_ldap=yes | |
8877 fi | |
8878 if test "$with_ldap" = "yes"; then | |
8879 { test "$extra_verbose" = "yes" && cat << \EOF | |
8880 Defining HAVE_LDAP | |
8881 EOF | |
8882 cat >> confdefs.h <<\EOF | |
8883 #define HAVE_LDAP 1 | |
8884 EOF | |
8885 } | |
8886 | |
8887 if test "$with_ldap_nolber" = "yes" ; then | |
8888 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi | |
8889 else | |
8890 if test "$with_ldap_krb" = "yes" ; then | |
8891 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi | |
8892 fi | |
8893 if test "$with_ldap_krbdes" = "yes" ; then | |
8894 ldap_libs="-ldes $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldes\" to \$ldap_libs"; fi | |
8895 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi | |
8896 fi | |
8897 ldap_libs="-llber $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$ldap_libs"; fi | |
8898 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi | |
8899 fi | |
8900 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | |
8901 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | |
8902 do | |
8903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
8904 echo "configure:8905: checking for $ac_func" >&5 | |
8905 | |
8906 cat > conftest.$ac_ext <<EOF | |
8907 #line 8908 "configure" | |
8908 #include "confdefs.h" | |
8909 /* System header to define __stub macros and hopefully few prototypes, | |
8910 which can conflict with char $ac_func(); below. */ | |
8911 #include <assert.h> | |
8912 /* Override any gcc2 internal prototype to avoid an error. */ | |
8913 /* We use char because int might match the return type of a gcc2 | |
8914 builtin and then its argument prototype would still apply. */ | |
8915 char $ac_func(); | |
8916 | |
8917 int main() { | |
8918 | |
8919 /* The GNU C library defines this for functions which it implements | |
8920 to always fail with ENOSYS. Some functions are actually named | |
8921 something starting with __ and the normal name is an alias. */ | |
8922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
8923 choke me | |
8924 #else | |
8925 $ac_func(); | |
8926 #endif | |
8927 | |
8928 ; return 0; } | |
8929 EOF | |
8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8931 rm -rf conftest* | |
8932 eval "ac_cv_func_$ac_func=yes" | |
8933 else | |
8934 echo "configure: failed program was:" >&5 | |
8935 cat conftest.$ac_ext >&5 | |
8936 rm -rf conftest* | |
8937 eval "ac_cv_func_$ac_func=no" | |
8938 fi | |
8939 rm -f conftest* | |
8940 | |
8941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
8942 echo "$ac_t""yes" 1>&6 | |
8943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
8944 { test "$extra_verbose" = "yes" && cat << EOF | |
8945 Defining $ac_tr_func | |
8946 EOF | |
8947 cat >> confdefs.h <<EOF | |
8948 #define $ac_tr_func 1 | |
8949 EOF | |
8950 } | |
8951 | |
8952 else | |
8953 echo "$ac_t""no" 1>&6 | |
8954 fi | |
8955 done | |
8956 | |
8957 LIBS="$save_LIBS" | |
8958 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi | |
8959 need_modules_common=yes | |
8960 if test "$with_modules" = "yes"; then | |
8961 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
8962 fi | |
8963 fi | |
8964 | |
8965 | |
8966 postgresql_libs= | |
8967 if test "$with_postgresql" != "no"; then | |
8968 echo "checking for PostgreSQL" 1>&6 | |
8969 echo "configure:8970: checking for PostgreSQL" >&5 | |
8970 | |
8971 for header_dir in "" "pgsql/" "postgresql/"; do | |
8972 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | |
8973 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | |
8974 echo "configure:8975: checking for ${header_dir}libpq-fe.h" >&5 | |
8975 | |
8976 cat > conftest.$ac_ext <<EOF | |
8977 #line 8978 "configure" | |
8978 #include "confdefs.h" | |
8979 #include <${header_dir}libpq-fe.h> | |
8980 EOF | |
8981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8982 { (eval echo configure:8983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
8984 if test -z "$ac_err"; then | |
8985 rm -rf conftest* | |
8986 eval "ac_cv_header_$ac_safe=yes" | |
8987 else | |
8988 echo "$ac_err" >&5 | |
8989 echo "configure: failed program was:" >&5 | |
8990 cat conftest.$ac_ext >&5 | |
8991 rm -rf conftest* | |
8992 eval "ac_cv_header_$ac_safe=no" | |
8993 fi | |
8994 rm -f conftest* | |
8995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8996 echo "$ac_t""yes" 1>&6 | |
8997 libpq_fe_h_file=${header_dir}libpq-fe.h; break | |
8998 else | |
8999 echo "$ac_t""no" 1>&6 | |
9000 fi | |
9001 | |
9002 done | |
9003 | |
9004 test -n "$libpq_fe_h_file" && { | |
9005 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | |
9006 echo "configure:9007: checking for PQconnectdb in -lpq" >&5 | |
9007 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | |
9008 | |
9009 xe_check_libs=" -lpq " | |
9010 cat > conftest.$ac_ext <<EOF | |
9011 #line 9012 "configure" | |
9012 #include "confdefs.h" | |
9013 /* Override any gcc2 internal prototype to avoid an error. */ | |
9014 /* We use char because int might match the return type of a gcc2 | |
9015 builtin and then its argument prototype would still apply. */ | |
9016 char PQconnectdb(); | |
9017 | |
9018 int main() { | |
9019 PQconnectdb() | |
9020 ; return 0; } | |
9021 EOF | |
9022 if { (eval echo configure:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
9023 rm -rf conftest* | |
9024 eval "ac_cv_lib_$ac_lib_var=yes" | |
9025 else | |
9026 echo "configure: failed program was:" >&5 | |
9027 cat conftest.$ac_ext >&5 | |
9028 rm -rf conftest* | |
9029 eval "ac_cv_lib_$ac_lib_var=no" | |
9030 fi | |
9031 rm -f conftest* | |
9032 xe_check_libs="" | |
9033 | |
9034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
9035 echo "$ac_t""yes" 1>&6 | |
9036 have_libpq=yes | |
9037 else | |
9038 echo "$ac_t""no" 1>&6 | |
9039 fi | |
9040 | |
9041 } | |
9042 | |
9043 if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes"; then | |
9044 with_postgresql=yes | |
9045 { test "$extra_verbose" = "yes" && cat << \EOF | |
9046 Defining HAVE_POSTGRESQL | |
9047 EOF | |
9048 cat >> confdefs.h <<\EOF | |
9049 #define HAVE_POSTGRESQL 1 | |
9050 EOF | |
9051 } | |
9052 | |
9053 | |
9054 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | |
9055 echo "configure:9056: checking for PQconnectStart in -lpq" >&5 | |
9056 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | |
9057 | |
9058 xe_check_libs=" -lpq " | |
9059 cat > conftest.$ac_ext <<EOF | |
9060 #line 9061 "configure" | |
9061 #include "confdefs.h" | |
9062 /* Override any gcc2 internal prototype to avoid an error. */ | |
9063 /* We use char because int might match the return type of a gcc2 | |
9064 builtin and then its argument prototype would still apply. */ | |
9065 char PQconnectStart(); | |
9066 | |
9067 int main() { | |
9068 PQconnectStart() | |
9069 ; return 0; } | |
9070 EOF | |
9071 if { (eval echo configure:9072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
9072 rm -rf conftest* | |
9073 eval "ac_cv_lib_$ac_lib_var=yes" | |
9074 else | |
9075 echo "configure: failed program was:" >&5 | |
9076 cat conftest.$ac_ext >&5 | |
9077 rm -rf conftest* | |
9078 eval "ac_cv_lib_$ac_lib_var=no" | |
9079 fi | |
9080 rm -f conftest* | |
9081 xe_check_libs="" | |
9082 | |
9083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
9084 echo "$ac_t""yes" 1>&6 | |
9085 with_postgresqlv7=yes; | |
9086 { test "$extra_verbose" = "yes" && cat << \EOF | |
9087 Defining HAVE_POSTGRESQLV7 | |
9088 EOF | |
9089 cat >> confdefs.h <<\EOF | |
9090 #define HAVE_POSTGRESQLV7 1 | |
9091 EOF | |
9092 } | |
9093 | |
9094 else | |
9095 echo "$ac_t""no" 1>&6 | |
9096 fi | |
9097 | |
9098 | |
9099 { test "$extra_verbose" = "yes" && cat << EOF | |
9100 Defining LIBPQ_FE_H_FILE = "$libpq_fe_h_file" | |
9101 EOF | |
9102 cat >> confdefs.h <<EOF | |
9103 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | |
9104 EOF | |
9105 } | |
9106 | |
9107 postgresql_libs="-lpq $postgresql_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$postgresql_libs"; fi | |
9108 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi | |
9109 need_modules_common=yes | |
9110 if test "$with_modules" = "yes"; then | |
9111 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
9112 fi | |
9113 elif test "$with_postgresql" = "yes"; then | |
9114 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | |
9115 fi | |
9116 fi | |
9117 | |
9118 | 7767 |
9119 | 7768 |
9120 if test "$window_system" != "none"; then | 7769 if test "$window_system" != "none"; then |
9121 echo "checking for graphics libraries" 1>&6 | 7770 echo "checking for graphics libraries" 1>&6 |
9122 echo "configure:9123: checking for graphics libraries" >&5 | 7771 echo "configure:7772: checking for graphics libraries" >&5 |
9123 | 7772 |
9124 libpath_xpm= | 7773 libpath_xpm= |
9125 incpath_xpm= | 7774 incpath_xpm= |
9126 case "$opsys" in | 7775 case "$opsys" in |
9127 cygwin*) | 7776 cygwin*) |
9143 xpm_problem="" | 7792 xpm_problem="" |
9144 if test -z "$with_xpm"; then | 7793 if test -z "$with_xpm"; then |
9145 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 7794 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9146 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 7795 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9147 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7796 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9148 echo "configure:9149: checking for Xpm - no older than 3.4f" >&5 | 7797 echo "configure:7798: checking for Xpm - no older than 3.4f" >&5 |
9149 xe_check_libs=-lXpm | 7798 xe_check_libs=-lXpm |
9150 cat > conftest.$ac_ext <<EOF | 7799 cat > conftest.$ac_ext <<EOF |
9151 #line 9152 "configure" | 7800 #line 7801 "configure" |
9152 #include "confdefs.h" | 7801 #include "confdefs.h" |
9153 #define XPM_NUMBERS | 7802 #define XPM_NUMBERS |
9154 #include <X11/xpm.h> | 7803 #include <X11/xpm.h> |
9155 int main(int c, char **v) { | 7804 int main(int c, char **v) { |
9156 return c == 1 ? 0 : | 7805 return c == 1 ? 0 : |
9157 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7806 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9158 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7807 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9159 EOF | 7808 EOF |
9160 if { (eval echo configure:9161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9161 then | 7810 then |
9162 ./conftest dummy_arg; xpm_status=$?; | 7811 ./conftest dummy_arg; xpm_status=$?; |
9163 if test "$xpm_status" = "0"; then | 7812 if test "$xpm_status" = "0"; then |
9164 with_xpm=yes; | 7813 with_xpm=yes; |
9165 else | 7814 else |
9199 | 7848 |
9200 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 7849 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9201 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7850 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9202 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 7851 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9203 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7852 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9204 echo "configure:9205: checking for \"FOR_MSW\" xpm" >&5 | 7853 echo "configure:7854: checking for \"FOR_MSW\" xpm" >&5 |
9205 xe_check_libs=-lXpm | 7854 xe_check_libs=-lXpm |
9206 cat > conftest.$ac_ext <<EOF | 7855 cat > conftest.$ac_ext <<EOF |
9207 #line 9208 "configure" | 7856 #line 7857 "configure" |
9208 #include "confdefs.h" | 7857 #include "confdefs.h" |
9209 | 7858 |
9210 int main() { | 7859 int main() { |
9211 XpmCreatePixmapFromData() | 7860 XpmCreatePixmapFromData() |
9212 ; return 0; } | 7861 ; return 0; } |
9213 EOF | 7862 EOF |
9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7863 if { (eval echo configure:7864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9215 rm -rf conftest* | 7864 rm -rf conftest* |
9216 xpm_for_msw=no | 7865 xpm_for_msw=no |
9217 else | 7866 else |
9218 echo "configure: failed program was:" >&5 | 7867 echo "configure: failed program was:" >&5 |
9219 cat conftest.$ac_ext >&5 | 7868 cat conftest.$ac_ext >&5 |
9235 fi | 7884 fi |
9236 fi | 7885 fi |
9237 | 7886 |
9238 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7887 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9239 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7888 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9240 echo "configure:9241: checking for compface.h" >&5 | 7889 echo "configure:7890: checking for compface.h" >&5 |
9241 | 7890 |
9242 cat > conftest.$ac_ext <<EOF | 7891 cat > conftest.$ac_ext <<EOF |
9243 #line 9244 "configure" | 7892 #line 7893 "configure" |
9244 #include "confdefs.h" | 7893 #include "confdefs.h" |
9245 #include <compface.h> | 7894 #include <compface.h> |
9246 EOF | 7895 EOF |
9247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9248 { (eval echo configure:9249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7897 { (eval echo configure:7898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9250 if test -z "$ac_err"; then | 7899 if test -z "$ac_err"; then |
9251 rm -rf conftest* | 7900 rm -rf conftest* |
9252 eval "ac_cv_header_$ac_safe=yes" | 7901 eval "ac_cv_header_$ac_safe=yes" |
9253 else | 7902 else |
9266 with_xface=no | 7915 with_xface=no |
9267 fi | 7916 fi |
9268 } | 7917 } |
9269 test -z "$with_xface" && { | 7918 test -z "$with_xface" && { |
9270 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7919 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9271 echo "configure:9272: checking for UnGenFace in -lcompface" >&5 | 7920 echo "configure:7921: checking for UnGenFace in -lcompface" >&5 |
9272 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7921 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9273 | 7922 |
9274 xe_check_libs=" -lcompface " | 7923 xe_check_libs=" -lcompface " |
9275 cat > conftest.$ac_ext <<EOF | 7924 cat > conftest.$ac_ext <<EOF |
9276 #line 9277 "configure" | 7925 #line 7926 "configure" |
9277 #include "confdefs.h" | 7926 #include "confdefs.h" |
9278 /* Override any gcc2 internal prototype to avoid an error. */ | 7927 /* Override any gcc2 internal prototype to avoid an error. */ |
9279 /* We use char because int might match the return type of a gcc2 | 7928 /* We use char because int might match the return type of a gcc2 |
9280 builtin and then its argument prototype would still apply. */ | 7929 builtin and then its argument prototype would still apply. */ |
9281 char UnGenFace(); | 7930 char UnGenFace(); |
9282 | 7931 |
9283 int main() { | 7932 int main() { |
9284 UnGenFace() | 7933 UnGenFace() |
9285 ; return 0; } | 7934 ; return 0; } |
9286 EOF | 7935 EOF |
9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9288 rm -rf conftest* | 7937 rm -rf conftest* |
9289 eval "ac_cv_lib_$ac_lib_var=yes" | 7938 eval "ac_cv_lib_$ac_lib_var=yes" |
9290 else | 7939 else |
9291 echo "configure: failed program was:" >&5 | 7940 echo "configure: failed program was:" >&5 |
9292 cat conftest.$ac_ext >&5 | 7941 cat conftest.$ac_ext >&5 |
9331 fi | 7980 fi |
9332 | 7981 |
9333 if test "$with_png $with_tiff" != "no no"; then | 7982 if test "$with_png $with_tiff" != "no no"; then |
9334 | 7983 |
9335 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7984 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9336 echo "configure:9337: checking for inflate in -lc" >&5 | 7985 echo "configure:7986: checking for inflate in -lc" >&5 |
9337 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7986 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9338 | 7987 |
9339 xe_check_libs=" -lc " | 7988 xe_check_libs=" -lc " |
9340 cat > conftest.$ac_ext <<EOF | 7989 cat > conftest.$ac_ext <<EOF |
9341 #line 9342 "configure" | 7990 #line 7991 "configure" |
9342 #include "confdefs.h" | 7991 #include "confdefs.h" |
9343 /* Override any gcc2 internal prototype to avoid an error. */ | 7992 /* Override any gcc2 internal prototype to avoid an error. */ |
9344 /* We use char because int might match the return type of a gcc2 | 7993 /* We use char because int might match the return type of a gcc2 |
9345 builtin and then its argument prototype would still apply. */ | 7994 builtin and then its argument prototype would still apply. */ |
9346 char inflate(); | 7995 char inflate(); |
9347 | 7996 |
9348 int main() { | 7997 int main() { |
9349 inflate() | 7998 inflate() |
9350 ; return 0; } | 7999 ; return 0; } |
9351 EOF | 8000 EOF |
9352 if { (eval echo configure:9353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8001 if { (eval echo configure:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9353 rm -rf conftest* | 8002 rm -rf conftest* |
9354 eval "ac_cv_lib_$ac_lib_var=yes" | 8003 eval "ac_cv_lib_$ac_lib_var=yes" |
9355 else | 8004 else |
9356 echo "configure: failed program was:" >&5 | 8005 echo "configure: failed program was:" >&5 |
9357 cat conftest.$ac_ext >&5 | 8006 cat conftest.$ac_ext >&5 |
9366 : | 8015 : |
9367 else | 8016 else |
9368 echo "$ac_t""no" 1>&6 | 8017 echo "$ac_t""no" 1>&6 |
9369 | 8018 |
9370 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8019 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9371 echo "configure:9372: checking for inflate in -lz" >&5 | 8020 echo "configure:8021: checking for inflate in -lz" >&5 |
9372 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8021 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9373 | 8022 |
9374 xe_check_libs=" -lz " | 8023 xe_check_libs=" -lz " |
9375 cat > conftest.$ac_ext <<EOF | 8024 cat > conftest.$ac_ext <<EOF |
9376 #line 9377 "configure" | 8025 #line 8026 "configure" |
9377 #include "confdefs.h" | 8026 #include "confdefs.h" |
9378 /* Override any gcc2 internal prototype to avoid an error. */ | 8027 /* Override any gcc2 internal prototype to avoid an error. */ |
9379 /* We use char because int might match the return type of a gcc2 | 8028 /* We use char because int might match the return type of a gcc2 |
9380 builtin and then its argument prototype would still apply. */ | 8029 builtin and then its argument prototype would still apply. */ |
9381 char inflate(); | 8030 char inflate(); |
9382 | 8031 |
9383 int main() { | 8032 int main() { |
9384 inflate() | 8033 inflate() |
9385 ; return 0; } | 8034 ; return 0; } |
9386 EOF | 8035 EOF |
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8036 if { (eval echo configure:8037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9388 rm -rf conftest* | 8037 rm -rf conftest* |
9389 eval "ac_cv_lib_$ac_lib_var=yes" | 8038 eval "ac_cv_lib_$ac_lib_var=yes" |
9390 else | 8039 else |
9391 echo "configure: failed program was:" >&5 | 8040 echo "configure: failed program was:" >&5 |
9392 cat conftest.$ac_ext >&5 | 8041 cat conftest.$ac_ext >&5 |
9401 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8050 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9402 else | 8051 else |
9403 echo "$ac_t""no" 1>&6 | 8052 echo "$ac_t""no" 1>&6 |
9404 | 8053 |
9405 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8054 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9406 echo "configure:9407: checking for inflate in -lgz" >&5 | 8055 echo "configure:8056: checking for inflate in -lgz" >&5 |
9407 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8056 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9408 | 8057 |
9409 xe_check_libs=" -lgz " | 8058 xe_check_libs=" -lgz " |
9410 cat > conftest.$ac_ext <<EOF | 8059 cat > conftest.$ac_ext <<EOF |
9411 #line 9412 "configure" | 8060 #line 8061 "configure" |
9412 #include "confdefs.h" | 8061 #include "confdefs.h" |
9413 /* Override any gcc2 internal prototype to avoid an error. */ | 8062 /* Override any gcc2 internal prototype to avoid an error. */ |
9414 /* We use char because int might match the return type of a gcc2 | 8063 /* We use char because int might match the return type of a gcc2 |
9415 builtin and then its argument prototype would still apply. */ | 8064 builtin and then its argument prototype would still apply. */ |
9416 char inflate(); | 8065 char inflate(); |
9417 | 8066 |
9418 int main() { | 8067 int main() { |
9419 inflate() | 8068 inflate() |
9420 ; return 0; } | 8069 ; return 0; } |
9421 EOF | 8070 EOF |
9422 if { (eval echo configure:9423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9423 rm -rf conftest* | 8072 rm -rf conftest* |
9424 eval "ac_cv_lib_$ac_lib_var=yes" | 8073 eval "ac_cv_lib_$ac_lib_var=yes" |
9425 else | 8074 else |
9426 echo "configure: failed program was:" >&5 | 8075 echo "configure: failed program was:" >&5 |
9427 cat conftest.$ac_ext >&5 | 8076 cat conftest.$ac_ext >&5 |
9447 | 8096 |
9448 fi | 8097 fi |
9449 | 8098 |
9450 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8099 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9451 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8100 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9452 echo "configure:9453: checking for jpeglib.h" >&5 | 8101 echo "configure:8102: checking for jpeglib.h" >&5 |
9453 | 8102 |
9454 cat > conftest.$ac_ext <<EOF | 8103 cat > conftest.$ac_ext <<EOF |
9455 #line 9456 "configure" | 8104 #line 8105 "configure" |
9456 #include "confdefs.h" | 8105 #include "confdefs.h" |
9457 #include <jpeglib.h> | 8106 #include <jpeglib.h> |
9458 EOF | 8107 EOF |
9459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9460 { (eval echo configure:9461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8109 { (eval echo configure:8110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9462 if test -z "$ac_err"; then | 8111 if test -z "$ac_err"; then |
9463 rm -rf conftest* | 8112 rm -rf conftest* |
9464 eval "ac_cv_header_$ac_safe=yes" | 8113 eval "ac_cv_header_$ac_safe=yes" |
9465 else | 8114 else |
9478 with_jpeg=no | 8127 with_jpeg=no |
9479 fi | 8128 fi |
9480 } | 8129 } |
9481 test -z "$with_jpeg" && { | 8130 test -z "$with_jpeg" && { |
9482 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8131 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9483 echo "configure:9484: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8132 echo "configure:8133: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9484 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8133 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9485 | 8134 |
9486 xe_check_libs=" -ljpeg " | 8135 xe_check_libs=" -ljpeg " |
9487 cat > conftest.$ac_ext <<EOF | 8136 cat > conftest.$ac_ext <<EOF |
9488 #line 9489 "configure" | 8137 #line 8138 "configure" |
9489 #include "confdefs.h" | 8138 #include "confdefs.h" |
9490 /* Override any gcc2 internal prototype to avoid an error. */ | 8139 /* Override any gcc2 internal prototype to avoid an error. */ |
9491 /* We use char because int might match the return type of a gcc2 | 8140 /* We use char because int might match the return type of a gcc2 |
9492 builtin and then its argument prototype would still apply. */ | 8141 builtin and then its argument prototype would still apply. */ |
9493 char jpeg_destroy_decompress(); | 8142 char jpeg_destroy_decompress(); |
9494 | 8143 |
9495 int main() { | 8144 int main() { |
9496 jpeg_destroy_decompress() | 8145 jpeg_destroy_decompress() |
9497 ; return 0; } | 8146 ; return 0; } |
9498 EOF | 8147 EOF |
9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8148 if { (eval echo configure:8149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9500 rm -rf conftest* | 8149 rm -rf conftest* |
9501 eval "ac_cv_lib_$ac_lib_var=yes" | 8150 eval "ac_cv_lib_$ac_lib_var=yes" |
9502 else | 8151 else |
9503 echo "configure: failed program was:" >&5 | 8152 echo "configure: failed program was:" >&5 |
9504 cat conftest.$ac_ext >&5 | 8153 cat conftest.$ac_ext >&5 |
9530 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8179 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9531 fi | 8180 fi |
9532 | 8181 |
9533 png_problem="" | 8182 png_problem="" |
9534 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8183 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9535 echo "configure:9536: checking for pow" >&5 | 8184 echo "configure:8185: checking for pow" >&5 |
9536 | 8185 |
9537 cat > conftest.$ac_ext <<EOF | 8186 cat > conftest.$ac_ext <<EOF |
9538 #line 9539 "configure" | 8187 #line 8188 "configure" |
9539 #include "confdefs.h" | 8188 #include "confdefs.h" |
9540 /* System header to define __stub macros and hopefully few prototypes, | 8189 /* System header to define __stub macros and hopefully few prototypes, |
9541 which can conflict with char pow(); below. */ | 8190 which can conflict with char pow(); below. */ |
9542 #include <assert.h> | 8191 #include <assert.h> |
9543 /* Override any gcc2 internal prototype to avoid an error. */ | 8192 /* Override any gcc2 internal prototype to avoid an error. */ |
9556 pow(); | 8205 pow(); |
9557 #endif | 8206 #endif |
9558 | 8207 |
9559 ; return 0; } | 8208 ; return 0; } |
9560 EOF | 8209 EOF |
9561 if { (eval echo configure:9562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9562 rm -rf conftest* | 8211 rm -rf conftest* |
9563 eval "ac_cv_func_pow=yes" | 8212 eval "ac_cv_func_pow=yes" |
9564 else | 8213 else |
9565 echo "configure: failed program was:" >&5 | 8214 echo "configure: failed program was:" >&5 |
9566 cat conftest.$ac_ext >&5 | 8215 cat conftest.$ac_ext >&5 |
9577 with_png=no | 8226 with_png=no |
9578 fi | 8227 fi |
9579 } | 8228 } |
9580 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8229 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9581 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8230 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9582 echo "configure:9583: checking for png.h" >&5 | 8231 echo "configure:8232: checking for png.h" >&5 |
9583 | 8232 |
9584 cat > conftest.$ac_ext <<EOF | 8233 cat > conftest.$ac_ext <<EOF |
9585 #line 9586 "configure" | 8234 #line 8235 "configure" |
9586 #include "confdefs.h" | 8235 #include "confdefs.h" |
9587 #include <png.h> | 8236 #include <png.h> |
9588 EOF | 8237 EOF |
9589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9590 { (eval echo configure:9591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8239 { (eval echo configure:8240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9592 if test -z "$ac_err"; then | 8241 if test -z "$ac_err"; then |
9593 rm -rf conftest* | 8242 rm -rf conftest* |
9594 eval "ac_cv_header_$ac_safe=yes" | 8243 eval "ac_cv_header_$ac_safe=yes" |
9595 else | 8244 else |
9608 with_png=no | 8257 with_png=no |
9609 fi | 8258 fi |
9610 } | 8259 } |
9611 test -z "$with_png" && { | 8260 test -z "$with_png" && { |
9612 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8261 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9613 echo "configure:9614: checking for png_read_image in -lpng" >&5 | 8262 echo "configure:8263: checking for png_read_image in -lpng" >&5 |
9614 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8263 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9615 | 8264 |
9616 xe_check_libs=" -lpng " | 8265 xe_check_libs=" -lpng " |
9617 cat > conftest.$ac_ext <<EOF | 8266 cat > conftest.$ac_ext <<EOF |
9618 #line 9619 "configure" | 8267 #line 8268 "configure" |
9619 #include "confdefs.h" | 8268 #include "confdefs.h" |
9620 /* Override any gcc2 internal prototype to avoid an error. */ | 8269 /* Override any gcc2 internal prototype to avoid an error. */ |
9621 /* We use char because int might match the return type of a gcc2 | 8270 /* We use char because int might match the return type of a gcc2 |
9622 builtin and then its argument prototype would still apply. */ | 8271 builtin and then its argument prototype would still apply. */ |
9623 char png_read_image(); | 8272 char png_read_image(); |
9624 | 8273 |
9625 int main() { | 8274 int main() { |
9626 png_read_image() | 8275 png_read_image() |
9627 ; return 0; } | 8276 ; return 0; } |
9628 EOF | 8277 EOF |
9629 if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8278 if { (eval echo configure:8279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9630 rm -rf conftest* | 8279 rm -rf conftest* |
9631 eval "ac_cv_lib_$ac_lib_var=yes" | 8280 eval "ac_cv_lib_$ac_lib_var=yes" |
9632 else | 8281 else |
9633 echo "configure: failed program was:" >&5 | 8282 echo "configure: failed program was:" >&5 |
9634 cat conftest.$ac_ext >&5 | 8283 cat conftest.$ac_ext >&5 |
9647 fi | 8296 fi |
9648 | 8297 |
9649 } | 8298 } |
9650 if test -z "$with_png"; then | 8299 if test -z "$with_png"; then |
9651 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8300 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9652 echo "configure:9653: checking for workable png version information" >&5 | 8301 echo "configure:8302: checking for workable png version information" >&5 |
9653 xe_check_libs="-lpng -lz" | 8302 xe_check_libs="-lpng -lz" |
9654 cat > conftest.$ac_ext <<EOF | 8303 cat > conftest.$ac_ext <<EOF |
9655 #line 9656 "configure" | 8304 #line 8305 "configure" |
9656 #include "confdefs.h" | 8305 #include "confdefs.h" |
9657 #include <png.h> | 8306 #include <png.h> |
9658 int main(int c, char **v) { | 8307 int main(int c, char **v) { |
9659 if (c == 1) return 0; | 8308 if (c == 1) return 0; |
9660 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8309 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9661 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8310 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9662 EOF | 8311 EOF |
9663 if { (eval echo configure:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9664 then | 8313 then |
9665 ./conftest dummy_arg; png_status=$?; | 8314 ./conftest dummy_arg; png_status=$?; |
9666 if test "$png_status" = "0"; then | 8315 if test "$png_status" = "0"; then |
9667 with_png=yes; | 8316 with_png=yes; |
9668 else | 8317 else |
9701 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8350 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9702 fi | 8351 fi |
9703 | 8352 |
9704 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8353 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9705 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8354 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9706 echo "configure:9707: checking for tiffio.h" >&5 | 8355 echo "configure:8356: checking for tiffio.h" >&5 |
9707 | 8356 |
9708 cat > conftest.$ac_ext <<EOF | 8357 cat > conftest.$ac_ext <<EOF |
9709 #line 9710 "configure" | 8358 #line 8359 "configure" |
9710 #include "confdefs.h" | 8359 #include "confdefs.h" |
9711 #include <tiffio.h> | 8360 #include <tiffio.h> |
9712 EOF | 8361 EOF |
9713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9714 { (eval echo configure:9715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8363 { (eval echo configure:8364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9716 if test -z "$ac_err"; then | 8365 if test -z "$ac_err"; then |
9717 rm -rf conftest* | 8366 rm -rf conftest* |
9718 eval "ac_cv_header_$ac_safe=yes" | 8367 eval "ac_cv_header_$ac_safe=yes" |
9719 else | 8368 else |
9732 with_tiff=no | 8381 with_tiff=no |
9733 fi | 8382 fi |
9734 } | 8383 } |
9735 test -z "$with_tiff" && { | 8384 test -z "$with_tiff" && { |
9736 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8385 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9737 echo "configure:9738: checking for TIFFClientOpen in -ltiff" >&5 | 8386 echo "configure:8387: checking for TIFFClientOpen in -ltiff" >&5 |
9738 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8387 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9739 | 8388 |
9740 xe_check_libs=" -ltiff " | 8389 xe_check_libs=" -ltiff " |
9741 cat > conftest.$ac_ext <<EOF | 8390 cat > conftest.$ac_ext <<EOF |
9742 #line 9743 "configure" | 8391 #line 8392 "configure" |
9743 #include "confdefs.h" | 8392 #include "confdefs.h" |
9744 /* Override any gcc2 internal prototype to avoid an error. */ | 8393 /* Override any gcc2 internal prototype to avoid an error. */ |
9745 /* We use char because int might match the return type of a gcc2 | 8394 /* We use char because int might match the return type of a gcc2 |
9746 builtin and then its argument prototype would still apply. */ | 8395 builtin and then its argument prototype would still apply. */ |
9747 char TIFFClientOpen(); | 8396 char TIFFClientOpen(); |
9748 | 8397 |
9749 int main() { | 8398 int main() { |
9750 TIFFClientOpen() | 8399 TIFFClientOpen() |
9751 ; return 0; } | 8400 ; return 0; } |
9752 EOF | 8401 EOF |
9753 if { (eval echo configure:9754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9754 rm -rf conftest* | 8403 rm -rf conftest* |
9755 eval "ac_cv_lib_$ac_lib_var=yes" | 8404 eval "ac_cv_lib_$ac_lib_var=yes" |
9756 else | 8405 else |
9757 echo "configure: failed program was:" >&5 | 8406 echo "configure: failed program was:" >&5 |
9758 cat conftest.$ac_ext >&5 | 8407 cat conftest.$ac_ext >&5 |
9787 | 8436 |
9788 | 8437 |
9789 if test "$with_gtk" = "yes"; then | 8438 if test "$with_gtk" = "yes"; then |
9790 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8439 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9791 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8440 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9792 echo "configure:9793: checking for compface.h" >&5 | 8441 echo "configure:8442: checking for compface.h" >&5 |
9793 | 8442 |
9794 cat > conftest.$ac_ext <<EOF | 8443 cat > conftest.$ac_ext <<EOF |
9795 #line 9796 "configure" | 8444 #line 8445 "configure" |
9796 #include "confdefs.h" | 8445 #include "confdefs.h" |
9797 #include <compface.h> | 8446 #include <compface.h> |
9798 EOF | 8447 EOF |
9799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9800 { (eval echo configure:9801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9802 if test -z "$ac_err"; then | 8451 if test -z "$ac_err"; then |
9803 rm -rf conftest* | 8452 rm -rf conftest* |
9804 eval "ac_cv_header_$ac_safe=yes" | 8453 eval "ac_cv_header_$ac_safe=yes" |
9805 else | 8454 else |
9818 with_xface=no | 8467 with_xface=no |
9819 fi | 8468 fi |
9820 } | 8469 } |
9821 test -z "$with_xface" && { | 8470 test -z "$with_xface" && { |
9822 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8471 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9823 echo "configure:9824: checking for UnGenFace in -lcompface" >&5 | 8472 echo "configure:8473: checking for UnGenFace in -lcompface" >&5 |
9824 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8473 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9825 | 8474 |
9826 xe_check_libs=" -lcompface " | 8475 xe_check_libs=" -lcompface " |
9827 cat > conftest.$ac_ext <<EOF | 8476 cat > conftest.$ac_ext <<EOF |
9828 #line 9829 "configure" | 8477 #line 8478 "configure" |
9829 #include "confdefs.h" | 8478 #include "confdefs.h" |
9830 /* Override any gcc2 internal prototype to avoid an error. */ | 8479 /* Override any gcc2 internal prototype to avoid an error. */ |
9831 /* We use char because int might match the return type of a gcc2 | 8480 /* We use char because int might match the return type of a gcc2 |
9832 builtin and then its argument prototype would still apply. */ | 8481 builtin and then its argument prototype would still apply. */ |
9833 char UnGenFace(); | 8482 char UnGenFace(); |
9834 | 8483 |
9835 int main() { | 8484 int main() { |
9836 UnGenFace() | 8485 UnGenFace() |
9837 ; return 0; } | 8486 ; return 0; } |
9838 EOF | 8487 EOF |
9839 if { (eval echo configure:9840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9840 rm -rf conftest* | 8489 rm -rf conftest* |
9841 eval "ac_cv_lib_$ac_lib_var=yes" | 8490 eval "ac_cv_lib_$ac_lib_var=yes" |
9842 else | 8491 else |
9843 echo "configure: failed program was:" >&5 | 8492 echo "configure: failed program was:" >&5 |
9844 cat conftest.$ac_ext >&5 | 8493 cat conftest.$ac_ext >&5 |
9873 | 8522 |
9874 | 8523 |
9875 | 8524 |
9876 if test "$with_x11" = "yes"; then | 8525 if test "$with_x11" = "yes"; then |
9877 echo "checking for X11 graphics libraries" 1>&6 | 8526 echo "checking for X11 graphics libraries" 1>&6 |
9878 echo "configure:9879: checking for X11 graphics libraries" >&5 | 8527 echo "configure:8528: checking for X11 graphics libraries" >&5 |
9879 fi | 8528 fi |
9880 | 8529 |
9881 case "$with_widgets" in | 8530 case "$with_widgets" in |
9882 "yes" | "athena") detect_athena=yes ;; | 8531 "yes" | "athena") detect_athena=yes ;; |
9883 *) detect_athena=no ;; | 8532 *) detect_athena=no ;; |
9884 esac | 8533 esac |
9885 | 8534 |
9886 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8535 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9887 echo "checking for the Athena widgets" 1>&6 | 8536 echo "checking for the Athena widgets" 1>&6 |
9888 echo "configure:9889: checking for the Athena widgets" >&5 | 8537 echo "configure:8538: checking for the Athena widgets" >&5 |
9889 | 8538 |
9890 case "$with_athena" in | 8539 case "$with_athena" in |
9891 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8540 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9892 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8541 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9893 "next") athena_variant=neXtaw athena_3d=yes ;; | 8542 "next") athena_variant=neXtaw athena_3d=yes ;; |
9897 esac | 8546 esac |
9898 | 8547 |
9899 if test "$athena_3d" = "no"; then | 8548 if test "$athena_3d" = "no"; then |
9900 | 8549 |
9901 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8550 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9902 echo "configure:9903: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8551 echo "configure:8552: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9903 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8552 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9904 | 8553 |
9905 xe_check_libs=" -l$athena_variant " | 8554 xe_check_libs=" -l$athena_variant " |
9906 cat > conftest.$ac_ext <<EOF | 8555 cat > conftest.$ac_ext <<EOF |
9907 #line 9908 "configure" | 8556 #line 8557 "configure" |
9908 #include "confdefs.h" | 8557 #include "confdefs.h" |
9909 /* Override any gcc2 internal prototype to avoid an error. */ | 8558 /* Override any gcc2 internal prototype to avoid an error. */ |
9910 /* We use char because int might match the return type of a gcc2 | 8559 /* We use char because int might match the return type of a gcc2 |
9911 builtin and then its argument prototype would still apply. */ | 8560 builtin and then its argument prototype would still apply. */ |
9912 char XawScrollbarSetThumb(); | 8561 char XawScrollbarSetThumb(); |
9913 | 8562 |
9914 int main() { | 8563 int main() { |
9915 XawScrollbarSetThumb() | 8564 XawScrollbarSetThumb() |
9916 ; return 0; } | 8565 ; return 0; } |
9917 EOF | 8566 EOF |
9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8567 if { (eval echo configure:8568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9919 rm -rf conftest* | 8568 rm -rf conftest* |
9920 eval "ac_cv_lib_$ac_lib_var=yes" | 8569 eval "ac_cv_lib_$ac_lib_var=yes" |
9921 else | 8570 else |
9922 echo "configure: failed program was:" >&5 | 8571 echo "configure: failed program was:" >&5 |
9923 cat conftest.$ac_ext >&5 | 8572 cat conftest.$ac_ext >&5 |
9929 | 8578 |
9930 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9931 echo "$ac_t""yes" 1>&6 | 8580 echo "$ac_t""yes" 1>&6 |
9932 | 8581 |
9933 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8582 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9934 echo "configure:9935: checking for threeDClassRec in -l$athena_variant" >&5 | 8583 echo "configure:8584: checking for threeDClassRec in -l$athena_variant" >&5 |
9935 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8584 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9936 | 8585 |
9937 xe_check_libs=" -l$athena_variant " | 8586 xe_check_libs=" -l$athena_variant " |
9938 cat > conftest.$ac_ext <<EOF | 8587 cat > conftest.$ac_ext <<EOF |
9939 #line 9940 "configure" | 8588 #line 8589 "configure" |
9940 #include "confdefs.h" | 8589 #include "confdefs.h" |
9941 /* Override any gcc2 internal prototype to avoid an error. */ | 8590 /* Override any gcc2 internal prototype to avoid an error. */ |
9942 /* We use char because int might match the return type of a gcc2 | 8591 /* We use char because int might match the return type of a gcc2 |
9943 builtin and then its argument prototype would still apply. */ | 8592 builtin and then its argument prototype would still apply. */ |
9944 char threeDClassRec(); | 8593 char threeDClassRec(); |
9945 | 8594 |
9946 int main() { | 8595 int main() { |
9947 threeDClassRec() | 8596 threeDClassRec() |
9948 ; return 0; } | 8597 ; return 0; } |
9949 EOF | 8598 EOF |
9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8599 if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9951 rm -rf conftest* | 8600 rm -rf conftest* |
9952 eval "ac_cv_lib_$ac_lib_var=yes" | 8601 eval "ac_cv_lib_$ac_lib_var=yes" |
9953 else | 8602 else |
9954 echo "configure: failed program was:" >&5 | 8603 echo "configure: failed program was:" >&5 |
9955 cat conftest.$ac_ext >&5 | 8604 cat conftest.$ac_ext >&5 |
9976 | 8625 |
9977 | 8626 |
9978 else | 8627 else |
9979 | 8628 |
9980 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8629 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9981 echo "configure:9982: checking for threeDClassRec in -l$athena_variant" >&5 | 8630 echo "configure:8631: checking for threeDClassRec in -l$athena_variant" >&5 |
9982 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8631 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9983 | 8632 |
9984 xe_check_libs=" -l$athena_variant " | 8633 xe_check_libs=" -l$athena_variant " |
9985 cat > conftest.$ac_ext <<EOF | 8634 cat > conftest.$ac_ext <<EOF |
9986 #line 9987 "configure" | 8635 #line 8636 "configure" |
9987 #include "confdefs.h" | 8636 #include "confdefs.h" |
9988 /* Override any gcc2 internal prototype to avoid an error. */ | 8637 /* Override any gcc2 internal prototype to avoid an error. */ |
9989 /* We use char because int might match the return type of a gcc2 | 8638 /* We use char because int might match the return type of a gcc2 |
9990 builtin and then its argument prototype would still apply. */ | 8639 builtin and then its argument prototype would still apply. */ |
9991 char threeDClassRec(); | 8640 char threeDClassRec(); |
9992 | 8641 |
9993 int main() { | 8642 int main() { |
9994 threeDClassRec() | 8643 threeDClassRec() |
9995 ; return 0; } | 8644 ; return 0; } |
9996 EOF | 8645 EOF |
9997 if { (eval echo configure:9998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9998 rm -rf conftest* | 8647 rm -rf conftest* |
9999 eval "ac_cv_lib_$ac_lib_var=yes" | 8648 eval "ac_cv_lib_$ac_lib_var=yes" |
10000 else | 8649 else |
10001 echo "configure: failed program was:" >&5 | 8650 echo "configure: failed program was:" >&5 |
10002 cat conftest.$ac_ext >&5 | 8651 cat conftest.$ac_ext >&5 |
10010 echo "$ac_t""yes" 1>&6 | 8659 echo "$ac_t""yes" 1>&6 |
10011 athena_lib=$athena_variant | 8660 athena_lib=$athena_variant |
10012 else | 8661 else |
10013 echo "$ac_t""no" 1>&6 | 8662 echo "$ac_t""no" 1>&6 |
10014 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8663 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10015 echo "configure:10016: checking for threeDClassRec in -lXaw" >&5 | 8664 echo "configure:8665: checking for threeDClassRec in -lXaw" >&5 |
10016 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8665 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10017 | 8666 |
10018 xe_check_libs=" -lXaw " | 8667 xe_check_libs=" -lXaw " |
10019 cat > conftest.$ac_ext <<EOF | 8668 cat > conftest.$ac_ext <<EOF |
10020 #line 10021 "configure" | 8669 #line 8670 "configure" |
10021 #include "confdefs.h" | 8670 #include "confdefs.h" |
10022 /* Override any gcc2 internal prototype to avoid an error. */ | 8671 /* Override any gcc2 internal prototype to avoid an error. */ |
10023 /* We use char because int might match the return type of a gcc2 | 8672 /* We use char because int might match the return type of a gcc2 |
10024 builtin and then its argument prototype would still apply. */ | 8673 builtin and then its argument prototype would still apply. */ |
10025 char threeDClassRec(); | 8674 char threeDClassRec(); |
10026 | 8675 |
10027 int main() { | 8676 int main() { |
10028 threeDClassRec() | 8677 threeDClassRec() |
10029 ; return 0; } | 8678 ; return 0; } |
10030 EOF | 8679 EOF |
10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8680 if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10032 rm -rf conftest* | 8681 rm -rf conftest* |
10033 eval "ac_cv_lib_$ac_lib_var=yes" | 8682 eval "ac_cv_lib_$ac_lib_var=yes" |
10034 else | 8683 else |
10035 echo "configure: failed program was:" >&5 | 8684 echo "configure: failed program was:" >&5 |
10036 cat conftest.$ac_ext >&5 | 8685 cat conftest.$ac_ext >&5 |
10057 fi | 8706 fi |
10058 | 8707 |
10059 if test "$athena_3d" = "no"; then | 8708 if test "$athena_3d" = "no"; then |
10060 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8709 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10061 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8710 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10062 echo "configure:10063: checking for X11/Xaw/ThreeD.h" >&5 | 8711 echo "configure:8712: checking for X11/Xaw/ThreeD.h" >&5 |
10063 | 8712 |
10064 cat > conftest.$ac_ext <<EOF | 8713 cat > conftest.$ac_ext <<EOF |
10065 #line 10066 "configure" | 8714 #line 8715 "configure" |
10066 #include "confdefs.h" | 8715 #include "confdefs.h" |
10067 #include <X11/Xaw/ThreeD.h> | 8716 #include <X11/Xaw/ThreeD.h> |
10068 EOF | 8717 EOF |
10069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10070 { (eval echo configure:10071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8719 { (eval echo configure:8720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10072 if test -z "$ac_err"; then | 8721 if test -z "$ac_err"; then |
10073 rm -rf conftest* | 8722 rm -rf conftest* |
10074 eval "ac_cv_header_$ac_safe=yes" | 8723 eval "ac_cv_header_$ac_safe=yes" |
10075 else | 8724 else |
10085 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 8734 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10086 else | 8735 else |
10087 echo "$ac_t""no" 1>&6 | 8736 echo "$ac_t""no" 1>&6 |
10088 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8737 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10089 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8738 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10090 echo "configure:10091: checking for X11/Xaw/XawInit.h" >&5 | 8739 echo "configure:8740: checking for X11/Xaw/XawInit.h" >&5 |
10091 | 8740 |
10092 cat > conftest.$ac_ext <<EOF | 8741 cat > conftest.$ac_ext <<EOF |
10093 #line 10094 "configure" | 8742 #line 8743 "configure" |
10094 #include "confdefs.h" | 8743 #include "confdefs.h" |
10095 #include <X11/Xaw/XawInit.h> | 8744 #include <X11/Xaw/XawInit.h> |
10096 EOF | 8745 EOF |
10097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10098 { (eval echo configure:10099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8747 { (eval echo configure:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10100 if test -z "$ac_err"; then | 8749 if test -z "$ac_err"; then |
10101 rm -rf conftest* | 8750 rm -rf conftest* |
10102 eval "ac_cv_header_$ac_safe=yes" | 8751 eval "ac_cv_header_$ac_safe=yes" |
10103 else | 8752 else |
10119 fi | 8768 fi |
10120 | 8769 |
10121 else | 8770 else |
10122 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8771 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10123 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8772 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10124 echo "configure:10125: checking for X11/$athena_variant/XawInit.h" >&5 | 8773 echo "configure:8774: checking for X11/$athena_variant/XawInit.h" >&5 |
10125 | 8774 |
10126 cat > conftest.$ac_ext <<EOF | 8775 cat > conftest.$ac_ext <<EOF |
10127 #line 10128 "configure" | 8776 #line 8777 "configure" |
10128 #include "confdefs.h" | 8777 #include "confdefs.h" |
10129 #include <X11/$athena_variant/XawInit.h> | 8778 #include <X11/$athena_variant/XawInit.h> |
10130 EOF | 8779 EOF |
10131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10132 { (eval echo configure:10133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8781 { (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10134 if test -z "$ac_err"; then | 8783 if test -z "$ac_err"; then |
10135 rm -rf conftest* | 8784 rm -rf conftest* |
10136 eval "ac_cv_header_$ac_safe=yes" | 8785 eval "ac_cv_header_$ac_safe=yes" |
10137 else | 8786 else |
10144 rm -f conftest* | 8793 rm -f conftest* |
10145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10146 echo "$ac_t""yes" 1>&6 | 8795 echo "$ac_t""yes" 1>&6 |
10147 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8796 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10148 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8797 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10149 echo "configure:10150: checking for X11/$athena_variant/ThreeD.h" >&5 | 8798 echo "configure:8799: checking for X11/$athena_variant/ThreeD.h" >&5 |
10150 | 8799 |
10151 cat > conftest.$ac_ext <<EOF | 8800 cat > conftest.$ac_ext <<EOF |
10152 #line 10153 "configure" | 8801 #line 8802 "configure" |
10153 #include "confdefs.h" | 8802 #include "confdefs.h" |
10154 #include <X11/$athena_variant/ThreeD.h> | 8803 #include <X11/$athena_variant/ThreeD.h> |
10155 EOF | 8804 EOF |
10156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10157 { (eval echo configure:10158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8806 { (eval echo configure:8807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10159 if test -z "$ac_err"; then | 8808 if test -z "$ac_err"; then |
10160 rm -rf conftest* | 8809 rm -rf conftest* |
10161 eval "ac_cv_header_$ac_safe=yes" | 8810 eval "ac_cv_header_$ac_safe=yes" |
10162 else | 8811 else |
10180 | 8829 |
10181 | 8830 |
10182 if test -z "$athena_h_path"; then | 8831 if test -z "$athena_h_path"; then |
10183 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8832 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10184 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8833 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10185 echo "configure:10186: checking for $athena_variant/XawInit.h" >&5 | 8834 echo "configure:8835: checking for $athena_variant/XawInit.h" >&5 |
10186 | 8835 |
10187 cat > conftest.$ac_ext <<EOF | 8836 cat > conftest.$ac_ext <<EOF |
10188 #line 10189 "configure" | 8837 #line 8838 "configure" |
10189 #include "confdefs.h" | 8838 #include "confdefs.h" |
10190 #include <$athena_variant/XawInit.h> | 8839 #include <$athena_variant/XawInit.h> |
10191 EOF | 8840 EOF |
10192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10193 { (eval echo configure:10194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8842 { (eval echo configure:8843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10195 if test -z "$ac_err"; then | 8844 if test -z "$ac_err"; then |
10196 rm -rf conftest* | 8845 rm -rf conftest* |
10197 eval "ac_cv_header_$ac_safe=yes" | 8846 eval "ac_cv_header_$ac_safe=yes" |
10198 else | 8847 else |
10205 rm -f conftest* | 8854 rm -f conftest* |
10206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10207 echo "$ac_t""yes" 1>&6 | 8856 echo "$ac_t""yes" 1>&6 |
10208 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8857 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10209 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8858 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10210 echo "configure:10211: checking for $athena_variant/ThreeD.h" >&5 | 8859 echo "configure:8860: checking for $athena_variant/ThreeD.h" >&5 |
10211 | 8860 |
10212 cat > conftest.$ac_ext <<EOF | 8861 cat > conftest.$ac_ext <<EOF |
10213 #line 10214 "configure" | 8862 #line 8863 "configure" |
10214 #include "confdefs.h" | 8863 #include "confdefs.h" |
10215 #include <$athena_variant/ThreeD.h> | 8864 #include <$athena_variant/ThreeD.h> |
10216 EOF | 8865 EOF |
10217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10218 { (eval echo configure:10219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8867 { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10220 if test -z "$ac_err"; then | 8869 if test -z "$ac_err"; then |
10221 rm -rf conftest* | 8870 rm -rf conftest* |
10222 eval "ac_cv_header_$ac_safe=yes" | 8871 eval "ac_cv_header_$ac_safe=yes" |
10223 else | 8872 else |
10242 fi | 8891 fi |
10243 | 8892 |
10244 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8893 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10245 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8894 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10246 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8895 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10247 echo "configure:10248: checking for X11/Xaw3d/XawInit.h" >&5 | 8896 echo "configure:8897: checking for X11/Xaw3d/XawInit.h" >&5 |
10248 | 8897 |
10249 cat > conftest.$ac_ext <<EOF | 8898 cat > conftest.$ac_ext <<EOF |
10250 #line 10251 "configure" | 8899 #line 8900 "configure" |
10251 #include "confdefs.h" | 8900 #include "confdefs.h" |
10252 #include <X11/Xaw3d/XawInit.h> | 8901 #include <X11/Xaw3d/XawInit.h> |
10253 EOF | 8902 EOF |
10254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8904 { (eval echo configure:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10257 if test -z "$ac_err"; then | 8906 if test -z "$ac_err"; then |
10258 rm -rf conftest* | 8907 rm -rf conftest* |
10259 eval "ac_cv_header_$ac_safe=yes" | 8908 eval "ac_cv_header_$ac_safe=yes" |
10260 else | 8909 else |
10267 rm -f conftest* | 8916 rm -f conftest* |
10268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10269 echo "$ac_t""yes" 1>&6 | 8918 echo "$ac_t""yes" 1>&6 |
10270 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8919 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10271 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8920 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10272 echo "configure:10273: checking for X11/Xaw3d/ThreeD.h" >&5 | 8921 echo "configure:8922: checking for X11/Xaw3d/ThreeD.h" >&5 |
10273 | 8922 |
10274 cat > conftest.$ac_ext <<EOF | 8923 cat > conftest.$ac_ext <<EOF |
10275 #line 10276 "configure" | 8924 #line 8925 "configure" |
10276 #include "confdefs.h" | 8925 #include "confdefs.h" |
10277 #include <X11/Xaw3d/ThreeD.h> | 8926 #include <X11/Xaw3d/ThreeD.h> |
10278 EOF | 8927 EOF |
10279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10280 { (eval echo configure:10281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8929 { (eval echo configure:8930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10282 if test -z "$ac_err"; then | 8931 if test -z "$ac_err"; then |
10283 rm -rf conftest* | 8932 rm -rf conftest* |
10284 eval "ac_cv_header_$ac_safe=yes" | 8933 eval "ac_cv_header_$ac_safe=yes" |
10285 else | 8934 else |
10307 fi | 8956 fi |
10308 | 8957 |
10309 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8958 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10310 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8959 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10311 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8960 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10312 echo "configure:10313: checking for Xaw3d/XawInit.h" >&5 | 8961 echo "configure:8962: checking for Xaw3d/XawInit.h" >&5 |
10313 | 8962 |
10314 cat > conftest.$ac_ext <<EOF | 8963 cat > conftest.$ac_ext <<EOF |
10315 #line 10316 "configure" | 8964 #line 8965 "configure" |
10316 #include "confdefs.h" | 8965 #include "confdefs.h" |
10317 #include <Xaw3d/XawInit.h> | 8966 #include <Xaw3d/XawInit.h> |
10318 EOF | 8967 EOF |
10319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10320 { (eval echo configure:10321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8969 { (eval echo configure:8970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10322 if test -z "$ac_err"; then | 8971 if test -z "$ac_err"; then |
10323 rm -rf conftest* | 8972 rm -rf conftest* |
10324 eval "ac_cv_header_$ac_safe=yes" | 8973 eval "ac_cv_header_$ac_safe=yes" |
10325 else | 8974 else |
10332 rm -f conftest* | 8981 rm -f conftest* |
10333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10334 echo "$ac_t""yes" 1>&6 | 8983 echo "$ac_t""yes" 1>&6 |
10335 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8984 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10336 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8985 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10337 echo "configure:10338: checking for Xaw3d/ThreeD.h" >&5 | 8986 echo "configure:8987: checking for Xaw3d/ThreeD.h" >&5 |
10338 | 8987 |
10339 cat > conftest.$ac_ext <<EOF | 8988 cat > conftest.$ac_ext <<EOF |
10340 #line 10341 "configure" | 8989 #line 8990 "configure" |
10341 #include "confdefs.h" | 8990 #include "confdefs.h" |
10342 #include <Xaw3d/ThreeD.h> | 8991 #include <Xaw3d/ThreeD.h> |
10343 EOF | 8992 EOF |
10344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10345 { (eval echo configure:10346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8994 { (eval echo configure:8995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10347 if test -z "$ac_err"; then | 8996 if test -z "$ac_err"; then |
10348 rm -rf conftest* | 8997 rm -rf conftest* |
10349 eval "ac_cv_header_$ac_safe=yes" | 8998 eval "ac_cv_header_$ac_safe=yes" |
10350 else | 8999 else |
10372 fi | 9021 fi |
10373 | 9022 |
10374 if test -z "$athena_h_path"; then | 9023 if test -z "$athena_h_path"; then |
10375 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9024 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10376 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9025 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10377 echo "configure:10378: checking for X11/Xaw/ThreeD.h" >&5 | 9026 echo "configure:9027: checking for X11/Xaw/ThreeD.h" >&5 |
10378 | 9027 |
10379 cat > conftest.$ac_ext <<EOF | 9028 cat > conftest.$ac_ext <<EOF |
10380 #line 10381 "configure" | 9029 #line 9030 "configure" |
10381 #include "confdefs.h" | 9030 #include "confdefs.h" |
10382 #include <X11/Xaw/ThreeD.h> | 9031 #include <X11/Xaw/ThreeD.h> |
10383 EOF | 9032 EOF |
10384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10385 { (eval echo configure:10386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9034 { (eval echo configure:9035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10387 if test -z "$ac_err"; then | 9036 if test -z "$ac_err"; then |
10388 rm -rf conftest* | 9037 rm -rf conftest* |
10389 eval "ac_cv_header_$ac_safe=yes" | 9038 eval "ac_cv_header_$ac_safe=yes" |
10390 else | 9039 else |
10419 have_xaw=no | 9068 have_xaw=no |
10420 fi | 9069 fi |
10421 if test "$with_x11" = "yes"; then | 9070 if test "$with_x11" = "yes"; then |
10422 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9071 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10423 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9072 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10424 echo "configure:10425: checking for Xm/Xm.h" >&5 | 9073 echo "configure:9074: checking for Xm/Xm.h" >&5 |
10425 | 9074 |
10426 cat > conftest.$ac_ext <<EOF | 9075 cat > conftest.$ac_ext <<EOF |
10427 #line 10428 "configure" | 9076 #line 9077 "configure" |
10428 #include "confdefs.h" | 9077 #include "confdefs.h" |
10429 #include <Xm/Xm.h> | 9078 #include <Xm/Xm.h> |
10430 EOF | 9079 EOF |
10431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10432 { (eval echo configure:10433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10434 if test -z "$ac_err"; then | 9083 if test -z "$ac_err"; then |
10435 rm -rf conftest* | 9084 rm -rf conftest* |
10436 eval "ac_cv_header_$ac_safe=yes" | 9085 eval "ac_cv_header_$ac_safe=yes" |
10437 else | 9086 else |
10444 rm -f conftest* | 9093 rm -f conftest* |
10445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10446 echo "$ac_t""yes" 1>&6 | 9095 echo "$ac_t""yes" 1>&6 |
10447 | 9096 |
10448 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10449 echo "configure:10450: checking for XmStringFree in -lXm" >&5 | 9098 echo "configure:9099: checking for XmStringFree in -lXm" >&5 |
10450 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9099 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10451 | 9100 |
10452 xe_check_libs=" -lXm " | 9101 xe_check_libs=" -lXm " |
10453 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
10454 #line 10455 "configure" | 9103 #line 9104 "configure" |
10455 #include "confdefs.h" | 9104 #include "confdefs.h" |
10456 /* Override any gcc2 internal prototype to avoid an error. */ | 9105 /* Override any gcc2 internal prototype to avoid an error. */ |
10457 /* We use char because int might match the return type of a gcc2 | 9106 /* We use char because int might match the return type of a gcc2 |
10458 builtin and then its argument prototype would still apply. */ | 9107 builtin and then its argument prototype would still apply. */ |
10459 char XmStringFree(); | 9108 char XmStringFree(); |
10460 | 9109 |
10461 int main() { | 9110 int main() { |
10462 XmStringFree() | 9111 XmStringFree() |
10463 ; return 0; } | 9112 ; return 0; } |
10464 EOF | 9113 EOF |
10465 if { (eval echo configure:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9114 if { (eval echo configure:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10466 rm -rf conftest* | 9115 rm -rf conftest* |
10467 eval "ac_cv_lib_$ac_lib_var=yes" | 9116 eval "ac_cv_lib_$ac_lib_var=yes" |
10468 else | 9117 else |
10469 echo "configure: failed program was:" >&5 | 9118 echo "configure: failed program was:" >&5 |
10470 cat conftest.$ac_ext >&5 | 9119 cat conftest.$ac_ext >&5 |
10489 fi | 9138 fi |
10490 | 9139 |
10491 | 9140 |
10492 if test "$have_motif" = "yes"; then | 9141 if test "$have_motif" = "yes"; then |
10493 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9142 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10494 echo "configure:10495: checking for Lesstif" >&5 | 9143 echo "configure:9144: checking for Lesstif" >&5 |
10495 cat > conftest.$ac_ext <<EOF | 9144 cat > conftest.$ac_ext <<EOF |
10496 #line 10497 "configure" | 9145 #line 9146 "configure" |
10497 #include "confdefs.h" | 9146 #include "confdefs.h" |
10498 #include <Xm/Xm.h> | 9147 #include <Xm/Xm.h> |
10499 #ifdef LESSTIF_VERSION | 9148 #ifdef LESSTIF_VERSION |
10500 yes | 9149 yes |
10501 #endif | 9150 #endif |
10864 | 9513 |
10865 fi | 9514 fi |
10866 | 9515 |
10867 if test "$with_mule" = "yes" ; then | 9516 if test "$with_mule" = "yes" ; then |
10868 echo "checking for Mule-related features" 1>&6 | 9517 echo "checking for Mule-related features" 1>&6 |
10869 echo "configure:10870: checking for Mule-related features" >&5 | 9518 echo "configure:9519: checking for Mule-related features" >&5 |
10870 { test "$extra_verbose" = "yes" && cat << \EOF | 9519 { test "$extra_verbose" = "yes" && cat << \EOF |
10871 Defining MULE | 9520 Defining MULE |
10872 EOF | 9521 EOF |
10873 cat >> confdefs.h <<\EOF | 9522 cat >> confdefs.h <<\EOF |
10874 #define MULE 1 | 9523 #define MULE 1 |
10878 | 9527 |
10879 for ac_hdr in libintl.h | 9528 for ac_hdr in libintl.h |
10880 do | 9529 do |
10881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10883 echo "configure:10884: checking for $ac_hdr" >&5 | 9532 echo "configure:9533: checking for $ac_hdr" >&5 |
10884 | 9533 |
10885 cat > conftest.$ac_ext <<EOF | 9534 cat > conftest.$ac_ext <<EOF |
10886 #line 10887 "configure" | 9535 #line 9536 "configure" |
10887 #include "confdefs.h" | 9536 #include "confdefs.h" |
10888 #include <$ac_hdr> | 9537 #include <$ac_hdr> |
10889 EOF | 9538 EOF |
10890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10891 { (eval echo configure:10892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9540 { (eval echo configure:9541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10893 if test -z "$ac_err"; then | 9542 if test -z "$ac_err"; then |
10894 rm -rf conftest* | 9543 rm -rf conftest* |
10895 eval "ac_cv_header_$ac_safe=yes" | 9544 eval "ac_cv_header_$ac_safe=yes" |
10896 else | 9545 else |
10917 fi | 9566 fi |
10918 done | 9567 done |
10919 | 9568 |
10920 | 9569 |
10921 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9570 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10922 echo "configure:10923: checking for strerror in -lintl" >&5 | 9571 echo "configure:9572: checking for strerror in -lintl" >&5 |
10923 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9572 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10924 | 9573 |
10925 xe_check_libs=" -lintl " | 9574 xe_check_libs=" -lintl " |
10926 cat > conftest.$ac_ext <<EOF | 9575 cat > conftest.$ac_ext <<EOF |
10927 #line 10928 "configure" | 9576 #line 9577 "configure" |
10928 #include "confdefs.h" | 9577 #include "confdefs.h" |
10929 /* Override any gcc2 internal prototype to avoid an error. */ | 9578 /* Override any gcc2 internal prototype to avoid an error. */ |
10930 /* We use char because int might match the return type of a gcc2 | 9579 /* We use char because int might match the return type of a gcc2 |
10931 builtin and then its argument prototype would still apply. */ | 9580 builtin and then its argument prototype would still apply. */ |
10932 char strerror(); | 9581 char strerror(); |
10933 | 9582 |
10934 int main() { | 9583 int main() { |
10935 strerror() | 9584 strerror() |
10936 ; return 0; } | 9585 ; return 0; } |
10937 EOF | 9586 EOF |
10938 if { (eval echo configure:10939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10939 rm -rf conftest* | 9588 rm -rf conftest* |
10940 eval "ac_cv_lib_$ac_lib_var=yes" | 9589 eval "ac_cv_lib_$ac_lib_var=yes" |
10941 else | 9590 else |
10942 echo "configure: failed program was:" >&5 | 9591 echo "configure: failed program was:" >&5 |
10943 cat conftest.$ac_ext >&5 | 9592 cat conftest.$ac_ext >&5 |
10966 fi | 9615 fi |
10967 | 9616 |
10968 | 9617 |
10969 | 9618 |
10970 echo "checking for Mule input methods" 1>&6 | 9619 echo "checking for Mule input methods" 1>&6 |
10971 echo "configure:10972: checking for Mule input methods" >&5 | 9620 echo "configure:9621: checking for Mule input methods" >&5 |
10972 case "$with_xim" in "" | "yes" ) | 9621 case "$with_xim" in "" | "yes" ) |
10973 echo "checking for XIM" 1>&6 | 9622 echo "checking for XIM" 1>&6 |
10974 echo "configure:10975: checking for XIM" >&5 | 9623 echo "configure:9624: checking for XIM" >&5 |
10975 | 9624 |
10976 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9625 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10977 echo "configure:10978: checking for XOpenIM in -lX11" >&5 | 9626 echo "configure:9627: checking for XOpenIM in -lX11" >&5 |
10978 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9627 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10979 | 9628 |
10980 xe_check_libs=" -lX11 " | 9629 xe_check_libs=" -lX11 " |
10981 cat > conftest.$ac_ext <<EOF | 9630 cat > conftest.$ac_ext <<EOF |
10982 #line 10983 "configure" | 9631 #line 9632 "configure" |
10983 #include "confdefs.h" | 9632 #include "confdefs.h" |
10984 /* Override any gcc2 internal prototype to avoid an error. */ | 9633 /* Override any gcc2 internal prototype to avoid an error. */ |
10985 /* We use char because int might match the return type of a gcc2 | 9634 /* We use char because int might match the return type of a gcc2 |
10986 builtin and then its argument prototype would still apply. */ | 9635 builtin and then its argument prototype would still apply. */ |
10987 char XOpenIM(); | 9636 char XOpenIM(); |
10988 | 9637 |
10989 int main() { | 9638 int main() { |
10990 XOpenIM() | 9639 XOpenIM() |
10991 ; return 0; } | 9640 ; return 0; } |
10992 EOF | 9641 EOF |
10993 if { (eval echo configure:10994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10994 rm -rf conftest* | 9643 rm -rf conftest* |
10995 eval "ac_cv_lib_$ac_lib_var=yes" | 9644 eval "ac_cv_lib_$ac_lib_var=yes" |
10996 else | 9645 else |
10997 echo "configure: failed program was:" >&5 | 9646 echo "configure: failed program was:" >&5 |
10998 cat conftest.$ac_ext >&5 | 9647 cat conftest.$ac_ext >&5 |
11012 | 9661 |
11013 | 9662 |
11014 if test "$have_motif $have_lesstif" = "yes no"; then | 9663 if test "$have_motif $have_lesstif" = "yes no"; then |
11015 | 9664 |
11016 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9665 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11017 echo "configure:11018: checking for XmImMbLookupString in -lXm" >&5 | 9666 echo "configure:9667: checking for XmImMbLookupString in -lXm" >&5 |
11018 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9667 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11019 | 9668 |
11020 xe_check_libs=" -lXm " | 9669 xe_check_libs=" -lXm " |
11021 cat > conftest.$ac_ext <<EOF | 9670 cat > conftest.$ac_ext <<EOF |
11022 #line 11023 "configure" | 9671 #line 9672 "configure" |
11023 #include "confdefs.h" | 9672 #include "confdefs.h" |
11024 /* Override any gcc2 internal prototype to avoid an error. */ | 9673 /* Override any gcc2 internal prototype to avoid an error. */ |
11025 /* We use char because int might match the return type of a gcc2 | 9674 /* We use char because int might match the return type of a gcc2 |
11026 builtin and then its argument prototype would still apply. */ | 9675 builtin and then its argument prototype would still apply. */ |
11027 char XmImMbLookupString(); | 9676 char XmImMbLookupString(); |
11028 | 9677 |
11029 int main() { | 9678 int main() { |
11030 XmImMbLookupString() | 9679 XmImMbLookupString() |
11031 ; return 0; } | 9680 ; return 0; } |
11032 EOF | 9681 EOF |
11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9682 if { (eval echo configure:9683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11034 rm -rf conftest* | 9683 rm -rf conftest* |
11035 eval "ac_cv_lib_$ac_lib_var=yes" | 9684 eval "ac_cv_lib_$ac_lib_var=yes" |
11036 else | 9685 else |
11037 echo "configure: failed program was:" >&5 | 9686 echo "configure: failed program was:" >&5 |
11038 cat conftest.$ac_ext >&5 | 9687 cat conftest.$ac_ext >&5 |
11093 fi | 9742 fi |
11094 fi | 9743 fi |
11095 | 9744 |
11096 if test "$with_xfs" = "yes" ; then | 9745 if test "$with_xfs" = "yes" ; then |
11097 echo "checking for XFontSet" 1>&6 | 9746 echo "checking for XFontSet" 1>&6 |
11098 echo "configure:11099: checking for XFontSet" >&5 | 9747 echo "configure:9748: checking for XFontSet" >&5 |
11099 | 9748 |
11100 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9749 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11101 echo "configure:11102: checking for XmbDrawString in -lX11" >&5 | 9750 echo "configure:9751: checking for XmbDrawString in -lX11" >&5 |
11102 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9751 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11103 | 9752 |
11104 xe_check_libs=" -lX11 " | 9753 xe_check_libs=" -lX11 " |
11105 cat > conftest.$ac_ext <<EOF | 9754 cat > conftest.$ac_ext <<EOF |
11106 #line 11107 "configure" | 9755 #line 9756 "configure" |
11107 #include "confdefs.h" | 9756 #include "confdefs.h" |
11108 /* Override any gcc2 internal prototype to avoid an error. */ | 9757 /* Override any gcc2 internal prototype to avoid an error. */ |
11109 /* We use char because int might match the return type of a gcc2 | 9758 /* We use char because int might match the return type of a gcc2 |
11110 builtin and then its argument prototype would still apply. */ | 9759 builtin and then its argument prototype would still apply. */ |
11111 char XmbDrawString(); | 9760 char XmbDrawString(); |
11112 | 9761 |
11113 int main() { | 9762 int main() { |
11114 XmbDrawString() | 9763 XmbDrawString() |
11115 ; return 0; } | 9764 ; return 0; } |
11116 EOF | 9765 EOF |
11117 if { (eval echo configure:11118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11118 rm -rf conftest* | 9767 rm -rf conftest* |
11119 eval "ac_cv_lib_$ac_lib_var=yes" | 9768 eval "ac_cv_lib_$ac_lib_var=yes" |
11120 else | 9769 else |
11121 echo "configure: failed program was:" >&5 | 9770 echo "configure: failed program was:" >&5 |
11122 cat conftest.$ac_ext >&5 | 9771 cat conftest.$ac_ext >&5 |
11152 fi | 9801 fi |
11153 fi | 9802 fi |
11154 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9803 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11155 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9804 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11156 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9805 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11157 echo "configure:11158: checking for wnn/jllib.h" >&5 | 9806 echo "configure:9807: checking for wnn/jllib.h" >&5 |
11158 | 9807 |
11159 cat > conftest.$ac_ext <<EOF | 9808 cat > conftest.$ac_ext <<EOF |
11160 #line 11161 "configure" | 9809 #line 9810 "configure" |
11161 #include "confdefs.h" | 9810 #include "confdefs.h" |
11162 #include <wnn/jllib.h> | 9811 #include <wnn/jllib.h> |
11163 EOF | 9812 EOF |
11164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11165 { (eval echo configure:11166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9814 { (eval echo configure:9815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11167 if test -z "$ac_err"; then | 9816 if test -z "$ac_err"; then |
11168 rm -rf conftest* | 9817 rm -rf conftest* |
11169 eval "ac_cv_header_$ac_safe=yes" | 9818 eval "ac_cv_header_$ac_safe=yes" |
11170 else | 9819 else |
11183 with_wnn=no | 9832 with_wnn=no |
11184 fi | 9833 fi |
11185 } | 9834 } |
11186 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 9835 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11187 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 9836 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11188 echo "configure:11189: checking for wnn/commonhd.h" >&5 | 9837 echo "configure:9838: checking for wnn/commonhd.h" >&5 |
11189 | 9838 |
11190 cat > conftest.$ac_ext <<EOF | 9839 cat > conftest.$ac_ext <<EOF |
11191 #line 11192 "configure" | 9840 #line 9841 "configure" |
11192 #include "confdefs.h" | 9841 #include "confdefs.h" |
11193 #include <wnn/commonhd.h> | 9842 #include <wnn/commonhd.h> |
11194 EOF | 9843 EOF |
11195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11196 { (eval echo configure:11197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9845 { (eval echo configure:9846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11198 if test -z "$ac_err"; then | 9847 if test -z "$ac_err"; then |
11199 rm -rf conftest* | 9848 rm -rf conftest* |
11200 eval "ac_cv_header_$ac_safe=yes" | 9849 eval "ac_cv_header_$ac_safe=yes" |
11201 else | 9850 else |
11216 } | 9865 } |
11217 if test "$with_wnn" != "no"; then | 9866 if test "$with_wnn" != "no"; then |
11218 for ac_func in crypt | 9867 for ac_func in crypt |
11219 do | 9868 do |
11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11221 echo "configure:11222: checking for $ac_func" >&5 | 9870 echo "configure:9871: checking for $ac_func" >&5 |
11222 | 9871 |
11223 cat > conftest.$ac_ext <<EOF | 9872 cat > conftest.$ac_ext <<EOF |
11224 #line 11225 "configure" | 9873 #line 9874 "configure" |
11225 #include "confdefs.h" | 9874 #include "confdefs.h" |
11226 /* System header to define __stub macros and hopefully few prototypes, | 9875 /* System header to define __stub macros and hopefully few prototypes, |
11227 which can conflict with char $ac_func(); below. */ | 9876 which can conflict with char $ac_func(); below. */ |
11228 #include <assert.h> | 9877 #include <assert.h> |
11229 /* Override any gcc2 internal prototype to avoid an error. */ | 9878 /* Override any gcc2 internal prototype to avoid an error. */ |
11242 $ac_func(); | 9891 $ac_func(); |
11243 #endif | 9892 #endif |
11244 | 9893 |
11245 ; return 0; } | 9894 ; return 0; } |
11246 EOF | 9895 EOF |
11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9896 if { (eval echo configure:9897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11248 rm -rf conftest* | 9897 rm -rf conftest* |
11249 eval "ac_cv_func_$ac_func=yes" | 9898 eval "ac_cv_func_$ac_func=yes" |
11250 else | 9899 else |
11251 echo "configure: failed program was:" >&5 | 9900 echo "configure: failed program was:" >&5 |
11252 cat conftest.$ac_ext >&5 | 9901 cat conftest.$ac_ext >&5 |
11271 fi | 9920 fi |
11272 done | 9921 done |
11273 | 9922 |
11274 test "$ac_cv_func_crypt" != "yes" && { | 9923 test "$ac_cv_func_crypt" != "yes" && { |
11275 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9924 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11276 echo "configure:11277: checking for crypt in -lcrypt" >&5 | 9925 echo "configure:9926: checking for crypt in -lcrypt" >&5 |
11277 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9926 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11278 | 9927 |
11279 xe_check_libs=" -lcrypt " | 9928 xe_check_libs=" -lcrypt " |
11280 cat > conftest.$ac_ext <<EOF | 9929 cat > conftest.$ac_ext <<EOF |
11281 #line 11282 "configure" | 9930 #line 9931 "configure" |
11282 #include "confdefs.h" | 9931 #include "confdefs.h" |
11283 /* Override any gcc2 internal prototype to avoid an error. */ | 9932 /* Override any gcc2 internal prototype to avoid an error. */ |
11284 /* We use char because int might match the return type of a gcc2 | 9933 /* We use char because int might match the return type of a gcc2 |
11285 builtin and then its argument prototype would still apply. */ | 9934 builtin and then its argument prototype would still apply. */ |
11286 char crypt(); | 9935 char crypt(); |
11287 | 9936 |
11288 int main() { | 9937 int main() { |
11289 crypt() | 9938 crypt() |
11290 ; return 0; } | 9939 ; return 0; } |
11291 EOF | 9940 EOF |
11292 if { (eval echo configure:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11293 rm -rf conftest* | 9942 rm -rf conftest* |
11294 eval "ac_cv_lib_$ac_lib_var=yes" | 9943 eval "ac_cv_lib_$ac_lib_var=yes" |
11295 else | 9944 else |
11296 echo "configure: failed program was:" >&5 | 9945 echo "configure: failed program was:" >&5 |
11297 cat conftest.$ac_ext >&5 | 9946 cat conftest.$ac_ext >&5 |
11322 } | 9971 } |
11323 fi | 9972 fi |
11324 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9973 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11325 | 9974 |
11326 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9975 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11327 echo "configure:11328: checking for jl_dic_list_e in -lwnn" >&5 | 9976 echo "configure:9977: checking for jl_dic_list_e in -lwnn" >&5 |
11328 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9977 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11329 | 9978 |
11330 xe_check_libs=" -lwnn " | 9979 xe_check_libs=" -lwnn " |
11331 cat > conftest.$ac_ext <<EOF | 9980 cat > conftest.$ac_ext <<EOF |
11332 #line 11333 "configure" | 9981 #line 9982 "configure" |
11333 #include "confdefs.h" | 9982 #include "confdefs.h" |
11334 /* Override any gcc2 internal prototype to avoid an error. */ | 9983 /* Override any gcc2 internal prototype to avoid an error. */ |
11335 /* We use char because int might match the return type of a gcc2 | 9984 /* We use char because int might match the return type of a gcc2 |
11336 builtin and then its argument prototype would still apply. */ | 9985 builtin and then its argument prototype would still apply. */ |
11337 char jl_dic_list_e(); | 9986 char jl_dic_list_e(); |
11338 | 9987 |
11339 int main() { | 9988 int main() { |
11340 jl_dic_list_e() | 9989 jl_dic_list_e() |
11341 ; return 0; } | 9990 ; return 0; } |
11342 EOF | 9991 EOF |
11343 if { (eval echo configure:11344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9992 if { (eval echo configure:9993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11344 rm -rf conftest* | 9993 rm -rf conftest* |
11345 eval "ac_cv_lib_$ac_lib_var=yes" | 9994 eval "ac_cv_lib_$ac_lib_var=yes" |
11346 else | 9995 else |
11347 echo "configure: failed program was:" >&5 | 9996 echo "configure: failed program was:" >&5 |
11348 cat conftest.$ac_ext >&5 | 9997 cat conftest.$ac_ext >&5 |
11356 echo "$ac_t""yes" 1>&6 | 10005 echo "$ac_t""yes" 1>&6 |
11357 libwnn=wnn | 10006 libwnn=wnn |
11358 else | 10007 else |
11359 echo "$ac_t""no" 1>&6 | 10008 echo "$ac_t""no" 1>&6 |
11360 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10009 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11361 echo "configure:11362: checking for jl_dic_list_e in -lwnn4" >&5 | 10010 echo "configure:10011: checking for jl_dic_list_e in -lwnn4" >&5 |
11362 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10011 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11363 | 10012 |
11364 xe_check_libs=" -lwnn4 " | 10013 xe_check_libs=" -lwnn4 " |
11365 cat > conftest.$ac_ext <<EOF | 10014 cat > conftest.$ac_ext <<EOF |
11366 #line 11367 "configure" | 10015 #line 10016 "configure" |
11367 #include "confdefs.h" | 10016 #include "confdefs.h" |
11368 /* Override any gcc2 internal prototype to avoid an error. */ | 10017 /* Override any gcc2 internal prototype to avoid an error. */ |
11369 /* We use char because int might match the return type of a gcc2 | 10018 /* We use char because int might match the return type of a gcc2 |
11370 builtin and then its argument prototype would still apply. */ | 10019 builtin and then its argument prototype would still apply. */ |
11371 char jl_dic_list_e(); | 10020 char jl_dic_list_e(); |
11372 | 10021 |
11373 int main() { | 10022 int main() { |
11374 jl_dic_list_e() | 10023 jl_dic_list_e() |
11375 ; return 0; } | 10024 ; return 0; } |
11376 EOF | 10025 EOF |
11377 if { (eval echo configure:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10026 if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11378 rm -rf conftest* | 10027 rm -rf conftest* |
11379 eval "ac_cv_lib_$ac_lib_var=yes" | 10028 eval "ac_cv_lib_$ac_lib_var=yes" |
11380 else | 10029 else |
11381 echo "configure: failed program was:" >&5 | 10030 echo "configure: failed program was:" >&5 |
11382 cat conftest.$ac_ext >&5 | 10031 cat conftest.$ac_ext >&5 |
11390 echo "$ac_t""yes" 1>&6 | 10039 echo "$ac_t""yes" 1>&6 |
11391 libwnn=wnn4 | 10040 libwnn=wnn4 |
11392 else | 10041 else |
11393 echo "$ac_t""no" 1>&6 | 10042 echo "$ac_t""no" 1>&6 |
11394 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10043 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11395 echo "configure:11396: checking for jl_dic_list_e in -lwnn6" >&5 | 10044 echo "configure:10045: checking for jl_dic_list_e in -lwnn6" >&5 |
11396 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10045 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11397 | 10046 |
11398 xe_check_libs=" -lwnn6 " | 10047 xe_check_libs=" -lwnn6 " |
11399 cat > conftest.$ac_ext <<EOF | 10048 cat > conftest.$ac_ext <<EOF |
11400 #line 11401 "configure" | 10049 #line 10050 "configure" |
11401 #include "confdefs.h" | 10050 #include "confdefs.h" |
11402 /* Override any gcc2 internal prototype to avoid an error. */ | 10051 /* Override any gcc2 internal prototype to avoid an error. */ |
11403 /* We use char because int might match the return type of a gcc2 | 10052 /* We use char because int might match the return type of a gcc2 |
11404 builtin and then its argument prototype would still apply. */ | 10053 builtin and then its argument prototype would still apply. */ |
11405 char jl_dic_list_e(); | 10054 char jl_dic_list_e(); |
11406 | 10055 |
11407 int main() { | 10056 int main() { |
11408 jl_dic_list_e() | 10057 jl_dic_list_e() |
11409 ; return 0; } | 10058 ; return 0; } |
11410 EOF | 10059 EOF |
11411 if { (eval echo configure:11412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10060 if { (eval echo configure:10061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11412 rm -rf conftest* | 10061 rm -rf conftest* |
11413 eval "ac_cv_lib_$ac_lib_var=yes" | 10062 eval "ac_cv_lib_$ac_lib_var=yes" |
11414 else | 10063 else |
11415 echo "configure: failed program was:" >&5 | 10064 echo "configure: failed program was:" >&5 |
11416 cat conftest.$ac_ext >&5 | 10065 cat conftest.$ac_ext >&5 |
11424 echo "$ac_t""yes" 1>&6 | 10073 echo "$ac_t""yes" 1>&6 |
11425 libwnn=wnn6 | 10074 libwnn=wnn6 |
11426 else | 10075 else |
11427 echo "$ac_t""no" 1>&6 | 10076 echo "$ac_t""no" 1>&6 |
11428 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10077 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11429 echo "configure:11430: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10078 echo "configure:10079: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11430 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10079 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11431 | 10080 |
11432 xe_check_libs=" -lwnn6_fromsrc " | 10081 xe_check_libs=" -lwnn6_fromsrc " |
11433 cat > conftest.$ac_ext <<EOF | 10082 cat > conftest.$ac_ext <<EOF |
11434 #line 11435 "configure" | 10083 #line 10084 "configure" |
11435 #include "confdefs.h" | 10084 #include "confdefs.h" |
11436 /* Override any gcc2 internal prototype to avoid an error. */ | 10085 /* Override any gcc2 internal prototype to avoid an error. */ |
11437 /* We use char because int might match the return type of a gcc2 | 10086 /* We use char because int might match the return type of a gcc2 |
11438 builtin and then its argument prototype would still apply. */ | 10087 builtin and then its argument prototype would still apply. */ |
11439 char dic_list_e(); | 10088 char dic_list_e(); |
11440 | 10089 |
11441 int main() { | 10090 int main() { |
11442 dic_list_e() | 10091 dic_list_e() |
11443 ; return 0; } | 10092 ; return 0; } |
11444 EOF | 10093 EOF |
11445 if { (eval echo configure:11446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10094 if { (eval echo configure:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11446 rm -rf conftest* | 10095 rm -rf conftest* |
11447 eval "ac_cv_lib_$ac_lib_var=yes" | 10096 eval "ac_cv_lib_$ac_lib_var=yes" |
11448 else | 10097 else |
11449 echo "configure: failed program was:" >&5 | 10098 echo "configure: failed program was:" >&5 |
11450 cat conftest.$ac_ext >&5 | 10099 cat conftest.$ac_ext >&5 |
11485 | 10134 |
11486 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10135 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11487 if test "$with_wnn6" != "no"; then | 10136 if test "$with_wnn6" != "no"; then |
11488 | 10137 |
11489 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10138 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11490 echo "configure:11491: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10139 echo "configure:10140: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11491 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10140 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11492 | 10141 |
11493 xe_check_libs=" -l$libwnn " | 10142 xe_check_libs=" -l$libwnn " |
11494 cat > conftest.$ac_ext <<EOF | 10143 cat > conftest.$ac_ext <<EOF |
11495 #line 11496 "configure" | 10144 #line 10145 "configure" |
11496 #include "confdefs.h" | 10145 #include "confdefs.h" |
11497 /* Override any gcc2 internal prototype to avoid an error. */ | 10146 /* Override any gcc2 internal prototype to avoid an error. */ |
11498 /* We use char because int might match the return type of a gcc2 | 10147 /* We use char because int might match the return type of a gcc2 |
11499 builtin and then its argument prototype would still apply. */ | 10148 builtin and then its argument prototype would still apply. */ |
11500 char jl_fi_dic_list(); | 10149 char jl_fi_dic_list(); |
11501 | 10150 |
11502 int main() { | 10151 int main() { |
11503 jl_fi_dic_list() | 10152 jl_fi_dic_list() |
11504 ; return 0; } | 10153 ; return 0; } |
11505 EOF | 10154 EOF |
11506 if { (eval echo configure:11507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10155 if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11507 rm -rf conftest* | 10156 rm -rf conftest* |
11508 eval "ac_cv_lib_$ac_lib_var=yes" | 10157 eval "ac_cv_lib_$ac_lib_var=yes" |
11509 else | 10158 else |
11510 echo "configure: failed program was:" >&5 | 10159 echo "configure: failed program was:" >&5 |
11511 cat conftest.$ac_ext >&5 | 10160 cat conftest.$ac_ext >&5 |
11536 | 10185 |
11537 canna_includes_found=no | 10186 canna_includes_found=no |
11538 if test "$with_canna" != "no"; then | 10187 if test "$with_canna" != "no"; then |
11539 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10188 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11540 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10189 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11541 echo "configure:11542: checking for canna/jrkanji.h" >&5 | 10190 echo "configure:10191: checking for canna/jrkanji.h" >&5 |
11542 | 10191 |
11543 cat > conftest.$ac_ext <<EOF | 10192 cat > conftest.$ac_ext <<EOF |
11544 #line 11545 "configure" | 10193 #line 10194 "configure" |
11545 #include "confdefs.h" | 10194 #include "confdefs.h" |
11546 #include <canna/jrkanji.h> | 10195 #include <canna/jrkanji.h> |
11547 EOF | 10196 EOF |
11548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11549 { (eval echo configure:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11551 if test -z "$ac_err"; then | 10200 if test -z "$ac_err"; then |
11552 rm -rf conftest* | 10201 rm -rf conftest* |
11553 eval "ac_cv_header_$ac_safe=yes" | 10202 eval "ac_cv_header_$ac_safe=yes" |
11554 else | 10203 else |
11571 -d "/usr/local/canna/include"; then | 10220 -d "/usr/local/canna/include"; then |
11572 save_c_switch_site="$c_switch_site" | 10221 save_c_switch_site="$c_switch_site" |
11573 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10222 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11574 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10223 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11575 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10224 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11576 echo "configure:11577: checking for canna/jrkanji.h" >&5 | 10225 echo "configure:10226: checking for canna/jrkanji.h" >&5 |
11577 | 10226 |
11578 cat > conftest.$ac_ext <<EOF | 10227 cat > conftest.$ac_ext <<EOF |
11579 #line 11580 "configure" | 10228 #line 10229 "configure" |
11580 #include "confdefs.h" | 10229 #include "confdefs.h" |
11581 #include <canna/jrkanji.h> | 10230 #include <canna/jrkanji.h> |
11582 EOF | 10231 EOF |
11583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11584 { (eval echo configure:11585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10233 { (eval echo configure:10234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11586 if test -z "$ac_err"; then | 10235 if test -z "$ac_err"; then |
11587 rm -rf conftest* | 10236 rm -rf conftest* |
11588 eval "ac_cv_header_$ac_safe=yes" | 10237 eval "ac_cv_header_$ac_safe=yes" |
11589 else | 10238 else |
11607 fi | 10256 fi |
11608 fi | 10257 fi |
11609 | 10258 |
11610 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10259 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11611 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10260 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11612 echo "configure:11613: checking for canna/RK.h" >&5 | 10261 echo "configure:10262: checking for canna/RK.h" >&5 |
11613 | 10262 |
11614 cat > conftest.$ac_ext <<EOF | 10263 cat > conftest.$ac_ext <<EOF |
11615 #line 11616 "configure" | 10264 #line 10265 "configure" |
11616 #include "confdefs.h" | 10265 #include "confdefs.h" |
11617 #include <canna/RK.h> | 10266 #include <canna/RK.h> |
11618 EOF | 10267 EOF |
11619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11620 { (eval echo configure:11621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10269 { (eval echo configure:10270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11622 if test -z "$ac_err"; then | 10271 if test -z "$ac_err"; then |
11623 rm -rf conftest* | 10272 rm -rf conftest* |
11624 eval "ac_cv_header_$ac_safe=yes" | 10273 eval "ac_cv_header_$ac_safe=yes" |
11625 else | 10274 else |
11638 with_canna=no | 10287 with_canna=no |
11639 fi | 10288 fi |
11640 } | 10289 } |
11641 test -z "$with_canna" && { | 10290 test -z "$with_canna" && { |
11642 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10291 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11643 echo "configure:11644: checking for RkBgnBun in -lRKC" >&5 | 10292 echo "configure:10293: checking for RkBgnBun in -lRKC" >&5 |
11644 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10293 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11645 | 10294 |
11646 xe_check_libs=" -lRKC " | 10295 xe_check_libs=" -lRKC " |
11647 cat > conftest.$ac_ext <<EOF | 10296 cat > conftest.$ac_ext <<EOF |
11648 #line 11649 "configure" | 10297 #line 10298 "configure" |
11649 #include "confdefs.h" | 10298 #include "confdefs.h" |
11650 /* Override any gcc2 internal prototype to avoid an error. */ | 10299 /* Override any gcc2 internal prototype to avoid an error. */ |
11651 /* We use char because int might match the return type of a gcc2 | 10300 /* We use char because int might match the return type of a gcc2 |
11652 builtin and then its argument prototype would still apply. */ | 10301 builtin and then its argument prototype would still apply. */ |
11653 char RkBgnBun(); | 10302 char RkBgnBun(); |
11654 | 10303 |
11655 int main() { | 10304 int main() { |
11656 RkBgnBun() | 10305 RkBgnBun() |
11657 ; return 0; } | 10306 ; return 0; } |
11658 EOF | 10307 EOF |
11659 if { (eval echo configure:11660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10308 if { (eval echo configure:10309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11660 rm -rf conftest* | 10309 rm -rf conftest* |
11661 eval "ac_cv_lib_$ac_lib_var=yes" | 10310 eval "ac_cv_lib_$ac_lib_var=yes" |
11662 else | 10311 else |
11663 echo "configure: failed program was:" >&5 | 10312 echo "configure: failed program was:" >&5 |
11664 cat conftest.$ac_ext >&5 | 10313 cat conftest.$ac_ext >&5 |
11677 fi | 10326 fi |
11678 | 10327 |
11679 } | 10328 } |
11680 test -z "$with_canna" && { | 10329 test -z "$with_canna" && { |
11681 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10330 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11682 echo "configure:11683: checking for jrKanjiControl in -lcanna" >&5 | 10331 echo "configure:10332: checking for jrKanjiControl in -lcanna" >&5 |
11683 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10332 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11684 | 10333 |
11685 xe_check_libs=" -lcanna " | 10334 xe_check_libs=" -lcanna " |
11686 cat > conftest.$ac_ext <<EOF | 10335 cat > conftest.$ac_ext <<EOF |
11687 #line 11688 "configure" | 10336 #line 10337 "configure" |
11688 #include "confdefs.h" | 10337 #include "confdefs.h" |
11689 /* Override any gcc2 internal prototype to avoid an error. */ | 10338 /* Override any gcc2 internal prototype to avoid an error. */ |
11690 /* We use char because int might match the return type of a gcc2 | 10339 /* We use char because int might match the return type of a gcc2 |
11691 builtin and then its argument prototype would still apply. */ | 10340 builtin and then its argument prototype would still apply. */ |
11692 char jrKanjiControl(); | 10341 char jrKanjiControl(); |
11693 | 10342 |
11694 int main() { | 10343 int main() { |
11695 jrKanjiControl() | 10344 jrKanjiControl() |
11696 ; return 0; } | 10345 ; return 0; } |
11697 EOF | 10346 EOF |
11698 if { (eval echo configure:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10347 if { (eval echo configure:10348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11699 rm -rf conftest* | 10348 rm -rf conftest* |
11700 eval "ac_cv_lib_$ac_lib_var=yes" | 10349 eval "ac_cv_lib_$ac_lib_var=yes" |
11701 else | 10350 else |
11702 echo "configure: failed program was:" >&5 | 10351 echo "configure: failed program was:" >&5 |
11703 cat conftest.$ac_ext >&5 | 10352 cat conftest.$ac_ext >&5 |
11739 | 10388 |
11740 if test "$need_motif" = "yes" ; then | 10389 if test "$need_motif" = "yes" ; then |
11741 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10390 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11742 | 10391 |
11743 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10392 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11744 echo "configure:11745: checking for layout_object_getvalue in -li18n" >&5 | 10393 echo "configure:10394: checking for layout_object_getvalue in -li18n" >&5 |
11745 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10394 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11746 | 10395 |
11747 xe_check_libs=" -li18n " | 10396 xe_check_libs=" -li18n " |
11748 cat > conftest.$ac_ext <<EOF | 10397 cat > conftest.$ac_ext <<EOF |
11749 #line 11750 "configure" | 10398 #line 10399 "configure" |
11750 #include "confdefs.h" | 10399 #include "confdefs.h" |
11751 /* Override any gcc2 internal prototype to avoid an error. */ | 10400 /* Override any gcc2 internal prototype to avoid an error. */ |
11752 /* We use char because int might match the return type of a gcc2 | 10401 /* We use char because int might match the return type of a gcc2 |
11753 builtin and then its argument prototype would still apply. */ | 10402 builtin and then its argument prototype would still apply. */ |
11754 char layout_object_getvalue(); | 10403 char layout_object_getvalue(); |
11755 | 10404 |
11756 int main() { | 10405 int main() { |
11757 layout_object_getvalue() | 10406 layout_object_getvalue() |
11758 ; return 0; } | 10407 ; return 0; } |
11759 EOF | 10408 EOF |
11760 if { (eval echo configure:11761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10409 if { (eval echo configure:10410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11761 rm -rf conftest* | 10410 rm -rf conftest* |
11762 eval "ac_cv_lib_$ac_lib_var=yes" | 10411 eval "ac_cv_lib_$ac_lib_var=yes" |
11763 else | 10412 else |
11764 echo "configure: failed program was:" >&5 | 10413 echo "configure: failed program was:" >&5 |
11765 cat conftest.$ac_ext >&5 | 10414 cat conftest.$ac_ext >&5 |
11842 | 10491 |
11843 | 10492 |
11844 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 10493 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11845 do | 10494 do |
11846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11847 echo "configure:11848: checking for $ac_func" >&5 | 10496 echo "configure:10497: checking for $ac_func" >&5 |
11848 | 10497 |
11849 cat > conftest.$ac_ext <<EOF | 10498 cat > conftest.$ac_ext <<EOF |
11850 #line 11851 "configure" | 10499 #line 10500 "configure" |
11851 #include "confdefs.h" | 10500 #include "confdefs.h" |
11852 /* System header to define __stub macros and hopefully few prototypes, | 10501 /* System header to define __stub macros and hopefully few prototypes, |
11853 which can conflict with char $ac_func(); below. */ | 10502 which can conflict with char $ac_func(); below. */ |
11854 #include <assert.h> | 10503 #include <assert.h> |
11855 /* Override any gcc2 internal prototype to avoid an error. */ | 10504 /* Override any gcc2 internal prototype to avoid an error. */ |
11868 $ac_func(); | 10517 $ac_func(); |
11869 #endif | 10518 #endif |
11870 | 10519 |
11871 ; return 0; } | 10520 ; return 0; } |
11872 EOF | 10521 EOF |
11873 if { (eval echo configure:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10522 if { (eval echo configure:10523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11874 rm -rf conftest* | 10523 rm -rf conftest* |
11875 eval "ac_cv_func_$ac_func=yes" | 10524 eval "ac_cv_func_$ac_func=yes" |
11876 else | 10525 else |
11877 echo "configure: failed program was:" >&5 | 10526 echo "configure: failed program was:" >&5 |
11878 cat conftest.$ac_ext >&5 | 10527 cat conftest.$ac_ext >&5 |
11909 | 10558 |
11910 | 10559 |
11911 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10560 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11912 do | 10561 do |
11913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11914 echo "configure:11915: checking for $ac_func" >&5 | 10563 echo "configure:10564: checking for $ac_func" >&5 |
11915 | 10564 |
11916 cat > conftest.$ac_ext <<EOF | 10565 cat > conftest.$ac_ext <<EOF |
11917 #line 11918 "configure" | 10566 #line 10567 "configure" |
11918 #include "confdefs.h" | 10567 #include "confdefs.h" |
11919 /* System header to define __stub macros and hopefully few prototypes, | 10568 /* System header to define __stub macros and hopefully few prototypes, |
11920 which can conflict with char $ac_func(); below. */ | 10569 which can conflict with char $ac_func(); below. */ |
11921 #include <assert.h> | 10570 #include <assert.h> |
11922 /* Override any gcc2 internal prototype to avoid an error. */ | 10571 /* Override any gcc2 internal prototype to avoid an error. */ |
11935 $ac_func(); | 10584 $ac_func(); |
11936 #endif | 10585 #endif |
11937 | 10586 |
11938 ; return 0; } | 10587 ; return 0; } |
11939 EOF | 10588 EOF |
11940 if { (eval echo configure:11941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10589 if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11941 rm -rf conftest* | 10590 rm -rf conftest* |
11942 eval "ac_cv_func_$ac_func=yes" | 10591 eval "ac_cv_func_$ac_func=yes" |
11943 else | 10592 else |
11944 echo "configure: failed program was:" >&5 | 10593 echo "configure: failed program was:" >&5 |
11945 cat conftest.$ac_ext >&5 | 10594 cat conftest.$ac_ext >&5 |
11964 fi | 10613 fi |
11965 done | 10614 done |
11966 | 10615 |
11967 | 10616 |
11968 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10617 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11969 echo "configure:11970: checking for openpty" >&5 | 10618 echo "configure:10619: checking for openpty" >&5 |
11970 | 10619 |
11971 cat > conftest.$ac_ext <<EOF | 10620 cat > conftest.$ac_ext <<EOF |
11972 #line 11973 "configure" | 10621 #line 10622 "configure" |
11973 #include "confdefs.h" | 10622 #include "confdefs.h" |
11974 /* System header to define __stub macros and hopefully few prototypes, | 10623 /* System header to define __stub macros and hopefully few prototypes, |
11975 which can conflict with char openpty(); below. */ | 10624 which can conflict with char openpty(); below. */ |
11976 #include <assert.h> | 10625 #include <assert.h> |
11977 /* Override any gcc2 internal prototype to avoid an error. */ | 10626 /* Override any gcc2 internal prototype to avoid an error. */ |
11990 openpty(); | 10639 openpty(); |
11991 #endif | 10640 #endif |
11992 | 10641 |
11993 ; return 0; } | 10642 ; return 0; } |
11994 EOF | 10643 EOF |
11995 if { (eval echo configure:11996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11996 rm -rf conftest* | 10645 rm -rf conftest* |
11997 eval "ac_cv_func_openpty=yes" | 10646 eval "ac_cv_func_openpty=yes" |
11998 else | 10647 else |
11999 echo "configure: failed program was:" >&5 | 10648 echo "configure: failed program was:" >&5 |
12000 cat conftest.$ac_ext >&5 | 10649 cat conftest.$ac_ext >&5 |
12009 else | 10658 else |
12010 echo "$ac_t""no" 1>&6 | 10659 echo "$ac_t""no" 1>&6 |
12011 | 10660 |
12012 | 10661 |
12013 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10662 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12014 echo "configure:12015: checking for openpty in -lutil" >&5 | 10663 echo "configure:10664: checking for openpty in -lutil" >&5 |
12015 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10664 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12016 | 10665 |
12017 xe_check_libs=" -lutil " | 10666 xe_check_libs=" -lutil " |
12018 cat > conftest.$ac_ext <<EOF | 10667 cat > conftest.$ac_ext <<EOF |
12019 #line 12020 "configure" | 10668 #line 10669 "configure" |
12020 #include "confdefs.h" | 10669 #include "confdefs.h" |
12021 /* Override any gcc2 internal prototype to avoid an error. */ | 10670 /* Override any gcc2 internal prototype to avoid an error. */ |
12022 /* We use char because int might match the return type of a gcc2 | 10671 /* We use char because int might match the return type of a gcc2 |
12023 builtin and then its argument prototype would still apply. */ | 10672 builtin and then its argument prototype would still apply. */ |
12024 char openpty(); | 10673 char openpty(); |
12025 | 10674 |
12026 int main() { | 10675 int main() { |
12027 openpty() | 10676 openpty() |
12028 ; return 0; } | 10677 ; return 0; } |
12029 EOF | 10678 EOF |
12030 if { (eval echo configure:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10679 if { (eval echo configure:10680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12031 rm -rf conftest* | 10680 rm -rf conftest* |
12032 eval "ac_cv_lib_$ac_lib_var=yes" | 10681 eval "ac_cv_lib_$ac_lib_var=yes" |
12033 else | 10682 else |
12034 echo "configure: failed program was:" >&5 | 10683 echo "configure: failed program was:" >&5 |
12035 cat conftest.$ac_ext >&5 | 10684 cat conftest.$ac_ext >&5 |
12060 | 10709 |
12061 for ac_hdr in libutil.h util.h | 10710 for ac_hdr in libutil.h util.h |
12062 do | 10711 do |
12063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10712 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10713 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12065 echo "configure:12066: checking for $ac_hdr" >&5 | 10714 echo "configure:10715: checking for $ac_hdr" >&5 |
12066 | 10715 |
12067 cat > conftest.$ac_ext <<EOF | 10716 cat > conftest.$ac_ext <<EOF |
12068 #line 12069 "configure" | 10717 #line 10718 "configure" |
12069 #include "confdefs.h" | 10718 #include "confdefs.h" |
12070 #include <$ac_hdr> | 10719 #include <$ac_hdr> |
12071 EOF | 10720 EOF |
12072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12073 { (eval echo configure:12074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10722 { (eval echo configure:10723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12075 if test -z "$ac_err"; then | 10724 if test -z "$ac_err"; then |
12076 rm -rf conftest* | 10725 rm -rf conftest* |
12077 eval "ac_cv_header_$ac_safe=yes" | 10726 eval "ac_cv_header_$ac_safe=yes" |
12078 else | 10727 else |
12105 case "$opsys" in | 10754 case "$opsys" in |
12106 hpux*) for ac_hdr in sys/ptyio.h | 10755 hpux*) for ac_hdr in sys/ptyio.h |
12107 do | 10756 do |
12108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10757 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10758 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12110 echo "configure:12111: checking for $ac_hdr" >&5 | 10759 echo "configure:10760: checking for $ac_hdr" >&5 |
12111 | 10760 |
12112 cat > conftest.$ac_ext <<EOF | 10761 cat > conftest.$ac_ext <<EOF |
12113 #line 12114 "configure" | 10762 #line 10763 "configure" |
12114 #include "confdefs.h" | 10763 #include "confdefs.h" |
12115 #include <$ac_hdr> | 10764 #include <$ac_hdr> |
12116 EOF | 10765 EOF |
12117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12118 { (eval echo configure:12119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10767 { (eval echo configure:10768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12120 if test -z "$ac_err"; then | 10769 if test -z "$ac_err"; then |
12121 rm -rf conftest* | 10770 rm -rf conftest* |
12122 eval "ac_cv_header_$ac_safe=yes" | 10771 eval "ac_cv_header_$ac_safe=yes" |
12123 else | 10772 else |
12146 ;; | 10795 ;; |
12147 *) for ac_hdr in pty.h | 10796 *) for ac_hdr in pty.h |
12148 do | 10797 do |
12149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10798 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10799 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12151 echo "configure:12152: checking for $ac_hdr" >&5 | 10800 echo "configure:10801: checking for $ac_hdr" >&5 |
12152 | 10801 |
12153 cat > conftest.$ac_ext <<EOF | 10802 cat > conftest.$ac_ext <<EOF |
12154 #line 12155 "configure" | 10803 #line 10804 "configure" |
12155 #include "confdefs.h" | 10804 #include "confdefs.h" |
12156 #include <$ac_hdr> | 10805 #include <$ac_hdr> |
12157 EOF | 10806 EOF |
12158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12159 { (eval echo configure:12160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10808 { (eval echo configure:10809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12161 if test -z "$ac_err"; then | 10810 if test -z "$ac_err"; then |
12162 rm -rf conftest* | 10811 rm -rf conftest* |
12163 eval "ac_cv_header_$ac_safe=yes" | 10812 eval "ac_cv_header_$ac_safe=yes" |
12164 else | 10813 else |
12187 | 10836 |
12188 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 10837 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12189 do | 10838 do |
12190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10839 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10840 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12192 echo "configure:12193: checking for $ac_hdr" >&5 | 10841 echo "configure:10842: checking for $ac_hdr" >&5 |
12193 | 10842 |
12194 cat > conftest.$ac_ext <<EOF | 10843 cat > conftest.$ac_ext <<EOF |
12195 #line 12196 "configure" | 10844 #line 10845 "configure" |
12196 #include "confdefs.h" | 10845 #include "confdefs.h" |
12197 #include <$ac_hdr> | 10846 #include <$ac_hdr> |
12198 EOF | 10847 EOF |
12199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12200 { (eval echo configure:12201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10849 { (eval echo configure:10850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12202 if test -z "$ac_err"; then | 10851 if test -z "$ac_err"; then |
12203 rm -rf conftest* | 10852 rm -rf conftest* |
12204 eval "ac_cv_header_$ac_safe=yes" | 10853 eval "ac_cv_header_$ac_safe=yes" |
12205 else | 10854 else |
12231 | 10880 |
12232 for ac_hdr in stropts.h | 10881 for ac_hdr in stropts.h |
12233 do | 10882 do |
12234 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10883 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10884 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12236 echo "configure:12237: checking for $ac_hdr" >&5 | 10885 echo "configure:10886: checking for $ac_hdr" >&5 |
12237 | 10886 |
12238 cat > conftest.$ac_ext <<EOF | 10887 cat > conftest.$ac_ext <<EOF |
12239 #line 12240 "configure" | 10888 #line 10889 "configure" |
12240 #include "confdefs.h" | 10889 #include "confdefs.h" |
12241 #include <$ac_hdr> | 10890 #include <$ac_hdr> |
12242 EOF | 10891 EOF |
12243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12244 { (eval echo configure:12245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10893 { (eval echo configure:10894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12246 if test -z "$ac_err"; then | 10895 if test -z "$ac_err"; then |
12247 rm -rf conftest* | 10896 rm -rf conftest* |
12248 eval "ac_cv_header_$ac_safe=yes" | 10897 eval "ac_cv_header_$ac_safe=yes" |
12249 else | 10898 else |
12272 | 10921 |
12273 if test "$ac_cv_header_stropts_h" = "yes"; then | 10922 if test "$ac_cv_header_stropts_h" = "yes"; then |
12274 for ac_func in isastream | 10923 for ac_func in isastream |
12275 do | 10924 do |
12276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12277 echo "configure:12278: checking for $ac_func" >&5 | 10926 echo "configure:10927: checking for $ac_func" >&5 |
12278 | 10927 |
12279 cat > conftest.$ac_ext <<EOF | 10928 cat > conftest.$ac_ext <<EOF |
12280 #line 12281 "configure" | 10929 #line 10930 "configure" |
12281 #include "confdefs.h" | 10930 #include "confdefs.h" |
12282 /* System header to define __stub macros and hopefully few prototypes, | 10931 /* System header to define __stub macros and hopefully few prototypes, |
12283 which can conflict with char $ac_func(); below. */ | 10932 which can conflict with char $ac_func(); below. */ |
12284 #include <assert.h> | 10933 #include <assert.h> |
12285 /* Override any gcc2 internal prototype to avoid an error. */ | 10934 /* Override any gcc2 internal prototype to avoid an error. */ |
12298 $ac_func(); | 10947 $ac_func(); |
12299 #endif | 10948 #endif |
12300 | 10949 |
12301 ; return 0; } | 10950 ; return 0; } |
12302 EOF | 10951 EOF |
12303 if { (eval echo configure:12304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12304 rm -rf conftest* | 10953 rm -rf conftest* |
12305 eval "ac_cv_func_$ac_func=yes" | 10954 eval "ac_cv_func_$ac_func=yes" |
12306 else | 10955 else |
12307 echo "configure: failed program was:" >&5 | 10956 echo "configure: failed program was:" >&5 |
12308 cat conftest.$ac_ext >&5 | 10957 cat conftest.$ac_ext >&5 |
12329 | 10978 |
12330 for ac_hdr in strtio.h | 10979 for ac_hdr in strtio.h |
12331 do | 10980 do |
12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10981 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10982 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12334 echo "configure:12335: checking for $ac_hdr" >&5 | 10983 echo "configure:10984: checking for $ac_hdr" >&5 |
12335 | 10984 |
12336 cat > conftest.$ac_ext <<EOF | 10985 cat > conftest.$ac_ext <<EOF |
12337 #line 12338 "configure" | 10986 #line 10987 "configure" |
12338 #include "confdefs.h" | 10987 #include "confdefs.h" |
12339 #include <$ac_hdr> | 10988 #include <$ac_hdr> |
12340 EOF | 10989 EOF |
12341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10991 { (eval echo configure:10992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12344 if test -z "$ac_err"; then | 10993 if test -z "$ac_err"; then |
12345 rm -rf conftest* | 10994 rm -rf conftest* |
12346 eval "ac_cv_header_$ac_safe=yes" | 10995 eval "ac_cv_header_$ac_safe=yes" |
12347 else | 10996 else |
12370 fi | 11019 fi |
12371 | 11020 |
12372 for ac_func in getloadavg | 11021 for ac_func in getloadavg |
12373 do | 11022 do |
12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12375 echo "configure:12376: checking for $ac_func" >&5 | 11024 echo "configure:11025: checking for $ac_func" >&5 |
12376 | 11025 |
12377 cat > conftest.$ac_ext <<EOF | 11026 cat > conftest.$ac_ext <<EOF |
12378 #line 12379 "configure" | 11027 #line 11028 "configure" |
12379 #include "confdefs.h" | 11028 #include "confdefs.h" |
12380 /* System header to define __stub macros and hopefully few prototypes, | 11029 /* System header to define __stub macros and hopefully few prototypes, |
12381 which can conflict with char $ac_func(); below. */ | 11030 which can conflict with char $ac_func(); below. */ |
12382 #include <assert.h> | 11031 #include <assert.h> |
12383 /* Override any gcc2 internal prototype to avoid an error. */ | 11032 /* Override any gcc2 internal prototype to avoid an error. */ |
12396 $ac_func(); | 11045 $ac_func(); |
12397 #endif | 11046 #endif |
12398 | 11047 |
12399 ; return 0; } | 11048 ; return 0; } |
12400 EOF | 11049 EOF |
12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11050 if { (eval echo configure:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12402 rm -rf conftest* | 11051 rm -rf conftest* |
12403 eval "ac_cv_func_$ac_func=yes" | 11052 eval "ac_cv_func_$ac_func=yes" |
12404 else | 11053 else |
12405 echo "configure: failed program was:" >&5 | 11054 echo "configure: failed program was:" >&5 |
12406 cat conftest.$ac_ext >&5 | 11055 cat conftest.$ac_ext >&5 |
12429 if test "$ac_cv_func_getloadavg" = "yes"; then | 11078 if test "$ac_cv_func_getloadavg" = "yes"; then |
12430 for ac_hdr in sys/loadavg.h | 11079 for ac_hdr in sys/loadavg.h |
12431 do | 11080 do |
12432 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12434 echo "configure:12435: checking for $ac_hdr" >&5 | 11083 echo "configure:11084: checking for $ac_hdr" >&5 |
12435 | 11084 |
12436 cat > conftest.$ac_ext <<EOF | 11085 cat > conftest.$ac_ext <<EOF |
12437 #line 12438 "configure" | 11086 #line 11087 "configure" |
12438 #include "confdefs.h" | 11087 #include "confdefs.h" |
12439 #include <$ac_hdr> | 11088 #include <$ac_hdr> |
12440 EOF | 11089 EOF |
12441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12442 { (eval echo configure:12443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11091 { (eval echo configure:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12444 if test -z "$ac_err"; then | 11093 if test -z "$ac_err"; then |
12445 rm -rf conftest* | 11094 rm -rf conftest* |
12446 eval "ac_cv_header_$ac_safe=yes" | 11095 eval "ac_cv_header_$ac_safe=yes" |
12447 else | 11096 else |
12473 echo " xemacs will be linked with \"getloadavg.o\"" | 11122 echo " xemacs will be linked with \"getloadavg.o\"" |
12474 fi | 11123 fi |
12475 | 11124 |
12476 | 11125 |
12477 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11126 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12478 echo "configure:12479: checking for kstat_open in -lkstat" >&5 | 11127 echo "configure:11128: checking for kstat_open in -lkstat" >&5 |
12479 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11128 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12480 | 11129 |
12481 xe_check_libs=" -lkstat " | 11130 xe_check_libs=" -lkstat " |
12482 cat > conftest.$ac_ext <<EOF | 11131 cat > conftest.$ac_ext <<EOF |
12483 #line 12484 "configure" | 11132 #line 11133 "configure" |
12484 #include "confdefs.h" | 11133 #include "confdefs.h" |
12485 /* Override any gcc2 internal prototype to avoid an error. */ | 11134 /* Override any gcc2 internal prototype to avoid an error. */ |
12486 /* We use char because int might match the return type of a gcc2 | 11135 /* We use char because int might match the return type of a gcc2 |
12487 builtin and then its argument prototype would still apply. */ | 11136 builtin and then its argument prototype would still apply. */ |
12488 char kstat_open(); | 11137 char kstat_open(); |
12489 | 11138 |
12490 int main() { | 11139 int main() { |
12491 kstat_open() | 11140 kstat_open() |
12492 ; return 0; } | 11141 ; return 0; } |
12493 EOF | 11142 EOF |
12494 if { (eval echo configure:12495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11143 if { (eval echo configure:11144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12495 rm -rf conftest* | 11144 rm -rf conftest* |
12496 eval "ac_cv_lib_$ac_lib_var=yes" | 11145 eval "ac_cv_lib_$ac_lib_var=yes" |
12497 else | 11146 else |
12498 echo "configure: failed program was:" >&5 | 11147 echo "configure: failed program was:" >&5 |
12499 cat conftest.$ac_ext >&5 | 11148 cat conftest.$ac_ext >&5 |
12524 | 11173 |
12525 for ac_hdr in kstat.h | 11174 for ac_hdr in kstat.h |
12526 do | 11175 do |
12527 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11176 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12528 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12529 echo "configure:12530: checking for $ac_hdr" >&5 | 11178 echo "configure:11179: checking for $ac_hdr" >&5 |
12530 | 11179 |
12531 cat > conftest.$ac_ext <<EOF | 11180 cat > conftest.$ac_ext <<EOF |
12532 #line 12533 "configure" | 11181 #line 11182 "configure" |
12533 #include "confdefs.h" | 11182 #include "confdefs.h" |
12534 #include <$ac_hdr> | 11183 #include <$ac_hdr> |
12535 EOF | 11184 EOF |
12536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12537 { (eval echo configure:12538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11186 { (eval echo configure:11187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12539 if test -z "$ac_err"; then | 11188 if test -z "$ac_err"; then |
12540 rm -rf conftest* | 11189 rm -rf conftest* |
12541 eval "ac_cv_header_$ac_safe=yes" | 11190 eval "ac_cv_header_$ac_safe=yes" |
12542 else | 11191 else |
12564 done | 11213 done |
12565 | 11214 |
12566 | 11215 |
12567 | 11216 |
12568 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11217 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12569 echo "configure:12570: checking for kvm_read in -lkvm" >&5 | 11218 echo "configure:11219: checking for kvm_read in -lkvm" >&5 |
12570 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11219 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12571 | 11220 |
12572 xe_check_libs=" -lkvm " | 11221 xe_check_libs=" -lkvm " |
12573 cat > conftest.$ac_ext <<EOF | 11222 cat > conftest.$ac_ext <<EOF |
12574 #line 12575 "configure" | 11223 #line 11224 "configure" |
12575 #include "confdefs.h" | 11224 #include "confdefs.h" |
12576 /* Override any gcc2 internal prototype to avoid an error. */ | 11225 /* Override any gcc2 internal prototype to avoid an error. */ |
12577 /* We use char because int might match the return type of a gcc2 | 11226 /* We use char because int might match the return type of a gcc2 |
12578 builtin and then its argument prototype would still apply. */ | 11227 builtin and then its argument prototype would still apply. */ |
12579 char kvm_read(); | 11228 char kvm_read(); |
12580 | 11229 |
12581 int main() { | 11230 int main() { |
12582 kvm_read() | 11231 kvm_read() |
12583 ; return 0; } | 11232 ; return 0; } |
12584 EOF | 11233 EOF |
12585 if { (eval echo configure:12586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11234 if { (eval echo configure:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12586 rm -rf conftest* | 11235 rm -rf conftest* |
12587 eval "ac_cv_lib_$ac_lib_var=yes" | 11236 eval "ac_cv_lib_$ac_lib_var=yes" |
12588 else | 11237 else |
12589 echo "configure: failed program was:" >&5 | 11238 echo "configure: failed program was:" >&5 |
12590 cat conftest.$ac_ext >&5 | 11239 cat conftest.$ac_ext >&5 |
12614 | 11263 |
12615 | 11264 |
12616 fi | 11265 fi |
12617 | 11266 |
12618 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11267 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12619 echo "configure:12620: checking whether netdb declares h_errno" >&5 | 11268 echo "configure:11269: checking whether netdb declares h_errno" >&5 |
12620 cat > conftest.$ac_ext <<EOF | 11269 cat > conftest.$ac_ext <<EOF |
12621 #line 12622 "configure" | 11270 #line 11271 "configure" |
12622 #include "confdefs.h" | 11271 #include "confdefs.h" |
12623 #include <netdb.h> | 11272 #include <netdb.h> |
12624 int main() { | 11273 int main() { |
12625 return h_errno; | 11274 return h_errno; |
12626 ; return 0; } | 11275 ; return 0; } |
12627 EOF | 11276 EOF |
12628 if { (eval echo configure:12629: \"$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 |
12629 rm -rf conftest* | 11278 rm -rf conftest* |
12630 echo "$ac_t""yes" 1>&6 | 11279 echo "$ac_t""yes" 1>&6 |
12631 { test "$extra_verbose" = "yes" && cat << \EOF | 11280 { test "$extra_verbose" = "yes" && cat << \EOF |
12632 Defining HAVE_H_ERRNO | 11281 Defining HAVE_H_ERRNO |
12633 EOF | 11282 EOF |
12643 echo "$ac_t""no" 1>&6 | 11292 echo "$ac_t""no" 1>&6 |
12644 fi | 11293 fi |
12645 rm -f conftest* | 11294 rm -f conftest* |
12646 | 11295 |
12647 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11296 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12648 echo "configure:12649: checking for sigsetjmp" >&5 | 11297 echo "configure:11298: checking for sigsetjmp" >&5 |
12649 cat > conftest.$ac_ext <<EOF | 11298 cat > conftest.$ac_ext <<EOF |
12650 #line 12651 "configure" | 11299 #line 11300 "configure" |
12651 #include "confdefs.h" | 11300 #include "confdefs.h" |
12652 #include <setjmp.h> | 11301 #include <setjmp.h> |
12653 int main() { | 11302 int main() { |
12654 sigjmp_buf bar; sigsetjmp (bar, 0); | 11303 sigjmp_buf bar; sigsetjmp (bar, 0); |
12655 ; return 0; } | 11304 ; return 0; } |
12656 EOF | 11305 EOF |
12657 if { (eval echo configure:12658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11306 if { (eval echo configure:11307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12658 rm -rf conftest* | 11307 rm -rf conftest* |
12659 echo "$ac_t""yes" 1>&6 | 11308 echo "$ac_t""yes" 1>&6 |
12660 { test "$extra_verbose" = "yes" && cat << \EOF | 11309 { test "$extra_verbose" = "yes" && cat << \EOF |
12661 Defining HAVE_SIGSETJMP | 11310 Defining HAVE_SIGSETJMP |
12662 EOF | 11311 EOF |
12672 echo "$ac_t""no" 1>&6 | 11321 echo "$ac_t""no" 1>&6 |
12673 fi | 11322 fi |
12674 rm -f conftest* | 11323 rm -f conftest* |
12675 | 11324 |
12676 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11325 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12677 echo "configure:12678: checking whether localtime caches TZ" >&5 | 11326 echo "configure:11327: checking whether localtime caches TZ" >&5 |
12678 | 11327 |
12679 if test "$ac_cv_func_tzset" = "yes"; then | 11328 if test "$ac_cv_func_tzset" = "yes"; then |
12680 cat > conftest.$ac_ext <<EOF | 11329 cat > conftest.$ac_ext <<EOF |
12681 #line 12682 "configure" | 11330 #line 11331 "configure" |
12682 #include "confdefs.h" | 11331 #include "confdefs.h" |
12683 #include <time.h> | 11332 #include <time.h> |
12684 #if STDC_HEADERS | 11333 #if STDC_HEADERS |
12685 # include <stdlib.h> | 11334 # include <stdlib.h> |
12686 #endif | 11335 #endif |
12711 if (localtime (&now)->tm_hour != hour_unset) | 11360 if (localtime (&now)->tm_hour != hour_unset) |
12712 exit (1); | 11361 exit (1); |
12713 exit (0); | 11362 exit (0); |
12714 } | 11363 } |
12715 EOF | 11364 EOF |
12716 if { (eval echo configure:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11365 if { (eval echo configure:11366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12717 then | 11366 then |
12718 emacs_cv_localtime_cache=no | 11367 emacs_cv_localtime_cache=no |
12719 else | 11368 else |
12720 conftest_rc="$?" | 11369 conftest_rc="$?" |
12721 echo "configure: failed program was:" >&5 | 11370 echo "configure: failed program was:" >&5 |
12741 | 11390 |
12742 fi | 11391 fi |
12743 | 11392 |
12744 if test "$HAVE_TIMEVAL" = "yes"; then | 11393 if test "$HAVE_TIMEVAL" = "yes"; then |
12745 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11394 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12746 echo "configure:12747: checking whether gettimeofday accepts one or two arguments" >&5 | 11395 echo "configure:11396: checking whether gettimeofday accepts one or two arguments" >&5 |
12747 cat > conftest.$ac_ext <<EOF | 11396 cat > conftest.$ac_ext <<EOF |
12748 #line 12749 "configure" | 11397 #line 11398 "configure" |
12749 #include "confdefs.h" | 11398 #include "confdefs.h" |
12750 | 11399 |
12751 #ifdef TIME_WITH_SYS_TIME | 11400 #ifdef TIME_WITH_SYS_TIME |
12752 #include <sys/time.h> | 11401 #include <sys/time.h> |
12753 #include <time.h> | 11402 #include <time.h> |
12764 struct timeval time; | 11413 struct timeval time; |
12765 gettimeofday (&time, 0); | 11414 gettimeofday (&time, 0); |
12766 | 11415 |
12767 ; return 0; } | 11416 ; return 0; } |
12768 EOF | 11417 EOF |
12769 if { (eval echo configure:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11418 if { (eval echo configure:11419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12770 rm -rf conftest* | 11419 rm -rf conftest* |
12771 echo "$ac_t""two" 1>&6 | 11420 echo "$ac_t""two" 1>&6 |
12772 else | 11421 else |
12773 echo "configure: failed program was:" >&5 | 11422 echo "configure: failed program was:" >&5 |
12774 cat conftest.$ac_ext >&5 | 11423 cat conftest.$ac_ext >&5 |
12786 rm -f conftest* | 11435 rm -f conftest* |
12787 fi | 11436 fi |
12788 | 11437 |
12789 | 11438 |
12790 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11439 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12791 echo "configure:12792: checking for inline" >&5 | 11440 echo "configure:11441: checking for inline" >&5 |
12792 | 11441 |
12793 ac_cv_c_inline=no | 11442 ac_cv_c_inline=no |
12794 for ac_kw in inline __inline__ __inline; do | 11443 for ac_kw in inline __inline__ __inline; do |
12795 cat > conftest.$ac_ext <<EOF | 11444 cat > conftest.$ac_ext <<EOF |
12796 #line 12797 "configure" | 11445 #line 11446 "configure" |
12797 #include "confdefs.h" | 11446 #include "confdefs.h" |
12798 | 11447 |
12799 int main() { | 11448 int main() { |
12800 } $ac_kw foo() { | 11449 } $ac_kw foo() { |
12801 ; return 0; } | 11450 ; return 0; } |
12802 EOF | 11451 EOF |
12803 if { (eval echo configure:12804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11452 if { (eval echo configure:11453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12804 rm -rf conftest* | 11453 rm -rf conftest* |
12805 ac_cv_c_inline=$ac_kw; break | 11454 ac_cv_c_inline=$ac_kw; break |
12806 else | 11455 else |
12807 echo "configure: failed program was:" >&5 | 11456 echo "configure: failed program was:" >&5 |
12808 cat conftest.$ac_ext >&5 | 11457 cat conftest.$ac_ext >&5 |
12839 | 11488 |
12840 if test "$__DECC" != "yes"; then | 11489 if test "$__DECC" != "yes"; then |
12841 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11490 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12842 # for constant arguments. Useless! | 11491 # for constant arguments. Useless! |
12843 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11492 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12844 echo "configure:12845: checking for working alloca.h" >&5 | 11493 echo "configure:11494: checking for working alloca.h" >&5 |
12845 | 11494 |
12846 cat > conftest.$ac_ext <<EOF | 11495 cat > conftest.$ac_ext <<EOF |
12847 #line 12848 "configure" | 11496 #line 11497 "configure" |
12848 #include "confdefs.h" | 11497 #include "confdefs.h" |
12849 #include <alloca.h> | 11498 #include <alloca.h> |
12850 int main() { | 11499 int main() { |
12851 char *p = alloca(2 * sizeof(int)); | 11500 char *p = alloca(2 * sizeof(int)); |
12852 ; return 0; } | 11501 ; return 0; } |
12853 EOF | 11502 EOF |
12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11503 if { (eval echo configure:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12855 rm -rf conftest* | 11504 rm -rf conftest* |
12856 ac_cv_header_alloca_h=yes | 11505 ac_cv_header_alloca_h=yes |
12857 else | 11506 else |
12858 echo "configure: failed program was:" >&5 | 11507 echo "configure: failed program was:" >&5 |
12859 cat conftest.$ac_ext >&5 | 11508 cat conftest.$ac_ext >&5 |
12873 } | 11522 } |
12874 | 11523 |
12875 fi | 11524 fi |
12876 | 11525 |
12877 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11526 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12878 echo "configure:12879: checking for alloca" >&5 | 11527 echo "configure:11528: checking for alloca" >&5 |
12879 | 11528 |
12880 cat > conftest.$ac_ext <<EOF | 11529 cat > conftest.$ac_ext <<EOF |
12881 #line 12882 "configure" | 11530 #line 11531 "configure" |
12882 #include "confdefs.h" | 11531 #include "confdefs.h" |
12883 | 11532 |
12884 #ifdef __GNUC__ | 11533 #ifdef __GNUC__ |
12885 # define alloca __builtin_alloca | 11534 # define alloca __builtin_alloca |
12886 #else | 11535 #else |
12904 | 11553 |
12905 int main() { | 11554 int main() { |
12906 char *p = (char *) alloca(1); | 11555 char *p = (char *) alloca(1); |
12907 ; return 0; } | 11556 ; return 0; } |
12908 EOF | 11557 EOF |
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11558 if { (eval echo configure:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12910 rm -rf conftest* | 11559 rm -rf conftest* |
12911 ac_cv_func_alloca_works=yes | 11560 ac_cv_func_alloca_works=yes |
12912 else | 11561 else |
12913 echo "configure: failed program was:" >&5 | 11562 echo "configure: failed program was:" >&5 |
12914 cat conftest.$ac_ext >&5 | 11563 cat conftest.$ac_ext >&5 |
12943 EOF | 11592 EOF |
12944 } | 11593 } |
12945 | 11594 |
12946 | 11595 |
12947 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11596 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12948 echo "configure:12949: checking whether alloca needs Cray hooks" >&5 | 11597 echo "configure:11598: checking whether alloca needs Cray hooks" >&5 |
12949 | 11598 |
12950 cat > conftest.$ac_ext <<EOF | 11599 cat > conftest.$ac_ext <<EOF |
12951 #line 12952 "configure" | 11600 #line 11601 "configure" |
12952 #include "confdefs.h" | 11601 #include "confdefs.h" |
12953 #if defined(CRAY) && ! defined(CRAY2) | 11602 #if defined(CRAY) && ! defined(CRAY2) |
12954 webecray | 11603 webecray |
12955 #else | 11604 #else |
12956 wenotbecray | 11605 wenotbecray |
12970 | 11619 |
12971 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11620 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12972 if test $ac_cv_os_cray = yes; then | 11621 if test $ac_cv_os_cray = yes; then |
12973 for ac_func in _getb67 GETB67 getb67; do | 11622 for ac_func in _getb67 GETB67 getb67; do |
12974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12975 echo "configure:12976: checking for $ac_func" >&5 | 11624 echo "configure:11625: checking for $ac_func" >&5 |
12976 | 11625 |
12977 cat > conftest.$ac_ext <<EOF | 11626 cat > conftest.$ac_ext <<EOF |
12978 #line 12979 "configure" | 11627 #line 11628 "configure" |
12979 #include "confdefs.h" | 11628 #include "confdefs.h" |
12980 /* System header to define __stub macros and hopefully few prototypes, | 11629 /* System header to define __stub macros and hopefully few prototypes, |
12981 which can conflict with char $ac_func(); below. */ | 11630 which can conflict with char $ac_func(); below. */ |
12982 #include <assert.h> | 11631 #include <assert.h> |
12983 /* Override any gcc2 internal prototype to avoid an error. */ | 11632 /* Override any gcc2 internal prototype to avoid an error. */ |
12996 $ac_func(); | 11645 $ac_func(); |
12997 #endif | 11646 #endif |
12998 | 11647 |
12999 ; return 0; } | 11648 ; return 0; } |
13000 EOF | 11649 EOF |
13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11650 if { (eval echo configure:11651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13002 rm -rf conftest* | 11651 rm -rf conftest* |
13003 eval "ac_cv_func_$ac_func=yes" | 11652 eval "ac_cv_func_$ac_func=yes" |
13004 else | 11653 else |
13005 echo "configure: failed program was:" >&5 | 11654 echo "configure: failed program was:" >&5 |
13006 cat conftest.$ac_ext >&5 | 11655 cat conftest.$ac_ext >&5 |
13026 | 11675 |
13027 done | 11676 done |
13028 fi | 11677 fi |
13029 | 11678 |
13030 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11679 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13031 echo "configure:13032: checking stack direction for C alloca" >&5 | 11680 echo "configure:11681: checking stack direction for C alloca" >&5 |
13032 | 11681 |
13033 cat > conftest.$ac_ext <<EOF | 11682 cat > conftest.$ac_ext <<EOF |
13034 #line 13035 "configure" | 11683 #line 11684 "configure" |
13035 #include "confdefs.h" | 11684 #include "confdefs.h" |
13036 find_stack_direction () | 11685 find_stack_direction () |
13037 { | 11686 { |
13038 static char *addr = 0; | 11687 static char *addr = 0; |
13039 auto char dummy; | 11688 auto char dummy; |
13048 main () | 11697 main () |
13049 { | 11698 { |
13050 exit (find_stack_direction() < 0); | 11699 exit (find_stack_direction() < 0); |
13051 } | 11700 } |
13052 EOF | 11701 EOF |
13053 if { (eval echo configure:13054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11702 if { (eval echo configure:11703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13054 then | 11703 then |
13055 ac_cv_c_stack_direction=1 | 11704 ac_cv_c_stack_direction=1 |
13056 else | 11705 else |
13057 conftest_rc="$?" | 11706 conftest_rc="$?" |
13058 echo "configure: failed program was:" >&5 | 11707 echo "configure: failed program was:" >&5 |
13077 echo " xemacs will be linked with \"$ALLOCA\"" | 11726 echo " xemacs will be linked with \"$ALLOCA\"" |
13078 fi | 11727 fi |
13079 fi | 11728 fi |
13080 | 11729 |
13081 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 11730 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13082 echo "configure:13083: checking for working alloca in function calls" >&5 | 11731 echo "configure:11732: checking for working alloca in function calls" >&5 |
13083 cat > conftest.$ac_ext <<EOF | 11732 cat > conftest.$ac_ext <<EOF |
13084 #line 13085 "configure" | 11733 #line 11734 "configure" |
13085 #include "confdefs.h" | 11734 #include "confdefs.h" |
13086 | 11735 |
13087 #if defined (__CYGWIN__) | 11736 #if defined (__CYGWIN__) |
13088 #include <alloca.h> | 11737 #include <alloca.h> |
13089 #elif defined (__GNUC__) | 11738 #elif defined (__GNUC__) |
13132 return 1; | 11781 return 1; |
13133 return 0; | 11782 return 0; |
13134 } | 11783 } |
13135 | 11784 |
13136 EOF | 11785 EOF |
13137 if { (eval echo configure:13138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13138 then | 11787 then |
13139 working_alloca_in_function_calls=yes | 11788 working_alloca_in_function_calls=yes |
13140 else | 11789 else |
13141 conftest_rc="$?" | 11790 conftest_rc="$?" |
13142 echo "configure: failed program was:" >&5 | 11791 echo "configure: failed program was:" >&5 |
13155 EOF | 11804 EOF |
13156 } | 11805 } |
13157 | 11806 |
13158 | 11807 |
13159 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 11808 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13160 echo "configure:13161: checking for working strcoll" >&5 | 11809 echo "configure:11810: checking for working strcoll" >&5 |
13161 | 11810 |
13162 cat > conftest.$ac_ext <<EOF | 11811 cat > conftest.$ac_ext <<EOF |
13163 #line 13164 "configure" | 11812 #line 11813 "configure" |
13164 #include "confdefs.h" | 11813 #include "confdefs.h" |
13165 #include <string.h> | 11814 #include <string.h> |
13166 main () | 11815 main () |
13167 { | 11816 { |
13168 exit (strcoll ("abc", "def") >= 0 || | 11817 exit (strcoll ("abc", "def") >= 0 || |
13169 strcoll ("ABC", "DEF") >= 0 || | 11818 strcoll ("ABC", "DEF") >= 0 || |
13170 strcoll ("123", "456") >= 0); | 11819 strcoll ("123", "456") >= 0); |
13171 } | 11820 } |
13172 EOF | 11821 EOF |
13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13174 then | 11823 then |
13175 ac_cv_func_strcoll_works=yes | 11824 ac_cv_func_strcoll_works=yes |
13176 else | 11825 else |
13177 conftest_rc="$?" | 11826 conftest_rc="$?" |
13178 echo "configure: failed program was:" >&5 | 11827 echo "configure: failed program was:" >&5 |
13196 | 11845 |
13197 | 11846 |
13198 for ac_func in getpgrp | 11847 for ac_func in getpgrp |
13199 do | 11848 do |
13200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13201 echo "configure:13202: checking for $ac_func" >&5 | 11850 echo "configure:11851: checking for $ac_func" >&5 |
13202 | 11851 |
13203 cat > conftest.$ac_ext <<EOF | 11852 cat > conftest.$ac_ext <<EOF |
13204 #line 13205 "configure" | 11853 #line 11854 "configure" |
13205 #include "confdefs.h" | 11854 #include "confdefs.h" |
13206 /* System header to define __stub macros and hopefully few prototypes, | 11855 /* System header to define __stub macros and hopefully few prototypes, |
13207 which can conflict with char $ac_func(); below. */ | 11856 which can conflict with char $ac_func(); below. */ |
13208 #include <assert.h> | 11857 #include <assert.h> |
13209 /* Override any gcc2 internal prototype to avoid an error. */ | 11858 /* Override any gcc2 internal prototype to avoid an error. */ |
13222 $ac_func(); | 11871 $ac_func(); |
13223 #endif | 11872 #endif |
13224 | 11873 |
13225 ; return 0; } | 11874 ; return 0; } |
13226 EOF | 11875 EOF |
13227 if { (eval echo configure:13228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11876 if { (eval echo configure:11877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13228 rm -rf conftest* | 11877 rm -rf conftest* |
13229 eval "ac_cv_func_$ac_func=yes" | 11878 eval "ac_cv_func_$ac_func=yes" |
13230 else | 11879 else |
13231 echo "configure: failed program was:" >&5 | 11880 echo "configure: failed program was:" >&5 |
13232 cat conftest.$ac_ext >&5 | 11881 cat conftest.$ac_ext >&5 |
13250 echo "$ac_t""no" 1>&6 | 11899 echo "$ac_t""no" 1>&6 |
13251 fi | 11900 fi |
13252 done | 11901 done |
13253 | 11902 |
13254 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11903 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13255 echo "configure:13256: checking whether getpgrp takes no argument" >&5 | 11904 echo "configure:11905: checking whether getpgrp takes no argument" >&5 |
13256 | 11905 |
13257 cat > conftest.$ac_ext <<EOF | 11906 cat > conftest.$ac_ext <<EOF |
13258 #line 13259 "configure" | 11907 #line 11908 "configure" |
13259 #include "confdefs.h" | 11908 #include "confdefs.h" |
13260 | 11909 |
13261 /* | 11910 /* |
13262 * If this system has a BSD-style getpgrp(), | 11911 * If this system has a BSD-style getpgrp(), |
13263 * which takes a pid argument, exit unsuccessfully. | 11912 * which takes a pid argument, exit unsuccessfully. |
13308 exit(s>>8); | 11957 exit(s>>8); |
13309 } | 11958 } |
13310 } | 11959 } |
13311 | 11960 |
13312 EOF | 11961 EOF |
13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11962 if { (eval echo configure:11963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13314 then | 11963 then |
13315 ac_cv_func_getpgrp_void=yes | 11964 ac_cv_func_getpgrp_void=yes |
13316 else | 11965 else |
13317 conftest_rc="$?" | 11966 conftest_rc="$?" |
13318 echo "configure: failed program was:" >&5 | 11967 echo "configure: failed program was:" >&5 |
13335 | 11984 |
13336 fi | 11985 fi |
13337 | 11986 |
13338 | 11987 |
13339 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11988 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13340 echo "configure:13341: checking for working mmap" >&5 | 11989 echo "configure:11990: checking for working mmap" >&5 |
13341 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11990 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13342 cat > conftest.$ac_ext <<EOF | 11991 cat > conftest.$ac_ext <<EOF |
13343 #line 13344 "configure" | 11992 #line 11993 "configure" |
13344 #include "confdefs.h" | 11993 #include "confdefs.h" |
13345 #include <stdio.h> | 11994 #include <stdio.h> |
13346 #include <unistd.h> | 11995 #include <unistd.h> |
13347 #include <fcntl.h> | 11996 #include <fcntl.h> |
13348 #include <sys/mman.h> | 11997 #include <sys/mman.h> |
13371 return 0; | 12020 return 0; |
13372 perror ("conftest: mmap failed"); | 12021 perror ("conftest: mmap failed"); |
13373 return 1; | 12022 return 1; |
13374 } | 12023 } |
13375 EOF | 12024 EOF |
13376 if { (eval echo configure:13377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12025 if { (eval echo configure:12026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13377 then | 12026 then |
13378 have_mmap=yes | 12027 have_mmap=yes |
13379 else | 12028 else |
13380 conftest_rc="$?" | 12029 conftest_rc="$?" |
13381 echo "configure: failed program was:" >&5 | 12030 echo "configure: failed program was:" >&5 |
13400 esac | 12049 esac |
13401 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12050 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13402 if test "$rel_alloc $have_mmap" = "default yes"; then | 12051 if test "$rel_alloc $have_mmap" = "default yes"; then |
13403 if test "$doug_lea_malloc" = "yes"; then | 12052 if test "$doug_lea_malloc" = "yes"; then |
13404 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12053 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13405 echo "configure:13406: checking for M_MMAP_THRESHOLD" >&5 | 12054 echo "configure:12055: checking for M_MMAP_THRESHOLD" >&5 |
13406 cat > conftest.$ac_ext <<EOF | 12055 cat > conftest.$ac_ext <<EOF |
13407 #line 13408 "configure" | 12056 #line 12057 "configure" |
13408 #include "confdefs.h" | 12057 #include "confdefs.h" |
13409 #include <malloc.h> | 12058 #include <malloc.h> |
13410 int main() { | 12059 int main() { |
13411 | 12060 |
13412 #ifndef M_MMAP_THRESHOLD | 12061 #ifndef M_MMAP_THRESHOLD |
13414 !@+$%^&*_)(_ - unlikely to compile... | 12063 !@+$%^&*_)(_ - unlikely to compile... |
13415 #endif | 12064 #endif |
13416 | 12065 |
13417 ; return 0; } | 12066 ; return 0; } |
13418 EOF | 12067 EOF |
13419 if { (eval echo configure:13420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12068 if { (eval echo configure:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13420 rm -rf conftest* | 12069 rm -rf conftest* |
13421 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12070 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13422 else | 12071 else |
13423 echo "configure: failed program was:" >&5 | 12072 echo "configure: failed program was:" >&5 |
13424 cat conftest.$ac_ext >&5 | 12073 cat conftest.$ac_ext >&5 |
13439 } | 12088 } |
13440 | 12089 |
13441 | 12090 |
13442 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12091 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13443 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12092 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13444 echo "configure:13445: checking for termios.h" >&5 | 12093 echo "configure:12094: checking for termios.h" >&5 |
13445 | 12094 |
13446 cat > conftest.$ac_ext <<EOF | 12095 cat > conftest.$ac_ext <<EOF |
13447 #line 13448 "configure" | 12096 #line 12097 "configure" |
13448 #include "confdefs.h" | 12097 #include "confdefs.h" |
13449 #include <termios.h> | 12098 #include <termios.h> |
13450 EOF | 12099 EOF |
13451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13452 { (eval echo configure:13453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12101 { (eval echo configure:12102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13454 if test -z "$ac_err"; then | 12103 if test -z "$ac_err"; then |
13455 rm -rf conftest* | 12104 rm -rf conftest* |
13456 eval "ac_cv_header_$ac_safe=yes" | 12105 eval "ac_cv_header_$ac_safe=yes" |
13457 else | 12106 else |
13490 | 12139 |
13491 else | 12140 else |
13492 echo "$ac_t""no" 1>&6 | 12141 echo "$ac_t""no" 1>&6 |
13493 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12142 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13494 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12143 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13495 echo "configure:13496: checking for termio.h" >&5 | 12144 echo "configure:12145: checking for termio.h" >&5 |
13496 | 12145 |
13497 cat > conftest.$ac_ext <<EOF | 12146 cat > conftest.$ac_ext <<EOF |
13498 #line 13499 "configure" | 12147 #line 12148 "configure" |
13499 #include "confdefs.h" | 12148 #include "confdefs.h" |
13500 #include <termio.h> | 12149 #include <termio.h> |
13501 EOF | 12150 EOF |
13502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13503 { (eval echo configure:13504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12152 { (eval echo configure:12153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13505 if test -z "$ac_err"; then | 12154 if test -z "$ac_err"; then |
13506 rm -rf conftest* | 12155 rm -rf conftest* |
13507 eval "ac_cv_header_$ac_safe=yes" | 12156 eval "ac_cv_header_$ac_safe=yes" |
13508 else | 12157 else |
13530 fi | 12179 fi |
13531 | 12180 |
13532 | 12181 |
13533 | 12182 |
13534 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12183 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13535 echo "configure:13536: checking for socket" >&5 | 12184 echo "configure:12185: checking for socket" >&5 |
13536 | 12185 |
13537 cat > conftest.$ac_ext <<EOF | 12186 cat > conftest.$ac_ext <<EOF |
13538 #line 13539 "configure" | 12187 #line 12188 "configure" |
13539 #include "confdefs.h" | 12188 #include "confdefs.h" |
13540 /* System header to define __stub macros and hopefully few prototypes, | 12189 /* System header to define __stub macros and hopefully few prototypes, |
13541 which can conflict with char socket(); below. */ | 12190 which can conflict with char socket(); below. */ |
13542 #include <assert.h> | 12191 #include <assert.h> |
13543 /* Override any gcc2 internal prototype to avoid an error. */ | 12192 /* Override any gcc2 internal prototype to avoid an error. */ |
13556 socket(); | 12205 socket(); |
13557 #endif | 12206 #endif |
13558 | 12207 |
13559 ; return 0; } | 12208 ; return 0; } |
13560 EOF | 12209 EOF |
13561 if { (eval echo configure:13562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13562 rm -rf conftest* | 12211 rm -rf conftest* |
13563 eval "ac_cv_func_socket=yes" | 12212 eval "ac_cv_func_socket=yes" |
13564 else | 12213 else |
13565 echo "configure: failed program was:" >&5 | 12214 echo "configure: failed program was:" >&5 |
13566 cat conftest.$ac_ext >&5 | 12215 cat conftest.$ac_ext >&5 |
13571 | 12220 |
13572 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12221 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13573 echo "$ac_t""yes" 1>&6 | 12222 echo "$ac_t""yes" 1>&6 |
13574 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12223 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13575 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12224 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13576 echo "configure:13577: checking for netinet/in.h" >&5 | 12225 echo "configure:12226: checking for netinet/in.h" >&5 |
13577 | 12226 |
13578 cat > conftest.$ac_ext <<EOF | 12227 cat > conftest.$ac_ext <<EOF |
13579 #line 13580 "configure" | 12228 #line 12229 "configure" |
13580 #include "confdefs.h" | 12229 #include "confdefs.h" |
13581 #include <netinet/in.h> | 12230 #include <netinet/in.h> |
13582 EOF | 12231 EOF |
13583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13584 { (eval echo configure:13585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12233 { (eval echo configure:12234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13586 if test -z "$ac_err"; then | 12235 if test -z "$ac_err"; then |
13587 rm -rf conftest* | 12236 rm -rf conftest* |
13588 eval "ac_cv_header_$ac_safe=yes" | 12237 eval "ac_cv_header_$ac_safe=yes" |
13589 else | 12238 else |
13596 rm -f conftest* | 12245 rm -f conftest* |
13597 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13598 echo "$ac_t""yes" 1>&6 | 12247 echo "$ac_t""yes" 1>&6 |
13599 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12248 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13600 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12249 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13601 echo "configure:13602: checking for arpa/inet.h" >&5 | 12250 echo "configure:12251: checking for arpa/inet.h" >&5 |
13602 | 12251 |
13603 cat > conftest.$ac_ext <<EOF | 12252 cat > conftest.$ac_ext <<EOF |
13604 #line 13605 "configure" | 12253 #line 12254 "configure" |
13605 #include "confdefs.h" | 12254 #include "confdefs.h" |
13606 #include <arpa/inet.h> | 12255 #include <arpa/inet.h> |
13607 EOF | 12256 EOF |
13608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13609 { (eval echo configure:13610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12258 { (eval echo configure:12259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13611 if test -z "$ac_err"; then | 12260 if test -z "$ac_err"; then |
13612 rm -rf conftest* | 12261 rm -rf conftest* |
13613 eval "ac_cv_header_$ac_safe=yes" | 12262 eval "ac_cv_header_$ac_safe=yes" |
13614 else | 12263 else |
13629 #define HAVE_SOCKETS 1 | 12278 #define HAVE_SOCKETS 1 |
13630 EOF | 12279 EOF |
13631 } | 12280 } |
13632 | 12281 |
13633 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12282 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13634 echo "configure:13635: checking "for sun_len member in struct sockaddr_un"" >&5 | 12283 echo "configure:12284: checking "for sun_len member in struct sockaddr_un"" >&5 |
13635 cat > conftest.$ac_ext <<EOF | 12284 cat > conftest.$ac_ext <<EOF |
13636 #line 13637 "configure" | 12285 #line 12286 "configure" |
13637 #include "confdefs.h" | 12286 #include "confdefs.h" |
13638 | 12287 |
13639 #include <sys/types.h> | 12288 #include <sys/types.h> |
13640 #include <sys/socket.h> | 12289 #include <sys/socket.h> |
13641 #include <sys/un.h> | 12290 #include <sys/un.h> |
13642 | 12291 |
13643 int main() { | 12292 int main() { |
13644 static struct sockaddr_un x; x.sun_len = 1; | 12293 static struct sockaddr_un x; x.sun_len = 1; |
13645 ; return 0; } | 12294 ; return 0; } |
13646 EOF | 12295 EOF |
13647 if { (eval echo configure:13648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12296 if { (eval echo configure:12297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13648 rm -rf conftest* | 12297 rm -rf conftest* |
13649 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12298 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13650 Defining HAVE_SOCKADDR_SUN_LEN | 12299 Defining HAVE_SOCKADDR_SUN_LEN |
13651 EOF | 12300 EOF |
13652 cat >> confdefs.h <<\EOF | 12301 cat >> confdefs.h <<\EOF |
13660 rm -rf conftest* | 12309 rm -rf conftest* |
13661 echo "$ac_t""no" 1>&6 | 12310 echo "$ac_t""no" 1>&6 |
13662 fi | 12311 fi |
13663 rm -f conftest* | 12312 rm -f conftest* |
13664 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12313 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13665 echo "configure:13666: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12314 echo "configure:12315: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13666 cat > conftest.$ac_ext <<EOF | 12315 cat > conftest.$ac_ext <<EOF |
13667 #line 13668 "configure" | 12316 #line 12317 "configure" |
13668 #include "confdefs.h" | 12317 #include "confdefs.h" |
13669 | 12318 |
13670 #include <sys/types.h> | 12319 #include <sys/types.h> |
13671 #include <netinet/in.h> | 12320 #include <netinet/in.h> |
13672 | 12321 |
13673 int main() { | 12322 int main() { |
13674 static struct ip_mreq x; | 12323 static struct ip_mreq x; |
13675 ; return 0; } | 12324 ; return 0; } |
13676 EOF | 12325 EOF |
13677 if { (eval echo configure:13678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12326 if { (eval echo configure:12327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13678 rm -rf conftest* | 12327 rm -rf conftest* |
13679 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12328 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13680 Defining HAVE_MULTICAST | 12329 Defining HAVE_MULTICAST |
13681 EOF | 12330 EOF |
13682 cat >> confdefs.h <<\EOF | 12331 cat >> confdefs.h <<\EOF |
13703 echo "$ac_t""no" 1>&6 | 12352 echo "$ac_t""no" 1>&6 |
13704 fi | 12353 fi |
13705 | 12354 |
13706 | 12355 |
13707 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12356 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13708 echo "configure:13709: checking for msgget" >&5 | 12357 echo "configure:12358: checking for msgget" >&5 |
13709 | 12358 |
13710 cat > conftest.$ac_ext <<EOF | 12359 cat > conftest.$ac_ext <<EOF |
13711 #line 13712 "configure" | 12360 #line 12361 "configure" |
13712 #include "confdefs.h" | 12361 #include "confdefs.h" |
13713 /* System header to define __stub macros and hopefully few prototypes, | 12362 /* System header to define __stub macros and hopefully few prototypes, |
13714 which can conflict with char msgget(); below. */ | 12363 which can conflict with char msgget(); below. */ |
13715 #include <assert.h> | 12364 #include <assert.h> |
13716 /* Override any gcc2 internal prototype to avoid an error. */ | 12365 /* Override any gcc2 internal prototype to avoid an error. */ |
13729 msgget(); | 12378 msgget(); |
13730 #endif | 12379 #endif |
13731 | 12380 |
13732 ; return 0; } | 12381 ; return 0; } |
13733 EOF | 12382 EOF |
13734 if { (eval echo configure:13735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12383 if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13735 rm -rf conftest* | 12384 rm -rf conftest* |
13736 eval "ac_cv_func_msgget=yes" | 12385 eval "ac_cv_func_msgget=yes" |
13737 else | 12386 else |
13738 echo "configure: failed program was:" >&5 | 12387 echo "configure: failed program was:" >&5 |
13739 cat conftest.$ac_ext >&5 | 12388 cat conftest.$ac_ext >&5 |
13744 | 12393 |
13745 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12394 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13746 echo "$ac_t""yes" 1>&6 | 12395 echo "$ac_t""yes" 1>&6 |
13747 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12396 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13748 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12397 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13749 echo "configure:13750: checking for sys/ipc.h" >&5 | 12398 echo "configure:12399: checking for sys/ipc.h" >&5 |
13750 | 12399 |
13751 cat > conftest.$ac_ext <<EOF | 12400 cat > conftest.$ac_ext <<EOF |
13752 #line 13753 "configure" | 12401 #line 12402 "configure" |
13753 #include "confdefs.h" | 12402 #include "confdefs.h" |
13754 #include <sys/ipc.h> | 12403 #include <sys/ipc.h> |
13755 EOF | 12404 EOF |
13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12406 { (eval echo configure:12407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13759 if test -z "$ac_err"; then | 12408 if test -z "$ac_err"; then |
13760 rm -rf conftest* | 12409 rm -rf conftest* |
13761 eval "ac_cv_header_$ac_safe=yes" | 12410 eval "ac_cv_header_$ac_safe=yes" |
13762 else | 12411 else |
13769 rm -f conftest* | 12418 rm -f conftest* |
13770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13771 echo "$ac_t""yes" 1>&6 | 12420 echo "$ac_t""yes" 1>&6 |
13772 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12421 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13773 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12422 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13774 echo "configure:13775: checking for sys/msg.h" >&5 | 12423 echo "configure:12424: checking for sys/msg.h" >&5 |
13775 | 12424 |
13776 cat > conftest.$ac_ext <<EOF | 12425 cat > conftest.$ac_ext <<EOF |
13777 #line 13778 "configure" | 12426 #line 12427 "configure" |
13778 #include "confdefs.h" | 12427 #include "confdefs.h" |
13779 #include <sys/msg.h> | 12428 #include <sys/msg.h> |
13780 EOF | 12429 EOF |
13781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13782 { (eval echo configure:13783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12431 { (eval echo configure:12432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13784 if test -z "$ac_err"; then | 12433 if test -z "$ac_err"; then |
13785 rm -rf conftest* | 12434 rm -rf conftest* |
13786 eval "ac_cv_header_$ac_safe=yes" | 12435 eval "ac_cv_header_$ac_safe=yes" |
13787 else | 12436 else |
13815 fi | 12464 fi |
13816 | 12465 |
13817 | 12466 |
13818 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12467 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13819 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12468 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13820 echo "configure:13821: checking for dirent.h" >&5 | 12469 echo "configure:12470: checking for dirent.h" >&5 |
13821 | 12470 |
13822 cat > conftest.$ac_ext <<EOF | 12471 cat > conftest.$ac_ext <<EOF |
13823 #line 13824 "configure" | 12472 #line 12473 "configure" |
13824 #include "confdefs.h" | 12473 #include "confdefs.h" |
13825 #include <dirent.h> | 12474 #include <dirent.h> |
13826 EOF | 12475 EOF |
13827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13828 { (eval echo configure:13829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12477 { (eval echo configure:12478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13830 if test -z "$ac_err"; then | 12479 if test -z "$ac_err"; then |
13831 rm -rf conftest* | 12480 rm -rf conftest* |
13832 eval "ac_cv_header_$ac_safe=yes" | 12481 eval "ac_cv_header_$ac_safe=yes" |
13833 else | 12482 else |
13850 | 12499 |
13851 else | 12500 else |
13852 echo "$ac_t""no" 1>&6 | 12501 echo "$ac_t""no" 1>&6 |
13853 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12502 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13854 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12503 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13855 echo "configure:13856: checking for sys/dir.h" >&5 | 12504 echo "configure:12505: checking for sys/dir.h" >&5 |
13856 | 12505 |
13857 cat > conftest.$ac_ext <<EOF | 12506 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 12507 #line 12508 "configure" |
13859 #include "confdefs.h" | 12508 #include "confdefs.h" |
13860 #include <sys/dir.h> | 12509 #include <sys/dir.h> |
13861 EOF | 12510 EOF |
13862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13863 { (eval echo configure:13864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13865 if test -z "$ac_err"; then | 12514 if test -z "$ac_err"; then |
13866 rm -rf conftest* | 12515 rm -rf conftest* |
13867 eval "ac_cv_header_$ac_safe=yes" | 12516 eval "ac_cv_header_$ac_safe=yes" |
13868 else | 12517 else |
13891 fi | 12540 fi |
13892 | 12541 |
13893 | 12542 |
13894 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12543 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13895 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12544 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13896 echo "configure:13897: checking for nlist.h" >&5 | 12545 echo "configure:12546: checking for nlist.h" >&5 |
13897 | 12546 |
13898 cat > conftest.$ac_ext <<EOF | 12547 cat > conftest.$ac_ext <<EOF |
13899 #line 13900 "configure" | 12548 #line 12549 "configure" |
13900 #include "confdefs.h" | 12549 #include "confdefs.h" |
13901 #include <nlist.h> | 12550 #include <nlist.h> |
13902 EOF | 12551 EOF |
13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12553 { (eval echo configure:12554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13906 if test -z "$ac_err"; then | 12555 if test -z "$ac_err"; then |
13907 rm -rf conftest* | 12556 rm -rf conftest* |
13908 eval "ac_cv_header_$ac_safe=yes" | 12557 eval "ac_cv_header_$ac_safe=yes" |
13909 else | 12558 else |
13929 fi | 12578 fi |
13930 | 12579 |
13931 | 12580 |
13932 | 12581 |
13933 echo "checking "for sound support"" 1>&6 | 12582 echo "checking "for sound support"" 1>&6 |
13934 echo "configure:13935: checking "for sound support"" >&5 | 12583 echo "configure:12584: checking "for sound support"" >&5 |
13935 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12584 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13936 | 12585 |
13937 if test "$with_native_sound" != "no"; then | 12586 if test "$with_native_sound" != "no"; then |
13938 if test -n "$native_sound_lib"; then | 12587 if test -n "$native_sound_lib"; then |
13939 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12588 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13940 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12589 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13941 echo "configure:13942: checking for multimedia/audio_device.h" >&5 | 12590 echo "configure:12591: checking for multimedia/audio_device.h" >&5 |
13942 | 12591 |
13943 cat > conftest.$ac_ext <<EOF | 12592 cat > conftest.$ac_ext <<EOF |
13944 #line 13945 "configure" | 12593 #line 12594 "configure" |
13945 #include "confdefs.h" | 12594 #include "confdefs.h" |
13946 #include <multimedia/audio_device.h> | 12595 #include <multimedia/audio_device.h> |
13947 EOF | 12596 EOF |
13948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13949 { (eval echo configure:13950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12598 { (eval echo configure:12599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13951 if test -z "$ac_err"; then | 12600 if test -z "$ac_err"; then |
13952 rm -rf conftest* | 12601 rm -rf conftest* |
13953 eval "ac_cv_header_$ac_safe=yes" | 12602 eval "ac_cv_header_$ac_safe=yes" |
13954 else | 12603 else |
13992 case "$canonical" in | 12641 case "$canonical" in |
13993 *-sgi-* ) | 12642 *-sgi-* ) |
13994 if test -z "$native_sound_lib"; then | 12643 if test -z "$native_sound_lib"; then |
13995 | 12644 |
13996 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12645 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13997 echo "configure:13998: checking for ALopenport in -laudio" >&5 | 12646 echo "configure:12647: checking for ALopenport in -laudio" >&5 |
13998 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12647 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13999 | 12648 |
14000 xe_check_libs=" -laudio " | 12649 xe_check_libs=" -laudio " |
14001 cat > conftest.$ac_ext <<EOF | 12650 cat > conftest.$ac_ext <<EOF |
14002 #line 14003 "configure" | 12651 #line 12652 "configure" |
14003 #include "confdefs.h" | 12652 #include "confdefs.h" |
14004 /* Override any gcc2 internal prototype to avoid an error. */ | 12653 /* Override any gcc2 internal prototype to avoid an error. */ |
14005 /* We use char because int might match the return type of a gcc2 | 12654 /* We use char because int might match the return type of a gcc2 |
14006 builtin and then its argument prototype would still apply. */ | 12655 builtin and then its argument prototype would still apply. */ |
14007 char ALopenport(); | 12656 char ALopenport(); |
14008 | 12657 |
14009 int main() { | 12658 int main() { |
14010 ALopenport() | 12659 ALopenport() |
14011 ; return 0; } | 12660 ; return 0; } |
14012 EOF | 12661 EOF |
14013 if { (eval echo configure:14014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12662 if { (eval echo configure:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14014 rm -rf conftest* | 12663 rm -rf conftest* |
14015 eval "ac_cv_lib_$ac_lib_var=yes" | 12664 eval "ac_cv_lib_$ac_lib_var=yes" |
14016 else | 12665 else |
14017 echo "configure: failed program was:" >&5 | 12666 echo "configure: failed program was:" >&5 |
14018 cat conftest.$ac_ext >&5 | 12667 cat conftest.$ac_ext >&5 |
14039 fi ;; | 12688 fi ;; |
14040 hppa*-hp-hpux* ) | 12689 hppa*-hp-hpux* ) |
14041 if test -z "$native_sound_lib"; then | 12690 if test -z "$native_sound_lib"; then |
14042 | 12691 |
14043 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12692 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14044 echo "configure:14045: checking for AOpenAudio in -lAlib" >&5 | 12693 echo "configure:12694: checking for AOpenAudio in -lAlib" >&5 |
14045 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12694 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14046 | 12695 |
14047 xe_check_libs=" -lAlib " | 12696 xe_check_libs=" -lAlib " |
14048 cat > conftest.$ac_ext <<EOF | 12697 cat > conftest.$ac_ext <<EOF |
14049 #line 14050 "configure" | 12698 #line 12699 "configure" |
14050 #include "confdefs.h" | 12699 #include "confdefs.h" |
14051 /* Override any gcc2 internal prototype to avoid an error. */ | 12700 /* Override any gcc2 internal prototype to avoid an error. */ |
14052 /* We use char because int might match the return type of a gcc2 | 12701 /* We use char because int might match the return type of a gcc2 |
14053 builtin and then its argument prototype would still apply. */ | 12702 builtin and then its argument prototype would still apply. */ |
14054 char AOpenAudio(); | 12703 char AOpenAudio(); |
14055 | 12704 |
14056 int main() { | 12705 int main() { |
14057 AOpenAudio() | 12706 AOpenAudio() |
14058 ; return 0; } | 12707 ; return 0; } |
14059 EOF | 12708 EOF |
14060 if { (eval echo configure:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12709 if { (eval echo configure:12710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14061 rm -rf conftest* | 12710 rm -rf conftest* |
14062 eval "ac_cv_lib_$ac_lib_var=yes" | 12711 eval "ac_cv_lib_$ac_lib_var=yes" |
14063 else | 12712 else |
14064 echo "configure: failed program was:" >&5 | 12713 echo "configure: failed program was:" >&5 |
14065 cat conftest.$ac_ext >&5 | 12714 cat conftest.$ac_ext >&5 |
14103 | 12752 |
14104 if test -z "$sound_found"; then | 12753 if test -z "$sound_found"; then |
14105 for dir in "machine" "sys" "linux"; do | 12754 for dir in "machine" "sys" "linux"; do |
14106 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12755 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14107 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12756 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14108 echo "configure:14109: checking for ${dir}/soundcard.h" >&5 | 12757 echo "configure:12758: checking for ${dir}/soundcard.h" >&5 |
14109 | 12758 |
14110 cat > conftest.$ac_ext <<EOF | 12759 cat > conftest.$ac_ext <<EOF |
14111 #line 14112 "configure" | 12760 #line 12761 "configure" |
14112 #include "confdefs.h" | 12761 #include "confdefs.h" |
14113 #include <${dir}/soundcard.h> | 12762 #include <${dir}/soundcard.h> |
14114 EOF | 12763 EOF |
14115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14116 { (eval echo configure:14117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12765 { (eval echo configure:12766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14118 if test -z "$ac_err"; then | 12767 if test -z "$ac_err"; then |
14119 rm -rf conftest* | 12768 rm -rf conftest* |
14120 eval "ac_cv_header_$ac_safe=yes" | 12769 eval "ac_cv_header_$ac_safe=yes" |
14121 else | 12770 else |
14165 fi | 12814 fi |
14166 | 12815 |
14167 if test "$with_nas_sound" != "no"; then | 12816 if test "$with_nas_sound" != "no"; then |
14168 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 12817 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14169 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 12818 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14170 echo "configure:14171: checking for audio/audiolib.h" >&5 | 12819 echo "configure:12820: checking for audio/audiolib.h" >&5 |
14171 | 12820 |
14172 cat > conftest.$ac_ext <<EOF | 12821 cat > conftest.$ac_ext <<EOF |
14173 #line 14174 "configure" | 12822 #line 12823 "configure" |
14174 #include "confdefs.h" | 12823 #include "confdefs.h" |
14175 #include <audio/audiolib.h> | 12824 #include <audio/audiolib.h> |
14176 EOF | 12825 EOF |
14177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14178 { (eval echo configure:14179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14180 if test -z "$ac_err"; then | 12829 if test -z "$ac_err"; then |
14181 rm -rf conftest* | 12830 rm -rf conftest* |
14182 eval "ac_cv_header_$ac_safe=yes" | 12831 eval "ac_cv_header_$ac_safe=yes" |
14183 else | 12832 else |
14191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14192 echo "$ac_t""yes" 1>&6 | 12841 echo "$ac_t""yes" 1>&6 |
14193 | 12842 |
14194 | 12843 |
14195 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 12844 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14196 echo "configure:14197: checking for AuOpenServer in -laudio" >&5 | 12845 echo "configure:12846: checking for AuOpenServer in -laudio" >&5 |
14197 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 12846 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14198 | 12847 |
14199 xe_check_libs=" -laudio " | 12848 xe_check_libs=" -laudio " |
14200 cat > conftest.$ac_ext <<EOF | 12849 cat > conftest.$ac_ext <<EOF |
14201 #line 14202 "configure" | 12850 #line 12851 "configure" |
14202 #include "confdefs.h" | 12851 #include "confdefs.h" |
14203 /* Override any gcc2 internal prototype to avoid an error. */ | 12852 /* Override any gcc2 internal prototype to avoid an error. */ |
14204 /* We use char because int might match the return type of a gcc2 | 12853 /* We use char because int might match the return type of a gcc2 |
14205 builtin and then its argument prototype would still apply. */ | 12854 builtin and then its argument prototype would still apply. */ |
14206 char AuOpenServer(); | 12855 char AuOpenServer(); |
14207 | 12856 |
14208 int main() { | 12857 int main() { |
14209 AuOpenServer() | 12858 AuOpenServer() |
14210 ; return 0; } | 12859 ; return 0; } |
14211 EOF | 12860 EOF |
14212 if { (eval echo configure:14213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12861 if { (eval echo configure:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14213 rm -rf conftest* | 12862 rm -rf conftest* |
14214 eval "ac_cv_lib_$ac_lib_var=yes" | 12863 eval "ac_cv_lib_$ac_lib_var=yes" |
14215 else | 12864 else |
14216 echo "configure: failed program was:" >&5 | 12865 echo "configure: failed program was:" >&5 |
14217 cat conftest.$ac_ext >&5 | 12866 cat conftest.$ac_ext >&5 |
14246 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 12895 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14247 echo " xemacs will be linked with \"nas.o\"" | 12896 echo " xemacs will be linked with \"nas.o\"" |
14248 fi | 12897 fi |
14249 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 12898 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14250 cat > conftest.$ac_ext <<EOF | 12899 cat > conftest.$ac_ext <<EOF |
14251 #line 14252 "configure" | 12900 #line 12901 "configure" |
14252 #include "confdefs.h" | 12901 #include "confdefs.h" |
14253 #include <audio/Xtutil.h> | 12902 #include <audio/Xtutil.h> |
14254 EOF | 12903 EOF |
14255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14256 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 12905 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14277 | 12926 |
14278 if test "$with_esd_sound" != "no"; then | 12927 if test "$with_esd_sound" != "no"; then |
14279 # Extract the first word of "esd-config", so it can be a program name with args. | 12928 # Extract the first word of "esd-config", so it can be a program name with args. |
14280 set dummy esd-config; ac_word=$2 | 12929 set dummy esd-config; ac_word=$2 |
14281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 12930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14282 echo "configure:14283: checking for $ac_word" >&5 | 12931 echo "configure:12932: checking for $ac_word" >&5 |
14283 | 12932 |
14284 if test -n "$have_esd_config"; then | 12933 if test -n "$have_esd_config"; then |
14285 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 12934 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14286 else | 12935 else |
14287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 12936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14306 if test "$have_esd_config" = "yes"; then | 12955 if test "$have_esd_config" = "yes"; then |
14307 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 12956 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14308 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 | 12957 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 |
14309 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 12958 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14310 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 12959 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14311 echo "configure:14312: checking for esd_play_stream" >&5 | 12960 echo "configure:12961: checking for esd_play_stream" >&5 |
14312 | 12961 |
14313 cat > conftest.$ac_ext <<EOF | 12962 cat > conftest.$ac_ext <<EOF |
14314 #line 14315 "configure" | 12963 #line 12964 "configure" |
14315 #include "confdefs.h" | 12964 #include "confdefs.h" |
14316 /* System header to define __stub macros and hopefully few prototypes, | 12965 /* System header to define __stub macros and hopefully few prototypes, |
14317 which can conflict with char esd_play_stream(); below. */ | 12966 which can conflict with char esd_play_stream(); below. */ |
14318 #include <assert.h> | 12967 #include <assert.h> |
14319 /* Override any gcc2 internal prototype to avoid an error. */ | 12968 /* Override any gcc2 internal prototype to avoid an error. */ |
14332 esd_play_stream(); | 12981 esd_play_stream(); |
14333 #endif | 12982 #endif |
14334 | 12983 |
14335 ; return 0; } | 12984 ; return 0; } |
14336 EOF | 12985 EOF |
14337 if { (eval echo configure:14338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12986 if { (eval echo configure:12987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14338 rm -rf conftest* | 12987 rm -rf conftest* |
14339 eval "ac_cv_func_esd_play_stream=yes" | 12988 eval "ac_cv_func_esd_play_stream=yes" |
14340 else | 12989 else |
14341 echo "configure: failed program was:" >&5 | 12990 echo "configure: failed program was:" >&5 |
14342 cat conftest.$ac_ext >&5 | 12991 cat conftest.$ac_ext >&5 |
14383 | 13032 |
14384 test -z "$with_tty" && with_tty=yes | 13033 test -z "$with_tty" && with_tty=yes |
14385 | 13034 |
14386 if test "$with_tty" = "yes" ; then | 13035 if test "$with_tty" = "yes" ; then |
14387 echo "checking for TTY-related features" 1>&6 | 13036 echo "checking for TTY-related features" 1>&6 |
14388 echo "configure:14389: checking for TTY-related features" >&5 | 13037 echo "configure:13038: checking for TTY-related features" >&5 |
14389 { test "$extra_verbose" = "yes" && cat << \EOF | 13038 { test "$extra_verbose" = "yes" && cat << \EOF |
14390 Defining HAVE_TTY | 13039 Defining HAVE_TTY |
14391 EOF | 13040 EOF |
14392 cat >> confdefs.h <<\EOF | 13041 cat >> confdefs.h <<\EOF |
14393 #define HAVE_TTY 1 | 13042 #define HAVE_TTY 1 |
14396 | 13045 |
14397 | 13046 |
14398 if test -z "$with_ncurses"; then | 13047 if test -z "$with_ncurses"; then |
14399 | 13048 |
14400 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13049 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14401 echo "configure:14402: checking for tgetent in -lncurses" >&5 | 13050 echo "configure:13051: checking for tgetent in -lncurses" >&5 |
14402 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13051 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14403 | 13052 |
14404 xe_check_libs=" -lncurses " | 13053 xe_check_libs=" -lncurses " |
14405 cat > conftest.$ac_ext <<EOF | 13054 cat > conftest.$ac_ext <<EOF |
14406 #line 14407 "configure" | 13055 #line 13056 "configure" |
14407 #include "confdefs.h" | 13056 #include "confdefs.h" |
14408 /* Override any gcc2 internal prototype to avoid an error. */ | 13057 /* Override any gcc2 internal prototype to avoid an error. */ |
14409 /* We use char because int might match the return type of a gcc2 | 13058 /* We use char because int might match the return type of a gcc2 |
14410 builtin and then its argument prototype would still apply. */ | 13059 builtin and then its argument prototype would still apply. */ |
14411 char tgetent(); | 13060 char tgetent(); |
14412 | 13061 |
14413 int main() { | 13062 int main() { |
14414 tgetent() | 13063 tgetent() |
14415 ; return 0; } | 13064 ; return 0; } |
14416 EOF | 13065 EOF |
14417 if { (eval echo configure:14418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14418 rm -rf conftest* | 13067 rm -rf conftest* |
14419 eval "ac_cv_lib_$ac_lib_var=yes" | 13068 eval "ac_cv_lib_$ac_lib_var=yes" |
14420 else | 13069 else |
14421 echo "configure: failed program was:" >&5 | 13070 echo "configure: failed program was:" >&5 |
14422 cat conftest.$ac_ext >&5 | 13071 cat conftest.$ac_ext >&5 |
14445 EOF | 13094 EOF |
14446 } | 13095 } |
14447 | 13096 |
14448 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13097 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14449 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13098 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14450 echo "configure:14451: checking for ncurses/curses.h" >&5 | 13099 echo "configure:13100: checking for ncurses/curses.h" >&5 |
14451 | 13100 |
14452 cat > conftest.$ac_ext <<EOF | 13101 cat > conftest.$ac_ext <<EOF |
14453 #line 14454 "configure" | 13102 #line 13103 "configure" |
14454 #include "confdefs.h" | 13103 #include "confdefs.h" |
14455 #include <ncurses/curses.h> | 13104 #include <ncurses/curses.h> |
14456 EOF | 13105 EOF |
14457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14458 { (eval echo configure:14459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13107 { (eval echo configure:13108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14460 if test -z "$ac_err"; then | 13109 if test -z "$ac_err"; then |
14461 rm -rf conftest* | 13110 rm -rf conftest* |
14462 eval "ac_cv_header_$ac_safe=yes" | 13111 eval "ac_cv_header_$ac_safe=yes" |
14463 else | 13112 else |
14475 echo "$ac_t""no" 1>&6 | 13124 echo "$ac_t""no" 1>&6 |
14476 fi | 13125 fi |
14477 | 13126 |
14478 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13127 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14479 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13128 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14480 echo "configure:14481: checking for ncurses/term.h" >&5 | 13129 echo "configure:13130: checking for ncurses/term.h" >&5 |
14481 | 13130 |
14482 cat > conftest.$ac_ext <<EOF | 13131 cat > conftest.$ac_ext <<EOF |
14483 #line 14484 "configure" | 13132 #line 13133 "configure" |
14484 #include "confdefs.h" | 13133 #include "confdefs.h" |
14485 #include <ncurses/term.h> | 13134 #include <ncurses/term.h> |
14486 EOF | 13135 EOF |
14487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14488 { (eval echo configure:14489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13137 { (eval echo configure:13138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14490 if test -z "$ac_err"; then | 13139 if test -z "$ac_err"; then |
14491 rm -rf conftest* | 13140 rm -rf conftest* |
14492 eval "ac_cv_header_$ac_safe=yes" | 13141 eval "ac_cv_header_$ac_safe=yes" |
14493 else | 13142 else |
14513 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13162 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14514 save_c_switch_site="$c_switch_site" | 13163 save_c_switch_site="$c_switch_site" |
14515 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13164 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14516 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13165 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14517 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13166 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14518 echo "configure:14519: checking for ncurses/curses.h" >&5 | 13167 echo "configure:13168: checking for ncurses/curses.h" >&5 |
14519 | 13168 |
14520 cat > conftest.$ac_ext <<EOF | 13169 cat > conftest.$ac_ext <<EOF |
14521 #line 14522 "configure" | 13170 #line 13171 "configure" |
14522 #include "confdefs.h" | 13171 #include "confdefs.h" |
14523 #include <ncurses/curses.h> | 13172 #include <ncurses/curses.h> |
14524 EOF | 13173 EOF |
14525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14526 { (eval echo configure:14527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13175 { (eval echo configure:13176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14528 if test -z "$ac_err"; then | 13177 if test -z "$ac_err"; then |
14529 rm -rf conftest* | 13178 rm -rf conftest* |
14530 eval "ac_cv_header_$ac_safe=yes" | 13179 eval "ac_cv_header_$ac_safe=yes" |
14531 else | 13180 else |
14556 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13205 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14557 else | 13206 else |
14558 for lib in curses termlib termcap; do | 13207 for lib in curses termlib termcap; do |
14559 | 13208 |
14560 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13209 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14561 echo "configure:14562: checking for tgetent in -l$lib" >&5 | 13210 echo "configure:13211: checking for tgetent in -l$lib" >&5 |
14562 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13211 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14563 | 13212 |
14564 xe_check_libs=" -l$lib " | 13213 xe_check_libs=" -l$lib " |
14565 cat > conftest.$ac_ext <<EOF | 13214 cat > conftest.$ac_ext <<EOF |
14566 #line 14567 "configure" | 13215 #line 13216 "configure" |
14567 #include "confdefs.h" | 13216 #include "confdefs.h" |
14568 /* Override any gcc2 internal prototype to avoid an error. */ | 13217 /* Override any gcc2 internal prototype to avoid an error. */ |
14569 /* We use char because int might match the return type of a gcc2 | 13218 /* We use char because int might match the return type of a gcc2 |
14570 builtin and then its argument prototype would still apply. */ | 13219 builtin and then its argument prototype would still apply. */ |
14571 char tgetent(); | 13220 char tgetent(); |
14572 | 13221 |
14573 int main() { | 13222 int main() { |
14574 tgetent() | 13223 tgetent() |
14575 ; return 0; } | 13224 ; return 0; } |
14576 EOF | 13225 EOF |
14577 if { (eval echo configure:14578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13226 if { (eval echo configure:13227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14578 rm -rf conftest* | 13227 rm -rf conftest* |
14579 eval "ac_cv_lib_$ac_lib_var=yes" | 13228 eval "ac_cv_lib_$ac_lib_var=yes" |
14580 else | 13229 else |
14581 echo "configure: failed program was:" >&5 | 13230 echo "configure: failed program was:" >&5 |
14582 cat conftest.$ac_ext >&5 | 13231 cat conftest.$ac_ext >&5 |
14603 if test -n "$libs_termcap"; then | 13252 if test -n "$libs_termcap"; then |
14604 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13253 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14605 else | 13254 else |
14606 | 13255 |
14607 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13256 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14608 echo "configure:14609: checking for tgetent in -lcurses" >&5 | 13257 echo "configure:13258: checking for tgetent in -lcurses" >&5 |
14609 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13258 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14610 | 13259 |
14611 xe_check_libs=" -lcurses " | 13260 xe_check_libs=" -lcurses " |
14612 cat > conftest.$ac_ext <<EOF | 13261 cat > conftest.$ac_ext <<EOF |
14613 #line 14614 "configure" | 13262 #line 13263 "configure" |
14614 #include "confdefs.h" | 13263 #include "confdefs.h" |
14615 /* Override any gcc2 internal prototype to avoid an error. */ | 13264 /* Override any gcc2 internal prototype to avoid an error. */ |
14616 /* We use char because int might match the return type of a gcc2 | 13265 /* We use char because int might match the return type of a gcc2 |
14617 builtin and then its argument prototype would still apply. */ | 13266 builtin and then its argument prototype would still apply. */ |
14618 char tgetent(); | 13267 char tgetent(); |
14619 | 13268 |
14620 int main() { | 13269 int main() { |
14621 tgetent() | 13270 tgetent() |
14622 ; return 0; } | 13271 ; return 0; } |
14623 EOF | 13272 EOF |
14624 if { (eval echo configure:14625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13273 if { (eval echo configure:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14625 rm -rf conftest* | 13274 rm -rf conftest* |
14626 eval "ac_cv_lib_$ac_lib_var=yes" | 13275 eval "ac_cv_lib_$ac_lib_var=yes" |
14627 else | 13276 else |
14628 echo "configure: failed program was:" >&5 | 13277 echo "configure: failed program was:" >&5 |
14629 cat conftest.$ac_ext >&5 | 13278 cat conftest.$ac_ext >&5 |
14637 echo "$ac_t""yes" 1>&6 | 13286 echo "$ac_t""yes" 1>&6 |
14638 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13287 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14639 else | 13288 else |
14640 echo "$ac_t""no" 1>&6 | 13289 echo "$ac_t""no" 1>&6 |
14641 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13290 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14642 echo "configure:14643: checking for tgetent in -ltermcap" >&5 | 13291 echo "configure:13292: checking for tgetent in -ltermcap" >&5 |
14643 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13292 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14644 | 13293 |
14645 xe_check_libs=" -ltermcap " | 13294 xe_check_libs=" -ltermcap " |
14646 cat > conftest.$ac_ext <<EOF | 13295 cat > conftest.$ac_ext <<EOF |
14647 #line 14648 "configure" | 13296 #line 13297 "configure" |
14648 #include "confdefs.h" | 13297 #include "confdefs.h" |
14649 /* Override any gcc2 internal prototype to avoid an error. */ | 13298 /* Override any gcc2 internal prototype to avoid an error. */ |
14650 /* We use char because int might match the return type of a gcc2 | 13299 /* We use char because int might match the return type of a gcc2 |
14651 builtin and then its argument prototype would still apply. */ | 13300 builtin and then its argument prototype would still apply. */ |
14652 char tgetent(); | 13301 char tgetent(); |
14653 | 13302 |
14654 int main() { | 13303 int main() { |
14655 tgetent() | 13304 tgetent() |
14656 ; return 0; } | 13305 ; return 0; } |
14657 EOF | 13306 EOF |
14658 if { (eval echo configure:14659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13307 if { (eval echo configure:13308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14659 rm -rf conftest* | 13308 rm -rf conftest* |
14660 eval "ac_cv_lib_$ac_lib_var=yes" | 13309 eval "ac_cv_lib_$ac_lib_var=yes" |
14661 else | 13310 else |
14662 echo "configure: failed program was:" >&5 | 13311 echo "configure: failed program was:" >&5 |
14663 cat conftest.$ac_ext >&5 | 13312 cat conftest.$ac_ext >&5 |
14701 } | 13350 } |
14702 | 13351 |
14703 | 13352 |
14704 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13353 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14705 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13354 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14706 echo "configure:14707: checking for gpm.h" >&5 | 13355 echo "configure:13356: checking for gpm.h" >&5 |
14707 | 13356 |
14708 cat > conftest.$ac_ext <<EOF | 13357 cat > conftest.$ac_ext <<EOF |
14709 #line 14710 "configure" | 13358 #line 13359 "configure" |
14710 #include "confdefs.h" | 13359 #include "confdefs.h" |
14711 #include <gpm.h> | 13360 #include <gpm.h> |
14712 EOF | 13361 EOF |
14713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14714 { (eval echo configure:14715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13363 { (eval echo configure:13364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14716 if test -z "$ac_err"; then | 13365 if test -z "$ac_err"; then |
14717 rm -rf conftest* | 13366 rm -rf conftest* |
14718 eval "ac_cv_header_$ac_safe=yes" | 13367 eval "ac_cv_header_$ac_safe=yes" |
14719 else | 13368 else |
14732 with_gpm=no | 13381 with_gpm=no |
14733 fi | 13382 fi |
14734 } | 13383 } |
14735 test -z "$with_gpm" && { | 13384 test -z "$with_gpm" && { |
14736 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13385 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14737 echo "configure:14738: checking for Gpm_Open in -lgpm" >&5 | 13386 echo "configure:13387: checking for Gpm_Open in -lgpm" >&5 |
14738 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13387 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14739 | 13388 |
14740 xe_check_libs=" -lgpm " | 13389 xe_check_libs=" -lgpm " |
14741 cat > conftest.$ac_ext <<EOF | 13390 cat > conftest.$ac_ext <<EOF |
14742 #line 14743 "configure" | 13391 #line 13392 "configure" |
14743 #include "confdefs.h" | 13392 #include "confdefs.h" |
14744 /* Override any gcc2 internal prototype to avoid an error. */ | 13393 /* Override any gcc2 internal prototype to avoid an error. */ |
14745 /* We use char because int might match the return type of a gcc2 | 13394 /* We use char because int might match the return type of a gcc2 |
14746 builtin and then its argument prototype would still apply. */ | 13395 builtin and then its argument prototype would still apply. */ |
14747 char Gpm_Open(); | 13396 char Gpm_Open(); |
14748 | 13397 |
14749 int main() { | 13398 int main() { |
14750 Gpm_Open() | 13399 Gpm_Open() |
14751 ; return 0; } | 13400 ; return 0; } |
14752 EOF | 13401 EOF |
14753 if { (eval echo configure:14754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13402 if { (eval echo configure:13403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14754 rm -rf conftest* | 13403 rm -rf conftest* |
14755 eval "ac_cv_lib_$ac_lib_var=yes" | 13404 eval "ac_cv_lib_$ac_lib_var=yes" |
14756 else | 13405 else |
14757 echo "configure: failed program was:" >&5 | 13406 echo "configure: failed program was:" >&5 |
14758 cat conftest.$ac_ext >&5 | 13407 cat conftest.$ac_ext >&5 |
14791 done | 13440 done |
14792 fi | 13441 fi |
14793 | 13442 |
14794 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13443 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14795 != "no no no" && echo "checking for database support" 1>&6 | 13444 != "no no no" && echo "checking for database support" 1>&6 |
14796 echo "configure:14797: checking for database support" >&5 | 13445 echo "configure:13446: checking for database support" >&5 |
14797 | 13446 |
14798 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13447 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14799 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13448 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14800 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13449 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14801 echo "configure:14802: checking for ndbm.h" >&5 | 13450 echo "configure:13451: checking for ndbm.h" >&5 |
14802 | 13451 |
14803 cat > conftest.$ac_ext <<EOF | 13452 cat > conftest.$ac_ext <<EOF |
14804 #line 14805 "configure" | 13453 #line 13454 "configure" |
14805 #include "confdefs.h" | 13454 #include "confdefs.h" |
14806 #include <ndbm.h> | 13455 #include <ndbm.h> |
14807 EOF | 13456 EOF |
14808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14809 { (eval echo configure:14810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13458 { (eval echo configure:13459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14811 if test -z "$ac_err"; then | 13460 if test -z "$ac_err"; then |
14812 rm -rf conftest* | 13461 rm -rf conftest* |
14813 eval "ac_cv_header_$ac_safe=yes" | 13462 eval "ac_cv_header_$ac_safe=yes" |
14814 else | 13463 else |
14834 fi | 13483 fi |
14835 | 13484 |
14836 if test "$with_database_gdbm" != "no"; then | 13485 if test "$with_database_gdbm" != "no"; then |
14837 | 13486 |
14838 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13487 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14839 echo "configure:14840: checking for dbm_open in -lgdbm" >&5 | 13488 echo "configure:13489: checking for dbm_open in -lgdbm" >&5 |
14840 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13489 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14841 | 13490 |
14842 xe_check_libs=" -lgdbm " | 13491 xe_check_libs=" -lgdbm " |
14843 cat > conftest.$ac_ext <<EOF | 13492 cat > conftest.$ac_ext <<EOF |
14844 #line 14845 "configure" | 13493 #line 13494 "configure" |
14845 #include "confdefs.h" | 13494 #include "confdefs.h" |
14846 /* Override any gcc2 internal prototype to avoid an error. */ | 13495 /* Override any gcc2 internal prototype to avoid an error. */ |
14847 /* We use char because int might match the return type of a gcc2 | 13496 /* We use char because int might match the return type of a gcc2 |
14848 builtin and then its argument prototype would still apply. */ | 13497 builtin and then its argument prototype would still apply. */ |
14849 char dbm_open(); | 13498 char dbm_open(); |
14850 | 13499 |
14851 int main() { | 13500 int main() { |
14852 dbm_open() | 13501 dbm_open() |
14853 ; return 0; } | 13502 ; return 0; } |
14854 EOF | 13503 EOF |
14855 if { (eval echo configure:14856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13504 if { (eval echo configure:13505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14856 rm -rf conftest* | 13505 rm -rf conftest* |
14857 eval "ac_cv_lib_$ac_lib_var=yes" | 13506 eval "ac_cv_lib_$ac_lib_var=yes" |
14858 else | 13507 else |
14859 echo "configure: failed program was:" >&5 | 13508 echo "configure: failed program was:" >&5 |
14860 cat conftest.$ac_ext >&5 | 13509 cat conftest.$ac_ext >&5 |
14878 | 13527 |
14879 fi | 13528 fi |
14880 | 13529 |
14881 if test "$with_database_dbm" != "no"; then | 13530 if test "$with_database_dbm" != "no"; then |
14882 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13531 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14883 echo "configure:14884: checking for dbm_open" >&5 | 13532 echo "configure:13533: checking for dbm_open" >&5 |
14884 | 13533 |
14885 cat > conftest.$ac_ext <<EOF | 13534 cat > conftest.$ac_ext <<EOF |
14886 #line 14887 "configure" | 13535 #line 13536 "configure" |
14887 #include "confdefs.h" | 13536 #include "confdefs.h" |
14888 /* System header to define __stub macros and hopefully few prototypes, | 13537 /* System header to define __stub macros and hopefully few prototypes, |
14889 which can conflict with char dbm_open(); below. */ | 13538 which can conflict with char dbm_open(); below. */ |
14890 #include <assert.h> | 13539 #include <assert.h> |
14891 /* Override any gcc2 internal prototype to avoid an error. */ | 13540 /* Override any gcc2 internal prototype to avoid an error. */ |
14904 dbm_open(); | 13553 dbm_open(); |
14905 #endif | 13554 #endif |
14906 | 13555 |
14907 ; return 0; } | 13556 ; return 0; } |
14908 EOF | 13557 EOF |
14909 if { (eval echo configure:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13558 if { (eval echo configure:13559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14910 rm -rf conftest* | 13559 rm -rf conftest* |
14911 eval "ac_cv_func_dbm_open=yes" | 13560 eval "ac_cv_func_dbm_open=yes" |
14912 else | 13561 else |
14913 echo "configure: failed program was:" >&5 | 13562 echo "configure: failed program was:" >&5 |
14914 cat conftest.$ac_ext >&5 | 13563 cat conftest.$ac_ext >&5 |
14923 else | 13572 else |
14924 echo "$ac_t""no" 1>&6 | 13573 echo "$ac_t""no" 1>&6 |
14925 | 13574 |
14926 | 13575 |
14927 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13576 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14928 echo "configure:14929: checking for dbm_open in -ldbm" >&5 | 13577 echo "configure:13578: checking for dbm_open in -ldbm" >&5 |
14929 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13578 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14930 | 13579 |
14931 xe_check_libs=" -ldbm " | 13580 xe_check_libs=" -ldbm " |
14932 cat > conftest.$ac_ext <<EOF | 13581 cat > conftest.$ac_ext <<EOF |
14933 #line 14934 "configure" | 13582 #line 13583 "configure" |
14934 #include "confdefs.h" | 13583 #include "confdefs.h" |
14935 /* Override any gcc2 internal prototype to avoid an error. */ | 13584 /* Override any gcc2 internal prototype to avoid an error. */ |
14936 /* We use char because int might match the return type of a gcc2 | 13585 /* We use char because int might match the return type of a gcc2 |
14937 builtin and then its argument prototype would still apply. */ | 13586 builtin and then its argument prototype would still apply. */ |
14938 char dbm_open(); | 13587 char dbm_open(); |
14939 | 13588 |
14940 int main() { | 13589 int main() { |
14941 dbm_open() | 13590 dbm_open() |
14942 ; return 0; } | 13591 ; return 0; } |
14943 EOF | 13592 EOF |
14944 if { (eval echo configure:14945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13593 if { (eval echo configure:13594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14945 rm -rf conftest* | 13594 rm -rf conftest* |
14946 eval "ac_cv_lib_$ac_lib_var=yes" | 13595 eval "ac_cv_lib_$ac_lib_var=yes" |
14947 else | 13596 else |
14948 echo "configure: failed program was:" >&5 | 13597 echo "configure: failed program was:" >&5 |
14949 cat conftest.$ac_ext >&5 | 13598 cat conftest.$ac_ext >&5 |
14980 } | 13629 } |
14981 | 13630 |
14982 | 13631 |
14983 if test "$with_database_berkdb" != "no"; then | 13632 if test "$with_database_berkdb" != "no"; then |
14984 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13633 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14985 echo "configure:14986: checking for Berkeley db.h" >&5 | 13634 echo "configure:13635: checking for Berkeley db.h" >&5 |
14986 for header in "db/db.h" "db.h"; do | 13635 for header in "db/db.h" "db.h"; do |
14987 cat > conftest.$ac_ext <<EOF | 13636 cat > conftest.$ac_ext <<EOF |
14988 #line 14989 "configure" | 13637 #line 13638 "configure" |
14989 #include "confdefs.h" | 13638 #include "confdefs.h" |
14990 | 13639 |
14991 #include <stdlib.h> | 13640 #include <stdlib.h> |
14992 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13641 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14993 #ifdef HAVE_INTTYPES_H | 13642 #ifdef HAVE_INTTYPES_H |
15005 | 13654 |
15006 int main() { | 13655 int main() { |
15007 | 13656 |
15008 ; return 0; } | 13657 ; return 0; } |
15009 EOF | 13658 EOF |
15010 if { (eval echo configure:15011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13659 if { (eval echo configure:13660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15011 rm -rf conftest* | 13660 rm -rf conftest* |
15012 db_h_file="$header"; break | 13661 db_h_file="$header"; break |
15013 else | 13662 else |
15014 echo "configure: failed program was:" >&5 | 13663 echo "configure: failed program was:" >&5 |
15015 cat conftest.$ac_ext >&5 | 13664 cat conftest.$ac_ext >&5 |
15021 else echo "$ac_t""$db_h_file" 1>&6 | 13670 else echo "$ac_t""$db_h_file" 1>&6 |
15022 fi | 13671 fi |
15023 | 13672 |
15024 if test "$with_database_berkdb" != "no"; then | 13673 if test "$with_database_berkdb" != "no"; then |
15025 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13674 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15026 echo "configure:15027: checking for Berkeley DB version" >&5 | 13675 echo "configure:13676: checking for Berkeley DB version" >&5 |
15027 cat > conftest.$ac_ext <<EOF | 13676 cat > conftest.$ac_ext <<EOF |
15028 #line 15029 "configure" | 13677 #line 13678 "configure" |
15029 #include "confdefs.h" | 13678 #include "confdefs.h" |
15030 #include <$db_h_file> | 13679 #include <$db_h_file> |
15031 #if DB_VERSION_MAJOR > 1 | 13680 #if DB_VERSION_MAJOR > 1 |
15032 yes | 13681 yes |
15033 #endif | 13682 #endif |
15035 EOF | 13684 EOF |
15036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15037 egrep "yes" >/dev/null 2>&1; then | 13686 egrep "yes" >/dev/null 2>&1; then |
15038 rm -rf conftest* | 13687 rm -rf conftest* |
15039 cat > conftest.$ac_ext <<EOF | 13688 cat > conftest.$ac_ext <<EOF |
15040 #line 15041 "configure" | 13689 #line 13690 "configure" |
15041 #include "confdefs.h" | 13690 #include "confdefs.h" |
15042 #include <$db_h_file> | 13691 #include <$db_h_file> |
15043 #if DB_VERSION_MAJOR > 2 | 13692 #if DB_VERSION_MAJOR > 2 |
15044 yes | 13693 yes |
15045 #endif | 13694 #endif |
15047 EOF | 13696 EOF |
15048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15049 egrep "yes" >/dev/null 2>&1; then | 13698 egrep "yes" >/dev/null 2>&1; then |
15050 rm -rf conftest* | 13699 rm -rf conftest* |
15051 cat > conftest.$ac_ext <<EOF | 13700 cat > conftest.$ac_ext <<EOF |
15052 #line 15053 "configure" | 13701 #line 13702 "configure" |
15053 #include "confdefs.h" | 13702 #include "confdefs.h" |
15054 #include <$db_h_file> | 13703 #include <$db_h_file> |
15055 #if DB_VERSION_MAJOR > 3 | 13704 #if DB_VERSION_MAJOR > 3 |
15056 yes | 13705 yes |
15057 #endif | 13706 #endif |
15081 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 13730 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15082 fi | 13731 fi |
15083 rm -f conftest* | 13732 rm -f conftest* |
15084 | 13733 |
15085 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13734 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15086 echo "configure:15087: checking for $dbfunc" >&5 | 13735 echo "configure:13736: checking for $dbfunc" >&5 |
15087 | 13736 |
15088 cat > conftest.$ac_ext <<EOF | 13737 cat > conftest.$ac_ext <<EOF |
15089 #line 15090 "configure" | 13738 #line 13739 "configure" |
15090 #include "confdefs.h" | 13739 #include "confdefs.h" |
15091 /* System header to define __stub macros and hopefully few prototypes, | 13740 /* System header to define __stub macros and hopefully few prototypes, |
15092 which can conflict with char $dbfunc(); below. */ | 13741 which can conflict with char $dbfunc(); below. */ |
15093 #include <assert.h> | 13742 #include <assert.h> |
15094 /* Override any gcc2 internal prototype to avoid an error. */ | 13743 /* Override any gcc2 internal prototype to avoid an error. */ |
15107 $dbfunc(); | 13756 $dbfunc(); |
15108 #endif | 13757 #endif |
15109 | 13758 |
15110 ; return 0; } | 13759 ; return 0; } |
15111 EOF | 13760 EOF |
15112 if { (eval echo configure:15113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13761 if { (eval echo configure:13762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15113 rm -rf conftest* | 13762 rm -rf conftest* |
15114 eval "ac_cv_func_$dbfunc=yes" | 13763 eval "ac_cv_func_$dbfunc=yes" |
15115 else | 13764 else |
15116 echo "configure: failed program was:" >&5 | 13765 echo "configure: failed program was:" >&5 |
15117 cat conftest.$ac_ext >&5 | 13766 cat conftest.$ac_ext >&5 |
15126 else | 13775 else |
15127 echo "$ac_t""no" 1>&6 | 13776 echo "$ac_t""no" 1>&6 |
15128 | 13777 |
15129 | 13778 |
15130 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13779 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15131 echo "configure:15132: checking for $dbfunc in -ldb" >&5 | 13780 echo "configure:13781: checking for $dbfunc in -ldb" >&5 |
15132 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13781 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15133 | 13782 |
15134 xe_check_libs=" -ldb " | 13783 xe_check_libs=" -ldb " |
15135 cat > conftest.$ac_ext <<EOF | 13784 cat > conftest.$ac_ext <<EOF |
15136 #line 15137 "configure" | 13785 #line 13786 "configure" |
15137 #include "confdefs.h" | 13786 #include "confdefs.h" |
15138 /* Override any gcc2 internal prototype to avoid an error. */ | 13787 /* Override any gcc2 internal prototype to avoid an error. */ |
15139 /* We use char because int might match the return type of a gcc2 | 13788 /* We use char because int might match the return type of a gcc2 |
15140 builtin and then its argument prototype would still apply. */ | 13789 builtin and then its argument prototype would still apply. */ |
15141 char $dbfunc(); | 13790 char $dbfunc(); |
15142 | 13791 |
15143 int main() { | 13792 int main() { |
15144 $dbfunc() | 13793 $dbfunc() |
15145 ; return 0; } | 13794 ; return 0; } |
15146 EOF | 13795 EOF |
15147 if { (eval echo configure:15148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15148 rm -rf conftest* | 13797 rm -rf conftest* |
15149 eval "ac_cv_lib_$ac_lib_var=yes" | 13798 eval "ac_cv_lib_$ac_lib_var=yes" |
15150 else | 13799 else |
15151 echo "configure: failed program was:" >&5 | 13800 echo "configure: failed program was:" >&5 |
15152 cat conftest.$ac_ext >&5 | 13801 cat conftest.$ac_ext >&5 |
15176 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 13825 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15177 rm -f $tempcname | 13826 rm -f $tempcname |
15178 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 13827 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15179 | 13828 |
15180 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13829 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15181 echo "configure:15182: checking for $dbfunc in -ldb" >&5 | 13830 echo "configure:13831: checking for $dbfunc in -ldb" >&5 |
15182 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13831 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15183 | 13832 |
15184 xe_check_libs=" -ldb " | 13833 xe_check_libs=" -ldb " |
15185 cat > conftest.$ac_ext <<EOF | 13834 cat > conftest.$ac_ext <<EOF |
15186 #line 15187 "configure" | 13835 #line 13836 "configure" |
15187 #include "confdefs.h" | 13836 #include "confdefs.h" |
15188 /* Override any gcc2 internal prototype to avoid an error. */ | 13837 /* Override any gcc2 internal prototype to avoid an error. */ |
15189 /* We use char because int might match the return type of a gcc2 | 13838 /* We use char because int might match the return type of a gcc2 |
15190 builtin and then its argument prototype would still apply. */ | 13839 builtin and then its argument prototype would still apply. */ |
15191 char $dbfunc(); | 13840 char $dbfunc(); |
15192 | 13841 |
15193 int main() { | 13842 int main() { |
15194 $dbfunc() | 13843 $dbfunc() |
15195 ; return 0; } | 13844 ; return 0; } |
15196 EOF | 13845 EOF |
15197 if { (eval echo configure:15198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13846 if { (eval echo configure:13847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15198 rm -rf conftest* | 13847 rm -rf conftest* |
15199 eval "ac_cv_lib_$ac_lib_var=yes" | 13848 eval "ac_cv_lib_$ac_lib_var=yes" |
15200 else | 13849 else |
15201 echo "configure: failed program was:" >&5 | 13850 echo "configure: failed program was:" >&5 |
15202 cat conftest.$ac_ext >&5 | 13851 cat conftest.$ac_ext >&5 |
15251 fi | 13900 fi |
15252 | 13901 |
15253 if test "$with_socks" = "yes"; then | 13902 if test "$with_socks" = "yes"; then |
15254 | 13903 |
15255 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 13904 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15256 echo "configure:15257: checking for SOCKSinit in -lsocks" >&5 | 13905 echo "configure:13906: checking for SOCKSinit in -lsocks" >&5 |
15257 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 13906 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15258 | 13907 |
15259 xe_check_libs=" -lsocks " | 13908 xe_check_libs=" -lsocks " |
15260 cat > conftest.$ac_ext <<EOF | 13909 cat > conftest.$ac_ext <<EOF |
15261 #line 15262 "configure" | 13910 #line 13911 "configure" |
15262 #include "confdefs.h" | 13911 #include "confdefs.h" |
15263 /* Override any gcc2 internal prototype to avoid an error. */ | 13912 /* Override any gcc2 internal prototype to avoid an error. */ |
15264 /* We use char because int might match the return type of a gcc2 | 13913 /* We use char because int might match the return type of a gcc2 |
15265 builtin and then its argument prototype would still apply. */ | 13914 builtin and then its argument prototype would still apply. */ |
15266 char SOCKSinit(); | 13915 char SOCKSinit(); |
15267 | 13916 |
15268 int main() { | 13917 int main() { |
15269 SOCKSinit() | 13918 SOCKSinit() |
15270 ; return 0; } | 13919 ; return 0; } |
15271 EOF | 13920 EOF |
15272 if { (eval echo configure:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13921 if { (eval echo configure:13922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15273 rm -rf conftest* | 13922 rm -rf conftest* |
15274 eval "ac_cv_lib_$ac_lib_var=yes" | 13923 eval "ac_cv_lib_$ac_lib_var=yes" |
15275 else | 13924 else |
15276 echo "configure: failed program was:" >&5 | 13925 echo "configure: failed program was:" >&5 |
15277 cat conftest.$ac_ext >&5 | 13926 cat conftest.$ac_ext >&5 |
15321 | 13970 |
15322 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 13971 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15323 fi | 13972 fi |
15324 | 13973 |
15325 cat > conftest.$ac_ext <<EOF | 13974 cat > conftest.$ac_ext <<EOF |
15326 #line 15327 "configure" | 13975 #line 13976 "configure" |
15327 #include "confdefs.h" | 13976 #include "confdefs.h" |
15328 int main(int c,char *v[]){return 0;} | 13977 int main(int c,char *v[]){return 0;} |
15329 EOF | 13978 EOF |
15330 if { (eval echo configure:15331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13979 if { (eval echo configure:13980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15331 then | 13980 then |
15332 : | 13981 : |
15333 else | 13982 else |
15334 conftest_rc="$?" | 13983 conftest_rc="$?" |
15335 echo "configure: failed program was:" >&5 | 13984 echo "configure: failed program was:" >&5 |
15431 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 14080 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
15432 ld_libs_all="$T" | 14081 ld_libs_all="$T" |
15433 | 14082 |
15434 | 14083 |
15435 | 14084 |
14085 | |
15436 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 14086 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
14087 | |
14088 if test "$with_modules" != "no"; then | |
14089 echo "checking for module support" 1>&6 | |
14090 echo "configure:14091: checking for module support" >&5 | |
14091 | |
14092 if test "$with_msw" = "yes"; then | |
14093 have_dl=yes; | |
14094 else | |
14095 case "$opsys" in | |
14096 darwin ) have_dl=yes; { test "$extra_verbose" = "yes" && cat << \EOF | |
14097 Defining HAVE_DYLD | |
14098 EOF | |
14099 cat >> confdefs.h <<\EOF | |
14100 #define HAVE_DYLD 1 | |
14101 EOF | |
14102 } | |
14103 ;; | |
14104 * ) | |
14105 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
14106 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | |
14107 echo "configure:14108: checking for dlfcn.h" >&5 | |
14108 | |
14109 cat > conftest.$ac_ext <<EOF | |
14110 #line 14111 "configure" | |
14111 #include "confdefs.h" | |
14112 #include <dlfcn.h> | |
14113 EOF | |
14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
14117 if test -z "$ac_err"; then | |
14118 rm -rf conftest* | |
14119 eval "ac_cv_header_$ac_safe=yes" | |
14120 else | |
14121 echo "$ac_err" >&5 | |
14122 echo "configure: failed program was:" >&5 | |
14123 cat conftest.$ac_ext >&5 | |
14124 rm -rf conftest* | |
14125 eval "ac_cv_header_$ac_safe=no" | |
14126 fi | |
14127 rm -f conftest* | |
14128 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
14129 echo "$ac_t""yes" 1>&6 | |
14130 | |
14131 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | |
14132 echo "configure:14133: checking for dlopen in -lc" >&5 | |
14133 cat > conftest.$ac_ext <<EOF | |
14134 #line 14135 "configure" | |
14135 #include "confdefs.h" | |
14136 #include <dlfcn.h> | |
14137 int main() { | |
14138 dlopen ("", 0); | |
14139 ; return 0; } | |
14140 EOF | |
14141 if { (eval echo configure:14142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14142 rm -rf conftest* | |
14143 have_dl=yes | |
14144 else | |
14145 echo "configure: failed program was:" >&5 | |
14146 cat conftest.$ac_ext >&5 | |
14147 rm -rf conftest* | |
14148 | |
14149 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
14150 echo "configure:14151: checking for dlopen in -ldl" >&5 | |
14151 ac_save_LIBS="$LIBS" | |
14152 LIBS="-ldl $LIBS" | |
14153 cat > conftest.$ac_ext <<EOF | |
14154 #line 14155 "configure" | |
14155 #include "confdefs.h" | |
14156 #include <dlfcn.h> | |
14157 int main() { | |
14158 dlopen ("", 0); | |
14159 ; return 0; } | |
14160 EOF | |
14161 if { (eval echo configure:14162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14162 rm -rf conftest* | |
14163 have_dl=yes | |
14164 else | |
14165 echo "configure: failed program was:" >&5 | |
14166 cat conftest.$ac_ext >&5 | |
14167 rm -rf conftest* | |
14168 LIBS="$ac_save_LIBS" | |
14169 fi | |
14170 rm -f conftest* | |
14171 ac_save_LIBS= | |
14172 fi | |
14173 rm -f conftest* | |
14174 else | |
14175 echo "$ac_t""no" 1>&6 | |
14176 fi | |
14177 | |
14178 if test -n "$have_dl"; then | |
14179 { test "$extra_verbose" = "yes" && cat << \EOF | |
14180 Defining HAVE_DLOPEN | |
14181 EOF | |
14182 cat >> confdefs.h <<\EOF | |
14183 #define HAVE_DLOPEN 1 | |
14184 EOF | |
14185 } | |
14186 | |
14187 else | |
14188 | |
14189 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
14190 echo "configure:14191: checking for shl_load in -ldld" >&5 | |
14191 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
14192 | |
14193 xe_check_libs=" -ldld " | |
14194 cat > conftest.$ac_ext <<EOF | |
14195 #line 14196 "configure" | |
14196 #include "confdefs.h" | |
14197 /* Override any gcc2 internal prototype to avoid an error. */ | |
14198 /* We use char because int might match the return type of a gcc2 | |
14199 builtin and then its argument prototype would still apply. */ | |
14200 char shl_load(); | |
14201 | |
14202 int main() { | |
14203 shl_load() | |
14204 ; return 0; } | |
14205 EOF | |
14206 if { (eval echo configure:14207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14207 rm -rf conftest* | |
14208 eval "ac_cv_lib_$ac_lib_var=yes" | |
14209 else | |
14210 echo "configure: failed program was:" >&5 | |
14211 cat conftest.$ac_ext >&5 | |
14212 rm -rf conftest* | |
14213 eval "ac_cv_lib_$ac_lib_var=no" | |
14214 fi | |
14215 rm -f conftest* | |
14216 xe_check_libs="" | |
14217 | |
14218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
14219 echo "$ac_t""yes" 1>&6 | |
14220 libdl=dld have_dl=yes; | |
14221 { test "$extra_verbose" = "yes" && cat << \EOF | |
14222 Defining HAVE_SHL_LOAD | |
14223 EOF | |
14224 cat >> confdefs.h <<\EOF | |
14225 #define HAVE_SHL_LOAD 1 | |
14226 EOF | |
14227 } | |
14228 | |
14229 else | |
14230 echo "$ac_t""no" 1>&6 | |
14231 | |
14232 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | |
14233 echo "configure:14234: checking for dld_init in -ldld" >&5 | |
14234 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | |
14235 | |
14236 xe_check_libs=" -ldld " | |
14237 cat > conftest.$ac_ext <<EOF | |
14238 #line 14239 "configure" | |
14239 #include "confdefs.h" | |
14240 /* Override any gcc2 internal prototype to avoid an error. */ | |
14241 /* We use char because int might match the return type of a gcc2 | |
14242 builtin and then its argument prototype would still apply. */ | |
14243 char dld_init(); | |
14244 | |
14245 int main() { | |
14246 dld_init() | |
14247 ; return 0; } | |
14248 EOF | |
14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14250 rm -rf conftest* | |
14251 eval "ac_cv_lib_$ac_lib_var=yes" | |
14252 else | |
14253 echo "configure: failed program was:" >&5 | |
14254 cat conftest.$ac_ext >&5 | |
14255 rm -rf conftest* | |
14256 eval "ac_cv_lib_$ac_lib_var=no" | |
14257 fi | |
14258 rm -f conftest* | |
14259 xe_check_libs="" | |
14260 | |
14261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
14262 echo "$ac_t""yes" 1>&6 | |
14263 libdl=dld have_dl=yes; | |
14264 { test "$extra_verbose" = "yes" && cat << \EOF | |
14265 Defining HAVE_DLD_INIT | |
14266 EOF | |
14267 cat >> confdefs.h <<\EOF | |
14268 #define HAVE_DLD_INIT 1 | |
14269 EOF | |
14270 } | |
14271 | |
14272 else | |
14273 echo "$ac_t""no" 1>&6 | |
14274 fi | |
14275 | |
14276 | |
14277 fi | |
14278 | |
14279 | |
14280 fi | |
14281 esac fi | |
14282 if test -n "$have_dl"; then | |
14283 | |
14284 dll_ld= | |
14285 dll_ldflags= | |
14286 dll_cflags= | |
14287 dll_post= | |
14288 dll_ldo="-o" | |
14289 ld_dynamic_link_flags= | |
14290 xehost=$canonical | |
14291 xealias=$internal_configuration | |
14292 | |
14293 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | |
14294 echo "configure:14295: checking how to build dynamic libraries for ${xehost}" >&5 | |
14295 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | |
14296 case "$xehost" in | |
14297 *-*-linux-gnu*) ;; | |
14298 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | |
14299 esac | |
14300 | |
14301 xehost_cpu=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
14302 xehost_vendor=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
14303 xehost_os=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
14304 | |
14305 case "$xehost_os" in | |
14306 aix3*) | |
14307 # AIX sometimes has problems with the GCC collect2 program. For some | |
14308 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
14309 # vanish in a puff of smoke. | |
14310 if test "${COLLECT_NAMES+set}" != set; then | |
14311 COLLECT_NAMES= | |
14312 export COLLECT_NAMES | |
14313 fi | |
14314 ;; | |
14315 esac | |
14316 | |
14317 # Now see if the compiler is really GCC. | |
14318 if test "$GCC" = "yes"; then | |
14319 XEGCC=yes | |
14320 else | |
14321 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | |
14322 echo "configure:14323: checking checking whether we are using GNU C" >&5 | |
14323 cat > conftest.$ac_ext <<EOF | |
14324 #line 14325 "configure" | |
14325 #include "confdefs.h" | |
14326 | |
14327 #ifdef __GNUC__ | |
14328 yes; | |
14329 #endif | |
14330 | |
14331 EOF | |
14332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
14333 egrep "yes" >/dev/null 2>&1; then | |
14334 rm -rf conftest* | |
14335 XEGCC=yes | |
14336 else | |
14337 rm -rf conftest* | |
14338 XEGCC=no | |
14339 fi | |
14340 rm -f conftest* | |
14341 | |
14342 echo "$ac_t""${XEGCC}" 1>&6 | |
14343 fi | |
14344 | |
14345 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | |
14346 echo "configure:14347: checking how to produce PIC code" >&5 | |
14347 wl= | |
14348 | |
14349 can_build_shared=yes | |
14350 cygwin_warn= | |
14351 if test "$XEGCC" = yes; then | |
14352 wl='-Wl,' | |
14353 | |
14354 case "$xehost_os" in | |
14355 aix[3-9]* | irix[5-9]* | osf[3-9]) | |
14356 # PIC is the default for these OSes. | |
14357 ;; | |
14358 | |
14359 *darwin*) dll_cflags='-dynamic' | |
14360 ;; | |
14361 | |
14362 os2*) | |
14363 # We can build DLLs from non-PIC. | |
14364 ;; | |
14365 amigaos*) | |
14366 # FIXME: we need at least 68020 code to build shared libraries, but | |
14367 # adding the `-m68020' flag to GCC prevents building anything better, | |
14368 # like `-m68040'. | |
14369 dll_cflags='-m68020 -resident32 -malways-restore-a4' | |
14370 ;; | |
14371 *cygwin* | *mingw* ) | |
14372 # PIC is the default | |
14373 cygwin_warn=yes | |
14374 # #### Need some trickery involving import libraries that we don't | |
14375 # currently support. | |
14376 can_build_shared=no | |
14377 ;; | |
14378 *) | |
14379 dll_cflags='-fPIC' | |
14380 ;; | |
14381 esac | |
14382 else | |
14383 # PORTME Check for PIC flags for the system compiler. | |
14384 case "$xehost_os" in | |
14385 hpux9* | hpux1[0-9]*) | |
14386 # Is there a better link_static_flag that works with the bundled CC? | |
14387 wl='-Wl,' | |
14388 dll_cflags='+Z' | |
14389 ;; | |
14390 | |
14391 irix[5-9]*) | |
14392 wl='-Wl,' | |
14393 # PIC (with -KPIC) is the default. | |
14394 ;; | |
14395 | |
14396 os2*) | |
14397 # We can build DLLs from non-PIC. | |
14398 ;; | |
14399 | |
14400 osf[3-9]*) | |
14401 # All OSF/1 code is PIC. | |
14402 wl='-Wl,' | |
14403 ;; | |
14404 | |
14405 aix[3-9]*) | |
14406 # All AIX code is PIC. | |
14407 wl='-Wl,' | |
14408 ;; | |
14409 | |
14410 sco3.2v5*) | |
14411 dll_cflags='-belf -Kpic' | |
14412 wl='-Wl,' | |
14413 ;; | |
14414 | |
14415 unixware*) | |
14416 dll_cflags="-KPIC" | |
14417 wl="-Wl," | |
14418 ;; | |
14419 | |
14420 sysv4*) | |
14421 dll_cflags="-KPIC" | |
14422 wl="-Wl," | |
14423 ;; | |
14424 | |
14425 sysv5*) | |
14426 dll_cflags="-KPIC" | |
14427 wl="-Wl," | |
14428 ;; | |
14429 | |
14430 solaris2*) | |
14431 dll_cflags='-KPIC' | |
14432 wl='-Wl,' | |
14433 ;; | |
14434 | |
14435 sunos4*) | |
14436 dll_cflags='-PIC' | |
14437 wl='-Qoption ld ' | |
14438 ;; | |
14439 | |
14440 uts4*) | |
14441 dll_cflags='-pic' | |
14442 ;; | |
14443 | |
14444 *) | |
14445 can_build_shared=no | |
14446 ;; | |
14447 esac | |
14448 fi | |
14449 | |
14450 if test -n "$dll_cflags"; then | |
14451 echo "$ac_t""${dll_cflags}" 1>&6 | |
14452 | |
14453 # Check to make sure the dll_cflags actually works. | |
14454 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | |
14455 echo "configure:14456: checking if PIC flag ${dll_cflags} really works" >&5 | |
14456 save_CFLAGS="$CFLAGS" | |
14457 CFLAGS="$CFLAGS $dll_cflags -DPIC" | |
14458 cat > conftest.$ac_ext <<EOF | |
14459 #line 14460 "configure" | |
14460 #include "confdefs.h" | |
14461 | |
14462 int main() { | |
14463 int x=0; | |
14464 ; return 0; } | |
14465 EOF | |
14466 if { (eval echo configure:14467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
14467 rm -rf conftest* | |
14468 | |
14469 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | |
14470 # reports no error. So, we need to grep stderr for (Bundled). | |
14471 if grep '(Bundled)' config.log >/dev/null; then | |
14472 echo "$ac_t""no" 1>&6 | |
14473 can_build_shared=no | |
14474 dll_cflags= | |
14475 else | |
14476 echo "$ac_t""yes" 1>&6 | |
14477 fi | |
14478 else | |
14479 echo "configure: failed program was:" >&5 | |
14480 cat conftest.$ac_ext >&5 | |
14481 rm -rf conftest* | |
14482 echo "$ac_t""no" 1>&6 | |
14483 can_build_shared=no | |
14484 dll_cflags= | |
14485 fi | |
14486 rm -f conftest* | |
14487 CFLAGS="$save_CFLAGS" | |
14488 else | |
14489 echo "$ac_t""none" 1>&6 | |
14490 fi | |
14491 | |
14492 if test -n "$cygwin_warn"; then | |
14493 echo "configure: warning: Cannot currently build modules under Cygwin." 1>&2 | |
14494 fi | |
14495 | |
14496 if test "$can_build_shared" = "yes"; then | |
14497 cc_produces_so=no | |
14498 xldf= | |
14499 xcldf= | |
14500 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | |
14501 echo "configure:14502: checking if C compiler can produce shared libraries" >&5 | |
14502 if test "$XEGCC" = yes; then | |
14503 case "$xehost_os" in | |
14504 *darwin*) | |
14505 xcldf='-bundle' | |
14506 xldf='-bundle -bundle_loader ../../src/xemacs' | |
14507 ;; | |
14508 * ) | |
14509 xcldf="-shared" | |
14510 xldf="-shared" | |
14511 ;; | |
14512 esac | |
14513 else # Not using GCC | |
14514 case "$xehost_os" in | |
14515 aix[3-9]*) | |
14516 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | |
14517 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | |
14518 ;; | |
14519 | |
14520 freebsd2* | netbsd* | openbsd*) | |
14521 xldf="-Bshareable" | |
14522 xcldf="${wl}-Bshareable" | |
14523 ;; | |
14524 | |
14525 freebsd3*) | |
14526 xcldf="-shared" | |
14527 ;; | |
14528 | |
14529 hpux*) | |
14530 xldf="-b +s" | |
14531 xcldf="${wl}-b ${wl}+s" | |
14532 ;; | |
14533 | |
14534 irix[5-9]* | osf[3-9]*) | |
14535 xcldf="${wl}-shared" | |
14536 xldf="-shared" | |
14537 ;; | |
14538 | |
14539 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) | |
14540 xcldf="-G" | |
14541 xldf="-G" | |
14542 ;; | |
14543 | |
14544 sunos4*) | |
14545 xcldf="${wl}-assert ${wl}pure-text ${wl}-Bstatic" | |
14546 xldf="-assert pure-text -Bstatic" | |
14547 ;; | |
14548 esac | |
14549 fi # End if if we are using gcc | |
14550 | |
14551 if test -n "$xcldf"; then | |
14552 save_LDFLAGS=$LDFLAGS | |
14553 save_LIBS=$LIBS | |
14554 save_xe_libs=$xe_libs | |
14555 LDFLAGS="$xcldf $LDFLAGS" | |
14556 LIBS= | |
14557 xe_libs= | |
14558 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
14559 cat > conftest.$ac_ext <<EOF | |
14560 #line 14561 "configure" | |
14561 #include "confdefs.h" | |
14562 | |
14563 int main() { | |
14564 int x=0; | |
14565 ; return 0; } | |
14566 EOF | |
14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14568 rm -rf conftest* | |
14569 cc_produces_so=yes | |
14570 else | |
14571 echo "configure: failed program was:" >&5 | |
14572 cat conftest.$ac_ext >&5 | |
14573 rm -rf conftest* | |
14574 cc_produces_so=no | |
14575 fi | |
14576 rm -f conftest* | |
14577 LDFLAGS=$save_LDFLAGS | |
14578 LIBS=$save_LIBS | |
14579 xe_libs=$save_xe_libs | |
14580 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
14581 else | |
14582 cc_produces_so=no | |
14583 fi | |
14584 echo "$ac_t""${cc_produces_so}" 1>&6 | |
14585 | |
14586 LTLD=$LD | |
14587 if test -z "$LTLD"; then | |
14588 ac_prog=ld | |
14589 if test "$XEGCC" = yes; then | |
14590 # Check if gcc -print-prog-name=ld gives a path. | |
14591 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | |
14592 echo "configure:14593: checking for ld used by GCC" >&5 | |
14593 ac_prog=`($CC -print-prog-name=ld) 2>&5` | |
14594 case "$ac_prog" in | |
14595 # Accept absolute paths. | |
14596 /*) | |
14597 if test -z "$LTLD"; then | |
14598 # case "$ac_prog" in | |
14599 # *gcc-lib*) LTLD="$CC" | |
14600 # ;; | |
14601 # *) | |
14602 LTLD="$ac_prog" | |
14603 # ;; | |
14604 # esac | |
14605 fi | |
14606 ;; | |
14607 "") | |
14608 # If it fails, then pretend we aren't using GCC. | |
14609 ac_prog=ld | |
14610 ;; | |
14611 *) | |
14612 # If it is relative, then search for the first ld in PATH. | |
14613 with_gnu_ld=unknown | |
14614 ;; | |
14615 esac | |
14616 else | |
14617 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | |
14618 echo "configure:14619: checking for GNU ld" >&5 | |
14619 fi | |
14620 | |
14621 if test -z "$LTLD"; then | |
14622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
14623 for ac_dir in $PATH; do | |
14624 test -z "$ac_dir" && ac_dir=. | |
14625 if test -f "$ac_dir/$ac_prog"; then | |
14626 LTLD="$ac_dir/$ac_prog" | |
14627 # Check to see if the program is GNU ld. I'd rather use --version, | |
14628 # but apparently some GNU ld's only accept -v. | |
14629 # Break only if it was the GNU/non-GNU ld that we prefer. | |
14630 if "$LTLD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
14631 xe_gnu_ld=yes | |
14632 else | |
14633 xe_gnu_ld=no | |
14634 fi | |
14635 fi | |
14636 done | |
14637 IFS="$ac_save_ifs" | |
14638 fi | |
14639 | |
14640 if test -n "$LTLD"; then | |
14641 echo "$ac_t""${LTLD}" 1>&6 | |
14642 else | |
14643 echo "$ac_t""no" 1>&6 | |
14644 fi | |
14645 | |
14646 if test -z "$LTLD" -a "$cc_produces_so" = no; then | |
14647 { echo "configure: error: no acceptable linker found in \$PATH" 1>&2; exit 1; } | |
14648 exit 1 | |
14649 fi | |
14650 fi | |
14651 | |
14652 ld_dynamic_link_flags= | |
14653 | |
14654 # Check to see if it really is or isn't GNU ld. | |
14655 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | |
14656 echo "configure:14657: checking if the linker is GNU ld" >&5 | |
14657 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
14658 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
14659 xe_gnu_ld=yes | |
14660 else | |
14661 xe_gnu_ld=no | |
14662 fi | |
14663 echo "$ac_t""${xe_gnu_ld}" 1>&6 | |
14664 | |
14665 case "$xehost_os" in | |
14666 amigaos* | sunos4*) | |
14667 # On these operating systems, we should treat GNU ld like the system ld. | |
14668 gnu_ld_acts_native=yes | |
14669 ;; | |
14670 *) | |
14671 gnu_ld_acts_native=no | |
14672 ;; | |
14673 esac | |
14674 | |
14675 if test "$cc_produces_so" = "yes"; then | |
14676 dll_ld=$CC | |
14677 dll_ldflags=$xcldf | |
14678 can_build_shared=yes | |
14679 ld_shlibs=yes | |
14680 else | |
14681 # OK - only NOW do we futz about with ld. | |
14682 # See if the linker supports building shared libraries. | |
14683 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | |
14684 echo "configure:14685: checking whether the linker supports shared libraries" >&5 | |
14685 dll_ld=$CC | |
14686 dll_ldflags=$LDFLAGS | |
14687 ld_shlibs=yes | |
14688 can_build_shared=yes | |
14689 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | |
14690 # See if GNU ld supports shared libraries. | |
14691 if $LTLD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | |
14692 dll_ld=$CC | |
14693 dll_ldflags="-shared" | |
14694 ld_shlibs=yes | |
14695 else | |
14696 ld_shlibs=no | |
14697 fi | |
14698 else | |
14699 # PORTME fill in a description of your system's linker (not GNU ld) | |
14700 case "$xehost_os" in | |
14701 aix3*) | |
14702 dll_ld=$LTLD | |
14703 dll_ldflags=$xldf | |
14704 ;; | |
14705 | |
14706 aix[4-9]*) | |
14707 dll_ldflags=$xcldf | |
14708 ;; | |
14709 | |
14710 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
14711 # support. Future versions do this automatically, but an explicit c++rt0.o | |
14712 # doesn't break anything, and helps significantly (at the cost of a little | |
14713 # extra space). | |
14714 freebsd2.2*) | |
14715 dll_ld=$LTLD | |
14716 dll_ldflags=$xldf | |
14717 dll_post="/usr/lib/c++rt0.o" | |
14718 ;; | |
14719 | |
14720 # Unfortunately, older versions of FreeBSD 2 don't have this feature. | |
14721 freebsd2*) | |
14722 dll_ld=$LTLD | |
14723 dll_ldflags="-Bshareable" | |
14724 ;; | |
14725 | |
14726 # FreeBSD 3, at last, uses gcc -shared to do shared libraries. | |
14727 freebsd3*) | |
14728 dll_ldflags="-shared" | |
14729 ;; | |
14730 | |
14731 hpux*) | |
14732 dll_ld=$LTLD | |
14733 dll_ldflags=$xldf | |
14734 ;; | |
14735 | |
14736 irix[5-9]*) | |
14737 dll_ld=$LTLD | |
14738 dll_ldflags=$xldf | |
14739 ;; | |
14740 | |
14741 netbsd*) | |
14742 # Tested with NetBSD 1.2 ld | |
14743 dll_ld=$LTLD | |
14744 dll_ldflags=$xldf | |
14745 ;; | |
14746 | |
14747 openbsd*) | |
14748 dll_ld=$LTLD | |
14749 dll_ldflags=$xldf | |
14750 ;; | |
14751 | |
14752 osf3* | osf4*) | |
14753 dll_ld=$LTLD | |
14754 dll_ldflags=$xldf | |
14755 ;; | |
14756 | |
14757 # For both SCO and Solaris we MAY want to have LDFLAGS include -z text | |
14758 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7*) | |
14759 dll_ld=$LTLD | |
14760 case "$dll_ld" in | |
14761 *gcc*) dll_ldflags="-shared" | |
14762 dll_ld=$CC | |
14763 ;; | |
14764 *) dll_ldflags="-G" | |
14765 ;; | |
14766 esac | |
14767 ;; | |
14768 | |
14769 sunos4*) | |
14770 if test "$XEGCC" = yes; then | |
14771 dll_ld=$CC | |
14772 else | |
14773 dll_ld=$LTLD | |
14774 fi | |
14775 dll_ldflags=$xldf | |
14776 ;; | |
14777 | |
14778 uts4*) | |
14779 dll_ld=$LTLD | |
14780 dll_ldflags="-G" | |
14781 ;; | |
14782 | |
14783 bsdi*) | |
14784 dll_ldflags="-r" | |
14785 dll_ld="shlicc2" | |
14786 ;; | |
14787 *) | |
14788 ld_shlibs=no | |
14789 can_build_shared=no | |
14790 ;; | |
14791 esac | |
14792 fi | |
14793 echo "$ac_t""${ld_shlibs}" 1>&6 | |
14794 if test "$ld_shlibs" = "no"; then | |
14795 can_build_shared=no | |
14796 fi | |
14797 fi # End of if cc_produces_so = no | |
14798 | |
14799 | |
14800 if test "$xe_gnu_ld" = yes; then | |
14801 if test "$ld_shlibs" = yes; then | |
14802 ld_dynamic_link_flags="${wl}-export-dynamic" | |
14803 fi | |
14804 fi | |
14805 | |
14806 if test -z "$ld_dynamic_link_flags"; then | |
14807 case "$xehost_os" in | |
14808 aix[3-9]*) | |
14809 ld_dynamic_link_flags= | |
14810 ;; | |
14811 | |
14812 *darwin*) | |
14813 ld_dynamic_link_flags= | |
14814 ;; | |
14815 | |
14816 freebsd2.2*) | |
14817 ld_dynamic_link_flags= | |
14818 ;; | |
14819 | |
14820 freebsd2*) | |
14821 ld_dynamic_link_flags= | |
14822 ;; | |
14823 | |
14824 freebsd3*) | |
14825 ld_dynamic_link_flags= | |
14826 ;; | |
14827 | |
14828 hpux*) | |
14829 ld_dynamic_link_flags="${wl}-E" | |
14830 ;; | |
14831 | |
14832 irix[5-9]*) | |
14833 ld_dynamic_link_flags= | |
14834 ;; | |
14835 | |
14836 netbsd*) | |
14837 ld_dynamic_link_flags= | |
14838 ;; | |
14839 | |
14840 openbsd*) | |
14841 ld_dynamic_link_flags= | |
14842 ;; | |
14843 | |
14844 osf3* | osf4*) | |
14845 ld_dynamic_link_flags= | |
14846 ;; | |
14847 | |
14848 solaris2* | solaris7*) | |
14849 ld_dynamic_link_flags= | |
14850 ;; | |
14851 | |
14852 sco3.2v5* | unixware* | sysv5* | sysv4*) | |
14853 ld_dynamic_link_flags="${wl}-Bexport" | |
14854 ;; | |
14855 | |
14856 sunos4*) | |
14857 ld_dynamic_link_flags= | |
14858 ;; | |
14859 | |
14860 uts4*) | |
14861 ld_dynamic_link_flags= | |
14862 ;; | |
14863 | |
14864 bsdi*) | |
14865 ld_dynamic_link_flags= | |
14866 ;; | |
14867 | |
14868 esac | |
14869 fi # End of if -z ld_dynamic_link_flags | |
14870 fi # End of if test "$can_build_shared" = "yes" | |
14871 | |
14872 | |
14873 | |
14874 | |
14875 | |
14876 | |
14877 | |
14878 | |
14879 fi | |
14880 | |
14881 if test "$can_build_shared" = "yes"; then | |
14882 { test "$extra_verbose" = "yes" && cat << \EOF | |
14883 Defining HAVE_SHLIB | |
14884 EOF | |
14885 cat >> confdefs.h <<\EOF | |
14886 #define HAVE_SHLIB 1 | |
14887 EOF | |
14888 } | |
14889 | |
14890 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
14891 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | |
14892 for ac_func in dlerror _dlerror | |
14893 do | |
14894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
14895 echo "configure:14896: checking for $ac_func" >&5 | |
14896 | |
14897 cat > conftest.$ac_ext <<EOF | |
14898 #line 14899 "configure" | |
14899 #include "confdefs.h" | |
14900 /* System header to define __stub macros and hopefully few prototypes, | |
14901 which can conflict with char $ac_func(); below. */ | |
14902 #include <assert.h> | |
14903 /* Override any gcc2 internal prototype to avoid an error. */ | |
14904 /* We use char because int might match the return type of a gcc2 | |
14905 builtin and then its argument prototype would still apply. */ | |
14906 char $ac_func(); | |
14907 | |
14908 int main() { | |
14909 | |
14910 /* The GNU C library defines this for functions which it implements | |
14911 to always fail with ENOSYS. Some functions are actually named | |
14912 something starting with __ and the normal name is an alias. */ | |
14913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
14914 choke me | |
14915 #else | |
14916 $ac_func(); | |
14917 #endif | |
14918 | |
14919 ; return 0; } | |
14920 EOF | |
14921 if { (eval echo configure:14922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14922 rm -rf conftest* | |
14923 eval "ac_cv_func_$ac_func=yes" | |
14924 else | |
14925 echo "configure: failed program was:" >&5 | |
14926 cat conftest.$ac_ext >&5 | |
14927 rm -rf conftest* | |
14928 eval "ac_cv_func_$ac_func=no" | |
14929 fi | |
14930 rm -f conftest* | |
14931 | |
14932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
14933 echo "$ac_t""yes" 1>&6 | |
14934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
14935 { test "$extra_verbose" = "yes" && cat << EOF | |
14936 Defining $ac_tr_func | |
14937 EOF | |
14938 cat >> confdefs.h <<EOF | |
14939 #define $ac_tr_func 1 | |
14940 EOF | |
14941 } | |
14942 | |
14943 else | |
14944 echo "$ac_t""no" 1>&6 | |
14945 fi | |
14946 done | |
14947 | |
14948 with_modules=yes | |
14949 MOD_CC="../../lib-src/ellcc" | |
14950 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src" | |
14951 INSTALLPATH="\$(moduledir)" | |
14952 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM} | |
14953 OBJECT_TO_BUILD="\$(MODNAME).ell" | |
14954 else | |
14955 if test "$with_modules" = "yes"; then | |
14956 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | |
14957 else | |
14958 echo " No module support." | |
14959 fi | |
14960 with_modules=no | |
14961 MOD_CC="$XEMACS_CC" | |
14962 MODCFLAGS="\$(CFLAGS) -I../../src -I\$(srcdir)/../../src" | |
14963 INSTALLPATH="" | |
14964 MOD_INSTALL_PROGRAM="true" | |
14965 OBJECT_TO_BUILD="\$(MODNAME).o" | |
14966 fi | |
14967 fi | |
14968 MODARCHDIR= | |
14969 MAKE_DOCFILE="../../lib-src/make-docfile" | |
14970 | |
14971 | |
14972 | |
14973 | |
14974 | |
14975 | |
14976 | |
14977 | |
14978 | |
14979 | |
14980 echo "checking for LDAP" 1>&6 | |
14981 echo "configure:14982: checking for LDAP" >&5 | |
14982 ldap_libs= | |
14983 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | |
14984 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | |
14985 echo "configure:14986: checking for ldap.h" >&5 | |
14986 | |
14987 cat > conftest.$ac_ext <<EOF | |
14988 #line 14989 "configure" | |
14989 #include "confdefs.h" | |
14990 #include <ldap.h> | |
14991 EOF | |
14992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
14993 { (eval echo configure:14994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
14994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
14995 if test -z "$ac_err"; then | |
14996 rm -rf conftest* | |
14997 eval "ac_cv_header_$ac_safe=yes" | |
14998 else | |
14999 echo "$ac_err" >&5 | |
15000 echo "configure: failed program was:" >&5 | |
15001 cat conftest.$ac_ext >&5 | |
15002 rm -rf conftest* | |
15003 eval "ac_cv_header_$ac_safe=no" | |
15004 fi | |
15005 rm -f conftest* | |
15006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
15007 echo "$ac_t""yes" 1>&6 | |
15008 : | |
15009 else | |
15010 echo "$ac_t""no" 1>&6 | |
15011 with_ldap=no | |
15012 fi | |
15013 } | |
15014 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | |
15015 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | |
15016 echo "configure:15017: checking for lber.h" >&5 | |
15017 | |
15018 cat > conftest.$ac_ext <<EOF | |
15019 #line 15020 "configure" | |
15020 #include "confdefs.h" | |
15021 #include <lber.h> | |
15022 EOF | |
15023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
15024 { (eval echo configure:15025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
15025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
15026 if test -z "$ac_err"; then | |
15027 rm -rf conftest* | |
15028 eval "ac_cv_header_$ac_safe=yes" | |
15029 else | |
15030 echo "$ac_err" >&5 | |
15031 echo "configure: failed program was:" >&5 | |
15032 cat conftest.$ac_ext >&5 | |
15033 rm -rf conftest* | |
15034 eval "ac_cv_header_$ac_safe=no" | |
15035 fi | |
15036 rm -f conftest* | |
15037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
15038 echo "$ac_t""yes" 1>&6 | |
15039 : | |
15040 else | |
15041 echo "$ac_t""no" 1>&6 | |
15042 with_ldap=no | |
15043 fi | |
15044 } | |
15045 if test "$with_ldap" != "no"; then | |
15046 | |
15047 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | |
15048 echo "configure:15049: checking for ldap_search in -lldap" >&5 | |
15049 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | |
15050 | |
15051 xe_check_libs=" -lldap " | |
15052 cat > conftest.$ac_ext <<EOF | |
15053 #line 15054 "configure" | |
15054 #include "confdefs.h" | |
15055 /* Override any gcc2 internal prototype to avoid an error. */ | |
15056 /* We use char because int might match the return type of a gcc2 | |
15057 builtin and then its argument prototype would still apply. */ | |
15058 char ldap_search(); | |
15059 | |
15060 int main() { | |
15061 ldap_search() | |
15062 ; return 0; } | |
15063 EOF | |
15064 if { (eval echo configure:15065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15065 rm -rf conftest* | |
15066 eval "ac_cv_lib_$ac_lib_var=yes" | |
15067 else | |
15068 echo "configure: failed program was:" >&5 | |
15069 cat conftest.$ac_ext >&5 | |
15070 rm -rf conftest* | |
15071 eval "ac_cv_lib_$ac_lib_var=no" | |
15072 fi | |
15073 rm -f conftest* | |
15074 xe_check_libs="" | |
15075 | |
15076 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15077 echo "$ac_t""yes" 1>&6 | |
15078 with_ldap_nolber=yes | |
15079 else | |
15080 echo "$ac_t""no" 1>&6 | |
15081 with_ldap_nolber=no | |
15082 fi | |
15083 | |
15084 | |
15085 test "$with_ldap_nolber" = "no" && { | |
15086 xe_msg_checking="for ldap_open in -lldap" | |
15087 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | |
15088 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
15089 echo "configure:15090: checking "$xe_msg_checking"" >&5 | |
15090 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
15091 | |
15092 xe_check_libs=" -lldap -llber" | |
15093 cat > conftest.$ac_ext <<EOF | |
15094 #line 15095 "configure" | |
15095 #include "confdefs.h" | |
15096 /* Override any gcc2 internal prototype to avoid an error. */ | |
15097 /* We use char because int might match the return type of a gcc2 | |
15098 builtin and then its argument prototype would still apply. */ | |
15099 char ldap_open(); | |
15100 | |
15101 int main() { | |
15102 ldap_open() | |
15103 ; return 0; } | |
15104 EOF | |
15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15106 rm -rf conftest* | |
15107 eval "ac_cv_lib_$ac_lib_var=yes" | |
15108 else | |
15109 echo "configure: failed program was:" >&5 | |
15110 cat conftest.$ac_ext >&5 | |
15111 rm -rf conftest* | |
15112 eval "ac_cv_lib_$ac_lib_var=no" | |
15113 fi | |
15114 rm -f conftest* | |
15115 xe_check_libs="" | |
15116 | |
15117 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15118 echo "$ac_t""yes" 1>&6 | |
15119 with_ldap_lber=yes | |
15120 else | |
15121 echo "$ac_t""no" 1>&6 | |
15122 with_ldap_lber=no | |
15123 fi | |
15124 | |
15125 } | |
15126 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | |
15127 xe_msg_checking="for ldap_open in -lldap" | |
15128 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | |
15129 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
15130 echo "configure:15131: checking "$xe_msg_checking"" >&5 | |
15131 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
15132 | |
15133 xe_check_libs=" -lldap -llber -lkrb" | |
15134 cat > conftest.$ac_ext <<EOF | |
15135 #line 15136 "configure" | |
15136 #include "confdefs.h" | |
15137 /* Override any gcc2 internal prototype to avoid an error. */ | |
15138 /* We use char because int might match the return type of a gcc2 | |
15139 builtin and then its argument prototype would still apply. */ | |
15140 char ldap_open(); | |
15141 | |
15142 int main() { | |
15143 ldap_open() | |
15144 ; return 0; } | |
15145 EOF | |
15146 if { (eval echo configure:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15147 rm -rf conftest* | |
15148 eval "ac_cv_lib_$ac_lib_var=yes" | |
15149 else | |
15150 echo "configure: failed program was:" >&5 | |
15151 cat conftest.$ac_ext >&5 | |
15152 rm -rf conftest* | |
15153 eval "ac_cv_lib_$ac_lib_var=no" | |
15154 fi | |
15155 rm -f conftest* | |
15156 xe_check_libs="" | |
15157 | |
15158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15159 echo "$ac_t""yes" 1>&6 | |
15160 with_ldap_krb=yes | |
15161 else | |
15162 echo "$ac_t""no" 1>&6 | |
15163 with_ldap_krb=no | |
15164 fi | |
15165 | |
15166 } | |
15167 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | |
15168 xe_msg_checking="for ldap_open in -lldap" | |
15169 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | |
15170 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
15171 echo "configure:15172: checking "$xe_msg_checking"" >&5 | |
15172 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
15173 | |
15174 xe_check_libs=" -lldap -llber -lkrb -ldes" | |
15175 cat > conftest.$ac_ext <<EOF | |
15176 #line 15177 "configure" | |
15177 #include "confdefs.h" | |
15178 /* Override any gcc2 internal prototype to avoid an error. */ | |
15179 /* We use char because int might match the return type of a gcc2 | |
15180 builtin and then its argument prototype would still apply. */ | |
15181 char ldap_open(); | |
15182 | |
15183 int main() { | |
15184 ldap_open() | |
15185 ; return 0; } | |
15186 EOF | |
15187 if { (eval echo configure:15188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15188 rm -rf conftest* | |
15189 eval "ac_cv_lib_$ac_lib_var=yes" | |
15190 else | |
15191 echo "configure: failed program was:" >&5 | |
15192 cat conftest.$ac_ext >&5 | |
15193 rm -rf conftest* | |
15194 eval "ac_cv_lib_$ac_lib_var=no" | |
15195 fi | |
15196 rm -f conftest* | |
15197 xe_check_libs="" | |
15198 | |
15199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15200 echo "$ac_t""yes" 1>&6 | |
15201 with_ldap_krbdes=yes | |
15202 else | |
15203 echo "$ac_t""no" 1>&6 | |
15204 with_ldap_krbdes=no | |
15205 fi | |
15206 | |
15207 } | |
15208 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" -o "$with_ldap_krb" = "yes" -o "$with_ldap_krbdes" = "yes" \) && with_ldap=yes | |
15209 fi | |
15210 if test "$with_ldap" = "yes"; then | |
15211 { test "$extra_verbose" = "yes" && cat << \EOF | |
15212 Defining HAVE_LDAP | |
15213 EOF | |
15214 cat >> confdefs.h <<\EOF | |
15215 #define HAVE_LDAP 1 | |
15216 EOF | |
15217 } | |
15218 | |
15219 if test "$with_ldap_nolber" = "yes" ; then | |
15220 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi | |
15221 else | |
15222 if test "$with_ldap_krb" = "yes" ; then | |
15223 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi | |
15224 fi | |
15225 if test "$with_ldap_krbdes" = "yes" ; then | |
15226 ldap_libs="-ldes $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldes\" to \$ldap_libs"; fi | |
15227 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi | |
15228 fi | |
15229 ldap_libs="-llber $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$ldap_libs"; fi | |
15230 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi | |
15231 fi | |
15232 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | |
15233 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | |
15234 do | |
15235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
15236 echo "configure:15237: checking for $ac_func" >&5 | |
15237 | |
15238 cat > conftest.$ac_ext <<EOF | |
15239 #line 15240 "configure" | |
15240 #include "confdefs.h" | |
15241 /* System header to define __stub macros and hopefully few prototypes, | |
15242 which can conflict with char $ac_func(); below. */ | |
15243 #include <assert.h> | |
15244 /* Override any gcc2 internal prototype to avoid an error. */ | |
15245 /* We use char because int might match the return type of a gcc2 | |
15246 builtin and then its argument prototype would still apply. */ | |
15247 char $ac_func(); | |
15248 | |
15249 int main() { | |
15250 | |
15251 /* The GNU C library defines this for functions which it implements | |
15252 to always fail with ENOSYS. Some functions are actually named | |
15253 something starting with __ and the normal name is an alias. */ | |
15254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
15255 choke me | |
15256 #else | |
15257 $ac_func(); | |
15258 #endif | |
15259 | |
15260 ; return 0; } | |
15261 EOF | |
15262 if { (eval echo configure:15263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15263 rm -rf conftest* | |
15264 eval "ac_cv_func_$ac_func=yes" | |
15265 else | |
15266 echo "configure: failed program was:" >&5 | |
15267 cat conftest.$ac_ext >&5 | |
15268 rm -rf conftest* | |
15269 eval "ac_cv_func_$ac_func=no" | |
15270 fi | |
15271 rm -f conftest* | |
15272 | |
15273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
15274 echo "$ac_t""yes" 1>&6 | |
15275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
15276 { test "$extra_verbose" = "yes" && cat << EOF | |
15277 Defining $ac_tr_func | |
15278 EOF | |
15279 cat >> confdefs.h <<EOF | |
15280 #define $ac_tr_func 1 | |
15281 EOF | |
15282 } | |
15283 | |
15284 else | |
15285 echo "$ac_t""no" 1>&6 | |
15286 fi | |
15287 done | |
15288 | |
15289 LIBS="$save_LIBS" | |
15290 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi | |
15291 need_modules_common=yes | |
15292 if test "$with_modules" = "yes"; then | |
15293 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
15294 fi | |
15295 fi | |
15296 | |
15297 | |
15298 postgresql_libs= | |
15299 if test "$with_postgresql" != "no"; then | |
15300 echo "checking for PostgreSQL" 1>&6 | |
15301 echo "configure:15302: checking for PostgreSQL" >&5 | |
15302 | |
15303 for header_dir in "" "pgsql/" "postgresql/"; do | |
15304 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | |
15305 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | |
15306 echo "configure:15307: checking for ${header_dir}libpq-fe.h" >&5 | |
15307 | |
15308 cat > conftest.$ac_ext <<EOF | |
15309 #line 15310 "configure" | |
15310 #include "confdefs.h" | |
15311 #include <${header_dir}libpq-fe.h> | |
15312 EOF | |
15313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
15314 { (eval echo configure:15315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
15315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
15316 if test -z "$ac_err"; then | |
15317 rm -rf conftest* | |
15318 eval "ac_cv_header_$ac_safe=yes" | |
15319 else | |
15320 echo "$ac_err" >&5 | |
15321 echo "configure: failed program was:" >&5 | |
15322 cat conftest.$ac_ext >&5 | |
15323 rm -rf conftest* | |
15324 eval "ac_cv_header_$ac_safe=no" | |
15325 fi | |
15326 rm -f conftest* | |
15327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
15328 echo "$ac_t""yes" 1>&6 | |
15329 libpq_fe_h_file=${header_dir}libpq-fe.h; break | |
15330 else | |
15331 echo "$ac_t""no" 1>&6 | |
15332 fi | |
15333 | |
15334 done | |
15335 | |
15336 test -n "$libpq_fe_h_file" && { | |
15337 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | |
15338 echo "configure:15339: checking for PQconnectdb in -lpq" >&5 | |
15339 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | |
15340 | |
15341 xe_check_libs=" -lpq " | |
15342 cat > conftest.$ac_ext <<EOF | |
15343 #line 15344 "configure" | |
15344 #include "confdefs.h" | |
15345 /* Override any gcc2 internal prototype to avoid an error. */ | |
15346 /* We use char because int might match the return type of a gcc2 | |
15347 builtin and then its argument prototype would still apply. */ | |
15348 char PQconnectdb(); | |
15349 | |
15350 int main() { | |
15351 PQconnectdb() | |
15352 ; return 0; } | |
15353 EOF | |
15354 if { (eval echo configure:15355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15355 rm -rf conftest* | |
15356 eval "ac_cv_lib_$ac_lib_var=yes" | |
15357 else | |
15358 echo "configure: failed program was:" >&5 | |
15359 cat conftest.$ac_ext >&5 | |
15360 rm -rf conftest* | |
15361 eval "ac_cv_lib_$ac_lib_var=no" | |
15362 fi | |
15363 rm -f conftest* | |
15364 xe_check_libs="" | |
15365 | |
15366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15367 echo "$ac_t""yes" 1>&6 | |
15368 have_libpq=yes | |
15369 else | |
15370 echo "$ac_t""no" 1>&6 | |
15371 fi | |
15372 | |
15373 } | |
15374 | |
15375 if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes"; then | |
15376 with_postgresql=yes | |
15377 { test "$extra_verbose" = "yes" && cat << \EOF | |
15378 Defining HAVE_POSTGRESQL | |
15379 EOF | |
15380 cat >> confdefs.h <<\EOF | |
15381 #define HAVE_POSTGRESQL 1 | |
15382 EOF | |
15383 } | |
15384 | |
15385 | |
15386 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | |
15387 echo "configure:15388: checking for PQconnectStart in -lpq" >&5 | |
15388 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | |
15389 | |
15390 xe_check_libs=" -lpq " | |
15391 cat > conftest.$ac_ext <<EOF | |
15392 #line 15393 "configure" | |
15393 #include "confdefs.h" | |
15394 /* Override any gcc2 internal prototype to avoid an error. */ | |
15395 /* We use char because int might match the return type of a gcc2 | |
15396 builtin and then its argument prototype would still apply. */ | |
15397 char PQconnectStart(); | |
15398 | |
15399 int main() { | |
15400 PQconnectStart() | |
15401 ; return 0; } | |
15402 EOF | |
15403 if { (eval echo configure:15404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15404 rm -rf conftest* | |
15405 eval "ac_cv_lib_$ac_lib_var=yes" | |
15406 else | |
15407 echo "configure: failed program was:" >&5 | |
15408 cat conftest.$ac_ext >&5 | |
15409 rm -rf conftest* | |
15410 eval "ac_cv_lib_$ac_lib_var=no" | |
15411 fi | |
15412 rm -f conftest* | |
15413 xe_check_libs="" | |
15414 | |
15415 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15416 echo "$ac_t""yes" 1>&6 | |
15417 with_postgresqlv7=yes; | |
15418 { test "$extra_verbose" = "yes" && cat << \EOF | |
15419 Defining HAVE_POSTGRESQLV7 | |
15420 EOF | |
15421 cat >> confdefs.h <<\EOF | |
15422 #define HAVE_POSTGRESQLV7 1 | |
15423 EOF | |
15424 } | |
15425 | |
15426 else | |
15427 echo "$ac_t""no" 1>&6 | |
15428 fi | |
15429 | |
15430 | |
15431 { test "$extra_verbose" = "yes" && cat << EOF | |
15432 Defining LIBPQ_FE_H_FILE = "$libpq_fe_h_file" | |
15433 EOF | |
15434 cat >> confdefs.h <<EOF | |
15435 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | |
15436 EOF | |
15437 } | |
15438 | |
15439 postgresql_libs="-lpq $postgresql_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$postgresql_libs"; fi | |
15440 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi | |
15441 need_modules_common=yes | |
15442 if test "$with_modules" = "yes"; then | |
15443 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
15444 fi | |
15445 elif test "$with_postgresql" = "yes"; then | |
15446 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | |
15447 fi | |
15448 fi | |
15449 | |
15450 | |
15437 internal_makefile_list="Makefile.in" | 15451 internal_makefile_list="Makefile.in" |
15438 SUBDIR_MAKEFILES='' | 15452 SUBDIR_MAKEFILES='' |
15439 test -d lock || mkdir lock | 15453 test -d lock || mkdir lock |
15440 for dir in $MAKE_SUBDIR; do | 15454 for dir in $MAKE_SUBDIR; do |
15441 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do | 15455 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do |
16270 s%@X_LIBS@%$X_LIBS%g | 16284 s%@X_LIBS@%$X_LIBS%g |
16271 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 16285 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
16272 s%@install_pp@%$install_pp%g | 16286 s%@install_pp@%$install_pp%g |
16273 s%@libs_xauth@%$libs_xauth%g | 16287 s%@libs_xauth@%$libs_xauth%g |
16274 s%@dnd_objs@%$dnd_objs%g | 16288 s%@dnd_objs@%$dnd_objs%g |
16289 s%@lwlib_objs@%$lwlib_objs%g | |
16290 s%@ALLOCA@%$ALLOCA%g | |
16291 s%@have_esd_config@%$have_esd_config%g | |
16292 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g | |
16275 s%@dll_ld@%$dll_ld%g | 16293 s%@dll_ld@%$dll_ld%g |
16276 s%@dll_cflags@%$dll_cflags%g | 16294 s%@dll_cflags@%$dll_cflags%g |
16277 s%@dll_ldflags@%$dll_ldflags%g | 16295 s%@dll_ldflags@%$dll_ldflags%g |
16278 s%@dll_post@%$dll_post%g | 16296 s%@dll_post@%$dll_post%g |
16279 s%@dll_ldo@%$dll_ldo%g | 16297 s%@dll_ldo@%$dll_ldo%g |
16286 s%@INSTALLPATH@%$INSTALLPATH%g | 16304 s%@INSTALLPATH@%$INSTALLPATH%g |
16287 s%@MOD_INSTALL_PROGRAM@%$MOD_INSTALL_PROGRAM%g | 16305 s%@MOD_INSTALL_PROGRAM@%$MOD_INSTALL_PROGRAM%g |
16288 s%@OBJECT_TO_BUILD@%$OBJECT_TO_BUILD%g | 16306 s%@OBJECT_TO_BUILD@%$OBJECT_TO_BUILD%g |
16289 s%@ldap_libs@%$ldap_libs%g | 16307 s%@ldap_libs@%$ldap_libs%g |
16290 s%@postgresql_libs@%$postgresql_libs%g | 16308 s%@postgresql_libs@%$postgresql_libs%g |
16291 s%@lwlib_objs@%$lwlib_objs%g | |
16292 s%@ALLOCA@%$ALLOCA%g | |
16293 s%@have_esd_config@%$have_esd_config%g | |
16294 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g | |
16295 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g | 16309 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g |
16296 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g | 16310 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g |
16297 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g | 16311 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g |
16298 s%@PROGNAME@%$PROGNAME%g | 16312 s%@PROGNAME@%$PROGNAME%g |
16299 s%@version@%$version%g | 16313 s%@version@%$version%g |