Mercurial > hg > xemacs-beta
comparison configure @ 2009:1388c8b3e663
[xemacs-hg @ 2004-04-13 04:23:49 by james]
Kaarthik Sivakumar's change to check for libmp dependencies before checking
whether it contains the move function.
author | james |
---|---|
date | Tue, 13 Apr 2004 04:23:50 +0000 |
parents | 1ea9c87af805 |
children | 7a9919388e87 |
comparison
equal
deleted
inserted
replaced
2008:8364712266dd | 2009:1388c8b3e663 |
---|---|
4777 | 4777 |
4778 cat > conftest.$ac_ext <<EOF | 4778 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4779 #line 4780 "configure" |
4780 #include "confdefs.h" | 4780 #include "confdefs.h" |
4781 #include <stdio.h> | 4781 #include <stdio.h> |
4782 #include <sys/types.h> | 4782 int main() |
4783 main() | |
4784 { | 4783 { |
4785 FILE *f=fopen("conftestval", "w"); | 4784 FILE *f=fopen("conftestval", "w"); |
4786 if (!f) exit(1); | 4785 if (!f) return(1); |
4787 fprintf(f, "%d\n", sizeof(short)); | 4786 fprintf(f, "%d\n", sizeof(short)); |
4788 exit(0); | 4787 return(0); |
4789 } | 4788 } |
4790 EOF | 4789 EOF |
4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4792 then | 4791 then |
4793 ac_cv_sizeof_short=`cat conftestval` | 4792 ac_cv_sizeof_short=`cat conftestval` |
4794 else | 4793 else |
4795 conftest_rc="$?" | 4794 conftest_rc="$?" |
4796 echo "configure: failed program was:" >&5 | 4795 echo "configure: failed program was:" >&5 |
4814 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4813 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4815 echo "*** PANIC *** Please examine config.log for compilation errors." | 4814 echo "*** PANIC *** Please examine config.log for compilation errors." |
4816 exit 1 | 4815 exit 1 |
4817 fi | 4816 fi |
4818 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4817 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4819 echo "configure:4820: checking size of int" >&5 | 4818 echo "configure:4819: checking size of int" >&5 |
4820 | 4819 |
4821 cat > conftest.$ac_ext <<EOF | 4820 cat > conftest.$ac_ext <<EOF |
4822 #line 4823 "configure" | 4821 #line 4822 "configure" |
4823 #include "confdefs.h" | 4822 #include "confdefs.h" |
4824 #include <stdio.h> | 4823 #include <stdio.h> |
4825 #include <sys/types.h> | 4824 int main() |
4826 main() | |
4827 { | 4825 { |
4828 FILE *f=fopen("conftestval", "w"); | 4826 FILE *f=fopen("conftestval", "w"); |
4829 if (!f) exit(1); | 4827 if (!f) return(1); |
4830 fprintf(f, "%d\n", sizeof(int)); | 4828 fprintf(f, "%d\n", sizeof(int)); |
4831 exit(0); | 4829 return(0); |
4832 } | 4830 } |
4833 EOF | 4831 EOF |
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4832 if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4835 then | 4833 then |
4836 ac_cv_sizeof_int=`cat conftestval` | 4834 ac_cv_sizeof_int=`cat conftestval` |
4837 else | 4835 else |
4838 conftest_rc="$?" | 4836 conftest_rc="$?" |
4839 echo "configure: failed program was:" >&5 | 4837 echo "configure: failed program was:" >&5 |
4851 EOF | 4849 EOF |
4852 } | 4850 } |
4853 | 4851 |
4854 | 4852 |
4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4853 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4856 echo "configure:4857: checking size of long" >&5 | 4854 echo "configure:4855: checking size of long" >&5 |
4857 | 4855 |
4858 cat > conftest.$ac_ext <<EOF | 4856 cat > conftest.$ac_ext <<EOF |
4859 #line 4860 "configure" | 4857 #line 4858 "configure" |
4860 #include "confdefs.h" | 4858 #include "confdefs.h" |
4861 #include <stdio.h> | 4859 #include <stdio.h> |
4862 #include <sys/types.h> | 4860 int main() |
4863 main() | |
4864 { | 4861 { |
4865 FILE *f=fopen("conftestval", "w"); | 4862 FILE *f=fopen("conftestval", "w"); |
4866 if (!f) exit(1); | 4863 if (!f) return(1); |
4867 fprintf(f, "%d\n", sizeof(long)); | 4864 fprintf(f, "%d\n", sizeof(long)); |
4868 exit(0); | 4865 return(0); |
4869 } | 4866 } |
4870 EOF | 4867 EOF |
4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4872 then | 4869 then |
4873 ac_cv_sizeof_long=`cat conftestval` | 4870 ac_cv_sizeof_long=`cat conftestval` |
4874 else | 4871 else |
4875 conftest_rc="$?" | 4872 conftest_rc="$?" |
4876 echo "configure: failed program was:" >&5 | 4873 echo "configure: failed program was:" >&5 |
4888 EOF | 4885 EOF |
4889 } | 4886 } |
4890 | 4887 |
4891 | 4888 |
4892 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4889 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4893 echo "configure:4894: checking size of long long" >&5 | 4890 echo "configure:4891: checking size of long long" >&5 |
4894 | 4891 |
4895 cat > conftest.$ac_ext <<EOF | 4892 cat > conftest.$ac_ext <<EOF |
4896 #line 4897 "configure" | 4893 #line 4894 "configure" |
4897 #include "confdefs.h" | 4894 #include "confdefs.h" |
4898 #include <stdio.h> | 4895 #include <stdio.h> |
4899 #include <sys/types.h> | 4896 int main() |
4900 main() | |
4901 { | 4897 { |
4902 FILE *f=fopen("conftestval", "w"); | 4898 FILE *f=fopen("conftestval", "w"); |
4903 if (!f) exit(1); | 4899 if (!f) return(1); |
4904 fprintf(f, "%d\n", sizeof(long long)); | 4900 fprintf(f, "%d\n", sizeof(long long)); |
4905 exit(0); | 4901 return(0); |
4906 } | 4902 } |
4907 EOF | 4903 EOF |
4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4909 then | 4905 then |
4910 ac_cv_sizeof_long_long=`cat conftestval` | 4906 ac_cv_sizeof_long_long=`cat conftestval` |
4911 else | 4907 else |
4912 conftest_rc="$?" | 4908 conftest_rc="$?" |
4913 echo "configure: failed program was:" >&5 | 4909 echo "configure: failed program was:" >&5 |
4925 EOF | 4921 EOF |
4926 } | 4922 } |
4927 | 4923 |
4928 | 4924 |
4929 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4925 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4930 echo "configure:4931: checking size of void *" >&5 | 4926 echo "configure:4927: checking size of void *" >&5 |
4931 | 4927 |
4932 cat > conftest.$ac_ext <<EOF | 4928 cat > conftest.$ac_ext <<EOF |
4933 #line 4934 "configure" | 4929 #line 4930 "configure" |
4934 #include "confdefs.h" | 4930 #include "confdefs.h" |
4935 #include <stdio.h> | 4931 #include <stdio.h> |
4936 #include <sys/types.h> | 4932 int main() |
4937 main() | |
4938 { | 4933 { |
4939 FILE *f=fopen("conftestval", "w"); | 4934 FILE *f=fopen("conftestval", "w"); |
4940 if (!f) exit(1); | 4935 if (!f) return(1); |
4941 fprintf(f, "%d\n", sizeof(void *)); | 4936 fprintf(f, "%d\n", sizeof(void *)); |
4942 exit(0); | 4937 return(0); |
4943 } | 4938 } |
4944 EOF | 4939 EOF |
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4946 then | 4941 then |
4947 ac_cv_sizeof_void_p=`cat conftestval` | 4942 ac_cv_sizeof_void_p=`cat conftestval` |
4948 else | 4943 else |
4949 conftest_rc="$?" | 4944 conftest_rc="$?" |
4950 echo "configure: failed program was:" >&5 | 4945 echo "configure: failed program was:" >&5 |
4962 EOF | 4957 EOF |
4963 } | 4958 } |
4964 | 4959 |
4965 | 4960 |
4966 echo $ac_n "checking size of double""... $ac_c" 1>&6 | 4961 echo $ac_n "checking size of double""... $ac_c" 1>&6 |
4967 echo "configure:4968: checking size of double" >&5 | 4962 echo "configure:4963: checking size of double" >&5 |
4968 | 4963 |
4969 cat > conftest.$ac_ext <<EOF | 4964 cat > conftest.$ac_ext <<EOF |
4970 #line 4971 "configure" | 4965 #line 4966 "configure" |
4971 #include "confdefs.h" | 4966 #include "confdefs.h" |
4972 #include <stdio.h> | 4967 #include <stdio.h> |
4973 #include <sys/types.h> | 4968 int main() |
4974 main() | |
4975 { | 4969 { |
4976 FILE *f=fopen("conftestval", "w"); | 4970 FILE *f=fopen("conftestval", "w"); |
4977 if (!f) exit(1); | 4971 if (!f) return(1); |
4978 fprintf(f, "%d\n", sizeof(double)); | 4972 fprintf(f, "%d\n", sizeof(double)); |
4979 exit(0); | 4973 return(0); |
4980 } | 4974 } |
4981 EOF | 4975 EOF |
4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4983 then | 4977 then |
4984 ac_cv_sizeof_double=`cat conftestval` | 4978 ac_cv_sizeof_double=`cat conftestval` |
4985 else | 4979 else |
4986 conftest_rc="$?" | 4980 conftest_rc="$?" |
4987 echo "configure: failed program was:" >&5 | 4981 echo "configure: failed program was:" >&5 |
5000 } | 4994 } |
5001 | 4995 |
5002 | 4996 |
5003 | 4997 |
5004 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4998 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
5005 echo "configure:5006: checking for long file names" >&5 | 4999 echo "configure:5000: checking for long file names" >&5 |
5006 | 5000 |
5007 ac_cv_sys_long_file_names=yes | 5001 ac_cv_sys_long_file_names=yes |
5008 # Test for long file names in all the places we know might matter: | 5002 # Test for long file names in all the places we know might matter: |
5009 # . the current directory, where building will happen | 5003 # . the current directory, where building will happen |
5010 # $prefix/lib where we will be installing things | 5004 # $prefix/lib where we will be installing things |
5046 | 5040 |
5047 fi | 5041 fi |
5048 | 5042 |
5049 | 5043 |
5050 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5044 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking for sin" >&5 | 5045 echo "configure:5046: checking for sin" >&5 |
5052 | 5046 |
5053 cat > conftest.$ac_ext <<EOF | 5047 cat > conftest.$ac_ext <<EOF |
5054 #line 5055 "configure" | 5048 #line 5049 "configure" |
5055 #include "confdefs.h" | 5049 #include "confdefs.h" |
5056 /* System header to define __stub macros and hopefully few prototypes, | 5050 /* System header to define __stub macros and hopefully few prototypes, |
5057 which can conflict with char sin(); below. */ | 5051 which can conflict with char sin(); below. */ |
5058 #include <assert.h> | 5052 #include <assert.h> |
5059 /* Override any gcc2 internal prototype to avoid an error. */ | 5053 /* Override any gcc2 internal prototype to avoid an error. */ |
5072 sin(); | 5066 sin(); |
5073 #endif | 5067 #endif |
5074 | 5068 |
5075 ; return 0; } | 5069 ; return 0; } |
5076 EOF | 5070 EOF |
5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5078 rm -rf conftest* | 5072 rm -rf conftest* |
5079 eval "ac_cv_func_sin=yes" | 5073 eval "ac_cv_func_sin=yes" |
5080 else | 5074 else |
5081 echo "configure: failed program was:" >&5 | 5075 echo "configure: failed program was:" >&5 |
5082 cat conftest.$ac_ext >&5 | 5076 cat conftest.$ac_ext >&5 |
5090 : | 5084 : |
5091 else | 5085 else |
5092 echo "$ac_t""no" 1>&6 | 5086 echo "$ac_t""no" 1>&6 |
5093 | 5087 |
5094 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5088 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5095 echo "configure:5096: checking for sin in -lm" >&5 | 5089 echo "configure:5090: checking for sin in -lm" >&5 |
5096 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5090 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5097 | 5091 |
5098 xe_check_libs=" -lm " | 5092 xe_check_libs=" -lm " |
5099 cat > conftest.$ac_ext <<EOF | 5093 cat > conftest.$ac_ext <<EOF |
5100 #line 5101 "configure" | 5094 #line 5095 "configure" |
5101 #include "confdefs.h" | 5095 #include "confdefs.h" |
5102 /* Override any gcc2 internal prototype to avoid an error. */ | 5096 /* Override any gcc2 internal prototype to avoid an error. */ |
5103 /* We use char because int might match the return type of a gcc2 | 5097 /* We use char because int might match the return type of a gcc2 |
5104 builtin and then its argument prototype would still apply. */ | 5098 builtin and then its argument prototype would still apply. */ |
5105 char sin(); | 5099 char sin(); |
5106 | 5100 |
5107 int main() { | 5101 int main() { |
5108 sin() | 5102 sin() |
5109 ; return 0; } | 5103 ; return 0; } |
5110 EOF | 5104 EOF |
5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5112 rm -rf conftest* | 5106 rm -rf conftest* |
5113 eval "ac_cv_lib_$ac_lib_var=yes" | 5107 eval "ac_cv_lib_$ac_lib_var=yes" |
5114 else | 5108 else |
5115 echo "configure: failed program was:" >&5 | 5109 echo "configure: failed program was:" >&5 |
5116 cat conftest.$ac_ext >&5 | 5110 cat conftest.$ac_ext >&5 |
5141 | 5135 |
5142 fi | 5136 fi |
5143 | 5137 |
5144 | 5138 |
5145 cat > conftest.$ac_ext <<EOF | 5139 cat > conftest.$ac_ext <<EOF |
5146 #line 5147 "configure" | 5140 #line 5141 "configure" |
5147 #include "confdefs.h" | 5141 #include "confdefs.h" |
5148 #include <math.h> | 5142 #include <math.h> |
5149 int main() { | 5143 int main() { |
5150 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5144 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5151 ; return 0; } | 5145 ; return 0; } |
5152 EOF | 5146 EOF |
5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5147 if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5154 rm -rf conftest* | 5148 rm -rf conftest* |
5155 { test "$extra_verbose" = "yes" && cat << \EOF | 5149 { test "$extra_verbose" = "yes" && cat << \EOF |
5156 Defining HAVE_INVERSE_HYPERBOLIC | 5150 Defining HAVE_INVERSE_HYPERBOLIC |
5157 EOF | 5151 EOF |
5158 cat >> confdefs.h <<\EOF | 5152 cat >> confdefs.h <<\EOF |
5167 rm -f conftest* | 5161 rm -f conftest* |
5168 | 5162 |
5169 for ac_func in mkstemp | 5163 for ac_func in mkstemp |
5170 do | 5164 do |
5171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5172 echo "configure:5173: checking for $ac_func" >&5 | 5166 echo "configure:5167: checking for $ac_func" >&5 |
5173 | 5167 |
5174 cat > conftest.$ac_ext <<EOF | 5168 cat > conftest.$ac_ext <<EOF |
5175 #line 5176 "configure" | 5169 #line 5170 "configure" |
5176 #include "confdefs.h" | 5170 #include "confdefs.h" |
5177 /* System header to define __stub macros and hopefully few prototypes, | 5171 /* System header to define __stub macros and hopefully few prototypes, |
5178 which can conflict with char $ac_func(); below. */ | 5172 which can conflict with char $ac_func(); below. */ |
5179 #include <assert.h> | 5173 #include <assert.h> |
5180 /* Override any gcc2 internal prototype to avoid an error. */ | 5174 /* Override any gcc2 internal prototype to avoid an error. */ |
5193 $ac_func(); | 5187 $ac_func(); |
5194 #endif | 5188 #endif |
5195 | 5189 |
5196 ; return 0; } | 5190 ; return 0; } |
5197 EOF | 5191 EOF |
5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5199 rm -rf conftest* | 5193 rm -rf conftest* |
5200 eval "ac_cv_func_$ac_func=yes" | 5194 eval "ac_cv_func_$ac_func=yes" |
5201 else | 5195 else |
5202 echo "configure: failed program was:" >&5 | 5196 echo "configure: failed program was:" >&5 |
5203 cat conftest.$ac_ext >&5 | 5197 cat conftest.$ac_ext >&5 |
5222 fi | 5216 fi |
5223 done | 5217 done |
5224 | 5218 |
5225 | 5219 |
5226 echo "checking type of mail spool file locking" 1>&6 | 5220 echo "checking type of mail spool file locking" 1>&6 |
5227 echo "configure:5228: checking type of mail spool file locking" >&5 | 5221 echo "configure:5222: checking type of mail spool file locking" >&5 |
5228 for ac_func in lockf flock | 5222 for ac_func in lockf flock |
5229 do | 5223 do |
5230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5231 echo "configure:5232: checking for $ac_func" >&5 | 5225 echo "configure:5226: checking for $ac_func" >&5 |
5232 | 5226 |
5233 cat > conftest.$ac_ext <<EOF | 5227 cat > conftest.$ac_ext <<EOF |
5234 #line 5235 "configure" | 5228 #line 5229 "configure" |
5235 #include "confdefs.h" | 5229 #include "confdefs.h" |
5236 /* System header to define __stub macros and hopefully few prototypes, | 5230 /* System header to define __stub macros and hopefully few prototypes, |
5237 which can conflict with char $ac_func(); below. */ | 5231 which can conflict with char $ac_func(); below. */ |
5238 #include <assert.h> | 5232 #include <assert.h> |
5239 /* Override any gcc2 internal prototype to avoid an error. */ | 5233 /* Override any gcc2 internal prototype to avoid an error. */ |
5252 $ac_func(); | 5246 $ac_func(); |
5253 #endif | 5247 #endif |
5254 | 5248 |
5255 ; return 0; } | 5249 ; return 0; } |
5256 EOF | 5250 EOF |
5257 if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5258 rm -rf conftest* | 5252 rm -rf conftest* |
5259 eval "ac_cv_func_$ac_func=yes" | 5253 eval "ac_cv_func_$ac_func=yes" |
5260 else | 5254 else |
5261 echo "configure: failed program was:" >&5 | 5255 echo "configure: failed program was:" >&5 |
5262 cat conftest.$ac_ext >&5 | 5256 cat conftest.$ac_ext >&5 |
5334 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5328 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5335 | 5329 |
5336 case "$opsys" in decosf*) | 5330 case "$opsys" in decosf*) |
5337 | 5331 |
5338 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5332 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5339 echo "configure:5340: checking for cma_open in -lpthreads" >&5 | 5333 echo "configure:5334: checking for cma_open in -lpthreads" >&5 |
5340 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5334 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5341 | 5335 |
5342 xe_check_libs=" -lpthreads " | 5336 xe_check_libs=" -lpthreads " |
5343 cat > conftest.$ac_ext <<EOF | 5337 cat > conftest.$ac_ext <<EOF |
5344 #line 5345 "configure" | 5338 #line 5339 "configure" |
5345 #include "confdefs.h" | 5339 #include "confdefs.h" |
5346 /* Override any gcc2 internal prototype to avoid an error. */ | 5340 /* Override any gcc2 internal prototype to avoid an error. */ |
5347 /* We use char because int might match the return type of a gcc2 | 5341 /* We use char because int might match the return type of a gcc2 |
5348 builtin and then its argument prototype would still apply. */ | 5342 builtin and then its argument prototype would still apply. */ |
5349 char cma_open(); | 5343 char cma_open(); |
5350 | 5344 |
5351 int main() { | 5345 int main() { |
5352 cma_open() | 5346 cma_open() |
5353 ; return 0; } | 5347 ; return 0; } |
5354 EOF | 5348 EOF |
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5356 rm -rf conftest* | 5350 rm -rf conftest* |
5357 eval "ac_cv_lib_$ac_lib_var=yes" | 5351 eval "ac_cv_lib_$ac_lib_var=yes" |
5358 else | 5352 else |
5359 echo "configure: failed program was:" >&5 | 5353 echo "configure: failed program was:" >&5 |
5360 cat conftest.$ac_ext >&5 | 5354 cat conftest.$ac_ext >&5 |
5387 c_switch_site="$c_switch_site -threads" ;; | 5381 c_switch_site="$c_switch_site -threads" ;; |
5388 esac | 5382 esac |
5389 | 5383 |
5390 | 5384 |
5391 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5385 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5392 echo "configure:5393: checking whether the -xildoff compiler flag is required" >&5 | 5386 echo "configure:5387: checking whether the -xildoff compiler flag is required" >&5 |
5393 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5387 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5394 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5388 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5395 then echo "$ac_t""no" 1>&6; | 5389 then echo "$ac_t""no" 1>&6; |
5396 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 | 5390 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 |
5397 fi | 5391 fi |
5399 fi | 5393 fi |
5400 | 5394 |
5401 if test "$opsys" = "sol2"; then | 5395 if test "$opsys" = "sol2"; then |
5402 if test "$os_release" -ge 506; then | 5396 if test "$os_release" -ge 506; then |
5403 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5397 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5404 echo "configure:5405: checking for \"-z ignore\" linker flag" >&5 | 5398 echo "configure:5399: checking for \"-z ignore\" linker flag" >&5 |
5405 case "`ld -h 2>&1`" in | 5399 case "`ld -h 2>&1`" in |
5406 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5400 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5407 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5401 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5408 *) echo "$ac_t""no" 1>&6 ;; | 5402 *) echo "$ac_t""no" 1>&6 ;; |
5409 esac | 5403 esac |
5410 fi | 5404 fi |
5411 fi | 5405 fi |
5412 | 5406 |
5413 | 5407 |
5414 echo "checking "for specified window system"" 1>&6 | 5408 echo "checking "for specified window system"" 1>&6 |
5415 echo "configure:5416: checking "for specified window system"" >&5 | 5409 echo "configure:5410: checking "for specified window system"" >&5 |
5416 | 5410 |
5417 | 5411 |
5418 GNOME_CONFIG=no | 5412 GNOME_CONFIG=no |
5419 GTK_CONFIG=no | 5413 GTK_CONFIG=no |
5420 | 5414 |
5421 if test "$with_gnome" != "no"; then | 5415 if test "$with_gnome" != "no"; then |
5422 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5416 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5423 echo "configure:5424: checking for GNOME configuration script" >&5 | 5417 echo "configure:5418: checking for GNOME configuration script" >&5 |
5424 for possible in gnome-config | 5418 for possible in gnome-config |
5425 do | 5419 do |
5426 possible_version=`${possible} --version 2> /dev/null` | 5420 possible_version=`${possible} --version 2> /dev/null` |
5427 if test "x${possible_version}" != "x"; then | 5421 if test "x${possible_version}" != "x"; then |
5428 GNOME_CONFIG="${possible}" | 5422 GNOME_CONFIG="${possible}" |
5449 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5443 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5450 fi | 5444 fi |
5451 | 5445 |
5452 if test "$with_gtk" != "no";then | 5446 if test "$with_gtk" != "no";then |
5453 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5447 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5454 echo "configure:5455: checking for GTK configuration script" >&5 | 5448 echo "configure:5449: checking for GTK configuration script" >&5 |
5455 for possible in gtk12-config gtk14-config gtk-config | 5449 for possible in gtk12-config gtk14-config gtk-config |
5456 do | 5450 do |
5457 possible_version=`${possible} --version 2> /dev/null` | 5451 possible_version=`${possible} --version 2> /dev/null` |
5458 if test "x${possible_version}" != "x"; then | 5452 if test "x${possible_version}" != "x"; then |
5459 GTK_CONFIG="${possible}" | 5453 GTK_CONFIG="${possible}" |
5471 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5465 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5472 fi | 5466 fi |
5473 | 5467 |
5474 if test "${GTK_CONFIG}" != "no"; then | 5468 if test "${GTK_CONFIG}" != "no"; then |
5475 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5469 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5476 echo "configure:5477: checking gtk version" >&5 | 5470 echo "configure:5471: checking gtk version" >&5 |
5477 GTK_VERSION=`${GTK_CONFIG} --version` | 5471 GTK_VERSION=`${GTK_CONFIG} --version` |
5478 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5472 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5479 | 5473 |
5480 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5474 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5481 echo "configure:5482: checking gtk libs" >&5 | 5475 echo "configure:5476: checking gtk libs" >&5 |
5482 GTK_LIBS=`${GTK_CONFIG} --libs` | 5476 GTK_LIBS=`${GTK_CONFIG} --libs` |
5483 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5477 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5484 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5478 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5485 | 5479 |
5486 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5480 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5487 echo "configure:5488: checking gtk cflags" >&5 | 5481 echo "configure:5482: checking gtk cflags" >&5 |
5488 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5482 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5489 if test "$GCC" = "yes"; then | 5483 if test "$GCC" = "yes"; then |
5490 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5484 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5491 fi | 5485 fi |
5492 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5486 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5493 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5487 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5494 | 5488 |
5495 | 5489 |
5496 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5490 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5497 echo "configure:5498: checking for main in -lgdk_imlib" >&5 | 5491 echo "configure:5492: checking for main in -lgdk_imlib" >&5 |
5498 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5492 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5499 | 5493 |
5500 xe_check_libs=" -lgdk_imlib " | 5494 xe_check_libs=" -lgdk_imlib " |
5501 cat > conftest.$ac_ext <<EOF | 5495 cat > conftest.$ac_ext <<EOF |
5502 #line 5503 "configure" | 5496 #line 5497 "configure" |
5503 #include "confdefs.h" | 5497 #include "confdefs.h" |
5504 | 5498 |
5505 int main() { | 5499 int main() { |
5506 main() | 5500 main() |
5507 ; return 0; } | 5501 ; return 0; } |
5508 EOF | 5502 EOF |
5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5503 if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5510 rm -rf conftest* | 5504 rm -rf conftest* |
5511 eval "ac_cv_lib_$ac_lib_var=yes" | 5505 eval "ac_cv_lib_$ac_lib_var=yes" |
5512 else | 5506 else |
5513 echo "configure: failed program was:" >&5 | 5507 echo "configure: failed program was:" >&5 |
5514 cat conftest.$ac_ext >&5 | 5508 cat conftest.$ac_ext >&5 |
5526 fi | 5520 fi |
5527 | 5521 |
5528 | 5522 |
5529 | 5523 |
5530 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5524 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5531 echo "configure:5532: checking for Imlib_init in -lImlib" >&5 | 5525 echo "configure:5526: checking for Imlib_init in -lImlib" >&5 |
5532 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5526 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5533 | 5527 |
5534 xe_check_libs=" -lImlib " | 5528 xe_check_libs=" -lImlib " |
5535 cat > conftest.$ac_ext <<EOF | 5529 cat > conftest.$ac_ext <<EOF |
5536 #line 5537 "configure" | 5530 #line 5531 "configure" |
5537 #include "confdefs.h" | 5531 #include "confdefs.h" |
5538 /* Override any gcc2 internal prototype to avoid an error. */ | 5532 /* Override any gcc2 internal prototype to avoid an error. */ |
5539 /* We use char because int might match the return type of a gcc2 | 5533 /* We use char because int might match the return type of a gcc2 |
5540 builtin and then its argument prototype would still apply. */ | 5534 builtin and then its argument prototype would still apply. */ |
5541 char Imlib_init(); | 5535 char Imlib_init(); |
5542 | 5536 |
5543 int main() { | 5537 int main() { |
5544 Imlib_init() | 5538 Imlib_init() |
5545 ; return 0; } | 5539 ; return 0; } |
5546 EOF | 5540 EOF |
5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5548 rm -rf conftest* | 5542 rm -rf conftest* |
5549 eval "ac_cv_lib_$ac_lib_var=yes" | 5543 eval "ac_cv_lib_$ac_lib_var=yes" |
5550 else | 5544 else |
5551 echo "configure: failed program was:" >&5 | 5545 echo "configure: failed program was:" >&5 |
5552 cat conftest.$ac_ext >&5 | 5546 cat conftest.$ac_ext >&5 |
5565 | 5559 |
5566 | 5560 |
5567 for ac_func in gdk_imlib_init | 5561 for ac_func in gdk_imlib_init |
5568 do | 5562 do |
5569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5570 echo "configure:5571: checking for $ac_func" >&5 | 5564 echo "configure:5565: checking for $ac_func" >&5 |
5571 | 5565 |
5572 cat > conftest.$ac_ext <<EOF | 5566 cat > conftest.$ac_ext <<EOF |
5573 #line 5574 "configure" | 5567 #line 5568 "configure" |
5574 #include "confdefs.h" | 5568 #include "confdefs.h" |
5575 /* System header to define __stub macros and hopefully few prototypes, | 5569 /* System header to define __stub macros and hopefully few prototypes, |
5576 which can conflict with char $ac_func(); below. */ | 5570 which can conflict with char $ac_func(); below. */ |
5577 #include <assert.h> | 5571 #include <assert.h> |
5578 /* Override any gcc2 internal prototype to avoid an error. */ | 5572 /* Override any gcc2 internal prototype to avoid an error. */ |
5591 $ac_func(); | 5585 $ac_func(); |
5592 #endif | 5586 #endif |
5593 | 5587 |
5594 ; return 0; } | 5588 ; return 0; } |
5595 EOF | 5589 EOF |
5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5590 if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5597 rm -rf conftest* | 5591 rm -rf conftest* |
5598 eval "ac_cv_func_$ac_func=yes" | 5592 eval "ac_cv_func_$ac_func=yes" |
5599 else | 5593 else |
5600 echo "configure: failed program was:" >&5 | 5594 echo "configure: failed program was:" >&5 |
5601 cat conftest.$ac_ext >&5 | 5595 cat conftest.$ac_ext >&5 |
5657 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5651 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5658 for ac_hdr in glade/glade.h glade.h | 5652 for ac_hdr in glade/glade.h glade.h |
5659 do | 5653 do |
5660 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5662 echo "configure:5663: checking for $ac_hdr" >&5 | 5656 echo "configure:5657: checking for $ac_hdr" >&5 |
5663 | 5657 |
5664 cat > conftest.$ac_ext <<EOF | 5658 cat > conftest.$ac_ext <<EOF |
5665 #line 5666 "configure" | 5659 #line 5660 "configure" |
5666 #include "confdefs.h" | 5660 #include "confdefs.h" |
5667 #include <$ac_hdr> | 5661 #include <$ac_hdr> |
5668 EOF | 5662 EOF |
5669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5670 { (eval echo configure:5671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5664 { (eval echo configure:5665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5672 if test -z "$ac_err"; then | 5666 if test -z "$ac_err"; then |
5673 rm -rf conftest* | 5667 rm -rf conftest* |
5674 eval "ac_cv_header_$ac_safe=yes" | 5668 eval "ac_cv_header_$ac_safe=yes" |
5675 else | 5669 else |
5696 fi | 5690 fi |
5697 done | 5691 done |
5698 | 5692 |
5699 | 5693 |
5700 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5694 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5701 echo "configure:5702: checking for main in -lxml" >&5 | 5695 echo "configure:5696: checking for main in -lxml" >&5 |
5702 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5696 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5703 | 5697 |
5704 xe_check_libs=" -lxml " | 5698 xe_check_libs=" -lxml " |
5705 cat > conftest.$ac_ext <<EOF | 5699 cat > conftest.$ac_ext <<EOF |
5706 #line 5707 "configure" | 5700 #line 5701 "configure" |
5707 #include "confdefs.h" | 5701 #include "confdefs.h" |
5708 | 5702 |
5709 int main() { | 5703 int main() { |
5710 main() | 5704 main() |
5711 ; return 0; } | 5705 ; return 0; } |
5712 EOF | 5706 EOF |
5713 if { (eval echo configure:5714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5714 rm -rf conftest* | 5708 rm -rf conftest* |
5715 eval "ac_cv_lib_$ac_lib_var=yes" | 5709 eval "ac_cv_lib_$ac_lib_var=yes" |
5716 else | 5710 else |
5717 echo "configure: failed program was:" >&5 | 5711 echo "configure: failed program was:" >&5 |
5718 cat conftest.$ac_ext >&5 | 5712 cat conftest.$ac_ext >&5 |
5730 fi | 5724 fi |
5731 | 5725 |
5732 | 5726 |
5733 | 5727 |
5734 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5728 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5735 echo "configure:5736: checking for main in -lglade" >&5 | 5729 echo "configure:5730: checking for main in -lglade" >&5 |
5736 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5730 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5737 | 5731 |
5738 xe_check_libs=" -lglade " | 5732 xe_check_libs=" -lglade " |
5739 cat > conftest.$ac_ext <<EOF | 5733 cat > conftest.$ac_ext <<EOF |
5740 #line 5741 "configure" | 5734 #line 5735 "configure" |
5741 #include "confdefs.h" | 5735 #include "confdefs.h" |
5742 | 5736 |
5743 int main() { | 5737 int main() { |
5744 main() | 5738 main() |
5745 ; return 0; } | 5739 ; return 0; } |
5746 EOF | 5740 EOF |
5747 if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5741 if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5748 rm -rf conftest* | 5742 rm -rf conftest* |
5749 eval "ac_cv_lib_$ac_lib_var=yes" | 5743 eval "ac_cv_lib_$ac_lib_var=yes" |
5750 else | 5744 else |
5751 echo "configure: failed program was:" >&5 | 5745 echo "configure: failed program was:" >&5 |
5752 cat conftest.$ac_ext >&5 | 5746 cat conftest.$ac_ext >&5 |
5764 fi | 5758 fi |
5765 | 5759 |
5766 | 5760 |
5767 | 5761 |
5768 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5762 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5769 echo "configure:5770: checking for main in -lglade-gnome" >&5 | 5763 echo "configure:5764: checking for main in -lglade-gnome" >&5 |
5770 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5764 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5771 | 5765 |
5772 xe_check_libs=" -lglade-gnome " | 5766 xe_check_libs=" -lglade-gnome " |
5773 cat > conftest.$ac_ext <<EOF | 5767 cat > conftest.$ac_ext <<EOF |
5774 #line 5775 "configure" | 5768 #line 5769 "configure" |
5775 #include "confdefs.h" | 5769 #include "confdefs.h" |
5776 | 5770 |
5777 int main() { | 5771 int main() { |
5778 main() | 5772 main() |
5779 ; return 0; } | 5773 ; return 0; } |
5780 EOF | 5774 EOF |
5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5782 rm -rf conftest* | 5776 rm -rf conftest* |
5783 eval "ac_cv_lib_$ac_lib_var=yes" | 5777 eval "ac_cv_lib_$ac_lib_var=yes" |
5784 else | 5778 else |
5785 echo "configure: failed program was:" >&5 | 5779 echo "configure: failed program was:" >&5 |
5786 cat conftest.$ac_ext >&5 | 5780 cat conftest.$ac_ext >&5 |
5797 echo "$ac_t""no" 1>&6 | 5791 echo "$ac_t""no" 1>&6 |
5798 fi | 5792 fi |
5799 | 5793 |
5800 | 5794 |
5801 cat > conftest.$ac_ext <<EOF | 5795 cat > conftest.$ac_ext <<EOF |
5802 #line 5803 "configure" | 5796 #line 5797 "configure" |
5803 #include "confdefs.h" | 5797 #include "confdefs.h" |
5804 #include <glade/glade-xml.h> | 5798 #include <glade/glade-xml.h> |
5805 EOF | 5799 EOF |
5806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5807 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5801 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5856 # If we find X, set shell vars x_includes and x_libraries to the | 5850 # If we find X, set shell vars x_includes and x_libraries to the |
5857 # paths, otherwise set no_x=yes. | 5851 # paths, otherwise set no_x=yes. |
5858 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5852 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5859 # --without-x overrides everything else, but does not touch the cache. | 5853 # --without-x overrides everything else, but does not touch the cache. |
5860 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5854 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5861 echo "configure:5862: checking for X" >&5 | 5855 echo "configure:5856: checking for X" >&5 |
5862 | 5856 |
5863 # Check whether --with-x or --without-x was given. | 5857 # Check whether --with-x or --without-x was given. |
5864 if test "${with_x+set}" = set; then | 5858 if test "${with_x+set}" = set; then |
5865 withval="$with_x" | 5859 withval="$with_x" |
5866 : | 5860 : |
5916 # Guess where to find include files, by looking for this one X11 .h file. | 5910 # Guess where to find include files, by looking for this one X11 .h file. |
5917 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5911 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5918 | 5912 |
5919 # First, try using that file with no special directory specified. | 5913 # First, try using that file with no special directory specified. |
5920 cat > conftest.$ac_ext <<EOF | 5914 cat > conftest.$ac_ext <<EOF |
5921 #line 5922 "configure" | 5915 #line 5916 "configure" |
5922 #include "confdefs.h" | 5916 #include "confdefs.h" |
5923 #include <$x_direct_test_include> | 5917 #include <$x_direct_test_include> |
5924 EOF | 5918 EOF |
5925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5926 { (eval echo configure:5927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5920 { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5928 if test -z "$ac_err"; then | 5922 if test -z "$ac_err"; then |
5929 rm -rf conftest* | 5923 rm -rf conftest* |
5930 # We can compile using X headers with no special include directory. | 5924 # We can compile using X headers with no special include directory. |
5931 ac_x_includes= | 5925 ac_x_includes= |
5990 # See if we find them without any special options. | 5984 # See if we find them without any special options. |
5991 # Don't add to $LIBS permanently. | 5985 # Don't add to $LIBS permanently. |
5992 ac_save_LIBS="$LIBS" | 5986 ac_save_LIBS="$LIBS" |
5993 LIBS="-l$x_direct_test_library $LIBS" | 5987 LIBS="-l$x_direct_test_library $LIBS" |
5994 cat > conftest.$ac_ext <<EOF | 5988 cat > conftest.$ac_ext <<EOF |
5995 #line 5996 "configure" | 5989 #line 5990 "configure" |
5996 #include "confdefs.h" | 5990 #include "confdefs.h" |
5997 | 5991 |
5998 int main() { | 5992 int main() { |
5999 ${x_direct_test_function}() | 5993 ${x_direct_test_function}() |
6000 ; return 0; } | 5994 ; return 0; } |
6001 EOF | 5995 EOF |
6002 if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5996 if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6003 rm -rf conftest* | 5997 rm -rf conftest* |
6004 LIBS="$ac_save_LIBS" | 5998 LIBS="$ac_save_LIBS" |
6005 # We can link X programs with no special library path. | 5999 # We can link X programs with no special library path. |
6006 ac_x_libraries= | 6000 ac_x_libraries= |
6007 else | 6001 else |
6106 # For Solaris; some versions of Sun CC require a space after -R and | 6100 # For Solaris; some versions of Sun CC require a space after -R and |
6107 # others require no space. Words are not sufficient . . . . | 6101 # others require no space. Words are not sufficient . . . . |
6108 case "`(uname -sr) 2>/dev/null`" in | 6102 case "`(uname -sr) 2>/dev/null`" in |
6109 "SunOS 5"*) | 6103 "SunOS 5"*) |
6110 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6104 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6111 echo "configure:6112: checking whether -R must be followed by a space" >&5 | 6105 echo "configure:6106: checking whether -R must be followed by a space" >&5 |
6112 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6113 cat > conftest.$ac_ext <<EOF | 6107 cat > conftest.$ac_ext <<EOF |
6114 #line 6115 "configure" | 6108 #line 6109 "configure" |
6115 #include "confdefs.h" | 6109 #include "confdefs.h" |
6116 | 6110 |
6117 int main() { | 6111 int main() { |
6118 | 6112 |
6119 ; return 0; } | 6113 ; return 0; } |
6120 EOF | 6114 EOF |
6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6122 rm -rf conftest* | 6116 rm -rf conftest* |
6123 ac_R_nospace=yes | 6117 ac_R_nospace=yes |
6124 else | 6118 else |
6125 echo "configure: failed program was:" >&5 | 6119 echo "configure: failed program was:" >&5 |
6126 cat conftest.$ac_ext >&5 | 6120 cat conftest.$ac_ext >&5 |
6132 echo "$ac_t""no" 1>&6 | 6126 echo "$ac_t""no" 1>&6 |
6133 X_LIBS="$X_LIBS -R$x_libraries" | 6127 X_LIBS="$X_LIBS -R$x_libraries" |
6134 else | 6128 else |
6135 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6129 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6136 cat > conftest.$ac_ext <<EOF | 6130 cat > conftest.$ac_ext <<EOF |
6137 #line 6138 "configure" | 6131 #line 6132 "configure" |
6138 #include "confdefs.h" | 6132 #include "confdefs.h" |
6139 | 6133 |
6140 int main() { | 6134 int main() { |
6141 | 6135 |
6142 ; return 0; } | 6136 ; return 0; } |
6143 EOF | 6137 EOF |
6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6145 rm -rf conftest* | 6139 rm -rf conftest* |
6146 ac_R_space=yes | 6140 ac_R_space=yes |
6147 else | 6141 else |
6148 echo "configure: failed program was:" >&5 | 6142 echo "configure: failed program was:" >&5 |
6149 cat conftest.$ac_ext >&5 | 6143 cat conftest.$ac_ext >&5 |
6175 if test "$with_dnet" = "no" ; then | 6169 if test "$with_dnet" = "no" ; then |
6176 ac_cv_lib_dnet_dnet_ntoa=no | 6170 ac_cv_lib_dnet_dnet_ntoa=no |
6177 else | 6171 else |
6178 | 6172 |
6179 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6173 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6180 echo "configure:6181: checking for dnet_ntoa in -ldnet" >&5 | 6174 echo "configure:6175: checking for dnet_ntoa in -ldnet" >&5 |
6181 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6175 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6182 | 6176 |
6183 xe_check_libs=" -ldnet " | 6177 xe_check_libs=" -ldnet " |
6184 cat > conftest.$ac_ext <<EOF | 6178 cat > conftest.$ac_ext <<EOF |
6185 #line 6186 "configure" | 6179 #line 6180 "configure" |
6186 #include "confdefs.h" | 6180 #include "confdefs.h" |
6187 /* Override any gcc2 internal prototype to avoid an error. */ | 6181 /* Override any gcc2 internal prototype to avoid an error. */ |
6188 /* We use char because int might match the return type of a gcc2 | 6182 /* We use char because int might match the return type of a gcc2 |
6189 builtin and then its argument prototype would still apply. */ | 6183 builtin and then its argument prototype would still apply. */ |
6190 char dnet_ntoa(); | 6184 char dnet_ntoa(); |
6191 | 6185 |
6192 int main() { | 6186 int main() { |
6193 dnet_ntoa() | 6187 dnet_ntoa() |
6194 ; return 0; } | 6188 ; return 0; } |
6195 EOF | 6189 EOF |
6196 if { (eval echo configure:6197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6190 if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6197 rm -rf conftest* | 6191 rm -rf conftest* |
6198 eval "ac_cv_lib_$ac_lib_var=yes" | 6192 eval "ac_cv_lib_$ac_lib_var=yes" |
6199 else | 6193 else |
6200 echo "configure: failed program was:" >&5 | 6194 echo "configure: failed program was:" >&5 |
6201 cat conftest.$ac_ext >&5 | 6195 cat conftest.$ac_ext >&5 |
6215 fi | 6209 fi |
6216 | 6210 |
6217 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6211 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6218 | 6212 |
6219 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6213 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6220 echo "configure:6221: checking for dnet_ntoa in -ldnet_stub" >&5 | 6214 echo "configure:6215: checking for dnet_ntoa in -ldnet_stub" >&5 |
6221 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6215 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6222 | 6216 |
6223 xe_check_libs=" -ldnet_stub " | 6217 xe_check_libs=" -ldnet_stub " |
6224 cat > conftest.$ac_ext <<EOF | 6218 cat > conftest.$ac_ext <<EOF |
6225 #line 6226 "configure" | 6219 #line 6220 "configure" |
6226 #include "confdefs.h" | 6220 #include "confdefs.h" |
6227 /* Override any gcc2 internal prototype to avoid an error. */ | 6221 /* Override any gcc2 internal prototype to avoid an error. */ |
6228 /* We use char because int might match the return type of a gcc2 | 6222 /* We use char because int might match the return type of a gcc2 |
6229 builtin and then its argument prototype would still apply. */ | 6223 builtin and then its argument prototype would still apply. */ |
6230 char dnet_ntoa(); | 6224 char dnet_ntoa(); |
6231 | 6225 |
6232 int main() { | 6226 int main() { |
6233 dnet_ntoa() | 6227 dnet_ntoa() |
6234 ; return 0; } | 6228 ; return 0; } |
6235 EOF | 6229 EOF |
6236 if { (eval echo configure:6237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6230 if { (eval echo configure:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6237 rm -rf conftest* | 6231 rm -rf conftest* |
6238 eval "ac_cv_lib_$ac_lib_var=yes" | 6232 eval "ac_cv_lib_$ac_lib_var=yes" |
6239 else | 6233 else |
6240 echo "configure: failed program was:" >&5 | 6234 echo "configure: failed program was:" >&5 |
6241 cat conftest.$ac_ext >&5 | 6235 cat conftest.$ac_ext >&5 |
6260 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6254 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6261 # needs -lnsl. | 6255 # needs -lnsl. |
6262 # The nsl library prevents programs from opening the X display | 6256 # The nsl library prevents programs from opening the X display |
6263 # on Irix 5.2, according to dickey@clark.net. | 6257 # on Irix 5.2, according to dickey@clark.net. |
6264 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6258 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6265 echo "configure:6266: checking for gethostbyname" >&5 | 6259 echo "configure:6260: checking for gethostbyname" >&5 |
6266 | 6260 |
6267 cat > conftest.$ac_ext <<EOF | 6261 cat > conftest.$ac_ext <<EOF |
6268 #line 6269 "configure" | 6262 #line 6263 "configure" |
6269 #include "confdefs.h" | 6263 #include "confdefs.h" |
6270 /* System header to define __stub macros and hopefully few prototypes, | 6264 /* System header to define __stub macros and hopefully few prototypes, |
6271 which can conflict with char gethostbyname(); below. */ | 6265 which can conflict with char gethostbyname(); below. */ |
6272 #include <assert.h> | 6266 #include <assert.h> |
6273 /* Override any gcc2 internal prototype to avoid an error. */ | 6267 /* Override any gcc2 internal prototype to avoid an error. */ |
6286 gethostbyname(); | 6280 gethostbyname(); |
6287 #endif | 6281 #endif |
6288 | 6282 |
6289 ; return 0; } | 6283 ; return 0; } |
6290 EOF | 6284 EOF |
6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6292 rm -rf conftest* | 6286 rm -rf conftest* |
6293 eval "ac_cv_func_gethostbyname=yes" | 6287 eval "ac_cv_func_gethostbyname=yes" |
6294 else | 6288 else |
6295 echo "configure: failed program was:" >&5 | 6289 echo "configure: failed program was:" >&5 |
6296 cat conftest.$ac_ext >&5 | 6290 cat conftest.$ac_ext >&5 |
6307 fi | 6301 fi |
6308 | 6302 |
6309 if test $ac_cv_func_gethostbyname = no; then | 6303 if test $ac_cv_func_gethostbyname = no; then |
6310 | 6304 |
6311 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6305 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6312 echo "configure:6313: checking for gethostbyname in -lnsl" >&5 | 6306 echo "configure:6307: checking for gethostbyname in -lnsl" >&5 |
6313 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6307 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6314 | 6308 |
6315 xe_check_libs=" -lnsl " | 6309 xe_check_libs=" -lnsl " |
6316 cat > conftest.$ac_ext <<EOF | 6310 cat > conftest.$ac_ext <<EOF |
6317 #line 6318 "configure" | 6311 #line 6312 "configure" |
6318 #include "confdefs.h" | 6312 #include "confdefs.h" |
6319 /* Override any gcc2 internal prototype to avoid an error. */ | 6313 /* Override any gcc2 internal prototype to avoid an error. */ |
6320 /* We use char because int might match the return type of a gcc2 | 6314 /* We use char because int might match the return type of a gcc2 |
6321 builtin and then its argument prototype would still apply. */ | 6315 builtin and then its argument prototype would still apply. */ |
6322 char gethostbyname(); | 6316 char gethostbyname(); |
6323 | 6317 |
6324 int main() { | 6318 int main() { |
6325 gethostbyname() | 6319 gethostbyname() |
6326 ; return 0; } | 6320 ; return 0; } |
6327 EOF | 6321 EOF |
6328 if { (eval echo configure:6329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6329 rm -rf conftest* | 6323 rm -rf conftest* |
6330 eval "ac_cv_lib_$ac_lib_var=yes" | 6324 eval "ac_cv_lib_$ac_lib_var=yes" |
6331 else | 6325 else |
6332 echo "configure: failed program was:" >&5 | 6326 echo "configure: failed program was:" >&5 |
6333 cat conftest.$ac_ext >&5 | 6327 cat conftest.$ac_ext >&5 |
6353 # on later versions), says simon@lia.di.epfl.ch: it contains | 6347 # on later versions), says simon@lia.di.epfl.ch: it contains |
6354 # gethostby* variants that don't use the nameserver (or something). | 6348 # gethostby* variants that don't use the nameserver (or something). |
6355 # -lsocket must be given before -lnsl if both are needed. | 6349 # -lsocket must be given before -lnsl if both are needed. |
6356 # We assume that if connect needs -lnsl, so does gethostbyname. | 6350 # We assume that if connect needs -lnsl, so does gethostbyname. |
6357 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6351 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6358 echo "configure:6359: checking for connect" >&5 | 6352 echo "configure:6353: checking for connect" >&5 |
6359 | 6353 |
6360 cat > conftest.$ac_ext <<EOF | 6354 cat > conftest.$ac_ext <<EOF |
6361 #line 6362 "configure" | 6355 #line 6356 "configure" |
6362 #include "confdefs.h" | 6356 #include "confdefs.h" |
6363 /* System header to define __stub macros and hopefully few prototypes, | 6357 /* System header to define __stub macros and hopefully few prototypes, |
6364 which can conflict with char connect(); below. */ | 6358 which can conflict with char connect(); below. */ |
6365 #include <assert.h> | 6359 #include <assert.h> |
6366 /* Override any gcc2 internal prototype to avoid an error. */ | 6360 /* Override any gcc2 internal prototype to avoid an error. */ |
6379 connect(); | 6373 connect(); |
6380 #endif | 6374 #endif |
6381 | 6375 |
6382 ; return 0; } | 6376 ; return 0; } |
6383 EOF | 6377 EOF |
6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6385 rm -rf conftest* | 6379 rm -rf conftest* |
6386 eval "ac_cv_func_connect=yes" | 6380 eval "ac_cv_func_connect=yes" |
6387 else | 6381 else |
6388 echo "configure: failed program was:" >&5 | 6382 echo "configure: failed program was:" >&5 |
6389 cat conftest.$ac_ext >&5 | 6383 cat conftest.$ac_ext >&5 |
6402 if test $ac_cv_func_connect = no; then | 6396 if test $ac_cv_func_connect = no; then |
6403 | 6397 |
6404 xe_msg_checking="for connect in -lsocket" | 6398 xe_msg_checking="for connect in -lsocket" |
6405 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6399 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6406 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6400 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6407 echo "configure:6408: checking "$xe_msg_checking"" >&5 | 6401 echo "configure:6402: checking "$xe_msg_checking"" >&5 |
6408 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6402 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6409 | 6403 |
6410 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6404 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6411 cat > conftest.$ac_ext <<EOF | 6405 cat > conftest.$ac_ext <<EOF |
6412 #line 6413 "configure" | 6406 #line 6407 "configure" |
6413 #include "confdefs.h" | 6407 #include "confdefs.h" |
6414 /* Override any gcc2 internal prototype to avoid an error. */ | 6408 /* Override any gcc2 internal prototype to avoid an error. */ |
6415 /* We use char because int might match the return type of a gcc2 | 6409 /* We use char because int might match the return type of a gcc2 |
6416 builtin and then its argument prototype would still apply. */ | 6410 builtin and then its argument prototype would still apply. */ |
6417 char connect(); | 6411 char connect(); |
6418 | 6412 |
6419 int main() { | 6413 int main() { |
6420 connect() | 6414 connect() |
6421 ; return 0; } | 6415 ; return 0; } |
6422 EOF | 6416 EOF |
6423 if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6424 rm -rf conftest* | 6418 rm -rf conftest* |
6425 eval "ac_cv_lib_$ac_lib_var=yes" | 6419 eval "ac_cv_lib_$ac_lib_var=yes" |
6426 else | 6420 else |
6427 echo "configure: failed program was:" >&5 | 6421 echo "configure: failed program was:" >&5 |
6428 cat conftest.$ac_ext >&5 | 6422 cat conftest.$ac_ext >&5 |
6442 | 6436 |
6443 fi | 6437 fi |
6444 | 6438 |
6445 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6439 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6446 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6440 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6447 echo "configure:6448: checking for remove" >&5 | 6441 echo "configure:6442: checking for remove" >&5 |
6448 | 6442 |
6449 cat > conftest.$ac_ext <<EOF | 6443 cat > conftest.$ac_ext <<EOF |
6450 #line 6451 "configure" | 6444 #line 6445 "configure" |
6451 #include "confdefs.h" | 6445 #include "confdefs.h" |
6452 /* System header to define __stub macros and hopefully few prototypes, | 6446 /* System header to define __stub macros and hopefully few prototypes, |
6453 which can conflict with char remove(); below. */ | 6447 which can conflict with char remove(); below. */ |
6454 #include <assert.h> | 6448 #include <assert.h> |
6455 /* Override any gcc2 internal prototype to avoid an error. */ | 6449 /* Override any gcc2 internal prototype to avoid an error. */ |
6468 remove(); | 6462 remove(); |
6469 #endif | 6463 #endif |
6470 | 6464 |
6471 ; return 0; } | 6465 ; return 0; } |
6472 EOF | 6466 EOF |
6473 if { (eval echo configure:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6474 rm -rf conftest* | 6468 rm -rf conftest* |
6475 eval "ac_cv_func_remove=yes" | 6469 eval "ac_cv_func_remove=yes" |
6476 else | 6470 else |
6477 echo "configure: failed program was:" >&5 | 6471 echo "configure: failed program was:" >&5 |
6478 cat conftest.$ac_ext >&5 | 6472 cat conftest.$ac_ext >&5 |
6489 fi | 6483 fi |
6490 | 6484 |
6491 if test $ac_cv_func_remove = no; then | 6485 if test $ac_cv_func_remove = no; then |
6492 | 6486 |
6493 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6487 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6494 echo "configure:6495: checking for remove in -lposix" >&5 | 6488 echo "configure:6489: checking for remove in -lposix" >&5 |
6495 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6489 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6496 | 6490 |
6497 xe_check_libs=" -lposix " | 6491 xe_check_libs=" -lposix " |
6498 cat > conftest.$ac_ext <<EOF | 6492 cat > conftest.$ac_ext <<EOF |
6499 #line 6500 "configure" | 6493 #line 6494 "configure" |
6500 #include "confdefs.h" | 6494 #include "confdefs.h" |
6501 /* Override any gcc2 internal prototype to avoid an error. */ | 6495 /* Override any gcc2 internal prototype to avoid an error. */ |
6502 /* We use char because int might match the return type of a gcc2 | 6496 /* We use char because int might match the return type of a gcc2 |
6503 builtin and then its argument prototype would still apply. */ | 6497 builtin and then its argument prototype would still apply. */ |
6504 char remove(); | 6498 char remove(); |
6505 | 6499 |
6506 int main() { | 6500 int main() { |
6507 remove() | 6501 remove() |
6508 ; return 0; } | 6502 ; return 0; } |
6509 EOF | 6503 EOF |
6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6504 if { (eval echo configure:6505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6511 rm -rf conftest* | 6505 rm -rf conftest* |
6512 eval "ac_cv_lib_$ac_lib_var=yes" | 6506 eval "ac_cv_lib_$ac_lib_var=yes" |
6513 else | 6507 else |
6514 echo "configure: failed program was:" >&5 | 6508 echo "configure: failed program was:" >&5 |
6515 cat conftest.$ac_ext >&5 | 6509 cat conftest.$ac_ext >&5 |
6529 | 6523 |
6530 fi | 6524 fi |
6531 | 6525 |
6532 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6533 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6527 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6534 echo "configure:6535: checking for shmat" >&5 | 6528 echo "configure:6529: checking for shmat" >&5 |
6535 | 6529 |
6536 cat > conftest.$ac_ext <<EOF | 6530 cat > conftest.$ac_ext <<EOF |
6537 #line 6538 "configure" | 6531 #line 6532 "configure" |
6538 #include "confdefs.h" | 6532 #include "confdefs.h" |
6539 /* System header to define __stub macros and hopefully few prototypes, | 6533 /* System header to define __stub macros and hopefully few prototypes, |
6540 which can conflict with char shmat(); below. */ | 6534 which can conflict with char shmat(); below. */ |
6541 #include <assert.h> | 6535 #include <assert.h> |
6542 /* Override any gcc2 internal prototype to avoid an error. */ | 6536 /* Override any gcc2 internal prototype to avoid an error. */ |
6555 shmat(); | 6549 shmat(); |
6556 #endif | 6550 #endif |
6557 | 6551 |
6558 ; return 0; } | 6552 ; return 0; } |
6559 EOF | 6553 EOF |
6560 if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6561 rm -rf conftest* | 6555 rm -rf conftest* |
6562 eval "ac_cv_func_shmat=yes" | 6556 eval "ac_cv_func_shmat=yes" |
6563 else | 6557 else |
6564 echo "configure: failed program was:" >&5 | 6558 echo "configure: failed program was:" >&5 |
6565 cat conftest.$ac_ext >&5 | 6559 cat conftest.$ac_ext >&5 |
6576 fi | 6570 fi |
6577 | 6571 |
6578 if test $ac_cv_func_shmat = no; then | 6572 if test $ac_cv_func_shmat = no; then |
6579 | 6573 |
6580 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6574 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6581 echo "configure:6582: checking for shmat in -lipc" >&5 | 6575 echo "configure:6576: checking for shmat in -lipc" >&5 |
6582 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6576 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6583 | 6577 |
6584 xe_check_libs=" -lipc " | 6578 xe_check_libs=" -lipc " |
6585 cat > conftest.$ac_ext <<EOF | 6579 cat > conftest.$ac_ext <<EOF |
6586 #line 6587 "configure" | 6580 #line 6581 "configure" |
6587 #include "confdefs.h" | 6581 #include "confdefs.h" |
6588 /* Override any gcc2 internal prototype to avoid an error. */ | 6582 /* Override any gcc2 internal prototype to avoid an error. */ |
6589 /* We use char because int might match the return type of a gcc2 | 6583 /* We use char because int might match the return type of a gcc2 |
6590 builtin and then its argument prototype would still apply. */ | 6584 builtin and then its argument prototype would still apply. */ |
6591 char shmat(); | 6585 char shmat(); |
6592 | 6586 |
6593 int main() { | 6587 int main() { |
6594 shmat() | 6588 shmat() |
6595 ; return 0; } | 6589 ; return 0; } |
6596 EOF | 6590 EOF |
6597 if { (eval echo configure:6598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6591 if { (eval echo configure:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6598 rm -rf conftest* | 6592 rm -rf conftest* |
6599 eval "ac_cv_lib_$ac_lib_var=yes" | 6593 eval "ac_cv_lib_$ac_lib_var=yes" |
6600 else | 6594 else |
6601 echo "configure: failed program was:" >&5 | 6595 echo "configure: failed program was:" >&5 |
6602 cat conftest.$ac_ext >&5 | 6596 cat conftest.$ac_ext >&5 |
6628 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6622 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6629 | 6623 |
6630 xe_msg_checking="for IceConnectionNumber in -lICE" | 6624 xe_msg_checking="for IceConnectionNumber in -lICE" |
6631 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6625 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6632 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6626 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6633 echo "configure:6634: checking "$xe_msg_checking"" >&5 | 6627 echo "configure:6628: checking "$xe_msg_checking"" >&5 |
6634 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6628 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6635 | 6629 |
6636 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6630 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6637 cat > conftest.$ac_ext <<EOF | 6631 cat > conftest.$ac_ext <<EOF |
6638 #line 6639 "configure" | 6632 #line 6633 "configure" |
6639 #include "confdefs.h" | 6633 #include "confdefs.h" |
6640 /* Override any gcc2 internal prototype to avoid an error. */ | 6634 /* Override any gcc2 internal prototype to avoid an error. */ |
6641 /* We use char because int might match the return type of a gcc2 | 6635 /* We use char because int might match the return type of a gcc2 |
6642 builtin and then its argument prototype would still apply. */ | 6636 builtin and then its argument prototype would still apply. */ |
6643 char IceConnectionNumber(); | 6637 char IceConnectionNumber(); |
6644 | 6638 |
6645 int main() { | 6639 int main() { |
6646 IceConnectionNumber() | 6640 IceConnectionNumber() |
6647 ; return 0; } | 6641 ; return 0; } |
6648 EOF | 6642 EOF |
6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6650 rm -rf conftest* | 6644 rm -rf conftest* |
6651 eval "ac_cv_lib_$ac_lib_var=yes" | 6645 eval "ac_cv_lib_$ac_lib_var=yes" |
6652 else | 6646 else |
6653 echo "configure: failed program was:" >&5 | 6647 echo "configure: failed program was:" >&5 |
6654 cat conftest.$ac_ext >&5 | 6648 cat conftest.$ac_ext >&5 |
6690 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6684 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6691 | 6685 |
6692 | 6686 |
6693 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6687 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6694 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6688 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6695 echo "configure:6696: checking for Xm/Xm.h" >&5 | 6689 echo "configure:6690: checking for Xm/Xm.h" >&5 |
6696 | 6690 |
6697 cat > conftest.$ac_ext <<EOF | 6691 cat > conftest.$ac_ext <<EOF |
6698 #line 6699 "configure" | 6692 #line 6693 "configure" |
6699 #include "confdefs.h" | 6693 #include "confdefs.h" |
6700 #include <Xm/Xm.h> | 6694 #include <Xm/Xm.h> |
6701 EOF | 6695 EOF |
6702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6703 { (eval echo configure:6704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6697 { (eval echo configure:6698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6705 if test -z "$ac_err"; then | 6699 if test -z "$ac_err"; then |
6706 rm -rf conftest* | 6700 rm -rf conftest* |
6707 eval "ac_cv_header_$ac_safe=yes" | 6701 eval "ac_cv_header_$ac_safe=yes" |
6708 else | 6702 else |
6715 rm -f conftest* | 6709 rm -f conftest* |
6716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6717 echo "$ac_t""yes" 1>&6 | 6711 echo "$ac_t""yes" 1>&6 |
6718 | 6712 |
6719 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6713 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6720 echo "configure:6721: checking for XmStringFree in -lXm" >&5 | 6714 echo "configure:6715: checking for XmStringFree in -lXm" >&5 |
6721 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6715 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6722 | 6716 |
6723 xe_check_libs=" -lXm " | 6717 xe_check_libs=" -lXm " |
6724 cat > conftest.$ac_ext <<EOF | 6718 cat > conftest.$ac_ext <<EOF |
6725 #line 6726 "configure" | 6719 #line 6720 "configure" |
6726 #include "confdefs.h" | 6720 #include "confdefs.h" |
6727 /* Override any gcc2 internal prototype to avoid an error. */ | 6721 /* Override any gcc2 internal prototype to avoid an error. */ |
6728 /* We use char because int might match the return type of a gcc2 | 6722 /* We use char because int might match the return type of a gcc2 |
6729 builtin and then its argument prototype would still apply. */ | 6723 builtin and then its argument prototype would still apply. */ |
6730 char XmStringFree(); | 6724 char XmStringFree(); |
6731 | 6725 |
6732 int main() { | 6726 int main() { |
6733 XmStringFree() | 6727 XmStringFree() |
6734 ; return 0; } | 6728 ; return 0; } |
6735 EOF | 6729 EOF |
6736 if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6737 rm -rf conftest* | 6731 rm -rf conftest* |
6738 eval "ac_cv_lib_$ac_lib_var=yes" | 6732 eval "ac_cv_lib_$ac_lib_var=yes" |
6739 else | 6733 else |
6740 echo "configure: failed program was:" >&5 | 6734 echo "configure: failed program was:" >&5 |
6741 cat conftest.$ac_ext >&5 | 6735 cat conftest.$ac_ext >&5 |
6883 EOF | 6877 EOF |
6884 } | 6878 } |
6885 | 6879 |
6886 | 6880 |
6887 echo "checking for X defines extracted by xmkmf" 1>&6 | 6881 echo "checking for X defines extracted by xmkmf" 1>&6 |
6888 echo "configure:6889: checking for X defines extracted by xmkmf" >&5 | 6882 echo "configure:6883: checking for X defines extracted by xmkmf" >&5 |
6889 rm -fr conftestdir | 6883 rm -fr conftestdir |
6890 if mkdir conftestdir; then | 6884 if mkdir conftestdir; then |
6891 cd conftestdir | 6885 cd conftestdir |
6892 cat > Imakefile <<'EOF' | 6886 cat > Imakefile <<'EOF' |
6893 xetest: | 6887 xetest: |
6932 done | 6926 done |
6933 fi | 6927 fi |
6934 | 6928 |
6935 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6929 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6936 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6930 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6937 echo "configure:6938: checking for X11/Intrinsic.h" >&5 | 6931 echo "configure:6932: checking for X11/Intrinsic.h" >&5 |
6938 | 6932 |
6939 cat > conftest.$ac_ext <<EOF | 6933 cat > conftest.$ac_ext <<EOF |
6940 #line 6941 "configure" | 6934 #line 6935 "configure" |
6941 #include "confdefs.h" | 6935 #include "confdefs.h" |
6942 #include <X11/Intrinsic.h> | 6936 #include <X11/Intrinsic.h> |
6943 EOF | 6937 EOF |
6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6947 if test -z "$ac_err"; then | 6941 if test -z "$ac_err"; then |
6948 rm -rf conftest* | 6942 rm -rf conftest* |
6949 eval "ac_cv_header_$ac_safe=yes" | 6943 eval "ac_cv_header_$ac_safe=yes" |
6950 else | 6944 else |
6964 fi | 6958 fi |
6965 | 6959 |
6966 | 6960 |
6967 | 6961 |
6968 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6962 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6969 echo "configure:6970: checking for XOpenDisplay in -lX11" >&5 | 6963 echo "configure:6964: checking for XOpenDisplay in -lX11" >&5 |
6970 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6964 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6971 | 6965 |
6972 xe_check_libs=" -lX11 " | 6966 xe_check_libs=" -lX11 " |
6973 cat > conftest.$ac_ext <<EOF | 6967 cat > conftest.$ac_ext <<EOF |
6974 #line 6975 "configure" | 6968 #line 6969 "configure" |
6975 #include "confdefs.h" | 6969 #include "confdefs.h" |
6976 /* Override any gcc2 internal prototype to avoid an error. */ | 6970 /* Override any gcc2 internal prototype to avoid an error. */ |
6977 /* We use char because int might match the return type of a gcc2 | 6971 /* We use char because int might match the return type of a gcc2 |
6978 builtin and then its argument prototype would still apply. */ | 6972 builtin and then its argument prototype would still apply. */ |
6979 char XOpenDisplay(); | 6973 char XOpenDisplay(); |
6980 | 6974 |
6981 int main() { | 6975 int main() { |
6982 XOpenDisplay() | 6976 XOpenDisplay() |
6983 ; return 0; } | 6977 ; return 0; } |
6984 EOF | 6978 EOF |
6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6979 if { (eval echo configure:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6986 rm -rf conftest* | 6980 rm -rf conftest* |
6987 eval "ac_cv_lib_$ac_lib_var=yes" | 6981 eval "ac_cv_lib_$ac_lib_var=yes" |
6988 else | 6982 else |
6989 echo "configure: failed program was:" >&5 | 6983 echo "configure: failed program was:" >&5 |
6990 cat conftest.$ac_ext >&5 | 6984 cat conftest.$ac_ext >&5 |
7005 if test "$have_lib_x11" != "yes"; then | 6999 if test "$have_lib_x11" != "yes"; then |
7006 | 7000 |
7007 xe_msg_checking="for XGetFontProperty in -lX11" | 7001 xe_msg_checking="for XGetFontProperty in -lX11" |
7008 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 7002 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
7009 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7003 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7010 echo "configure:7011: checking "$xe_msg_checking"" >&5 | 7004 echo "configure:7005: checking "$xe_msg_checking"" >&5 |
7011 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 7005 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
7012 | 7006 |
7013 xe_check_libs=" -lX11 -b i486-linuxaout" | 7007 xe_check_libs=" -lX11 -b i486-linuxaout" |
7014 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
7015 #line 7016 "configure" | 7009 #line 7010 "configure" |
7016 #include "confdefs.h" | 7010 #include "confdefs.h" |
7017 /* Override any gcc2 internal prototype to avoid an error. */ | 7011 /* Override any gcc2 internal prototype to avoid an error. */ |
7018 /* We use char because int might match the return type of a gcc2 | 7012 /* We use char because int might match the return type of a gcc2 |
7019 builtin and then its argument prototype would still apply. */ | 7013 builtin and then its argument prototype would still apply. */ |
7020 char XGetFontProperty(); | 7014 char XGetFontProperty(); |
7021 | 7015 |
7022 int main() { | 7016 int main() { |
7023 XGetFontProperty() | 7017 XGetFontProperty() |
7024 ; return 0; } | 7018 ; return 0; } |
7025 EOF | 7019 EOF |
7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7027 rm -rf conftest* | 7021 rm -rf conftest* |
7028 eval "ac_cv_lib_$ac_lib_var=yes" | 7022 eval "ac_cv_lib_$ac_lib_var=yes" |
7029 else | 7023 else |
7030 echo "configure: failed program was:" >&5 | 7024 echo "configure: failed program was:" >&5 |
7031 cat conftest.$ac_ext >&5 | 7025 cat conftest.$ac_ext >&5 |
7048 libs_x="-lX11" | 7042 libs_x="-lX11" |
7049 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7043 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7050 | 7044 |
7051 | 7045 |
7052 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7046 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7053 echo "configure:7054: checking for XShapeSelectInput in -lXext" >&5 | 7047 echo "configure:7048: checking for XShapeSelectInput in -lXext" >&5 |
7054 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7048 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7055 | 7049 |
7056 xe_check_libs=" -lXext " | 7050 xe_check_libs=" -lXext " |
7057 cat > conftest.$ac_ext <<EOF | 7051 cat > conftest.$ac_ext <<EOF |
7058 #line 7059 "configure" | 7052 #line 7053 "configure" |
7059 #include "confdefs.h" | 7053 #include "confdefs.h" |
7060 /* Override any gcc2 internal prototype to avoid an error. */ | 7054 /* Override any gcc2 internal prototype to avoid an error. */ |
7061 /* We use char because int might match the return type of a gcc2 | 7055 /* We use char because int might match the return type of a gcc2 |
7062 builtin and then its argument prototype would still apply. */ | 7056 builtin and then its argument prototype would still apply. */ |
7063 char XShapeSelectInput(); | 7057 char XShapeSelectInput(); |
7064 | 7058 |
7065 int main() { | 7059 int main() { |
7066 XShapeSelectInput() | 7060 XShapeSelectInput() |
7067 ; return 0; } | 7061 ; return 0; } |
7068 EOF | 7062 EOF |
7069 if { (eval echo configure:7070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7070 rm -rf conftest* | 7064 rm -rf conftest* |
7071 eval "ac_cv_lib_$ac_lib_var=yes" | 7065 eval "ac_cv_lib_$ac_lib_var=yes" |
7072 else | 7066 else |
7073 echo "configure: failed program was:" >&5 | 7067 echo "configure: failed program was:" >&5 |
7074 cat conftest.$ac_ext >&5 | 7068 cat conftest.$ac_ext >&5 |
7087 | 7081 |
7088 | 7082 |
7089 | 7083 |
7090 | 7084 |
7091 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7085 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7092 echo "configure:7093: checking for XtOpenDisplay in -lXt" >&5 | 7086 echo "configure:7087: checking for XtOpenDisplay in -lXt" >&5 |
7093 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7087 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7094 | 7088 |
7095 xe_check_libs=" -lXt " | 7089 xe_check_libs=" -lXt " |
7096 cat > conftest.$ac_ext <<EOF | 7090 cat > conftest.$ac_ext <<EOF |
7097 #line 7098 "configure" | 7091 #line 7092 "configure" |
7098 #include "confdefs.h" | 7092 #include "confdefs.h" |
7099 /* Override any gcc2 internal prototype to avoid an error. */ | 7093 /* Override any gcc2 internal prototype to avoid an error. */ |
7100 /* We use char because int might match the return type of a gcc2 | 7094 /* We use char because int might match the return type of a gcc2 |
7101 builtin and then its argument prototype would still apply. */ | 7095 builtin and then its argument prototype would still apply. */ |
7102 char XtOpenDisplay(); | 7096 char XtOpenDisplay(); |
7103 | 7097 |
7104 int main() { | 7098 int main() { |
7105 XtOpenDisplay() | 7099 XtOpenDisplay() |
7106 ; return 0; } | 7100 ; return 0; } |
7107 EOF | 7101 EOF |
7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7109 rm -rf conftest* | 7103 rm -rf conftest* |
7110 eval "ac_cv_lib_$ac_lib_var=yes" | 7104 eval "ac_cv_lib_$ac_lib_var=yes" |
7111 else | 7105 else |
7112 echo "configure: failed program was:" >&5 | 7106 echo "configure: failed program was:" >&5 |
7113 cat conftest.$ac_ext >&5 | 7107 cat conftest.$ac_ext >&5 |
7126 fi | 7120 fi |
7127 | 7121 |
7128 | 7122 |
7129 | 7123 |
7130 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7124 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7131 echo "configure:7132: checking the version of X11 being used" >&5 | 7125 echo "configure:7126: checking the version of X11 being used" >&5 |
7132 cat > conftest.$ac_ext <<EOF | 7126 cat > conftest.$ac_ext <<EOF |
7133 #line 7134 "configure" | 7127 #line 7128 "configure" |
7134 #include "confdefs.h" | 7128 #include "confdefs.h" |
7135 #include <X11/Intrinsic.h> | 7129 #include <X11/Intrinsic.h> |
7136 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7130 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7137 EOF | 7131 EOF |
7138 if { (eval echo configure:7139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7132 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7139 then | 7133 then |
7140 ./conftest foobar; x11_release=$? | 7134 ./conftest foobar; x11_release=$? |
7141 else | 7135 else |
7142 conftest_rc="$?" | 7136 conftest_rc="$?" |
7143 echo "configure: failed program was:" >&5 | 7137 echo "configure: failed program was:" >&5 |
7164 fi | 7158 fi |
7165 | 7159 |
7166 for ac_func in XConvertCase | 7160 for ac_func in XConvertCase |
7167 do | 7161 do |
7168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7169 echo "configure:7170: checking for $ac_func" >&5 | 7163 echo "configure:7164: checking for $ac_func" >&5 |
7170 | 7164 |
7171 cat > conftest.$ac_ext <<EOF | 7165 cat > conftest.$ac_ext <<EOF |
7172 #line 7173 "configure" | 7166 #line 7167 "configure" |
7173 #include "confdefs.h" | 7167 #include "confdefs.h" |
7174 /* System header to define __stub macros and hopefully few prototypes, | 7168 /* System header to define __stub macros and hopefully few prototypes, |
7175 which can conflict with char $ac_func(); below. */ | 7169 which can conflict with char $ac_func(); below. */ |
7176 #include <assert.h> | 7170 #include <assert.h> |
7177 /* Override any gcc2 internal prototype to avoid an error. */ | 7171 /* Override any gcc2 internal prototype to avoid an error. */ |
7190 $ac_func(); | 7184 $ac_func(); |
7191 #endif | 7185 #endif |
7192 | 7186 |
7193 ; return 0; } | 7187 ; return 0; } |
7194 EOF | 7188 EOF |
7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7196 rm -rf conftest* | 7190 rm -rf conftest* |
7197 eval "ac_cv_func_$ac_func=yes" | 7191 eval "ac_cv_func_$ac_func=yes" |
7198 else | 7192 else |
7199 echo "configure: failed program was:" >&5 | 7193 echo "configure: failed program was:" >&5 |
7200 cat conftest.$ac_ext >&5 | 7194 cat conftest.$ac_ext >&5 |
7222 | 7216 |
7223 for ac_hdr in X11/Xlocale.h | 7217 for ac_hdr in X11/Xlocale.h |
7224 do | 7218 do |
7225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7227 echo "configure:7228: checking for $ac_hdr" >&5 | 7221 echo "configure:7222: checking for $ac_hdr" >&5 |
7228 | 7222 |
7229 cat > conftest.$ac_ext <<EOF | 7223 cat > conftest.$ac_ext <<EOF |
7230 #line 7231 "configure" | 7224 #line 7225 "configure" |
7231 #include "confdefs.h" | 7225 #include "confdefs.h" |
7232 #include <$ac_hdr> | 7226 #include <$ac_hdr> |
7233 EOF | 7227 EOF |
7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7229 { (eval echo configure:7230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7237 if test -z "$ac_err"; then | 7231 if test -z "$ac_err"; then |
7238 rm -rf conftest* | 7232 rm -rf conftest* |
7239 eval "ac_cv_header_$ac_safe=yes" | 7233 eval "ac_cv_header_$ac_safe=yes" |
7240 else | 7234 else |
7263 | 7257 |
7264 | 7258 |
7265 for ac_func in XRegisterIMInstantiateCallback | 7259 for ac_func in XRegisterIMInstantiateCallback |
7266 do | 7260 do |
7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7268 echo "configure:7269: checking for $ac_func" >&5 | 7262 echo "configure:7263: checking for $ac_func" >&5 |
7269 | 7263 |
7270 cat > conftest.$ac_ext <<EOF | 7264 cat > conftest.$ac_ext <<EOF |
7271 #line 7272 "configure" | 7265 #line 7266 "configure" |
7272 #include "confdefs.h" | 7266 #include "confdefs.h" |
7273 /* System header to define __stub macros and hopefully few prototypes, | 7267 /* System header to define __stub macros and hopefully few prototypes, |
7274 which can conflict with char $ac_func(); below. */ | 7268 which can conflict with char $ac_func(); below. */ |
7275 #include <assert.h> | 7269 #include <assert.h> |
7276 /* Override any gcc2 internal prototype to avoid an error. */ | 7270 /* Override any gcc2 internal prototype to avoid an error. */ |
7289 $ac_func(); | 7283 $ac_func(); |
7290 #endif | 7284 #endif |
7291 | 7285 |
7292 ; return 0; } | 7286 ; return 0; } |
7293 EOF | 7287 EOF |
7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7288 if { (eval echo configure:7289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7295 rm -rf conftest* | 7289 rm -rf conftest* |
7296 eval "ac_cv_func_$ac_func=yes" | 7290 eval "ac_cv_func_$ac_func=yes" |
7297 else | 7291 else |
7298 echo "configure: failed program was:" >&5 | 7292 echo "configure: failed program was:" >&5 |
7299 cat conftest.$ac_ext >&5 | 7293 cat conftest.$ac_ext >&5 |
7317 echo "$ac_t""no" 1>&6 | 7311 echo "$ac_t""no" 1>&6 |
7318 fi | 7312 fi |
7319 done | 7313 done |
7320 | 7314 |
7321 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7315 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7322 echo "configure:7323: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7316 echo "configure:7317: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7323 cat > conftest.$ac_ext <<EOF | 7317 cat > conftest.$ac_ext <<EOF |
7324 #line 7325 "configure" | 7318 #line 7319 "configure" |
7325 #include "confdefs.h" | 7319 #include "confdefs.h" |
7326 | 7320 |
7327 #define NeedFunctionPrototypes 1 | 7321 #define NeedFunctionPrototypes 1 |
7328 #include <X11/Xlib.h> | 7322 #include <X11/Xlib.h> |
7329 extern Bool XRegisterIMInstantiateCallback( | 7323 extern Bool XRegisterIMInstantiateCallback( |
7331 | 7325 |
7332 int main() { | 7326 int main() { |
7333 | 7327 |
7334 ; return 0; } | 7328 ; return 0; } |
7335 EOF | 7329 EOF |
7336 if { (eval echo configure:7337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7330 if { (eval echo configure:7331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7337 rm -rf conftest* | 7331 rm -rf conftest* |
7338 echo "$ac_t""yes" 1>&6 | 7332 echo "$ac_t""yes" 1>&6 |
7339 else | 7333 else |
7340 echo "configure: failed program was:" >&5 | 7334 echo "configure: failed program was:" >&5 |
7341 cat conftest.$ac_ext >&5 | 7335 cat conftest.$ac_ext >&5 |
7352 fi | 7346 fi |
7353 rm -f conftest* | 7347 rm -f conftest* |
7354 | 7348 |
7355 test -z "$with_xmu" && { | 7349 test -z "$with_xmu" && { |
7356 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7350 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7357 echo "configure:7358: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7351 echo "configure:7352: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7358 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7352 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7359 | 7353 |
7360 xe_check_libs=" -lXmu " | 7354 xe_check_libs=" -lXmu " |
7361 cat > conftest.$ac_ext <<EOF | 7355 cat > conftest.$ac_ext <<EOF |
7362 #line 7363 "configure" | 7356 #line 7357 "configure" |
7363 #include "confdefs.h" | 7357 #include "confdefs.h" |
7364 /* Override any gcc2 internal prototype to avoid an error. */ | 7358 /* Override any gcc2 internal prototype to avoid an error. */ |
7365 /* We use char because int might match the return type of a gcc2 | 7359 /* We use char because int might match the return type of a gcc2 |
7366 builtin and then its argument prototype would still apply. */ | 7360 builtin and then its argument prototype would still apply. */ |
7367 char XmuReadBitmapDataFromFile(); | 7361 char XmuReadBitmapDataFromFile(); |
7368 | 7362 |
7369 int main() { | 7363 int main() { |
7370 XmuReadBitmapDataFromFile() | 7364 XmuReadBitmapDataFromFile() |
7371 ; return 0; } | 7365 ; return 0; } |
7372 EOF | 7366 EOF |
7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7374 rm -rf conftest* | 7368 rm -rf conftest* |
7375 eval "ac_cv_lib_$ac_lib_var=yes" | 7369 eval "ac_cv_lib_$ac_lib_var=yes" |
7376 else | 7370 else |
7377 echo "configure: failed program was:" >&5 | 7371 echo "configure: failed program was:" >&5 |
7378 cat conftest.$ac_ext >&5 | 7372 cat conftest.$ac_ext >&5 |
7407 | 7401 |
7408 fi | 7402 fi |
7409 | 7403 |
7410 | 7404 |
7411 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7405 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7412 echo "configure:7413: checking for main in -lXbsd" >&5 | 7406 echo "configure:7407: checking for main in -lXbsd" >&5 |
7413 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7407 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7414 | 7408 |
7415 xe_check_libs=" -lXbsd " | 7409 xe_check_libs=" -lXbsd " |
7416 cat > conftest.$ac_ext <<EOF | 7410 cat > conftest.$ac_ext <<EOF |
7417 #line 7418 "configure" | 7411 #line 7412 "configure" |
7418 #include "confdefs.h" | 7412 #include "confdefs.h" |
7419 | 7413 |
7420 int main() { | 7414 int main() { |
7421 main() | 7415 main() |
7422 ; return 0; } | 7416 ; return 0; } |
7423 EOF | 7417 EOF |
7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7418 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7425 rm -rf conftest* | 7419 rm -rf conftest* |
7426 eval "ac_cv_lib_$ac_lib_var=yes" | 7420 eval "ac_cv_lib_$ac_lib_var=yes" |
7427 else | 7421 else |
7428 echo "configure: failed program was:" >&5 | 7422 echo "configure: failed program was:" >&5 |
7429 cat conftest.$ac_ext >&5 | 7423 cat conftest.$ac_ext >&5 |
7456 fi | 7450 fi |
7457 | 7451 |
7458 fi | 7452 fi |
7459 if test "$with_msw" != "no"; then | 7453 if test "$with_msw" != "no"; then |
7460 echo "checking for MS-Windows" 1>&6 | 7454 echo "checking for MS-Windows" 1>&6 |
7461 echo "configure:7462: checking for MS-Windows" >&5 | 7455 echo "configure:7456: checking for MS-Windows" >&5 |
7462 | 7456 |
7463 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7457 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7464 echo "configure:7465: checking for main in -lgdi32" >&5 | 7458 echo "configure:7459: checking for main in -lgdi32" >&5 |
7465 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7459 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7466 | 7460 |
7467 xe_check_libs=" -lgdi32 " | 7461 xe_check_libs=" -lgdi32 " |
7468 cat > conftest.$ac_ext <<EOF | 7462 cat > conftest.$ac_ext <<EOF |
7469 #line 7470 "configure" | 7463 #line 7464 "configure" |
7470 #include "confdefs.h" | 7464 #include "confdefs.h" |
7471 | 7465 |
7472 int main() { | 7466 int main() { |
7473 main() | 7467 main() |
7474 ; return 0; } | 7468 ; return 0; } |
7475 EOF | 7469 EOF |
7476 if { (eval echo configure:7477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7477 rm -rf conftest* | 7471 rm -rf conftest* |
7478 eval "ac_cv_lib_$ac_lib_var=yes" | 7472 eval "ac_cv_lib_$ac_lib_var=yes" |
7479 else | 7473 else |
7480 echo "configure: failed program was:" >&5 | 7474 echo "configure: failed program was:" >&5 |
7481 cat conftest.$ac_ext >&5 | 7475 cat conftest.$ac_ext >&5 |
7522 test "$with_toolbars" != "no" && with_toolbars=msw | 7516 test "$with_toolbars" != "no" && with_toolbars=msw |
7523 test "$with_dialogs" != "no" && with_dialogs=msw | 7517 test "$with_dialogs" != "no" && with_dialogs=msw |
7524 test "$with_widgets" != "no" && with_widgets=msw | 7518 test "$with_widgets" != "no" && with_widgets=msw |
7525 fi | 7519 fi |
7526 cat > conftest.$ac_ext <<EOF | 7520 cat > conftest.$ac_ext <<EOF |
7527 #line 7528 "configure" | 7521 #line 7522 "configure" |
7528 #include "confdefs.h" | 7522 #include "confdefs.h" |
7529 #include <fcntl.h> | 7523 #include <fcntl.h> |
7530 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7524 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7531 EOF | 7525 EOF |
7532 if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7526 if { (eval echo configure:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7533 then | 7527 then |
7534 { test "$extra_verbose" = "yes" && cat << \EOF | 7528 { test "$extra_verbose" = "yes" && cat << \EOF |
7535 Defining HAVE_MSG_SELECT | 7529 Defining HAVE_MSG_SELECT |
7536 EOF | 7530 EOF |
7537 cat >> confdefs.h <<\EOF | 7531 cat >> confdefs.h <<\EOF |
7588 fi | 7582 fi |
7589 | 7583 |
7590 if test "$with_x11" = "yes"; then | 7584 if test "$with_x11" = "yes"; then |
7591 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7585 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7592 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7586 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7593 echo "configure:7594: checking for X11/extensions/shape.h" >&5 | 7587 echo "configure:7588: checking for X11/extensions/shape.h" >&5 |
7594 | 7588 |
7595 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7596 #line 7597 "configure" | 7590 #line 7591 "configure" |
7597 #include "confdefs.h" | 7591 #include "confdefs.h" |
7598 #include <X11/extensions/shape.h> | 7592 #include <X11/extensions/shape.h> |
7599 EOF | 7593 EOF |
7600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7601 { (eval echo configure:7602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7603 if test -z "$ac_err"; then | 7597 if test -z "$ac_err"; then |
7604 rm -rf conftest* | 7598 rm -rf conftest* |
7605 eval "ac_cv_header_$ac_safe=yes" | 7599 eval "ac_cv_header_$ac_safe=yes" |
7606 else | 7600 else |
7646 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7640 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7647 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7641 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7648 esac | 7642 esac |
7649 | 7643 |
7650 echo "checking for WM_COMMAND option" 1>&6 | 7644 echo "checking for WM_COMMAND option" 1>&6 |
7651 echo "configure:7652: checking for WM_COMMAND option" >&5; | 7645 echo "configure:7646: checking for WM_COMMAND option" >&5; |
7652 if test "$with_wmcommand" != "no"; then | 7646 if test "$with_wmcommand" != "no"; then |
7653 { test "$extra_verbose" = "yes" && cat << \EOF | 7647 { test "$extra_verbose" = "yes" && cat << \EOF |
7654 Defining HAVE_WMCOMMAND | 7648 Defining HAVE_WMCOMMAND |
7655 EOF | 7649 EOF |
7656 cat >> confdefs.h <<\EOF | 7650 cat >> confdefs.h <<\EOF |
7661 fi | 7655 fi |
7662 | 7656 |
7663 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7657 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7664 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7658 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7665 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7659 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7666 echo "configure:7667: checking for X11/Xauth.h" >&5 | 7660 echo "configure:7661: checking for X11/Xauth.h" >&5 |
7667 | 7661 |
7668 cat > conftest.$ac_ext <<EOF | 7662 cat > conftest.$ac_ext <<EOF |
7669 #line 7670 "configure" | 7663 #line 7664 "configure" |
7670 #include "confdefs.h" | 7664 #include "confdefs.h" |
7671 #include <X11/Xauth.h> | 7665 #include <X11/Xauth.h> |
7672 EOF | 7666 EOF |
7673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7674 { (eval echo configure:7675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7668 { (eval echo configure:7669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7669 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7676 if test -z "$ac_err"; then | 7670 if test -z "$ac_err"; then |
7677 rm -rf conftest* | 7671 rm -rf conftest* |
7678 eval "ac_cv_header_$ac_safe=yes" | 7672 eval "ac_cv_header_$ac_safe=yes" |
7679 else | 7673 else |
7692 with_xauth=no | 7686 with_xauth=no |
7693 fi | 7687 fi |
7694 } | 7688 } |
7695 test -z "$with_xauth" && { | 7689 test -z "$with_xauth" && { |
7696 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7690 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7697 echo "configure:7698: checking for XauGetAuthByAddr in -lXau" >&5 | 7691 echo "configure:7692: checking for XauGetAuthByAddr in -lXau" >&5 |
7698 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7692 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7699 | 7693 |
7700 xe_check_libs=" -lXau " | 7694 xe_check_libs=" -lXau " |
7701 cat > conftest.$ac_ext <<EOF | 7695 cat > conftest.$ac_ext <<EOF |
7702 #line 7703 "configure" | 7696 #line 7697 "configure" |
7703 #include "confdefs.h" | 7697 #include "confdefs.h" |
7704 /* Override any gcc2 internal prototype to avoid an error. */ | 7698 /* Override any gcc2 internal prototype to avoid an error. */ |
7705 /* We use char because int might match the return type of a gcc2 | 7699 /* We use char because int might match the return type of a gcc2 |
7706 builtin and then its argument prototype would still apply. */ | 7700 builtin and then its argument prototype would still apply. */ |
7707 char XauGetAuthByAddr(); | 7701 char XauGetAuthByAddr(); |
7708 | 7702 |
7709 int main() { | 7703 int main() { |
7710 XauGetAuthByAddr() | 7704 XauGetAuthByAddr() |
7711 ; return 0; } | 7705 ; return 0; } |
7712 EOF | 7706 EOF |
7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7714 rm -rf conftest* | 7708 rm -rf conftest* |
7715 eval "ac_cv_lib_$ac_lib_var=yes" | 7709 eval "ac_cv_lib_$ac_lib_var=yes" |
7716 else | 7710 else |
7717 echo "configure: failed program was:" >&5 | 7711 echo "configure: failed program was:" >&5 |
7718 cat conftest.$ac_ext >&5 | 7712 cat conftest.$ac_ext >&5 |
7759 fi | 7753 fi |
7760 | 7754 |
7761 | 7755 |
7762 if test "$with_modules" != "no"; then | 7756 if test "$with_modules" != "no"; then |
7763 echo "checking for module support" 1>&6 | 7757 echo "checking for module support" 1>&6 |
7764 echo "configure:7765: checking for module support" >&5 | 7758 echo "configure:7759: checking for module support" >&5 |
7765 | 7759 |
7766 if test "$with_msw" = "yes"; then | 7760 if test "$with_msw" = "yes"; then |
7767 have_dl=yes; | 7761 have_dl=yes; |
7768 else | 7762 else |
7769 case "$opsys" in | 7763 case "$opsys" in |
7776 } | 7770 } |
7777 ;; | 7771 ;; |
7778 * ) | 7772 * ) |
7779 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7773 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7780 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7774 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7781 echo "configure:7782: checking for dlfcn.h" >&5 | 7775 echo "configure:7776: checking for dlfcn.h" >&5 |
7782 | 7776 |
7783 cat > conftest.$ac_ext <<EOF | 7777 cat > conftest.$ac_ext <<EOF |
7784 #line 7785 "configure" | 7778 #line 7779 "configure" |
7785 #include "confdefs.h" | 7779 #include "confdefs.h" |
7786 #include <dlfcn.h> | 7780 #include <dlfcn.h> |
7787 EOF | 7781 EOF |
7788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7789 { (eval echo configure:7790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7783 { (eval echo configure:7784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7791 if test -z "$ac_err"; then | 7785 if test -z "$ac_err"; then |
7792 rm -rf conftest* | 7786 rm -rf conftest* |
7793 eval "ac_cv_header_$ac_safe=yes" | 7787 eval "ac_cv_header_$ac_safe=yes" |
7794 else | 7788 else |
7801 rm -f conftest* | 7795 rm -f conftest* |
7802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7803 echo "$ac_t""yes" 1>&6 | 7797 echo "$ac_t""yes" 1>&6 |
7804 | 7798 |
7805 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7799 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7806 echo "configure:7807: checking for dlopen in -lc" >&5 | 7800 echo "configure:7801: checking for dlopen in -lc" >&5 |
7807 cat > conftest.$ac_ext <<EOF | 7801 cat > conftest.$ac_ext <<EOF |
7808 #line 7809 "configure" | 7802 #line 7803 "configure" |
7809 #include "confdefs.h" | 7803 #include "confdefs.h" |
7810 #include <dlfcn.h> | 7804 #include <dlfcn.h> |
7811 int main() { | 7805 int main() { |
7812 dlopen ("", 0); | 7806 dlopen ("", 0); |
7813 ; return 0; } | 7807 ; return 0; } |
7814 EOF | 7808 EOF |
7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7816 rm -rf conftest* | 7810 rm -rf conftest* |
7817 have_dl=yes | 7811 have_dl=yes |
7818 else | 7812 else |
7819 echo "configure: failed program was:" >&5 | 7813 echo "configure: failed program was:" >&5 |
7820 cat conftest.$ac_ext >&5 | 7814 cat conftest.$ac_ext >&5 |
7821 rm -rf conftest* | 7815 rm -rf conftest* |
7822 | 7816 |
7823 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7817 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7824 echo "configure:7825: checking for dlopen in -ldl" >&5 | 7818 echo "configure:7819: checking for dlopen in -ldl" >&5 |
7825 ac_save_LIBS="$LIBS" | 7819 ac_save_LIBS="$LIBS" |
7826 LIBS="-ldl $LIBS" | 7820 LIBS="-ldl $LIBS" |
7827 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7828 #line 7829 "configure" | 7822 #line 7823 "configure" |
7829 #include "confdefs.h" | 7823 #include "confdefs.h" |
7830 #include <dlfcn.h> | 7824 #include <dlfcn.h> |
7831 int main() { | 7825 int main() { |
7832 dlopen ("", 0); | 7826 dlopen ("", 0); |
7833 ; return 0; } | 7827 ; return 0; } |
7834 EOF | 7828 EOF |
7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7836 rm -rf conftest* | 7830 rm -rf conftest* |
7837 have_dl=yes | 7831 have_dl=yes |
7838 else | 7832 else |
7839 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7840 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7870 ld_dynamic_link_flags= | 7864 ld_dynamic_link_flags= |
7871 xehost=$canonical | 7865 xehost=$canonical |
7872 xealias=$internal_configuration | 7866 xealias=$internal_configuration |
7873 | 7867 |
7874 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7868 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7875 echo "configure:7876: checking how to build dynamic libraries for ${xehost}" >&5 | 7869 echo "configure:7870: checking how to build dynamic libraries for ${xehost}" >&5 |
7876 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7870 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7877 case "$xehost" in | 7871 case "$xehost" in |
7878 *-*-linux-gnu*) ;; | 7872 *-*-linux-gnu*) ;; |
7879 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7873 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7880 esac | 7874 esac |
7898 # Now see if the compiler is really GCC. | 7892 # Now see if the compiler is really GCC. |
7899 if test "$GCC" = "yes"; then | 7893 if test "$GCC" = "yes"; then |
7900 XEGCC=yes | 7894 XEGCC=yes |
7901 else | 7895 else |
7902 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7896 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7903 echo "configure:7904: checking checking whether we are using GNU C" >&5 | 7897 echo "configure:7898: checking checking whether we are using GNU C" >&5 |
7904 cat > conftest.$ac_ext <<EOF | 7898 cat > conftest.$ac_ext <<EOF |
7905 #line 7906 "configure" | 7899 #line 7900 "configure" |
7906 #include "confdefs.h" | 7900 #include "confdefs.h" |
7907 | 7901 |
7908 #ifdef __GNUC__ | 7902 #ifdef __GNUC__ |
7909 yes; | 7903 yes; |
7910 #endif | 7904 #endif |
7922 | 7916 |
7923 echo "$ac_t""${XEGCC}" 1>&6 | 7917 echo "$ac_t""${XEGCC}" 1>&6 |
7924 fi | 7918 fi |
7925 | 7919 |
7926 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7920 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7927 echo "configure:7928: checking how to produce PIC code" >&5 | 7921 echo "configure:7922: checking how to produce PIC code" >&5 |
7928 wl= | 7922 wl= |
7929 | 7923 |
7930 can_build_shared=yes | 7924 can_build_shared=yes |
7931 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7925 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7932 wl='-Wl,' | 7926 wl='-Wl,' |
8026 if test -n "$dll_cflags"; then | 8020 if test -n "$dll_cflags"; then |
8027 echo "$ac_t""${dll_cflags}" 1>&6 | 8021 echo "$ac_t""${dll_cflags}" 1>&6 |
8028 | 8022 |
8029 # Check to make sure the dll_cflags actually works. | 8023 # Check to make sure the dll_cflags actually works. |
8030 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8024 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8031 echo "configure:8032: checking if PIC flag ${dll_cflags} really works" >&5 | 8025 echo "configure:8026: checking if PIC flag ${dll_cflags} really works" >&5 |
8032 save_CFLAGS="$CFLAGS" | 8026 save_CFLAGS="$CFLAGS" |
8033 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8027 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8034 cat > conftest.$ac_ext <<EOF | 8028 cat > conftest.$ac_ext <<EOF |
8035 #line 8036 "configure" | 8029 #line 8030 "configure" |
8036 #include "confdefs.h" | 8030 #include "confdefs.h" |
8037 | 8031 |
8038 int main() { | 8032 int main() { |
8039 int x=0; | 8033 int x=0; |
8040 ; return 0; } | 8034 ; return 0; } |
8041 EOF | 8035 EOF |
8042 if { (eval echo configure:8043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8036 if { (eval echo configure:8037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8043 rm -rf conftest* | 8037 rm -rf conftest* |
8044 | 8038 |
8045 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8039 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8046 # reports no error. So, we need to grep stderr for (Bundled). | 8040 # reports no error. So, we need to grep stderr for (Bundled). |
8047 if grep '(Bundled)' config.log >/dev/null; then | 8041 if grep '(Bundled)' config.log >/dev/null; then |
8068 if test "$can_build_shared" = "yes"; then | 8062 if test "$can_build_shared" = "yes"; then |
8069 cc_produces_so=no | 8063 cc_produces_so=no |
8070 xldf= | 8064 xldf= |
8071 xcldf= | 8065 xcldf= |
8072 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8066 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8073 echo "configure:8074: checking if C compiler can produce shared libraries" >&5 | 8067 echo "configure:8068: checking if C compiler can produce shared libraries" >&5 |
8074 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8068 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8075 case "$xehost_os" in | 8069 case "$xehost_os" in |
8076 *darwin*) | 8070 *darwin*) |
8077 xcldf='-bundle' | 8071 xcldf='-bundle' |
8078 xldf='-bundle -bundle_loader ../../src/xemacs' | 8072 xldf='-bundle -bundle_loader ../../src/xemacs' |
8127 LDFLAGS="$xcldf $LDFLAGS" | 8121 LDFLAGS="$xcldf $LDFLAGS" |
8128 LIBS= | 8122 LIBS= |
8129 xe_libs= | 8123 xe_libs= |
8130 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8124 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8131 cat > conftest.$ac_ext <<EOF | 8125 cat > conftest.$ac_ext <<EOF |
8132 #line 8133 "configure" | 8126 #line 8127 "configure" |
8133 #include "confdefs.h" | 8127 #include "confdefs.h" |
8134 | 8128 |
8135 int main() { | 8129 int main() { |
8136 int x=0; | 8130 int x=0; |
8137 ; return 0; } | 8131 ; return 0; } |
8138 EOF | 8132 EOF |
8139 if { (eval echo configure:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8140 rm -rf conftest* | 8134 rm -rf conftest* |
8141 cc_produces_so=yes | 8135 cc_produces_so=yes |
8142 else | 8136 else |
8143 echo "configure: failed program was:" >&5 | 8137 echo "configure: failed program was:" >&5 |
8144 cat conftest.$ac_ext >&5 | 8138 cat conftest.$ac_ext >&5 |
8159 if test -z "$LTLD"; then | 8153 if test -z "$LTLD"; then |
8160 ac_prog=ld | 8154 ac_prog=ld |
8161 if test "$XEGCC" = yes; then | 8155 if test "$XEGCC" = yes; then |
8162 # Check if gcc -print-prog-name=ld gives a path. | 8156 # Check if gcc -print-prog-name=ld gives a path. |
8163 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8157 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8164 echo "configure:8165: checking for ld used by GCC" >&5 | 8158 echo "configure:8159: checking for ld used by GCC" >&5 |
8165 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8159 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8166 case "$ac_prog" in | 8160 case "$ac_prog" in |
8167 # Accept absolute paths. | 8161 # Accept absolute paths. |
8168 /*) | 8162 /*) |
8169 if test -z "$LTLD"; then | 8163 if test -z "$LTLD"; then |
8185 with_gnu_ld=unknown | 8179 with_gnu_ld=unknown |
8186 ;; | 8180 ;; |
8187 esac | 8181 esac |
8188 else | 8182 else |
8189 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8183 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8190 echo "configure:8191: checking for GNU ld" >&5 | 8184 echo "configure:8185: checking for GNU ld" >&5 |
8191 fi | 8185 fi |
8192 | 8186 |
8193 if test -z "$LTLD"; then | 8187 if test -z "$LTLD"; then |
8194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8195 for ac_dir in $PATH; do | 8189 for ac_dir in $PATH; do |
8223 | 8217 |
8224 ld_dynamic_link_flags= | 8218 ld_dynamic_link_flags= |
8225 | 8219 |
8226 # Check to see if it really is or isn't GNU ld. | 8220 # Check to see if it really is or isn't GNU ld. |
8227 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8221 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8228 echo "configure:8229: checking if the linker is GNU ld" >&5 | 8222 echo "configure:8223: checking if the linker is GNU ld" >&5 |
8229 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8223 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8230 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8224 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8231 xe_gnu_ld=yes | 8225 xe_gnu_ld=yes |
8232 else | 8226 else |
8233 xe_gnu_ld=no | 8227 xe_gnu_ld=no |
8258 ld_shlibs=yes | 8252 ld_shlibs=yes |
8259 else | 8253 else |
8260 # OK - only NOW do we futz about with ld. | 8254 # OK - only NOW do we futz about with ld. |
8261 # See if the linker supports building shared libraries. | 8255 # See if the linker supports building shared libraries. |
8262 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8256 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8263 echo "configure:8264: checking whether the linker supports shared libraries" >&5 | 8257 echo "configure:8258: checking whether the linker supports shared libraries" >&5 |
8264 dll_ld=$CC | 8258 dll_ld=$CC |
8265 dll_ldflags=$LDFLAGS | 8259 dll_ldflags=$LDFLAGS |
8266 ld_shlibs=yes | 8260 ld_shlibs=yes |
8267 can_build_shared=yes | 8261 can_build_shared=yes |
8268 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8262 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8471 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8465 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8472 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8466 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8473 for ac_func in dlerror _dlerror | 8467 for ac_func in dlerror _dlerror |
8474 do | 8468 do |
8475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8476 echo "configure:8477: checking for $ac_func" >&5 | 8470 echo "configure:8471: checking for $ac_func" >&5 |
8477 | 8471 |
8478 cat > conftest.$ac_ext <<EOF | 8472 cat > conftest.$ac_ext <<EOF |
8479 #line 8480 "configure" | 8473 #line 8474 "configure" |
8480 #include "confdefs.h" | 8474 #include "confdefs.h" |
8481 /* System header to define __stub macros and hopefully few prototypes, | 8475 /* System header to define __stub macros and hopefully few prototypes, |
8482 which can conflict with char $ac_func(); below. */ | 8476 which can conflict with char $ac_func(); below. */ |
8483 #include <assert.h> | 8477 #include <assert.h> |
8484 /* Override any gcc2 internal prototype to avoid an error. */ | 8478 /* Override any gcc2 internal prototype to avoid an error. */ |
8497 $ac_func(); | 8491 $ac_func(); |
8498 #endif | 8492 #endif |
8499 | 8493 |
8500 ; return 0; } | 8494 ; return 0; } |
8501 EOF | 8495 EOF |
8502 if { (eval echo configure:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8496 if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8503 rm -rf conftest* | 8497 rm -rf conftest* |
8504 eval "ac_cv_func_$ac_func=yes" | 8498 eval "ac_cv_func_$ac_func=yes" |
8505 else | 8499 else |
8506 echo "configure: failed program was:" >&5 | 8500 echo "configure: failed program was:" >&5 |
8507 cat conftest.$ac_ext >&5 | 8501 cat conftest.$ac_ext >&5 |
8561 | 8555 |
8562 if test "$with_tooltalk" != "no" ; then | 8556 if test "$with_tooltalk" != "no" ; then |
8563 for dir in "" "Tt/" "desktop/" ; do | 8557 for dir in "" "Tt/" "desktop/" ; do |
8564 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8558 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8565 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8559 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8566 echo "configure:8567: checking for ${dir}tt_c.h" >&5 | 8560 echo "configure:8561: checking for ${dir}tt_c.h" >&5 |
8567 | 8561 |
8568 cat > conftest.$ac_ext <<EOF | 8562 cat > conftest.$ac_ext <<EOF |
8569 #line 8570 "configure" | 8563 #line 8564 "configure" |
8570 #include "confdefs.h" | 8564 #include "confdefs.h" |
8571 #include <${dir}tt_c.h> | 8565 #include <${dir}tt_c.h> |
8572 EOF | 8566 EOF |
8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8568 { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8576 if test -z "$ac_err"; then | 8570 if test -z "$ac_err"; then |
8577 rm -rf conftest* | 8571 rm -rf conftest* |
8578 eval "ac_cv_header_$ac_safe=yes" | 8572 eval "ac_cv_header_$ac_safe=yes" |
8579 else | 8573 else |
8605 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8599 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8606 | 8600 |
8607 xe_msg_checking="for tt_message_create in -ltt" | 8601 xe_msg_checking="for tt_message_create in -ltt" |
8608 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8602 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8609 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8603 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8610 echo "configure:8611: checking "$xe_msg_checking"" >&5 | 8604 echo "configure:8605: checking "$xe_msg_checking"" >&5 |
8611 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8605 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8612 | 8606 |
8613 xe_check_libs=" -ltt $extra_libs" | 8607 xe_check_libs=" -ltt $extra_libs" |
8614 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8609 #line 8610 "configure" |
8616 #include "confdefs.h" | 8610 #include "confdefs.h" |
8617 /* Override any gcc2 internal prototype to avoid an error. */ | 8611 /* Override any gcc2 internal prototype to avoid an error. */ |
8618 /* We use char because int might match the return type of a gcc2 | 8612 /* We use char because int might match the return type of a gcc2 |
8619 builtin and then its argument prototype would still apply. */ | 8613 builtin and then its argument prototype would still apply. */ |
8620 char tt_message_create(); | 8614 char tt_message_create(); |
8621 | 8615 |
8622 int main() { | 8616 int main() { |
8623 tt_message_create() | 8617 tt_message_create() |
8624 ; return 0; } | 8618 ; return 0; } |
8625 EOF | 8619 EOF |
8626 if { (eval echo configure:8627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8627 rm -rf conftest* | 8621 rm -rf conftest* |
8628 eval "ac_cv_lib_$ac_lib_var=yes" | 8622 eval "ac_cv_lib_$ac_lib_var=yes" |
8629 else | 8623 else |
8630 echo "configure: failed program was:" >&5 | 8624 echo "configure: failed program was:" >&5 |
8631 cat conftest.$ac_ext >&5 | 8625 cat conftest.$ac_ext >&5 |
8675 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8669 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8676 fi | 8670 fi |
8677 | 8671 |
8678 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8672 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8679 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8673 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8680 echo "configure:8681: checking for Dt/Dt.h" >&5 | 8674 echo "configure:8675: checking for Dt/Dt.h" >&5 |
8681 | 8675 |
8682 cat > conftest.$ac_ext <<EOF | 8676 cat > conftest.$ac_ext <<EOF |
8683 #line 8684 "configure" | 8677 #line 8678 "configure" |
8684 #include "confdefs.h" | 8678 #include "confdefs.h" |
8685 #include <Dt/Dt.h> | 8679 #include <Dt/Dt.h> |
8686 EOF | 8680 EOF |
8687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8688 { (eval echo configure:8689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8682 { (eval echo configure:8683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8690 if test -z "$ac_err"; then | 8684 if test -z "$ac_err"; then |
8691 rm -rf conftest* | 8685 rm -rf conftest* |
8692 eval "ac_cv_header_$ac_safe=yes" | 8686 eval "ac_cv_header_$ac_safe=yes" |
8693 else | 8687 else |
8706 with_cde=no | 8700 with_cde=no |
8707 fi | 8701 fi |
8708 } | 8702 } |
8709 test -z "$with_cde" && { | 8703 test -z "$with_cde" && { |
8710 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8704 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8711 echo "configure:8712: checking for DtDndDragStart in -lDtSvc" >&5 | 8705 echo "configure:8706: checking for DtDndDragStart in -lDtSvc" >&5 |
8712 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8706 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8713 | 8707 |
8714 xe_check_libs=" -lDtSvc " | 8708 xe_check_libs=" -lDtSvc " |
8715 cat > conftest.$ac_ext <<EOF | 8709 cat > conftest.$ac_ext <<EOF |
8716 #line 8717 "configure" | 8710 #line 8711 "configure" |
8717 #include "confdefs.h" | 8711 #include "confdefs.h" |
8718 /* Override any gcc2 internal prototype to avoid an error. */ | 8712 /* Override any gcc2 internal prototype to avoid an error. */ |
8719 /* We use char because int might match the return type of a gcc2 | 8713 /* We use char because int might match the return type of a gcc2 |
8720 builtin and then its argument prototype would still apply. */ | 8714 builtin and then its argument prototype would still apply. */ |
8721 char DtDndDragStart(); | 8715 char DtDndDragStart(); |
8722 | 8716 |
8723 int main() { | 8717 int main() { |
8724 DtDndDragStart() | 8718 DtDndDragStart() |
8725 ; return 0; } | 8719 ; return 0; } |
8726 EOF | 8720 EOF |
8727 if { (eval echo configure:8728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8721 if { (eval echo configure:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8728 rm -rf conftest* | 8722 rm -rf conftest* |
8729 eval "ac_cv_lib_$ac_lib_var=yes" | 8723 eval "ac_cv_lib_$ac_lib_var=yes" |
8730 else | 8724 else |
8731 echo "configure: failed program was:" >&5 | 8725 echo "configure: failed program was:" >&5 |
8732 cat conftest.$ac_ext >&5 | 8726 cat conftest.$ac_ext >&5 |
8803 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8797 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8804 fi | 8798 fi |
8805 | 8799 |
8806 if test "$with_dragndrop" != "no" ; then | 8800 if test "$with_dragndrop" != "no" ; then |
8807 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8801 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8808 echo "configure:8809: checking if drag and drop API is needed" >&5 | 8802 echo "configure:8803: checking if drag and drop API is needed" >&5 |
8809 if test -n "$dragndrop_proto" ; then | 8803 if test -n "$dragndrop_proto" ; then |
8810 with_dragndrop=yes | 8804 with_dragndrop=yes |
8811 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8805 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8812 { test "$extra_verbose" = "yes" && cat << \EOF | 8806 { test "$extra_verbose" = "yes" && cat << \EOF |
8813 Defining HAVE_DRAGNDROP | 8807 Defining HAVE_DRAGNDROP |
8823 echo "$ac_t""no" 1>&6 | 8817 echo "$ac_t""no" 1>&6 |
8824 fi | 8818 fi |
8825 fi | 8819 fi |
8826 | 8820 |
8827 echo "checking for LDAP" 1>&6 | 8821 echo "checking for LDAP" 1>&6 |
8828 echo "configure:8829: checking for LDAP" >&5 | 8822 echo "configure:8823: checking for LDAP" >&5 |
8829 ldap_libs= | 8823 ldap_libs= |
8830 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8824 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8831 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8825 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8832 echo "configure:8833: checking for ldap.h" >&5 | 8826 echo "configure:8827: checking for ldap.h" >&5 |
8833 | 8827 |
8834 cat > conftest.$ac_ext <<EOF | 8828 cat > conftest.$ac_ext <<EOF |
8835 #line 8836 "configure" | 8829 #line 8830 "configure" |
8836 #include "confdefs.h" | 8830 #include "confdefs.h" |
8837 #include <ldap.h> | 8831 #include <ldap.h> |
8838 EOF | 8832 EOF |
8839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8840 { (eval echo configure:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8834 { (eval echo configure:8835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8842 if test -z "$ac_err"; then | 8836 if test -z "$ac_err"; then |
8843 rm -rf conftest* | 8837 rm -rf conftest* |
8844 eval "ac_cv_header_$ac_safe=yes" | 8838 eval "ac_cv_header_$ac_safe=yes" |
8845 else | 8839 else |
8858 with_ldap=no | 8852 with_ldap=no |
8859 fi | 8853 fi |
8860 } | 8854 } |
8861 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8855 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8862 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8856 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8863 echo "configure:8864: checking for lber.h" >&5 | 8857 echo "configure:8858: checking for lber.h" >&5 |
8864 | 8858 |
8865 cat > conftest.$ac_ext <<EOF | 8859 cat > conftest.$ac_ext <<EOF |
8866 #line 8867 "configure" | 8860 #line 8861 "configure" |
8867 #include "confdefs.h" | 8861 #include "confdefs.h" |
8868 #include <lber.h> | 8862 #include <lber.h> |
8869 EOF | 8863 EOF |
8870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8871 { (eval echo configure:8872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8865 { (eval echo configure:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8873 if test -z "$ac_err"; then | 8867 if test -z "$ac_err"; then |
8874 rm -rf conftest* | 8868 rm -rf conftest* |
8875 eval "ac_cv_header_$ac_safe=yes" | 8869 eval "ac_cv_header_$ac_safe=yes" |
8876 else | 8870 else |
8890 fi | 8884 fi |
8891 } | 8885 } |
8892 if test "$with_ldap" != "no"; then | 8886 if test "$with_ldap" != "no"; then |
8893 | 8887 |
8894 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8888 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8895 echo "configure:8896: checking for ldap_search in -lldap" >&5 | 8889 echo "configure:8890: checking for ldap_search in -lldap" >&5 |
8896 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8890 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8897 | 8891 |
8898 xe_check_libs=" -lldap " | 8892 xe_check_libs=" -lldap " |
8899 cat > conftest.$ac_ext <<EOF | 8893 cat > conftest.$ac_ext <<EOF |
8900 #line 8901 "configure" | 8894 #line 8895 "configure" |
8901 #include "confdefs.h" | 8895 #include "confdefs.h" |
8902 /* Override any gcc2 internal prototype to avoid an error. */ | 8896 /* Override any gcc2 internal prototype to avoid an error. */ |
8903 /* We use char because int might match the return type of a gcc2 | 8897 /* We use char because int might match the return type of a gcc2 |
8904 builtin and then its argument prototype would still apply. */ | 8898 builtin and then its argument prototype would still apply. */ |
8905 char ldap_search(); | 8899 char ldap_search(); |
8906 | 8900 |
8907 int main() { | 8901 int main() { |
8908 ldap_search() | 8902 ldap_search() |
8909 ; return 0; } | 8903 ; return 0; } |
8910 EOF | 8904 EOF |
8911 if { (eval echo configure:8912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8912 rm -rf conftest* | 8906 rm -rf conftest* |
8913 eval "ac_cv_lib_$ac_lib_var=yes" | 8907 eval "ac_cv_lib_$ac_lib_var=yes" |
8914 else | 8908 else |
8915 echo "configure: failed program was:" >&5 | 8909 echo "configure: failed program was:" >&5 |
8916 cat conftest.$ac_ext >&5 | 8910 cat conftest.$ac_ext >&5 |
8931 | 8925 |
8932 test "$with_ldap_nolber" = "no" && { | 8926 test "$with_ldap_nolber" = "no" && { |
8933 xe_msg_checking="for ldap_open in -lldap" | 8927 xe_msg_checking="for ldap_open in -lldap" |
8934 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8928 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8935 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8936 echo "configure:8937: checking "$xe_msg_checking"" >&5 | 8930 echo "configure:8931: checking "$xe_msg_checking"" >&5 |
8937 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8931 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8938 | 8932 |
8939 xe_check_libs=" -lldap -llber" | 8933 xe_check_libs=" -lldap -llber" |
8940 cat > conftest.$ac_ext <<EOF | 8934 cat > conftest.$ac_ext <<EOF |
8941 #line 8942 "configure" | 8935 #line 8936 "configure" |
8942 #include "confdefs.h" | 8936 #include "confdefs.h" |
8943 /* Override any gcc2 internal prototype to avoid an error. */ | 8937 /* Override any gcc2 internal prototype to avoid an error. */ |
8944 /* We use char because int might match the return type of a gcc2 | 8938 /* We use char because int might match the return type of a gcc2 |
8945 builtin and then its argument prototype would still apply. */ | 8939 builtin and then its argument prototype would still apply. */ |
8946 char ldap_open(); | 8940 char ldap_open(); |
8947 | 8941 |
8948 int main() { | 8942 int main() { |
8949 ldap_open() | 8943 ldap_open() |
8950 ; return 0; } | 8944 ; return 0; } |
8951 EOF | 8945 EOF |
8952 if { (eval echo configure:8953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8946 if { (eval echo configure:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8953 rm -rf conftest* | 8947 rm -rf conftest* |
8954 eval "ac_cv_lib_$ac_lib_var=yes" | 8948 eval "ac_cv_lib_$ac_lib_var=yes" |
8955 else | 8949 else |
8956 echo "configure: failed program was:" >&5 | 8950 echo "configure: failed program was:" >&5 |
8957 cat conftest.$ac_ext >&5 | 8951 cat conftest.$ac_ext >&5 |
8972 } | 8966 } |
8973 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8967 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8974 xe_msg_checking="for ldap_open in -lldap" | 8968 xe_msg_checking="for ldap_open in -lldap" |
8975 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8969 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8976 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8977 echo "configure:8978: checking "$xe_msg_checking"" >&5 | 8971 echo "configure:8972: checking "$xe_msg_checking"" >&5 |
8978 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8979 | 8973 |
8980 xe_check_libs=" -lldap -llber -lkrb" | 8974 xe_check_libs=" -lldap -llber -lkrb" |
8981 cat > conftest.$ac_ext <<EOF | 8975 cat > conftest.$ac_ext <<EOF |
8982 #line 8983 "configure" | 8976 #line 8977 "configure" |
8983 #include "confdefs.h" | 8977 #include "confdefs.h" |
8984 /* Override any gcc2 internal prototype to avoid an error. */ | 8978 /* Override any gcc2 internal prototype to avoid an error. */ |
8985 /* We use char because int might match the return type of a gcc2 | 8979 /* We use char because int might match the return type of a gcc2 |
8986 builtin and then its argument prototype would still apply. */ | 8980 builtin and then its argument prototype would still apply. */ |
8987 char ldap_open(); | 8981 char ldap_open(); |
8988 | 8982 |
8989 int main() { | 8983 int main() { |
8990 ldap_open() | 8984 ldap_open() |
8991 ; return 0; } | 8985 ; return 0; } |
8992 EOF | 8986 EOF |
8993 if { (eval echo configure:8994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8994 rm -rf conftest* | 8988 rm -rf conftest* |
8995 eval "ac_cv_lib_$ac_lib_var=yes" | 8989 eval "ac_cv_lib_$ac_lib_var=yes" |
8996 else | 8990 else |
8997 echo "configure: failed program was:" >&5 | 8991 echo "configure: failed program was:" >&5 |
8998 cat conftest.$ac_ext >&5 | 8992 cat conftest.$ac_ext >&5 |
9013 } | 9007 } |
9014 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 9008 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
9015 xe_msg_checking="for ldap_open in -lldap" | 9009 xe_msg_checking="for ldap_open in -lldap" |
9016 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9010 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9017 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9011 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9018 echo "configure:9019: checking "$xe_msg_checking"" >&5 | 9012 echo "configure:9013: checking "$xe_msg_checking"" >&5 |
9019 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9013 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9020 | 9014 |
9021 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9015 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9022 cat > conftest.$ac_ext <<EOF | 9016 cat > conftest.$ac_ext <<EOF |
9023 #line 9024 "configure" | 9017 #line 9018 "configure" |
9024 #include "confdefs.h" | 9018 #include "confdefs.h" |
9025 /* Override any gcc2 internal prototype to avoid an error. */ | 9019 /* Override any gcc2 internal prototype to avoid an error. */ |
9026 /* We use char because int might match the return type of a gcc2 | 9020 /* We use char because int might match the return type of a gcc2 |
9027 builtin and then its argument prototype would still apply. */ | 9021 builtin and then its argument prototype would still apply. */ |
9028 char ldap_open(); | 9022 char ldap_open(); |
9029 | 9023 |
9030 int main() { | 9024 int main() { |
9031 ldap_open() | 9025 ldap_open() |
9032 ; return 0; } | 9026 ; return 0; } |
9033 EOF | 9027 EOF |
9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9035 rm -rf conftest* | 9029 rm -rf conftest* |
9036 eval "ac_cv_lib_$ac_lib_var=yes" | 9030 eval "ac_cv_lib_$ac_lib_var=yes" |
9037 else | 9031 else |
9038 echo "configure: failed program was:" >&5 | 9032 echo "configure: failed program was:" >&5 |
9039 cat conftest.$ac_ext >&5 | 9033 cat conftest.$ac_ext >&5 |
9078 fi | 9072 fi |
9079 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9073 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9080 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9074 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9081 do | 9075 do |
9082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9083 echo "configure:9084: checking for $ac_func" >&5 | 9077 echo "configure:9078: checking for $ac_func" >&5 |
9084 | 9078 |
9085 cat > conftest.$ac_ext <<EOF | 9079 cat > conftest.$ac_ext <<EOF |
9086 #line 9087 "configure" | 9080 #line 9081 "configure" |
9087 #include "confdefs.h" | 9081 #include "confdefs.h" |
9088 /* System header to define __stub macros and hopefully few prototypes, | 9082 /* System header to define __stub macros and hopefully few prototypes, |
9089 which can conflict with char $ac_func(); below. */ | 9083 which can conflict with char $ac_func(); below. */ |
9090 #include <assert.h> | 9084 #include <assert.h> |
9091 /* Override any gcc2 internal prototype to avoid an error. */ | 9085 /* Override any gcc2 internal prototype to avoid an error. */ |
9104 $ac_func(); | 9098 $ac_func(); |
9105 #endif | 9099 #endif |
9106 | 9100 |
9107 ; return 0; } | 9101 ; return 0; } |
9108 EOF | 9102 EOF |
9109 if { (eval echo configure:9110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9103 if { (eval echo configure:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9110 rm -rf conftest* | 9104 rm -rf conftest* |
9111 eval "ac_cv_func_$ac_func=yes" | 9105 eval "ac_cv_func_$ac_func=yes" |
9112 else | 9106 else |
9113 echo "configure: failed program was:" >&5 | 9107 echo "configure: failed program was:" >&5 |
9114 cat conftest.$ac_ext >&5 | 9108 cat conftest.$ac_ext >&5 |
9143 | 9137 |
9144 | 9138 |
9145 postgresql_libs= | 9139 postgresql_libs= |
9146 if test "$with_postgresql" != "no"; then | 9140 if test "$with_postgresql" != "no"; then |
9147 echo "checking for PostgreSQL" 1>&6 | 9141 echo "checking for PostgreSQL" 1>&6 |
9148 echo "configure:9149: checking for PostgreSQL" >&5 | 9142 echo "configure:9143: checking for PostgreSQL" >&5 |
9149 | 9143 |
9150 for header_dir in "" "pgsql/" "postgresql/"; do | 9144 for header_dir in "" "pgsql/" "postgresql/"; do |
9151 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9145 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9152 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9146 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9153 echo "configure:9154: checking for ${header_dir}libpq-fe.h" >&5 | 9147 echo "configure:9148: checking for ${header_dir}libpq-fe.h" >&5 |
9154 | 9148 |
9155 cat > conftest.$ac_ext <<EOF | 9149 cat > conftest.$ac_ext <<EOF |
9156 #line 9157 "configure" | 9150 #line 9151 "configure" |
9157 #include "confdefs.h" | 9151 #include "confdefs.h" |
9158 #include <${header_dir}libpq-fe.h> | 9152 #include <${header_dir}libpq-fe.h> |
9159 EOF | 9153 EOF |
9160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9161 { (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9155 { (eval echo configure:9156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9163 if test -z "$ac_err"; then | 9157 if test -z "$ac_err"; then |
9164 rm -rf conftest* | 9158 rm -rf conftest* |
9165 eval "ac_cv_header_$ac_safe=yes" | 9159 eval "ac_cv_header_$ac_safe=yes" |
9166 else | 9160 else |
9180 | 9174 |
9181 done | 9175 done |
9182 | 9176 |
9183 test -n "$libpq_fe_h_file" && { | 9177 test -n "$libpq_fe_h_file" && { |
9184 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9178 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9185 echo "configure:9186: checking for PQconnectdb in -lpq" >&5 | 9179 echo "configure:9180: checking for PQconnectdb in -lpq" >&5 |
9186 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9180 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9187 | 9181 |
9188 xe_check_libs=" -lpq " | 9182 xe_check_libs=" -lpq " |
9189 cat > conftest.$ac_ext <<EOF | 9183 cat > conftest.$ac_ext <<EOF |
9190 #line 9191 "configure" | 9184 #line 9185 "configure" |
9191 #include "confdefs.h" | 9185 #include "confdefs.h" |
9192 /* Override any gcc2 internal prototype to avoid an error. */ | 9186 /* Override any gcc2 internal prototype to avoid an error. */ |
9193 /* We use char because int might match the return type of a gcc2 | 9187 /* We use char because int might match the return type of a gcc2 |
9194 builtin and then its argument prototype would still apply. */ | 9188 builtin and then its argument prototype would still apply. */ |
9195 char PQconnectdb(); | 9189 char PQconnectdb(); |
9196 | 9190 |
9197 int main() { | 9191 int main() { |
9198 PQconnectdb() | 9192 PQconnectdb() |
9199 ; return 0; } | 9193 ; return 0; } |
9200 EOF | 9194 EOF |
9201 if { (eval echo configure:9202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9202 rm -rf conftest* | 9196 rm -rf conftest* |
9203 eval "ac_cv_lib_$ac_lib_var=yes" | 9197 eval "ac_cv_lib_$ac_lib_var=yes" |
9204 else | 9198 else |
9205 echo "configure: failed program was:" >&5 | 9199 echo "configure: failed program was:" >&5 |
9206 cat conftest.$ac_ext >&5 | 9200 cat conftest.$ac_ext >&5 |
9229 EOF | 9223 EOF |
9230 } | 9224 } |
9231 | 9225 |
9232 | 9226 |
9233 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9227 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9234 echo "configure:9235: checking for PQconnectStart in -lpq" >&5 | 9228 echo "configure:9229: checking for PQconnectStart in -lpq" >&5 |
9235 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9229 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9236 | 9230 |
9237 xe_check_libs=" -lpq " | 9231 xe_check_libs=" -lpq " |
9238 cat > conftest.$ac_ext <<EOF | 9232 cat > conftest.$ac_ext <<EOF |
9239 #line 9240 "configure" | 9233 #line 9234 "configure" |
9240 #include "confdefs.h" | 9234 #include "confdefs.h" |
9241 /* Override any gcc2 internal prototype to avoid an error. */ | 9235 /* Override any gcc2 internal prototype to avoid an error. */ |
9242 /* We use char because int might match the return type of a gcc2 | 9236 /* We use char because int might match the return type of a gcc2 |
9243 builtin and then its argument prototype would still apply. */ | 9237 builtin and then its argument prototype would still apply. */ |
9244 char PQconnectStart(); | 9238 char PQconnectStart(); |
9245 | 9239 |
9246 int main() { | 9240 int main() { |
9247 PQconnectStart() | 9241 PQconnectStart() |
9248 ; return 0; } | 9242 ; return 0; } |
9249 EOF | 9243 EOF |
9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9251 rm -rf conftest* | 9245 rm -rf conftest* |
9252 eval "ac_cv_lib_$ac_lib_var=yes" | 9246 eval "ac_cv_lib_$ac_lib_var=yes" |
9253 else | 9247 else |
9254 echo "configure: failed program was:" >&5 | 9248 echo "configure: failed program was:" >&5 |
9255 cat conftest.$ac_ext >&5 | 9249 cat conftest.$ac_ext >&5 |
9296 | 9290 |
9297 | 9291 |
9298 | 9292 |
9299 if test "$window_system" != "none"; then | 9293 if test "$window_system" != "none"; then |
9300 echo "checking for graphics libraries" 1>&6 | 9294 echo "checking for graphics libraries" 1>&6 |
9301 echo "configure:9302: checking for graphics libraries" >&5 | 9295 echo "configure:9296: checking for graphics libraries" >&5 |
9302 | 9296 |
9303 libpath_xpm= | 9297 libpath_xpm= |
9304 incpath_xpm= | 9298 incpath_xpm= |
9305 case "$opsys" in | 9299 case "$opsys" in |
9306 cygwin*) | 9300 cygwin*) |
9322 xpm_problem="" | 9316 xpm_problem="" |
9323 if test -z "$with_xpm"; then | 9317 if test -z "$with_xpm"; then |
9324 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9318 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9325 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9319 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9326 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9327 echo "configure:9328: checking for Xpm - no older than 3.4f" >&5 | 9321 echo "configure:9322: checking for Xpm - no older than 3.4f" >&5 |
9328 xe_check_libs=-lXpm | 9322 xe_check_libs=-lXpm |
9329 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9330 #line 9331 "configure" | 9324 #line 9325 "configure" |
9331 #include "confdefs.h" | 9325 #include "confdefs.h" |
9332 #define XPM_NUMBERS | 9326 #define XPM_NUMBERS |
9333 #include <X11/xpm.h> | 9327 #include <X11/xpm.h> |
9334 int main(int c, char **v) { | 9328 int main(int c, char **v) { |
9335 return c == 1 ? 0 : | 9329 return c == 1 ? 0 : |
9336 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9330 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9337 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9331 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9338 EOF | 9332 EOF |
9339 if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9340 then | 9334 then |
9341 ./conftest dummy_arg; xpm_status=$?; | 9335 ./conftest dummy_arg; xpm_status=$?; |
9342 if test "$xpm_status" = "0"; then | 9336 if test "$xpm_status" = "0"; then |
9343 with_xpm=yes; | 9337 with_xpm=yes; |
9344 else | 9338 else |
9378 | 9372 |
9379 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9373 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9380 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9374 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9381 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9375 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9382 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9376 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9383 echo "configure:9384: checking for \"FOR_MSW\" xpm" >&5 | 9377 echo "configure:9378: checking for \"FOR_MSW\" xpm" >&5 |
9384 xe_check_libs=-lXpm | 9378 xe_check_libs=-lXpm |
9385 cat > conftest.$ac_ext <<EOF | 9379 cat > conftest.$ac_ext <<EOF |
9386 #line 9387 "configure" | 9380 #line 9381 "configure" |
9387 #include "confdefs.h" | 9381 #include "confdefs.h" |
9388 | 9382 |
9389 int main() { | 9383 int main() { |
9390 XpmCreatePixmapFromData() | 9384 XpmCreatePixmapFromData() |
9391 ; return 0; } | 9385 ; return 0; } |
9392 EOF | 9386 EOF |
9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9394 rm -rf conftest* | 9388 rm -rf conftest* |
9395 xpm_for_msw=no | 9389 xpm_for_msw=no |
9396 else | 9390 else |
9397 echo "configure: failed program was:" >&5 | 9391 echo "configure: failed program was:" >&5 |
9398 cat conftest.$ac_ext >&5 | 9392 cat conftest.$ac_ext >&5 |
9414 fi | 9408 fi |
9415 fi | 9409 fi |
9416 | 9410 |
9417 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9411 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9418 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9412 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9419 echo "configure:9420: checking for compface.h" >&5 | 9413 echo "configure:9414: checking for compface.h" >&5 |
9420 | 9414 |
9421 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9422 #line 9423 "configure" | 9416 #line 9417 "configure" |
9423 #include "confdefs.h" | 9417 #include "confdefs.h" |
9424 #include <compface.h> | 9418 #include <compface.h> |
9425 EOF | 9419 EOF |
9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9429 if test -z "$ac_err"; then | 9423 if test -z "$ac_err"; then |
9430 rm -rf conftest* | 9424 rm -rf conftest* |
9431 eval "ac_cv_header_$ac_safe=yes" | 9425 eval "ac_cv_header_$ac_safe=yes" |
9432 else | 9426 else |
9445 with_xface=no | 9439 with_xface=no |
9446 fi | 9440 fi |
9447 } | 9441 } |
9448 test -z "$with_xface" && { | 9442 test -z "$with_xface" && { |
9449 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9443 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9450 echo "configure:9451: checking for UnGenFace in -lcompface" >&5 | 9444 echo "configure:9445: checking for UnGenFace in -lcompface" >&5 |
9451 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9445 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9452 | 9446 |
9453 xe_check_libs=" -lcompface " | 9447 xe_check_libs=" -lcompface " |
9454 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
9455 #line 9456 "configure" | 9449 #line 9450 "configure" |
9456 #include "confdefs.h" | 9450 #include "confdefs.h" |
9457 /* Override any gcc2 internal prototype to avoid an error. */ | 9451 /* Override any gcc2 internal prototype to avoid an error. */ |
9458 /* We use char because int might match the return type of a gcc2 | 9452 /* We use char because int might match the return type of a gcc2 |
9459 builtin and then its argument prototype would still apply. */ | 9453 builtin and then its argument prototype would still apply. */ |
9460 char UnGenFace(); | 9454 char UnGenFace(); |
9461 | 9455 |
9462 int main() { | 9456 int main() { |
9463 UnGenFace() | 9457 UnGenFace() |
9464 ; return 0; } | 9458 ; return 0; } |
9465 EOF | 9459 EOF |
9466 if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9467 rm -rf conftest* | 9461 rm -rf conftest* |
9468 eval "ac_cv_lib_$ac_lib_var=yes" | 9462 eval "ac_cv_lib_$ac_lib_var=yes" |
9469 else | 9463 else |
9470 echo "configure: failed program was:" >&5 | 9464 echo "configure: failed program was:" >&5 |
9471 cat conftest.$ac_ext >&5 | 9465 cat conftest.$ac_ext >&5 |
9510 fi | 9504 fi |
9511 | 9505 |
9512 if test "$with_png $with_tiff" != "no no"; then | 9506 if test "$with_png $with_tiff" != "no no"; then |
9513 | 9507 |
9514 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9508 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9515 echo "configure:9516: checking for inflate in -lc" >&5 | 9509 echo "configure:9510: checking for inflate in -lc" >&5 |
9516 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9510 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9517 | 9511 |
9518 xe_check_libs=" -lc " | 9512 xe_check_libs=" -lc " |
9519 cat > conftest.$ac_ext <<EOF | 9513 cat > conftest.$ac_ext <<EOF |
9520 #line 9521 "configure" | 9514 #line 9515 "configure" |
9521 #include "confdefs.h" | 9515 #include "confdefs.h" |
9522 /* Override any gcc2 internal prototype to avoid an error. */ | 9516 /* Override any gcc2 internal prototype to avoid an error. */ |
9523 /* We use char because int might match the return type of a gcc2 | 9517 /* We use char because int might match the return type of a gcc2 |
9524 builtin and then its argument prototype would still apply. */ | 9518 builtin and then its argument prototype would still apply. */ |
9525 char inflate(); | 9519 char inflate(); |
9526 | 9520 |
9527 int main() { | 9521 int main() { |
9528 inflate() | 9522 inflate() |
9529 ; return 0; } | 9523 ; return 0; } |
9530 EOF | 9524 EOF |
9531 if { (eval echo configure:9532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9532 rm -rf conftest* | 9526 rm -rf conftest* |
9533 eval "ac_cv_lib_$ac_lib_var=yes" | 9527 eval "ac_cv_lib_$ac_lib_var=yes" |
9534 else | 9528 else |
9535 echo "configure: failed program was:" >&5 | 9529 echo "configure: failed program was:" >&5 |
9536 cat conftest.$ac_ext >&5 | 9530 cat conftest.$ac_ext >&5 |
9545 : | 9539 : |
9546 else | 9540 else |
9547 echo "$ac_t""no" 1>&6 | 9541 echo "$ac_t""no" 1>&6 |
9548 | 9542 |
9549 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9543 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9550 echo "configure:9551: checking for inflate in -lz" >&5 | 9544 echo "configure:9545: checking for inflate in -lz" >&5 |
9551 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9545 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9552 | 9546 |
9553 xe_check_libs=" -lz " | 9547 xe_check_libs=" -lz " |
9554 cat > conftest.$ac_ext <<EOF | 9548 cat > conftest.$ac_ext <<EOF |
9555 #line 9556 "configure" | 9549 #line 9550 "configure" |
9556 #include "confdefs.h" | 9550 #include "confdefs.h" |
9557 /* Override any gcc2 internal prototype to avoid an error. */ | 9551 /* Override any gcc2 internal prototype to avoid an error. */ |
9558 /* We use char because int might match the return type of a gcc2 | 9552 /* We use char because int might match the return type of a gcc2 |
9559 builtin and then its argument prototype would still apply. */ | 9553 builtin and then its argument prototype would still apply. */ |
9560 char inflate(); | 9554 char inflate(); |
9561 | 9555 |
9562 int main() { | 9556 int main() { |
9563 inflate() | 9557 inflate() |
9564 ; return 0; } | 9558 ; return 0; } |
9565 EOF | 9559 EOF |
9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9567 rm -rf conftest* | 9561 rm -rf conftest* |
9568 eval "ac_cv_lib_$ac_lib_var=yes" | 9562 eval "ac_cv_lib_$ac_lib_var=yes" |
9569 else | 9563 else |
9570 echo "configure: failed program was:" >&5 | 9564 echo "configure: failed program was:" >&5 |
9571 cat conftest.$ac_ext >&5 | 9565 cat conftest.$ac_ext >&5 |
9580 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9574 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9581 else | 9575 else |
9582 echo "$ac_t""no" 1>&6 | 9576 echo "$ac_t""no" 1>&6 |
9583 | 9577 |
9584 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9578 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9585 echo "configure:9586: checking for inflate in -lgz" >&5 | 9579 echo "configure:9580: checking for inflate in -lgz" >&5 |
9586 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9580 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9587 | 9581 |
9588 xe_check_libs=" -lgz " | 9582 xe_check_libs=" -lgz " |
9589 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9590 #line 9591 "configure" | 9584 #line 9585 "configure" |
9591 #include "confdefs.h" | 9585 #include "confdefs.h" |
9592 /* Override any gcc2 internal prototype to avoid an error. */ | 9586 /* Override any gcc2 internal prototype to avoid an error. */ |
9593 /* We use char because int might match the return type of a gcc2 | 9587 /* We use char because int might match the return type of a gcc2 |
9594 builtin and then its argument prototype would still apply. */ | 9588 builtin and then its argument prototype would still apply. */ |
9595 char inflate(); | 9589 char inflate(); |
9596 | 9590 |
9597 int main() { | 9591 int main() { |
9598 inflate() | 9592 inflate() |
9599 ; return 0; } | 9593 ; return 0; } |
9600 EOF | 9594 EOF |
9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9602 rm -rf conftest* | 9596 rm -rf conftest* |
9603 eval "ac_cv_lib_$ac_lib_var=yes" | 9597 eval "ac_cv_lib_$ac_lib_var=yes" |
9604 else | 9598 else |
9605 echo "configure: failed program was:" >&5 | 9599 echo "configure: failed program was:" >&5 |
9606 cat conftest.$ac_ext >&5 | 9600 cat conftest.$ac_ext >&5 |
9626 | 9620 |
9627 fi | 9621 fi |
9628 | 9622 |
9629 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9623 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9630 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9631 echo "configure:9632: checking for jpeglib.h" >&5 | 9625 echo "configure:9626: checking for jpeglib.h" >&5 |
9632 | 9626 |
9633 cat > conftest.$ac_ext <<EOF | 9627 cat > conftest.$ac_ext <<EOF |
9634 #line 9635 "configure" | 9628 #line 9629 "configure" |
9635 #include "confdefs.h" | 9629 #include "confdefs.h" |
9636 #include <jpeglib.h> | 9630 #include <jpeglib.h> |
9637 EOF | 9631 EOF |
9638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9639 { (eval echo configure:9640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9641 if test -z "$ac_err"; then | 9635 if test -z "$ac_err"; then |
9642 rm -rf conftest* | 9636 rm -rf conftest* |
9643 eval "ac_cv_header_$ac_safe=yes" | 9637 eval "ac_cv_header_$ac_safe=yes" |
9644 else | 9638 else |
9657 with_jpeg=no | 9651 with_jpeg=no |
9658 fi | 9652 fi |
9659 } | 9653 } |
9660 test -z "$with_jpeg" && { | 9654 test -z "$with_jpeg" && { |
9661 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9655 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9662 echo "configure:9663: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9656 echo "configure:9657: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9663 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9657 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9664 | 9658 |
9665 xe_check_libs=" -ljpeg " | 9659 xe_check_libs=" -ljpeg " |
9666 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9667 #line 9668 "configure" | 9661 #line 9662 "configure" |
9668 #include "confdefs.h" | 9662 #include "confdefs.h" |
9669 /* Override any gcc2 internal prototype to avoid an error. */ | 9663 /* Override any gcc2 internal prototype to avoid an error. */ |
9670 /* We use char because int might match the return type of a gcc2 | 9664 /* We use char because int might match the return type of a gcc2 |
9671 builtin and then its argument prototype would still apply. */ | 9665 builtin and then its argument prototype would still apply. */ |
9672 char jpeg_destroy_decompress(); | 9666 char jpeg_destroy_decompress(); |
9673 | 9667 |
9674 int main() { | 9668 int main() { |
9675 jpeg_destroy_decompress() | 9669 jpeg_destroy_decompress() |
9676 ; return 0; } | 9670 ; return 0; } |
9677 EOF | 9671 EOF |
9678 if { (eval echo configure:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9679 rm -rf conftest* | 9673 rm -rf conftest* |
9680 eval "ac_cv_lib_$ac_lib_var=yes" | 9674 eval "ac_cv_lib_$ac_lib_var=yes" |
9681 else | 9675 else |
9682 echo "configure: failed program was:" >&5 | 9676 echo "configure: failed program was:" >&5 |
9683 cat conftest.$ac_ext >&5 | 9677 cat conftest.$ac_ext >&5 |
9709 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9703 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9710 fi | 9704 fi |
9711 | 9705 |
9712 png_problem="" | 9706 png_problem="" |
9713 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9707 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9714 echo "configure:9715: checking for pow" >&5 | 9708 echo "configure:9709: checking for pow" >&5 |
9715 | 9709 |
9716 cat > conftest.$ac_ext <<EOF | 9710 cat > conftest.$ac_ext <<EOF |
9717 #line 9718 "configure" | 9711 #line 9712 "configure" |
9718 #include "confdefs.h" | 9712 #include "confdefs.h" |
9719 /* System header to define __stub macros and hopefully few prototypes, | 9713 /* System header to define __stub macros and hopefully few prototypes, |
9720 which can conflict with char pow(); below. */ | 9714 which can conflict with char pow(); below. */ |
9721 #include <assert.h> | 9715 #include <assert.h> |
9722 /* Override any gcc2 internal prototype to avoid an error. */ | 9716 /* Override any gcc2 internal prototype to avoid an error. */ |
9735 pow(); | 9729 pow(); |
9736 #endif | 9730 #endif |
9737 | 9731 |
9738 ; return 0; } | 9732 ; return 0; } |
9739 EOF | 9733 EOF |
9740 if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9741 rm -rf conftest* | 9735 rm -rf conftest* |
9742 eval "ac_cv_func_pow=yes" | 9736 eval "ac_cv_func_pow=yes" |
9743 else | 9737 else |
9744 echo "configure: failed program was:" >&5 | 9738 echo "configure: failed program was:" >&5 |
9745 cat conftest.$ac_ext >&5 | 9739 cat conftest.$ac_ext >&5 |
9756 with_png=no | 9750 with_png=no |
9757 fi | 9751 fi |
9758 } | 9752 } |
9759 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9753 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9760 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9754 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9761 echo "configure:9762: checking for png.h" >&5 | 9755 echo "configure:9756: checking for png.h" >&5 |
9762 | 9756 |
9763 cat > conftest.$ac_ext <<EOF | 9757 cat > conftest.$ac_ext <<EOF |
9764 #line 9765 "configure" | 9758 #line 9759 "configure" |
9765 #include "confdefs.h" | 9759 #include "confdefs.h" |
9766 #include <png.h> | 9760 #include <png.h> |
9767 EOF | 9761 EOF |
9768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9769 { (eval echo configure:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9771 if test -z "$ac_err"; then | 9765 if test -z "$ac_err"; then |
9772 rm -rf conftest* | 9766 rm -rf conftest* |
9773 eval "ac_cv_header_$ac_safe=yes" | 9767 eval "ac_cv_header_$ac_safe=yes" |
9774 else | 9768 else |
9787 with_png=no | 9781 with_png=no |
9788 fi | 9782 fi |
9789 } | 9783 } |
9790 test -z "$with_png" && { | 9784 test -z "$with_png" && { |
9791 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9785 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9792 echo "configure:9793: checking for png_read_image in -lpng" >&5 | 9786 echo "configure:9787: checking for png_read_image in -lpng" >&5 |
9793 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9787 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9794 | 9788 |
9795 xe_check_libs=" -lpng " | 9789 xe_check_libs=" -lpng " |
9796 cat > conftest.$ac_ext <<EOF | 9790 cat > conftest.$ac_ext <<EOF |
9797 #line 9798 "configure" | 9791 #line 9792 "configure" |
9798 #include "confdefs.h" | 9792 #include "confdefs.h" |
9799 /* Override any gcc2 internal prototype to avoid an error. */ | 9793 /* Override any gcc2 internal prototype to avoid an error. */ |
9800 /* We use char because int might match the return type of a gcc2 | 9794 /* We use char because int might match the return type of a gcc2 |
9801 builtin and then its argument prototype would still apply. */ | 9795 builtin and then its argument prototype would still apply. */ |
9802 char png_read_image(); | 9796 char png_read_image(); |
9803 | 9797 |
9804 int main() { | 9798 int main() { |
9805 png_read_image() | 9799 png_read_image() |
9806 ; return 0; } | 9800 ; return 0; } |
9807 EOF | 9801 EOF |
9808 if { (eval echo configure:9809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9809 rm -rf conftest* | 9803 rm -rf conftest* |
9810 eval "ac_cv_lib_$ac_lib_var=yes" | 9804 eval "ac_cv_lib_$ac_lib_var=yes" |
9811 else | 9805 else |
9812 echo "configure: failed program was:" >&5 | 9806 echo "configure: failed program was:" >&5 |
9813 cat conftest.$ac_ext >&5 | 9807 cat conftest.$ac_ext >&5 |
9826 fi | 9820 fi |
9827 | 9821 |
9828 } | 9822 } |
9829 if test -z "$with_png"; then | 9823 if test -z "$with_png"; then |
9830 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9824 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9831 echo "configure:9832: checking for workable png version information" >&5 | 9825 echo "configure:9826: checking for workable png version information" >&5 |
9832 xe_check_libs="-lpng -lz" | 9826 xe_check_libs="-lpng -lz" |
9833 cat > conftest.$ac_ext <<EOF | 9827 cat > conftest.$ac_ext <<EOF |
9834 #line 9835 "configure" | 9828 #line 9829 "configure" |
9835 #include "confdefs.h" | 9829 #include "confdefs.h" |
9836 #include <png.h> | 9830 #include <png.h> |
9837 int main(int c, char **v) { | 9831 int main(int c, char **v) { |
9838 if (c == 1) return 0; | 9832 if (c == 1) return 0; |
9839 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9833 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9840 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9834 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9841 EOF | 9835 EOF |
9842 if { (eval echo configure:9843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9843 then | 9837 then |
9844 ./conftest dummy_arg; png_status=$?; | 9838 ./conftest dummy_arg; png_status=$?; |
9845 if test "$png_status" = "0"; then | 9839 if test "$png_status" = "0"; then |
9846 with_png=yes; | 9840 with_png=yes; |
9847 else | 9841 else |
9880 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9874 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9881 fi | 9875 fi |
9882 | 9876 |
9883 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9877 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9884 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9878 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9885 echo "configure:9886: checking for tiffio.h" >&5 | 9879 echo "configure:9880: checking for tiffio.h" >&5 |
9886 | 9880 |
9887 cat > conftest.$ac_ext <<EOF | 9881 cat > conftest.$ac_ext <<EOF |
9888 #line 9889 "configure" | 9882 #line 9883 "configure" |
9889 #include "confdefs.h" | 9883 #include "confdefs.h" |
9890 #include <tiffio.h> | 9884 #include <tiffio.h> |
9891 EOF | 9885 EOF |
9892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9893 { (eval echo configure:9894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9895 if test -z "$ac_err"; then | 9889 if test -z "$ac_err"; then |
9896 rm -rf conftest* | 9890 rm -rf conftest* |
9897 eval "ac_cv_header_$ac_safe=yes" | 9891 eval "ac_cv_header_$ac_safe=yes" |
9898 else | 9892 else |
9911 with_tiff=no | 9905 with_tiff=no |
9912 fi | 9906 fi |
9913 } | 9907 } |
9914 test -z "$with_tiff" && { | 9908 test -z "$with_tiff" && { |
9915 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9909 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9916 echo "configure:9917: checking for TIFFClientOpen in -ltiff" >&5 | 9910 echo "configure:9911: checking for TIFFClientOpen in -ltiff" >&5 |
9917 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9911 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9918 | 9912 |
9919 xe_check_libs=" -ltiff " | 9913 xe_check_libs=" -ltiff " |
9920 cat > conftest.$ac_ext <<EOF | 9914 cat > conftest.$ac_ext <<EOF |
9921 #line 9922 "configure" | 9915 #line 9916 "configure" |
9922 #include "confdefs.h" | 9916 #include "confdefs.h" |
9923 /* Override any gcc2 internal prototype to avoid an error. */ | 9917 /* Override any gcc2 internal prototype to avoid an error. */ |
9924 /* We use char because int might match the return type of a gcc2 | 9918 /* We use char because int might match the return type of a gcc2 |
9925 builtin and then its argument prototype would still apply. */ | 9919 builtin and then its argument prototype would still apply. */ |
9926 char TIFFClientOpen(); | 9920 char TIFFClientOpen(); |
9927 | 9921 |
9928 int main() { | 9922 int main() { |
9929 TIFFClientOpen() | 9923 TIFFClientOpen() |
9930 ; return 0; } | 9924 ; return 0; } |
9931 EOF | 9925 EOF |
9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9933 rm -rf conftest* | 9927 rm -rf conftest* |
9934 eval "ac_cv_lib_$ac_lib_var=yes" | 9928 eval "ac_cv_lib_$ac_lib_var=yes" |
9935 else | 9929 else |
9936 echo "configure: failed program was:" >&5 | 9930 echo "configure: failed program was:" >&5 |
9937 cat conftest.$ac_ext >&5 | 9931 cat conftest.$ac_ext >&5 |
9966 | 9960 |
9967 | 9961 |
9968 if test "$with_gtk" = "yes"; then | 9962 if test "$with_gtk" = "yes"; then |
9969 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9963 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9970 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9964 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9971 echo "configure:9972: checking for compface.h" >&5 | 9965 echo "configure:9966: checking for compface.h" >&5 |
9972 | 9966 |
9973 cat > conftest.$ac_ext <<EOF | 9967 cat > conftest.$ac_ext <<EOF |
9974 #line 9975 "configure" | 9968 #line 9969 "configure" |
9975 #include "confdefs.h" | 9969 #include "confdefs.h" |
9976 #include <compface.h> | 9970 #include <compface.h> |
9977 EOF | 9971 EOF |
9978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9979 { (eval echo configure:9980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9973 { (eval echo configure:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9981 if test -z "$ac_err"; then | 9975 if test -z "$ac_err"; then |
9982 rm -rf conftest* | 9976 rm -rf conftest* |
9983 eval "ac_cv_header_$ac_safe=yes" | 9977 eval "ac_cv_header_$ac_safe=yes" |
9984 else | 9978 else |
9997 with_xface=no | 9991 with_xface=no |
9998 fi | 9992 fi |
9999 } | 9993 } |
10000 test -z "$with_xface" && { | 9994 test -z "$with_xface" && { |
10001 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9995 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
10002 echo "configure:10003: checking for UnGenFace in -lcompface" >&5 | 9996 echo "configure:9997: checking for UnGenFace in -lcompface" >&5 |
10003 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9997 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
10004 | 9998 |
10005 xe_check_libs=" -lcompface " | 9999 xe_check_libs=" -lcompface " |
10006 cat > conftest.$ac_ext <<EOF | 10000 cat > conftest.$ac_ext <<EOF |
10007 #line 10008 "configure" | 10001 #line 10002 "configure" |
10008 #include "confdefs.h" | 10002 #include "confdefs.h" |
10009 /* Override any gcc2 internal prototype to avoid an error. */ | 10003 /* Override any gcc2 internal prototype to avoid an error. */ |
10010 /* We use char because int might match the return type of a gcc2 | 10004 /* We use char because int might match the return type of a gcc2 |
10011 builtin and then its argument prototype would still apply. */ | 10005 builtin and then its argument prototype would still apply. */ |
10012 char UnGenFace(); | 10006 char UnGenFace(); |
10013 | 10007 |
10014 int main() { | 10008 int main() { |
10015 UnGenFace() | 10009 UnGenFace() |
10016 ; return 0; } | 10010 ; return 0; } |
10017 EOF | 10011 EOF |
10018 if { (eval echo configure:10019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10019 rm -rf conftest* | 10013 rm -rf conftest* |
10020 eval "ac_cv_lib_$ac_lib_var=yes" | 10014 eval "ac_cv_lib_$ac_lib_var=yes" |
10021 else | 10015 else |
10022 echo "configure: failed program was:" >&5 | 10016 echo "configure: failed program was:" >&5 |
10023 cat conftest.$ac_ext >&5 | 10017 cat conftest.$ac_ext >&5 |
10052 | 10046 |
10053 | 10047 |
10054 | 10048 |
10055 if test "$with_x11" = "yes"; then | 10049 if test "$with_x11" = "yes"; then |
10056 echo "checking for X11 graphics libraries" 1>&6 | 10050 echo "checking for X11 graphics libraries" 1>&6 |
10057 echo "configure:10058: checking for X11 graphics libraries" >&5 | 10051 echo "configure:10052: checking for X11 graphics libraries" >&5 |
10058 fi | 10052 fi |
10059 | 10053 |
10060 case "$with_widgets" in | 10054 case "$with_widgets" in |
10061 "yes" | "athena") detect_athena=yes ;; | 10055 "yes" | "athena") detect_athena=yes ;; |
10062 *) detect_athena=no ;; | 10056 *) detect_athena=no ;; |
10063 esac | 10057 esac |
10064 | 10058 |
10065 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10059 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10066 echo "checking for the Athena widgets" 1>&6 | 10060 echo "checking for the Athena widgets" 1>&6 |
10067 echo "configure:10068: checking for the Athena widgets" >&5 | 10061 echo "configure:10062: checking for the Athena widgets" >&5 |
10068 | 10062 |
10069 case "$with_athena" in | 10063 case "$with_athena" in |
10070 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10064 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10071 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10065 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10072 "next") athena_variant=neXtaw athena_3d=yes ;; | 10066 "next") athena_variant=neXtaw athena_3d=yes ;; |
10076 esac | 10070 esac |
10077 | 10071 |
10078 if test "$athena_3d" = "no"; then | 10072 if test "$athena_3d" = "no"; then |
10079 | 10073 |
10080 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10074 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10081 echo "configure:10082: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10075 echo "configure:10076: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10082 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10076 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10083 | 10077 |
10084 xe_check_libs=" -l$athena_variant " | 10078 xe_check_libs=" -l$athena_variant " |
10085 cat > conftest.$ac_ext <<EOF | 10079 cat > conftest.$ac_ext <<EOF |
10086 #line 10087 "configure" | 10080 #line 10081 "configure" |
10087 #include "confdefs.h" | 10081 #include "confdefs.h" |
10088 /* Override any gcc2 internal prototype to avoid an error. */ | 10082 /* Override any gcc2 internal prototype to avoid an error. */ |
10089 /* We use char because int might match the return type of a gcc2 | 10083 /* We use char because int might match the return type of a gcc2 |
10090 builtin and then its argument prototype would still apply. */ | 10084 builtin and then its argument prototype would still apply. */ |
10091 char XawScrollbarSetThumb(); | 10085 char XawScrollbarSetThumb(); |
10092 | 10086 |
10093 int main() { | 10087 int main() { |
10094 XawScrollbarSetThumb() | 10088 XawScrollbarSetThumb() |
10095 ; return 0; } | 10089 ; return 0; } |
10096 EOF | 10090 EOF |
10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10091 if { (eval echo configure:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10098 rm -rf conftest* | 10092 rm -rf conftest* |
10099 eval "ac_cv_lib_$ac_lib_var=yes" | 10093 eval "ac_cv_lib_$ac_lib_var=yes" |
10100 else | 10094 else |
10101 echo "configure: failed program was:" >&5 | 10095 echo "configure: failed program was:" >&5 |
10102 cat conftest.$ac_ext >&5 | 10096 cat conftest.$ac_ext >&5 |
10108 | 10102 |
10109 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10110 echo "$ac_t""yes" 1>&6 | 10104 echo "$ac_t""yes" 1>&6 |
10111 | 10105 |
10112 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10106 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10113 echo "configure:10114: checking for threeDClassRec in -l$athena_variant" >&5 | 10107 echo "configure:10108: checking for threeDClassRec in -l$athena_variant" >&5 |
10114 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10108 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10115 | 10109 |
10116 xe_check_libs=" -l$athena_variant " | 10110 xe_check_libs=" -l$athena_variant " |
10117 cat > conftest.$ac_ext <<EOF | 10111 cat > conftest.$ac_ext <<EOF |
10118 #line 10119 "configure" | 10112 #line 10113 "configure" |
10119 #include "confdefs.h" | 10113 #include "confdefs.h" |
10120 /* Override any gcc2 internal prototype to avoid an error. */ | 10114 /* Override any gcc2 internal prototype to avoid an error. */ |
10121 /* We use char because int might match the return type of a gcc2 | 10115 /* We use char because int might match the return type of a gcc2 |
10122 builtin and then its argument prototype would still apply. */ | 10116 builtin and then its argument prototype would still apply. */ |
10123 char threeDClassRec(); | 10117 char threeDClassRec(); |
10124 | 10118 |
10125 int main() { | 10119 int main() { |
10126 threeDClassRec() | 10120 threeDClassRec() |
10127 ; return 0; } | 10121 ; return 0; } |
10128 EOF | 10122 EOF |
10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10123 if { (eval echo configure:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10130 rm -rf conftest* | 10124 rm -rf conftest* |
10131 eval "ac_cv_lib_$ac_lib_var=yes" | 10125 eval "ac_cv_lib_$ac_lib_var=yes" |
10132 else | 10126 else |
10133 echo "configure: failed program was:" >&5 | 10127 echo "configure: failed program was:" >&5 |
10134 cat conftest.$ac_ext >&5 | 10128 cat conftest.$ac_ext >&5 |
10155 | 10149 |
10156 | 10150 |
10157 else | 10151 else |
10158 | 10152 |
10159 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10153 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10160 echo "configure:10161: checking for threeDClassRec in -l$athena_variant" >&5 | 10154 echo "configure:10155: checking for threeDClassRec in -l$athena_variant" >&5 |
10161 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10155 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10162 | 10156 |
10163 xe_check_libs=" -l$athena_variant " | 10157 xe_check_libs=" -l$athena_variant " |
10164 cat > conftest.$ac_ext <<EOF | 10158 cat > conftest.$ac_ext <<EOF |
10165 #line 10166 "configure" | 10159 #line 10160 "configure" |
10166 #include "confdefs.h" | 10160 #include "confdefs.h" |
10167 /* Override any gcc2 internal prototype to avoid an error. */ | 10161 /* Override any gcc2 internal prototype to avoid an error. */ |
10168 /* We use char because int might match the return type of a gcc2 | 10162 /* We use char because int might match the return type of a gcc2 |
10169 builtin and then its argument prototype would still apply. */ | 10163 builtin and then its argument prototype would still apply. */ |
10170 char threeDClassRec(); | 10164 char threeDClassRec(); |
10171 | 10165 |
10172 int main() { | 10166 int main() { |
10173 threeDClassRec() | 10167 threeDClassRec() |
10174 ; return 0; } | 10168 ; return 0; } |
10175 EOF | 10169 EOF |
10176 if { (eval echo configure:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10170 if { (eval echo configure:10171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10177 rm -rf conftest* | 10171 rm -rf conftest* |
10178 eval "ac_cv_lib_$ac_lib_var=yes" | 10172 eval "ac_cv_lib_$ac_lib_var=yes" |
10179 else | 10173 else |
10180 echo "configure: failed program was:" >&5 | 10174 echo "configure: failed program was:" >&5 |
10181 cat conftest.$ac_ext >&5 | 10175 cat conftest.$ac_ext >&5 |
10189 echo "$ac_t""yes" 1>&6 | 10183 echo "$ac_t""yes" 1>&6 |
10190 athena_lib=$athena_variant | 10184 athena_lib=$athena_variant |
10191 else | 10185 else |
10192 echo "$ac_t""no" 1>&6 | 10186 echo "$ac_t""no" 1>&6 |
10193 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10187 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10194 echo "configure:10195: checking for threeDClassRec in -lXaw" >&5 | 10188 echo "configure:10189: checking for threeDClassRec in -lXaw" >&5 |
10195 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10189 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10196 | 10190 |
10197 xe_check_libs=" -lXaw " | 10191 xe_check_libs=" -lXaw " |
10198 cat > conftest.$ac_ext <<EOF | 10192 cat > conftest.$ac_ext <<EOF |
10199 #line 10200 "configure" | 10193 #line 10194 "configure" |
10200 #include "confdefs.h" | 10194 #include "confdefs.h" |
10201 /* Override any gcc2 internal prototype to avoid an error. */ | 10195 /* Override any gcc2 internal prototype to avoid an error. */ |
10202 /* We use char because int might match the return type of a gcc2 | 10196 /* We use char because int might match the return type of a gcc2 |
10203 builtin and then its argument prototype would still apply. */ | 10197 builtin and then its argument prototype would still apply. */ |
10204 char threeDClassRec(); | 10198 char threeDClassRec(); |
10205 | 10199 |
10206 int main() { | 10200 int main() { |
10207 threeDClassRec() | 10201 threeDClassRec() |
10208 ; return 0; } | 10202 ; return 0; } |
10209 EOF | 10203 EOF |
10210 if { (eval echo configure:10211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10211 rm -rf conftest* | 10205 rm -rf conftest* |
10212 eval "ac_cv_lib_$ac_lib_var=yes" | 10206 eval "ac_cv_lib_$ac_lib_var=yes" |
10213 else | 10207 else |
10214 echo "configure: failed program was:" >&5 | 10208 echo "configure: failed program was:" >&5 |
10215 cat conftest.$ac_ext >&5 | 10209 cat conftest.$ac_ext >&5 |
10236 fi | 10230 fi |
10237 | 10231 |
10238 if test "$athena_3d" = "no"; then | 10232 if test "$athena_3d" = "no"; then |
10239 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10233 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10240 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10234 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10241 echo "configure:10242: checking for X11/Xaw/ThreeD.h" >&5 | 10235 echo "configure:10236: checking for X11/Xaw/ThreeD.h" >&5 |
10242 | 10236 |
10243 cat > conftest.$ac_ext <<EOF | 10237 cat > conftest.$ac_ext <<EOF |
10244 #line 10245 "configure" | 10238 #line 10239 "configure" |
10245 #include "confdefs.h" | 10239 #include "confdefs.h" |
10246 #include <X11/Xaw/ThreeD.h> | 10240 #include <X11/Xaw/ThreeD.h> |
10247 EOF | 10241 EOF |
10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10251 if test -z "$ac_err"; then | 10245 if test -z "$ac_err"; then |
10252 rm -rf conftest* | 10246 rm -rf conftest* |
10253 eval "ac_cv_header_$ac_safe=yes" | 10247 eval "ac_cv_header_$ac_safe=yes" |
10254 else | 10248 else |
10264 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10258 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10265 else | 10259 else |
10266 echo "$ac_t""no" 1>&6 | 10260 echo "$ac_t""no" 1>&6 |
10267 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10261 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10268 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10262 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10269 echo "configure:10270: checking for X11/Xaw/XawInit.h" >&5 | 10263 echo "configure:10264: checking for X11/Xaw/XawInit.h" >&5 |
10270 | 10264 |
10271 cat > conftest.$ac_ext <<EOF | 10265 cat > conftest.$ac_ext <<EOF |
10272 #line 10273 "configure" | 10266 #line 10267 "configure" |
10273 #include "confdefs.h" | 10267 #include "confdefs.h" |
10274 #include <X11/Xaw/XawInit.h> | 10268 #include <X11/Xaw/XawInit.h> |
10275 EOF | 10269 EOF |
10276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10277 { (eval echo configure:10278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10279 if test -z "$ac_err"; then | 10273 if test -z "$ac_err"; then |
10280 rm -rf conftest* | 10274 rm -rf conftest* |
10281 eval "ac_cv_header_$ac_safe=yes" | 10275 eval "ac_cv_header_$ac_safe=yes" |
10282 else | 10276 else |
10298 fi | 10292 fi |
10299 | 10293 |
10300 else | 10294 else |
10301 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10295 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10302 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10296 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10303 echo "configure:10304: checking for X11/$athena_variant/XawInit.h" >&5 | 10297 echo "configure:10298: checking for X11/$athena_variant/XawInit.h" >&5 |
10304 | 10298 |
10305 cat > conftest.$ac_ext <<EOF | 10299 cat > conftest.$ac_ext <<EOF |
10306 #line 10307 "configure" | 10300 #line 10301 "configure" |
10307 #include "confdefs.h" | 10301 #include "confdefs.h" |
10308 #include <X11/$athena_variant/XawInit.h> | 10302 #include <X11/$athena_variant/XawInit.h> |
10309 EOF | 10303 EOF |
10310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10311 { (eval echo configure:10312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10305 { (eval echo configure:10306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10313 if test -z "$ac_err"; then | 10307 if test -z "$ac_err"; then |
10314 rm -rf conftest* | 10308 rm -rf conftest* |
10315 eval "ac_cv_header_$ac_safe=yes" | 10309 eval "ac_cv_header_$ac_safe=yes" |
10316 else | 10310 else |
10323 rm -f conftest* | 10317 rm -f conftest* |
10324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10325 echo "$ac_t""yes" 1>&6 | 10319 echo "$ac_t""yes" 1>&6 |
10326 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10320 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10327 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10321 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10328 echo "configure:10329: checking for X11/$athena_variant/ThreeD.h" >&5 | 10322 echo "configure:10323: checking for X11/$athena_variant/ThreeD.h" >&5 |
10329 | 10323 |
10330 cat > conftest.$ac_ext <<EOF | 10324 cat > conftest.$ac_ext <<EOF |
10331 #line 10332 "configure" | 10325 #line 10326 "configure" |
10332 #include "confdefs.h" | 10326 #include "confdefs.h" |
10333 #include <X11/$athena_variant/ThreeD.h> | 10327 #include <X11/$athena_variant/ThreeD.h> |
10334 EOF | 10328 EOF |
10335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10336 { (eval echo configure:10337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10330 { (eval echo configure:10331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10338 if test -z "$ac_err"; then | 10332 if test -z "$ac_err"; then |
10339 rm -rf conftest* | 10333 rm -rf conftest* |
10340 eval "ac_cv_header_$ac_safe=yes" | 10334 eval "ac_cv_header_$ac_safe=yes" |
10341 else | 10335 else |
10359 | 10353 |
10360 | 10354 |
10361 if test -z "$athena_h_path"; then | 10355 if test -z "$athena_h_path"; then |
10362 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10356 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10363 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10357 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10364 echo "configure:10365: checking for $athena_variant/XawInit.h" >&5 | 10358 echo "configure:10359: checking for $athena_variant/XawInit.h" >&5 |
10365 | 10359 |
10366 cat > conftest.$ac_ext <<EOF | 10360 cat > conftest.$ac_ext <<EOF |
10367 #line 10368 "configure" | 10361 #line 10362 "configure" |
10368 #include "confdefs.h" | 10362 #include "confdefs.h" |
10369 #include <$athena_variant/XawInit.h> | 10363 #include <$athena_variant/XawInit.h> |
10370 EOF | 10364 EOF |
10371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10372 { (eval echo configure:10373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10366 { (eval echo configure:10367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10374 if test -z "$ac_err"; then | 10368 if test -z "$ac_err"; then |
10375 rm -rf conftest* | 10369 rm -rf conftest* |
10376 eval "ac_cv_header_$ac_safe=yes" | 10370 eval "ac_cv_header_$ac_safe=yes" |
10377 else | 10371 else |
10384 rm -f conftest* | 10378 rm -f conftest* |
10385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10386 echo "$ac_t""yes" 1>&6 | 10380 echo "$ac_t""yes" 1>&6 |
10387 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10381 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10388 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10382 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10389 echo "configure:10390: checking for $athena_variant/ThreeD.h" >&5 | 10383 echo "configure:10384: checking for $athena_variant/ThreeD.h" >&5 |
10390 | 10384 |
10391 cat > conftest.$ac_ext <<EOF | 10385 cat > conftest.$ac_ext <<EOF |
10392 #line 10393 "configure" | 10386 #line 10387 "configure" |
10393 #include "confdefs.h" | 10387 #include "confdefs.h" |
10394 #include <$athena_variant/ThreeD.h> | 10388 #include <$athena_variant/ThreeD.h> |
10395 EOF | 10389 EOF |
10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10399 if test -z "$ac_err"; then | 10393 if test -z "$ac_err"; then |
10400 rm -rf conftest* | 10394 rm -rf conftest* |
10401 eval "ac_cv_header_$ac_safe=yes" | 10395 eval "ac_cv_header_$ac_safe=yes" |
10402 else | 10396 else |
10421 fi | 10415 fi |
10422 | 10416 |
10423 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10417 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10424 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10418 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10425 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10419 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10426 echo "configure:10427: checking for X11/Xaw3d/XawInit.h" >&5 | 10420 echo "configure:10421: checking for X11/Xaw3d/XawInit.h" >&5 |
10427 | 10421 |
10428 cat > conftest.$ac_ext <<EOF | 10422 cat > conftest.$ac_ext <<EOF |
10429 #line 10430 "configure" | 10423 #line 10424 "configure" |
10430 #include "confdefs.h" | 10424 #include "confdefs.h" |
10431 #include <X11/Xaw3d/XawInit.h> | 10425 #include <X11/Xaw3d/XawInit.h> |
10432 EOF | 10426 EOF |
10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10428 { (eval echo configure:10429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10436 if test -z "$ac_err"; then | 10430 if test -z "$ac_err"; then |
10437 rm -rf conftest* | 10431 rm -rf conftest* |
10438 eval "ac_cv_header_$ac_safe=yes" | 10432 eval "ac_cv_header_$ac_safe=yes" |
10439 else | 10433 else |
10446 rm -f conftest* | 10440 rm -f conftest* |
10447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10448 echo "$ac_t""yes" 1>&6 | 10442 echo "$ac_t""yes" 1>&6 |
10449 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10443 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10450 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10444 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10451 echo "configure:10452: checking for X11/Xaw3d/ThreeD.h" >&5 | 10445 echo "configure:10446: checking for X11/Xaw3d/ThreeD.h" >&5 |
10452 | 10446 |
10453 cat > conftest.$ac_ext <<EOF | 10447 cat > conftest.$ac_ext <<EOF |
10454 #line 10455 "configure" | 10448 #line 10449 "configure" |
10455 #include "confdefs.h" | 10449 #include "confdefs.h" |
10456 #include <X11/Xaw3d/ThreeD.h> | 10450 #include <X11/Xaw3d/ThreeD.h> |
10457 EOF | 10451 EOF |
10458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10461 if test -z "$ac_err"; then | 10455 if test -z "$ac_err"; then |
10462 rm -rf conftest* | 10456 rm -rf conftest* |
10463 eval "ac_cv_header_$ac_safe=yes" | 10457 eval "ac_cv_header_$ac_safe=yes" |
10464 else | 10458 else |
10486 fi | 10480 fi |
10487 | 10481 |
10488 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10482 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10489 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10483 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10490 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10484 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10491 echo "configure:10492: checking for Xaw3d/XawInit.h" >&5 | 10485 echo "configure:10486: checking for Xaw3d/XawInit.h" >&5 |
10492 | 10486 |
10493 cat > conftest.$ac_ext <<EOF | 10487 cat > conftest.$ac_ext <<EOF |
10494 #line 10495 "configure" | 10488 #line 10489 "configure" |
10495 #include "confdefs.h" | 10489 #include "confdefs.h" |
10496 #include <Xaw3d/XawInit.h> | 10490 #include <Xaw3d/XawInit.h> |
10497 EOF | 10491 EOF |
10498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10499 { (eval echo configure:10500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10501 if test -z "$ac_err"; then | 10495 if test -z "$ac_err"; then |
10502 rm -rf conftest* | 10496 rm -rf conftest* |
10503 eval "ac_cv_header_$ac_safe=yes" | 10497 eval "ac_cv_header_$ac_safe=yes" |
10504 else | 10498 else |
10511 rm -f conftest* | 10505 rm -f conftest* |
10512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10513 echo "$ac_t""yes" 1>&6 | 10507 echo "$ac_t""yes" 1>&6 |
10514 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10508 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10515 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10509 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10516 echo "configure:10517: checking for Xaw3d/ThreeD.h" >&5 | 10510 echo "configure:10511: checking for Xaw3d/ThreeD.h" >&5 |
10517 | 10511 |
10518 cat > conftest.$ac_ext <<EOF | 10512 cat > conftest.$ac_ext <<EOF |
10519 #line 10520 "configure" | 10513 #line 10514 "configure" |
10520 #include "confdefs.h" | 10514 #include "confdefs.h" |
10521 #include <Xaw3d/ThreeD.h> | 10515 #include <Xaw3d/ThreeD.h> |
10522 EOF | 10516 EOF |
10523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10524 { (eval echo configure:10525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10526 if test -z "$ac_err"; then | 10520 if test -z "$ac_err"; then |
10527 rm -rf conftest* | 10521 rm -rf conftest* |
10528 eval "ac_cv_header_$ac_safe=yes" | 10522 eval "ac_cv_header_$ac_safe=yes" |
10529 else | 10523 else |
10551 fi | 10545 fi |
10552 | 10546 |
10553 if test -z "$athena_h_path"; then | 10547 if test -z "$athena_h_path"; then |
10554 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10548 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10555 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10549 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10556 echo "configure:10557: checking for X11/Xaw/ThreeD.h" >&5 | 10550 echo "configure:10551: checking for X11/Xaw/ThreeD.h" >&5 |
10557 | 10551 |
10558 cat > conftest.$ac_ext <<EOF | 10552 cat > conftest.$ac_ext <<EOF |
10559 #line 10560 "configure" | 10553 #line 10554 "configure" |
10560 #include "confdefs.h" | 10554 #include "confdefs.h" |
10561 #include <X11/Xaw/ThreeD.h> | 10555 #include <X11/Xaw/ThreeD.h> |
10562 EOF | 10556 EOF |
10563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10564 { (eval echo configure:10565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10566 if test -z "$ac_err"; then | 10560 if test -z "$ac_err"; then |
10567 rm -rf conftest* | 10561 rm -rf conftest* |
10568 eval "ac_cv_header_$ac_safe=yes" | 10562 eval "ac_cv_header_$ac_safe=yes" |
10569 else | 10563 else |
10598 have_xaw=no | 10592 have_xaw=no |
10599 fi | 10593 fi |
10600 if test "$with_x11" = "yes"; then | 10594 if test "$with_x11" = "yes"; then |
10601 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10595 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10602 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10596 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10603 echo "configure:10604: checking for Xm/Xm.h" >&5 | 10597 echo "configure:10598: checking for Xm/Xm.h" >&5 |
10604 | 10598 |
10605 cat > conftest.$ac_ext <<EOF | 10599 cat > conftest.$ac_ext <<EOF |
10606 #line 10607 "configure" | 10600 #line 10601 "configure" |
10607 #include "confdefs.h" | 10601 #include "confdefs.h" |
10608 #include <Xm/Xm.h> | 10602 #include <Xm/Xm.h> |
10609 EOF | 10603 EOF |
10610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10611 { (eval echo configure:10612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10613 if test -z "$ac_err"; then | 10607 if test -z "$ac_err"; then |
10614 rm -rf conftest* | 10608 rm -rf conftest* |
10615 eval "ac_cv_header_$ac_safe=yes" | 10609 eval "ac_cv_header_$ac_safe=yes" |
10616 else | 10610 else |
10623 rm -f conftest* | 10617 rm -f conftest* |
10624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10625 echo "$ac_t""yes" 1>&6 | 10619 echo "$ac_t""yes" 1>&6 |
10626 | 10620 |
10627 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10621 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10628 echo "configure:10629: checking for XmStringFree in -lXm" >&5 | 10622 echo "configure:10623: checking for XmStringFree in -lXm" >&5 |
10629 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10623 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10630 | 10624 |
10631 xe_check_libs=" -lXm " | 10625 xe_check_libs=" -lXm " |
10632 cat > conftest.$ac_ext <<EOF | 10626 cat > conftest.$ac_ext <<EOF |
10633 #line 10634 "configure" | 10627 #line 10628 "configure" |
10634 #include "confdefs.h" | 10628 #include "confdefs.h" |
10635 /* Override any gcc2 internal prototype to avoid an error. */ | 10629 /* Override any gcc2 internal prototype to avoid an error. */ |
10636 /* We use char because int might match the return type of a gcc2 | 10630 /* We use char because int might match the return type of a gcc2 |
10637 builtin and then its argument prototype would still apply. */ | 10631 builtin and then its argument prototype would still apply. */ |
10638 char XmStringFree(); | 10632 char XmStringFree(); |
10639 | 10633 |
10640 int main() { | 10634 int main() { |
10641 XmStringFree() | 10635 XmStringFree() |
10642 ; return 0; } | 10636 ; return 0; } |
10643 EOF | 10637 EOF |
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10638 if { (eval echo configure:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10645 rm -rf conftest* | 10639 rm -rf conftest* |
10646 eval "ac_cv_lib_$ac_lib_var=yes" | 10640 eval "ac_cv_lib_$ac_lib_var=yes" |
10647 else | 10641 else |
10648 echo "configure: failed program was:" >&5 | 10642 echo "configure: failed program was:" >&5 |
10649 cat conftest.$ac_ext >&5 | 10643 cat conftest.$ac_ext >&5 |
10668 fi | 10662 fi |
10669 | 10663 |
10670 | 10664 |
10671 if test "$have_motif" = "yes"; then | 10665 if test "$have_motif" = "yes"; then |
10672 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10666 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10673 echo "configure:10674: checking for Lesstif" >&5 | 10667 echo "configure:10668: checking for Lesstif" >&5 |
10674 cat > conftest.$ac_ext <<EOF | 10668 cat > conftest.$ac_ext <<EOF |
10675 #line 10676 "configure" | 10669 #line 10670 "configure" |
10676 #include "confdefs.h" | 10670 #include "confdefs.h" |
10677 #include <Xm/Xm.h> | 10671 #include <Xm/Xm.h> |
10678 #ifdef LESSTIF_VERSION | 10672 #ifdef LESSTIF_VERSION |
10679 yes | 10673 yes |
10680 #endif | 10674 #endif |
11043 | 11037 |
11044 fi | 11038 fi |
11045 | 11039 |
11046 if test "$with_mule" = "yes" ; then | 11040 if test "$with_mule" = "yes" ; then |
11047 echo "checking for Mule-related features" 1>&6 | 11041 echo "checking for Mule-related features" 1>&6 |
11048 echo "configure:11049: checking for Mule-related features" >&5 | 11042 echo "configure:11043: checking for Mule-related features" >&5 |
11049 { test "$extra_verbose" = "yes" && cat << \EOF | 11043 { test "$extra_verbose" = "yes" && cat << \EOF |
11050 Defining MULE | 11044 Defining MULE |
11051 EOF | 11045 EOF |
11052 cat >> confdefs.h <<\EOF | 11046 cat >> confdefs.h <<\EOF |
11053 #define MULE 1 | 11047 #define MULE 1 |
11057 | 11051 |
11058 for ac_hdr in libintl.h | 11052 for ac_hdr in libintl.h |
11059 do | 11053 do |
11060 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11054 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11062 echo "configure:11063: checking for $ac_hdr" >&5 | 11056 echo "configure:11057: checking for $ac_hdr" >&5 |
11063 | 11057 |
11064 cat > conftest.$ac_ext <<EOF | 11058 cat > conftest.$ac_ext <<EOF |
11065 #line 11066 "configure" | 11059 #line 11060 "configure" |
11066 #include "confdefs.h" | 11060 #include "confdefs.h" |
11067 #include <$ac_hdr> | 11061 #include <$ac_hdr> |
11068 EOF | 11062 EOF |
11069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11070 { (eval echo configure:11071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11064 { (eval echo configure:11065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11072 if test -z "$ac_err"; then | 11066 if test -z "$ac_err"; then |
11073 rm -rf conftest* | 11067 rm -rf conftest* |
11074 eval "ac_cv_header_$ac_safe=yes" | 11068 eval "ac_cv_header_$ac_safe=yes" |
11075 else | 11069 else |
11096 fi | 11090 fi |
11097 done | 11091 done |
11098 | 11092 |
11099 | 11093 |
11100 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11094 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11101 echo "configure:11102: checking for strerror in -lintl" >&5 | 11095 echo "configure:11096: checking for strerror in -lintl" >&5 |
11102 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11096 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11103 | 11097 |
11104 xe_check_libs=" -lintl " | 11098 xe_check_libs=" -lintl " |
11105 cat > conftest.$ac_ext <<EOF | 11099 cat > conftest.$ac_ext <<EOF |
11106 #line 11107 "configure" | 11100 #line 11101 "configure" |
11107 #include "confdefs.h" | 11101 #include "confdefs.h" |
11108 /* Override any gcc2 internal prototype to avoid an error. */ | 11102 /* Override any gcc2 internal prototype to avoid an error. */ |
11109 /* We use char because int might match the return type of a gcc2 | 11103 /* We use char because int might match the return type of a gcc2 |
11110 builtin and then its argument prototype would still apply. */ | 11104 builtin and then its argument prototype would still apply. */ |
11111 char strerror(); | 11105 char strerror(); |
11112 | 11106 |
11113 int main() { | 11107 int main() { |
11114 strerror() | 11108 strerror() |
11115 ; return 0; } | 11109 ; return 0; } |
11116 EOF | 11110 EOF |
11117 if { (eval echo configure:11118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11118 rm -rf conftest* | 11112 rm -rf conftest* |
11119 eval "ac_cv_lib_$ac_lib_var=yes" | 11113 eval "ac_cv_lib_$ac_lib_var=yes" |
11120 else | 11114 else |
11121 echo "configure: failed program was:" >&5 | 11115 echo "configure: failed program was:" >&5 |
11122 cat conftest.$ac_ext >&5 | 11116 cat conftest.$ac_ext >&5 |
11145 fi | 11139 fi |
11146 | 11140 |
11147 | 11141 |
11148 | 11142 |
11149 echo "checking for Mule input methods" 1>&6 | 11143 echo "checking for Mule input methods" 1>&6 |
11150 echo "configure:11151: checking for Mule input methods" >&5 | 11144 echo "configure:11145: checking for Mule input methods" >&5 |
11151 case "$with_xim" in "" | "yes" ) | 11145 case "$with_xim" in "" | "yes" ) |
11152 echo "checking for XIM" 1>&6 | 11146 echo "checking for XIM" 1>&6 |
11153 echo "configure:11154: checking for XIM" >&5 | 11147 echo "configure:11148: checking for XIM" >&5 |
11154 | 11148 |
11155 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11149 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11156 echo "configure:11157: checking for XOpenIM in -lX11" >&5 | 11150 echo "configure:11151: checking for XOpenIM in -lX11" >&5 |
11157 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11151 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11158 | 11152 |
11159 xe_check_libs=" -lX11 " | 11153 xe_check_libs=" -lX11 " |
11160 cat > conftest.$ac_ext <<EOF | 11154 cat > conftest.$ac_ext <<EOF |
11161 #line 11162 "configure" | 11155 #line 11156 "configure" |
11162 #include "confdefs.h" | 11156 #include "confdefs.h" |
11163 /* Override any gcc2 internal prototype to avoid an error. */ | 11157 /* Override any gcc2 internal prototype to avoid an error. */ |
11164 /* We use char because int might match the return type of a gcc2 | 11158 /* We use char because int might match the return type of a gcc2 |
11165 builtin and then its argument prototype would still apply. */ | 11159 builtin and then its argument prototype would still apply. */ |
11166 char XOpenIM(); | 11160 char XOpenIM(); |
11167 | 11161 |
11168 int main() { | 11162 int main() { |
11169 XOpenIM() | 11163 XOpenIM() |
11170 ; return 0; } | 11164 ; return 0; } |
11171 EOF | 11165 EOF |
11172 if { (eval echo configure:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11166 if { (eval echo configure:11167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11173 rm -rf conftest* | 11167 rm -rf conftest* |
11174 eval "ac_cv_lib_$ac_lib_var=yes" | 11168 eval "ac_cv_lib_$ac_lib_var=yes" |
11175 else | 11169 else |
11176 echo "configure: failed program was:" >&5 | 11170 echo "configure: failed program was:" >&5 |
11177 cat conftest.$ac_ext >&5 | 11171 cat conftest.$ac_ext >&5 |
11191 | 11185 |
11192 | 11186 |
11193 if test "$have_motif $have_lesstif" = "yes no"; then | 11187 if test "$have_motif $have_lesstif" = "yes no"; then |
11194 | 11188 |
11195 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11189 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11196 echo "configure:11197: checking for XmImMbLookupString in -lXm" >&5 | 11190 echo "configure:11191: checking for XmImMbLookupString in -lXm" >&5 |
11197 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11191 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11198 | 11192 |
11199 xe_check_libs=" -lXm " | 11193 xe_check_libs=" -lXm " |
11200 cat > conftest.$ac_ext <<EOF | 11194 cat > conftest.$ac_ext <<EOF |
11201 #line 11202 "configure" | 11195 #line 11196 "configure" |
11202 #include "confdefs.h" | 11196 #include "confdefs.h" |
11203 /* Override any gcc2 internal prototype to avoid an error. */ | 11197 /* Override any gcc2 internal prototype to avoid an error. */ |
11204 /* We use char because int might match the return type of a gcc2 | 11198 /* We use char because int might match the return type of a gcc2 |
11205 builtin and then its argument prototype would still apply. */ | 11199 builtin and then its argument prototype would still apply. */ |
11206 char XmImMbLookupString(); | 11200 char XmImMbLookupString(); |
11207 | 11201 |
11208 int main() { | 11202 int main() { |
11209 XmImMbLookupString() | 11203 XmImMbLookupString() |
11210 ; return 0; } | 11204 ; return 0; } |
11211 EOF | 11205 EOF |
11212 if { (eval echo configure:11213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11213 rm -rf conftest* | 11207 rm -rf conftest* |
11214 eval "ac_cv_lib_$ac_lib_var=yes" | 11208 eval "ac_cv_lib_$ac_lib_var=yes" |
11215 else | 11209 else |
11216 echo "configure: failed program was:" >&5 | 11210 echo "configure: failed program was:" >&5 |
11217 cat conftest.$ac_ext >&5 | 11211 cat conftest.$ac_ext >&5 |
11272 fi | 11266 fi |
11273 fi | 11267 fi |
11274 | 11268 |
11275 if test "$with_xfs" = "yes" ; then | 11269 if test "$with_xfs" = "yes" ; then |
11276 echo "checking for XFontSet" 1>&6 | 11270 echo "checking for XFontSet" 1>&6 |
11277 echo "configure:11278: checking for XFontSet" >&5 | 11271 echo "configure:11272: checking for XFontSet" >&5 |
11278 | 11272 |
11279 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11273 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11280 echo "configure:11281: checking for XmbDrawString in -lX11" >&5 | 11274 echo "configure:11275: checking for XmbDrawString in -lX11" >&5 |
11281 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11275 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11282 | 11276 |
11283 xe_check_libs=" -lX11 " | 11277 xe_check_libs=" -lX11 " |
11284 cat > conftest.$ac_ext <<EOF | 11278 cat > conftest.$ac_ext <<EOF |
11285 #line 11286 "configure" | 11279 #line 11280 "configure" |
11286 #include "confdefs.h" | 11280 #include "confdefs.h" |
11287 /* Override any gcc2 internal prototype to avoid an error. */ | 11281 /* Override any gcc2 internal prototype to avoid an error. */ |
11288 /* We use char because int might match the return type of a gcc2 | 11282 /* We use char because int might match the return type of a gcc2 |
11289 builtin and then its argument prototype would still apply. */ | 11283 builtin and then its argument prototype would still apply. */ |
11290 char XmbDrawString(); | 11284 char XmbDrawString(); |
11291 | 11285 |
11292 int main() { | 11286 int main() { |
11293 XmbDrawString() | 11287 XmbDrawString() |
11294 ; return 0; } | 11288 ; return 0; } |
11295 EOF | 11289 EOF |
11296 if { (eval echo configure:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11297 rm -rf conftest* | 11291 rm -rf conftest* |
11298 eval "ac_cv_lib_$ac_lib_var=yes" | 11292 eval "ac_cv_lib_$ac_lib_var=yes" |
11299 else | 11293 else |
11300 echo "configure: failed program was:" >&5 | 11294 echo "configure: failed program was:" >&5 |
11301 cat conftest.$ac_ext >&5 | 11295 cat conftest.$ac_ext >&5 |
11331 fi | 11325 fi |
11332 fi | 11326 fi |
11333 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11327 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11334 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11328 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11335 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11329 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11336 echo "configure:11337: checking for wnn/jllib.h" >&5 | 11330 echo "configure:11331: checking for wnn/jllib.h" >&5 |
11337 | 11331 |
11338 cat > conftest.$ac_ext <<EOF | 11332 cat > conftest.$ac_ext <<EOF |
11339 #line 11340 "configure" | 11333 #line 11334 "configure" |
11340 #include "confdefs.h" | 11334 #include "confdefs.h" |
11341 #include <wnn/jllib.h> | 11335 #include <wnn/jllib.h> |
11342 EOF | 11336 EOF |
11343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11344 { (eval echo configure:11345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11338 { (eval echo configure:11339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11346 if test -z "$ac_err"; then | 11340 if test -z "$ac_err"; then |
11347 rm -rf conftest* | 11341 rm -rf conftest* |
11348 eval "ac_cv_header_$ac_safe=yes" | 11342 eval "ac_cv_header_$ac_safe=yes" |
11349 else | 11343 else |
11362 with_wnn=no | 11356 with_wnn=no |
11363 fi | 11357 fi |
11364 } | 11358 } |
11365 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11359 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11366 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11360 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11367 echo "configure:11368: checking for wnn/commonhd.h" >&5 | 11361 echo "configure:11362: checking for wnn/commonhd.h" >&5 |
11368 | 11362 |
11369 cat > conftest.$ac_ext <<EOF | 11363 cat > conftest.$ac_ext <<EOF |
11370 #line 11371 "configure" | 11364 #line 11365 "configure" |
11371 #include "confdefs.h" | 11365 #include "confdefs.h" |
11372 #include <wnn/commonhd.h> | 11366 #include <wnn/commonhd.h> |
11373 EOF | 11367 EOF |
11374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11375 { (eval echo configure:11376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11369 { (eval echo configure:11370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11377 if test -z "$ac_err"; then | 11371 if test -z "$ac_err"; then |
11378 rm -rf conftest* | 11372 rm -rf conftest* |
11379 eval "ac_cv_header_$ac_safe=yes" | 11373 eval "ac_cv_header_$ac_safe=yes" |
11380 else | 11374 else |
11395 } | 11389 } |
11396 if test "$with_wnn" != "no"; then | 11390 if test "$with_wnn" != "no"; then |
11397 for ac_func in crypt | 11391 for ac_func in crypt |
11398 do | 11392 do |
11399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11400 echo "configure:11401: checking for $ac_func" >&5 | 11394 echo "configure:11395: checking for $ac_func" >&5 |
11401 | 11395 |
11402 cat > conftest.$ac_ext <<EOF | 11396 cat > conftest.$ac_ext <<EOF |
11403 #line 11404 "configure" | 11397 #line 11398 "configure" |
11404 #include "confdefs.h" | 11398 #include "confdefs.h" |
11405 /* System header to define __stub macros and hopefully few prototypes, | 11399 /* System header to define __stub macros and hopefully few prototypes, |
11406 which can conflict with char $ac_func(); below. */ | 11400 which can conflict with char $ac_func(); below. */ |
11407 #include <assert.h> | 11401 #include <assert.h> |
11408 /* Override any gcc2 internal prototype to avoid an error. */ | 11402 /* Override any gcc2 internal prototype to avoid an error. */ |
11421 $ac_func(); | 11415 $ac_func(); |
11422 #endif | 11416 #endif |
11423 | 11417 |
11424 ; return 0; } | 11418 ; return 0; } |
11425 EOF | 11419 EOF |
11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11427 rm -rf conftest* | 11421 rm -rf conftest* |
11428 eval "ac_cv_func_$ac_func=yes" | 11422 eval "ac_cv_func_$ac_func=yes" |
11429 else | 11423 else |
11430 echo "configure: failed program was:" >&5 | 11424 echo "configure: failed program was:" >&5 |
11431 cat conftest.$ac_ext >&5 | 11425 cat conftest.$ac_ext >&5 |
11450 fi | 11444 fi |
11451 done | 11445 done |
11452 | 11446 |
11453 test "$ac_cv_func_crypt" != "yes" && { | 11447 test "$ac_cv_func_crypt" != "yes" && { |
11454 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11448 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11455 echo "configure:11456: checking for crypt in -lcrypt" >&5 | 11449 echo "configure:11450: checking for crypt in -lcrypt" >&5 |
11456 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11450 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11457 | 11451 |
11458 xe_check_libs=" -lcrypt " | 11452 xe_check_libs=" -lcrypt " |
11459 cat > conftest.$ac_ext <<EOF | 11453 cat > conftest.$ac_ext <<EOF |
11460 #line 11461 "configure" | 11454 #line 11455 "configure" |
11461 #include "confdefs.h" | 11455 #include "confdefs.h" |
11462 /* Override any gcc2 internal prototype to avoid an error. */ | 11456 /* Override any gcc2 internal prototype to avoid an error. */ |
11463 /* We use char because int might match the return type of a gcc2 | 11457 /* We use char because int might match the return type of a gcc2 |
11464 builtin and then its argument prototype would still apply. */ | 11458 builtin and then its argument prototype would still apply. */ |
11465 char crypt(); | 11459 char crypt(); |
11466 | 11460 |
11467 int main() { | 11461 int main() { |
11468 crypt() | 11462 crypt() |
11469 ; return 0; } | 11463 ; return 0; } |
11470 EOF | 11464 EOF |
11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11472 rm -rf conftest* | 11466 rm -rf conftest* |
11473 eval "ac_cv_lib_$ac_lib_var=yes" | 11467 eval "ac_cv_lib_$ac_lib_var=yes" |
11474 else | 11468 else |
11475 echo "configure: failed program was:" >&5 | 11469 echo "configure: failed program was:" >&5 |
11476 cat conftest.$ac_ext >&5 | 11470 cat conftest.$ac_ext >&5 |
11501 } | 11495 } |
11502 fi | 11496 fi |
11503 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11497 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11504 | 11498 |
11505 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11499 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11506 echo "configure:11507: checking for jl_dic_list_e in -lwnn" >&5 | 11500 echo "configure:11501: checking for jl_dic_list_e in -lwnn" >&5 |
11507 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11501 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11508 | 11502 |
11509 xe_check_libs=" -lwnn " | 11503 xe_check_libs=" -lwnn " |
11510 cat > conftest.$ac_ext <<EOF | 11504 cat > conftest.$ac_ext <<EOF |
11511 #line 11512 "configure" | 11505 #line 11506 "configure" |
11512 #include "confdefs.h" | 11506 #include "confdefs.h" |
11513 /* Override any gcc2 internal prototype to avoid an error. */ | 11507 /* Override any gcc2 internal prototype to avoid an error. */ |
11514 /* We use char because int might match the return type of a gcc2 | 11508 /* We use char because int might match the return type of a gcc2 |
11515 builtin and then its argument prototype would still apply. */ | 11509 builtin and then its argument prototype would still apply. */ |
11516 char jl_dic_list_e(); | 11510 char jl_dic_list_e(); |
11517 | 11511 |
11518 int main() { | 11512 int main() { |
11519 jl_dic_list_e() | 11513 jl_dic_list_e() |
11520 ; return 0; } | 11514 ; return 0; } |
11521 EOF | 11515 EOF |
11522 if { (eval echo configure:11523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11523 rm -rf conftest* | 11517 rm -rf conftest* |
11524 eval "ac_cv_lib_$ac_lib_var=yes" | 11518 eval "ac_cv_lib_$ac_lib_var=yes" |
11525 else | 11519 else |
11526 echo "configure: failed program was:" >&5 | 11520 echo "configure: failed program was:" >&5 |
11527 cat conftest.$ac_ext >&5 | 11521 cat conftest.$ac_ext >&5 |
11535 echo "$ac_t""yes" 1>&6 | 11529 echo "$ac_t""yes" 1>&6 |
11536 libwnn=wnn | 11530 libwnn=wnn |
11537 else | 11531 else |
11538 echo "$ac_t""no" 1>&6 | 11532 echo "$ac_t""no" 1>&6 |
11539 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11533 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11540 echo "configure:11541: checking for jl_dic_list_e in -lwnn4" >&5 | 11534 echo "configure:11535: checking for jl_dic_list_e in -lwnn4" >&5 |
11541 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11535 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11542 | 11536 |
11543 xe_check_libs=" -lwnn4 " | 11537 xe_check_libs=" -lwnn4 " |
11544 cat > conftest.$ac_ext <<EOF | 11538 cat > conftest.$ac_ext <<EOF |
11545 #line 11546 "configure" | 11539 #line 11540 "configure" |
11546 #include "confdefs.h" | 11540 #include "confdefs.h" |
11547 /* Override any gcc2 internal prototype to avoid an error. */ | 11541 /* Override any gcc2 internal prototype to avoid an error. */ |
11548 /* We use char because int might match the return type of a gcc2 | 11542 /* We use char because int might match the return type of a gcc2 |
11549 builtin and then its argument prototype would still apply. */ | 11543 builtin and then its argument prototype would still apply. */ |
11550 char jl_dic_list_e(); | 11544 char jl_dic_list_e(); |
11551 | 11545 |
11552 int main() { | 11546 int main() { |
11553 jl_dic_list_e() | 11547 jl_dic_list_e() |
11554 ; return 0; } | 11548 ; return 0; } |
11555 EOF | 11549 EOF |
11556 if { (eval echo configure:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11550 if { (eval echo configure:11551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11557 rm -rf conftest* | 11551 rm -rf conftest* |
11558 eval "ac_cv_lib_$ac_lib_var=yes" | 11552 eval "ac_cv_lib_$ac_lib_var=yes" |
11559 else | 11553 else |
11560 echo "configure: failed program was:" >&5 | 11554 echo "configure: failed program was:" >&5 |
11561 cat conftest.$ac_ext >&5 | 11555 cat conftest.$ac_ext >&5 |
11569 echo "$ac_t""yes" 1>&6 | 11563 echo "$ac_t""yes" 1>&6 |
11570 libwnn=wnn4 | 11564 libwnn=wnn4 |
11571 else | 11565 else |
11572 echo "$ac_t""no" 1>&6 | 11566 echo "$ac_t""no" 1>&6 |
11573 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11567 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11574 echo "configure:11575: checking for jl_dic_list_e in -lwnn6" >&5 | 11568 echo "configure:11569: checking for jl_dic_list_e in -lwnn6" >&5 |
11575 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11569 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11576 | 11570 |
11577 xe_check_libs=" -lwnn6 " | 11571 xe_check_libs=" -lwnn6 " |
11578 cat > conftest.$ac_ext <<EOF | 11572 cat > conftest.$ac_ext <<EOF |
11579 #line 11580 "configure" | 11573 #line 11574 "configure" |
11580 #include "confdefs.h" | 11574 #include "confdefs.h" |
11581 /* Override any gcc2 internal prototype to avoid an error. */ | 11575 /* Override any gcc2 internal prototype to avoid an error. */ |
11582 /* We use char because int might match the return type of a gcc2 | 11576 /* We use char because int might match the return type of a gcc2 |
11583 builtin and then its argument prototype would still apply. */ | 11577 builtin and then its argument prototype would still apply. */ |
11584 char jl_dic_list_e(); | 11578 char jl_dic_list_e(); |
11585 | 11579 |
11586 int main() { | 11580 int main() { |
11587 jl_dic_list_e() | 11581 jl_dic_list_e() |
11588 ; return 0; } | 11582 ; return 0; } |
11589 EOF | 11583 EOF |
11590 if { (eval echo configure:11591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11591 rm -rf conftest* | 11585 rm -rf conftest* |
11592 eval "ac_cv_lib_$ac_lib_var=yes" | 11586 eval "ac_cv_lib_$ac_lib_var=yes" |
11593 else | 11587 else |
11594 echo "configure: failed program was:" >&5 | 11588 echo "configure: failed program was:" >&5 |
11595 cat conftest.$ac_ext >&5 | 11589 cat conftest.$ac_ext >&5 |
11603 echo "$ac_t""yes" 1>&6 | 11597 echo "$ac_t""yes" 1>&6 |
11604 libwnn=wnn6 | 11598 libwnn=wnn6 |
11605 else | 11599 else |
11606 echo "$ac_t""no" 1>&6 | 11600 echo "$ac_t""no" 1>&6 |
11607 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11601 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11608 echo "configure:11609: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11602 echo "configure:11603: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11609 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11603 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11610 | 11604 |
11611 xe_check_libs=" -lwnn6_fromsrc " | 11605 xe_check_libs=" -lwnn6_fromsrc " |
11612 cat > conftest.$ac_ext <<EOF | 11606 cat > conftest.$ac_ext <<EOF |
11613 #line 11614 "configure" | 11607 #line 11608 "configure" |
11614 #include "confdefs.h" | 11608 #include "confdefs.h" |
11615 /* Override any gcc2 internal prototype to avoid an error. */ | 11609 /* Override any gcc2 internal prototype to avoid an error. */ |
11616 /* We use char because int might match the return type of a gcc2 | 11610 /* We use char because int might match the return type of a gcc2 |
11617 builtin and then its argument prototype would still apply. */ | 11611 builtin and then its argument prototype would still apply. */ |
11618 char dic_list_e(); | 11612 char dic_list_e(); |
11619 | 11613 |
11620 int main() { | 11614 int main() { |
11621 dic_list_e() | 11615 dic_list_e() |
11622 ; return 0; } | 11616 ; return 0; } |
11623 EOF | 11617 EOF |
11624 if { (eval echo configure:11625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11625 rm -rf conftest* | 11619 rm -rf conftest* |
11626 eval "ac_cv_lib_$ac_lib_var=yes" | 11620 eval "ac_cv_lib_$ac_lib_var=yes" |
11627 else | 11621 else |
11628 echo "configure: failed program was:" >&5 | 11622 echo "configure: failed program was:" >&5 |
11629 cat conftest.$ac_ext >&5 | 11623 cat conftest.$ac_ext >&5 |
11664 | 11658 |
11665 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11659 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11666 if test "$with_wnn6" != "no"; then | 11660 if test "$with_wnn6" != "no"; then |
11667 | 11661 |
11668 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11662 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11669 echo "configure:11670: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11663 echo "configure:11664: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11670 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11664 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11671 | 11665 |
11672 xe_check_libs=" -l$libwnn " | 11666 xe_check_libs=" -l$libwnn " |
11673 cat > conftest.$ac_ext <<EOF | 11667 cat > conftest.$ac_ext <<EOF |
11674 #line 11675 "configure" | 11668 #line 11669 "configure" |
11675 #include "confdefs.h" | 11669 #include "confdefs.h" |
11676 /* Override any gcc2 internal prototype to avoid an error. */ | 11670 /* Override any gcc2 internal prototype to avoid an error. */ |
11677 /* We use char because int might match the return type of a gcc2 | 11671 /* We use char because int might match the return type of a gcc2 |
11678 builtin and then its argument prototype would still apply. */ | 11672 builtin and then its argument prototype would still apply. */ |
11679 char jl_fi_dic_list(); | 11673 char jl_fi_dic_list(); |
11680 | 11674 |
11681 int main() { | 11675 int main() { |
11682 jl_fi_dic_list() | 11676 jl_fi_dic_list() |
11683 ; return 0; } | 11677 ; return 0; } |
11684 EOF | 11678 EOF |
11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11686 rm -rf conftest* | 11680 rm -rf conftest* |
11687 eval "ac_cv_lib_$ac_lib_var=yes" | 11681 eval "ac_cv_lib_$ac_lib_var=yes" |
11688 else | 11682 else |
11689 echo "configure: failed program was:" >&5 | 11683 echo "configure: failed program was:" >&5 |
11690 cat conftest.$ac_ext >&5 | 11684 cat conftest.$ac_ext >&5 |
11715 | 11709 |
11716 canna_includes_found=no | 11710 canna_includes_found=no |
11717 if test "$with_canna" != "no"; then | 11711 if test "$with_canna" != "no"; then |
11718 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11712 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11719 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11713 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11720 echo "configure:11721: checking for canna/jrkanji.h" >&5 | 11714 echo "configure:11715: checking for canna/jrkanji.h" >&5 |
11721 | 11715 |
11722 cat > conftest.$ac_ext <<EOF | 11716 cat > conftest.$ac_ext <<EOF |
11723 #line 11724 "configure" | 11717 #line 11718 "configure" |
11724 #include "confdefs.h" | 11718 #include "confdefs.h" |
11725 #include <canna/jrkanji.h> | 11719 #include <canna/jrkanji.h> |
11726 EOF | 11720 EOF |
11727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11728 { (eval echo configure:11729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11722 { (eval echo configure:11723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11730 if test -z "$ac_err"; then | 11724 if test -z "$ac_err"; then |
11731 rm -rf conftest* | 11725 rm -rf conftest* |
11732 eval "ac_cv_header_$ac_safe=yes" | 11726 eval "ac_cv_header_$ac_safe=yes" |
11733 else | 11727 else |
11750 -d "/usr/local/canna/include"; then | 11744 -d "/usr/local/canna/include"; then |
11751 save_c_switch_site="$c_switch_site" | 11745 save_c_switch_site="$c_switch_site" |
11752 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11746 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11753 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11747 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11754 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11748 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11755 echo "configure:11756: checking for canna/jrkanji.h" >&5 | 11749 echo "configure:11750: checking for canna/jrkanji.h" >&5 |
11756 | 11750 |
11757 cat > conftest.$ac_ext <<EOF | 11751 cat > conftest.$ac_ext <<EOF |
11758 #line 11759 "configure" | 11752 #line 11753 "configure" |
11759 #include "confdefs.h" | 11753 #include "confdefs.h" |
11760 #include <canna/jrkanji.h> | 11754 #include <canna/jrkanji.h> |
11761 EOF | 11755 EOF |
11762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11763 { (eval echo configure:11764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11757 { (eval echo configure:11758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11765 if test -z "$ac_err"; then | 11759 if test -z "$ac_err"; then |
11766 rm -rf conftest* | 11760 rm -rf conftest* |
11767 eval "ac_cv_header_$ac_safe=yes" | 11761 eval "ac_cv_header_$ac_safe=yes" |
11768 else | 11762 else |
11786 fi | 11780 fi |
11787 fi | 11781 fi |
11788 | 11782 |
11789 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11783 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11790 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11784 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11791 echo "configure:11792: checking for canna/RK.h" >&5 | 11785 echo "configure:11786: checking for canna/RK.h" >&5 |
11792 | 11786 |
11793 cat > conftest.$ac_ext <<EOF | 11787 cat > conftest.$ac_ext <<EOF |
11794 #line 11795 "configure" | 11788 #line 11789 "configure" |
11795 #include "confdefs.h" | 11789 #include "confdefs.h" |
11796 #include <canna/RK.h> | 11790 #include <canna/RK.h> |
11797 EOF | 11791 EOF |
11798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11799 { (eval echo configure:11800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11801 if test -z "$ac_err"; then | 11795 if test -z "$ac_err"; then |
11802 rm -rf conftest* | 11796 rm -rf conftest* |
11803 eval "ac_cv_header_$ac_safe=yes" | 11797 eval "ac_cv_header_$ac_safe=yes" |
11804 else | 11798 else |
11817 with_canna=no | 11811 with_canna=no |
11818 fi | 11812 fi |
11819 } | 11813 } |
11820 test -z "$with_canna" && { | 11814 test -z "$with_canna" && { |
11821 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11815 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11822 echo "configure:11823: checking for RkBgnBun in -lRKC" >&5 | 11816 echo "configure:11817: checking for RkBgnBun in -lRKC" >&5 |
11823 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11817 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11824 | 11818 |
11825 xe_check_libs=" -lRKC " | 11819 xe_check_libs=" -lRKC " |
11826 cat > conftest.$ac_ext <<EOF | 11820 cat > conftest.$ac_ext <<EOF |
11827 #line 11828 "configure" | 11821 #line 11822 "configure" |
11828 #include "confdefs.h" | 11822 #include "confdefs.h" |
11829 /* Override any gcc2 internal prototype to avoid an error. */ | 11823 /* Override any gcc2 internal prototype to avoid an error. */ |
11830 /* We use char because int might match the return type of a gcc2 | 11824 /* We use char because int might match the return type of a gcc2 |
11831 builtin and then its argument prototype would still apply. */ | 11825 builtin and then its argument prototype would still apply. */ |
11832 char RkBgnBun(); | 11826 char RkBgnBun(); |
11833 | 11827 |
11834 int main() { | 11828 int main() { |
11835 RkBgnBun() | 11829 RkBgnBun() |
11836 ; return 0; } | 11830 ; return 0; } |
11837 EOF | 11831 EOF |
11838 if { (eval echo configure:11839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11839 rm -rf conftest* | 11833 rm -rf conftest* |
11840 eval "ac_cv_lib_$ac_lib_var=yes" | 11834 eval "ac_cv_lib_$ac_lib_var=yes" |
11841 else | 11835 else |
11842 echo "configure: failed program was:" >&5 | 11836 echo "configure: failed program was:" >&5 |
11843 cat conftest.$ac_ext >&5 | 11837 cat conftest.$ac_ext >&5 |
11856 fi | 11850 fi |
11857 | 11851 |
11858 } | 11852 } |
11859 test -z "$with_canna" && { | 11853 test -z "$with_canna" && { |
11860 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11854 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11861 echo "configure:11862: checking for jrKanjiControl in -lcanna" >&5 | 11855 echo "configure:11856: checking for jrKanjiControl in -lcanna" >&5 |
11862 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11856 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11863 | 11857 |
11864 xe_check_libs=" -lcanna " | 11858 xe_check_libs=" -lcanna " |
11865 cat > conftest.$ac_ext <<EOF | 11859 cat > conftest.$ac_ext <<EOF |
11866 #line 11867 "configure" | 11860 #line 11861 "configure" |
11867 #include "confdefs.h" | 11861 #include "confdefs.h" |
11868 /* Override any gcc2 internal prototype to avoid an error. */ | 11862 /* Override any gcc2 internal prototype to avoid an error. */ |
11869 /* We use char because int might match the return type of a gcc2 | 11863 /* We use char because int might match the return type of a gcc2 |
11870 builtin and then its argument prototype would still apply. */ | 11864 builtin and then its argument prototype would still apply. */ |
11871 char jrKanjiControl(); | 11865 char jrKanjiControl(); |
11872 | 11866 |
11873 int main() { | 11867 int main() { |
11874 jrKanjiControl() | 11868 jrKanjiControl() |
11875 ; return 0; } | 11869 ; return 0; } |
11876 EOF | 11870 EOF |
11877 if { (eval echo configure:11878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11878 rm -rf conftest* | 11872 rm -rf conftest* |
11879 eval "ac_cv_lib_$ac_lib_var=yes" | 11873 eval "ac_cv_lib_$ac_lib_var=yes" |
11880 else | 11874 else |
11881 echo "configure: failed program was:" >&5 | 11875 echo "configure: failed program was:" >&5 |
11882 cat conftest.$ac_ext >&5 | 11876 cat conftest.$ac_ext >&5 |
11918 | 11912 |
11919 if test "$need_motif" = "yes" ; then | 11913 if test "$need_motif" = "yes" ; then |
11920 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11914 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11921 | 11915 |
11922 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11916 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11923 echo "configure:11924: checking for layout_object_getvalue in -li18n" >&5 | 11917 echo "configure:11918: checking for layout_object_getvalue in -li18n" >&5 |
11924 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11918 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11925 | 11919 |
11926 xe_check_libs=" -li18n " | 11920 xe_check_libs=" -li18n " |
11927 cat > conftest.$ac_ext <<EOF | 11921 cat > conftest.$ac_ext <<EOF |
11928 #line 11929 "configure" | 11922 #line 11923 "configure" |
11929 #include "confdefs.h" | 11923 #include "confdefs.h" |
11930 /* Override any gcc2 internal prototype to avoid an error. */ | 11924 /* Override any gcc2 internal prototype to avoid an error. */ |
11931 /* We use char because int might match the return type of a gcc2 | 11925 /* We use char because int might match the return type of a gcc2 |
11932 builtin and then its argument prototype would still apply. */ | 11926 builtin and then its argument prototype would still apply. */ |
11933 char layout_object_getvalue(); | 11927 char layout_object_getvalue(); |
11934 | 11928 |
11935 int main() { | 11929 int main() { |
11936 layout_object_getvalue() | 11930 layout_object_getvalue() |
11937 ; return 0; } | 11931 ; return 0; } |
11938 EOF | 11932 EOF |
11939 if { (eval echo configure:11940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11940 rm -rf conftest* | 11934 rm -rf conftest* |
11941 eval "ac_cv_lib_$ac_lib_var=yes" | 11935 eval "ac_cv_lib_$ac_lib_var=yes" |
11942 else | 11936 else |
11943 echo "configure: failed program was:" >&5 | 11937 echo "configure: failed program was:" >&5 |
11944 cat conftest.$ac_ext >&5 | 11938 cat conftest.$ac_ext >&5 |
12021 | 12015 |
12022 | 12016 |
12023 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 | 12017 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 |
12024 do | 12018 do |
12025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12026 echo "configure:12027: checking for $ac_func" >&5 | 12020 echo "configure:12021: checking for $ac_func" >&5 |
12027 | 12021 |
12028 cat > conftest.$ac_ext <<EOF | 12022 cat > conftest.$ac_ext <<EOF |
12029 #line 12030 "configure" | 12023 #line 12024 "configure" |
12030 #include "confdefs.h" | 12024 #include "confdefs.h" |
12031 /* System header to define __stub macros and hopefully few prototypes, | 12025 /* System header to define __stub macros and hopefully few prototypes, |
12032 which can conflict with char $ac_func(); below. */ | 12026 which can conflict with char $ac_func(); below. */ |
12033 #include <assert.h> | 12027 #include <assert.h> |
12034 /* Override any gcc2 internal prototype to avoid an error. */ | 12028 /* Override any gcc2 internal prototype to avoid an error. */ |
12047 $ac_func(); | 12041 $ac_func(); |
12048 #endif | 12042 #endif |
12049 | 12043 |
12050 ; return 0; } | 12044 ; return 0; } |
12051 EOF | 12045 EOF |
12052 if { (eval echo configure:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12046 if { (eval echo configure:12047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12053 rm -rf conftest* | 12047 rm -rf conftest* |
12054 eval "ac_cv_func_$ac_func=yes" | 12048 eval "ac_cv_func_$ac_func=yes" |
12055 else | 12049 else |
12056 echo "configure: failed program was:" >&5 | 12050 echo "configure: failed program was:" >&5 |
12057 cat conftest.$ac_ext >&5 | 12051 cat conftest.$ac_ext >&5 |
12088 | 12082 |
12089 | 12083 |
12090 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12084 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12091 do | 12085 do |
12092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12093 echo "configure:12094: checking for $ac_func" >&5 | 12087 echo "configure:12088: checking for $ac_func" >&5 |
12094 | 12088 |
12095 cat > conftest.$ac_ext <<EOF | 12089 cat > conftest.$ac_ext <<EOF |
12096 #line 12097 "configure" | 12090 #line 12091 "configure" |
12097 #include "confdefs.h" | 12091 #include "confdefs.h" |
12098 /* System header to define __stub macros and hopefully few prototypes, | 12092 /* System header to define __stub macros and hopefully few prototypes, |
12099 which can conflict with char $ac_func(); below. */ | 12093 which can conflict with char $ac_func(); below. */ |
12100 #include <assert.h> | 12094 #include <assert.h> |
12101 /* Override any gcc2 internal prototype to avoid an error. */ | 12095 /* Override any gcc2 internal prototype to avoid an error. */ |
12114 $ac_func(); | 12108 $ac_func(); |
12115 #endif | 12109 #endif |
12116 | 12110 |
12117 ; return 0; } | 12111 ; return 0; } |
12118 EOF | 12112 EOF |
12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12120 rm -rf conftest* | 12114 rm -rf conftest* |
12121 eval "ac_cv_func_$ac_func=yes" | 12115 eval "ac_cv_func_$ac_func=yes" |
12122 else | 12116 else |
12123 echo "configure: failed program was:" >&5 | 12117 echo "configure: failed program was:" >&5 |
12124 cat conftest.$ac_ext >&5 | 12118 cat conftest.$ac_ext >&5 |
12143 fi | 12137 fi |
12144 done | 12138 done |
12145 | 12139 |
12146 | 12140 |
12147 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12141 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12148 echo "configure:12149: checking for openpty" >&5 | 12142 echo "configure:12143: checking for openpty" >&5 |
12149 | 12143 |
12150 cat > conftest.$ac_ext <<EOF | 12144 cat > conftest.$ac_ext <<EOF |
12151 #line 12152 "configure" | 12145 #line 12146 "configure" |
12152 #include "confdefs.h" | 12146 #include "confdefs.h" |
12153 /* System header to define __stub macros and hopefully few prototypes, | 12147 /* System header to define __stub macros and hopefully few prototypes, |
12154 which can conflict with char openpty(); below. */ | 12148 which can conflict with char openpty(); below. */ |
12155 #include <assert.h> | 12149 #include <assert.h> |
12156 /* Override any gcc2 internal prototype to avoid an error. */ | 12150 /* Override any gcc2 internal prototype to avoid an error. */ |
12169 openpty(); | 12163 openpty(); |
12170 #endif | 12164 #endif |
12171 | 12165 |
12172 ; return 0; } | 12166 ; return 0; } |
12173 EOF | 12167 EOF |
12174 if { (eval echo configure:12175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12175 rm -rf conftest* | 12169 rm -rf conftest* |
12176 eval "ac_cv_func_openpty=yes" | 12170 eval "ac_cv_func_openpty=yes" |
12177 else | 12171 else |
12178 echo "configure: failed program was:" >&5 | 12172 echo "configure: failed program was:" >&5 |
12179 cat conftest.$ac_ext >&5 | 12173 cat conftest.$ac_ext >&5 |
12188 else | 12182 else |
12189 echo "$ac_t""no" 1>&6 | 12183 echo "$ac_t""no" 1>&6 |
12190 | 12184 |
12191 | 12185 |
12192 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12186 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12193 echo "configure:12194: checking for openpty in -lutil" >&5 | 12187 echo "configure:12188: checking for openpty in -lutil" >&5 |
12194 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12188 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12195 | 12189 |
12196 xe_check_libs=" -lutil " | 12190 xe_check_libs=" -lutil " |
12197 cat > conftest.$ac_ext <<EOF | 12191 cat > conftest.$ac_ext <<EOF |
12198 #line 12199 "configure" | 12192 #line 12193 "configure" |
12199 #include "confdefs.h" | 12193 #include "confdefs.h" |
12200 /* Override any gcc2 internal prototype to avoid an error. */ | 12194 /* Override any gcc2 internal prototype to avoid an error. */ |
12201 /* We use char because int might match the return type of a gcc2 | 12195 /* We use char because int might match the return type of a gcc2 |
12202 builtin and then its argument prototype would still apply. */ | 12196 builtin and then its argument prototype would still apply. */ |
12203 char openpty(); | 12197 char openpty(); |
12204 | 12198 |
12205 int main() { | 12199 int main() { |
12206 openpty() | 12200 openpty() |
12207 ; return 0; } | 12201 ; return 0; } |
12208 EOF | 12202 EOF |
12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12210 rm -rf conftest* | 12204 rm -rf conftest* |
12211 eval "ac_cv_lib_$ac_lib_var=yes" | 12205 eval "ac_cv_lib_$ac_lib_var=yes" |
12212 else | 12206 else |
12213 echo "configure: failed program was:" >&5 | 12207 echo "configure: failed program was:" >&5 |
12214 cat conftest.$ac_ext >&5 | 12208 cat conftest.$ac_ext >&5 |
12239 | 12233 |
12240 for ac_hdr in libutil.h util.h | 12234 for ac_hdr in libutil.h util.h |
12241 do | 12235 do |
12242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12236 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12244 echo "configure:12245: checking for $ac_hdr" >&5 | 12238 echo "configure:12239: checking for $ac_hdr" >&5 |
12245 | 12239 |
12246 cat > conftest.$ac_ext <<EOF | 12240 cat > conftest.$ac_ext <<EOF |
12247 #line 12248 "configure" | 12241 #line 12242 "configure" |
12248 #include "confdefs.h" | 12242 #include "confdefs.h" |
12249 #include <$ac_hdr> | 12243 #include <$ac_hdr> |
12250 EOF | 12244 EOF |
12251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12252 { (eval echo configure:12253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12246 { (eval echo configure:12247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12254 if test -z "$ac_err"; then | 12248 if test -z "$ac_err"; then |
12255 rm -rf conftest* | 12249 rm -rf conftest* |
12256 eval "ac_cv_header_$ac_safe=yes" | 12250 eval "ac_cv_header_$ac_safe=yes" |
12257 else | 12251 else |
12284 case "$opsys" in | 12278 case "$opsys" in |
12285 hpux*) for ac_hdr in sys/ptyio.h | 12279 hpux*) for ac_hdr in sys/ptyio.h |
12286 do | 12280 do |
12287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12289 echo "configure:12290: checking for $ac_hdr" >&5 | 12283 echo "configure:12284: checking for $ac_hdr" >&5 |
12290 | 12284 |
12291 cat > conftest.$ac_ext <<EOF | 12285 cat > conftest.$ac_ext <<EOF |
12292 #line 12293 "configure" | 12286 #line 12287 "configure" |
12293 #include "confdefs.h" | 12287 #include "confdefs.h" |
12294 #include <$ac_hdr> | 12288 #include <$ac_hdr> |
12295 EOF | 12289 EOF |
12296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12297 { (eval echo configure:12298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12291 { (eval echo configure:12292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12299 if test -z "$ac_err"; then | 12293 if test -z "$ac_err"; then |
12300 rm -rf conftest* | 12294 rm -rf conftest* |
12301 eval "ac_cv_header_$ac_safe=yes" | 12295 eval "ac_cv_header_$ac_safe=yes" |
12302 else | 12296 else |
12325 ;; | 12319 ;; |
12326 *) for ac_hdr in pty.h | 12320 *) for ac_hdr in pty.h |
12327 do | 12321 do |
12328 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12329 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12330 echo "configure:12331: checking for $ac_hdr" >&5 | 12324 echo "configure:12325: checking for $ac_hdr" >&5 |
12331 | 12325 |
12332 cat > conftest.$ac_ext <<EOF | 12326 cat > conftest.$ac_ext <<EOF |
12333 #line 12334 "configure" | 12327 #line 12328 "configure" |
12334 #include "confdefs.h" | 12328 #include "confdefs.h" |
12335 #include <$ac_hdr> | 12329 #include <$ac_hdr> |
12336 EOF | 12330 EOF |
12337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12338 { (eval echo configure:12339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12332 { (eval echo configure:12333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12340 if test -z "$ac_err"; then | 12334 if test -z "$ac_err"; then |
12341 rm -rf conftest* | 12335 rm -rf conftest* |
12342 eval "ac_cv_header_$ac_safe=yes" | 12336 eval "ac_cv_header_$ac_safe=yes" |
12343 else | 12337 else |
12366 | 12360 |
12367 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12361 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12368 do | 12362 do |
12369 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12370 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12371 echo "configure:12372: checking for $ac_hdr" >&5 | 12365 echo "configure:12366: checking for $ac_hdr" >&5 |
12372 | 12366 |
12373 cat > conftest.$ac_ext <<EOF | 12367 cat > conftest.$ac_ext <<EOF |
12374 #line 12375 "configure" | 12368 #line 12369 "configure" |
12375 #include "confdefs.h" | 12369 #include "confdefs.h" |
12376 #include <$ac_hdr> | 12370 #include <$ac_hdr> |
12377 EOF | 12371 EOF |
12378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12379 { (eval echo configure:12380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12373 { (eval echo configure:12374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12381 if test -z "$ac_err"; then | 12375 if test -z "$ac_err"; then |
12382 rm -rf conftest* | 12376 rm -rf conftest* |
12383 eval "ac_cv_header_$ac_safe=yes" | 12377 eval "ac_cv_header_$ac_safe=yes" |
12384 else | 12378 else |
12410 | 12404 |
12411 for ac_hdr in stropts.h | 12405 for ac_hdr in stropts.h |
12412 do | 12406 do |
12413 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12414 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12415 echo "configure:12416: checking for $ac_hdr" >&5 | 12409 echo "configure:12410: checking for $ac_hdr" >&5 |
12416 | 12410 |
12417 cat > conftest.$ac_ext <<EOF | 12411 cat > conftest.$ac_ext <<EOF |
12418 #line 12419 "configure" | 12412 #line 12413 "configure" |
12419 #include "confdefs.h" | 12413 #include "confdefs.h" |
12420 #include <$ac_hdr> | 12414 #include <$ac_hdr> |
12421 EOF | 12415 EOF |
12422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12423 { (eval echo configure:12424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12417 { (eval echo configure:12418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12425 if test -z "$ac_err"; then | 12419 if test -z "$ac_err"; then |
12426 rm -rf conftest* | 12420 rm -rf conftest* |
12427 eval "ac_cv_header_$ac_safe=yes" | 12421 eval "ac_cv_header_$ac_safe=yes" |
12428 else | 12422 else |
12451 | 12445 |
12452 if test "$ac_cv_header_stropts_h" = "yes"; then | 12446 if test "$ac_cv_header_stropts_h" = "yes"; then |
12453 for ac_func in isastream | 12447 for ac_func in isastream |
12454 do | 12448 do |
12455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12456 echo "configure:12457: checking for $ac_func" >&5 | 12450 echo "configure:12451: checking for $ac_func" >&5 |
12457 | 12451 |
12458 cat > conftest.$ac_ext <<EOF | 12452 cat > conftest.$ac_ext <<EOF |
12459 #line 12460 "configure" | 12453 #line 12454 "configure" |
12460 #include "confdefs.h" | 12454 #include "confdefs.h" |
12461 /* System header to define __stub macros and hopefully few prototypes, | 12455 /* System header to define __stub macros and hopefully few prototypes, |
12462 which can conflict with char $ac_func(); below. */ | 12456 which can conflict with char $ac_func(); below. */ |
12463 #include <assert.h> | 12457 #include <assert.h> |
12464 /* Override any gcc2 internal prototype to avoid an error. */ | 12458 /* Override any gcc2 internal prototype to avoid an error. */ |
12477 $ac_func(); | 12471 $ac_func(); |
12478 #endif | 12472 #endif |
12479 | 12473 |
12480 ; return 0; } | 12474 ; return 0; } |
12481 EOF | 12475 EOF |
12482 if { (eval echo configure:12483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12476 if { (eval echo configure:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12483 rm -rf conftest* | 12477 rm -rf conftest* |
12484 eval "ac_cv_func_$ac_func=yes" | 12478 eval "ac_cv_func_$ac_func=yes" |
12485 else | 12479 else |
12486 echo "configure: failed program was:" >&5 | 12480 echo "configure: failed program was:" >&5 |
12487 cat conftest.$ac_ext >&5 | 12481 cat conftest.$ac_ext >&5 |
12508 | 12502 |
12509 for ac_hdr in strtio.h | 12503 for ac_hdr in strtio.h |
12510 do | 12504 do |
12511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12513 echo "configure:12514: checking for $ac_hdr" >&5 | 12507 echo "configure:12508: checking for $ac_hdr" >&5 |
12514 | 12508 |
12515 cat > conftest.$ac_ext <<EOF | 12509 cat > conftest.$ac_ext <<EOF |
12516 #line 12517 "configure" | 12510 #line 12511 "configure" |
12517 #include "confdefs.h" | 12511 #include "confdefs.h" |
12518 #include <$ac_hdr> | 12512 #include <$ac_hdr> |
12519 EOF | 12513 EOF |
12520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12521 { (eval echo configure:12522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12515 { (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12523 if test -z "$ac_err"; then | 12517 if test -z "$ac_err"; then |
12524 rm -rf conftest* | 12518 rm -rf conftest* |
12525 eval "ac_cv_header_$ac_safe=yes" | 12519 eval "ac_cv_header_$ac_safe=yes" |
12526 else | 12520 else |
12549 fi | 12543 fi |
12550 | 12544 |
12551 for ac_func in getloadavg | 12545 for ac_func in getloadavg |
12552 do | 12546 do |
12553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12554 echo "configure:12555: checking for $ac_func" >&5 | 12548 echo "configure:12549: checking for $ac_func" >&5 |
12555 | 12549 |
12556 cat > conftest.$ac_ext <<EOF | 12550 cat > conftest.$ac_ext <<EOF |
12557 #line 12558 "configure" | 12551 #line 12552 "configure" |
12558 #include "confdefs.h" | 12552 #include "confdefs.h" |
12559 /* System header to define __stub macros and hopefully few prototypes, | 12553 /* System header to define __stub macros and hopefully few prototypes, |
12560 which can conflict with char $ac_func(); below. */ | 12554 which can conflict with char $ac_func(); below. */ |
12561 #include <assert.h> | 12555 #include <assert.h> |
12562 /* Override any gcc2 internal prototype to avoid an error. */ | 12556 /* Override any gcc2 internal prototype to avoid an error. */ |
12575 $ac_func(); | 12569 $ac_func(); |
12576 #endif | 12570 #endif |
12577 | 12571 |
12578 ; return 0; } | 12572 ; return 0; } |
12579 EOF | 12573 EOF |
12580 if { (eval echo configure:12581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12581 rm -rf conftest* | 12575 rm -rf conftest* |
12582 eval "ac_cv_func_$ac_func=yes" | 12576 eval "ac_cv_func_$ac_func=yes" |
12583 else | 12577 else |
12584 echo "configure: failed program was:" >&5 | 12578 echo "configure: failed program was:" >&5 |
12585 cat conftest.$ac_ext >&5 | 12579 cat conftest.$ac_ext >&5 |
12608 if test "$ac_cv_func_getloadavg" = "yes"; then | 12602 if test "$ac_cv_func_getloadavg" = "yes"; then |
12609 for ac_hdr in sys/loadavg.h | 12603 for ac_hdr in sys/loadavg.h |
12610 do | 12604 do |
12611 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12612 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12613 echo "configure:12614: checking for $ac_hdr" >&5 | 12607 echo "configure:12608: checking for $ac_hdr" >&5 |
12614 | 12608 |
12615 cat > conftest.$ac_ext <<EOF | 12609 cat > conftest.$ac_ext <<EOF |
12616 #line 12617 "configure" | 12610 #line 12611 "configure" |
12617 #include "confdefs.h" | 12611 #include "confdefs.h" |
12618 #include <$ac_hdr> | 12612 #include <$ac_hdr> |
12619 EOF | 12613 EOF |
12620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12621 { (eval echo configure:12622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12623 if test -z "$ac_err"; then | 12617 if test -z "$ac_err"; then |
12624 rm -rf conftest* | 12618 rm -rf conftest* |
12625 eval "ac_cv_header_$ac_safe=yes" | 12619 eval "ac_cv_header_$ac_safe=yes" |
12626 else | 12620 else |
12652 echo " xemacs will be linked with \"getloadavg.o\"" | 12646 echo " xemacs will be linked with \"getloadavg.o\"" |
12653 fi | 12647 fi |
12654 | 12648 |
12655 | 12649 |
12656 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12650 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12657 echo "configure:12658: checking for kstat_open in -lkstat" >&5 | 12651 echo "configure:12652: checking for kstat_open in -lkstat" >&5 |
12658 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12652 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12659 | 12653 |
12660 xe_check_libs=" -lkstat " | 12654 xe_check_libs=" -lkstat " |
12661 cat > conftest.$ac_ext <<EOF | 12655 cat > conftest.$ac_ext <<EOF |
12662 #line 12663 "configure" | 12656 #line 12657 "configure" |
12663 #include "confdefs.h" | 12657 #include "confdefs.h" |
12664 /* Override any gcc2 internal prototype to avoid an error. */ | 12658 /* Override any gcc2 internal prototype to avoid an error. */ |
12665 /* We use char because int might match the return type of a gcc2 | 12659 /* We use char because int might match the return type of a gcc2 |
12666 builtin and then its argument prototype would still apply. */ | 12660 builtin and then its argument prototype would still apply. */ |
12667 char kstat_open(); | 12661 char kstat_open(); |
12668 | 12662 |
12669 int main() { | 12663 int main() { |
12670 kstat_open() | 12664 kstat_open() |
12671 ; return 0; } | 12665 ; return 0; } |
12672 EOF | 12666 EOF |
12673 if { (eval echo configure:12674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12674 rm -rf conftest* | 12668 rm -rf conftest* |
12675 eval "ac_cv_lib_$ac_lib_var=yes" | 12669 eval "ac_cv_lib_$ac_lib_var=yes" |
12676 else | 12670 else |
12677 echo "configure: failed program was:" >&5 | 12671 echo "configure: failed program was:" >&5 |
12678 cat conftest.$ac_ext >&5 | 12672 cat conftest.$ac_ext >&5 |
12703 | 12697 |
12704 for ac_hdr in kstat.h | 12698 for ac_hdr in kstat.h |
12705 do | 12699 do |
12706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12708 echo "configure:12709: checking for $ac_hdr" >&5 | 12702 echo "configure:12703: checking for $ac_hdr" >&5 |
12709 | 12703 |
12710 cat > conftest.$ac_ext <<EOF | 12704 cat > conftest.$ac_ext <<EOF |
12711 #line 12712 "configure" | 12705 #line 12706 "configure" |
12712 #include "confdefs.h" | 12706 #include "confdefs.h" |
12713 #include <$ac_hdr> | 12707 #include <$ac_hdr> |
12714 EOF | 12708 EOF |
12715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12716 { (eval echo configure:12717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12718 if test -z "$ac_err"; then | 12712 if test -z "$ac_err"; then |
12719 rm -rf conftest* | 12713 rm -rf conftest* |
12720 eval "ac_cv_header_$ac_safe=yes" | 12714 eval "ac_cv_header_$ac_safe=yes" |
12721 else | 12715 else |
12743 done | 12737 done |
12744 | 12738 |
12745 | 12739 |
12746 | 12740 |
12747 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12741 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12748 echo "configure:12749: checking for kvm_read in -lkvm" >&5 | 12742 echo "configure:12743: checking for kvm_read in -lkvm" >&5 |
12749 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12743 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12750 | 12744 |
12751 xe_check_libs=" -lkvm " | 12745 xe_check_libs=" -lkvm " |
12752 cat > conftest.$ac_ext <<EOF | 12746 cat > conftest.$ac_ext <<EOF |
12753 #line 12754 "configure" | 12747 #line 12748 "configure" |
12754 #include "confdefs.h" | 12748 #include "confdefs.h" |
12755 /* Override any gcc2 internal prototype to avoid an error. */ | 12749 /* Override any gcc2 internal prototype to avoid an error. */ |
12756 /* We use char because int might match the return type of a gcc2 | 12750 /* We use char because int might match the return type of a gcc2 |
12757 builtin and then its argument prototype would still apply. */ | 12751 builtin and then its argument prototype would still apply. */ |
12758 char kvm_read(); | 12752 char kvm_read(); |
12759 | 12753 |
12760 int main() { | 12754 int main() { |
12761 kvm_read() | 12755 kvm_read() |
12762 ; return 0; } | 12756 ; return 0; } |
12763 EOF | 12757 EOF |
12764 if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12758 if { (eval echo configure:12759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12765 rm -rf conftest* | 12759 rm -rf conftest* |
12766 eval "ac_cv_lib_$ac_lib_var=yes" | 12760 eval "ac_cv_lib_$ac_lib_var=yes" |
12767 else | 12761 else |
12768 echo "configure: failed program was:" >&5 | 12762 echo "configure: failed program was:" >&5 |
12769 cat conftest.$ac_ext >&5 | 12763 cat conftest.$ac_ext >&5 |
12793 | 12787 |
12794 | 12788 |
12795 fi | 12789 fi |
12796 | 12790 |
12797 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12791 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12798 echo "configure:12799: checking whether netdb declares h_errno" >&5 | 12792 echo "configure:12793: checking whether netdb declares h_errno" >&5 |
12799 cat > conftest.$ac_ext <<EOF | 12793 cat > conftest.$ac_ext <<EOF |
12800 #line 12801 "configure" | 12794 #line 12795 "configure" |
12801 #include "confdefs.h" | 12795 #include "confdefs.h" |
12802 #include <netdb.h> | 12796 #include <netdb.h> |
12803 int main() { | 12797 int main() { |
12804 return h_errno; | 12798 return h_errno; |
12805 ; return 0; } | 12799 ; return 0; } |
12806 EOF | 12800 EOF |
12807 if { (eval echo configure:12808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12801 if { (eval echo configure:12802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12808 rm -rf conftest* | 12802 rm -rf conftest* |
12809 echo "$ac_t""yes" 1>&6 | 12803 echo "$ac_t""yes" 1>&6 |
12810 { test "$extra_verbose" = "yes" && cat << \EOF | 12804 { test "$extra_verbose" = "yes" && cat << \EOF |
12811 Defining HAVE_H_ERRNO | 12805 Defining HAVE_H_ERRNO |
12812 EOF | 12806 EOF |
12822 echo "$ac_t""no" 1>&6 | 12816 echo "$ac_t""no" 1>&6 |
12823 fi | 12817 fi |
12824 rm -f conftest* | 12818 rm -f conftest* |
12825 | 12819 |
12826 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12820 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12827 echo "configure:12828: checking for sigsetjmp" >&5 | 12821 echo "configure:12822: checking for sigsetjmp" >&5 |
12828 cat > conftest.$ac_ext <<EOF | 12822 cat > conftest.$ac_ext <<EOF |
12829 #line 12830 "configure" | 12823 #line 12824 "configure" |
12830 #include "confdefs.h" | 12824 #include "confdefs.h" |
12831 #include <setjmp.h> | 12825 #include <setjmp.h> |
12832 int main() { | 12826 int main() { |
12833 sigjmp_buf bar; sigsetjmp (bar, 0); | 12827 sigjmp_buf bar; sigsetjmp (bar, 0); |
12834 ; return 0; } | 12828 ; return 0; } |
12835 EOF | 12829 EOF |
12836 if { (eval echo configure:12837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12830 if { (eval echo configure:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12837 rm -rf conftest* | 12831 rm -rf conftest* |
12838 echo "$ac_t""yes" 1>&6 | 12832 echo "$ac_t""yes" 1>&6 |
12839 { test "$extra_verbose" = "yes" && cat << \EOF | 12833 { test "$extra_verbose" = "yes" && cat << \EOF |
12840 Defining HAVE_SIGSETJMP | 12834 Defining HAVE_SIGSETJMP |
12841 EOF | 12835 EOF |
12851 echo "$ac_t""no" 1>&6 | 12845 echo "$ac_t""no" 1>&6 |
12852 fi | 12846 fi |
12853 rm -f conftest* | 12847 rm -f conftest* |
12854 | 12848 |
12855 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12849 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12856 echo "configure:12857: checking whether localtime caches TZ" >&5 | 12850 echo "configure:12851: checking whether localtime caches TZ" >&5 |
12857 | 12851 |
12858 if test "$ac_cv_func_tzset" = "yes"; then | 12852 if test "$ac_cv_func_tzset" = "yes"; then |
12859 cat > conftest.$ac_ext <<EOF | 12853 cat > conftest.$ac_ext <<EOF |
12860 #line 12861 "configure" | 12854 #line 12855 "configure" |
12861 #include "confdefs.h" | 12855 #include "confdefs.h" |
12862 #include <time.h> | 12856 #include <time.h> |
12863 #if STDC_HEADERS | 12857 #if STDC_HEADERS |
12864 # include <stdlib.h> | 12858 # include <stdlib.h> |
12865 #endif | 12859 #endif |
12890 if (localtime (&now)->tm_hour != hour_unset) | 12884 if (localtime (&now)->tm_hour != hour_unset) |
12891 exit (1); | 12885 exit (1); |
12892 exit (0); | 12886 exit (0); |
12893 } | 12887 } |
12894 EOF | 12888 EOF |
12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12896 then | 12890 then |
12897 emacs_cv_localtime_cache=no | 12891 emacs_cv_localtime_cache=no |
12898 else | 12892 else |
12899 conftest_rc="$?" | 12893 conftest_rc="$?" |
12900 echo "configure: failed program was:" >&5 | 12894 echo "configure: failed program was:" >&5 |
12920 | 12914 |
12921 fi | 12915 fi |
12922 | 12916 |
12923 if test "$HAVE_TIMEVAL" = "yes"; then | 12917 if test "$HAVE_TIMEVAL" = "yes"; then |
12924 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12918 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12925 echo "configure:12926: checking whether gettimeofday accepts one or two arguments" >&5 | 12919 echo "configure:12920: checking whether gettimeofday accepts one or two arguments" >&5 |
12926 cat > conftest.$ac_ext <<EOF | 12920 cat > conftest.$ac_ext <<EOF |
12927 #line 12928 "configure" | 12921 #line 12922 "configure" |
12928 #include "confdefs.h" | 12922 #include "confdefs.h" |
12929 | 12923 |
12930 #ifdef TIME_WITH_SYS_TIME | 12924 #ifdef TIME_WITH_SYS_TIME |
12931 #include <sys/time.h> | 12925 #include <sys/time.h> |
12932 #include <time.h> | 12926 #include <time.h> |
12943 struct timeval time; | 12937 struct timeval time; |
12944 gettimeofday (&time, 0); | 12938 gettimeofday (&time, 0); |
12945 | 12939 |
12946 ; return 0; } | 12940 ; return 0; } |
12947 EOF | 12941 EOF |
12948 if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12942 if { (eval echo configure:12943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12949 rm -rf conftest* | 12943 rm -rf conftest* |
12950 echo "$ac_t""two" 1>&6 | 12944 echo "$ac_t""two" 1>&6 |
12951 else | 12945 else |
12952 echo "configure: failed program was:" >&5 | 12946 echo "configure: failed program was:" >&5 |
12953 cat conftest.$ac_ext >&5 | 12947 cat conftest.$ac_ext >&5 |
12965 rm -f conftest* | 12959 rm -f conftest* |
12966 fi | 12960 fi |
12967 | 12961 |
12968 | 12962 |
12969 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12963 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12970 echo "configure:12971: checking for inline" >&5 | 12964 echo "configure:12965: checking for inline" >&5 |
12971 | 12965 |
12972 ac_cv_c_inline=no | 12966 ac_cv_c_inline=no |
12973 for ac_kw in inline __inline__ __inline; do | 12967 for ac_kw in inline __inline__ __inline; do |
12974 cat > conftest.$ac_ext <<EOF | 12968 cat > conftest.$ac_ext <<EOF |
12975 #line 12976 "configure" | 12969 #line 12970 "configure" |
12976 #include "confdefs.h" | 12970 #include "confdefs.h" |
12977 | 12971 |
12978 int main() { | 12972 int main() { |
12979 } $ac_kw foo() { | 12973 } $ac_kw foo() { |
12980 ; return 0; } | 12974 ; return 0; } |
12981 EOF | 12975 EOF |
12982 if { (eval echo configure:12983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12976 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12983 rm -rf conftest* | 12977 rm -rf conftest* |
12984 ac_cv_c_inline=$ac_kw; break | 12978 ac_cv_c_inline=$ac_kw; break |
12985 else | 12979 else |
12986 echo "configure: failed program was:" >&5 | 12980 echo "configure: failed program was:" >&5 |
12987 cat conftest.$ac_ext >&5 | 12981 cat conftest.$ac_ext >&5 |
13014 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13008 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13015 echo " xemacs will be linked with \"inline.o\"" | 13009 echo " xemacs will be linked with \"inline.o\"" |
13016 fi | 13010 fi |
13017 | 13011 |
13018 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13012 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13019 echo "configure:13020: checking for typeof" >&5 | 13013 echo "configure:13014: checking for typeof" >&5 |
13020 cat > conftest.$ac_ext <<EOF | 13014 cat > conftest.$ac_ext <<EOF |
13021 #line 13022 "configure" | 13015 #line 13016 "configure" |
13022 #include "confdefs.h" | 13016 #include "confdefs.h" |
13023 | 13017 |
13024 int main() { | 13018 int main() { |
13025 int i; __typeof__(i) j; | 13019 int i; __typeof__(i) j; |
13026 ; return 0; } | 13020 ; return 0; } |
13027 EOF | 13021 EOF |
13028 if { (eval echo configure:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13029 rm -rf conftest* | 13023 rm -rf conftest* |
13030 typeofname="__typeof__" | 13024 typeofname="__typeof__" |
13031 else | 13025 else |
13032 echo "configure: failed program was:" >&5 | 13026 echo "configure: failed program was:" >&5 |
13033 cat conftest.$ac_ext >&5 | 13027 cat conftest.$ac_ext >&5 |
13034 rm -rf conftest* | 13028 rm -rf conftest* |
13035 cat > conftest.$ac_ext <<EOF | 13029 cat > conftest.$ac_ext <<EOF |
13036 #line 13037 "configure" | 13030 #line 13031 "configure" |
13037 #include "confdefs.h" | 13031 #include "confdefs.h" |
13038 | 13032 |
13039 int main() { | 13033 int main() { |
13040 int i; typeof(i) j; | 13034 int i; typeof(i) j; |
13041 ; return 0; } | 13035 ; return 0; } |
13042 EOF | 13036 EOF |
13043 if { (eval echo configure:13044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13044 rm -rf conftest* | 13038 rm -rf conftest* |
13045 typeofname="typeof" | 13039 typeofname="typeof" |
13046 else | 13040 else |
13047 echo "configure: failed program was:" >&5 | 13041 echo "configure: failed program was:" >&5 |
13048 cat conftest.$ac_ext >&5 | 13042 cat conftest.$ac_ext >&5 |
13067 | 13061 |
13068 if test "$__DECC" != "yes"; then | 13062 if test "$__DECC" != "yes"; then |
13069 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13063 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13070 # for constant arguments. Useless! | 13064 # for constant arguments. Useless! |
13071 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13065 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13072 echo "configure:13073: checking for working alloca.h" >&5 | 13066 echo "configure:13067: checking for working alloca.h" >&5 |
13073 | 13067 |
13074 cat > conftest.$ac_ext <<EOF | 13068 cat > conftest.$ac_ext <<EOF |
13075 #line 13076 "configure" | 13069 #line 13070 "configure" |
13076 #include "confdefs.h" | 13070 #include "confdefs.h" |
13077 #include <alloca.h> | 13071 #include <alloca.h> |
13078 int main() { | 13072 int main() { |
13079 char *p = alloca(2 * sizeof(int)); | 13073 char *p = alloca(2 * sizeof(int)); |
13080 ; return 0; } | 13074 ; return 0; } |
13081 EOF | 13075 EOF |
13082 if { (eval echo configure:13083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13083 rm -rf conftest* | 13077 rm -rf conftest* |
13084 ac_cv_header_alloca_h=yes | 13078 ac_cv_header_alloca_h=yes |
13085 else | 13079 else |
13086 echo "configure: failed program was:" >&5 | 13080 echo "configure: failed program was:" >&5 |
13087 cat conftest.$ac_ext >&5 | 13081 cat conftest.$ac_ext >&5 |
13101 } | 13095 } |
13102 | 13096 |
13103 fi | 13097 fi |
13104 | 13098 |
13105 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13099 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13106 echo "configure:13107: checking for alloca" >&5 | 13100 echo "configure:13101: checking for alloca" >&5 |
13107 | 13101 |
13108 cat > conftest.$ac_ext <<EOF | 13102 cat > conftest.$ac_ext <<EOF |
13109 #line 13110 "configure" | 13103 #line 13104 "configure" |
13110 #include "confdefs.h" | 13104 #include "confdefs.h" |
13111 | 13105 |
13112 #ifdef __GNUC__ | 13106 #ifdef __GNUC__ |
13113 # define alloca __builtin_alloca | 13107 # define alloca __builtin_alloca |
13114 #else | 13108 #else |
13132 | 13126 |
13133 int main() { | 13127 int main() { |
13134 char *p = (char *) alloca(1); | 13128 char *p = (char *) alloca(1); |
13135 ; return 0; } | 13129 ; return 0; } |
13136 EOF | 13130 EOF |
13137 if { (eval echo configure:13138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13131 if { (eval echo configure:13132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13138 rm -rf conftest* | 13132 rm -rf conftest* |
13139 ac_cv_func_alloca_works=yes | 13133 ac_cv_func_alloca_works=yes |
13140 else | 13134 else |
13141 echo "configure: failed program was:" >&5 | 13135 echo "configure: failed program was:" >&5 |
13142 cat conftest.$ac_ext >&5 | 13136 cat conftest.$ac_ext >&5 |
13171 EOF | 13165 EOF |
13172 } | 13166 } |
13173 | 13167 |
13174 | 13168 |
13175 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13169 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13176 echo "configure:13177: checking whether alloca needs Cray hooks" >&5 | 13170 echo "configure:13171: checking whether alloca needs Cray hooks" >&5 |
13177 | 13171 |
13178 cat > conftest.$ac_ext <<EOF | 13172 cat > conftest.$ac_ext <<EOF |
13179 #line 13180 "configure" | 13173 #line 13174 "configure" |
13180 #include "confdefs.h" | 13174 #include "confdefs.h" |
13181 #if defined(CRAY) && ! defined(CRAY2) | 13175 #if defined(CRAY) && ! defined(CRAY2) |
13182 webecray | 13176 webecray |
13183 #else | 13177 #else |
13184 wenotbecray | 13178 wenotbecray |
13198 | 13192 |
13199 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13193 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13200 if test $ac_cv_os_cray = yes; then | 13194 if test $ac_cv_os_cray = yes; then |
13201 for ac_func in _getb67 GETB67 getb67; do | 13195 for ac_func in _getb67 GETB67 getb67; do |
13202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13203 echo "configure:13204: checking for $ac_func" >&5 | 13197 echo "configure:13198: checking for $ac_func" >&5 |
13204 | 13198 |
13205 cat > conftest.$ac_ext <<EOF | 13199 cat > conftest.$ac_ext <<EOF |
13206 #line 13207 "configure" | 13200 #line 13201 "configure" |
13207 #include "confdefs.h" | 13201 #include "confdefs.h" |
13208 /* System header to define __stub macros and hopefully few prototypes, | 13202 /* System header to define __stub macros and hopefully few prototypes, |
13209 which can conflict with char $ac_func(); below. */ | 13203 which can conflict with char $ac_func(); below. */ |
13210 #include <assert.h> | 13204 #include <assert.h> |
13211 /* Override any gcc2 internal prototype to avoid an error. */ | 13205 /* Override any gcc2 internal prototype to avoid an error. */ |
13224 $ac_func(); | 13218 $ac_func(); |
13225 #endif | 13219 #endif |
13226 | 13220 |
13227 ; return 0; } | 13221 ; return 0; } |
13228 EOF | 13222 EOF |
13229 if { (eval echo configure:13230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13230 rm -rf conftest* | 13224 rm -rf conftest* |
13231 eval "ac_cv_func_$ac_func=yes" | 13225 eval "ac_cv_func_$ac_func=yes" |
13232 else | 13226 else |
13233 echo "configure: failed program was:" >&5 | 13227 echo "configure: failed program was:" >&5 |
13234 cat conftest.$ac_ext >&5 | 13228 cat conftest.$ac_ext >&5 |
13254 | 13248 |
13255 done | 13249 done |
13256 fi | 13250 fi |
13257 | 13251 |
13258 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13252 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13259 echo "configure:13260: checking stack direction for C alloca" >&5 | 13253 echo "configure:13254: checking stack direction for C alloca" >&5 |
13260 | 13254 |
13261 cat > conftest.$ac_ext <<EOF | 13255 cat > conftest.$ac_ext <<EOF |
13262 #line 13263 "configure" | 13256 #line 13257 "configure" |
13263 #include "confdefs.h" | 13257 #include "confdefs.h" |
13264 find_stack_direction () | 13258 find_stack_direction () |
13265 { | 13259 { |
13266 static char *addr = 0; | 13260 static char *addr = 0; |
13267 auto char dummy; | 13261 auto char dummy; |
13276 main () | 13270 main () |
13277 { | 13271 { |
13278 exit (find_stack_direction() < 0); | 13272 exit (find_stack_direction() < 0); |
13279 } | 13273 } |
13280 EOF | 13274 EOF |
13281 if { (eval echo configure:13282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13282 then | 13276 then |
13283 ac_cv_c_stack_direction=1 | 13277 ac_cv_c_stack_direction=1 |
13284 else | 13278 else |
13285 conftest_rc="$?" | 13279 conftest_rc="$?" |
13286 echo "configure: failed program was:" >&5 | 13280 echo "configure: failed program was:" >&5 |
13305 echo " xemacs will be linked with \"$ALLOCA\"" | 13299 echo " xemacs will be linked with \"$ALLOCA\"" |
13306 fi | 13300 fi |
13307 fi | 13301 fi |
13308 | 13302 |
13309 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13303 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13310 echo "configure:13311: checking for working alloca in function calls" >&5 | 13304 echo "configure:13305: checking for working alloca in function calls" >&5 |
13311 cat > conftest.$ac_ext <<EOF | 13305 cat > conftest.$ac_ext <<EOF |
13312 #line 13313 "configure" | 13306 #line 13307 "configure" |
13313 #include "confdefs.h" | 13307 #include "confdefs.h" |
13314 | 13308 |
13315 #if defined (__CYGWIN__) | 13309 #if defined (__CYGWIN__) |
13316 #include <alloca.h> | 13310 #include <alloca.h> |
13317 #elif defined (__GNUC__) | 13311 #elif defined (__GNUC__) |
13360 return 1; | 13354 return 1; |
13361 return 0; | 13355 return 0; |
13362 } | 13356 } |
13363 | 13357 |
13364 EOF | 13358 EOF |
13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13359 if { (eval echo configure:13360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13366 then | 13360 then |
13367 working_alloca_in_function_calls=yes | 13361 working_alloca_in_function_calls=yes |
13368 else | 13362 else |
13369 conftest_rc="$?" | 13363 conftest_rc="$?" |
13370 echo "configure: failed program was:" >&5 | 13364 echo "configure: failed program was:" >&5 |
13383 EOF | 13377 EOF |
13384 } | 13378 } |
13385 | 13379 |
13386 | 13380 |
13387 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13381 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13388 echo "configure:13389: checking for working strcoll" >&5 | 13382 echo "configure:13383: checking for working strcoll" >&5 |
13389 | 13383 |
13390 cat > conftest.$ac_ext <<EOF | 13384 cat > conftest.$ac_ext <<EOF |
13391 #line 13392 "configure" | 13385 #line 13386 "configure" |
13392 #include "confdefs.h" | 13386 #include "confdefs.h" |
13393 #include <string.h> | 13387 #include <string.h> |
13394 main () | 13388 main () |
13395 { | 13389 { |
13396 exit (strcoll ("abc", "def") >= 0 || | 13390 exit (strcoll ("abc", "def") >= 0 || |
13397 strcoll ("ABC", "DEF") >= 0 || | 13391 strcoll ("ABC", "DEF") >= 0 || |
13398 strcoll ("123", "456") >= 0); | 13392 strcoll ("123", "456") >= 0); |
13399 } | 13393 } |
13400 EOF | 13394 EOF |
13401 if { (eval echo configure:13402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13402 then | 13396 then |
13403 ac_cv_func_strcoll_works=yes | 13397 ac_cv_func_strcoll_works=yes |
13404 else | 13398 else |
13405 conftest_rc="$?" | 13399 conftest_rc="$?" |
13406 echo "configure: failed program was:" >&5 | 13400 echo "configure: failed program was:" >&5 |
13424 | 13418 |
13425 | 13419 |
13426 for ac_func in getpgrp | 13420 for ac_func in getpgrp |
13427 do | 13421 do |
13428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13429 echo "configure:13430: checking for $ac_func" >&5 | 13423 echo "configure:13424: checking for $ac_func" >&5 |
13430 | 13424 |
13431 cat > conftest.$ac_ext <<EOF | 13425 cat > conftest.$ac_ext <<EOF |
13432 #line 13433 "configure" | 13426 #line 13427 "configure" |
13433 #include "confdefs.h" | 13427 #include "confdefs.h" |
13434 /* System header to define __stub macros and hopefully few prototypes, | 13428 /* System header to define __stub macros and hopefully few prototypes, |
13435 which can conflict with char $ac_func(); below. */ | 13429 which can conflict with char $ac_func(); below. */ |
13436 #include <assert.h> | 13430 #include <assert.h> |
13437 /* Override any gcc2 internal prototype to avoid an error. */ | 13431 /* Override any gcc2 internal prototype to avoid an error. */ |
13450 $ac_func(); | 13444 $ac_func(); |
13451 #endif | 13445 #endif |
13452 | 13446 |
13453 ; return 0; } | 13447 ; return 0; } |
13454 EOF | 13448 EOF |
13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13456 rm -rf conftest* | 13450 rm -rf conftest* |
13457 eval "ac_cv_func_$ac_func=yes" | 13451 eval "ac_cv_func_$ac_func=yes" |
13458 else | 13452 else |
13459 echo "configure: failed program was:" >&5 | 13453 echo "configure: failed program was:" >&5 |
13460 cat conftest.$ac_ext >&5 | 13454 cat conftest.$ac_ext >&5 |
13478 echo "$ac_t""no" 1>&6 | 13472 echo "$ac_t""no" 1>&6 |
13479 fi | 13473 fi |
13480 done | 13474 done |
13481 | 13475 |
13482 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13476 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13483 echo "configure:13484: checking whether getpgrp takes no argument" >&5 | 13477 echo "configure:13478: checking whether getpgrp takes no argument" >&5 |
13484 | 13478 |
13485 cat > conftest.$ac_ext <<EOF | 13479 cat > conftest.$ac_ext <<EOF |
13486 #line 13487 "configure" | 13480 #line 13481 "configure" |
13487 #include "confdefs.h" | 13481 #include "confdefs.h" |
13488 | 13482 |
13489 /* | 13483 /* |
13490 * If this system has a BSD-style getpgrp(), | 13484 * If this system has a BSD-style getpgrp(), |
13491 * which takes a pid argument, exit unsuccessfully. | 13485 * which takes a pid argument, exit unsuccessfully. |
13536 exit(s>>8); | 13530 exit(s>>8); |
13537 } | 13531 } |
13538 } | 13532 } |
13539 | 13533 |
13540 EOF | 13534 EOF |
13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13535 if { (eval echo configure:13536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13542 then | 13536 then |
13543 ac_cv_func_getpgrp_void=yes | 13537 ac_cv_func_getpgrp_void=yes |
13544 else | 13538 else |
13545 conftest_rc="$?" | 13539 conftest_rc="$?" |
13546 echo "configure: failed program was:" >&5 | 13540 echo "configure: failed program was:" >&5 |
13563 | 13557 |
13564 fi | 13558 fi |
13565 | 13559 |
13566 | 13560 |
13567 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13561 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13568 echo "configure:13569: checking for working mmap" >&5 | 13562 echo "configure:13563: checking for working mmap" >&5 |
13569 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13563 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13570 cat > conftest.$ac_ext <<EOF | 13564 cat > conftest.$ac_ext <<EOF |
13571 #line 13572 "configure" | 13565 #line 13566 "configure" |
13572 #include "confdefs.h" | 13566 #include "confdefs.h" |
13573 #include <stdio.h> | 13567 #include <stdio.h> |
13574 #include <unistd.h> | 13568 #include <unistd.h> |
13575 #include <fcntl.h> | 13569 #include <fcntl.h> |
13576 #include <sys/mman.h> | 13570 #include <sys/mman.h> |
13599 return 0; | 13593 return 0; |
13600 perror ("conftest: mmap failed"); | 13594 perror ("conftest: mmap failed"); |
13601 return 1; | 13595 return 1; |
13602 } | 13596 } |
13603 EOF | 13597 EOF |
13604 if { (eval echo configure:13605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13598 if { (eval echo configure:13599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13605 then | 13599 then |
13606 have_mmap=yes | 13600 have_mmap=yes |
13607 else | 13601 else |
13608 conftest_rc="$?" | 13602 conftest_rc="$?" |
13609 echo "configure: failed program was:" >&5 | 13603 echo "configure: failed program was:" >&5 |
13628 esac | 13622 esac |
13629 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13623 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13630 if test "$rel_alloc $have_mmap" = "default yes"; then | 13624 if test "$rel_alloc $have_mmap" = "default yes"; then |
13631 if test "$doug_lea_malloc" = "yes"; then | 13625 if test "$doug_lea_malloc" = "yes"; then |
13632 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13626 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13633 echo "configure:13634: checking for M_MMAP_THRESHOLD" >&5 | 13627 echo "configure:13628: checking for M_MMAP_THRESHOLD" >&5 |
13634 cat > conftest.$ac_ext <<EOF | 13628 cat > conftest.$ac_ext <<EOF |
13635 #line 13636 "configure" | 13629 #line 13630 "configure" |
13636 #include "confdefs.h" | 13630 #include "confdefs.h" |
13637 #include <malloc.h> | 13631 #include <malloc.h> |
13638 int main() { | 13632 int main() { |
13639 | 13633 |
13640 #ifndef M_MMAP_THRESHOLD | 13634 #ifndef M_MMAP_THRESHOLD |
13642 !@+$%^&*_)(_ - unlikely to compile... | 13636 !@+$%^&*_)(_ - unlikely to compile... |
13643 #endif | 13637 #endif |
13644 | 13638 |
13645 ; return 0; } | 13639 ; return 0; } |
13646 EOF | 13640 EOF |
13647 if { (eval echo configure:13648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13641 if { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13648 rm -rf conftest* | 13642 rm -rf conftest* |
13649 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13643 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13650 else | 13644 else |
13651 echo "configure: failed program was:" >&5 | 13645 echo "configure: failed program was:" >&5 |
13652 cat conftest.$ac_ext >&5 | 13646 cat conftest.$ac_ext >&5 |
13667 } | 13661 } |
13668 | 13662 |
13669 | 13663 |
13670 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13664 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13671 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13665 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13672 echo "configure:13673: checking for termios.h" >&5 | 13666 echo "configure:13667: checking for termios.h" >&5 |
13673 | 13667 |
13674 cat > conftest.$ac_ext <<EOF | 13668 cat > conftest.$ac_ext <<EOF |
13675 #line 13676 "configure" | 13669 #line 13670 "configure" |
13676 #include "confdefs.h" | 13670 #include "confdefs.h" |
13677 #include <termios.h> | 13671 #include <termios.h> |
13678 EOF | 13672 EOF |
13679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13680 { (eval echo configure:13681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13674 { (eval echo configure:13675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13682 if test -z "$ac_err"; then | 13676 if test -z "$ac_err"; then |
13683 rm -rf conftest* | 13677 rm -rf conftest* |
13684 eval "ac_cv_header_$ac_safe=yes" | 13678 eval "ac_cv_header_$ac_safe=yes" |
13685 else | 13679 else |
13718 | 13712 |
13719 else | 13713 else |
13720 echo "$ac_t""no" 1>&6 | 13714 echo "$ac_t""no" 1>&6 |
13721 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13715 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13722 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13716 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13723 echo "configure:13724: checking for termio.h" >&5 | 13717 echo "configure:13718: checking for termio.h" >&5 |
13724 | 13718 |
13725 cat > conftest.$ac_ext <<EOF | 13719 cat > conftest.$ac_ext <<EOF |
13726 #line 13727 "configure" | 13720 #line 13721 "configure" |
13727 #include "confdefs.h" | 13721 #include "confdefs.h" |
13728 #include <termio.h> | 13722 #include <termio.h> |
13729 EOF | 13723 EOF |
13730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13731 { (eval echo configure:13732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13725 { (eval echo configure:13726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13733 if test -z "$ac_err"; then | 13727 if test -z "$ac_err"; then |
13734 rm -rf conftest* | 13728 rm -rf conftest* |
13735 eval "ac_cv_header_$ac_safe=yes" | 13729 eval "ac_cv_header_$ac_safe=yes" |
13736 else | 13730 else |
13758 fi | 13752 fi |
13759 | 13753 |
13760 | 13754 |
13761 | 13755 |
13762 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13756 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13763 echo "configure:13764: checking for socket" >&5 | 13757 echo "configure:13758: checking for socket" >&5 |
13764 | 13758 |
13765 cat > conftest.$ac_ext <<EOF | 13759 cat > conftest.$ac_ext <<EOF |
13766 #line 13767 "configure" | 13760 #line 13761 "configure" |
13767 #include "confdefs.h" | 13761 #include "confdefs.h" |
13768 /* System header to define __stub macros and hopefully few prototypes, | 13762 /* System header to define __stub macros and hopefully few prototypes, |
13769 which can conflict with char socket(); below. */ | 13763 which can conflict with char socket(); below. */ |
13770 #include <assert.h> | 13764 #include <assert.h> |
13771 /* Override any gcc2 internal prototype to avoid an error. */ | 13765 /* Override any gcc2 internal prototype to avoid an error. */ |
13784 socket(); | 13778 socket(); |
13785 #endif | 13779 #endif |
13786 | 13780 |
13787 ; return 0; } | 13781 ; return 0; } |
13788 EOF | 13782 EOF |
13789 if { (eval echo configure:13790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13790 rm -rf conftest* | 13784 rm -rf conftest* |
13791 eval "ac_cv_func_socket=yes" | 13785 eval "ac_cv_func_socket=yes" |
13792 else | 13786 else |
13793 echo "configure: failed program was:" >&5 | 13787 echo "configure: failed program was:" >&5 |
13794 cat conftest.$ac_ext >&5 | 13788 cat conftest.$ac_ext >&5 |
13799 | 13793 |
13800 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13794 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13801 echo "$ac_t""yes" 1>&6 | 13795 echo "$ac_t""yes" 1>&6 |
13802 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13796 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13803 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13797 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13804 echo "configure:13805: checking for netinet/in.h" >&5 | 13798 echo "configure:13799: checking for netinet/in.h" >&5 |
13805 | 13799 |
13806 cat > conftest.$ac_ext <<EOF | 13800 cat > conftest.$ac_ext <<EOF |
13807 #line 13808 "configure" | 13801 #line 13802 "configure" |
13808 #include "confdefs.h" | 13802 #include "confdefs.h" |
13809 #include <netinet/in.h> | 13803 #include <netinet/in.h> |
13810 EOF | 13804 EOF |
13811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13812 { (eval echo configure:13813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13806 { (eval echo configure:13807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13814 if test -z "$ac_err"; then | 13808 if test -z "$ac_err"; then |
13815 rm -rf conftest* | 13809 rm -rf conftest* |
13816 eval "ac_cv_header_$ac_safe=yes" | 13810 eval "ac_cv_header_$ac_safe=yes" |
13817 else | 13811 else |
13824 rm -f conftest* | 13818 rm -f conftest* |
13825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13826 echo "$ac_t""yes" 1>&6 | 13820 echo "$ac_t""yes" 1>&6 |
13827 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13821 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13828 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13822 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13829 echo "configure:13830: checking for arpa/inet.h" >&5 | 13823 echo "configure:13824: checking for arpa/inet.h" >&5 |
13830 | 13824 |
13831 cat > conftest.$ac_ext <<EOF | 13825 cat > conftest.$ac_ext <<EOF |
13832 #line 13833 "configure" | 13826 #line 13827 "configure" |
13833 #include "confdefs.h" | 13827 #include "confdefs.h" |
13834 #include <arpa/inet.h> | 13828 #include <arpa/inet.h> |
13835 EOF | 13829 EOF |
13836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13837 { (eval echo configure:13838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13831 { (eval echo configure:13832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13839 if test -z "$ac_err"; then | 13833 if test -z "$ac_err"; then |
13840 rm -rf conftest* | 13834 rm -rf conftest* |
13841 eval "ac_cv_header_$ac_safe=yes" | 13835 eval "ac_cv_header_$ac_safe=yes" |
13842 else | 13836 else |
13857 #define HAVE_SOCKETS 1 | 13851 #define HAVE_SOCKETS 1 |
13858 EOF | 13852 EOF |
13859 } | 13853 } |
13860 | 13854 |
13861 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13855 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13862 echo "configure:13863: checking "for sun_len member in struct sockaddr_un"" >&5 | 13856 echo "configure:13857: checking "for sun_len member in struct sockaddr_un"" >&5 |
13863 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13864 #line 13865 "configure" | 13858 #line 13859 "configure" |
13865 #include "confdefs.h" | 13859 #include "confdefs.h" |
13866 | 13860 |
13867 #include <sys/types.h> | 13861 #include <sys/types.h> |
13868 #include <sys/socket.h> | 13862 #include <sys/socket.h> |
13869 #include <sys/un.h> | 13863 #include <sys/un.h> |
13870 | 13864 |
13871 int main() { | 13865 int main() { |
13872 static struct sockaddr_un x; x.sun_len = 1; | 13866 static struct sockaddr_un x; x.sun_len = 1; |
13873 ; return 0; } | 13867 ; return 0; } |
13874 EOF | 13868 EOF |
13875 if { (eval echo configure:13876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13876 rm -rf conftest* | 13870 rm -rf conftest* |
13877 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13871 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13878 Defining HAVE_SOCKADDR_SUN_LEN | 13872 Defining HAVE_SOCKADDR_SUN_LEN |
13879 EOF | 13873 EOF |
13880 cat >> confdefs.h <<\EOF | 13874 cat >> confdefs.h <<\EOF |
13888 rm -rf conftest* | 13882 rm -rf conftest* |
13889 echo "$ac_t""no" 1>&6 | 13883 echo "$ac_t""no" 1>&6 |
13890 fi | 13884 fi |
13891 rm -f conftest* | 13885 rm -f conftest* |
13892 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13886 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13893 echo "configure:13894: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13887 echo "configure:13888: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13894 cat > conftest.$ac_ext <<EOF | 13888 cat > conftest.$ac_ext <<EOF |
13895 #line 13896 "configure" | 13889 #line 13890 "configure" |
13896 #include "confdefs.h" | 13890 #include "confdefs.h" |
13897 | 13891 |
13898 #include <sys/types.h> | 13892 #include <sys/types.h> |
13899 #include <netinet/in.h> | 13893 #include <netinet/in.h> |
13900 | 13894 |
13901 int main() { | 13895 int main() { |
13902 static struct ip_mreq x; | 13896 static struct ip_mreq x; |
13903 ; return 0; } | 13897 ; return 0; } |
13904 EOF | 13898 EOF |
13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13906 rm -rf conftest* | 13900 rm -rf conftest* |
13907 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13901 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13908 Defining HAVE_MULTICAST | 13902 Defining HAVE_MULTICAST |
13909 EOF | 13903 EOF |
13910 cat >> confdefs.h <<\EOF | 13904 cat >> confdefs.h <<\EOF |
13931 echo "$ac_t""no" 1>&6 | 13925 echo "$ac_t""no" 1>&6 |
13932 fi | 13926 fi |
13933 | 13927 |
13934 | 13928 |
13935 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13929 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13936 echo "configure:13937: checking for msgget" >&5 | 13930 echo "configure:13931: checking for msgget" >&5 |
13937 | 13931 |
13938 cat > conftest.$ac_ext <<EOF | 13932 cat > conftest.$ac_ext <<EOF |
13939 #line 13940 "configure" | 13933 #line 13934 "configure" |
13940 #include "confdefs.h" | 13934 #include "confdefs.h" |
13941 /* System header to define __stub macros and hopefully few prototypes, | 13935 /* System header to define __stub macros and hopefully few prototypes, |
13942 which can conflict with char msgget(); below. */ | 13936 which can conflict with char msgget(); below. */ |
13943 #include <assert.h> | 13937 #include <assert.h> |
13944 /* Override any gcc2 internal prototype to avoid an error. */ | 13938 /* Override any gcc2 internal prototype to avoid an error. */ |
13957 msgget(); | 13951 msgget(); |
13958 #endif | 13952 #endif |
13959 | 13953 |
13960 ; return 0; } | 13954 ; return 0; } |
13961 EOF | 13955 EOF |
13962 if { (eval echo configure:13963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13956 if { (eval echo configure:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13963 rm -rf conftest* | 13957 rm -rf conftest* |
13964 eval "ac_cv_func_msgget=yes" | 13958 eval "ac_cv_func_msgget=yes" |
13965 else | 13959 else |
13966 echo "configure: failed program was:" >&5 | 13960 echo "configure: failed program was:" >&5 |
13967 cat conftest.$ac_ext >&5 | 13961 cat conftest.$ac_ext >&5 |
13972 | 13966 |
13973 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13967 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13974 echo "$ac_t""yes" 1>&6 | 13968 echo "$ac_t""yes" 1>&6 |
13975 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13969 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13976 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13970 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13977 echo "configure:13978: checking for sys/ipc.h" >&5 | 13971 echo "configure:13972: checking for sys/ipc.h" >&5 |
13978 | 13972 |
13979 cat > conftest.$ac_ext <<EOF | 13973 cat > conftest.$ac_ext <<EOF |
13980 #line 13981 "configure" | 13974 #line 13975 "configure" |
13981 #include "confdefs.h" | 13975 #include "confdefs.h" |
13982 #include <sys/ipc.h> | 13976 #include <sys/ipc.h> |
13983 EOF | 13977 EOF |
13984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13985 { (eval echo configure:13986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13979 { (eval echo configure:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13987 if test -z "$ac_err"; then | 13981 if test -z "$ac_err"; then |
13988 rm -rf conftest* | 13982 rm -rf conftest* |
13989 eval "ac_cv_header_$ac_safe=yes" | 13983 eval "ac_cv_header_$ac_safe=yes" |
13990 else | 13984 else |
13997 rm -f conftest* | 13991 rm -f conftest* |
13998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13999 echo "$ac_t""yes" 1>&6 | 13993 echo "$ac_t""yes" 1>&6 |
14000 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13994 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
14001 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13995 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
14002 echo "configure:14003: checking for sys/msg.h" >&5 | 13996 echo "configure:13997: checking for sys/msg.h" >&5 |
14003 | 13997 |
14004 cat > conftest.$ac_ext <<EOF | 13998 cat > conftest.$ac_ext <<EOF |
14005 #line 14006 "configure" | 13999 #line 14000 "configure" |
14006 #include "confdefs.h" | 14000 #include "confdefs.h" |
14007 #include <sys/msg.h> | 14001 #include <sys/msg.h> |
14008 EOF | 14002 EOF |
14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14004 { (eval echo configure:14005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14012 if test -z "$ac_err"; then | 14006 if test -z "$ac_err"; then |
14013 rm -rf conftest* | 14007 rm -rf conftest* |
14014 eval "ac_cv_header_$ac_safe=yes" | 14008 eval "ac_cv_header_$ac_safe=yes" |
14015 else | 14009 else |
14043 fi | 14037 fi |
14044 | 14038 |
14045 | 14039 |
14046 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14040 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14047 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14041 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14048 echo "configure:14049: checking for dirent.h" >&5 | 14042 echo "configure:14043: checking for dirent.h" >&5 |
14049 | 14043 |
14050 cat > conftest.$ac_ext <<EOF | 14044 cat > conftest.$ac_ext <<EOF |
14051 #line 14052 "configure" | 14045 #line 14046 "configure" |
14052 #include "confdefs.h" | 14046 #include "confdefs.h" |
14053 #include <dirent.h> | 14047 #include <dirent.h> |
14054 EOF | 14048 EOF |
14055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14056 { (eval echo configure:14057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14050 { (eval echo configure:14051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14058 if test -z "$ac_err"; then | 14052 if test -z "$ac_err"; then |
14059 rm -rf conftest* | 14053 rm -rf conftest* |
14060 eval "ac_cv_header_$ac_safe=yes" | 14054 eval "ac_cv_header_$ac_safe=yes" |
14061 else | 14055 else |
14078 | 14072 |
14079 else | 14073 else |
14080 echo "$ac_t""no" 1>&6 | 14074 echo "$ac_t""no" 1>&6 |
14081 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14075 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14082 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14076 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14083 echo "configure:14084: checking for sys/dir.h" >&5 | 14077 echo "configure:14078: checking for sys/dir.h" >&5 |
14084 | 14078 |
14085 cat > conftest.$ac_ext <<EOF | 14079 cat > conftest.$ac_ext <<EOF |
14086 #line 14087 "configure" | 14080 #line 14081 "configure" |
14087 #include "confdefs.h" | 14081 #include "confdefs.h" |
14088 #include <sys/dir.h> | 14082 #include <sys/dir.h> |
14089 EOF | 14083 EOF |
14090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14091 { (eval echo configure:14092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14085 { (eval echo configure:14086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14093 if test -z "$ac_err"; then | 14087 if test -z "$ac_err"; then |
14094 rm -rf conftest* | 14088 rm -rf conftest* |
14095 eval "ac_cv_header_$ac_safe=yes" | 14089 eval "ac_cv_header_$ac_safe=yes" |
14096 else | 14090 else |
14119 fi | 14113 fi |
14120 | 14114 |
14121 | 14115 |
14122 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14116 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14123 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14117 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14124 echo "configure:14125: checking for nlist.h" >&5 | 14118 echo "configure:14119: checking for nlist.h" >&5 |
14125 | 14119 |
14126 cat > conftest.$ac_ext <<EOF | 14120 cat > conftest.$ac_ext <<EOF |
14127 #line 14128 "configure" | 14121 #line 14122 "configure" |
14128 #include "confdefs.h" | 14122 #include "confdefs.h" |
14129 #include <nlist.h> | 14123 #include <nlist.h> |
14130 EOF | 14124 EOF |
14131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14132 { (eval echo configure:14133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14126 { (eval echo configure:14127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14134 if test -z "$ac_err"; then | 14128 if test -z "$ac_err"; then |
14135 rm -rf conftest* | 14129 rm -rf conftest* |
14136 eval "ac_cv_header_$ac_safe=yes" | 14130 eval "ac_cv_header_$ac_safe=yes" |
14137 else | 14131 else |
14157 fi | 14151 fi |
14158 | 14152 |
14159 | 14153 |
14160 | 14154 |
14161 echo "checking "for sound support"" 1>&6 | 14155 echo "checking "for sound support"" 1>&6 |
14162 echo "configure:14163: checking "for sound support"" >&5 | 14156 echo "configure:14157: checking "for sound support"" >&5 |
14163 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14157 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14164 | 14158 |
14165 if test "$with_native_sound" != "no"; then | 14159 if test "$with_native_sound" != "no"; then |
14166 if test -n "$native_sound_lib"; then | 14160 if test -n "$native_sound_lib"; then |
14167 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14161 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14168 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14162 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14169 echo "configure:14170: checking for multimedia/audio_device.h" >&5 | 14163 echo "configure:14164: checking for multimedia/audio_device.h" >&5 |
14170 | 14164 |
14171 cat > conftest.$ac_ext <<EOF | 14165 cat > conftest.$ac_ext <<EOF |
14172 #line 14173 "configure" | 14166 #line 14167 "configure" |
14173 #include "confdefs.h" | 14167 #include "confdefs.h" |
14174 #include <multimedia/audio_device.h> | 14168 #include <multimedia/audio_device.h> |
14175 EOF | 14169 EOF |
14176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14177 { (eval echo configure:14178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14179 if test -z "$ac_err"; then | 14173 if test -z "$ac_err"; then |
14180 rm -rf conftest* | 14174 rm -rf conftest* |
14181 eval "ac_cv_header_$ac_safe=yes" | 14175 eval "ac_cv_header_$ac_safe=yes" |
14182 else | 14176 else |
14228 case "$canonical" in | 14222 case "$canonical" in |
14229 *-sgi-* ) | 14223 *-sgi-* ) |
14230 if test -z "$native_sound_lib"; then | 14224 if test -z "$native_sound_lib"; then |
14231 | 14225 |
14232 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14226 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14233 echo "configure:14234: checking for ALopenport in -laudio" >&5 | 14227 echo "configure:14228: checking for ALopenport in -laudio" >&5 |
14234 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14228 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14235 | 14229 |
14236 xe_check_libs=" -laudio " | 14230 xe_check_libs=" -laudio " |
14237 cat > conftest.$ac_ext <<EOF | 14231 cat > conftest.$ac_ext <<EOF |
14238 #line 14239 "configure" | 14232 #line 14233 "configure" |
14239 #include "confdefs.h" | 14233 #include "confdefs.h" |
14240 /* Override any gcc2 internal prototype to avoid an error. */ | 14234 /* Override any gcc2 internal prototype to avoid an error. */ |
14241 /* We use char because int might match the return type of a gcc2 | 14235 /* We use char because int might match the return type of a gcc2 |
14242 builtin and then its argument prototype would still apply. */ | 14236 builtin and then its argument prototype would still apply. */ |
14243 char ALopenport(); | 14237 char ALopenport(); |
14244 | 14238 |
14245 int main() { | 14239 int main() { |
14246 ALopenport() | 14240 ALopenport() |
14247 ; return 0; } | 14241 ; return 0; } |
14248 EOF | 14242 EOF |
14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14250 rm -rf conftest* | 14244 rm -rf conftest* |
14251 eval "ac_cv_lib_$ac_lib_var=yes" | 14245 eval "ac_cv_lib_$ac_lib_var=yes" |
14252 else | 14246 else |
14253 echo "configure: failed program was:" >&5 | 14247 echo "configure: failed program was:" >&5 |
14254 cat conftest.$ac_ext >&5 | 14248 cat conftest.$ac_ext >&5 |
14275 fi ;; | 14269 fi ;; |
14276 hppa*-hp-hpux* ) | 14270 hppa*-hp-hpux* ) |
14277 if test -z "$native_sound_lib"; then | 14271 if test -z "$native_sound_lib"; then |
14278 | 14272 |
14279 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14273 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14280 echo "configure:14281: checking for AOpenAudio in -lAlib" >&5 | 14274 echo "configure:14275: checking for AOpenAudio in -lAlib" >&5 |
14281 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14275 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14282 | 14276 |
14283 xe_check_libs=" -lAlib " | 14277 xe_check_libs=" -lAlib " |
14284 cat > conftest.$ac_ext <<EOF | 14278 cat > conftest.$ac_ext <<EOF |
14285 #line 14286 "configure" | 14279 #line 14280 "configure" |
14286 #include "confdefs.h" | 14280 #include "confdefs.h" |
14287 /* Override any gcc2 internal prototype to avoid an error. */ | 14281 /* Override any gcc2 internal prototype to avoid an error. */ |
14288 /* We use char because int might match the return type of a gcc2 | 14282 /* We use char because int might match the return type of a gcc2 |
14289 builtin and then its argument prototype would still apply. */ | 14283 builtin and then its argument prototype would still apply. */ |
14290 char AOpenAudio(); | 14284 char AOpenAudio(); |
14291 | 14285 |
14292 int main() { | 14286 int main() { |
14293 AOpenAudio() | 14287 AOpenAudio() |
14294 ; return 0; } | 14288 ; return 0; } |
14295 EOF | 14289 EOF |
14296 if { (eval echo configure:14297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14290 if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14297 rm -rf conftest* | 14291 rm -rf conftest* |
14298 eval "ac_cv_lib_$ac_lib_var=yes" | 14292 eval "ac_cv_lib_$ac_lib_var=yes" |
14299 else | 14293 else |
14300 echo "configure: failed program was:" >&5 | 14294 echo "configure: failed program was:" >&5 |
14301 cat conftest.$ac_ext >&5 | 14295 cat conftest.$ac_ext >&5 |
14339 | 14333 |
14340 if test -z "$sound_found"; then | 14334 if test -z "$sound_found"; then |
14341 for dir in "machine" "sys" "linux"; do | 14335 for dir in "machine" "sys" "linux"; do |
14342 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14336 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14343 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14337 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14344 echo "configure:14345: checking for ${dir}/soundcard.h" >&5 | 14338 echo "configure:14339: checking for ${dir}/soundcard.h" >&5 |
14345 | 14339 |
14346 cat > conftest.$ac_ext <<EOF | 14340 cat > conftest.$ac_ext <<EOF |
14347 #line 14348 "configure" | 14341 #line 14342 "configure" |
14348 #include "confdefs.h" | 14342 #include "confdefs.h" |
14349 #include <${dir}/soundcard.h> | 14343 #include <${dir}/soundcard.h> |
14350 EOF | 14344 EOF |
14351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14352 { (eval echo configure:14353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14346 { (eval echo configure:14347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14354 if test -z "$ac_err"; then | 14348 if test -z "$ac_err"; then |
14355 rm -rf conftest* | 14349 rm -rf conftest* |
14356 eval "ac_cv_header_$ac_safe=yes" | 14350 eval "ac_cv_header_$ac_safe=yes" |
14357 else | 14351 else |
14401 fi | 14395 fi |
14402 | 14396 |
14403 if test "$with_nas_sound" != "no"; then | 14397 if test "$with_nas_sound" != "no"; then |
14404 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14398 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14405 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14399 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14406 echo "configure:14407: checking for audio/audiolib.h" >&5 | 14400 echo "configure:14401: checking for audio/audiolib.h" >&5 |
14407 | 14401 |
14408 cat > conftest.$ac_ext <<EOF | 14402 cat > conftest.$ac_ext <<EOF |
14409 #line 14410 "configure" | 14403 #line 14404 "configure" |
14410 #include "confdefs.h" | 14404 #include "confdefs.h" |
14411 #include <audio/audiolib.h> | 14405 #include <audio/audiolib.h> |
14412 EOF | 14406 EOF |
14413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14414 { (eval echo configure:14415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14408 { (eval echo configure:14409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14416 if test -z "$ac_err"; then | 14410 if test -z "$ac_err"; then |
14417 rm -rf conftest* | 14411 rm -rf conftest* |
14418 eval "ac_cv_header_$ac_safe=yes" | 14412 eval "ac_cv_header_$ac_safe=yes" |
14419 else | 14413 else |
14427 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14428 echo "$ac_t""yes" 1>&6 | 14422 echo "$ac_t""yes" 1>&6 |
14429 | 14423 |
14430 | 14424 |
14431 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14425 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14432 echo "configure:14433: checking for AuOpenServer in -laudio" >&5 | 14426 echo "configure:14427: checking for AuOpenServer in -laudio" >&5 |
14433 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14427 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14434 | 14428 |
14435 xe_check_libs=" -laudio " | 14429 xe_check_libs=" -laudio " |
14436 cat > conftest.$ac_ext <<EOF | 14430 cat > conftest.$ac_ext <<EOF |
14437 #line 14438 "configure" | 14431 #line 14432 "configure" |
14438 #include "confdefs.h" | 14432 #include "confdefs.h" |
14439 /* Override any gcc2 internal prototype to avoid an error. */ | 14433 /* Override any gcc2 internal prototype to avoid an error. */ |
14440 /* We use char because int might match the return type of a gcc2 | 14434 /* We use char because int might match the return type of a gcc2 |
14441 builtin and then its argument prototype would still apply. */ | 14435 builtin and then its argument prototype would still apply. */ |
14442 char AuOpenServer(); | 14436 char AuOpenServer(); |
14443 | 14437 |
14444 int main() { | 14438 int main() { |
14445 AuOpenServer() | 14439 AuOpenServer() |
14446 ; return 0; } | 14440 ; return 0; } |
14447 EOF | 14441 EOF |
14448 if { (eval echo configure:14449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14442 if { (eval echo configure:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14449 rm -rf conftest* | 14443 rm -rf conftest* |
14450 eval "ac_cv_lib_$ac_lib_var=yes" | 14444 eval "ac_cv_lib_$ac_lib_var=yes" |
14451 else | 14445 else |
14452 echo "configure: failed program was:" >&5 | 14446 echo "configure: failed program was:" >&5 |
14453 cat conftest.$ac_ext >&5 | 14447 cat conftest.$ac_ext >&5 |
14482 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14476 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14483 echo " xemacs will be linked with \"nas.o\"" | 14477 echo " xemacs will be linked with \"nas.o\"" |
14484 fi | 14478 fi |
14485 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14479 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14486 cat > conftest.$ac_ext <<EOF | 14480 cat > conftest.$ac_ext <<EOF |
14487 #line 14488 "configure" | 14481 #line 14482 "configure" |
14488 #include "confdefs.h" | 14482 #include "confdefs.h" |
14489 #include <audio/Xtutil.h> | 14483 #include <audio/Xtutil.h> |
14490 EOF | 14484 EOF |
14491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14492 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14486 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14513 | 14507 |
14514 if test "$with_esd_sound" != "no"; then | 14508 if test "$with_esd_sound" != "no"; then |
14515 # Extract the first word of "esd-config", so it can be a program name with args. | 14509 # Extract the first word of "esd-config", so it can be a program name with args. |
14516 set dummy esd-config; ac_word=$2 | 14510 set dummy esd-config; ac_word=$2 |
14517 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14511 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14518 echo "configure:14519: checking for $ac_word" >&5 | 14512 echo "configure:14513: checking for $ac_word" >&5 |
14519 | 14513 |
14520 if test -n "$have_esd_config"; then | 14514 if test -n "$have_esd_config"; then |
14521 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14515 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14522 else | 14516 else |
14523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14542 if test "$have_esd_config" = "yes"; then | 14536 if test "$have_esd_config" = "yes"; then |
14543 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14537 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14544 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 | 14538 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 |
14545 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14539 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14546 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14540 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14547 echo "configure:14548: checking for esd_play_stream" >&5 | 14541 echo "configure:14542: checking for esd_play_stream" >&5 |
14548 | 14542 |
14549 cat > conftest.$ac_ext <<EOF | 14543 cat > conftest.$ac_ext <<EOF |
14550 #line 14551 "configure" | 14544 #line 14545 "configure" |
14551 #include "confdefs.h" | 14545 #include "confdefs.h" |
14552 /* System header to define __stub macros and hopefully few prototypes, | 14546 /* System header to define __stub macros and hopefully few prototypes, |
14553 which can conflict with char esd_play_stream(); below. */ | 14547 which can conflict with char esd_play_stream(); below. */ |
14554 #include <assert.h> | 14548 #include <assert.h> |
14555 /* Override any gcc2 internal prototype to avoid an error. */ | 14549 /* Override any gcc2 internal prototype to avoid an error. */ |
14568 esd_play_stream(); | 14562 esd_play_stream(); |
14569 #endif | 14563 #endif |
14570 | 14564 |
14571 ; return 0; } | 14565 ; return 0; } |
14572 EOF | 14566 EOF |
14573 if { (eval echo configure:14574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14574 rm -rf conftest* | 14568 rm -rf conftest* |
14575 eval "ac_cv_func_esd_play_stream=yes" | 14569 eval "ac_cv_func_esd_play_stream=yes" |
14576 else | 14570 else |
14577 echo "configure: failed program was:" >&5 | 14571 echo "configure: failed program was:" >&5 |
14578 cat conftest.$ac_ext >&5 | 14572 cat conftest.$ac_ext >&5 |
14619 | 14613 |
14620 test -z "$with_tty" && with_tty=yes | 14614 test -z "$with_tty" && with_tty=yes |
14621 | 14615 |
14622 if test "$with_tty" = "yes" ; then | 14616 if test "$with_tty" = "yes" ; then |
14623 echo "checking for TTY-related features" 1>&6 | 14617 echo "checking for TTY-related features" 1>&6 |
14624 echo "configure:14625: checking for TTY-related features" >&5 | 14618 echo "configure:14619: checking for TTY-related features" >&5 |
14625 { test "$extra_verbose" = "yes" && cat << \EOF | 14619 { test "$extra_verbose" = "yes" && cat << \EOF |
14626 Defining HAVE_TTY | 14620 Defining HAVE_TTY |
14627 EOF | 14621 EOF |
14628 cat >> confdefs.h <<\EOF | 14622 cat >> confdefs.h <<\EOF |
14629 #define HAVE_TTY 1 | 14623 #define HAVE_TTY 1 |
14632 | 14626 |
14633 | 14627 |
14634 if test -z "$with_ncurses"; then | 14628 if test -z "$with_ncurses"; then |
14635 | 14629 |
14636 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14630 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14637 echo "configure:14638: checking for tgetent in -lncurses" >&5 | 14631 echo "configure:14632: checking for tgetent in -lncurses" >&5 |
14638 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14632 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14639 | 14633 |
14640 xe_check_libs=" -lncurses " | 14634 xe_check_libs=" -lncurses " |
14641 cat > conftest.$ac_ext <<EOF | 14635 cat > conftest.$ac_ext <<EOF |
14642 #line 14643 "configure" | 14636 #line 14637 "configure" |
14643 #include "confdefs.h" | 14637 #include "confdefs.h" |
14644 /* Override any gcc2 internal prototype to avoid an error. */ | 14638 /* Override any gcc2 internal prototype to avoid an error. */ |
14645 /* We use char because int might match the return type of a gcc2 | 14639 /* We use char because int might match the return type of a gcc2 |
14646 builtin and then its argument prototype would still apply. */ | 14640 builtin and then its argument prototype would still apply. */ |
14647 char tgetent(); | 14641 char tgetent(); |
14648 | 14642 |
14649 int main() { | 14643 int main() { |
14650 tgetent() | 14644 tgetent() |
14651 ; return 0; } | 14645 ; return 0; } |
14652 EOF | 14646 EOF |
14653 if { (eval echo configure:14654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14654 rm -rf conftest* | 14648 rm -rf conftest* |
14655 eval "ac_cv_lib_$ac_lib_var=yes" | 14649 eval "ac_cv_lib_$ac_lib_var=yes" |
14656 else | 14650 else |
14657 echo "configure: failed program was:" >&5 | 14651 echo "configure: failed program was:" >&5 |
14658 cat conftest.$ac_ext >&5 | 14652 cat conftest.$ac_ext >&5 |
14681 EOF | 14675 EOF |
14682 } | 14676 } |
14683 | 14677 |
14684 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14678 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14685 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14679 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14686 echo "configure:14687: checking for ncurses/curses.h" >&5 | 14680 echo "configure:14681: checking for ncurses/curses.h" >&5 |
14687 | 14681 |
14688 cat > conftest.$ac_ext <<EOF | 14682 cat > conftest.$ac_ext <<EOF |
14689 #line 14690 "configure" | 14683 #line 14684 "configure" |
14690 #include "confdefs.h" | 14684 #include "confdefs.h" |
14691 #include <ncurses/curses.h> | 14685 #include <ncurses/curses.h> |
14692 EOF | 14686 EOF |
14693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14694 { (eval echo configure:14695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14688 { (eval echo configure:14689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14696 if test -z "$ac_err"; then | 14690 if test -z "$ac_err"; then |
14697 rm -rf conftest* | 14691 rm -rf conftest* |
14698 eval "ac_cv_header_$ac_safe=yes" | 14692 eval "ac_cv_header_$ac_safe=yes" |
14699 else | 14693 else |
14711 echo "$ac_t""no" 1>&6 | 14705 echo "$ac_t""no" 1>&6 |
14712 fi | 14706 fi |
14713 | 14707 |
14714 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14708 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14715 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14709 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14716 echo "configure:14717: checking for ncurses/term.h" >&5 | 14710 echo "configure:14711: checking for ncurses/term.h" >&5 |
14717 | 14711 |
14718 cat > conftest.$ac_ext <<EOF | 14712 cat > conftest.$ac_ext <<EOF |
14719 #line 14720 "configure" | 14713 #line 14714 "configure" |
14720 #include "confdefs.h" | 14714 #include "confdefs.h" |
14721 #include <ncurses/term.h> | 14715 #include <ncurses/term.h> |
14722 EOF | 14716 EOF |
14723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14724 { (eval echo configure:14725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14718 { (eval echo configure:14719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14726 if test -z "$ac_err"; then | 14720 if test -z "$ac_err"; then |
14727 rm -rf conftest* | 14721 rm -rf conftest* |
14728 eval "ac_cv_header_$ac_safe=yes" | 14722 eval "ac_cv_header_$ac_safe=yes" |
14729 else | 14723 else |
14749 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14743 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14750 save_c_switch_site="$c_switch_site" | 14744 save_c_switch_site="$c_switch_site" |
14751 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14745 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14752 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14746 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14753 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14747 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14754 echo "configure:14755: checking for ncurses/curses.h" >&5 | 14748 echo "configure:14749: checking for ncurses/curses.h" >&5 |
14755 | 14749 |
14756 cat > conftest.$ac_ext <<EOF | 14750 cat > conftest.$ac_ext <<EOF |
14757 #line 14758 "configure" | 14751 #line 14752 "configure" |
14758 #include "confdefs.h" | 14752 #include "confdefs.h" |
14759 #include <ncurses/curses.h> | 14753 #include <ncurses/curses.h> |
14760 EOF | 14754 EOF |
14761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14762 { (eval echo configure:14763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14756 { (eval echo configure:14757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14764 if test -z "$ac_err"; then | 14758 if test -z "$ac_err"; then |
14765 rm -rf conftest* | 14759 rm -rf conftest* |
14766 eval "ac_cv_header_$ac_safe=yes" | 14760 eval "ac_cv_header_$ac_safe=yes" |
14767 else | 14761 else |
14792 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14786 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14793 else | 14787 else |
14794 for lib in curses termlib termcap; do | 14788 for lib in curses termlib termcap; do |
14795 | 14789 |
14796 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14790 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14797 echo "configure:14798: checking for tgetent in -l$lib" >&5 | 14791 echo "configure:14792: checking for tgetent in -l$lib" >&5 |
14798 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14792 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14799 | 14793 |
14800 xe_check_libs=" -l$lib " | 14794 xe_check_libs=" -l$lib " |
14801 cat > conftest.$ac_ext <<EOF | 14795 cat > conftest.$ac_ext <<EOF |
14802 #line 14803 "configure" | 14796 #line 14797 "configure" |
14803 #include "confdefs.h" | 14797 #include "confdefs.h" |
14804 /* Override any gcc2 internal prototype to avoid an error. */ | 14798 /* Override any gcc2 internal prototype to avoid an error. */ |
14805 /* We use char because int might match the return type of a gcc2 | 14799 /* We use char because int might match the return type of a gcc2 |
14806 builtin and then its argument prototype would still apply. */ | 14800 builtin and then its argument prototype would still apply. */ |
14807 char tgetent(); | 14801 char tgetent(); |
14808 | 14802 |
14809 int main() { | 14803 int main() { |
14810 tgetent() | 14804 tgetent() |
14811 ; return 0; } | 14805 ; return 0; } |
14812 EOF | 14806 EOF |
14813 if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14807 if { (eval echo configure:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14814 rm -rf conftest* | 14808 rm -rf conftest* |
14815 eval "ac_cv_lib_$ac_lib_var=yes" | 14809 eval "ac_cv_lib_$ac_lib_var=yes" |
14816 else | 14810 else |
14817 echo "configure: failed program was:" >&5 | 14811 echo "configure: failed program was:" >&5 |
14818 cat conftest.$ac_ext >&5 | 14812 cat conftest.$ac_ext >&5 |
14839 if test -n "$libs_termcap"; then | 14833 if test -n "$libs_termcap"; then |
14840 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14834 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14841 else | 14835 else |
14842 | 14836 |
14843 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14837 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14844 echo "configure:14845: checking for tgetent in -lcurses" >&5 | 14838 echo "configure:14839: checking for tgetent in -lcurses" >&5 |
14845 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14839 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14846 | 14840 |
14847 xe_check_libs=" -lcurses " | 14841 xe_check_libs=" -lcurses " |
14848 cat > conftest.$ac_ext <<EOF | 14842 cat > conftest.$ac_ext <<EOF |
14849 #line 14850 "configure" | 14843 #line 14844 "configure" |
14850 #include "confdefs.h" | 14844 #include "confdefs.h" |
14851 /* Override any gcc2 internal prototype to avoid an error. */ | 14845 /* Override any gcc2 internal prototype to avoid an error. */ |
14852 /* We use char because int might match the return type of a gcc2 | 14846 /* We use char because int might match the return type of a gcc2 |
14853 builtin and then its argument prototype would still apply. */ | 14847 builtin and then its argument prototype would still apply. */ |
14854 char tgetent(); | 14848 char tgetent(); |
14855 | 14849 |
14856 int main() { | 14850 int main() { |
14857 tgetent() | 14851 tgetent() |
14858 ; return 0; } | 14852 ; return 0; } |
14859 EOF | 14853 EOF |
14860 if { (eval echo configure:14861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14854 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14861 rm -rf conftest* | 14855 rm -rf conftest* |
14862 eval "ac_cv_lib_$ac_lib_var=yes" | 14856 eval "ac_cv_lib_$ac_lib_var=yes" |
14863 else | 14857 else |
14864 echo "configure: failed program was:" >&5 | 14858 echo "configure: failed program was:" >&5 |
14865 cat conftest.$ac_ext >&5 | 14859 cat conftest.$ac_ext >&5 |
14873 echo "$ac_t""yes" 1>&6 | 14867 echo "$ac_t""yes" 1>&6 |
14874 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14868 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14875 else | 14869 else |
14876 echo "$ac_t""no" 1>&6 | 14870 echo "$ac_t""no" 1>&6 |
14877 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14871 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14878 echo "configure:14879: checking for tgetent in -ltermcap" >&5 | 14872 echo "configure:14873: checking for tgetent in -ltermcap" >&5 |
14879 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14873 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14880 | 14874 |
14881 xe_check_libs=" -ltermcap " | 14875 xe_check_libs=" -ltermcap " |
14882 cat > conftest.$ac_ext <<EOF | 14876 cat > conftest.$ac_ext <<EOF |
14883 #line 14884 "configure" | 14877 #line 14878 "configure" |
14884 #include "confdefs.h" | 14878 #include "confdefs.h" |
14885 /* Override any gcc2 internal prototype to avoid an error. */ | 14879 /* Override any gcc2 internal prototype to avoid an error. */ |
14886 /* We use char because int might match the return type of a gcc2 | 14880 /* We use char because int might match the return type of a gcc2 |
14887 builtin and then its argument prototype would still apply. */ | 14881 builtin and then its argument prototype would still apply. */ |
14888 char tgetent(); | 14882 char tgetent(); |
14889 | 14883 |
14890 int main() { | 14884 int main() { |
14891 tgetent() | 14885 tgetent() |
14892 ; return 0; } | 14886 ; return 0; } |
14893 EOF | 14887 EOF |
14894 if { (eval echo configure:14895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14888 if { (eval echo configure:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14895 rm -rf conftest* | 14889 rm -rf conftest* |
14896 eval "ac_cv_lib_$ac_lib_var=yes" | 14890 eval "ac_cv_lib_$ac_lib_var=yes" |
14897 else | 14891 else |
14898 echo "configure: failed program was:" >&5 | 14892 echo "configure: failed program was:" >&5 |
14899 cat conftest.$ac_ext >&5 | 14893 cat conftest.$ac_ext >&5 |
14937 } | 14931 } |
14938 | 14932 |
14939 | 14933 |
14940 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14934 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14941 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14935 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14942 echo "configure:14943: checking for gpm.h" >&5 | 14936 echo "configure:14937: checking for gpm.h" >&5 |
14943 | 14937 |
14944 cat > conftest.$ac_ext <<EOF | 14938 cat > conftest.$ac_ext <<EOF |
14945 #line 14946 "configure" | 14939 #line 14940 "configure" |
14946 #include "confdefs.h" | 14940 #include "confdefs.h" |
14947 #include <gpm.h> | 14941 #include <gpm.h> |
14948 EOF | 14942 EOF |
14949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14950 { (eval echo configure:14951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14952 if test -z "$ac_err"; then | 14946 if test -z "$ac_err"; then |
14953 rm -rf conftest* | 14947 rm -rf conftest* |
14954 eval "ac_cv_header_$ac_safe=yes" | 14948 eval "ac_cv_header_$ac_safe=yes" |
14955 else | 14949 else |
14968 with_gpm=no | 14962 with_gpm=no |
14969 fi | 14963 fi |
14970 } | 14964 } |
14971 test -z "$with_gpm" && { | 14965 test -z "$with_gpm" && { |
14972 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14966 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14973 echo "configure:14974: checking for Gpm_Open in -lgpm" >&5 | 14967 echo "configure:14968: checking for Gpm_Open in -lgpm" >&5 |
14974 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14968 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14975 | 14969 |
14976 xe_check_libs=" -lgpm " | 14970 xe_check_libs=" -lgpm " |
14977 cat > conftest.$ac_ext <<EOF | 14971 cat > conftest.$ac_ext <<EOF |
14978 #line 14979 "configure" | 14972 #line 14973 "configure" |
14979 #include "confdefs.h" | 14973 #include "confdefs.h" |
14980 /* Override any gcc2 internal prototype to avoid an error. */ | 14974 /* Override any gcc2 internal prototype to avoid an error. */ |
14981 /* We use char because int might match the return type of a gcc2 | 14975 /* We use char because int might match the return type of a gcc2 |
14982 builtin and then its argument prototype would still apply. */ | 14976 builtin and then its argument prototype would still apply. */ |
14983 char Gpm_Open(); | 14977 char Gpm_Open(); |
14984 | 14978 |
14985 int main() { | 14979 int main() { |
14986 Gpm_Open() | 14980 Gpm_Open() |
14987 ; return 0; } | 14981 ; return 0; } |
14988 EOF | 14982 EOF |
14989 if { (eval echo configure:14990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14983 if { (eval echo configure:14984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14990 rm -rf conftest* | 14984 rm -rf conftest* |
14991 eval "ac_cv_lib_$ac_lib_var=yes" | 14985 eval "ac_cv_lib_$ac_lib_var=yes" |
14992 else | 14986 else |
14993 echo "configure: failed program was:" >&5 | 14987 echo "configure: failed program was:" >&5 |
14994 cat conftest.$ac_ext >&5 | 14988 cat conftest.$ac_ext >&5 |
15027 done | 15021 done |
15028 fi | 15022 fi |
15029 | 15023 |
15030 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15024 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15031 != "no no no" && echo "checking for database support" 1>&6 | 15025 != "no no no" && echo "checking for database support" 1>&6 |
15032 echo "configure:15033: checking for database support" >&5 | 15026 echo "configure:15027: checking for database support" >&5 |
15033 | 15027 |
15034 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15028 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15035 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15029 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15036 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15030 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15037 echo "configure:15038: checking for ndbm.h" >&5 | 15031 echo "configure:15032: checking for ndbm.h" >&5 |
15038 | 15032 |
15039 cat > conftest.$ac_ext <<EOF | 15033 cat > conftest.$ac_ext <<EOF |
15040 #line 15041 "configure" | 15034 #line 15035 "configure" |
15041 #include "confdefs.h" | 15035 #include "confdefs.h" |
15042 #include <ndbm.h> | 15036 #include <ndbm.h> |
15043 EOF | 15037 EOF |
15044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15045 { (eval echo configure:15046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15039 { (eval echo configure:15040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15047 if test -z "$ac_err"; then | 15041 if test -z "$ac_err"; then |
15048 rm -rf conftest* | 15042 rm -rf conftest* |
15049 eval "ac_cv_header_$ac_safe=yes" | 15043 eval "ac_cv_header_$ac_safe=yes" |
15050 else | 15044 else |
15070 fi | 15064 fi |
15071 | 15065 |
15072 if test "$with_database_gdbm" != "no"; then | 15066 if test "$with_database_gdbm" != "no"; then |
15073 | 15067 |
15074 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15068 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15075 echo "configure:15076: checking for dbm_open in -lgdbm" >&5 | 15069 echo "configure:15070: checking for dbm_open in -lgdbm" >&5 |
15076 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15070 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15077 | 15071 |
15078 xe_check_libs=" -lgdbm " | 15072 xe_check_libs=" -lgdbm " |
15079 cat > conftest.$ac_ext <<EOF | 15073 cat > conftest.$ac_ext <<EOF |
15080 #line 15081 "configure" | 15074 #line 15075 "configure" |
15081 #include "confdefs.h" | 15075 #include "confdefs.h" |
15082 /* Override any gcc2 internal prototype to avoid an error. */ | 15076 /* Override any gcc2 internal prototype to avoid an error. */ |
15083 /* We use char because int might match the return type of a gcc2 | 15077 /* We use char because int might match the return type of a gcc2 |
15084 builtin and then its argument prototype would still apply. */ | 15078 builtin and then its argument prototype would still apply. */ |
15085 char dbm_open(); | 15079 char dbm_open(); |
15086 | 15080 |
15087 int main() { | 15081 int main() { |
15088 dbm_open() | 15082 dbm_open() |
15089 ; return 0; } | 15083 ; return 0; } |
15090 EOF | 15084 EOF |
15091 if { (eval echo configure:15092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15092 rm -rf conftest* | 15086 rm -rf conftest* |
15093 eval "ac_cv_lib_$ac_lib_var=yes" | 15087 eval "ac_cv_lib_$ac_lib_var=yes" |
15094 else | 15088 else |
15095 echo "configure: failed program was:" >&5 | 15089 echo "configure: failed program was:" >&5 |
15096 cat conftest.$ac_ext >&5 | 15090 cat conftest.$ac_ext >&5 |
15114 | 15108 |
15115 fi | 15109 fi |
15116 | 15110 |
15117 if test "$with_database_dbm" != "no"; then | 15111 if test "$with_database_dbm" != "no"; then |
15118 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15112 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15119 echo "configure:15120: checking for dbm_open" >&5 | 15113 echo "configure:15114: checking for dbm_open" >&5 |
15120 | 15114 |
15121 cat > conftest.$ac_ext <<EOF | 15115 cat > conftest.$ac_ext <<EOF |
15122 #line 15123 "configure" | 15116 #line 15117 "configure" |
15123 #include "confdefs.h" | 15117 #include "confdefs.h" |
15124 /* System header to define __stub macros and hopefully few prototypes, | 15118 /* System header to define __stub macros and hopefully few prototypes, |
15125 which can conflict with char dbm_open(); below. */ | 15119 which can conflict with char dbm_open(); below. */ |
15126 #include <assert.h> | 15120 #include <assert.h> |
15127 /* Override any gcc2 internal prototype to avoid an error. */ | 15121 /* Override any gcc2 internal prototype to avoid an error. */ |
15140 dbm_open(); | 15134 dbm_open(); |
15141 #endif | 15135 #endif |
15142 | 15136 |
15143 ; return 0; } | 15137 ; return 0; } |
15144 EOF | 15138 EOF |
15145 if { (eval echo configure:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15146 rm -rf conftest* | 15140 rm -rf conftest* |
15147 eval "ac_cv_func_dbm_open=yes" | 15141 eval "ac_cv_func_dbm_open=yes" |
15148 else | 15142 else |
15149 echo "configure: failed program was:" >&5 | 15143 echo "configure: failed program was:" >&5 |
15150 cat conftest.$ac_ext >&5 | 15144 cat conftest.$ac_ext >&5 |
15159 else | 15153 else |
15160 echo "$ac_t""no" 1>&6 | 15154 echo "$ac_t""no" 1>&6 |
15161 | 15155 |
15162 | 15156 |
15163 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15157 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15164 echo "configure:15165: checking for dbm_open in -ldbm" >&5 | 15158 echo "configure:15159: checking for dbm_open in -ldbm" >&5 |
15165 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15159 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15166 | 15160 |
15167 xe_check_libs=" -ldbm " | 15161 xe_check_libs=" -ldbm " |
15168 cat > conftest.$ac_ext <<EOF | 15162 cat > conftest.$ac_ext <<EOF |
15169 #line 15170 "configure" | 15163 #line 15164 "configure" |
15170 #include "confdefs.h" | 15164 #include "confdefs.h" |
15171 /* Override any gcc2 internal prototype to avoid an error. */ | 15165 /* Override any gcc2 internal prototype to avoid an error. */ |
15172 /* We use char because int might match the return type of a gcc2 | 15166 /* We use char because int might match the return type of a gcc2 |
15173 builtin and then its argument prototype would still apply. */ | 15167 builtin and then its argument prototype would still apply. */ |
15174 char dbm_open(); | 15168 char dbm_open(); |
15175 | 15169 |
15176 int main() { | 15170 int main() { |
15177 dbm_open() | 15171 dbm_open() |
15178 ; return 0; } | 15172 ; return 0; } |
15179 EOF | 15173 EOF |
15180 if { (eval echo configure:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15174 if { (eval echo configure:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15181 rm -rf conftest* | 15175 rm -rf conftest* |
15182 eval "ac_cv_lib_$ac_lib_var=yes" | 15176 eval "ac_cv_lib_$ac_lib_var=yes" |
15183 else | 15177 else |
15184 echo "configure: failed program was:" >&5 | 15178 echo "configure: failed program was:" >&5 |
15185 cat conftest.$ac_ext >&5 | 15179 cat conftest.$ac_ext >&5 |
15216 } | 15210 } |
15217 | 15211 |
15218 | 15212 |
15219 if test "$with_database_berkdb" != "no"; then | 15213 if test "$with_database_berkdb" != "no"; then |
15220 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15214 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15221 echo "configure:15222: checking for Berkeley db.h" >&5 | 15215 echo "configure:15216: checking for Berkeley db.h" >&5 |
15222 for header in "db/db.h" "db.h"; do | 15216 for header in "db/db.h" "db.h"; do |
15223 cat > conftest.$ac_ext <<EOF | 15217 cat > conftest.$ac_ext <<EOF |
15224 #line 15225 "configure" | 15218 #line 15219 "configure" |
15225 #include "confdefs.h" | 15219 #include "confdefs.h" |
15226 | 15220 |
15227 #include <stdlib.h> | 15221 #include <stdlib.h> |
15228 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15222 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15229 #ifdef HAVE_INTTYPES_H | 15223 #ifdef HAVE_INTTYPES_H |
15241 | 15235 |
15242 int main() { | 15236 int main() { |
15243 | 15237 |
15244 ; return 0; } | 15238 ; return 0; } |
15245 EOF | 15239 EOF |
15246 if { (eval echo configure:15247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15240 if { (eval echo configure:15241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15247 rm -rf conftest* | 15241 rm -rf conftest* |
15248 db_h_file="$header"; break | 15242 db_h_file="$header"; break |
15249 else | 15243 else |
15250 echo "configure: failed program was:" >&5 | 15244 echo "configure: failed program was:" >&5 |
15251 cat conftest.$ac_ext >&5 | 15245 cat conftest.$ac_ext >&5 |
15257 else echo "$ac_t""$db_h_file" 1>&6 | 15251 else echo "$ac_t""$db_h_file" 1>&6 |
15258 fi | 15252 fi |
15259 | 15253 |
15260 if test "$with_database_berkdb" != "no"; then | 15254 if test "$with_database_berkdb" != "no"; then |
15261 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15255 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15262 echo "configure:15263: checking for Berkeley DB version" >&5 | 15256 echo "configure:15257: checking for Berkeley DB version" >&5 |
15263 cat > conftest.$ac_ext <<EOF | 15257 cat > conftest.$ac_ext <<EOF |
15264 #line 15265 "configure" | 15258 #line 15259 "configure" |
15265 #include "confdefs.h" | 15259 #include "confdefs.h" |
15266 #include <$db_h_file> | 15260 #include <$db_h_file> |
15267 #if DB_VERSION_MAJOR > 1 | 15261 #if DB_VERSION_MAJOR > 1 |
15268 yes | 15262 yes |
15269 #endif | 15263 #endif |
15271 EOF | 15265 EOF |
15272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15273 egrep "yes" >/dev/null 2>&1; then | 15267 egrep "yes" >/dev/null 2>&1; then |
15274 rm -rf conftest* | 15268 rm -rf conftest* |
15275 cat > conftest.$ac_ext <<EOF | 15269 cat > conftest.$ac_ext <<EOF |
15276 #line 15277 "configure" | 15270 #line 15271 "configure" |
15277 #include "confdefs.h" | 15271 #include "confdefs.h" |
15278 #include <$db_h_file> | 15272 #include <$db_h_file> |
15279 #if DB_VERSION_MAJOR > 2 | 15273 #if DB_VERSION_MAJOR > 2 |
15280 yes | 15274 yes |
15281 #endif | 15275 #endif |
15283 EOF | 15277 EOF |
15284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15285 egrep "yes" >/dev/null 2>&1; then | 15279 egrep "yes" >/dev/null 2>&1; then |
15286 rm -rf conftest* | 15280 rm -rf conftest* |
15287 cat > conftest.$ac_ext <<EOF | 15281 cat > conftest.$ac_ext <<EOF |
15288 #line 15289 "configure" | 15282 #line 15283 "configure" |
15289 #include "confdefs.h" | 15283 #include "confdefs.h" |
15290 #include <$db_h_file> | 15284 #include <$db_h_file> |
15291 #if DB_VERSION_MAJOR > 3 | 15285 #if DB_VERSION_MAJOR > 3 |
15292 yes | 15286 yes |
15293 #endif | 15287 #endif |
15317 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15311 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15318 fi | 15312 fi |
15319 rm -f conftest* | 15313 rm -f conftest* |
15320 | 15314 |
15321 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15315 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15322 echo "configure:15323: checking for $dbfunc" >&5 | 15316 echo "configure:15317: checking for $dbfunc" >&5 |
15323 | 15317 |
15324 cat > conftest.$ac_ext <<EOF | 15318 cat > conftest.$ac_ext <<EOF |
15325 #line 15326 "configure" | 15319 #line 15320 "configure" |
15326 #include "confdefs.h" | 15320 #include "confdefs.h" |
15327 /* System header to define __stub macros and hopefully few prototypes, | 15321 /* System header to define __stub macros and hopefully few prototypes, |
15328 which can conflict with char $dbfunc(); below. */ | 15322 which can conflict with char $dbfunc(); below. */ |
15329 #include <assert.h> | 15323 #include <assert.h> |
15330 /* Override any gcc2 internal prototype to avoid an error. */ | 15324 /* Override any gcc2 internal prototype to avoid an error. */ |
15343 $dbfunc(); | 15337 $dbfunc(); |
15344 #endif | 15338 #endif |
15345 | 15339 |
15346 ; return 0; } | 15340 ; return 0; } |
15347 EOF | 15341 EOF |
15348 if { (eval echo configure:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15349 rm -rf conftest* | 15343 rm -rf conftest* |
15350 eval "ac_cv_func_$dbfunc=yes" | 15344 eval "ac_cv_func_$dbfunc=yes" |
15351 else | 15345 else |
15352 echo "configure: failed program was:" >&5 | 15346 echo "configure: failed program was:" >&5 |
15353 cat conftest.$ac_ext >&5 | 15347 cat conftest.$ac_ext >&5 |
15362 else | 15356 else |
15363 echo "$ac_t""no" 1>&6 | 15357 echo "$ac_t""no" 1>&6 |
15364 | 15358 |
15365 | 15359 |
15366 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15360 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15367 echo "configure:15368: checking for $dbfunc in -ldb" >&5 | 15361 echo "configure:15362: checking for $dbfunc in -ldb" >&5 |
15368 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15362 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15369 | 15363 |
15370 xe_check_libs=" -ldb " | 15364 xe_check_libs=" -ldb " |
15371 cat > conftest.$ac_ext <<EOF | 15365 cat > conftest.$ac_ext <<EOF |
15372 #line 15373 "configure" | 15366 #line 15367 "configure" |
15373 #include "confdefs.h" | 15367 #include "confdefs.h" |
15374 /* Override any gcc2 internal prototype to avoid an error. */ | 15368 /* Override any gcc2 internal prototype to avoid an error. */ |
15375 /* We use char because int might match the return type of a gcc2 | 15369 /* We use char because int might match the return type of a gcc2 |
15376 builtin and then its argument prototype would still apply. */ | 15370 builtin and then its argument prototype would still apply. */ |
15377 char $dbfunc(); | 15371 char $dbfunc(); |
15378 | 15372 |
15379 int main() { | 15373 int main() { |
15380 $dbfunc() | 15374 $dbfunc() |
15381 ; return 0; } | 15375 ; return 0; } |
15382 EOF | 15376 EOF |
15383 if { (eval echo configure:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15377 if { (eval echo configure:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15384 rm -rf conftest* | 15378 rm -rf conftest* |
15385 eval "ac_cv_lib_$ac_lib_var=yes" | 15379 eval "ac_cv_lib_$ac_lib_var=yes" |
15386 else | 15380 else |
15387 echo "configure: failed program was:" >&5 | 15381 echo "configure: failed program was:" >&5 |
15388 cat conftest.$ac_ext >&5 | 15382 cat conftest.$ac_ext >&5 |
15412 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15406 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15413 rm -f $tempcname | 15407 rm -f $tempcname |
15414 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15408 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15415 | 15409 |
15416 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15410 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15417 echo "configure:15418: checking for $dbfunc in -ldb" >&5 | 15411 echo "configure:15412: checking for $dbfunc in -ldb" >&5 |
15418 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15412 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15419 | 15413 |
15420 xe_check_libs=" -ldb " | 15414 xe_check_libs=" -ldb " |
15421 cat > conftest.$ac_ext <<EOF | 15415 cat > conftest.$ac_ext <<EOF |
15422 #line 15423 "configure" | 15416 #line 15417 "configure" |
15423 #include "confdefs.h" | 15417 #include "confdefs.h" |
15424 /* Override any gcc2 internal prototype to avoid an error. */ | 15418 /* Override any gcc2 internal prototype to avoid an error. */ |
15425 /* We use char because int might match the return type of a gcc2 | 15419 /* We use char because int might match the return type of a gcc2 |
15426 builtin and then its argument prototype would still apply. */ | 15420 builtin and then its argument prototype would still apply. */ |
15427 char $dbfunc(); | 15421 char $dbfunc(); |
15428 | 15422 |
15429 int main() { | 15423 int main() { |
15430 $dbfunc() | 15424 $dbfunc() |
15431 ; return 0; } | 15425 ; return 0; } |
15432 EOF | 15426 EOF |
15433 if { (eval echo configure:15434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15434 rm -rf conftest* | 15428 rm -rf conftest* |
15435 eval "ac_cv_lib_$ac_lib_var=yes" | 15429 eval "ac_cv_lib_$ac_lib_var=yes" |
15436 else | 15430 else |
15437 echo "configure: failed program was:" >&5 | 15431 echo "configure: failed program was:" >&5 |
15438 cat conftest.$ac_ext >&5 | 15432 cat conftest.$ac_ext >&5 |
15487 fi | 15481 fi |
15488 | 15482 |
15489 if test "$with_socks" = "yes"; then | 15483 if test "$with_socks" = "yes"; then |
15490 | 15484 |
15491 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15485 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15492 echo "configure:15493: checking for SOCKSinit in -lsocks" >&5 | 15486 echo "configure:15487: checking for SOCKSinit in -lsocks" >&5 |
15493 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15487 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15494 | 15488 |
15495 xe_check_libs=" -lsocks " | 15489 xe_check_libs=" -lsocks " |
15496 cat > conftest.$ac_ext <<EOF | 15490 cat > conftest.$ac_ext <<EOF |
15497 #line 15498 "configure" | 15491 #line 15492 "configure" |
15498 #include "confdefs.h" | 15492 #include "confdefs.h" |
15499 /* Override any gcc2 internal prototype to avoid an error. */ | 15493 /* Override any gcc2 internal prototype to avoid an error. */ |
15500 /* We use char because int might match the return type of a gcc2 | 15494 /* We use char because int might match the return type of a gcc2 |
15501 builtin and then its argument prototype would still apply. */ | 15495 builtin and then its argument prototype would still apply. */ |
15502 char SOCKSinit(); | 15496 char SOCKSinit(); |
15503 | 15497 |
15504 int main() { | 15498 int main() { |
15505 SOCKSinit() | 15499 SOCKSinit() |
15506 ; return 0; } | 15500 ; return 0; } |
15507 EOF | 15501 EOF |
15508 if { (eval echo configure:15509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15502 if { (eval echo configure:15503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15509 rm -rf conftest* | 15503 rm -rf conftest* |
15510 eval "ac_cv_lib_$ac_lib_var=yes" | 15504 eval "ac_cv_lib_$ac_lib_var=yes" |
15511 else | 15505 else |
15512 echo "configure: failed program was:" >&5 | 15506 echo "configure: failed program was:" >&5 |
15513 cat conftest.$ac_ext >&5 | 15507 cat conftest.$ac_ext >&5 |
15559 fi | 15553 fi |
15560 | 15554 |
15561 if test "$use_number_lib" = "gmp"; then | 15555 if test "$use_number_lib" = "gmp"; then |
15562 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15556 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15563 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15557 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15564 echo "configure:15565: checking for gmp.h" >&5 | 15558 echo "configure:15559: checking for gmp.h" >&5 |
15565 | 15559 |
15566 cat > conftest.$ac_ext <<EOF | 15560 cat > conftest.$ac_ext <<EOF |
15567 #line 15568 "configure" | 15561 #line 15562 "configure" |
15568 #include "confdefs.h" | 15562 #include "confdefs.h" |
15569 #include <gmp.h> | 15563 #include <gmp.h> |
15570 EOF | 15564 EOF |
15571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15572 { (eval echo configure:15573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15566 { (eval echo configure:15567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15574 if test -z "$ac_err"; then | 15568 if test -z "$ac_err"; then |
15575 rm -rf conftest* | 15569 rm -rf conftest* |
15576 eval "ac_cv_header_$ac_safe=yes" | 15570 eval "ac_cv_header_$ac_safe=yes" |
15577 else | 15571 else |
15585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15586 echo "$ac_t""yes" 1>&6 | 15580 echo "$ac_t""yes" 1>&6 |
15587 | 15581 |
15588 | 15582 |
15589 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15583 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15590 echo "configure:15591: checking for __gmpz_init in -lgmp" >&5 | 15584 echo "configure:15585: checking for __gmpz_init in -lgmp" >&5 |
15591 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15585 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15592 | 15586 |
15593 xe_check_libs=" -lgmp " | 15587 xe_check_libs=" -lgmp " |
15594 cat > conftest.$ac_ext <<EOF | 15588 cat > conftest.$ac_ext <<EOF |
15595 #line 15596 "configure" | 15589 #line 15590 "configure" |
15596 #include "confdefs.h" | 15590 #include "confdefs.h" |
15597 /* Override any gcc2 internal prototype to avoid an error. */ | 15591 /* Override any gcc2 internal prototype to avoid an error. */ |
15598 /* We use char because int might match the return type of a gcc2 | 15592 /* We use char because int might match the return type of a gcc2 |
15599 builtin and then its argument prototype would still apply. */ | 15593 builtin and then its argument prototype would still apply. */ |
15600 char __gmpz_init(); | 15594 char __gmpz_init(); |
15601 | 15595 |
15602 int main() { | 15596 int main() { |
15603 __gmpz_init() | 15597 __gmpz_init() |
15604 ; return 0; } | 15598 ; return 0; } |
15605 EOF | 15599 EOF |
15606 if { (eval echo configure:15607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15600 if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15607 rm -rf conftest* | 15601 rm -rf conftest* |
15608 eval "ac_cv_lib_$ac_lib_var=yes" | 15602 eval "ac_cv_lib_$ac_lib_var=yes" |
15609 else | 15603 else |
15610 echo "configure: failed program was:" >&5 | 15604 echo "configure: failed program was:" >&5 |
15611 cat conftest.$ac_ext >&5 | 15605 cat conftest.$ac_ext >&5 |
15650 fi | 15644 fi |
15651 elif test "$use_number_lib" = "mp"; then | 15645 elif test "$use_number_lib" = "mp"; then |
15652 for library in "" "-lcrypto"; do | 15646 for library in "" "-lcrypto"; do |
15653 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15647 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15654 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15648 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15655 echo "configure:15656: checking for mp.h" >&5 | 15649 echo "configure:15650: checking for mp.h" >&5 |
15656 | 15650 |
15657 cat > conftest.$ac_ext <<EOF | 15651 cat > conftest.$ac_ext <<EOF |
15658 #line 15659 "configure" | 15652 #line 15653 "configure" |
15659 #include "confdefs.h" | 15653 #include "confdefs.h" |
15660 #include <mp.h> | 15654 #include <mp.h> |
15661 EOF | 15655 EOF |
15662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15663 { (eval echo configure:15664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15657 { (eval echo configure:15658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15665 if test -z "$ac_err"; then | 15659 if test -z "$ac_err"; then |
15666 rm -rf conftest* | 15660 rm -rf conftest* |
15667 eval "ac_cv_header_$ac_safe=yes" | 15661 eval "ac_cv_header_$ac_safe=yes" |
15668 else | 15662 else |
15678 | 15672 |
15679 | 15673 |
15680 xe_msg_checking="for mp_mfree in -lmp" | 15674 xe_msg_checking="for mp_mfree in -lmp" |
15681 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15675 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15682 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15676 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15683 echo "configure:15684: checking "$xe_msg_checking"" >&5 | 15677 echo "configure:15678: checking "$xe_msg_checking"" >&5 |
15684 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15678 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15685 | 15679 |
15686 xe_check_libs=" -lmp $library" | 15680 xe_check_libs=" -lmp $library" |
15687 cat > conftest.$ac_ext <<EOF | 15681 cat > conftest.$ac_ext <<EOF |
15688 #line 15689 "configure" | 15682 #line 15683 "configure" |
15689 #include "confdefs.h" | 15683 #include "confdefs.h" |
15690 /* Override any gcc2 internal prototype to avoid an error. */ | 15684 /* Override any gcc2 internal prototype to avoid an error. */ |
15691 /* We use char because int might match the return type of a gcc2 | 15685 /* We use char because int might match the return type of a gcc2 |
15692 builtin and then its argument prototype would still apply. */ | 15686 builtin and then its argument prototype would still apply. */ |
15693 char mp_mfree(); | 15687 char mp_mfree(); |
15694 | 15688 |
15695 int main() { | 15689 int main() { |
15696 mp_mfree() | 15690 mp_mfree() |
15697 ; return 0; } | 15691 ; return 0; } |
15698 EOF | 15692 EOF |
15699 if { (eval echo configure:15700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15693 if { (eval echo configure:15694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15700 rm -rf conftest* | 15694 rm -rf conftest* |
15701 eval "ac_cv_lib_$ac_lib_var=yes" | 15695 eval "ac_cv_lib_$ac_lib_var=yes" |
15702 else | 15696 else |
15703 echo "configure: failed program was:" >&5 | 15697 echo "configure: failed program was:" >&5 |
15704 cat conftest.$ac_ext >&5 | 15698 cat conftest.$ac_ext >&5 |
15708 rm -f conftest* | 15702 rm -f conftest* |
15709 xe_check_libs="" | 15703 xe_check_libs="" |
15710 | 15704 |
15711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 15705 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
15712 echo "$ac_t""yes" 1>&6 | 15706 echo "$ac_t""yes" 1>&6 |
15713 have_mp_mfree=yes break | 15707 have_mp_mfree=yes; break |
15714 else | 15708 else |
15715 echo "$ac_t""no" 1>&6 | 15709 echo "$ac_t""no" 1>&6 |
15716 | 15710 |
15717 xe_msg_checking="for mfree in -lmp" | 15711 xe_msg_checking="for mfree in -lmp" |
15718 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15712 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15719 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15720 echo "configure:15721: checking "$xe_msg_checking"" >&5 | 15714 echo "configure:15715: checking "$xe_msg_checking"" >&5 |
15721 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15715 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15722 | 15716 |
15723 xe_check_libs=" -lmp $library" | 15717 xe_check_libs=" -lmp $library" |
15724 cat > conftest.$ac_ext <<EOF | 15718 cat > conftest.$ac_ext <<EOF |
15725 #line 15726 "configure" | 15719 #line 15720 "configure" |
15726 #include "confdefs.h" | 15720 #include "confdefs.h" |
15727 /* Override any gcc2 internal prototype to avoid an error. */ | 15721 /* Override any gcc2 internal prototype to avoid an error. */ |
15728 /* We use char because int might match the return type of a gcc2 | 15722 /* We use char because int might match the return type of a gcc2 |
15729 builtin and then its argument prototype would still apply. */ | 15723 builtin and then its argument prototype would still apply. */ |
15730 char mfree(); | 15724 char mfree(); |
15731 | 15725 |
15732 int main() { | 15726 int main() { |
15733 mfree() | 15727 mfree() |
15734 ; return 0; } | 15728 ; return 0; } |
15735 EOF | 15729 EOF |
15736 if { (eval echo configure:15737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15737 rm -rf conftest* | 15731 rm -rf conftest* |
15738 eval "ac_cv_lib_$ac_lib_var=yes" | 15732 eval "ac_cv_lib_$ac_lib_var=yes" |
15739 else | 15733 else |
15740 echo "configure: failed program was:" >&5 | 15734 echo "configure: failed program was:" >&5 |
15741 cat conftest.$ac_ext >&5 | 15735 cat conftest.$ac_ext >&5 |
15745 rm -f conftest* | 15739 rm -f conftest* |
15746 xe_check_libs="" | 15740 xe_check_libs="" |
15747 | 15741 |
15748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 15742 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
15749 echo "$ac_t""yes" 1>&6 | 15743 echo "$ac_t""yes" 1>&6 |
15750 have_mfree=yes break | 15744 have_mfree=yes; break |
15751 else | 15745 else |
15752 echo "$ac_t""no" 1>&6 | 15746 echo "$ac_t""no" 1>&6 |
15753 fi | 15747 fi |
15754 | 15748 |
15755 | 15749 |
15769 #define MP_PREFIX 1 | 15763 #define MP_PREFIX 1 |
15770 EOF | 15764 EOF |
15771 } | 15765 } |
15772 | 15766 |
15773 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15767 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15768 if test "$library" != ""; then | |
15769 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | |
15770 fi | |
15774 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15771 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15775 echo "configure:15776: checking for mp_move" >&5 | 15772 echo "configure:15773: checking for mp_move" >&5 |
15776 | 15773 |
15777 cat > conftest.$ac_ext <<EOF | 15774 cat > conftest.$ac_ext <<EOF |
15778 #line 15779 "configure" | 15775 #line 15776 "configure" |
15779 #include "confdefs.h" | 15776 #include "confdefs.h" |
15780 /* System header to define __stub macros and hopefully few prototypes, | 15777 /* System header to define __stub macros and hopefully few prototypes, |
15781 which can conflict with char mp_move(); below. */ | 15778 which can conflict with char mp_move(); below. */ |
15782 #include <assert.h> | 15779 #include <assert.h> |
15783 /* Override any gcc2 internal prototype to avoid an error. */ | 15780 /* Override any gcc2 internal prototype to avoid an error. */ |
15796 mp_move(); | 15793 mp_move(); |
15797 #endif | 15794 #endif |
15798 | 15795 |
15799 ; return 0; } | 15796 ; return 0; } |
15800 EOF | 15797 EOF |
15801 if { (eval echo configure:15802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15798 if { (eval echo configure:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15802 rm -rf conftest* | 15799 rm -rf conftest* |
15803 eval "ac_cv_func_mp_move=yes" | 15800 eval "ac_cv_func_mp_move=yes" |
15804 else | 15801 else |
15805 echo "configure: failed program was:" >&5 | 15802 echo "configure: failed program was:" >&5 |
15806 cat conftest.$ac_ext >&5 | 15803 cat conftest.$ac_ext >&5 |
15823 echo "$ac_t""no" 1>&6 | 15820 echo "$ac_t""no" 1>&6 |
15824 fi | 15821 fi |
15825 | 15822 |
15826 elif test "$have_mfree" = "yes"; then | 15823 elif test "$have_mfree" = "yes"; then |
15827 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15824 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15825 if test "$library" != ""; then | |
15826 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | |
15827 fi | |
15828 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15828 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15829 echo "configure:15830: checking for move" >&5 | 15829 echo "configure:15830: checking for move" >&5 |
15830 | 15830 |
15831 cat > conftest.$ac_ext <<EOF | 15831 cat > conftest.$ac_ext <<EOF |
15832 #line 15833 "configure" | 15832 #line 15833 "configure" |
15878 fi | 15878 fi |
15879 | 15879 |
15880 else | 15880 else |
15881 { echo "Error:" "Required MP numeric support cannot be provided." >&2; exit 1; } | 15881 { echo "Error:" "Required MP numeric support cannot be provided." >&2; exit 1; } |
15882 fi | 15882 fi |
15883 if test "$library" != ""; then | |
15884 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | |
15885 fi | |
15886 { test "$extra_verbose" = "yes" && cat << \EOF | 15883 { test "$extra_verbose" = "yes" && cat << \EOF |
15887 Defining WITH_NUMBER_TYPES | 15884 Defining WITH_NUMBER_TYPES |
15888 EOF | 15885 EOF |
15889 cat >> confdefs.h <<\EOF | 15886 cat >> confdefs.h <<\EOF |
15890 #define WITH_NUMBER_TYPES 1 | 15887 #define WITH_NUMBER_TYPES 1 |
15900 } | 15897 } |
15901 | 15898 |
15902 fi | 15899 fi |
15903 | 15900 |
15904 cat > conftest.$ac_ext <<EOF | 15901 cat > conftest.$ac_ext <<EOF |
15905 #line 15906 "configure" | 15902 #line 15903 "configure" |
15906 #include "confdefs.h" | 15903 #include "confdefs.h" |
15907 int main(int c,char *v[]){return 0;} | 15904 int main(int c,char *v[]){return 0;} |
15908 EOF | 15905 EOF |
15909 if { (eval echo configure:15910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15906 if { (eval echo configure:15907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15910 then | 15907 then |
15911 : | 15908 : |
15912 else | 15909 else |
15913 conftest_rc="$?" | 15910 conftest_rc="$?" |
15914 echo "configure: failed program was:" >&5 | 15911 echo "configure: failed program was:" >&5 |