Mercurial > hg > xemacs-beta
comparison configure @ 2029:7a9919388e87
[xemacs-hg @ 2004-04-19 08:16:33 by stephent]
fill in for missing ChangeLog and configure commits
author | stephent |
---|---|
date | Mon, 19 Apr 2004 08:16:33 +0000 |
parents | 1388c8b3e663 |
children | 193e76abdf0f |
comparison
equal
deleted
inserted
replaced
2028:2ba4f06a264d | 2029:7a9919388e87 |
---|---|
2542 #define _XOPEN_SOURCE_EXTENDED 1 | 2542 #define _XOPEN_SOURCE_EXTENDED 1 |
2543 EOF | 2543 EOF |
2544 } | 2544 } |
2545 | 2545 |
2546 ;; | 2546 ;; |
2547 freebsd4.9) | 2547 freebsd4.5-9) |
2548 { test "$extra_verbose" = "yes" && cat << \EOF | 2548 { test "$extra_verbose" = "yes" && cat << \EOF |
2549 Defining _POSIX_C_SOURCE = 199506L | 2549 Defining _POSIX_C_SOURCE = 199506L |
2550 EOF | 2550 EOF |
2551 cat >> confdefs.h <<\EOF | 2551 cat >> confdefs.h <<\EOF |
2552 #define _POSIX_C_SOURCE 199506L | 2552 #define _POSIX_C_SOURCE 199506L |
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 int main() | 4782 #include <sys/types.h> |
4783 main() | |
4783 { | 4784 { |
4784 FILE *f=fopen("conftestval", "w"); | 4785 FILE *f=fopen("conftestval", "w"); |
4785 if (!f) return(1); | 4786 if (!f) exit(1); |
4786 fprintf(f, "%d\n", sizeof(short)); | 4787 fprintf(f, "%d\n", sizeof(short)); |
4787 return(0); | 4788 exit(0); |
4788 } | 4789 } |
4789 EOF | 4790 EOF |
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4791 then | 4792 then |
4792 ac_cv_sizeof_short=`cat conftestval` | 4793 ac_cv_sizeof_short=`cat conftestval` |
4793 else | 4794 else |
4794 conftest_rc="$?" | 4795 conftest_rc="$?" |
4795 echo "configure: failed program was:" >&5 | 4796 echo "configure: failed program was:" >&5 |
4813 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4814 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4814 echo "*** PANIC *** Please examine config.log for compilation errors." | 4815 echo "*** PANIC *** Please examine config.log for compilation errors." |
4815 exit 1 | 4816 exit 1 |
4816 fi | 4817 fi |
4817 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4818 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4818 echo "configure:4819: checking size of int" >&5 | 4819 echo "configure:4820: checking size of int" >&5 |
4819 | 4820 |
4820 cat > conftest.$ac_ext <<EOF | 4821 cat > conftest.$ac_ext <<EOF |
4821 #line 4822 "configure" | 4822 #line 4823 "configure" |
4822 #include "confdefs.h" | 4823 #include "confdefs.h" |
4823 #include <stdio.h> | 4824 #include <stdio.h> |
4824 int main() | 4825 #include <sys/types.h> |
4826 main() | |
4825 { | 4827 { |
4826 FILE *f=fopen("conftestval", "w"); | 4828 FILE *f=fopen("conftestval", "w"); |
4827 if (!f) return(1); | 4829 if (!f) exit(1); |
4828 fprintf(f, "%d\n", sizeof(int)); | 4830 fprintf(f, "%d\n", sizeof(int)); |
4829 return(0); | 4831 exit(0); |
4830 } | 4832 } |
4831 EOF | 4833 EOF |
4832 if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4833 then | 4835 then |
4834 ac_cv_sizeof_int=`cat conftestval` | 4836 ac_cv_sizeof_int=`cat conftestval` |
4835 else | 4837 else |
4836 conftest_rc="$?" | 4838 conftest_rc="$?" |
4837 echo "configure: failed program was:" >&5 | 4839 echo "configure: failed program was:" >&5 |
4849 EOF | 4851 EOF |
4850 } | 4852 } |
4851 | 4853 |
4852 | 4854 |
4853 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4854 echo "configure:4855: checking size of long" >&5 | 4856 echo "configure:4857: checking size of long" >&5 |
4855 | 4857 |
4856 cat > conftest.$ac_ext <<EOF | 4858 cat > conftest.$ac_ext <<EOF |
4857 #line 4858 "configure" | 4859 #line 4860 "configure" |
4858 #include "confdefs.h" | 4860 #include "confdefs.h" |
4859 #include <stdio.h> | 4861 #include <stdio.h> |
4860 int main() | 4862 #include <sys/types.h> |
4863 main() | |
4861 { | 4864 { |
4862 FILE *f=fopen("conftestval", "w"); | 4865 FILE *f=fopen("conftestval", "w"); |
4863 if (!f) return(1); | 4866 if (!f) exit(1); |
4864 fprintf(f, "%d\n", sizeof(long)); | 4867 fprintf(f, "%d\n", sizeof(long)); |
4865 return(0); | 4868 exit(0); |
4866 } | 4869 } |
4867 EOF | 4870 EOF |
4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4869 then | 4872 then |
4870 ac_cv_sizeof_long=`cat conftestval` | 4873 ac_cv_sizeof_long=`cat conftestval` |
4871 else | 4874 else |
4872 conftest_rc="$?" | 4875 conftest_rc="$?" |
4873 echo "configure: failed program was:" >&5 | 4876 echo "configure: failed program was:" >&5 |
4885 EOF | 4888 EOF |
4886 } | 4889 } |
4887 | 4890 |
4888 | 4891 |
4889 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4892 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4890 echo "configure:4891: checking size of long long" >&5 | 4893 echo "configure:4894: checking size of long long" >&5 |
4891 | 4894 |
4892 cat > conftest.$ac_ext <<EOF | 4895 cat > conftest.$ac_ext <<EOF |
4893 #line 4894 "configure" | 4896 #line 4897 "configure" |
4894 #include "confdefs.h" | 4897 #include "confdefs.h" |
4895 #include <stdio.h> | 4898 #include <stdio.h> |
4896 int main() | 4899 #include <sys/types.h> |
4900 main() | |
4897 { | 4901 { |
4898 FILE *f=fopen("conftestval", "w"); | 4902 FILE *f=fopen("conftestval", "w"); |
4899 if (!f) return(1); | 4903 if (!f) exit(1); |
4900 fprintf(f, "%d\n", sizeof(long long)); | 4904 fprintf(f, "%d\n", sizeof(long long)); |
4901 return(0); | 4905 exit(0); |
4902 } | 4906 } |
4903 EOF | 4907 EOF |
4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4905 then | 4909 then |
4906 ac_cv_sizeof_long_long=`cat conftestval` | 4910 ac_cv_sizeof_long_long=`cat conftestval` |
4907 else | 4911 else |
4908 conftest_rc="$?" | 4912 conftest_rc="$?" |
4909 echo "configure: failed program was:" >&5 | 4913 echo "configure: failed program was:" >&5 |
4921 EOF | 4925 EOF |
4922 } | 4926 } |
4923 | 4927 |
4924 | 4928 |
4925 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4929 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4926 echo "configure:4927: checking size of void *" >&5 | 4930 echo "configure:4931: checking size of void *" >&5 |
4927 | 4931 |
4928 cat > conftest.$ac_ext <<EOF | 4932 cat > conftest.$ac_ext <<EOF |
4929 #line 4930 "configure" | 4933 #line 4934 "configure" |
4930 #include "confdefs.h" | 4934 #include "confdefs.h" |
4931 #include <stdio.h> | 4935 #include <stdio.h> |
4932 int main() | 4936 #include <sys/types.h> |
4937 main() | |
4933 { | 4938 { |
4934 FILE *f=fopen("conftestval", "w"); | 4939 FILE *f=fopen("conftestval", "w"); |
4935 if (!f) return(1); | 4940 if (!f) exit(1); |
4936 fprintf(f, "%d\n", sizeof(void *)); | 4941 fprintf(f, "%d\n", sizeof(void *)); |
4937 return(0); | 4942 exit(0); |
4938 } | 4943 } |
4939 EOF | 4944 EOF |
4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4941 then | 4946 then |
4942 ac_cv_sizeof_void_p=`cat conftestval` | 4947 ac_cv_sizeof_void_p=`cat conftestval` |
4943 else | 4948 else |
4944 conftest_rc="$?" | 4949 conftest_rc="$?" |
4945 echo "configure: failed program was:" >&5 | 4950 echo "configure: failed program was:" >&5 |
4957 EOF | 4962 EOF |
4958 } | 4963 } |
4959 | 4964 |
4960 | 4965 |
4961 echo $ac_n "checking size of double""... $ac_c" 1>&6 | 4966 echo $ac_n "checking size of double""... $ac_c" 1>&6 |
4962 echo "configure:4963: checking size of double" >&5 | 4967 echo "configure:4968: checking size of double" >&5 |
4963 | 4968 |
4964 cat > conftest.$ac_ext <<EOF | 4969 cat > conftest.$ac_ext <<EOF |
4965 #line 4966 "configure" | 4970 #line 4971 "configure" |
4966 #include "confdefs.h" | 4971 #include "confdefs.h" |
4967 #include <stdio.h> | 4972 #include <stdio.h> |
4968 int main() | 4973 #include <sys/types.h> |
4974 main() | |
4969 { | 4975 { |
4970 FILE *f=fopen("conftestval", "w"); | 4976 FILE *f=fopen("conftestval", "w"); |
4971 if (!f) return(1); | 4977 if (!f) exit(1); |
4972 fprintf(f, "%d\n", sizeof(double)); | 4978 fprintf(f, "%d\n", sizeof(double)); |
4973 return(0); | 4979 exit(0); |
4974 } | 4980 } |
4975 EOF | 4981 EOF |
4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4977 then | 4983 then |
4978 ac_cv_sizeof_double=`cat conftestval` | 4984 ac_cv_sizeof_double=`cat conftestval` |
4979 else | 4985 else |
4980 conftest_rc="$?" | 4986 conftest_rc="$?" |
4981 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
4994 } | 5000 } |
4995 | 5001 |
4996 | 5002 |
4997 | 5003 |
4998 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 5004 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4999 echo "configure:5000: checking for long file names" >&5 | 5005 echo "configure:5006: checking for long file names" >&5 |
5000 | 5006 |
5001 ac_cv_sys_long_file_names=yes | 5007 ac_cv_sys_long_file_names=yes |
5002 # Test for long file names in all the places we know might matter: | 5008 # Test for long file names in all the places we know might matter: |
5003 # . the current directory, where building will happen | 5009 # . the current directory, where building will happen |
5004 # $prefix/lib where we will be installing things | 5010 # $prefix/lib where we will be installing things |
5040 | 5046 |
5041 fi | 5047 fi |
5042 | 5048 |
5043 | 5049 |
5044 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
5045 echo "configure:5046: checking for sin" >&5 | 5051 echo "configure:5052: checking for sin" >&5 |
5046 | 5052 |
5047 cat > conftest.$ac_ext <<EOF | 5053 cat > conftest.$ac_ext <<EOF |
5048 #line 5049 "configure" | 5054 #line 5055 "configure" |
5049 #include "confdefs.h" | 5055 #include "confdefs.h" |
5050 /* System header to define __stub macros and hopefully few prototypes, | 5056 /* System header to define __stub macros and hopefully few prototypes, |
5051 which can conflict with char sin(); below. */ | 5057 which can conflict with char sin(); below. */ |
5052 #include <assert.h> | 5058 #include <assert.h> |
5053 /* Override any gcc2 internal prototype to avoid an error. */ | 5059 /* Override any gcc2 internal prototype to avoid an error. */ |
5066 sin(); | 5072 sin(); |
5067 #endif | 5073 #endif |
5068 | 5074 |
5069 ; return 0; } | 5075 ; return 0; } |
5070 EOF | 5076 EOF |
5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5072 rm -rf conftest* | 5078 rm -rf conftest* |
5073 eval "ac_cv_func_sin=yes" | 5079 eval "ac_cv_func_sin=yes" |
5074 else | 5080 else |
5075 echo "configure: failed program was:" >&5 | 5081 echo "configure: failed program was:" >&5 |
5076 cat conftest.$ac_ext >&5 | 5082 cat conftest.$ac_ext >&5 |
5084 : | 5090 : |
5085 else | 5091 else |
5086 echo "$ac_t""no" 1>&6 | 5092 echo "$ac_t""no" 1>&6 |
5087 | 5093 |
5088 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5094 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5089 echo "configure:5090: checking for sin in -lm" >&5 | 5095 echo "configure:5096: checking for sin in -lm" >&5 |
5090 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5096 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5091 | 5097 |
5092 xe_check_libs=" -lm " | 5098 xe_check_libs=" -lm " |
5093 cat > conftest.$ac_ext <<EOF | 5099 cat > conftest.$ac_ext <<EOF |
5094 #line 5095 "configure" | 5100 #line 5101 "configure" |
5095 #include "confdefs.h" | 5101 #include "confdefs.h" |
5096 /* Override any gcc2 internal prototype to avoid an error. */ | 5102 /* Override any gcc2 internal prototype to avoid an error. */ |
5097 /* We use char because int might match the return type of a gcc2 | 5103 /* We use char because int might match the return type of a gcc2 |
5098 builtin and then its argument prototype would still apply. */ | 5104 builtin and then its argument prototype would still apply. */ |
5099 char sin(); | 5105 char sin(); |
5100 | 5106 |
5101 int main() { | 5107 int main() { |
5102 sin() | 5108 sin() |
5103 ; return 0; } | 5109 ; return 0; } |
5104 EOF | 5110 EOF |
5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5106 rm -rf conftest* | 5112 rm -rf conftest* |
5107 eval "ac_cv_lib_$ac_lib_var=yes" | 5113 eval "ac_cv_lib_$ac_lib_var=yes" |
5108 else | 5114 else |
5109 echo "configure: failed program was:" >&5 | 5115 echo "configure: failed program was:" >&5 |
5110 cat conftest.$ac_ext >&5 | 5116 cat conftest.$ac_ext >&5 |
5135 | 5141 |
5136 fi | 5142 fi |
5137 | 5143 |
5138 | 5144 |
5139 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
5140 #line 5141 "configure" | 5146 #line 5147 "configure" |
5141 #include "confdefs.h" | 5147 #include "confdefs.h" |
5142 #include <math.h> | 5148 #include <math.h> |
5143 int main() { | 5149 int main() { |
5144 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5150 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5145 ; return 0; } | 5151 ; return 0; } |
5146 EOF | 5152 EOF |
5147 if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5148 rm -rf conftest* | 5154 rm -rf conftest* |
5149 { test "$extra_verbose" = "yes" && cat << \EOF | 5155 { test "$extra_verbose" = "yes" && cat << \EOF |
5150 Defining HAVE_INVERSE_HYPERBOLIC | 5156 Defining HAVE_INVERSE_HYPERBOLIC |
5151 EOF | 5157 EOF |
5152 cat >> confdefs.h <<\EOF | 5158 cat >> confdefs.h <<\EOF |
5161 rm -f conftest* | 5167 rm -f conftest* |
5162 | 5168 |
5163 for ac_func in mkstemp | 5169 for ac_func in mkstemp |
5164 do | 5170 do |
5165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5166 echo "configure:5167: checking for $ac_func" >&5 | 5172 echo "configure:5173: checking for $ac_func" >&5 |
5167 | 5173 |
5168 cat > conftest.$ac_ext <<EOF | 5174 cat > conftest.$ac_ext <<EOF |
5169 #line 5170 "configure" | 5175 #line 5176 "configure" |
5170 #include "confdefs.h" | 5176 #include "confdefs.h" |
5171 /* System header to define __stub macros and hopefully few prototypes, | 5177 /* System header to define __stub macros and hopefully few prototypes, |
5172 which can conflict with char $ac_func(); below. */ | 5178 which can conflict with char $ac_func(); below. */ |
5173 #include <assert.h> | 5179 #include <assert.h> |
5174 /* Override any gcc2 internal prototype to avoid an error. */ | 5180 /* Override any gcc2 internal prototype to avoid an error. */ |
5187 $ac_func(); | 5193 $ac_func(); |
5188 #endif | 5194 #endif |
5189 | 5195 |
5190 ; return 0; } | 5196 ; return 0; } |
5191 EOF | 5197 EOF |
5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5193 rm -rf conftest* | 5199 rm -rf conftest* |
5194 eval "ac_cv_func_$ac_func=yes" | 5200 eval "ac_cv_func_$ac_func=yes" |
5195 else | 5201 else |
5196 echo "configure: failed program was:" >&5 | 5202 echo "configure: failed program was:" >&5 |
5197 cat conftest.$ac_ext >&5 | 5203 cat conftest.$ac_ext >&5 |
5216 fi | 5222 fi |
5217 done | 5223 done |
5218 | 5224 |
5219 | 5225 |
5220 echo "checking type of mail spool file locking" 1>&6 | 5226 echo "checking type of mail spool file locking" 1>&6 |
5221 echo "configure:5222: checking type of mail spool file locking" >&5 | 5227 echo "configure:5228: checking type of mail spool file locking" >&5 |
5222 for ac_func in lockf flock | 5228 for ac_func in lockf flock |
5223 do | 5229 do |
5224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5225 echo "configure:5226: checking for $ac_func" >&5 | 5231 echo "configure:5232: checking for $ac_func" >&5 |
5226 | 5232 |
5227 cat > conftest.$ac_ext <<EOF | 5233 cat > conftest.$ac_ext <<EOF |
5228 #line 5229 "configure" | 5234 #line 5235 "configure" |
5229 #include "confdefs.h" | 5235 #include "confdefs.h" |
5230 /* System header to define __stub macros and hopefully few prototypes, | 5236 /* System header to define __stub macros and hopefully few prototypes, |
5231 which can conflict with char $ac_func(); below. */ | 5237 which can conflict with char $ac_func(); below. */ |
5232 #include <assert.h> | 5238 #include <assert.h> |
5233 /* Override any gcc2 internal prototype to avoid an error. */ | 5239 /* Override any gcc2 internal prototype to avoid an error. */ |
5246 $ac_func(); | 5252 $ac_func(); |
5247 #endif | 5253 #endif |
5248 | 5254 |
5249 ; return 0; } | 5255 ; return 0; } |
5250 EOF | 5256 EOF |
5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5257 if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5252 rm -rf conftest* | 5258 rm -rf conftest* |
5253 eval "ac_cv_func_$ac_func=yes" | 5259 eval "ac_cv_func_$ac_func=yes" |
5254 else | 5260 else |
5255 echo "configure: failed program was:" >&5 | 5261 echo "configure: failed program was:" >&5 |
5256 cat conftest.$ac_ext >&5 | 5262 cat conftest.$ac_ext >&5 |
5328 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5334 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5329 | 5335 |
5330 case "$opsys" in decosf*) | 5336 case "$opsys" in decosf*) |
5331 | 5337 |
5332 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5338 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5333 echo "configure:5334: checking for cma_open in -lpthreads" >&5 | 5339 echo "configure:5340: checking for cma_open in -lpthreads" >&5 |
5334 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5340 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5335 | 5341 |
5336 xe_check_libs=" -lpthreads " | 5342 xe_check_libs=" -lpthreads " |
5337 cat > conftest.$ac_ext <<EOF | 5343 cat > conftest.$ac_ext <<EOF |
5338 #line 5339 "configure" | 5344 #line 5345 "configure" |
5339 #include "confdefs.h" | 5345 #include "confdefs.h" |
5340 /* Override any gcc2 internal prototype to avoid an error. */ | 5346 /* Override any gcc2 internal prototype to avoid an error. */ |
5341 /* We use char because int might match the return type of a gcc2 | 5347 /* We use char because int might match the return type of a gcc2 |
5342 builtin and then its argument prototype would still apply. */ | 5348 builtin and then its argument prototype would still apply. */ |
5343 char cma_open(); | 5349 char cma_open(); |
5344 | 5350 |
5345 int main() { | 5351 int main() { |
5346 cma_open() | 5352 cma_open() |
5347 ; return 0; } | 5353 ; return 0; } |
5348 EOF | 5354 EOF |
5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5350 rm -rf conftest* | 5356 rm -rf conftest* |
5351 eval "ac_cv_lib_$ac_lib_var=yes" | 5357 eval "ac_cv_lib_$ac_lib_var=yes" |
5352 else | 5358 else |
5353 echo "configure: failed program was:" >&5 | 5359 echo "configure: failed program was:" >&5 |
5354 cat conftest.$ac_ext >&5 | 5360 cat conftest.$ac_ext >&5 |
5381 c_switch_site="$c_switch_site -threads" ;; | 5387 c_switch_site="$c_switch_site -threads" ;; |
5382 esac | 5388 esac |
5383 | 5389 |
5384 | 5390 |
5385 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5391 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5386 echo "configure:5387: checking whether the -xildoff compiler flag is required" >&5 | 5392 echo "configure:5393: checking whether the -xildoff compiler flag is required" >&5 |
5387 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5393 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5388 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5394 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5389 then echo "$ac_t""no" 1>&6; | 5395 then echo "$ac_t""no" 1>&6; |
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 | 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 |
5391 fi | 5397 fi |
5393 fi | 5399 fi |
5394 | 5400 |
5395 if test "$opsys" = "sol2"; then | 5401 if test "$opsys" = "sol2"; then |
5396 if test "$os_release" -ge 506; then | 5402 if test "$os_release" -ge 506; then |
5397 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5403 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5398 echo "configure:5399: checking for \"-z ignore\" linker flag" >&5 | 5404 echo "configure:5405: checking for \"-z ignore\" linker flag" >&5 |
5399 case "`ld -h 2>&1`" in | 5405 case "`ld -h 2>&1`" in |
5400 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5406 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5401 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5407 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5402 *) echo "$ac_t""no" 1>&6 ;; | 5408 *) echo "$ac_t""no" 1>&6 ;; |
5403 esac | 5409 esac |
5404 fi | 5410 fi |
5405 fi | 5411 fi |
5406 | 5412 |
5407 | 5413 |
5408 echo "checking "for specified window system"" 1>&6 | 5414 echo "checking "for specified window system"" 1>&6 |
5409 echo "configure:5410: checking "for specified window system"" >&5 | 5415 echo "configure:5416: checking "for specified window system"" >&5 |
5410 | 5416 |
5411 | 5417 |
5412 GNOME_CONFIG=no | 5418 GNOME_CONFIG=no |
5413 GTK_CONFIG=no | 5419 GTK_CONFIG=no |
5414 | 5420 |
5415 if test "$with_gnome" != "no"; then | 5421 if test "$with_gnome" != "no"; then |
5416 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5422 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5417 echo "configure:5418: checking for GNOME configuration script" >&5 | 5423 echo "configure:5424: checking for GNOME configuration script" >&5 |
5418 for possible in gnome-config | 5424 for possible in gnome-config |
5419 do | 5425 do |
5420 possible_version=`${possible} --version 2> /dev/null` | 5426 possible_version=`${possible} --version 2> /dev/null` |
5421 if test "x${possible_version}" != "x"; then | 5427 if test "x${possible_version}" != "x"; then |
5422 GNOME_CONFIG="${possible}" | 5428 GNOME_CONFIG="${possible}" |
5443 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5449 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5444 fi | 5450 fi |
5445 | 5451 |
5446 if test "$with_gtk" != "no";then | 5452 if test "$with_gtk" != "no";then |
5447 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5453 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5448 echo "configure:5449: checking for GTK configuration script" >&5 | 5454 echo "configure:5455: checking for GTK configuration script" >&5 |
5449 for possible in gtk12-config gtk14-config gtk-config | 5455 for possible in gtk12-config gtk14-config gtk-config |
5450 do | 5456 do |
5451 possible_version=`${possible} --version 2> /dev/null` | 5457 possible_version=`${possible} --version 2> /dev/null` |
5452 if test "x${possible_version}" != "x"; then | 5458 if test "x${possible_version}" != "x"; then |
5453 GTK_CONFIG="${possible}" | 5459 GTK_CONFIG="${possible}" |
5465 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5471 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5466 fi | 5472 fi |
5467 | 5473 |
5468 if test "${GTK_CONFIG}" != "no"; then | 5474 if test "${GTK_CONFIG}" != "no"; then |
5469 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5475 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5470 echo "configure:5471: checking gtk version" >&5 | 5476 echo "configure:5477: checking gtk version" >&5 |
5471 GTK_VERSION=`${GTK_CONFIG} --version` | 5477 GTK_VERSION=`${GTK_CONFIG} --version` |
5472 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5478 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5473 | 5479 |
5474 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5480 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5475 echo "configure:5476: checking gtk libs" >&5 | 5481 echo "configure:5482: checking gtk libs" >&5 |
5476 GTK_LIBS=`${GTK_CONFIG} --libs` | 5482 GTK_LIBS=`${GTK_CONFIG} --libs` |
5477 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5483 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5478 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5484 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5479 | 5485 |
5480 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5486 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5481 echo "configure:5482: checking gtk cflags" >&5 | 5487 echo "configure:5488: checking gtk cflags" >&5 |
5482 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5488 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5483 if test "$GCC" = "yes"; then | 5489 if test "$GCC" = "yes"; then |
5484 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5490 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5485 fi | 5491 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 | 5492 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5487 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5493 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5488 | 5494 |
5489 | 5495 |
5490 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5496 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5491 echo "configure:5492: checking for main in -lgdk_imlib" >&5 | 5497 echo "configure:5498: checking for main in -lgdk_imlib" >&5 |
5492 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5498 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5493 | 5499 |
5494 xe_check_libs=" -lgdk_imlib " | 5500 xe_check_libs=" -lgdk_imlib " |
5495 cat > conftest.$ac_ext <<EOF | 5501 cat > conftest.$ac_ext <<EOF |
5496 #line 5497 "configure" | 5502 #line 5503 "configure" |
5497 #include "confdefs.h" | 5503 #include "confdefs.h" |
5498 | 5504 |
5499 int main() { | 5505 int main() { |
5500 main() | 5506 main() |
5501 ; return 0; } | 5507 ; return 0; } |
5502 EOF | 5508 EOF |
5503 if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5504 rm -rf conftest* | 5510 rm -rf conftest* |
5505 eval "ac_cv_lib_$ac_lib_var=yes" | 5511 eval "ac_cv_lib_$ac_lib_var=yes" |
5506 else | 5512 else |
5507 echo "configure: failed program was:" >&5 | 5513 echo "configure: failed program was:" >&5 |
5508 cat conftest.$ac_ext >&5 | 5514 cat conftest.$ac_ext >&5 |
5520 fi | 5526 fi |
5521 | 5527 |
5522 | 5528 |
5523 | 5529 |
5524 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5530 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5525 echo "configure:5526: checking for Imlib_init in -lImlib" >&5 | 5531 echo "configure:5532: checking for Imlib_init in -lImlib" >&5 |
5526 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5532 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5527 | 5533 |
5528 xe_check_libs=" -lImlib " | 5534 xe_check_libs=" -lImlib " |
5529 cat > conftest.$ac_ext <<EOF | 5535 cat > conftest.$ac_ext <<EOF |
5530 #line 5531 "configure" | 5536 #line 5537 "configure" |
5531 #include "confdefs.h" | 5537 #include "confdefs.h" |
5532 /* Override any gcc2 internal prototype to avoid an error. */ | 5538 /* Override any gcc2 internal prototype to avoid an error. */ |
5533 /* We use char because int might match the return type of a gcc2 | 5539 /* We use char because int might match the return type of a gcc2 |
5534 builtin and then its argument prototype would still apply. */ | 5540 builtin and then its argument prototype would still apply. */ |
5535 char Imlib_init(); | 5541 char Imlib_init(); |
5536 | 5542 |
5537 int main() { | 5543 int main() { |
5538 Imlib_init() | 5544 Imlib_init() |
5539 ; return 0; } | 5545 ; return 0; } |
5540 EOF | 5546 EOF |
5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5542 rm -rf conftest* | 5548 rm -rf conftest* |
5543 eval "ac_cv_lib_$ac_lib_var=yes" | 5549 eval "ac_cv_lib_$ac_lib_var=yes" |
5544 else | 5550 else |
5545 echo "configure: failed program was:" >&5 | 5551 echo "configure: failed program was:" >&5 |
5546 cat conftest.$ac_ext >&5 | 5552 cat conftest.$ac_ext >&5 |
5559 | 5565 |
5560 | 5566 |
5561 for ac_func in gdk_imlib_init | 5567 for ac_func in gdk_imlib_init |
5562 do | 5568 do |
5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5564 echo "configure:5565: checking for $ac_func" >&5 | 5570 echo "configure:5571: checking for $ac_func" >&5 |
5565 | 5571 |
5566 cat > conftest.$ac_ext <<EOF | 5572 cat > conftest.$ac_ext <<EOF |
5567 #line 5568 "configure" | 5573 #line 5574 "configure" |
5568 #include "confdefs.h" | 5574 #include "confdefs.h" |
5569 /* System header to define __stub macros and hopefully few prototypes, | 5575 /* System header to define __stub macros and hopefully few prototypes, |
5570 which can conflict with char $ac_func(); below. */ | 5576 which can conflict with char $ac_func(); below. */ |
5571 #include <assert.h> | 5577 #include <assert.h> |
5572 /* Override any gcc2 internal prototype to avoid an error. */ | 5578 /* Override any gcc2 internal prototype to avoid an error. */ |
5585 $ac_func(); | 5591 $ac_func(); |
5586 #endif | 5592 #endif |
5587 | 5593 |
5588 ; return 0; } | 5594 ; return 0; } |
5589 EOF | 5595 EOF |
5590 if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5591 rm -rf conftest* | 5597 rm -rf conftest* |
5592 eval "ac_cv_func_$ac_func=yes" | 5598 eval "ac_cv_func_$ac_func=yes" |
5593 else | 5599 else |
5594 echo "configure: failed program was:" >&5 | 5600 echo "configure: failed program was:" >&5 |
5595 cat conftest.$ac_ext >&5 | 5601 cat conftest.$ac_ext >&5 |
5633 | 5639 |
5634 | 5640 |
5635 | 5641 |
5636 window_system=gtk | 5642 window_system=gtk |
5637 with_gtk=yes | 5643 with_gtk=yes |
5638 with_x11=no | 5644 if test "$with_x11" != "no"; then |
5645 echo "configure: warning: Configuring GTK, forcing with_x11 to no" 1>&2 | |
5646 with_x11=no | |
5647 fi | |
5648 | |
5649 for feature in scrollbars toolbars menubars dialogs widgets | |
5650 do | |
5651 eval "feature_value=\${with_${feature}}" | |
5652 case "${feature_value}" in | |
5653 yes|no|gtk|"" ) | |
5654 ;; | |
5655 * ) | |
5656 echo "configure: warning: ${feature_value} requested for ${feature}, forcing to gtk" 1>&2 ;; | |
5657 esac | |
5658 done | |
5639 | 5659 |
5640 test "${with_scrollbars}" != "no" && with_scrollbars=gtk | 5660 test "${with_scrollbars}" != "no" && with_scrollbars=gtk |
5641 test "${with_toolbars}" != no && with_toolbars=gtk | 5661 test "${with_toolbars}" != "no" && with_toolbars=gtk |
5642 test "${with_menubars}" != "no" && with_menubars=gtk | 5662 test "${with_menubars}" != "no" && with_menubars=gtk |
5643 test "${with_dialogs}" != "no" && with_dialogs=gtk | 5663 test "${with_dialogs}" != "no" && with_dialogs=gtk |
5644 test "${with_widgets}" != "no" && with_widgets=gtk | 5664 test "${with_widgets}" != "no" && with_widgets=gtk |
5645 | 5665 |
5646 OLD_CFLAGS="${CFLAGS}" | 5666 OLD_CFLAGS="${CFLAGS}" |
5651 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5652 for ac_hdr in glade/glade.h glade.h | 5672 for ac_hdr in glade/glade.h glade.h |
5653 do | 5673 do |
5654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5656 echo "configure:5657: checking for $ac_hdr" >&5 | 5676 echo "configure:5677: checking for $ac_hdr" >&5 |
5657 | 5677 |
5658 cat > conftest.$ac_ext <<EOF | 5678 cat > conftest.$ac_ext <<EOF |
5659 #line 5660 "configure" | 5679 #line 5680 "configure" |
5660 #include "confdefs.h" | 5680 #include "confdefs.h" |
5661 #include <$ac_hdr> | 5681 #include <$ac_hdr> |
5662 EOF | 5682 EOF |
5663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5664 { (eval echo configure:5665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5666 if test -z "$ac_err"; then | 5686 if test -z "$ac_err"; then |
5667 rm -rf conftest* | 5687 rm -rf conftest* |
5668 eval "ac_cv_header_$ac_safe=yes" | 5688 eval "ac_cv_header_$ac_safe=yes" |
5669 else | 5689 else |
5690 fi | 5710 fi |
5691 done | 5711 done |
5692 | 5712 |
5693 | 5713 |
5694 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5714 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5695 echo "configure:5696: checking for main in -lxml" >&5 | 5715 echo "configure:5716: checking for main in -lxml" >&5 |
5696 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5697 | 5717 |
5698 xe_check_libs=" -lxml " | 5718 xe_check_libs=" -lxml " |
5699 cat > conftest.$ac_ext <<EOF | 5719 cat > conftest.$ac_ext <<EOF |
5700 #line 5701 "configure" | 5720 #line 5721 "configure" |
5701 #include "confdefs.h" | 5721 #include "confdefs.h" |
5702 | 5722 |
5703 int main() { | 5723 int main() { |
5704 main() | 5724 main() |
5705 ; return 0; } | 5725 ; return 0; } |
5706 EOF | 5726 EOF |
5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5708 rm -rf conftest* | 5728 rm -rf conftest* |
5709 eval "ac_cv_lib_$ac_lib_var=yes" | 5729 eval "ac_cv_lib_$ac_lib_var=yes" |
5710 else | 5730 else |
5711 echo "configure: failed program was:" >&5 | 5731 echo "configure: failed program was:" >&5 |
5712 cat conftest.$ac_ext >&5 | 5732 cat conftest.$ac_ext >&5 |
5724 fi | 5744 fi |
5725 | 5745 |
5726 | 5746 |
5727 | 5747 |
5728 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5748 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5729 echo "configure:5730: checking for main in -lglade" >&5 | 5749 echo "configure:5750: checking for main in -lglade" >&5 |
5730 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5731 | 5751 |
5732 xe_check_libs=" -lglade " | 5752 xe_check_libs=" -lglade " |
5733 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
5734 #line 5735 "configure" | 5754 #line 5755 "configure" |
5735 #include "confdefs.h" | 5755 #include "confdefs.h" |
5736 | 5756 |
5737 int main() { | 5757 int main() { |
5738 main() | 5758 main() |
5739 ; return 0; } | 5759 ; return 0; } |
5740 EOF | 5760 EOF |
5741 if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5742 rm -rf conftest* | 5762 rm -rf conftest* |
5743 eval "ac_cv_lib_$ac_lib_var=yes" | 5763 eval "ac_cv_lib_$ac_lib_var=yes" |
5744 else | 5764 else |
5745 echo "configure: failed program was:" >&5 | 5765 echo "configure: failed program was:" >&5 |
5746 cat conftest.$ac_ext >&5 | 5766 cat conftest.$ac_ext >&5 |
5758 fi | 5778 fi |
5759 | 5779 |
5760 | 5780 |
5761 | 5781 |
5762 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5782 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5763 echo "configure:5764: checking for main in -lglade-gnome" >&5 | 5783 echo "configure:5784: checking for main in -lglade-gnome" >&5 |
5764 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5765 | 5785 |
5766 xe_check_libs=" -lglade-gnome " | 5786 xe_check_libs=" -lglade-gnome " |
5767 cat > conftest.$ac_ext <<EOF | 5787 cat > conftest.$ac_ext <<EOF |
5768 #line 5769 "configure" | 5788 #line 5789 "configure" |
5769 #include "confdefs.h" | 5789 #include "confdefs.h" |
5770 | 5790 |
5771 int main() { | 5791 int main() { |
5772 main() | 5792 main() |
5773 ; return 0; } | 5793 ; return 0; } |
5774 EOF | 5794 EOF |
5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5776 rm -rf conftest* | 5796 rm -rf conftest* |
5777 eval "ac_cv_lib_$ac_lib_var=yes" | 5797 eval "ac_cv_lib_$ac_lib_var=yes" |
5778 else | 5798 else |
5779 echo "configure: failed program was:" >&5 | 5799 echo "configure: failed program was:" >&5 |
5780 cat conftest.$ac_ext >&5 | 5800 cat conftest.$ac_ext >&5 |
5791 echo "$ac_t""no" 1>&6 | 5811 echo "$ac_t""no" 1>&6 |
5792 fi | 5812 fi |
5793 | 5813 |
5794 | 5814 |
5795 cat > conftest.$ac_ext <<EOF | 5815 cat > conftest.$ac_ext <<EOF |
5796 #line 5797 "configure" | 5816 #line 5817 "configure" |
5797 #include "confdefs.h" | 5817 #include "confdefs.h" |
5798 #include <glade/glade-xml.h> | 5818 #include <glade/glade-xml.h> |
5799 EOF | 5819 EOF |
5800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5801 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5850 # If we find X, set shell vars x_includes and x_libraries to the | 5870 # If we find X, set shell vars x_includes and x_libraries to the |
5851 # paths, otherwise set no_x=yes. | 5871 # paths, otherwise set no_x=yes. |
5852 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5872 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5853 # --without-x overrides everything else, but does not touch the cache. | 5873 # --without-x overrides everything else, but does not touch the cache. |
5854 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5874 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5855 echo "configure:5856: checking for X" >&5 | 5875 echo "configure:5876: checking for X" >&5 |
5856 | 5876 |
5857 # Check whether --with-x or --without-x was given. | 5877 # Check whether --with-x or --without-x was given. |
5858 if test "${with_x+set}" = set; then | 5878 if test "${with_x+set}" = set; then |
5859 withval="$with_x" | 5879 withval="$with_x" |
5860 : | 5880 : |
5910 # Guess where to find include files, by looking for this one X11 .h file. | 5930 # Guess where to find include files, by looking for this one X11 .h file. |
5911 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5931 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5912 | 5932 |
5913 # First, try using that file with no special directory specified. | 5933 # First, try using that file with no special directory specified. |
5914 cat > conftest.$ac_ext <<EOF | 5934 cat > conftest.$ac_ext <<EOF |
5915 #line 5916 "configure" | 5935 #line 5936 "configure" |
5916 #include "confdefs.h" | 5936 #include "confdefs.h" |
5917 #include <$x_direct_test_include> | 5937 #include <$x_direct_test_include> |
5918 EOF | 5938 EOF |
5919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5920 { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5922 if test -z "$ac_err"; then | 5942 if test -z "$ac_err"; then |
5923 rm -rf conftest* | 5943 rm -rf conftest* |
5924 # We can compile using X headers with no special include directory. | 5944 # We can compile using X headers with no special include directory. |
5925 ac_x_includes= | 5945 ac_x_includes= |
5984 # See if we find them without any special options. | 6004 # See if we find them without any special options. |
5985 # Don't add to $LIBS permanently. | 6005 # Don't add to $LIBS permanently. |
5986 ac_save_LIBS="$LIBS" | 6006 ac_save_LIBS="$LIBS" |
5987 LIBS="-l$x_direct_test_library $LIBS" | 6007 LIBS="-l$x_direct_test_library $LIBS" |
5988 cat > conftest.$ac_ext <<EOF | 6008 cat > conftest.$ac_ext <<EOF |
5989 #line 5990 "configure" | 6009 #line 6010 "configure" |
5990 #include "confdefs.h" | 6010 #include "confdefs.h" |
5991 | 6011 |
5992 int main() { | 6012 int main() { |
5993 ${x_direct_test_function}() | 6013 ${x_direct_test_function}() |
5994 ; return 0; } | 6014 ; return 0; } |
5995 EOF | 6015 EOF |
5996 if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5997 rm -rf conftest* | 6017 rm -rf conftest* |
5998 LIBS="$ac_save_LIBS" | 6018 LIBS="$ac_save_LIBS" |
5999 # We can link X programs with no special library path. | 6019 # We can link X programs with no special library path. |
6000 ac_x_libraries= | 6020 ac_x_libraries= |
6001 else | 6021 else |
6100 # For Solaris; some versions of Sun CC require a space after -R and | 6120 # For Solaris; some versions of Sun CC require a space after -R and |
6101 # others require no space. Words are not sufficient . . . . | 6121 # others require no space. Words are not sufficient . . . . |
6102 case "`(uname -sr) 2>/dev/null`" in | 6122 case "`(uname -sr) 2>/dev/null`" in |
6103 "SunOS 5"*) | 6123 "SunOS 5"*) |
6104 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6124 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6105 echo "configure:6106: checking whether -R must be followed by a space" >&5 | 6125 echo "configure:6126: checking whether -R must be followed by a space" >&5 |
6106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6107 cat > conftest.$ac_ext <<EOF | 6127 cat > conftest.$ac_ext <<EOF |
6108 #line 6109 "configure" | 6128 #line 6129 "configure" |
6109 #include "confdefs.h" | 6129 #include "confdefs.h" |
6110 | 6130 |
6111 int main() { | 6131 int main() { |
6112 | 6132 |
6113 ; return 0; } | 6133 ; return 0; } |
6114 EOF | 6134 EOF |
6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6116 rm -rf conftest* | 6136 rm -rf conftest* |
6117 ac_R_nospace=yes | 6137 ac_R_nospace=yes |
6118 else | 6138 else |
6119 echo "configure: failed program was:" >&5 | 6139 echo "configure: failed program was:" >&5 |
6120 cat conftest.$ac_ext >&5 | 6140 cat conftest.$ac_ext >&5 |
6126 echo "$ac_t""no" 1>&6 | 6146 echo "$ac_t""no" 1>&6 |
6127 X_LIBS="$X_LIBS -R$x_libraries" | 6147 X_LIBS="$X_LIBS -R$x_libraries" |
6128 else | 6148 else |
6129 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6149 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6130 cat > conftest.$ac_ext <<EOF | 6150 cat > conftest.$ac_ext <<EOF |
6131 #line 6132 "configure" | 6151 #line 6152 "configure" |
6132 #include "confdefs.h" | 6152 #include "confdefs.h" |
6133 | 6153 |
6134 int main() { | 6154 int main() { |
6135 | 6155 |
6136 ; return 0; } | 6156 ; return 0; } |
6137 EOF | 6157 EOF |
6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6139 rm -rf conftest* | 6159 rm -rf conftest* |
6140 ac_R_space=yes | 6160 ac_R_space=yes |
6141 else | 6161 else |
6142 echo "configure: failed program was:" >&5 | 6162 echo "configure: failed program was:" >&5 |
6143 cat conftest.$ac_ext >&5 | 6163 cat conftest.$ac_ext >&5 |
6169 if test "$with_dnet" = "no" ; then | 6189 if test "$with_dnet" = "no" ; then |
6170 ac_cv_lib_dnet_dnet_ntoa=no | 6190 ac_cv_lib_dnet_dnet_ntoa=no |
6171 else | 6191 else |
6172 | 6192 |
6173 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6174 echo "configure:6175: checking for dnet_ntoa in -ldnet" >&5 | 6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5 |
6175 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6176 | 6196 |
6177 xe_check_libs=" -ldnet " | 6197 xe_check_libs=" -ldnet " |
6178 cat > conftest.$ac_ext <<EOF | 6198 cat > conftest.$ac_ext <<EOF |
6179 #line 6180 "configure" | 6199 #line 6200 "configure" |
6180 #include "confdefs.h" | 6200 #include "confdefs.h" |
6181 /* Override any gcc2 internal prototype to avoid an error. */ | 6201 /* Override any gcc2 internal prototype to avoid an error. */ |
6182 /* We use char because int might match the return type of a gcc2 | 6202 /* We use char because int might match the return type of a gcc2 |
6183 builtin and then its argument prototype would still apply. */ | 6203 builtin and then its argument prototype would still apply. */ |
6184 char dnet_ntoa(); | 6204 char dnet_ntoa(); |
6185 | 6205 |
6186 int main() { | 6206 int main() { |
6187 dnet_ntoa() | 6207 dnet_ntoa() |
6188 ; return 0; } | 6208 ; return 0; } |
6189 EOF | 6209 EOF |
6190 if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6191 rm -rf conftest* | 6211 rm -rf conftest* |
6192 eval "ac_cv_lib_$ac_lib_var=yes" | 6212 eval "ac_cv_lib_$ac_lib_var=yes" |
6193 else | 6213 else |
6194 echo "configure: failed program was:" >&5 | 6214 echo "configure: failed program was:" >&5 |
6195 cat conftest.$ac_ext >&5 | 6215 cat conftest.$ac_ext >&5 |
6209 fi | 6229 fi |
6210 | 6230 |
6211 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6212 | 6232 |
6213 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6233 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6214 echo "configure:6215: checking for dnet_ntoa in -ldnet_stub" >&5 | 6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5 |
6215 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6216 | 6236 |
6217 xe_check_libs=" -ldnet_stub " | 6237 xe_check_libs=" -ldnet_stub " |
6218 cat > conftest.$ac_ext <<EOF | 6238 cat > conftest.$ac_ext <<EOF |
6219 #line 6220 "configure" | 6239 #line 6240 "configure" |
6220 #include "confdefs.h" | 6240 #include "confdefs.h" |
6221 /* Override any gcc2 internal prototype to avoid an error. */ | 6241 /* Override any gcc2 internal prototype to avoid an error. */ |
6222 /* We use char because int might match the return type of a gcc2 | 6242 /* We use char because int might match the return type of a gcc2 |
6223 builtin and then its argument prototype would still apply. */ | 6243 builtin and then its argument prototype would still apply. */ |
6224 char dnet_ntoa(); | 6244 char dnet_ntoa(); |
6225 | 6245 |
6226 int main() { | 6246 int main() { |
6227 dnet_ntoa() | 6247 dnet_ntoa() |
6228 ; return 0; } | 6248 ; return 0; } |
6229 EOF | 6249 EOF |
6230 if { (eval echo configure:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6231 rm -rf conftest* | 6251 rm -rf conftest* |
6232 eval "ac_cv_lib_$ac_lib_var=yes" | 6252 eval "ac_cv_lib_$ac_lib_var=yes" |
6233 else | 6253 else |
6234 echo "configure: failed program was:" >&5 | 6254 echo "configure: failed program was:" >&5 |
6235 cat conftest.$ac_ext >&5 | 6255 cat conftest.$ac_ext >&5 |
6254 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6274 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6255 # needs -lnsl. | 6275 # needs -lnsl. |
6256 # The nsl library prevents programs from opening the X display | 6276 # The nsl library prevents programs from opening the X display |
6257 # on Irix 5.2, according to dickey@clark.net. | 6277 # on Irix 5.2, according to dickey@clark.net. |
6258 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6259 echo "configure:6260: checking for gethostbyname" >&5 | 6279 echo "configure:6280: checking for gethostbyname" >&5 |
6260 | 6280 |
6261 cat > conftest.$ac_ext <<EOF | 6281 cat > conftest.$ac_ext <<EOF |
6262 #line 6263 "configure" | 6282 #line 6283 "configure" |
6263 #include "confdefs.h" | 6283 #include "confdefs.h" |
6264 /* System header to define __stub macros and hopefully few prototypes, | 6284 /* System header to define __stub macros and hopefully few prototypes, |
6265 which can conflict with char gethostbyname(); below. */ | 6285 which can conflict with char gethostbyname(); below. */ |
6266 #include <assert.h> | 6286 #include <assert.h> |
6267 /* Override any gcc2 internal prototype to avoid an error. */ | 6287 /* Override any gcc2 internal prototype to avoid an error. */ |
6280 gethostbyname(); | 6300 gethostbyname(); |
6281 #endif | 6301 #endif |
6282 | 6302 |
6283 ; return 0; } | 6303 ; return 0; } |
6284 EOF | 6304 EOF |
6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6286 rm -rf conftest* | 6306 rm -rf conftest* |
6287 eval "ac_cv_func_gethostbyname=yes" | 6307 eval "ac_cv_func_gethostbyname=yes" |
6288 else | 6308 else |
6289 echo "configure: failed program was:" >&5 | 6309 echo "configure: failed program was:" >&5 |
6290 cat conftest.$ac_ext >&5 | 6310 cat conftest.$ac_ext >&5 |
6301 fi | 6321 fi |
6302 | 6322 |
6303 if test $ac_cv_func_gethostbyname = no; then | 6323 if test $ac_cv_func_gethostbyname = no; then |
6304 | 6324 |
6305 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6325 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6306 echo "configure:6307: checking for gethostbyname in -lnsl" >&5 | 6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5 |
6307 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6308 | 6328 |
6309 xe_check_libs=" -lnsl " | 6329 xe_check_libs=" -lnsl " |
6310 cat > conftest.$ac_ext <<EOF | 6330 cat > conftest.$ac_ext <<EOF |
6311 #line 6312 "configure" | 6331 #line 6332 "configure" |
6312 #include "confdefs.h" | 6332 #include "confdefs.h" |
6313 /* Override any gcc2 internal prototype to avoid an error. */ | 6333 /* Override any gcc2 internal prototype to avoid an error. */ |
6314 /* We use char because int might match the return type of a gcc2 | 6334 /* We use char because int might match the return type of a gcc2 |
6315 builtin and then its argument prototype would still apply. */ | 6335 builtin and then its argument prototype would still apply. */ |
6316 char gethostbyname(); | 6336 char gethostbyname(); |
6317 | 6337 |
6318 int main() { | 6338 int main() { |
6319 gethostbyname() | 6339 gethostbyname() |
6320 ; return 0; } | 6340 ; return 0; } |
6321 EOF | 6341 EOF |
6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6323 rm -rf conftest* | 6343 rm -rf conftest* |
6324 eval "ac_cv_lib_$ac_lib_var=yes" | 6344 eval "ac_cv_lib_$ac_lib_var=yes" |
6325 else | 6345 else |
6326 echo "configure: failed program was:" >&5 | 6346 echo "configure: failed program was:" >&5 |
6327 cat conftest.$ac_ext >&5 | 6347 cat conftest.$ac_ext >&5 |
6347 # on later versions), says simon@lia.di.epfl.ch: it contains | 6367 # on later versions), says simon@lia.di.epfl.ch: it contains |
6348 # gethostby* variants that don't use the nameserver (or something). | 6368 # gethostby* variants that don't use the nameserver (or something). |
6349 # -lsocket must be given before -lnsl if both are needed. | 6369 # -lsocket must be given before -lnsl if both are needed. |
6350 # We assume that if connect needs -lnsl, so does gethostbyname. | 6370 # We assume that if connect needs -lnsl, so does gethostbyname. |
6351 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6371 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6352 echo "configure:6353: checking for connect" >&5 | 6372 echo "configure:6373: checking for connect" >&5 |
6353 | 6373 |
6354 cat > conftest.$ac_ext <<EOF | 6374 cat > conftest.$ac_ext <<EOF |
6355 #line 6356 "configure" | 6375 #line 6376 "configure" |
6356 #include "confdefs.h" | 6376 #include "confdefs.h" |
6357 /* System header to define __stub macros and hopefully few prototypes, | 6377 /* System header to define __stub macros and hopefully few prototypes, |
6358 which can conflict with char connect(); below. */ | 6378 which can conflict with char connect(); below. */ |
6359 #include <assert.h> | 6379 #include <assert.h> |
6360 /* Override any gcc2 internal prototype to avoid an error. */ | 6380 /* Override any gcc2 internal prototype to avoid an error. */ |
6373 connect(); | 6393 connect(); |
6374 #endif | 6394 #endif |
6375 | 6395 |
6376 ; return 0; } | 6396 ; return 0; } |
6377 EOF | 6397 EOF |
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6379 rm -rf conftest* | 6399 rm -rf conftest* |
6380 eval "ac_cv_func_connect=yes" | 6400 eval "ac_cv_func_connect=yes" |
6381 else | 6401 else |
6382 echo "configure: failed program was:" >&5 | 6402 echo "configure: failed program was:" >&5 |
6383 cat conftest.$ac_ext >&5 | 6403 cat conftest.$ac_ext >&5 |
6396 if test $ac_cv_func_connect = no; then | 6416 if test $ac_cv_func_connect = no; then |
6397 | 6417 |
6398 xe_msg_checking="for connect in -lsocket" | 6418 xe_msg_checking="for connect in -lsocket" |
6399 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6419 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6400 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6401 echo "configure:6402: checking "$xe_msg_checking"" >&5 | 6421 echo "configure:6422: checking "$xe_msg_checking"" >&5 |
6402 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6403 | 6423 |
6404 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6405 cat > conftest.$ac_ext <<EOF | 6425 cat > conftest.$ac_ext <<EOF |
6406 #line 6407 "configure" | 6426 #line 6427 "configure" |
6407 #include "confdefs.h" | 6427 #include "confdefs.h" |
6408 /* Override any gcc2 internal prototype to avoid an error. */ | 6428 /* Override any gcc2 internal prototype to avoid an error. */ |
6409 /* We use char because int might match the return type of a gcc2 | 6429 /* We use char because int might match the return type of a gcc2 |
6410 builtin and then its argument prototype would still apply. */ | 6430 builtin and then its argument prototype would still apply. */ |
6411 char connect(); | 6431 char connect(); |
6412 | 6432 |
6413 int main() { | 6433 int main() { |
6414 connect() | 6434 connect() |
6415 ; return 0; } | 6435 ; return 0; } |
6416 EOF | 6436 EOF |
6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6418 rm -rf conftest* | 6438 rm -rf conftest* |
6419 eval "ac_cv_lib_$ac_lib_var=yes" | 6439 eval "ac_cv_lib_$ac_lib_var=yes" |
6420 else | 6440 else |
6421 echo "configure: failed program was:" >&5 | 6441 echo "configure: failed program was:" >&5 |
6422 cat conftest.$ac_ext >&5 | 6442 cat conftest.$ac_ext >&5 |
6436 | 6456 |
6437 fi | 6457 fi |
6438 | 6458 |
6439 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6459 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6440 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6460 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6441 echo "configure:6442: checking for remove" >&5 | 6461 echo "configure:6462: checking for remove" >&5 |
6442 | 6462 |
6443 cat > conftest.$ac_ext <<EOF | 6463 cat > conftest.$ac_ext <<EOF |
6444 #line 6445 "configure" | 6464 #line 6465 "configure" |
6445 #include "confdefs.h" | 6465 #include "confdefs.h" |
6446 /* System header to define __stub macros and hopefully few prototypes, | 6466 /* System header to define __stub macros and hopefully few prototypes, |
6447 which can conflict with char remove(); below. */ | 6467 which can conflict with char remove(); below. */ |
6448 #include <assert.h> | 6468 #include <assert.h> |
6449 /* Override any gcc2 internal prototype to avoid an error. */ | 6469 /* Override any gcc2 internal prototype to avoid an error. */ |
6462 remove(); | 6482 remove(); |
6463 #endif | 6483 #endif |
6464 | 6484 |
6465 ; return 0; } | 6485 ; return 0; } |
6466 EOF | 6486 EOF |
6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6468 rm -rf conftest* | 6488 rm -rf conftest* |
6469 eval "ac_cv_func_remove=yes" | 6489 eval "ac_cv_func_remove=yes" |
6470 else | 6490 else |
6471 echo "configure: failed program was:" >&5 | 6491 echo "configure: failed program was:" >&5 |
6472 cat conftest.$ac_ext >&5 | 6492 cat conftest.$ac_ext >&5 |
6483 fi | 6503 fi |
6484 | 6504 |
6485 if test $ac_cv_func_remove = no; then | 6505 if test $ac_cv_func_remove = no; then |
6486 | 6506 |
6487 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6507 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6488 echo "configure:6489: checking for remove in -lposix" >&5 | 6508 echo "configure:6509: checking for remove in -lposix" >&5 |
6489 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6490 | 6510 |
6491 xe_check_libs=" -lposix " | 6511 xe_check_libs=" -lposix " |
6492 cat > conftest.$ac_ext <<EOF | 6512 cat > conftest.$ac_ext <<EOF |
6493 #line 6494 "configure" | 6513 #line 6514 "configure" |
6494 #include "confdefs.h" | 6514 #include "confdefs.h" |
6495 /* Override any gcc2 internal prototype to avoid an error. */ | 6515 /* Override any gcc2 internal prototype to avoid an error. */ |
6496 /* We use char because int might match the return type of a gcc2 | 6516 /* We use char because int might match the return type of a gcc2 |
6497 builtin and then its argument prototype would still apply. */ | 6517 builtin and then its argument prototype would still apply. */ |
6498 char remove(); | 6518 char remove(); |
6499 | 6519 |
6500 int main() { | 6520 int main() { |
6501 remove() | 6521 remove() |
6502 ; return 0; } | 6522 ; return 0; } |
6503 EOF | 6523 EOF |
6504 if { (eval echo configure:6505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6505 rm -rf conftest* | 6525 rm -rf conftest* |
6506 eval "ac_cv_lib_$ac_lib_var=yes" | 6526 eval "ac_cv_lib_$ac_lib_var=yes" |
6507 else | 6527 else |
6508 echo "configure: failed program was:" >&5 | 6528 echo "configure: failed program was:" >&5 |
6509 cat conftest.$ac_ext >&5 | 6529 cat conftest.$ac_ext >&5 |
6523 | 6543 |
6524 fi | 6544 fi |
6525 | 6545 |
6526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6527 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6528 echo "configure:6529: checking for shmat" >&5 | 6548 echo "configure:6549: checking for shmat" >&5 |
6529 | 6549 |
6530 cat > conftest.$ac_ext <<EOF | 6550 cat > conftest.$ac_ext <<EOF |
6531 #line 6532 "configure" | 6551 #line 6552 "configure" |
6532 #include "confdefs.h" | 6552 #include "confdefs.h" |
6533 /* System header to define __stub macros and hopefully few prototypes, | 6553 /* System header to define __stub macros and hopefully few prototypes, |
6534 which can conflict with char shmat(); below. */ | 6554 which can conflict with char shmat(); below. */ |
6535 #include <assert.h> | 6555 #include <assert.h> |
6536 /* Override any gcc2 internal prototype to avoid an error. */ | 6556 /* Override any gcc2 internal prototype to avoid an error. */ |
6549 shmat(); | 6569 shmat(); |
6550 #endif | 6570 #endif |
6551 | 6571 |
6552 ; return 0; } | 6572 ; return 0; } |
6553 EOF | 6573 EOF |
6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6555 rm -rf conftest* | 6575 rm -rf conftest* |
6556 eval "ac_cv_func_shmat=yes" | 6576 eval "ac_cv_func_shmat=yes" |
6557 else | 6577 else |
6558 echo "configure: failed program was:" >&5 | 6578 echo "configure: failed program was:" >&5 |
6559 cat conftest.$ac_ext >&5 | 6579 cat conftest.$ac_ext >&5 |
6570 fi | 6590 fi |
6571 | 6591 |
6572 if test $ac_cv_func_shmat = no; then | 6592 if test $ac_cv_func_shmat = no; then |
6573 | 6593 |
6574 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6594 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6575 echo "configure:6576: checking for shmat in -lipc" >&5 | 6595 echo "configure:6596: checking for shmat in -lipc" >&5 |
6576 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6577 | 6597 |
6578 xe_check_libs=" -lipc " | 6598 xe_check_libs=" -lipc " |
6579 cat > conftest.$ac_ext <<EOF | 6599 cat > conftest.$ac_ext <<EOF |
6580 #line 6581 "configure" | 6600 #line 6601 "configure" |
6581 #include "confdefs.h" | 6601 #include "confdefs.h" |
6582 /* Override any gcc2 internal prototype to avoid an error. */ | 6602 /* Override any gcc2 internal prototype to avoid an error. */ |
6583 /* We use char because int might match the return type of a gcc2 | 6603 /* We use char because int might match the return type of a gcc2 |
6584 builtin and then its argument prototype would still apply. */ | 6604 builtin and then its argument prototype would still apply. */ |
6585 char shmat(); | 6605 char shmat(); |
6586 | 6606 |
6587 int main() { | 6607 int main() { |
6588 shmat() | 6608 shmat() |
6589 ; return 0; } | 6609 ; return 0; } |
6590 EOF | 6610 EOF |
6591 if { (eval echo configure:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6592 rm -rf conftest* | 6612 rm -rf conftest* |
6593 eval "ac_cv_lib_$ac_lib_var=yes" | 6613 eval "ac_cv_lib_$ac_lib_var=yes" |
6594 else | 6614 else |
6595 echo "configure: failed program was:" >&5 | 6615 echo "configure: failed program was:" >&5 |
6596 cat conftest.$ac_ext >&5 | 6616 cat conftest.$ac_ext >&5 |
6622 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6623 | 6643 |
6624 xe_msg_checking="for IceConnectionNumber in -lICE" | 6644 xe_msg_checking="for IceConnectionNumber in -lICE" |
6625 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6645 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6626 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6627 echo "configure:6628: checking "$xe_msg_checking"" >&5 | 6647 echo "configure:6648: checking "$xe_msg_checking"" >&5 |
6628 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6629 | 6649 |
6630 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6650 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6631 cat > conftest.$ac_ext <<EOF | 6651 cat > conftest.$ac_ext <<EOF |
6632 #line 6633 "configure" | 6652 #line 6653 "configure" |
6633 #include "confdefs.h" | 6653 #include "confdefs.h" |
6634 /* Override any gcc2 internal prototype to avoid an error. */ | 6654 /* Override any gcc2 internal prototype to avoid an error. */ |
6635 /* We use char because int might match the return type of a gcc2 | 6655 /* We use char because int might match the return type of a gcc2 |
6636 builtin and then its argument prototype would still apply. */ | 6656 builtin and then its argument prototype would still apply. */ |
6637 char IceConnectionNumber(); | 6657 char IceConnectionNumber(); |
6638 | 6658 |
6639 int main() { | 6659 int main() { |
6640 IceConnectionNumber() | 6660 IceConnectionNumber() |
6641 ; return 0; } | 6661 ; return 0; } |
6642 EOF | 6662 EOF |
6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6644 rm -rf conftest* | 6664 rm -rf conftest* |
6645 eval "ac_cv_lib_$ac_lib_var=yes" | 6665 eval "ac_cv_lib_$ac_lib_var=yes" |
6646 else | 6666 else |
6647 echo "configure: failed program was:" >&5 | 6667 echo "configure: failed program was:" >&5 |
6648 cat conftest.$ac_ext >&5 | 6668 cat conftest.$ac_ext >&5 |
6684 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6704 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6685 | 6705 |
6686 | 6706 |
6687 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6688 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6708 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6689 echo "configure:6690: checking for Xm/Xm.h" >&5 | 6709 echo "configure:6710: checking for Xm/Xm.h" >&5 |
6690 | 6710 |
6691 cat > conftest.$ac_ext <<EOF | 6711 cat > conftest.$ac_ext <<EOF |
6692 #line 6693 "configure" | 6712 #line 6713 "configure" |
6693 #include "confdefs.h" | 6713 #include "confdefs.h" |
6694 #include <Xm/Xm.h> | 6714 #include <Xm/Xm.h> |
6695 EOF | 6715 EOF |
6696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6697 { (eval echo configure:6698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6699 if test -z "$ac_err"; then | 6719 if test -z "$ac_err"; then |
6700 rm -rf conftest* | 6720 rm -rf conftest* |
6701 eval "ac_cv_header_$ac_safe=yes" | 6721 eval "ac_cv_header_$ac_safe=yes" |
6702 else | 6722 else |
6709 rm -f conftest* | 6729 rm -f conftest* |
6710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6711 echo "$ac_t""yes" 1>&6 | 6731 echo "$ac_t""yes" 1>&6 |
6712 | 6732 |
6713 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6733 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6714 echo "configure:6715: checking for XmStringFree in -lXm" >&5 | 6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5 |
6715 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6716 | 6736 |
6717 xe_check_libs=" -lXm " | 6737 xe_check_libs=" -lXm " |
6718 cat > conftest.$ac_ext <<EOF | 6738 cat > conftest.$ac_ext <<EOF |
6719 #line 6720 "configure" | 6739 #line 6740 "configure" |
6720 #include "confdefs.h" | 6740 #include "confdefs.h" |
6721 /* Override any gcc2 internal prototype to avoid an error. */ | 6741 /* Override any gcc2 internal prototype to avoid an error. */ |
6722 /* We use char because int might match the return type of a gcc2 | 6742 /* We use char because int might match the return type of a gcc2 |
6723 builtin and then its argument prototype would still apply. */ | 6743 builtin and then its argument prototype would still apply. */ |
6724 char XmStringFree(); | 6744 char XmStringFree(); |
6725 | 6745 |
6726 int main() { | 6746 int main() { |
6727 XmStringFree() | 6747 XmStringFree() |
6728 ; return 0; } | 6748 ; return 0; } |
6729 EOF | 6749 EOF |
6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6731 rm -rf conftest* | 6751 rm -rf conftest* |
6732 eval "ac_cv_lib_$ac_lib_var=yes" | 6752 eval "ac_cv_lib_$ac_lib_var=yes" |
6733 else | 6753 else |
6734 echo "configure: failed program was:" >&5 | 6754 echo "configure: failed program was:" >&5 |
6735 cat conftest.$ac_ext >&5 | 6755 cat conftest.$ac_ext >&5 |
6877 EOF | 6897 EOF |
6878 } | 6898 } |
6879 | 6899 |
6880 | 6900 |
6881 echo "checking for X defines extracted by xmkmf" 1>&6 | 6901 echo "checking for X defines extracted by xmkmf" 1>&6 |
6882 echo "configure:6883: checking for X defines extracted by xmkmf" >&5 | 6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5 |
6883 rm -fr conftestdir | 6903 rm -fr conftestdir |
6884 if mkdir conftestdir; then | 6904 if mkdir conftestdir; then |
6885 cd conftestdir | 6905 cd conftestdir |
6886 cat > Imakefile <<'EOF' | 6906 cat > Imakefile <<'EOF' |
6887 xetest: | 6907 xetest: |
6926 done | 6946 done |
6927 fi | 6947 fi |
6928 | 6948 |
6929 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6930 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6950 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6931 echo "configure:6932: checking for X11/Intrinsic.h" >&5 | 6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5 |
6932 | 6952 |
6933 cat > conftest.$ac_ext <<EOF | 6953 cat > conftest.$ac_ext <<EOF |
6934 #line 6935 "configure" | 6954 #line 6955 "configure" |
6935 #include "confdefs.h" | 6955 #include "confdefs.h" |
6936 #include <X11/Intrinsic.h> | 6956 #include <X11/Intrinsic.h> |
6937 EOF | 6957 EOF |
6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6941 if test -z "$ac_err"; then | 6961 if test -z "$ac_err"; then |
6942 rm -rf conftest* | 6962 rm -rf conftest* |
6943 eval "ac_cv_header_$ac_safe=yes" | 6963 eval "ac_cv_header_$ac_safe=yes" |
6944 else | 6964 else |
6958 fi | 6978 fi |
6959 | 6979 |
6960 | 6980 |
6961 | 6981 |
6962 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6982 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6963 echo "configure:6964: checking for XOpenDisplay in -lX11" >&5 | 6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5 |
6964 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6965 | 6985 |
6966 xe_check_libs=" -lX11 " | 6986 xe_check_libs=" -lX11 " |
6967 cat > conftest.$ac_ext <<EOF | 6987 cat > conftest.$ac_ext <<EOF |
6968 #line 6969 "configure" | 6988 #line 6989 "configure" |
6969 #include "confdefs.h" | 6989 #include "confdefs.h" |
6970 /* Override any gcc2 internal prototype to avoid an error. */ | 6990 /* Override any gcc2 internal prototype to avoid an error. */ |
6971 /* We use char because int might match the return type of a gcc2 | 6991 /* We use char because int might match the return type of a gcc2 |
6972 builtin and then its argument prototype would still apply. */ | 6992 builtin and then its argument prototype would still apply. */ |
6973 char XOpenDisplay(); | 6993 char XOpenDisplay(); |
6974 | 6994 |
6975 int main() { | 6995 int main() { |
6976 XOpenDisplay() | 6996 XOpenDisplay() |
6977 ; return 0; } | 6997 ; return 0; } |
6978 EOF | 6998 EOF |
6979 if { (eval echo configure:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6980 rm -rf conftest* | 7000 rm -rf conftest* |
6981 eval "ac_cv_lib_$ac_lib_var=yes" | 7001 eval "ac_cv_lib_$ac_lib_var=yes" |
6982 else | 7002 else |
6983 echo "configure: failed program was:" >&5 | 7003 echo "configure: failed program was:" >&5 |
6984 cat conftest.$ac_ext >&5 | 7004 cat conftest.$ac_ext >&5 |
6999 if test "$have_lib_x11" != "yes"; then | 7019 if test "$have_lib_x11" != "yes"; then |
7000 | 7020 |
7001 xe_msg_checking="for XGetFontProperty in -lX11" | 7021 xe_msg_checking="for XGetFontProperty in -lX11" |
7002 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 7022 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
7003 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7004 echo "configure:7005: checking "$xe_msg_checking"" >&5 | 7024 echo "configure:7025: checking "$xe_msg_checking"" >&5 |
7005 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
7006 | 7026 |
7007 xe_check_libs=" -lX11 -b i486-linuxaout" | 7027 xe_check_libs=" -lX11 -b i486-linuxaout" |
7008 cat > conftest.$ac_ext <<EOF | 7028 cat > conftest.$ac_ext <<EOF |
7009 #line 7010 "configure" | 7029 #line 7030 "configure" |
7010 #include "confdefs.h" | 7030 #include "confdefs.h" |
7011 /* Override any gcc2 internal prototype to avoid an error. */ | 7031 /* Override any gcc2 internal prototype to avoid an error. */ |
7012 /* We use char because int might match the return type of a gcc2 | 7032 /* We use char because int might match the return type of a gcc2 |
7013 builtin and then its argument prototype would still apply. */ | 7033 builtin and then its argument prototype would still apply. */ |
7014 char XGetFontProperty(); | 7034 char XGetFontProperty(); |
7015 | 7035 |
7016 int main() { | 7036 int main() { |
7017 XGetFontProperty() | 7037 XGetFontProperty() |
7018 ; return 0; } | 7038 ; return 0; } |
7019 EOF | 7039 EOF |
7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7021 rm -rf conftest* | 7041 rm -rf conftest* |
7022 eval "ac_cv_lib_$ac_lib_var=yes" | 7042 eval "ac_cv_lib_$ac_lib_var=yes" |
7023 else | 7043 else |
7024 echo "configure: failed program was:" >&5 | 7044 echo "configure: failed program was:" >&5 |
7025 cat conftest.$ac_ext >&5 | 7045 cat conftest.$ac_ext >&5 |
7042 libs_x="-lX11" | 7062 libs_x="-lX11" |
7043 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7044 | 7064 |
7045 | 7065 |
7046 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7066 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7047 echo "configure:7048: checking for XShapeSelectInput in -lXext" >&5 | 7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5 |
7048 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7049 | 7069 |
7050 xe_check_libs=" -lXext " | 7070 xe_check_libs=" -lXext " |
7051 cat > conftest.$ac_ext <<EOF | 7071 cat > conftest.$ac_ext <<EOF |
7052 #line 7053 "configure" | 7072 #line 7073 "configure" |
7053 #include "confdefs.h" | 7073 #include "confdefs.h" |
7054 /* Override any gcc2 internal prototype to avoid an error. */ | 7074 /* Override any gcc2 internal prototype to avoid an error. */ |
7055 /* We use char because int might match the return type of a gcc2 | 7075 /* We use char because int might match the return type of a gcc2 |
7056 builtin and then its argument prototype would still apply. */ | 7076 builtin and then its argument prototype would still apply. */ |
7057 char XShapeSelectInput(); | 7077 char XShapeSelectInput(); |
7058 | 7078 |
7059 int main() { | 7079 int main() { |
7060 XShapeSelectInput() | 7080 XShapeSelectInput() |
7061 ; return 0; } | 7081 ; return 0; } |
7062 EOF | 7082 EOF |
7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7064 rm -rf conftest* | 7084 rm -rf conftest* |
7065 eval "ac_cv_lib_$ac_lib_var=yes" | 7085 eval "ac_cv_lib_$ac_lib_var=yes" |
7066 else | 7086 else |
7067 echo "configure: failed program was:" >&5 | 7087 echo "configure: failed program was:" >&5 |
7068 cat conftest.$ac_ext >&5 | 7088 cat conftest.$ac_ext >&5 |
7081 | 7101 |
7082 | 7102 |
7083 | 7103 |
7084 | 7104 |
7085 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7105 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7086 echo "configure:7087: checking for XtOpenDisplay in -lXt" >&5 | 7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5 |
7087 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7088 | 7108 |
7089 xe_check_libs=" -lXt " | 7109 xe_check_libs=" -lXt " |
7090 cat > conftest.$ac_ext <<EOF | 7110 cat > conftest.$ac_ext <<EOF |
7091 #line 7092 "configure" | 7111 #line 7112 "configure" |
7092 #include "confdefs.h" | 7112 #include "confdefs.h" |
7093 /* Override any gcc2 internal prototype to avoid an error. */ | 7113 /* Override any gcc2 internal prototype to avoid an error. */ |
7094 /* We use char because int might match the return type of a gcc2 | 7114 /* We use char because int might match the return type of a gcc2 |
7095 builtin and then its argument prototype would still apply. */ | 7115 builtin and then its argument prototype would still apply. */ |
7096 char XtOpenDisplay(); | 7116 char XtOpenDisplay(); |
7097 | 7117 |
7098 int main() { | 7118 int main() { |
7099 XtOpenDisplay() | 7119 XtOpenDisplay() |
7100 ; return 0; } | 7120 ; return 0; } |
7101 EOF | 7121 EOF |
7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7103 rm -rf conftest* | 7123 rm -rf conftest* |
7104 eval "ac_cv_lib_$ac_lib_var=yes" | 7124 eval "ac_cv_lib_$ac_lib_var=yes" |
7105 else | 7125 else |
7106 echo "configure: failed program was:" >&5 | 7126 echo "configure: failed program was:" >&5 |
7107 cat conftest.$ac_ext >&5 | 7127 cat conftest.$ac_ext >&5 |
7120 fi | 7140 fi |
7121 | 7141 |
7122 | 7142 |
7123 | 7143 |
7124 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7144 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7125 echo "configure:7126: checking the version of X11 being used" >&5 | 7145 echo "configure:7146: checking the version of X11 being used" >&5 |
7126 cat > conftest.$ac_ext <<EOF | 7146 cat > conftest.$ac_ext <<EOF |
7127 #line 7128 "configure" | 7147 #line 7148 "configure" |
7128 #include "confdefs.h" | 7148 #include "confdefs.h" |
7129 #include <X11/Intrinsic.h> | 7149 #include <X11/Intrinsic.h> |
7130 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7131 EOF | 7151 EOF |
7132 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7133 then | 7153 then |
7134 ./conftest foobar; x11_release=$? | 7154 ./conftest foobar; x11_release=$? |
7135 else | 7155 else |
7136 conftest_rc="$?" | 7156 conftest_rc="$?" |
7137 echo "configure: failed program was:" >&5 | 7157 echo "configure: failed program was:" >&5 |
7158 fi | 7178 fi |
7159 | 7179 |
7160 for ac_func in XConvertCase | 7180 for ac_func in XConvertCase |
7161 do | 7181 do |
7162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7163 echo "configure:7164: checking for $ac_func" >&5 | 7183 echo "configure:7184: checking for $ac_func" >&5 |
7164 | 7184 |
7165 cat > conftest.$ac_ext <<EOF | 7185 cat > conftest.$ac_ext <<EOF |
7166 #line 7167 "configure" | 7186 #line 7187 "configure" |
7167 #include "confdefs.h" | 7187 #include "confdefs.h" |
7168 /* System header to define __stub macros and hopefully few prototypes, | 7188 /* System header to define __stub macros and hopefully few prototypes, |
7169 which can conflict with char $ac_func(); below. */ | 7189 which can conflict with char $ac_func(); below. */ |
7170 #include <assert.h> | 7190 #include <assert.h> |
7171 /* Override any gcc2 internal prototype to avoid an error. */ | 7191 /* Override any gcc2 internal prototype to avoid an error. */ |
7184 $ac_func(); | 7204 $ac_func(); |
7185 #endif | 7205 #endif |
7186 | 7206 |
7187 ; return 0; } | 7207 ; return 0; } |
7188 EOF | 7208 EOF |
7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7209 if { (eval echo configure:7210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7190 rm -rf conftest* | 7210 rm -rf conftest* |
7191 eval "ac_cv_func_$ac_func=yes" | 7211 eval "ac_cv_func_$ac_func=yes" |
7192 else | 7212 else |
7193 echo "configure: failed program was:" >&5 | 7213 echo "configure: failed program was:" >&5 |
7194 cat conftest.$ac_ext >&5 | 7214 cat conftest.$ac_ext >&5 |
7216 | 7236 |
7217 for ac_hdr in X11/Xlocale.h | 7237 for ac_hdr in X11/Xlocale.h |
7218 do | 7238 do |
7219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7221 echo "configure:7222: checking for $ac_hdr" >&5 | 7241 echo "configure:7242: checking for $ac_hdr" >&5 |
7222 | 7242 |
7223 cat > conftest.$ac_ext <<EOF | 7243 cat > conftest.$ac_ext <<EOF |
7224 #line 7225 "configure" | 7244 #line 7245 "configure" |
7225 #include "confdefs.h" | 7245 #include "confdefs.h" |
7226 #include <$ac_hdr> | 7246 #include <$ac_hdr> |
7227 EOF | 7247 EOF |
7228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7229 { (eval echo configure:7230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7231 if test -z "$ac_err"; then | 7251 if test -z "$ac_err"; then |
7232 rm -rf conftest* | 7252 rm -rf conftest* |
7233 eval "ac_cv_header_$ac_safe=yes" | 7253 eval "ac_cv_header_$ac_safe=yes" |
7234 else | 7254 else |
7257 | 7277 |
7258 | 7278 |
7259 for ac_func in XRegisterIMInstantiateCallback | 7279 for ac_func in XRegisterIMInstantiateCallback |
7260 do | 7280 do |
7261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7262 echo "configure:7263: checking for $ac_func" >&5 | 7282 echo "configure:7283: checking for $ac_func" >&5 |
7263 | 7283 |
7264 cat > conftest.$ac_ext <<EOF | 7284 cat > conftest.$ac_ext <<EOF |
7265 #line 7266 "configure" | 7285 #line 7286 "configure" |
7266 #include "confdefs.h" | 7286 #include "confdefs.h" |
7267 /* System header to define __stub macros and hopefully few prototypes, | 7287 /* System header to define __stub macros and hopefully few prototypes, |
7268 which can conflict with char $ac_func(); below. */ | 7288 which can conflict with char $ac_func(); below. */ |
7269 #include <assert.h> | 7289 #include <assert.h> |
7270 /* Override any gcc2 internal prototype to avoid an error. */ | 7290 /* Override any gcc2 internal prototype to avoid an error. */ |
7283 $ac_func(); | 7303 $ac_func(); |
7284 #endif | 7304 #endif |
7285 | 7305 |
7286 ; return 0; } | 7306 ; return 0; } |
7287 EOF | 7307 EOF |
7288 if { (eval echo configure:7289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7289 rm -rf conftest* | 7309 rm -rf conftest* |
7290 eval "ac_cv_func_$ac_func=yes" | 7310 eval "ac_cv_func_$ac_func=yes" |
7291 else | 7311 else |
7292 echo "configure: failed program was:" >&5 | 7312 echo "configure: failed program was:" >&5 |
7293 cat conftest.$ac_ext >&5 | 7313 cat conftest.$ac_ext >&5 |
7311 echo "$ac_t""no" 1>&6 | 7331 echo "$ac_t""no" 1>&6 |
7312 fi | 7332 fi |
7313 done | 7333 done |
7314 | 7334 |
7315 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7335 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7316 echo "configure:7317: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7317 cat > conftest.$ac_ext <<EOF | 7337 cat > conftest.$ac_ext <<EOF |
7318 #line 7319 "configure" | 7338 #line 7339 "configure" |
7319 #include "confdefs.h" | 7339 #include "confdefs.h" |
7320 | 7340 |
7321 #define NeedFunctionPrototypes 1 | 7341 #define NeedFunctionPrototypes 1 |
7322 #include <X11/Xlib.h> | 7342 #include <X11/Xlib.h> |
7323 extern Bool XRegisterIMInstantiateCallback( | 7343 extern Bool XRegisterIMInstantiateCallback( |
7325 | 7345 |
7326 int main() { | 7346 int main() { |
7327 | 7347 |
7328 ; return 0; } | 7348 ; return 0; } |
7329 EOF | 7349 EOF |
7330 if { (eval echo configure:7331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7331 rm -rf conftest* | 7351 rm -rf conftest* |
7332 echo "$ac_t""yes" 1>&6 | 7352 echo "$ac_t""yes" 1>&6 |
7333 else | 7353 else |
7334 echo "configure: failed program was:" >&5 | 7354 echo "configure: failed program was:" >&5 |
7335 cat conftest.$ac_ext >&5 | 7355 cat conftest.$ac_ext >&5 |
7346 fi | 7366 fi |
7347 rm -f conftest* | 7367 rm -f conftest* |
7348 | 7368 |
7349 test -z "$with_xmu" && { | 7369 test -z "$with_xmu" && { |
7350 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7370 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7351 echo "configure:7352: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7352 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7353 | 7373 |
7354 xe_check_libs=" -lXmu " | 7374 xe_check_libs=" -lXmu " |
7355 cat > conftest.$ac_ext <<EOF | 7375 cat > conftest.$ac_ext <<EOF |
7356 #line 7357 "configure" | 7376 #line 7377 "configure" |
7357 #include "confdefs.h" | 7377 #include "confdefs.h" |
7358 /* Override any gcc2 internal prototype to avoid an error. */ | 7378 /* Override any gcc2 internal prototype to avoid an error. */ |
7359 /* We use char because int might match the return type of a gcc2 | 7379 /* We use char because int might match the return type of a gcc2 |
7360 builtin and then its argument prototype would still apply. */ | 7380 builtin and then its argument prototype would still apply. */ |
7361 char XmuReadBitmapDataFromFile(); | 7381 char XmuReadBitmapDataFromFile(); |
7362 | 7382 |
7363 int main() { | 7383 int main() { |
7364 XmuReadBitmapDataFromFile() | 7384 XmuReadBitmapDataFromFile() |
7365 ; return 0; } | 7385 ; return 0; } |
7366 EOF | 7386 EOF |
7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7368 rm -rf conftest* | 7388 rm -rf conftest* |
7369 eval "ac_cv_lib_$ac_lib_var=yes" | 7389 eval "ac_cv_lib_$ac_lib_var=yes" |
7370 else | 7390 else |
7371 echo "configure: failed program was:" >&5 | 7391 echo "configure: failed program was:" >&5 |
7372 cat conftest.$ac_ext >&5 | 7392 cat conftest.$ac_ext >&5 |
7401 | 7421 |
7402 fi | 7422 fi |
7403 | 7423 |
7404 | 7424 |
7405 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7425 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7406 echo "configure:7407: checking for main in -lXbsd" >&5 | 7426 echo "configure:7427: checking for main in -lXbsd" >&5 |
7407 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7408 | 7428 |
7409 xe_check_libs=" -lXbsd " | 7429 xe_check_libs=" -lXbsd " |
7410 cat > conftest.$ac_ext <<EOF | 7430 cat > conftest.$ac_ext <<EOF |
7411 #line 7412 "configure" | 7431 #line 7432 "configure" |
7412 #include "confdefs.h" | 7432 #include "confdefs.h" |
7413 | 7433 |
7414 int main() { | 7434 int main() { |
7415 main() | 7435 main() |
7416 ; return 0; } | 7436 ; return 0; } |
7417 EOF | 7437 EOF |
7418 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7419 rm -rf conftest* | 7439 rm -rf conftest* |
7420 eval "ac_cv_lib_$ac_lib_var=yes" | 7440 eval "ac_cv_lib_$ac_lib_var=yes" |
7421 else | 7441 else |
7422 echo "configure: failed program was:" >&5 | 7442 echo "configure: failed program was:" >&5 |
7423 cat conftest.$ac_ext >&5 | 7443 cat conftest.$ac_ext >&5 |
7450 fi | 7470 fi |
7451 | 7471 |
7452 fi | 7472 fi |
7453 if test "$with_msw" != "no"; then | 7473 if test "$with_msw" != "no"; then |
7454 echo "checking for MS-Windows" 1>&6 | 7474 echo "checking for MS-Windows" 1>&6 |
7455 echo "configure:7456: checking for MS-Windows" >&5 | 7475 echo "configure:7476: checking for MS-Windows" >&5 |
7456 | 7476 |
7457 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7477 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7458 echo "configure:7459: checking for main in -lgdi32" >&5 | 7478 echo "configure:7479: checking for main in -lgdi32" >&5 |
7459 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7460 | 7480 |
7461 xe_check_libs=" -lgdi32 " | 7481 xe_check_libs=" -lgdi32 " |
7462 cat > conftest.$ac_ext <<EOF | 7482 cat > conftest.$ac_ext <<EOF |
7463 #line 7464 "configure" | 7483 #line 7484 "configure" |
7464 #include "confdefs.h" | 7484 #include "confdefs.h" |
7465 | 7485 |
7466 int main() { | 7486 int main() { |
7467 main() | 7487 main() |
7468 ; return 0; } | 7488 ; return 0; } |
7469 EOF | 7489 EOF |
7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7471 rm -rf conftest* | 7491 rm -rf conftest* |
7472 eval "ac_cv_lib_$ac_lib_var=yes" | 7492 eval "ac_cv_lib_$ac_lib_var=yes" |
7473 else | 7493 else |
7474 echo "configure: failed program was:" >&5 | 7494 echo "configure: failed program was:" >&5 |
7475 cat conftest.$ac_ext >&5 | 7495 cat conftest.$ac_ext >&5 |
7516 test "$with_toolbars" != "no" && with_toolbars=msw | 7536 test "$with_toolbars" != "no" && with_toolbars=msw |
7517 test "$with_dialogs" != "no" && with_dialogs=msw | 7537 test "$with_dialogs" != "no" && with_dialogs=msw |
7518 test "$with_widgets" != "no" && with_widgets=msw | 7538 test "$with_widgets" != "no" && with_widgets=msw |
7519 fi | 7539 fi |
7520 cat > conftest.$ac_ext <<EOF | 7540 cat > conftest.$ac_ext <<EOF |
7521 #line 7522 "configure" | 7541 #line 7542 "configure" |
7522 #include "confdefs.h" | 7542 #include "confdefs.h" |
7523 #include <fcntl.h> | 7543 #include <fcntl.h> |
7524 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7544 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7525 EOF | 7545 EOF |
7526 if { (eval echo configure:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7527 then | 7547 then |
7528 { test "$extra_verbose" = "yes" && cat << \EOF | 7548 { test "$extra_verbose" = "yes" && cat << \EOF |
7529 Defining HAVE_MSG_SELECT | 7549 Defining HAVE_MSG_SELECT |
7530 EOF | 7550 EOF |
7531 cat >> confdefs.h <<\EOF | 7551 cat >> confdefs.h <<\EOF |
7582 fi | 7602 fi |
7583 | 7603 |
7584 if test "$with_x11" = "yes"; then | 7604 if test "$with_x11" = "yes"; then |
7585 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7586 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7606 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7587 echo "configure:7588: checking for X11/extensions/shape.h" >&5 | 7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5 |
7588 | 7608 |
7589 cat > conftest.$ac_ext <<EOF | 7609 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7610 #line 7611 "configure" |
7591 #include "confdefs.h" | 7611 #include "confdefs.h" |
7592 #include <X11/extensions/shape.h> | 7612 #include <X11/extensions/shape.h> |
7593 EOF | 7613 EOF |
7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7597 if test -z "$ac_err"; then | 7617 if test -z "$ac_err"; then |
7598 rm -rf conftest* | 7618 rm -rf conftest* |
7599 eval "ac_cv_header_$ac_safe=yes" | 7619 eval "ac_cv_header_$ac_safe=yes" |
7600 else | 7620 else |
7640 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7641 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7642 esac | 7662 esac |
7643 | 7663 |
7644 echo "checking for WM_COMMAND option" 1>&6 | 7664 echo "checking for WM_COMMAND option" 1>&6 |
7645 echo "configure:7646: checking for WM_COMMAND option" >&5; | 7665 echo "configure:7666: checking for WM_COMMAND option" >&5; |
7646 if test "$with_wmcommand" != "no"; then | 7666 if test "$with_wmcommand" != "no"; then |
7647 { test "$extra_verbose" = "yes" && cat << \EOF | 7667 { test "$extra_verbose" = "yes" && cat << \EOF |
7648 Defining HAVE_WMCOMMAND | 7668 Defining HAVE_WMCOMMAND |
7649 EOF | 7669 EOF |
7650 cat >> confdefs.h <<\EOF | 7670 cat >> confdefs.h <<\EOF |
7655 fi | 7675 fi |
7656 | 7676 |
7657 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7658 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7678 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7659 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7679 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7660 echo "configure:7661: checking for X11/Xauth.h" >&5 | 7680 echo "configure:7681: checking for X11/Xauth.h" >&5 |
7661 | 7681 |
7662 cat > conftest.$ac_ext <<EOF | 7682 cat > conftest.$ac_ext <<EOF |
7663 #line 7664 "configure" | 7683 #line 7684 "configure" |
7664 #include "confdefs.h" | 7684 #include "confdefs.h" |
7665 #include <X11/Xauth.h> | 7685 #include <X11/Xauth.h> |
7666 EOF | 7686 EOF |
7667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7668 { (eval echo configure:7669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7669 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7670 if test -z "$ac_err"; then | 7690 if test -z "$ac_err"; then |
7671 rm -rf conftest* | 7691 rm -rf conftest* |
7672 eval "ac_cv_header_$ac_safe=yes" | 7692 eval "ac_cv_header_$ac_safe=yes" |
7673 else | 7693 else |
7686 with_xauth=no | 7706 with_xauth=no |
7687 fi | 7707 fi |
7688 } | 7708 } |
7689 test -z "$with_xauth" && { | 7709 test -z "$with_xauth" && { |
7690 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7710 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7691 echo "configure:7692: checking for XauGetAuthByAddr in -lXau" >&5 | 7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5 |
7692 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7693 | 7713 |
7694 xe_check_libs=" -lXau " | 7714 xe_check_libs=" -lXau " |
7695 cat > conftest.$ac_ext <<EOF | 7715 cat > conftest.$ac_ext <<EOF |
7696 #line 7697 "configure" | 7716 #line 7717 "configure" |
7697 #include "confdefs.h" | 7717 #include "confdefs.h" |
7698 /* Override any gcc2 internal prototype to avoid an error. */ | 7718 /* Override any gcc2 internal prototype to avoid an error. */ |
7699 /* We use char because int might match the return type of a gcc2 | 7719 /* We use char because int might match the return type of a gcc2 |
7700 builtin and then its argument prototype would still apply. */ | 7720 builtin and then its argument prototype would still apply. */ |
7701 char XauGetAuthByAddr(); | 7721 char XauGetAuthByAddr(); |
7702 | 7722 |
7703 int main() { | 7723 int main() { |
7704 XauGetAuthByAddr() | 7724 XauGetAuthByAddr() |
7705 ; return 0; } | 7725 ; return 0; } |
7706 EOF | 7726 EOF |
7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7708 rm -rf conftest* | 7728 rm -rf conftest* |
7709 eval "ac_cv_lib_$ac_lib_var=yes" | 7729 eval "ac_cv_lib_$ac_lib_var=yes" |
7710 else | 7730 else |
7711 echo "configure: failed program was:" >&5 | 7731 echo "configure: failed program was:" >&5 |
7712 cat conftest.$ac_ext >&5 | 7732 cat conftest.$ac_ext >&5 |
7753 fi | 7773 fi |
7754 | 7774 |
7755 | 7775 |
7756 if test "$with_modules" != "no"; then | 7776 if test "$with_modules" != "no"; then |
7757 echo "checking for module support" 1>&6 | 7777 echo "checking for module support" 1>&6 |
7758 echo "configure:7759: checking for module support" >&5 | 7778 echo "configure:7779: checking for module support" >&5 |
7759 | 7779 |
7760 if test "$with_msw" = "yes"; then | 7780 if test "$with_msw" = "yes"; then |
7761 have_dl=yes; | 7781 have_dl=yes; |
7762 else | 7782 else |
7763 case "$opsys" in | 7783 case "$opsys" in |
7770 } | 7790 } |
7771 ;; | 7791 ;; |
7772 * ) | 7792 * ) |
7773 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7774 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7775 echo "configure:7776: checking for dlfcn.h" >&5 | 7795 echo "configure:7796: checking for dlfcn.h" >&5 |
7776 | 7796 |
7777 cat > conftest.$ac_ext <<EOF | 7797 cat > conftest.$ac_ext <<EOF |
7778 #line 7779 "configure" | 7798 #line 7799 "configure" |
7779 #include "confdefs.h" | 7799 #include "confdefs.h" |
7780 #include <dlfcn.h> | 7800 #include <dlfcn.h> |
7781 EOF | 7801 EOF |
7782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7783 { (eval echo configure:7784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7785 if test -z "$ac_err"; then | 7805 if test -z "$ac_err"; then |
7786 rm -rf conftest* | 7806 rm -rf conftest* |
7787 eval "ac_cv_header_$ac_safe=yes" | 7807 eval "ac_cv_header_$ac_safe=yes" |
7788 else | 7808 else |
7795 rm -f conftest* | 7815 rm -f conftest* |
7796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7797 echo "$ac_t""yes" 1>&6 | 7817 echo "$ac_t""yes" 1>&6 |
7798 | 7818 |
7799 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7819 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7800 echo "configure:7801: checking for dlopen in -lc" >&5 | 7820 echo "configure:7821: checking for dlopen in -lc" >&5 |
7801 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7802 #line 7803 "configure" | 7822 #line 7823 "configure" |
7803 #include "confdefs.h" | 7823 #include "confdefs.h" |
7804 #include <dlfcn.h> | 7824 #include <dlfcn.h> |
7805 int main() { | 7825 int main() { |
7806 dlopen ("", 0); | 7826 dlopen ("", 0); |
7807 ; return 0; } | 7827 ; return 0; } |
7808 EOF | 7828 EOF |
7809 if { (eval echo configure:7810: \"$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 |
7810 rm -rf conftest* | 7830 rm -rf conftest* |
7811 have_dl=yes | 7831 have_dl=yes |
7812 else | 7832 else |
7813 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7814 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7815 rm -rf conftest* | 7835 rm -rf conftest* |
7816 | 7836 |
7817 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7818 echo "configure:7819: checking for dlopen in -ldl" >&5 | 7838 echo "configure:7839: checking for dlopen in -ldl" >&5 |
7819 ac_save_LIBS="$LIBS" | 7839 ac_save_LIBS="$LIBS" |
7820 LIBS="-ldl $LIBS" | 7840 LIBS="-ldl $LIBS" |
7821 cat > conftest.$ac_ext <<EOF | 7841 cat > conftest.$ac_ext <<EOF |
7822 #line 7823 "configure" | 7842 #line 7843 "configure" |
7823 #include "confdefs.h" | 7843 #include "confdefs.h" |
7824 #include <dlfcn.h> | 7844 #include <dlfcn.h> |
7825 int main() { | 7845 int main() { |
7826 dlopen ("", 0); | 7846 dlopen ("", 0); |
7827 ; return 0; } | 7847 ; return 0; } |
7828 EOF | 7848 EOF |
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7830 rm -rf conftest* | 7850 rm -rf conftest* |
7831 have_dl=yes | 7851 have_dl=yes |
7832 else | 7852 else |
7833 echo "configure: failed program was:" >&5 | 7853 echo "configure: failed program was:" >&5 |
7834 cat conftest.$ac_ext >&5 | 7854 cat conftest.$ac_ext >&5 |
7864 ld_dynamic_link_flags= | 7884 ld_dynamic_link_flags= |
7865 xehost=$canonical | 7885 xehost=$canonical |
7866 xealias=$internal_configuration | 7886 xealias=$internal_configuration |
7867 | 7887 |
7868 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7888 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7869 echo "configure:7870: checking how to build dynamic libraries for ${xehost}" >&5 | 7889 echo "configure:7890: checking how to build dynamic libraries for ${xehost}" >&5 |
7870 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7890 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7871 case "$xehost" in | 7891 case "$xehost" in |
7872 *-*-linux-gnu*) ;; | 7892 *-*-linux-gnu*) ;; |
7873 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7893 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7874 esac | 7894 esac |
7892 # Now see if the compiler is really GCC. | 7912 # Now see if the compiler is really GCC. |
7893 if test "$GCC" = "yes"; then | 7913 if test "$GCC" = "yes"; then |
7894 XEGCC=yes | 7914 XEGCC=yes |
7895 else | 7915 else |
7896 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7916 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7897 echo "configure:7898: checking checking whether we are using GNU C" >&5 | 7917 echo "configure:7918: checking checking whether we are using GNU C" >&5 |
7898 cat > conftest.$ac_ext <<EOF | 7918 cat > conftest.$ac_ext <<EOF |
7899 #line 7900 "configure" | 7919 #line 7920 "configure" |
7900 #include "confdefs.h" | 7920 #include "confdefs.h" |
7901 | 7921 |
7902 #ifdef __GNUC__ | 7922 #ifdef __GNUC__ |
7903 yes; | 7923 yes; |
7904 #endif | 7924 #endif |
7916 | 7936 |
7917 echo "$ac_t""${XEGCC}" 1>&6 | 7937 echo "$ac_t""${XEGCC}" 1>&6 |
7918 fi | 7938 fi |
7919 | 7939 |
7920 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7940 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7921 echo "configure:7922: checking how to produce PIC code" >&5 | 7941 echo "configure:7942: checking how to produce PIC code" >&5 |
7922 wl= | 7942 wl= |
7923 | 7943 |
7924 can_build_shared=yes | 7944 can_build_shared=yes |
7925 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7945 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7926 wl='-Wl,' | 7946 wl='-Wl,' |
8020 if test -n "$dll_cflags"; then | 8040 if test -n "$dll_cflags"; then |
8021 echo "$ac_t""${dll_cflags}" 1>&6 | 8041 echo "$ac_t""${dll_cflags}" 1>&6 |
8022 | 8042 |
8023 # Check to make sure the dll_cflags actually works. | 8043 # Check to make sure the dll_cflags actually works. |
8024 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8044 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8025 echo "configure:8026: checking if PIC flag ${dll_cflags} really works" >&5 | 8045 echo "configure:8046: checking if PIC flag ${dll_cflags} really works" >&5 |
8026 save_CFLAGS="$CFLAGS" | 8046 save_CFLAGS="$CFLAGS" |
8027 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8047 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8028 cat > conftest.$ac_ext <<EOF | 8048 cat > conftest.$ac_ext <<EOF |
8029 #line 8030 "configure" | 8049 #line 8050 "configure" |
8030 #include "confdefs.h" | 8050 #include "confdefs.h" |
8031 | 8051 |
8032 int main() { | 8052 int main() { |
8033 int x=0; | 8053 int x=0; |
8034 ; return 0; } | 8054 ; return 0; } |
8035 EOF | 8055 EOF |
8036 if { (eval echo configure:8037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8056 if { (eval echo configure:8057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8037 rm -rf conftest* | 8057 rm -rf conftest* |
8038 | 8058 |
8039 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8059 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8040 # reports no error. So, we need to grep stderr for (Bundled). | 8060 # reports no error. So, we need to grep stderr for (Bundled). |
8041 if grep '(Bundled)' config.log >/dev/null; then | 8061 if grep '(Bundled)' config.log >/dev/null; then |
8062 if test "$can_build_shared" = "yes"; then | 8082 if test "$can_build_shared" = "yes"; then |
8063 cc_produces_so=no | 8083 cc_produces_so=no |
8064 xldf= | 8084 xldf= |
8065 xcldf= | 8085 xcldf= |
8066 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8086 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8067 echo "configure:8068: checking if C compiler can produce shared libraries" >&5 | 8087 echo "configure:8088: checking if C compiler can produce shared libraries" >&5 |
8068 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8088 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8069 case "$xehost_os" in | 8089 case "$xehost_os" in |
8070 *darwin*) | 8090 *darwin*) |
8071 xcldf='-bundle' | 8091 xcldf='-bundle' |
8072 xldf='-bundle -bundle_loader ../../src/xemacs' | 8092 xldf='-bundle -bundle_loader ../../src/xemacs' |
8121 LDFLAGS="$xcldf $LDFLAGS" | 8141 LDFLAGS="$xcldf $LDFLAGS" |
8122 LIBS= | 8142 LIBS= |
8123 xe_libs= | 8143 xe_libs= |
8124 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8144 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8125 cat > conftest.$ac_ext <<EOF | 8145 cat > conftest.$ac_ext <<EOF |
8126 #line 8127 "configure" | 8146 #line 8147 "configure" |
8127 #include "confdefs.h" | 8147 #include "confdefs.h" |
8128 | 8148 |
8129 int main() { | 8149 int main() { |
8130 int x=0; | 8150 int x=0; |
8131 ; return 0; } | 8151 ; return 0; } |
8132 EOF | 8152 EOF |
8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8153 if { (eval echo configure:8154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8134 rm -rf conftest* | 8154 rm -rf conftest* |
8135 cc_produces_so=yes | 8155 cc_produces_so=yes |
8136 else | 8156 else |
8137 echo "configure: failed program was:" >&5 | 8157 echo "configure: failed program was:" >&5 |
8138 cat conftest.$ac_ext >&5 | 8158 cat conftest.$ac_ext >&5 |
8153 if test -z "$LTLD"; then | 8173 if test -z "$LTLD"; then |
8154 ac_prog=ld | 8174 ac_prog=ld |
8155 if test "$XEGCC" = yes; then | 8175 if test "$XEGCC" = yes; then |
8156 # Check if gcc -print-prog-name=ld gives a path. | 8176 # Check if gcc -print-prog-name=ld gives a path. |
8157 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8177 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8158 echo "configure:8159: checking for ld used by GCC" >&5 | 8178 echo "configure:8179: checking for ld used by GCC" >&5 |
8159 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8179 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8160 case "$ac_prog" in | 8180 case "$ac_prog" in |
8161 # Accept absolute paths. | 8181 # Accept absolute paths. |
8162 /*) | 8182 /*) |
8163 if test -z "$LTLD"; then | 8183 if test -z "$LTLD"; then |
8179 with_gnu_ld=unknown | 8199 with_gnu_ld=unknown |
8180 ;; | 8200 ;; |
8181 esac | 8201 esac |
8182 else | 8202 else |
8183 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8203 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8184 echo "configure:8185: checking for GNU ld" >&5 | 8204 echo "configure:8205: checking for GNU ld" >&5 |
8185 fi | 8205 fi |
8186 | 8206 |
8187 if test -z "$LTLD"; then | 8207 if test -z "$LTLD"; then |
8188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8189 for ac_dir in $PATH; do | 8209 for ac_dir in $PATH; do |
8217 | 8237 |
8218 ld_dynamic_link_flags= | 8238 ld_dynamic_link_flags= |
8219 | 8239 |
8220 # Check to see if it really is or isn't GNU ld. | 8240 # Check to see if it really is or isn't GNU ld. |
8221 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8241 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8222 echo "configure:8223: checking if the linker is GNU ld" >&5 | 8242 echo "configure:8243: checking if the linker is GNU ld" >&5 |
8223 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8243 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8224 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8244 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8225 xe_gnu_ld=yes | 8245 xe_gnu_ld=yes |
8226 else | 8246 else |
8227 xe_gnu_ld=no | 8247 xe_gnu_ld=no |
8252 ld_shlibs=yes | 8272 ld_shlibs=yes |
8253 else | 8273 else |
8254 # OK - only NOW do we futz about with ld. | 8274 # OK - only NOW do we futz about with ld. |
8255 # See if the linker supports building shared libraries. | 8275 # See if the linker supports building shared libraries. |
8256 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8276 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8257 echo "configure:8258: checking whether the linker supports shared libraries" >&5 | 8277 echo "configure:8278: checking whether the linker supports shared libraries" >&5 |
8258 dll_ld=$CC | 8278 dll_ld=$CC |
8259 dll_ldflags=$LDFLAGS | 8279 dll_ldflags=$LDFLAGS |
8260 ld_shlibs=yes | 8280 ld_shlibs=yes |
8261 can_build_shared=yes | 8281 can_build_shared=yes |
8262 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8282 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
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 | 8485 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8466 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8486 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8467 for ac_func in dlerror _dlerror | 8487 for ac_func in dlerror _dlerror |
8468 do | 8488 do |
8469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8470 echo "configure:8471: checking for $ac_func" >&5 | 8490 echo "configure:8491: checking for $ac_func" >&5 |
8471 | 8491 |
8472 cat > conftest.$ac_ext <<EOF | 8492 cat > conftest.$ac_ext <<EOF |
8473 #line 8474 "configure" | 8493 #line 8494 "configure" |
8474 #include "confdefs.h" | 8494 #include "confdefs.h" |
8475 /* System header to define __stub macros and hopefully few prototypes, | 8495 /* System header to define __stub macros and hopefully few prototypes, |
8476 which can conflict with char $ac_func(); below. */ | 8496 which can conflict with char $ac_func(); below. */ |
8477 #include <assert.h> | 8497 #include <assert.h> |
8478 /* Override any gcc2 internal prototype to avoid an error. */ | 8498 /* Override any gcc2 internal prototype to avoid an error. */ |
8491 $ac_func(); | 8511 $ac_func(); |
8492 #endif | 8512 #endif |
8493 | 8513 |
8494 ; return 0; } | 8514 ; return 0; } |
8495 EOF | 8515 EOF |
8496 if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8516 if { (eval echo configure:8517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8497 rm -rf conftest* | 8517 rm -rf conftest* |
8498 eval "ac_cv_func_$ac_func=yes" | 8518 eval "ac_cv_func_$ac_func=yes" |
8499 else | 8519 else |
8500 echo "configure: failed program was:" >&5 | 8520 echo "configure: failed program was:" >&5 |
8501 cat conftest.$ac_ext >&5 | 8521 cat conftest.$ac_ext >&5 |
8555 | 8575 |
8556 if test "$with_tooltalk" != "no" ; then | 8576 if test "$with_tooltalk" != "no" ; then |
8557 for dir in "" "Tt/" "desktop/" ; do | 8577 for dir in "" "Tt/" "desktop/" ; do |
8558 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8578 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8559 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8579 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8560 echo "configure:8561: checking for ${dir}tt_c.h" >&5 | 8580 echo "configure:8581: checking for ${dir}tt_c.h" >&5 |
8561 | 8581 |
8562 cat > conftest.$ac_ext <<EOF | 8582 cat > conftest.$ac_ext <<EOF |
8563 #line 8564 "configure" | 8583 #line 8584 "configure" |
8564 #include "confdefs.h" | 8584 #include "confdefs.h" |
8565 #include <${dir}tt_c.h> | 8585 #include <${dir}tt_c.h> |
8566 EOF | 8586 EOF |
8567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8568 { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8570 if test -z "$ac_err"; then | 8590 if test -z "$ac_err"; then |
8571 rm -rf conftest* | 8591 rm -rf conftest* |
8572 eval "ac_cv_header_$ac_safe=yes" | 8592 eval "ac_cv_header_$ac_safe=yes" |
8573 else | 8593 else |
8599 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8619 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8600 | 8620 |
8601 xe_msg_checking="for tt_message_create in -ltt" | 8621 xe_msg_checking="for tt_message_create in -ltt" |
8602 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8622 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8603 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8623 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8604 echo "configure:8605: checking "$xe_msg_checking"" >&5 | 8624 echo "configure:8625: checking "$xe_msg_checking"" >&5 |
8605 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8625 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8606 | 8626 |
8607 xe_check_libs=" -ltt $extra_libs" | 8627 xe_check_libs=" -ltt $extra_libs" |
8608 cat > conftest.$ac_ext <<EOF | 8628 cat > conftest.$ac_ext <<EOF |
8609 #line 8610 "configure" | 8629 #line 8630 "configure" |
8610 #include "confdefs.h" | 8630 #include "confdefs.h" |
8611 /* Override any gcc2 internal prototype to avoid an error. */ | 8631 /* Override any gcc2 internal prototype to avoid an error. */ |
8612 /* We use char because int might match the return type of a gcc2 | 8632 /* We use char because int might match the return type of a gcc2 |
8613 builtin and then its argument prototype would still apply. */ | 8633 builtin and then its argument prototype would still apply. */ |
8614 char tt_message_create(); | 8634 char tt_message_create(); |
8615 | 8635 |
8616 int main() { | 8636 int main() { |
8617 tt_message_create() | 8637 tt_message_create() |
8618 ; return 0; } | 8638 ; return 0; } |
8619 EOF | 8639 EOF |
8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8640 if { (eval echo configure:8641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8621 rm -rf conftest* | 8641 rm -rf conftest* |
8622 eval "ac_cv_lib_$ac_lib_var=yes" | 8642 eval "ac_cv_lib_$ac_lib_var=yes" |
8623 else | 8643 else |
8624 echo "configure: failed program was:" >&5 | 8644 echo "configure: failed program was:" >&5 |
8625 cat conftest.$ac_ext >&5 | 8645 cat conftest.$ac_ext >&5 |
8669 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8689 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8670 fi | 8690 fi |
8671 | 8691 |
8672 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8692 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8673 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8693 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8674 echo "configure:8675: checking for Dt/Dt.h" >&5 | 8694 echo "configure:8695: checking for Dt/Dt.h" >&5 |
8675 | 8695 |
8676 cat > conftest.$ac_ext <<EOF | 8696 cat > conftest.$ac_ext <<EOF |
8677 #line 8678 "configure" | 8697 #line 8698 "configure" |
8678 #include "confdefs.h" | 8698 #include "confdefs.h" |
8679 #include <Dt/Dt.h> | 8699 #include <Dt/Dt.h> |
8680 EOF | 8700 EOF |
8681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8682 { (eval echo configure:8683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8702 { (eval echo configure:8703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8684 if test -z "$ac_err"; then | 8704 if test -z "$ac_err"; then |
8685 rm -rf conftest* | 8705 rm -rf conftest* |
8686 eval "ac_cv_header_$ac_safe=yes" | 8706 eval "ac_cv_header_$ac_safe=yes" |
8687 else | 8707 else |
8700 with_cde=no | 8720 with_cde=no |
8701 fi | 8721 fi |
8702 } | 8722 } |
8703 test -z "$with_cde" && { | 8723 test -z "$with_cde" && { |
8704 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8724 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8705 echo "configure:8706: checking for DtDndDragStart in -lDtSvc" >&5 | 8725 echo "configure:8726: checking for DtDndDragStart in -lDtSvc" >&5 |
8706 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8726 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8707 | 8727 |
8708 xe_check_libs=" -lDtSvc " | 8728 xe_check_libs=" -lDtSvc " |
8709 cat > conftest.$ac_ext <<EOF | 8729 cat > conftest.$ac_ext <<EOF |
8710 #line 8711 "configure" | 8730 #line 8731 "configure" |
8711 #include "confdefs.h" | 8731 #include "confdefs.h" |
8712 /* Override any gcc2 internal prototype to avoid an error. */ | 8732 /* Override any gcc2 internal prototype to avoid an error. */ |
8713 /* We use char because int might match the return type of a gcc2 | 8733 /* We use char because int might match the return type of a gcc2 |
8714 builtin and then its argument prototype would still apply. */ | 8734 builtin and then its argument prototype would still apply. */ |
8715 char DtDndDragStart(); | 8735 char DtDndDragStart(); |
8716 | 8736 |
8717 int main() { | 8737 int main() { |
8718 DtDndDragStart() | 8738 DtDndDragStart() |
8719 ; return 0; } | 8739 ; return 0; } |
8720 EOF | 8740 EOF |
8721 if { (eval echo configure:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8741 if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8722 rm -rf conftest* | 8742 rm -rf conftest* |
8723 eval "ac_cv_lib_$ac_lib_var=yes" | 8743 eval "ac_cv_lib_$ac_lib_var=yes" |
8724 else | 8744 else |
8725 echo "configure: failed program was:" >&5 | 8745 echo "configure: failed program was:" >&5 |
8726 cat conftest.$ac_ext >&5 | 8746 cat conftest.$ac_ext >&5 |
8797 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8817 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8798 fi | 8818 fi |
8799 | 8819 |
8800 if test "$with_dragndrop" != "no" ; then | 8820 if test "$with_dragndrop" != "no" ; then |
8801 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8821 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8802 echo "configure:8803: checking if drag and drop API is needed" >&5 | 8822 echo "configure:8823: checking if drag and drop API is needed" >&5 |
8803 if test -n "$dragndrop_proto" ; then | 8823 if test -n "$dragndrop_proto" ; then |
8804 with_dragndrop=yes | 8824 with_dragndrop=yes |
8805 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8825 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8806 { test "$extra_verbose" = "yes" && cat << \EOF | 8826 { test "$extra_verbose" = "yes" && cat << \EOF |
8807 Defining HAVE_DRAGNDROP | 8827 Defining HAVE_DRAGNDROP |
8817 echo "$ac_t""no" 1>&6 | 8837 echo "$ac_t""no" 1>&6 |
8818 fi | 8838 fi |
8819 fi | 8839 fi |
8820 | 8840 |
8821 echo "checking for LDAP" 1>&6 | 8841 echo "checking for LDAP" 1>&6 |
8822 echo "configure:8823: checking for LDAP" >&5 | 8842 echo "configure:8843: checking for LDAP" >&5 |
8823 ldap_libs= | 8843 ldap_libs= |
8824 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8844 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8825 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8845 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8826 echo "configure:8827: checking for ldap.h" >&5 | 8846 echo "configure:8847: checking for ldap.h" >&5 |
8827 | 8847 |
8828 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
8829 #line 8830 "configure" | 8849 #line 8850 "configure" |
8830 #include "confdefs.h" | 8850 #include "confdefs.h" |
8831 #include <ldap.h> | 8851 #include <ldap.h> |
8832 EOF | 8852 EOF |
8833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8834 { (eval echo configure:8835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8854 { (eval echo configure:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8836 if test -z "$ac_err"; then | 8856 if test -z "$ac_err"; then |
8837 rm -rf conftest* | 8857 rm -rf conftest* |
8838 eval "ac_cv_header_$ac_safe=yes" | 8858 eval "ac_cv_header_$ac_safe=yes" |
8839 else | 8859 else |
8852 with_ldap=no | 8872 with_ldap=no |
8853 fi | 8873 fi |
8854 } | 8874 } |
8855 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8875 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8856 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8876 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8857 echo "configure:8858: checking for lber.h" >&5 | 8877 echo "configure:8878: checking for lber.h" >&5 |
8858 | 8878 |
8859 cat > conftest.$ac_ext <<EOF | 8879 cat > conftest.$ac_ext <<EOF |
8860 #line 8861 "configure" | 8880 #line 8881 "configure" |
8861 #include "confdefs.h" | 8881 #include "confdefs.h" |
8862 #include <lber.h> | 8882 #include <lber.h> |
8863 EOF | 8883 EOF |
8864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8865 { (eval echo configure:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8885 { (eval echo configure:8886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8867 if test -z "$ac_err"; then | 8887 if test -z "$ac_err"; then |
8868 rm -rf conftest* | 8888 rm -rf conftest* |
8869 eval "ac_cv_header_$ac_safe=yes" | 8889 eval "ac_cv_header_$ac_safe=yes" |
8870 else | 8890 else |
8884 fi | 8904 fi |
8885 } | 8905 } |
8886 if test "$with_ldap" != "no"; then | 8906 if test "$with_ldap" != "no"; then |
8887 | 8907 |
8888 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8908 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8889 echo "configure:8890: checking for ldap_search in -lldap" >&5 | 8909 echo "configure:8910: checking for ldap_search in -lldap" >&5 |
8890 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8910 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8891 | 8911 |
8892 xe_check_libs=" -lldap " | 8912 xe_check_libs=" -lldap " |
8893 cat > conftest.$ac_ext <<EOF | 8913 cat > conftest.$ac_ext <<EOF |
8894 #line 8895 "configure" | 8914 #line 8915 "configure" |
8895 #include "confdefs.h" | 8915 #include "confdefs.h" |
8896 /* Override any gcc2 internal prototype to avoid an error. */ | 8916 /* Override any gcc2 internal prototype to avoid an error. */ |
8897 /* We use char because int might match the return type of a gcc2 | 8917 /* We use char because int might match the return type of a gcc2 |
8898 builtin and then its argument prototype would still apply. */ | 8918 builtin and then its argument prototype would still apply. */ |
8899 char ldap_search(); | 8919 char ldap_search(); |
8900 | 8920 |
8901 int main() { | 8921 int main() { |
8902 ldap_search() | 8922 ldap_search() |
8903 ; return 0; } | 8923 ; return 0; } |
8904 EOF | 8924 EOF |
8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8925 if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8906 rm -rf conftest* | 8926 rm -rf conftest* |
8907 eval "ac_cv_lib_$ac_lib_var=yes" | 8927 eval "ac_cv_lib_$ac_lib_var=yes" |
8908 else | 8928 else |
8909 echo "configure: failed program was:" >&5 | 8929 echo "configure: failed program was:" >&5 |
8910 cat conftest.$ac_ext >&5 | 8930 cat conftest.$ac_ext >&5 |
8925 | 8945 |
8926 test "$with_ldap_nolber" = "no" && { | 8946 test "$with_ldap_nolber" = "no" && { |
8927 xe_msg_checking="for ldap_open in -lldap" | 8947 xe_msg_checking="for ldap_open in -lldap" |
8928 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8948 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8930 echo "configure:8931: checking "$xe_msg_checking"" >&5 | 8950 echo "configure:8951: checking "$xe_msg_checking"" >&5 |
8931 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8951 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8932 | 8952 |
8933 xe_check_libs=" -lldap -llber" | 8953 xe_check_libs=" -lldap -llber" |
8934 cat > conftest.$ac_ext <<EOF | 8954 cat > conftest.$ac_ext <<EOF |
8935 #line 8936 "configure" | 8955 #line 8956 "configure" |
8936 #include "confdefs.h" | 8956 #include "confdefs.h" |
8937 /* Override any gcc2 internal prototype to avoid an error. */ | 8957 /* Override any gcc2 internal prototype to avoid an error. */ |
8938 /* We use char because int might match the return type of a gcc2 | 8958 /* We use char because int might match the return type of a gcc2 |
8939 builtin and then its argument prototype would still apply. */ | 8959 builtin and then its argument prototype would still apply. */ |
8940 char ldap_open(); | 8960 char ldap_open(); |
8941 | 8961 |
8942 int main() { | 8962 int main() { |
8943 ldap_open() | 8963 ldap_open() |
8944 ; return 0; } | 8964 ; return 0; } |
8945 EOF | 8965 EOF |
8946 if { (eval echo configure:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8966 if { (eval echo configure:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8947 rm -rf conftest* | 8967 rm -rf conftest* |
8948 eval "ac_cv_lib_$ac_lib_var=yes" | 8968 eval "ac_cv_lib_$ac_lib_var=yes" |
8949 else | 8969 else |
8950 echo "configure: failed program was:" >&5 | 8970 echo "configure: failed program was:" >&5 |
8951 cat conftest.$ac_ext >&5 | 8971 cat conftest.$ac_ext >&5 |
8966 } | 8986 } |
8967 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8987 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8968 xe_msg_checking="for ldap_open in -lldap" | 8988 xe_msg_checking="for ldap_open in -lldap" |
8969 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8989 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8990 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8971 echo "configure:8972: checking "$xe_msg_checking"" >&5 | 8991 echo "configure:8992: checking "$xe_msg_checking"" >&5 |
8972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8992 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8973 | 8993 |
8974 xe_check_libs=" -lldap -llber -lkrb" | 8994 xe_check_libs=" -lldap -llber -lkrb" |
8975 cat > conftest.$ac_ext <<EOF | 8995 cat > conftest.$ac_ext <<EOF |
8976 #line 8977 "configure" | 8996 #line 8997 "configure" |
8977 #include "confdefs.h" | 8997 #include "confdefs.h" |
8978 /* Override any gcc2 internal prototype to avoid an error. */ | 8998 /* Override any gcc2 internal prototype to avoid an error. */ |
8979 /* We use char because int might match the return type of a gcc2 | 8999 /* We use char because int might match the return type of a gcc2 |
8980 builtin and then its argument prototype would still apply. */ | 9000 builtin and then its argument prototype would still apply. */ |
8981 char ldap_open(); | 9001 char ldap_open(); |
8982 | 9002 |
8983 int main() { | 9003 int main() { |
8984 ldap_open() | 9004 ldap_open() |
8985 ; return 0; } | 9005 ; return 0; } |
8986 EOF | 9006 EOF |
8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8988 rm -rf conftest* | 9008 rm -rf conftest* |
8989 eval "ac_cv_lib_$ac_lib_var=yes" | 9009 eval "ac_cv_lib_$ac_lib_var=yes" |
8990 else | 9010 else |
8991 echo "configure: failed program was:" >&5 | 9011 echo "configure: failed program was:" >&5 |
8992 cat conftest.$ac_ext >&5 | 9012 cat conftest.$ac_ext >&5 |
9007 } | 9027 } |
9008 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 9028 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
9009 xe_msg_checking="for ldap_open in -lldap" | 9029 xe_msg_checking="for ldap_open in -lldap" |
9010 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9030 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9011 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9031 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9012 echo "configure:9013: checking "$xe_msg_checking"" >&5 | 9032 echo "configure:9033: checking "$xe_msg_checking"" >&5 |
9013 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9033 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9014 | 9034 |
9015 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9035 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9016 cat > conftest.$ac_ext <<EOF | 9036 cat > conftest.$ac_ext <<EOF |
9017 #line 9018 "configure" | 9037 #line 9038 "configure" |
9018 #include "confdefs.h" | 9038 #include "confdefs.h" |
9019 /* Override any gcc2 internal prototype to avoid an error. */ | 9039 /* Override any gcc2 internal prototype to avoid an error. */ |
9020 /* We use char because int might match the return type of a gcc2 | 9040 /* We use char because int might match the return type of a gcc2 |
9021 builtin and then its argument prototype would still apply. */ | 9041 builtin and then its argument prototype would still apply. */ |
9022 char ldap_open(); | 9042 char ldap_open(); |
9023 | 9043 |
9024 int main() { | 9044 int main() { |
9025 ldap_open() | 9045 ldap_open() |
9026 ; return 0; } | 9046 ; return 0; } |
9027 EOF | 9047 EOF |
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9048 if { (eval echo configure:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9029 rm -rf conftest* | 9049 rm -rf conftest* |
9030 eval "ac_cv_lib_$ac_lib_var=yes" | 9050 eval "ac_cv_lib_$ac_lib_var=yes" |
9031 else | 9051 else |
9032 echo "configure: failed program was:" >&5 | 9052 echo "configure: failed program was:" >&5 |
9033 cat conftest.$ac_ext >&5 | 9053 cat conftest.$ac_ext >&5 |
9072 fi | 9092 fi |
9073 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9093 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9074 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9094 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9075 do | 9095 do |
9076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9077 echo "configure:9078: checking for $ac_func" >&5 | 9097 echo "configure:9098: checking for $ac_func" >&5 |
9078 | 9098 |
9079 cat > conftest.$ac_ext <<EOF | 9099 cat > conftest.$ac_ext <<EOF |
9080 #line 9081 "configure" | 9100 #line 9101 "configure" |
9081 #include "confdefs.h" | 9101 #include "confdefs.h" |
9082 /* System header to define __stub macros and hopefully few prototypes, | 9102 /* System header to define __stub macros and hopefully few prototypes, |
9083 which can conflict with char $ac_func(); below. */ | 9103 which can conflict with char $ac_func(); below. */ |
9084 #include <assert.h> | 9104 #include <assert.h> |
9085 /* Override any gcc2 internal prototype to avoid an error. */ | 9105 /* Override any gcc2 internal prototype to avoid an error. */ |
9098 $ac_func(); | 9118 $ac_func(); |
9099 #endif | 9119 #endif |
9100 | 9120 |
9101 ; return 0; } | 9121 ; return 0; } |
9102 EOF | 9122 EOF |
9103 if { (eval echo configure:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9123 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9104 rm -rf conftest* | 9124 rm -rf conftest* |
9105 eval "ac_cv_func_$ac_func=yes" | 9125 eval "ac_cv_func_$ac_func=yes" |
9106 else | 9126 else |
9107 echo "configure: failed program was:" >&5 | 9127 echo "configure: failed program was:" >&5 |
9108 cat conftest.$ac_ext >&5 | 9128 cat conftest.$ac_ext >&5 |
9137 | 9157 |
9138 | 9158 |
9139 postgresql_libs= | 9159 postgresql_libs= |
9140 if test "$with_postgresql" != "no"; then | 9160 if test "$with_postgresql" != "no"; then |
9141 echo "checking for PostgreSQL" 1>&6 | 9161 echo "checking for PostgreSQL" 1>&6 |
9142 echo "configure:9143: checking for PostgreSQL" >&5 | 9162 echo "configure:9163: checking for PostgreSQL" >&5 |
9143 | 9163 |
9144 for header_dir in "" "pgsql/" "postgresql/"; do | 9164 for header_dir in "" "pgsql/" "postgresql/"; do |
9145 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9165 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9146 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9166 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9147 echo "configure:9148: checking for ${header_dir}libpq-fe.h" >&5 | 9167 echo "configure:9168: checking for ${header_dir}libpq-fe.h" >&5 |
9148 | 9168 |
9149 cat > conftest.$ac_ext <<EOF | 9169 cat > conftest.$ac_ext <<EOF |
9150 #line 9151 "configure" | 9170 #line 9171 "configure" |
9151 #include "confdefs.h" | 9171 #include "confdefs.h" |
9152 #include <${header_dir}libpq-fe.h> | 9172 #include <${header_dir}libpq-fe.h> |
9153 EOF | 9173 EOF |
9154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9155 { (eval echo configure:9156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9175 { (eval echo configure:9176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9157 if test -z "$ac_err"; then | 9177 if test -z "$ac_err"; then |
9158 rm -rf conftest* | 9178 rm -rf conftest* |
9159 eval "ac_cv_header_$ac_safe=yes" | 9179 eval "ac_cv_header_$ac_safe=yes" |
9160 else | 9180 else |
9174 | 9194 |
9175 done | 9195 done |
9176 | 9196 |
9177 test -n "$libpq_fe_h_file" && { | 9197 test -n "$libpq_fe_h_file" && { |
9178 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9198 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9179 echo "configure:9180: checking for PQconnectdb in -lpq" >&5 | 9199 echo "configure:9200: checking for PQconnectdb in -lpq" >&5 |
9180 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9200 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9181 | 9201 |
9182 xe_check_libs=" -lpq " | 9202 xe_check_libs=" -lpq " |
9183 cat > conftest.$ac_ext <<EOF | 9203 cat > conftest.$ac_ext <<EOF |
9184 #line 9185 "configure" | 9204 #line 9205 "configure" |
9185 #include "confdefs.h" | 9205 #include "confdefs.h" |
9186 /* Override any gcc2 internal prototype to avoid an error. */ | 9206 /* Override any gcc2 internal prototype to avoid an error. */ |
9187 /* We use char because int might match the return type of a gcc2 | 9207 /* We use char because int might match the return type of a gcc2 |
9188 builtin and then its argument prototype would still apply. */ | 9208 builtin and then its argument prototype would still apply. */ |
9189 char PQconnectdb(); | 9209 char PQconnectdb(); |
9190 | 9210 |
9191 int main() { | 9211 int main() { |
9192 PQconnectdb() | 9212 PQconnectdb() |
9193 ; return 0; } | 9213 ; return 0; } |
9194 EOF | 9214 EOF |
9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9196 rm -rf conftest* | 9216 rm -rf conftest* |
9197 eval "ac_cv_lib_$ac_lib_var=yes" | 9217 eval "ac_cv_lib_$ac_lib_var=yes" |
9198 else | 9218 else |
9199 echo "configure: failed program was:" >&5 | 9219 echo "configure: failed program was:" >&5 |
9200 cat conftest.$ac_ext >&5 | 9220 cat conftest.$ac_ext >&5 |
9223 EOF | 9243 EOF |
9224 } | 9244 } |
9225 | 9245 |
9226 | 9246 |
9227 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9247 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9228 echo "configure:9229: checking for PQconnectStart in -lpq" >&5 | 9248 echo "configure:9249: checking for PQconnectStart in -lpq" >&5 |
9229 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9249 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9230 | 9250 |
9231 xe_check_libs=" -lpq " | 9251 xe_check_libs=" -lpq " |
9232 cat > conftest.$ac_ext <<EOF | 9252 cat > conftest.$ac_ext <<EOF |
9233 #line 9234 "configure" | 9253 #line 9254 "configure" |
9234 #include "confdefs.h" | 9254 #include "confdefs.h" |
9235 /* Override any gcc2 internal prototype to avoid an error. */ | 9255 /* Override any gcc2 internal prototype to avoid an error. */ |
9236 /* We use char because int might match the return type of a gcc2 | 9256 /* We use char because int might match the return type of a gcc2 |
9237 builtin and then its argument prototype would still apply. */ | 9257 builtin and then its argument prototype would still apply. */ |
9238 char PQconnectStart(); | 9258 char PQconnectStart(); |
9239 | 9259 |
9240 int main() { | 9260 int main() { |
9241 PQconnectStart() | 9261 PQconnectStart() |
9242 ; return 0; } | 9262 ; return 0; } |
9243 EOF | 9263 EOF |
9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9245 rm -rf conftest* | 9265 rm -rf conftest* |
9246 eval "ac_cv_lib_$ac_lib_var=yes" | 9266 eval "ac_cv_lib_$ac_lib_var=yes" |
9247 else | 9267 else |
9248 echo "configure: failed program was:" >&5 | 9268 echo "configure: failed program was:" >&5 |
9249 cat conftest.$ac_ext >&5 | 9269 cat conftest.$ac_ext >&5 |
9290 | 9310 |
9291 | 9311 |
9292 | 9312 |
9293 if test "$window_system" != "none"; then | 9313 if test "$window_system" != "none"; then |
9294 echo "checking for graphics libraries" 1>&6 | 9314 echo "checking for graphics libraries" 1>&6 |
9295 echo "configure:9296: checking for graphics libraries" >&5 | 9315 echo "configure:9316: checking for graphics libraries" >&5 |
9296 | 9316 |
9297 libpath_xpm= | 9317 libpath_xpm= |
9298 incpath_xpm= | 9318 incpath_xpm= |
9299 case "$opsys" in | 9319 case "$opsys" in |
9300 cygwin*) | 9320 cygwin*) |
9316 xpm_problem="" | 9336 xpm_problem="" |
9317 if test -z "$with_xpm"; then | 9337 if test -z "$with_xpm"; then |
9318 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9338 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9319 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9339 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9320 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9340 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9321 echo "configure:9322: checking for Xpm - no older than 3.4f" >&5 | 9341 echo "configure:9342: checking for Xpm - no older than 3.4f" >&5 |
9322 xe_check_libs=-lXpm | 9342 xe_check_libs=-lXpm |
9323 cat > conftest.$ac_ext <<EOF | 9343 cat > conftest.$ac_ext <<EOF |
9324 #line 9325 "configure" | 9344 #line 9345 "configure" |
9325 #include "confdefs.h" | 9345 #include "confdefs.h" |
9326 #define XPM_NUMBERS | 9346 #define XPM_NUMBERS |
9327 #include <X11/xpm.h> | 9347 #include <X11/xpm.h> |
9328 int main(int c, char **v) { | 9348 int main(int c, char **v) { |
9329 return c == 1 ? 0 : | 9349 return c == 1 ? 0 : |
9330 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9350 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9331 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9351 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9332 EOF | 9352 EOF |
9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9353 if { (eval echo configure:9354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9334 then | 9354 then |
9335 ./conftest dummy_arg; xpm_status=$?; | 9355 ./conftest dummy_arg; xpm_status=$?; |
9336 if test "$xpm_status" = "0"; then | 9356 if test "$xpm_status" = "0"; then |
9337 with_xpm=yes; | 9357 with_xpm=yes; |
9338 else | 9358 else |
9372 | 9392 |
9373 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9393 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9374 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9394 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9375 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9395 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9376 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9396 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9377 echo "configure:9378: checking for \"FOR_MSW\" xpm" >&5 | 9397 echo "configure:9398: checking for \"FOR_MSW\" xpm" >&5 |
9378 xe_check_libs=-lXpm | 9398 xe_check_libs=-lXpm |
9379 cat > conftest.$ac_ext <<EOF | 9399 cat > conftest.$ac_ext <<EOF |
9380 #line 9381 "configure" | 9400 #line 9401 "configure" |
9381 #include "confdefs.h" | 9401 #include "confdefs.h" |
9382 | 9402 |
9383 int main() { | 9403 int main() { |
9384 XpmCreatePixmapFromData() | 9404 XpmCreatePixmapFromData() |
9385 ; return 0; } | 9405 ; return 0; } |
9386 EOF | 9406 EOF |
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9388 rm -rf conftest* | 9408 rm -rf conftest* |
9389 xpm_for_msw=no | 9409 xpm_for_msw=no |
9390 else | 9410 else |
9391 echo "configure: failed program was:" >&5 | 9411 echo "configure: failed program was:" >&5 |
9392 cat conftest.$ac_ext >&5 | 9412 cat conftest.$ac_ext >&5 |
9408 fi | 9428 fi |
9409 fi | 9429 fi |
9410 | 9430 |
9411 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9431 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9412 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9413 echo "configure:9414: checking for compface.h" >&5 | 9433 echo "configure:9434: checking for compface.h" >&5 |
9414 | 9434 |
9415 cat > conftest.$ac_ext <<EOF | 9435 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9436 #line 9437 "configure" |
9417 #include "confdefs.h" | 9437 #include "confdefs.h" |
9418 #include <compface.h> | 9438 #include <compface.h> |
9419 EOF | 9439 EOF |
9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9441 { (eval echo configure:9442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9423 if test -z "$ac_err"; then | 9443 if test -z "$ac_err"; then |
9424 rm -rf conftest* | 9444 rm -rf conftest* |
9425 eval "ac_cv_header_$ac_safe=yes" | 9445 eval "ac_cv_header_$ac_safe=yes" |
9426 else | 9446 else |
9439 with_xface=no | 9459 with_xface=no |
9440 fi | 9460 fi |
9441 } | 9461 } |
9442 test -z "$with_xface" && { | 9462 test -z "$with_xface" && { |
9443 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9463 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for UnGenFace in -lcompface" >&5 | 9464 echo "configure:9465: checking for UnGenFace in -lcompface" >&5 |
9445 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9465 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9446 | 9466 |
9447 xe_check_libs=" -lcompface " | 9467 xe_check_libs=" -lcompface " |
9448 cat > conftest.$ac_ext <<EOF | 9468 cat > conftest.$ac_ext <<EOF |
9449 #line 9450 "configure" | 9469 #line 9470 "configure" |
9450 #include "confdefs.h" | 9470 #include "confdefs.h" |
9451 /* Override any gcc2 internal prototype to avoid an error. */ | 9471 /* Override any gcc2 internal prototype to avoid an error. */ |
9452 /* We use char because int might match the return type of a gcc2 | 9472 /* We use char because int might match the return type of a gcc2 |
9453 builtin and then its argument prototype would still apply. */ | 9473 builtin and then its argument prototype would still apply. */ |
9454 char UnGenFace(); | 9474 char UnGenFace(); |
9455 | 9475 |
9456 int main() { | 9476 int main() { |
9457 UnGenFace() | 9477 UnGenFace() |
9458 ; return 0; } | 9478 ; return 0; } |
9459 EOF | 9479 EOF |
9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9461 rm -rf conftest* | 9481 rm -rf conftest* |
9462 eval "ac_cv_lib_$ac_lib_var=yes" | 9482 eval "ac_cv_lib_$ac_lib_var=yes" |
9463 else | 9483 else |
9464 echo "configure: failed program was:" >&5 | 9484 echo "configure: failed program was:" >&5 |
9465 cat conftest.$ac_ext >&5 | 9485 cat conftest.$ac_ext >&5 |
9504 fi | 9524 fi |
9505 | 9525 |
9506 if test "$with_png $with_tiff" != "no no"; then | 9526 if test "$with_png $with_tiff" != "no no"; then |
9507 | 9527 |
9508 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9528 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9509 echo "configure:9510: checking for inflate in -lc" >&5 | 9529 echo "configure:9530: checking for inflate in -lc" >&5 |
9510 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9530 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9511 | 9531 |
9512 xe_check_libs=" -lc " | 9532 xe_check_libs=" -lc " |
9513 cat > conftest.$ac_ext <<EOF | 9533 cat > conftest.$ac_ext <<EOF |
9514 #line 9515 "configure" | 9534 #line 9535 "configure" |
9515 #include "confdefs.h" | 9535 #include "confdefs.h" |
9516 /* Override any gcc2 internal prototype to avoid an error. */ | 9536 /* Override any gcc2 internal prototype to avoid an error. */ |
9517 /* We use char because int might match the return type of a gcc2 | 9537 /* We use char because int might match the return type of a gcc2 |
9518 builtin and then its argument prototype would still apply. */ | 9538 builtin and then its argument prototype would still apply. */ |
9519 char inflate(); | 9539 char inflate(); |
9520 | 9540 |
9521 int main() { | 9541 int main() { |
9522 inflate() | 9542 inflate() |
9523 ; return 0; } | 9543 ; return 0; } |
9524 EOF | 9544 EOF |
9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9526 rm -rf conftest* | 9546 rm -rf conftest* |
9527 eval "ac_cv_lib_$ac_lib_var=yes" | 9547 eval "ac_cv_lib_$ac_lib_var=yes" |
9528 else | 9548 else |
9529 echo "configure: failed program was:" >&5 | 9549 echo "configure: failed program was:" >&5 |
9530 cat conftest.$ac_ext >&5 | 9550 cat conftest.$ac_ext >&5 |
9539 : | 9559 : |
9540 else | 9560 else |
9541 echo "$ac_t""no" 1>&6 | 9561 echo "$ac_t""no" 1>&6 |
9542 | 9562 |
9543 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9563 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9544 echo "configure:9545: checking for inflate in -lz" >&5 | 9564 echo "configure:9565: checking for inflate in -lz" >&5 |
9545 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9565 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9546 | 9566 |
9547 xe_check_libs=" -lz " | 9567 xe_check_libs=" -lz " |
9548 cat > conftest.$ac_ext <<EOF | 9568 cat > conftest.$ac_ext <<EOF |
9549 #line 9550 "configure" | 9569 #line 9570 "configure" |
9550 #include "confdefs.h" | 9570 #include "confdefs.h" |
9551 /* Override any gcc2 internal prototype to avoid an error. */ | 9571 /* Override any gcc2 internal prototype to avoid an error. */ |
9552 /* We use char because int might match the return type of a gcc2 | 9572 /* We use char because int might match the return type of a gcc2 |
9553 builtin and then its argument prototype would still apply. */ | 9573 builtin and then its argument prototype would still apply. */ |
9554 char inflate(); | 9574 char inflate(); |
9555 | 9575 |
9556 int main() { | 9576 int main() { |
9557 inflate() | 9577 inflate() |
9558 ; return 0; } | 9578 ; return 0; } |
9559 EOF | 9579 EOF |
9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9580 if { (eval echo configure:9581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9561 rm -rf conftest* | 9581 rm -rf conftest* |
9562 eval "ac_cv_lib_$ac_lib_var=yes" | 9582 eval "ac_cv_lib_$ac_lib_var=yes" |
9563 else | 9583 else |
9564 echo "configure: failed program was:" >&5 | 9584 echo "configure: failed program was:" >&5 |
9565 cat conftest.$ac_ext >&5 | 9585 cat conftest.$ac_ext >&5 |
9574 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9594 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9575 else | 9595 else |
9576 echo "$ac_t""no" 1>&6 | 9596 echo "$ac_t""no" 1>&6 |
9577 | 9597 |
9578 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9598 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9579 echo "configure:9580: checking for inflate in -lgz" >&5 | 9599 echo "configure:9600: checking for inflate in -lgz" >&5 |
9580 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9600 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9581 | 9601 |
9582 xe_check_libs=" -lgz " | 9602 xe_check_libs=" -lgz " |
9583 cat > conftest.$ac_ext <<EOF | 9603 cat > conftest.$ac_ext <<EOF |
9584 #line 9585 "configure" | 9604 #line 9605 "configure" |
9585 #include "confdefs.h" | 9605 #include "confdefs.h" |
9586 /* Override any gcc2 internal prototype to avoid an error. */ | 9606 /* Override any gcc2 internal prototype to avoid an error. */ |
9587 /* We use char because int might match the return type of a gcc2 | 9607 /* We use char because int might match the return type of a gcc2 |
9588 builtin and then its argument prototype would still apply. */ | 9608 builtin and then its argument prototype would still apply. */ |
9589 char inflate(); | 9609 char inflate(); |
9590 | 9610 |
9591 int main() { | 9611 int main() { |
9592 inflate() | 9612 inflate() |
9593 ; return 0; } | 9613 ; return 0; } |
9594 EOF | 9614 EOF |
9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9596 rm -rf conftest* | 9616 rm -rf conftest* |
9597 eval "ac_cv_lib_$ac_lib_var=yes" | 9617 eval "ac_cv_lib_$ac_lib_var=yes" |
9598 else | 9618 else |
9599 echo "configure: failed program was:" >&5 | 9619 echo "configure: failed program was:" >&5 |
9600 cat conftest.$ac_ext >&5 | 9620 cat conftest.$ac_ext >&5 |
9620 | 9640 |
9621 fi | 9641 fi |
9622 | 9642 |
9623 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9643 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9624 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9644 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking for jpeglib.h" >&5 | 9645 echo "configure:9646: checking for jpeglib.h" >&5 |
9626 | 9646 |
9627 cat > conftest.$ac_ext <<EOF | 9647 cat > conftest.$ac_ext <<EOF |
9628 #line 9629 "configure" | 9648 #line 9649 "configure" |
9629 #include "confdefs.h" | 9649 #include "confdefs.h" |
9630 #include <jpeglib.h> | 9650 #include <jpeglib.h> |
9631 EOF | 9651 EOF |
9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9653 { (eval echo configure:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9635 if test -z "$ac_err"; then | 9655 if test -z "$ac_err"; then |
9636 rm -rf conftest* | 9656 rm -rf conftest* |
9637 eval "ac_cv_header_$ac_safe=yes" | 9657 eval "ac_cv_header_$ac_safe=yes" |
9638 else | 9658 else |
9651 with_jpeg=no | 9671 with_jpeg=no |
9652 fi | 9672 fi |
9653 } | 9673 } |
9654 test -z "$with_jpeg" && { | 9674 test -z "$with_jpeg" && { |
9655 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9675 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9656 echo "configure:9657: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9676 echo "configure:9677: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9657 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9677 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9658 | 9678 |
9659 xe_check_libs=" -ljpeg " | 9679 xe_check_libs=" -ljpeg " |
9660 cat > conftest.$ac_ext <<EOF | 9680 cat > conftest.$ac_ext <<EOF |
9661 #line 9662 "configure" | 9681 #line 9682 "configure" |
9662 #include "confdefs.h" | 9682 #include "confdefs.h" |
9663 /* Override any gcc2 internal prototype to avoid an error. */ | 9683 /* Override any gcc2 internal prototype to avoid an error. */ |
9664 /* We use char because int might match the return type of a gcc2 | 9684 /* We use char because int might match the return type of a gcc2 |
9665 builtin and then its argument prototype would still apply. */ | 9685 builtin and then its argument prototype would still apply. */ |
9666 char jpeg_destroy_decompress(); | 9686 char jpeg_destroy_decompress(); |
9667 | 9687 |
9668 int main() { | 9688 int main() { |
9669 jpeg_destroy_decompress() | 9689 jpeg_destroy_decompress() |
9670 ; return 0; } | 9690 ; return 0; } |
9671 EOF | 9691 EOF |
9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9692 if { (eval echo configure:9693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9673 rm -rf conftest* | 9693 rm -rf conftest* |
9674 eval "ac_cv_lib_$ac_lib_var=yes" | 9694 eval "ac_cv_lib_$ac_lib_var=yes" |
9675 else | 9695 else |
9676 echo "configure: failed program was:" >&5 | 9696 echo "configure: failed program was:" >&5 |
9677 cat conftest.$ac_ext >&5 | 9697 cat conftest.$ac_ext >&5 |
9703 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9723 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9704 fi | 9724 fi |
9705 | 9725 |
9706 png_problem="" | 9726 png_problem="" |
9707 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9727 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9708 echo "configure:9709: checking for pow" >&5 | 9728 echo "configure:9729: checking for pow" >&5 |
9709 | 9729 |
9710 cat > conftest.$ac_ext <<EOF | 9730 cat > conftest.$ac_ext <<EOF |
9711 #line 9712 "configure" | 9731 #line 9732 "configure" |
9712 #include "confdefs.h" | 9732 #include "confdefs.h" |
9713 /* System header to define __stub macros and hopefully few prototypes, | 9733 /* System header to define __stub macros and hopefully few prototypes, |
9714 which can conflict with char pow(); below. */ | 9734 which can conflict with char pow(); below. */ |
9715 #include <assert.h> | 9735 #include <assert.h> |
9716 /* Override any gcc2 internal prototype to avoid an error. */ | 9736 /* Override any gcc2 internal prototype to avoid an error. */ |
9729 pow(); | 9749 pow(); |
9730 #endif | 9750 #endif |
9731 | 9751 |
9732 ; return 0; } | 9752 ; return 0; } |
9733 EOF | 9753 EOF |
9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9735 rm -rf conftest* | 9755 rm -rf conftest* |
9736 eval "ac_cv_func_pow=yes" | 9756 eval "ac_cv_func_pow=yes" |
9737 else | 9757 else |
9738 echo "configure: failed program was:" >&5 | 9758 echo "configure: failed program was:" >&5 |
9739 cat conftest.$ac_ext >&5 | 9759 cat conftest.$ac_ext >&5 |
9750 with_png=no | 9770 with_png=no |
9751 fi | 9771 fi |
9752 } | 9772 } |
9753 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9773 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9754 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9774 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9755 echo "configure:9756: checking for png.h" >&5 | 9775 echo "configure:9776: checking for png.h" >&5 |
9756 | 9776 |
9757 cat > conftest.$ac_ext <<EOF | 9777 cat > conftest.$ac_ext <<EOF |
9758 #line 9759 "configure" | 9778 #line 9779 "configure" |
9759 #include "confdefs.h" | 9779 #include "confdefs.h" |
9760 #include <png.h> | 9780 #include <png.h> |
9761 EOF | 9781 EOF |
9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9783 { (eval echo configure:9784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9765 if test -z "$ac_err"; then | 9785 if test -z "$ac_err"; then |
9766 rm -rf conftest* | 9786 rm -rf conftest* |
9767 eval "ac_cv_header_$ac_safe=yes" | 9787 eval "ac_cv_header_$ac_safe=yes" |
9768 else | 9788 else |
9781 with_png=no | 9801 with_png=no |
9782 fi | 9802 fi |
9783 } | 9803 } |
9784 test -z "$with_png" && { | 9804 test -z "$with_png" && { |
9785 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9805 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for png_read_image in -lpng" >&5 | 9806 echo "configure:9807: checking for png_read_image in -lpng" >&5 |
9787 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9807 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9788 | 9808 |
9789 xe_check_libs=" -lpng " | 9809 xe_check_libs=" -lpng " |
9790 cat > conftest.$ac_ext <<EOF | 9810 cat > conftest.$ac_ext <<EOF |
9791 #line 9792 "configure" | 9811 #line 9812 "configure" |
9792 #include "confdefs.h" | 9812 #include "confdefs.h" |
9793 /* Override any gcc2 internal prototype to avoid an error. */ | 9813 /* Override any gcc2 internal prototype to avoid an error. */ |
9794 /* We use char because int might match the return type of a gcc2 | 9814 /* We use char because int might match the return type of a gcc2 |
9795 builtin and then its argument prototype would still apply. */ | 9815 builtin and then its argument prototype would still apply. */ |
9796 char png_read_image(); | 9816 char png_read_image(); |
9797 | 9817 |
9798 int main() { | 9818 int main() { |
9799 png_read_image() | 9819 png_read_image() |
9800 ; return 0; } | 9820 ; return 0; } |
9801 EOF | 9821 EOF |
9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9822 if { (eval echo configure:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9803 rm -rf conftest* | 9823 rm -rf conftest* |
9804 eval "ac_cv_lib_$ac_lib_var=yes" | 9824 eval "ac_cv_lib_$ac_lib_var=yes" |
9805 else | 9825 else |
9806 echo "configure: failed program was:" >&5 | 9826 echo "configure: failed program was:" >&5 |
9807 cat conftest.$ac_ext >&5 | 9827 cat conftest.$ac_ext >&5 |
9820 fi | 9840 fi |
9821 | 9841 |
9822 } | 9842 } |
9823 if test -z "$with_png"; then | 9843 if test -z "$with_png"; then |
9824 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9844 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9825 echo "configure:9826: checking for workable png version information" >&5 | 9845 echo "configure:9846: checking for workable png version information" >&5 |
9826 xe_check_libs="-lpng -lz" | 9846 xe_check_libs="-lpng -lz" |
9827 cat > conftest.$ac_ext <<EOF | 9847 cat > conftest.$ac_ext <<EOF |
9828 #line 9829 "configure" | 9848 #line 9849 "configure" |
9829 #include "confdefs.h" | 9849 #include "confdefs.h" |
9830 #include <png.h> | 9850 #include <png.h> |
9831 int main(int c, char **v) { | 9851 int main(int c, char **v) { |
9832 if (c == 1) return 0; | 9852 if (c == 1) return 0; |
9833 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9853 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9834 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9854 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9835 EOF | 9855 EOF |
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9856 if { (eval echo configure:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9837 then | 9857 then |
9838 ./conftest dummy_arg; png_status=$?; | 9858 ./conftest dummy_arg; png_status=$?; |
9839 if test "$png_status" = "0"; then | 9859 if test "$png_status" = "0"; then |
9840 with_png=yes; | 9860 with_png=yes; |
9841 else | 9861 else |
9874 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9894 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9875 fi | 9895 fi |
9876 | 9896 |
9877 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9897 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9878 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9898 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9879 echo "configure:9880: checking for tiffio.h" >&5 | 9899 echo "configure:9900: checking for tiffio.h" >&5 |
9880 | 9900 |
9881 cat > conftest.$ac_ext <<EOF | 9901 cat > conftest.$ac_ext <<EOF |
9882 #line 9883 "configure" | 9902 #line 9903 "configure" |
9883 #include "confdefs.h" | 9903 #include "confdefs.h" |
9884 #include <tiffio.h> | 9904 #include <tiffio.h> |
9885 EOF | 9905 EOF |
9886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9907 { (eval echo configure:9908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9889 if test -z "$ac_err"; then | 9909 if test -z "$ac_err"; then |
9890 rm -rf conftest* | 9910 rm -rf conftest* |
9891 eval "ac_cv_header_$ac_safe=yes" | 9911 eval "ac_cv_header_$ac_safe=yes" |
9892 else | 9912 else |
9905 with_tiff=no | 9925 with_tiff=no |
9906 fi | 9926 fi |
9907 } | 9927 } |
9908 test -z "$with_tiff" && { | 9928 test -z "$with_tiff" && { |
9909 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9929 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9910 echo "configure:9911: checking for TIFFClientOpen in -ltiff" >&5 | 9930 echo "configure:9931: checking for TIFFClientOpen in -ltiff" >&5 |
9911 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9931 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9912 | 9932 |
9913 xe_check_libs=" -ltiff " | 9933 xe_check_libs=" -ltiff " |
9914 cat > conftest.$ac_ext <<EOF | 9934 cat > conftest.$ac_ext <<EOF |
9915 #line 9916 "configure" | 9935 #line 9936 "configure" |
9916 #include "confdefs.h" | 9936 #include "confdefs.h" |
9917 /* Override any gcc2 internal prototype to avoid an error. */ | 9937 /* Override any gcc2 internal prototype to avoid an error. */ |
9918 /* We use char because int might match the return type of a gcc2 | 9938 /* We use char because int might match the return type of a gcc2 |
9919 builtin and then its argument prototype would still apply. */ | 9939 builtin and then its argument prototype would still apply. */ |
9920 char TIFFClientOpen(); | 9940 char TIFFClientOpen(); |
9921 | 9941 |
9922 int main() { | 9942 int main() { |
9923 TIFFClientOpen() | 9943 TIFFClientOpen() |
9924 ; return 0; } | 9944 ; return 0; } |
9925 EOF | 9945 EOF |
9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9946 if { (eval echo configure:9947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9927 rm -rf conftest* | 9947 rm -rf conftest* |
9928 eval "ac_cv_lib_$ac_lib_var=yes" | 9948 eval "ac_cv_lib_$ac_lib_var=yes" |
9929 else | 9949 else |
9930 echo "configure: failed program was:" >&5 | 9950 echo "configure: failed program was:" >&5 |
9931 cat conftest.$ac_ext >&5 | 9951 cat conftest.$ac_ext >&5 |
9960 | 9980 |
9961 | 9981 |
9962 if test "$with_gtk" = "yes"; then | 9982 if test "$with_gtk" = "yes"; then |
9963 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9983 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9964 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9984 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9965 echo "configure:9966: checking for compface.h" >&5 | 9985 echo "configure:9986: checking for compface.h" >&5 |
9966 | 9986 |
9967 cat > conftest.$ac_ext <<EOF | 9987 cat > conftest.$ac_ext <<EOF |
9968 #line 9969 "configure" | 9988 #line 9989 "configure" |
9969 #include "confdefs.h" | 9989 #include "confdefs.h" |
9970 #include <compface.h> | 9990 #include <compface.h> |
9971 EOF | 9991 EOF |
9972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9973 { (eval echo configure:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9993 { (eval echo configure:9994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9975 if test -z "$ac_err"; then | 9995 if test -z "$ac_err"; then |
9976 rm -rf conftest* | 9996 rm -rf conftest* |
9977 eval "ac_cv_header_$ac_safe=yes" | 9997 eval "ac_cv_header_$ac_safe=yes" |
9978 else | 9998 else |
9991 with_xface=no | 10011 with_xface=no |
9992 fi | 10012 fi |
9993 } | 10013 } |
9994 test -z "$with_xface" && { | 10014 test -z "$with_xface" && { |
9995 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 10015 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9996 echo "configure:9997: checking for UnGenFace in -lcompface" >&5 | 10016 echo "configure:10017: checking for UnGenFace in -lcompface" >&5 |
9997 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 10017 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9998 | 10018 |
9999 xe_check_libs=" -lcompface " | 10019 xe_check_libs=" -lcompface " |
10000 cat > conftest.$ac_ext <<EOF | 10020 cat > conftest.$ac_ext <<EOF |
10001 #line 10002 "configure" | 10021 #line 10022 "configure" |
10002 #include "confdefs.h" | 10022 #include "confdefs.h" |
10003 /* Override any gcc2 internal prototype to avoid an error. */ | 10023 /* Override any gcc2 internal prototype to avoid an error. */ |
10004 /* We use char because int might match the return type of a gcc2 | 10024 /* We use char because int might match the return type of a gcc2 |
10005 builtin and then its argument prototype would still apply. */ | 10025 builtin and then its argument prototype would still apply. */ |
10006 char UnGenFace(); | 10026 char UnGenFace(); |
10007 | 10027 |
10008 int main() { | 10028 int main() { |
10009 UnGenFace() | 10029 UnGenFace() |
10010 ; return 0; } | 10030 ; return 0; } |
10011 EOF | 10031 EOF |
10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10013 rm -rf conftest* | 10033 rm -rf conftest* |
10014 eval "ac_cv_lib_$ac_lib_var=yes" | 10034 eval "ac_cv_lib_$ac_lib_var=yes" |
10015 else | 10035 else |
10016 echo "configure: failed program was:" >&5 | 10036 echo "configure: failed program was:" >&5 |
10017 cat conftest.$ac_ext >&5 | 10037 cat conftest.$ac_ext >&5 |
10046 | 10066 |
10047 | 10067 |
10048 | 10068 |
10049 if test "$with_x11" = "yes"; then | 10069 if test "$with_x11" = "yes"; then |
10050 echo "checking for X11 graphics libraries" 1>&6 | 10070 echo "checking for X11 graphics libraries" 1>&6 |
10051 echo "configure:10052: checking for X11 graphics libraries" >&5 | 10071 echo "configure:10072: checking for X11 graphics libraries" >&5 |
10052 fi | 10072 fi |
10053 | 10073 |
10054 case "$with_widgets" in | 10074 case "$with_widgets" in |
10055 "yes" | "athena") detect_athena=yes ;; | 10075 "yes" | "athena") detect_athena=yes ;; |
10056 *) detect_athena=no ;; | 10076 *) detect_athena=no ;; |
10057 esac | 10077 esac |
10058 | 10078 |
10059 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10079 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10060 echo "checking for the Athena widgets" 1>&6 | 10080 echo "checking for the Athena widgets" 1>&6 |
10061 echo "configure:10062: checking for the Athena widgets" >&5 | 10081 echo "configure:10082: checking for the Athena widgets" >&5 |
10062 | 10082 |
10063 case "$with_athena" in | 10083 case "$with_athena" in |
10064 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10084 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10065 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10085 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10066 "next") athena_variant=neXtaw athena_3d=yes ;; | 10086 "next") athena_variant=neXtaw athena_3d=yes ;; |
10070 esac | 10090 esac |
10071 | 10091 |
10072 if test "$athena_3d" = "no"; then | 10092 if test "$athena_3d" = "no"; then |
10073 | 10093 |
10074 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10094 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10075 echo "configure:10076: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10095 echo "configure:10096: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10076 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10096 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10077 | 10097 |
10078 xe_check_libs=" -l$athena_variant " | 10098 xe_check_libs=" -l$athena_variant " |
10079 cat > conftest.$ac_ext <<EOF | 10099 cat > conftest.$ac_ext <<EOF |
10080 #line 10081 "configure" | 10100 #line 10101 "configure" |
10081 #include "confdefs.h" | 10101 #include "confdefs.h" |
10082 /* Override any gcc2 internal prototype to avoid an error. */ | 10102 /* Override any gcc2 internal prototype to avoid an error. */ |
10083 /* We use char because int might match the return type of a gcc2 | 10103 /* We use char because int might match the return type of a gcc2 |
10084 builtin and then its argument prototype would still apply. */ | 10104 builtin and then its argument prototype would still apply. */ |
10085 char XawScrollbarSetThumb(); | 10105 char XawScrollbarSetThumb(); |
10086 | 10106 |
10087 int main() { | 10107 int main() { |
10088 XawScrollbarSetThumb() | 10108 XawScrollbarSetThumb() |
10089 ; return 0; } | 10109 ; return 0; } |
10090 EOF | 10110 EOF |
10091 if { (eval echo configure:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10092 rm -rf conftest* | 10112 rm -rf conftest* |
10093 eval "ac_cv_lib_$ac_lib_var=yes" | 10113 eval "ac_cv_lib_$ac_lib_var=yes" |
10094 else | 10114 else |
10095 echo "configure: failed program was:" >&5 | 10115 echo "configure: failed program was:" >&5 |
10096 cat conftest.$ac_ext >&5 | 10116 cat conftest.$ac_ext >&5 |
10102 | 10122 |
10103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10104 echo "$ac_t""yes" 1>&6 | 10124 echo "$ac_t""yes" 1>&6 |
10105 | 10125 |
10106 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10126 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10107 echo "configure:10108: checking for threeDClassRec in -l$athena_variant" >&5 | 10127 echo "configure:10128: checking for threeDClassRec in -l$athena_variant" >&5 |
10108 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10128 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10109 | 10129 |
10110 xe_check_libs=" -l$athena_variant " | 10130 xe_check_libs=" -l$athena_variant " |
10111 cat > conftest.$ac_ext <<EOF | 10131 cat > conftest.$ac_ext <<EOF |
10112 #line 10113 "configure" | 10132 #line 10133 "configure" |
10113 #include "confdefs.h" | 10133 #include "confdefs.h" |
10114 /* Override any gcc2 internal prototype to avoid an error. */ | 10134 /* Override any gcc2 internal prototype to avoid an error. */ |
10115 /* We use char because int might match the return type of a gcc2 | 10135 /* We use char because int might match the return type of a gcc2 |
10116 builtin and then its argument prototype would still apply. */ | 10136 builtin and then its argument prototype would still apply. */ |
10117 char threeDClassRec(); | 10137 char threeDClassRec(); |
10118 | 10138 |
10119 int main() { | 10139 int main() { |
10120 threeDClassRec() | 10140 threeDClassRec() |
10121 ; return 0; } | 10141 ; return 0; } |
10122 EOF | 10142 EOF |
10123 if { (eval echo configure:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10143 if { (eval echo configure:10144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10124 rm -rf conftest* | 10144 rm -rf conftest* |
10125 eval "ac_cv_lib_$ac_lib_var=yes" | 10145 eval "ac_cv_lib_$ac_lib_var=yes" |
10126 else | 10146 else |
10127 echo "configure: failed program was:" >&5 | 10147 echo "configure: failed program was:" >&5 |
10128 cat conftest.$ac_ext >&5 | 10148 cat conftest.$ac_ext >&5 |
10149 | 10169 |
10150 | 10170 |
10151 else | 10171 else |
10152 | 10172 |
10153 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10173 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for threeDClassRec in -l$athena_variant" >&5 | 10174 echo "configure:10175: checking for threeDClassRec in -l$athena_variant" >&5 |
10155 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10175 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10156 | 10176 |
10157 xe_check_libs=" -l$athena_variant " | 10177 xe_check_libs=" -l$athena_variant " |
10158 cat > conftest.$ac_ext <<EOF | 10178 cat > conftest.$ac_ext <<EOF |
10159 #line 10160 "configure" | 10179 #line 10180 "configure" |
10160 #include "confdefs.h" | 10180 #include "confdefs.h" |
10161 /* Override any gcc2 internal prototype to avoid an error. */ | 10181 /* Override any gcc2 internal prototype to avoid an error. */ |
10162 /* We use char because int might match the return type of a gcc2 | 10182 /* We use char because int might match the return type of a gcc2 |
10163 builtin and then its argument prototype would still apply. */ | 10183 builtin and then its argument prototype would still apply. */ |
10164 char threeDClassRec(); | 10184 char threeDClassRec(); |
10165 | 10185 |
10166 int main() { | 10186 int main() { |
10167 threeDClassRec() | 10187 threeDClassRec() |
10168 ; return 0; } | 10188 ; return 0; } |
10169 EOF | 10189 EOF |
10170 if { (eval echo configure:10171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10190 if { (eval echo configure:10191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10171 rm -rf conftest* | 10191 rm -rf conftest* |
10172 eval "ac_cv_lib_$ac_lib_var=yes" | 10192 eval "ac_cv_lib_$ac_lib_var=yes" |
10173 else | 10193 else |
10174 echo "configure: failed program was:" >&5 | 10194 echo "configure: failed program was:" >&5 |
10175 cat conftest.$ac_ext >&5 | 10195 cat conftest.$ac_ext >&5 |
10183 echo "$ac_t""yes" 1>&6 | 10203 echo "$ac_t""yes" 1>&6 |
10184 athena_lib=$athena_variant | 10204 athena_lib=$athena_variant |
10185 else | 10205 else |
10186 echo "$ac_t""no" 1>&6 | 10206 echo "$ac_t""no" 1>&6 |
10187 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10207 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for threeDClassRec in -lXaw" >&5 | 10208 echo "configure:10209: checking for threeDClassRec in -lXaw" >&5 |
10189 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10209 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10190 | 10210 |
10191 xe_check_libs=" -lXaw " | 10211 xe_check_libs=" -lXaw " |
10192 cat > conftest.$ac_ext <<EOF | 10212 cat > conftest.$ac_ext <<EOF |
10193 #line 10194 "configure" | 10213 #line 10214 "configure" |
10194 #include "confdefs.h" | 10214 #include "confdefs.h" |
10195 /* Override any gcc2 internal prototype to avoid an error. */ | 10215 /* Override any gcc2 internal prototype to avoid an error. */ |
10196 /* We use char because int might match the return type of a gcc2 | 10216 /* We use char because int might match the return type of a gcc2 |
10197 builtin and then its argument prototype would still apply. */ | 10217 builtin and then its argument prototype would still apply. */ |
10198 char threeDClassRec(); | 10218 char threeDClassRec(); |
10199 | 10219 |
10200 int main() { | 10220 int main() { |
10201 threeDClassRec() | 10221 threeDClassRec() |
10202 ; return 0; } | 10222 ; return 0; } |
10203 EOF | 10223 EOF |
10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10224 if { (eval echo configure:10225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10205 rm -rf conftest* | 10225 rm -rf conftest* |
10206 eval "ac_cv_lib_$ac_lib_var=yes" | 10226 eval "ac_cv_lib_$ac_lib_var=yes" |
10207 else | 10227 else |
10208 echo "configure: failed program was:" >&5 | 10228 echo "configure: failed program was:" >&5 |
10209 cat conftest.$ac_ext >&5 | 10229 cat conftest.$ac_ext >&5 |
10230 fi | 10250 fi |
10231 | 10251 |
10232 if test "$athena_3d" = "no"; then | 10252 if test "$athena_3d" = "no"; then |
10233 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10253 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10234 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10254 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10235 echo "configure:10236: checking for X11/Xaw/ThreeD.h" >&5 | 10255 echo "configure:10256: checking for X11/Xaw/ThreeD.h" >&5 |
10236 | 10256 |
10237 cat > conftest.$ac_ext <<EOF | 10257 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10258 #line 10259 "configure" |
10239 #include "confdefs.h" | 10259 #include "confdefs.h" |
10240 #include <X11/Xaw/ThreeD.h> | 10260 #include <X11/Xaw/ThreeD.h> |
10241 EOF | 10261 EOF |
10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10245 if test -z "$ac_err"; then | 10265 if test -z "$ac_err"; then |
10246 rm -rf conftest* | 10266 rm -rf conftest* |
10247 eval "ac_cv_header_$ac_safe=yes" | 10267 eval "ac_cv_header_$ac_safe=yes" |
10248 else | 10268 else |
10258 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10278 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10259 else | 10279 else |
10260 echo "$ac_t""no" 1>&6 | 10280 echo "$ac_t""no" 1>&6 |
10261 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10281 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10262 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10282 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10263 echo "configure:10264: checking for X11/Xaw/XawInit.h" >&5 | 10283 echo "configure:10284: checking for X11/Xaw/XawInit.h" >&5 |
10264 | 10284 |
10265 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
10266 #line 10267 "configure" | 10286 #line 10287 "configure" |
10267 #include "confdefs.h" | 10287 #include "confdefs.h" |
10268 #include <X11/Xaw/XawInit.h> | 10288 #include <X11/Xaw/XawInit.h> |
10269 EOF | 10289 EOF |
10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10273 if test -z "$ac_err"; then | 10293 if test -z "$ac_err"; then |
10274 rm -rf conftest* | 10294 rm -rf conftest* |
10275 eval "ac_cv_header_$ac_safe=yes" | 10295 eval "ac_cv_header_$ac_safe=yes" |
10276 else | 10296 else |
10292 fi | 10312 fi |
10293 | 10313 |
10294 else | 10314 else |
10295 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10315 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10296 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10316 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10297 echo "configure:10298: checking for X11/$athena_variant/XawInit.h" >&5 | 10317 echo "configure:10318: checking for X11/$athena_variant/XawInit.h" >&5 |
10298 | 10318 |
10299 cat > conftest.$ac_ext <<EOF | 10319 cat > conftest.$ac_ext <<EOF |
10300 #line 10301 "configure" | 10320 #line 10321 "configure" |
10301 #include "confdefs.h" | 10321 #include "confdefs.h" |
10302 #include <X11/$athena_variant/XawInit.h> | 10322 #include <X11/$athena_variant/XawInit.h> |
10303 EOF | 10323 EOF |
10304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10305 { (eval echo configure:10306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10325 { (eval echo configure:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10307 if test -z "$ac_err"; then | 10327 if test -z "$ac_err"; then |
10308 rm -rf conftest* | 10328 rm -rf conftest* |
10309 eval "ac_cv_header_$ac_safe=yes" | 10329 eval "ac_cv_header_$ac_safe=yes" |
10310 else | 10330 else |
10317 rm -f conftest* | 10337 rm -f conftest* |
10318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10319 echo "$ac_t""yes" 1>&6 | 10339 echo "$ac_t""yes" 1>&6 |
10320 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10340 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10321 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10341 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10322 echo "configure:10323: checking for X11/$athena_variant/ThreeD.h" >&5 | 10342 echo "configure:10343: checking for X11/$athena_variant/ThreeD.h" >&5 |
10323 | 10343 |
10324 cat > conftest.$ac_ext <<EOF | 10344 cat > conftest.$ac_ext <<EOF |
10325 #line 10326 "configure" | 10345 #line 10346 "configure" |
10326 #include "confdefs.h" | 10346 #include "confdefs.h" |
10327 #include <X11/$athena_variant/ThreeD.h> | 10347 #include <X11/$athena_variant/ThreeD.h> |
10328 EOF | 10348 EOF |
10329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10330 { (eval echo configure:10331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10350 { (eval echo configure:10351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10332 if test -z "$ac_err"; then | 10352 if test -z "$ac_err"; then |
10333 rm -rf conftest* | 10353 rm -rf conftest* |
10334 eval "ac_cv_header_$ac_safe=yes" | 10354 eval "ac_cv_header_$ac_safe=yes" |
10335 else | 10355 else |
10353 | 10373 |
10354 | 10374 |
10355 if test -z "$athena_h_path"; then | 10375 if test -z "$athena_h_path"; then |
10356 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10376 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10357 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10377 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10358 echo "configure:10359: checking for $athena_variant/XawInit.h" >&5 | 10378 echo "configure:10379: checking for $athena_variant/XawInit.h" >&5 |
10359 | 10379 |
10360 cat > conftest.$ac_ext <<EOF | 10380 cat > conftest.$ac_ext <<EOF |
10361 #line 10362 "configure" | 10381 #line 10382 "configure" |
10362 #include "confdefs.h" | 10382 #include "confdefs.h" |
10363 #include <$athena_variant/XawInit.h> | 10383 #include <$athena_variant/XawInit.h> |
10364 EOF | 10384 EOF |
10365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10366 { (eval echo configure:10367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10386 { (eval echo configure:10387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10368 if test -z "$ac_err"; then | 10388 if test -z "$ac_err"; then |
10369 rm -rf conftest* | 10389 rm -rf conftest* |
10370 eval "ac_cv_header_$ac_safe=yes" | 10390 eval "ac_cv_header_$ac_safe=yes" |
10371 else | 10391 else |
10378 rm -f conftest* | 10398 rm -f conftest* |
10379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10380 echo "$ac_t""yes" 1>&6 | 10400 echo "$ac_t""yes" 1>&6 |
10381 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10401 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10382 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10402 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10383 echo "configure:10384: checking for $athena_variant/ThreeD.h" >&5 | 10403 echo "configure:10404: checking for $athena_variant/ThreeD.h" >&5 |
10384 | 10404 |
10385 cat > conftest.$ac_ext <<EOF | 10405 cat > conftest.$ac_ext <<EOF |
10386 #line 10387 "configure" | 10406 #line 10407 "configure" |
10387 #include "confdefs.h" | 10407 #include "confdefs.h" |
10388 #include <$athena_variant/ThreeD.h> | 10408 #include <$athena_variant/ThreeD.h> |
10389 EOF | 10409 EOF |
10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10411 { (eval echo configure:10412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10393 if test -z "$ac_err"; then | 10413 if test -z "$ac_err"; then |
10394 rm -rf conftest* | 10414 rm -rf conftest* |
10395 eval "ac_cv_header_$ac_safe=yes" | 10415 eval "ac_cv_header_$ac_safe=yes" |
10396 else | 10416 else |
10415 fi | 10435 fi |
10416 | 10436 |
10417 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10437 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10418 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10438 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10419 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10439 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10420 echo "configure:10421: checking for X11/Xaw3d/XawInit.h" >&5 | 10440 echo "configure:10441: checking for X11/Xaw3d/XawInit.h" >&5 |
10421 | 10441 |
10422 cat > conftest.$ac_ext <<EOF | 10442 cat > conftest.$ac_ext <<EOF |
10423 #line 10424 "configure" | 10443 #line 10444 "configure" |
10424 #include "confdefs.h" | 10444 #include "confdefs.h" |
10425 #include <X11/Xaw3d/XawInit.h> | 10445 #include <X11/Xaw3d/XawInit.h> |
10426 EOF | 10446 EOF |
10427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10428 { (eval echo configure:10429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10448 { (eval echo configure:10449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10430 if test -z "$ac_err"; then | 10450 if test -z "$ac_err"; then |
10431 rm -rf conftest* | 10451 rm -rf conftest* |
10432 eval "ac_cv_header_$ac_safe=yes" | 10452 eval "ac_cv_header_$ac_safe=yes" |
10433 else | 10453 else |
10440 rm -f conftest* | 10460 rm -f conftest* |
10441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10442 echo "$ac_t""yes" 1>&6 | 10462 echo "$ac_t""yes" 1>&6 |
10443 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10463 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10444 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10464 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10445 echo "configure:10446: checking for X11/Xaw3d/ThreeD.h" >&5 | 10465 echo "configure:10466: checking for X11/Xaw3d/ThreeD.h" >&5 |
10446 | 10466 |
10447 cat > conftest.$ac_ext <<EOF | 10467 cat > conftest.$ac_ext <<EOF |
10448 #line 10449 "configure" | 10468 #line 10469 "configure" |
10449 #include "confdefs.h" | 10469 #include "confdefs.h" |
10450 #include <X11/Xaw3d/ThreeD.h> | 10470 #include <X11/Xaw3d/ThreeD.h> |
10451 EOF | 10471 EOF |
10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10473 { (eval echo configure:10474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10455 if test -z "$ac_err"; then | 10475 if test -z "$ac_err"; then |
10456 rm -rf conftest* | 10476 rm -rf conftest* |
10457 eval "ac_cv_header_$ac_safe=yes" | 10477 eval "ac_cv_header_$ac_safe=yes" |
10458 else | 10478 else |
10480 fi | 10500 fi |
10481 | 10501 |
10482 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10502 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10483 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10503 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10484 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10504 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10485 echo "configure:10486: checking for Xaw3d/XawInit.h" >&5 | 10505 echo "configure:10506: checking for Xaw3d/XawInit.h" >&5 |
10486 | 10506 |
10487 cat > conftest.$ac_ext <<EOF | 10507 cat > conftest.$ac_ext <<EOF |
10488 #line 10489 "configure" | 10508 #line 10509 "configure" |
10489 #include "confdefs.h" | 10509 #include "confdefs.h" |
10490 #include <Xaw3d/XawInit.h> | 10510 #include <Xaw3d/XawInit.h> |
10491 EOF | 10511 EOF |
10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10495 if test -z "$ac_err"; then | 10515 if test -z "$ac_err"; then |
10496 rm -rf conftest* | 10516 rm -rf conftest* |
10497 eval "ac_cv_header_$ac_safe=yes" | 10517 eval "ac_cv_header_$ac_safe=yes" |
10498 else | 10518 else |
10505 rm -f conftest* | 10525 rm -f conftest* |
10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10526 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10507 echo "$ac_t""yes" 1>&6 | 10527 echo "$ac_t""yes" 1>&6 |
10508 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10528 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10509 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10529 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10510 echo "configure:10511: checking for Xaw3d/ThreeD.h" >&5 | 10530 echo "configure:10531: checking for Xaw3d/ThreeD.h" >&5 |
10511 | 10531 |
10512 cat > conftest.$ac_ext <<EOF | 10532 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10533 #line 10534 "configure" |
10514 #include "confdefs.h" | 10534 #include "confdefs.h" |
10515 #include <Xaw3d/ThreeD.h> | 10535 #include <Xaw3d/ThreeD.h> |
10516 EOF | 10536 EOF |
10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10520 if test -z "$ac_err"; then | 10540 if test -z "$ac_err"; then |
10521 rm -rf conftest* | 10541 rm -rf conftest* |
10522 eval "ac_cv_header_$ac_safe=yes" | 10542 eval "ac_cv_header_$ac_safe=yes" |
10523 else | 10543 else |
10545 fi | 10565 fi |
10546 | 10566 |
10547 if test -z "$athena_h_path"; then | 10567 if test -z "$athena_h_path"; then |
10548 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10568 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10549 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10569 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10550 echo "configure:10551: checking for X11/Xaw/ThreeD.h" >&5 | 10570 echo "configure:10571: checking for X11/Xaw/ThreeD.h" >&5 |
10551 | 10571 |
10552 cat > conftest.$ac_ext <<EOF | 10572 cat > conftest.$ac_ext <<EOF |
10553 #line 10554 "configure" | 10573 #line 10574 "configure" |
10554 #include "confdefs.h" | 10574 #include "confdefs.h" |
10555 #include <X11/Xaw/ThreeD.h> | 10575 #include <X11/Xaw/ThreeD.h> |
10556 EOF | 10576 EOF |
10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10560 if test -z "$ac_err"; then | 10580 if test -z "$ac_err"; then |
10561 rm -rf conftest* | 10581 rm -rf conftest* |
10562 eval "ac_cv_header_$ac_safe=yes" | 10582 eval "ac_cv_header_$ac_safe=yes" |
10563 else | 10583 else |
10592 have_xaw=no | 10612 have_xaw=no |
10593 fi | 10613 fi |
10594 if test "$with_x11" = "yes"; then | 10614 if test "$with_x11" = "yes"; then |
10595 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10615 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10596 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10616 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10597 echo "configure:10598: checking for Xm/Xm.h" >&5 | 10617 echo "configure:10618: checking for Xm/Xm.h" >&5 |
10598 | 10618 |
10599 cat > conftest.$ac_ext <<EOF | 10619 cat > conftest.$ac_ext <<EOF |
10600 #line 10601 "configure" | 10620 #line 10621 "configure" |
10601 #include "confdefs.h" | 10621 #include "confdefs.h" |
10602 #include <Xm/Xm.h> | 10622 #include <Xm/Xm.h> |
10603 EOF | 10623 EOF |
10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10625 { (eval echo configure:10626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10607 if test -z "$ac_err"; then | 10627 if test -z "$ac_err"; then |
10608 rm -rf conftest* | 10628 rm -rf conftest* |
10609 eval "ac_cv_header_$ac_safe=yes" | 10629 eval "ac_cv_header_$ac_safe=yes" |
10610 else | 10630 else |
10617 rm -f conftest* | 10637 rm -f conftest* |
10618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10619 echo "$ac_t""yes" 1>&6 | 10639 echo "$ac_t""yes" 1>&6 |
10620 | 10640 |
10621 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10641 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10622 echo "configure:10623: checking for XmStringFree in -lXm" >&5 | 10642 echo "configure:10643: checking for XmStringFree in -lXm" >&5 |
10623 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10643 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10624 | 10644 |
10625 xe_check_libs=" -lXm " | 10645 xe_check_libs=" -lXm " |
10626 cat > conftest.$ac_ext <<EOF | 10646 cat > conftest.$ac_ext <<EOF |
10627 #line 10628 "configure" | 10647 #line 10648 "configure" |
10628 #include "confdefs.h" | 10648 #include "confdefs.h" |
10629 /* Override any gcc2 internal prototype to avoid an error. */ | 10649 /* Override any gcc2 internal prototype to avoid an error. */ |
10630 /* We use char because int might match the return type of a gcc2 | 10650 /* We use char because int might match the return type of a gcc2 |
10631 builtin and then its argument prototype would still apply. */ | 10651 builtin and then its argument prototype would still apply. */ |
10632 char XmStringFree(); | 10652 char XmStringFree(); |
10633 | 10653 |
10634 int main() { | 10654 int main() { |
10635 XmStringFree() | 10655 XmStringFree() |
10636 ; return 0; } | 10656 ; return 0; } |
10637 EOF | 10657 EOF |
10638 if { (eval echo configure:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10658 if { (eval echo configure:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10639 rm -rf conftest* | 10659 rm -rf conftest* |
10640 eval "ac_cv_lib_$ac_lib_var=yes" | 10660 eval "ac_cv_lib_$ac_lib_var=yes" |
10641 else | 10661 else |
10642 echo "configure: failed program was:" >&5 | 10662 echo "configure: failed program was:" >&5 |
10643 cat conftest.$ac_ext >&5 | 10663 cat conftest.$ac_ext >&5 |
10662 fi | 10682 fi |
10663 | 10683 |
10664 | 10684 |
10665 if test "$have_motif" = "yes"; then | 10685 if test "$have_motif" = "yes"; then |
10666 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10686 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10667 echo "configure:10668: checking for Lesstif" >&5 | 10687 echo "configure:10688: checking for Lesstif" >&5 |
10668 cat > conftest.$ac_ext <<EOF | 10688 cat > conftest.$ac_ext <<EOF |
10669 #line 10670 "configure" | 10689 #line 10690 "configure" |
10670 #include "confdefs.h" | 10690 #include "confdefs.h" |
10671 #include <Xm/Xm.h> | 10691 #include <Xm/Xm.h> |
10672 #ifdef LESSTIF_VERSION | 10692 #ifdef LESSTIF_VERSION |
10673 yes | 10693 yes |
10674 #endif | 10694 #endif |
11037 | 11057 |
11038 fi | 11058 fi |
11039 | 11059 |
11040 if test "$with_mule" = "yes" ; then | 11060 if test "$with_mule" = "yes" ; then |
11041 echo "checking for Mule-related features" 1>&6 | 11061 echo "checking for Mule-related features" 1>&6 |
11042 echo "configure:11043: checking for Mule-related features" >&5 | 11062 echo "configure:11063: checking for Mule-related features" >&5 |
11043 { test "$extra_verbose" = "yes" && cat << \EOF | 11063 { test "$extra_verbose" = "yes" && cat << \EOF |
11044 Defining MULE | 11064 Defining MULE |
11045 EOF | 11065 EOF |
11046 cat >> confdefs.h <<\EOF | 11066 cat >> confdefs.h <<\EOF |
11047 #define MULE 1 | 11067 #define MULE 1 |
11051 | 11071 |
11052 for ac_hdr in libintl.h | 11072 for ac_hdr in libintl.h |
11053 do | 11073 do |
11054 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11074 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11056 echo "configure:11057: checking for $ac_hdr" >&5 | 11076 echo "configure:11077: checking for $ac_hdr" >&5 |
11057 | 11077 |
11058 cat > conftest.$ac_ext <<EOF | 11078 cat > conftest.$ac_ext <<EOF |
11059 #line 11060 "configure" | 11079 #line 11080 "configure" |
11060 #include "confdefs.h" | 11080 #include "confdefs.h" |
11061 #include <$ac_hdr> | 11081 #include <$ac_hdr> |
11062 EOF | 11082 EOF |
11063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11064 { (eval echo configure:11065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11084 { (eval echo configure:11085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11066 if test -z "$ac_err"; then | 11086 if test -z "$ac_err"; then |
11067 rm -rf conftest* | 11087 rm -rf conftest* |
11068 eval "ac_cv_header_$ac_safe=yes" | 11088 eval "ac_cv_header_$ac_safe=yes" |
11069 else | 11089 else |
11090 fi | 11110 fi |
11091 done | 11111 done |
11092 | 11112 |
11093 | 11113 |
11094 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11114 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11095 echo "configure:11096: checking for strerror in -lintl" >&5 | 11115 echo "configure:11116: checking for strerror in -lintl" >&5 |
11096 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11116 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11097 | 11117 |
11098 xe_check_libs=" -lintl " | 11118 xe_check_libs=" -lintl " |
11099 cat > conftest.$ac_ext <<EOF | 11119 cat > conftest.$ac_ext <<EOF |
11100 #line 11101 "configure" | 11120 #line 11121 "configure" |
11101 #include "confdefs.h" | 11121 #include "confdefs.h" |
11102 /* Override any gcc2 internal prototype to avoid an error. */ | 11122 /* Override any gcc2 internal prototype to avoid an error. */ |
11103 /* We use char because int might match the return type of a gcc2 | 11123 /* We use char because int might match the return type of a gcc2 |
11104 builtin and then its argument prototype would still apply. */ | 11124 builtin and then its argument prototype would still apply. */ |
11105 char strerror(); | 11125 char strerror(); |
11106 | 11126 |
11107 int main() { | 11127 int main() { |
11108 strerror() | 11128 strerror() |
11109 ; return 0; } | 11129 ; return 0; } |
11110 EOF | 11130 EOF |
11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11112 rm -rf conftest* | 11132 rm -rf conftest* |
11113 eval "ac_cv_lib_$ac_lib_var=yes" | 11133 eval "ac_cv_lib_$ac_lib_var=yes" |
11114 else | 11134 else |
11115 echo "configure: failed program was:" >&5 | 11135 echo "configure: failed program was:" >&5 |
11116 cat conftest.$ac_ext >&5 | 11136 cat conftest.$ac_ext >&5 |
11139 fi | 11159 fi |
11140 | 11160 |
11141 | 11161 |
11142 | 11162 |
11143 echo "checking for Mule input methods" 1>&6 | 11163 echo "checking for Mule input methods" 1>&6 |
11144 echo "configure:11145: checking for Mule input methods" >&5 | 11164 echo "configure:11165: checking for Mule input methods" >&5 |
11145 case "$with_xim" in "" | "yes" ) | 11165 case "$with_xim" in "" | "yes" ) |
11146 echo "checking for XIM" 1>&6 | 11166 echo "checking for XIM" 1>&6 |
11147 echo "configure:11148: checking for XIM" >&5 | 11167 echo "configure:11168: checking for XIM" >&5 |
11148 | 11168 |
11149 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11169 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11150 echo "configure:11151: checking for XOpenIM in -lX11" >&5 | 11170 echo "configure:11171: checking for XOpenIM in -lX11" >&5 |
11151 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11171 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11152 | 11172 |
11153 xe_check_libs=" -lX11 " | 11173 xe_check_libs=" -lX11 " |
11154 cat > conftest.$ac_ext <<EOF | 11174 cat > conftest.$ac_ext <<EOF |
11155 #line 11156 "configure" | 11175 #line 11176 "configure" |
11156 #include "confdefs.h" | 11176 #include "confdefs.h" |
11157 /* Override any gcc2 internal prototype to avoid an error. */ | 11177 /* Override any gcc2 internal prototype to avoid an error. */ |
11158 /* We use char because int might match the return type of a gcc2 | 11178 /* We use char because int might match the return type of a gcc2 |
11159 builtin and then its argument prototype would still apply. */ | 11179 builtin and then its argument prototype would still apply. */ |
11160 char XOpenIM(); | 11180 char XOpenIM(); |
11161 | 11181 |
11162 int main() { | 11182 int main() { |
11163 XOpenIM() | 11183 XOpenIM() |
11164 ; return 0; } | 11184 ; return 0; } |
11165 EOF | 11185 EOF |
11166 if { (eval echo configure:11167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11186 if { (eval echo configure:11187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11167 rm -rf conftest* | 11187 rm -rf conftest* |
11168 eval "ac_cv_lib_$ac_lib_var=yes" | 11188 eval "ac_cv_lib_$ac_lib_var=yes" |
11169 else | 11189 else |
11170 echo "configure: failed program was:" >&5 | 11190 echo "configure: failed program was:" >&5 |
11171 cat conftest.$ac_ext >&5 | 11191 cat conftest.$ac_ext >&5 |
11185 | 11205 |
11186 | 11206 |
11187 if test "$have_motif $have_lesstif" = "yes no"; then | 11207 if test "$have_motif $have_lesstif" = "yes no"; then |
11188 | 11208 |
11189 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11209 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11190 echo "configure:11191: checking for XmImMbLookupString in -lXm" >&5 | 11210 echo "configure:11211: checking for XmImMbLookupString in -lXm" >&5 |
11191 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11211 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11192 | 11212 |
11193 xe_check_libs=" -lXm " | 11213 xe_check_libs=" -lXm " |
11194 cat > conftest.$ac_ext <<EOF | 11214 cat > conftest.$ac_ext <<EOF |
11195 #line 11196 "configure" | 11215 #line 11216 "configure" |
11196 #include "confdefs.h" | 11216 #include "confdefs.h" |
11197 /* Override any gcc2 internal prototype to avoid an error. */ | 11217 /* Override any gcc2 internal prototype to avoid an error. */ |
11198 /* We use char because int might match the return type of a gcc2 | 11218 /* We use char because int might match the return type of a gcc2 |
11199 builtin and then its argument prototype would still apply. */ | 11219 builtin and then its argument prototype would still apply. */ |
11200 char XmImMbLookupString(); | 11220 char XmImMbLookupString(); |
11201 | 11221 |
11202 int main() { | 11222 int main() { |
11203 XmImMbLookupString() | 11223 XmImMbLookupString() |
11204 ; return 0; } | 11224 ; return 0; } |
11205 EOF | 11225 EOF |
11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11226 if { (eval echo configure:11227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11207 rm -rf conftest* | 11227 rm -rf conftest* |
11208 eval "ac_cv_lib_$ac_lib_var=yes" | 11228 eval "ac_cv_lib_$ac_lib_var=yes" |
11209 else | 11229 else |
11210 echo "configure: failed program was:" >&5 | 11230 echo "configure: failed program was:" >&5 |
11211 cat conftest.$ac_ext >&5 | 11231 cat conftest.$ac_ext >&5 |
11266 fi | 11286 fi |
11267 fi | 11287 fi |
11268 | 11288 |
11269 if test "$with_xfs" = "yes" ; then | 11289 if test "$with_xfs" = "yes" ; then |
11270 echo "checking for XFontSet" 1>&6 | 11290 echo "checking for XFontSet" 1>&6 |
11271 echo "configure:11272: checking for XFontSet" >&5 | 11291 echo "configure:11292: checking for XFontSet" >&5 |
11272 | 11292 |
11273 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11293 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11274 echo "configure:11275: checking for XmbDrawString in -lX11" >&5 | 11294 echo "configure:11295: checking for XmbDrawString in -lX11" >&5 |
11275 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11295 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11276 | 11296 |
11277 xe_check_libs=" -lX11 " | 11297 xe_check_libs=" -lX11 " |
11278 cat > conftest.$ac_ext <<EOF | 11298 cat > conftest.$ac_ext <<EOF |
11279 #line 11280 "configure" | 11299 #line 11300 "configure" |
11280 #include "confdefs.h" | 11300 #include "confdefs.h" |
11281 /* Override any gcc2 internal prototype to avoid an error. */ | 11301 /* Override any gcc2 internal prototype to avoid an error. */ |
11282 /* We use char because int might match the return type of a gcc2 | 11302 /* We use char because int might match the return type of a gcc2 |
11283 builtin and then its argument prototype would still apply. */ | 11303 builtin and then its argument prototype would still apply. */ |
11284 char XmbDrawString(); | 11304 char XmbDrawString(); |
11285 | 11305 |
11286 int main() { | 11306 int main() { |
11287 XmbDrawString() | 11307 XmbDrawString() |
11288 ; return 0; } | 11308 ; return 0; } |
11289 EOF | 11309 EOF |
11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11310 if { (eval echo configure:11311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11291 rm -rf conftest* | 11311 rm -rf conftest* |
11292 eval "ac_cv_lib_$ac_lib_var=yes" | 11312 eval "ac_cv_lib_$ac_lib_var=yes" |
11293 else | 11313 else |
11294 echo "configure: failed program was:" >&5 | 11314 echo "configure: failed program was:" >&5 |
11295 cat conftest.$ac_ext >&5 | 11315 cat conftest.$ac_ext >&5 |
11325 fi | 11345 fi |
11326 fi | 11346 fi |
11327 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11347 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11328 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11348 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11329 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11349 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11330 echo "configure:11331: checking for wnn/jllib.h" >&5 | 11350 echo "configure:11351: checking for wnn/jllib.h" >&5 |
11331 | 11351 |
11332 cat > conftest.$ac_ext <<EOF | 11352 cat > conftest.$ac_ext <<EOF |
11333 #line 11334 "configure" | 11353 #line 11354 "configure" |
11334 #include "confdefs.h" | 11354 #include "confdefs.h" |
11335 #include <wnn/jllib.h> | 11355 #include <wnn/jllib.h> |
11336 EOF | 11356 EOF |
11337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11338 { (eval echo configure:11339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11358 { (eval echo configure:11359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11340 if test -z "$ac_err"; then | 11360 if test -z "$ac_err"; then |
11341 rm -rf conftest* | 11361 rm -rf conftest* |
11342 eval "ac_cv_header_$ac_safe=yes" | 11362 eval "ac_cv_header_$ac_safe=yes" |
11343 else | 11363 else |
11356 with_wnn=no | 11376 with_wnn=no |
11357 fi | 11377 fi |
11358 } | 11378 } |
11359 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11379 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11360 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11380 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11361 echo "configure:11362: checking for wnn/commonhd.h" >&5 | 11381 echo "configure:11382: checking for wnn/commonhd.h" >&5 |
11362 | 11382 |
11363 cat > conftest.$ac_ext <<EOF | 11383 cat > conftest.$ac_ext <<EOF |
11364 #line 11365 "configure" | 11384 #line 11385 "configure" |
11365 #include "confdefs.h" | 11385 #include "confdefs.h" |
11366 #include <wnn/commonhd.h> | 11386 #include <wnn/commonhd.h> |
11367 EOF | 11387 EOF |
11368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11369 { (eval echo configure:11370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11389 { (eval echo configure:11390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11371 if test -z "$ac_err"; then | 11391 if test -z "$ac_err"; then |
11372 rm -rf conftest* | 11392 rm -rf conftest* |
11373 eval "ac_cv_header_$ac_safe=yes" | 11393 eval "ac_cv_header_$ac_safe=yes" |
11374 else | 11394 else |
11389 } | 11409 } |
11390 if test "$with_wnn" != "no"; then | 11410 if test "$with_wnn" != "no"; then |
11391 for ac_func in crypt | 11411 for ac_func in crypt |
11392 do | 11412 do |
11393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11394 echo "configure:11395: checking for $ac_func" >&5 | 11414 echo "configure:11415: checking for $ac_func" >&5 |
11395 | 11415 |
11396 cat > conftest.$ac_ext <<EOF | 11416 cat > conftest.$ac_ext <<EOF |
11397 #line 11398 "configure" | 11417 #line 11418 "configure" |
11398 #include "confdefs.h" | 11418 #include "confdefs.h" |
11399 /* System header to define __stub macros and hopefully few prototypes, | 11419 /* System header to define __stub macros and hopefully few prototypes, |
11400 which can conflict with char $ac_func(); below. */ | 11420 which can conflict with char $ac_func(); below. */ |
11401 #include <assert.h> | 11421 #include <assert.h> |
11402 /* Override any gcc2 internal prototype to avoid an error. */ | 11422 /* Override any gcc2 internal prototype to avoid an error. */ |
11415 $ac_func(); | 11435 $ac_func(); |
11416 #endif | 11436 #endif |
11417 | 11437 |
11418 ; return 0; } | 11438 ; return 0; } |
11419 EOF | 11439 EOF |
11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11440 if { (eval echo configure:11441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11421 rm -rf conftest* | 11441 rm -rf conftest* |
11422 eval "ac_cv_func_$ac_func=yes" | 11442 eval "ac_cv_func_$ac_func=yes" |
11423 else | 11443 else |
11424 echo "configure: failed program was:" >&5 | 11444 echo "configure: failed program was:" >&5 |
11425 cat conftest.$ac_ext >&5 | 11445 cat conftest.$ac_ext >&5 |
11444 fi | 11464 fi |
11445 done | 11465 done |
11446 | 11466 |
11447 test "$ac_cv_func_crypt" != "yes" && { | 11467 test "$ac_cv_func_crypt" != "yes" && { |
11448 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11468 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for crypt in -lcrypt" >&5 | 11469 echo "configure:11470: checking for crypt in -lcrypt" >&5 |
11450 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11470 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11451 | 11471 |
11452 xe_check_libs=" -lcrypt " | 11472 xe_check_libs=" -lcrypt " |
11453 cat > conftest.$ac_ext <<EOF | 11473 cat > conftest.$ac_ext <<EOF |
11454 #line 11455 "configure" | 11474 #line 11475 "configure" |
11455 #include "confdefs.h" | 11475 #include "confdefs.h" |
11456 /* Override any gcc2 internal prototype to avoid an error. */ | 11476 /* Override any gcc2 internal prototype to avoid an error. */ |
11457 /* We use char because int might match the return type of a gcc2 | 11477 /* We use char because int might match the return type of a gcc2 |
11458 builtin and then its argument prototype would still apply. */ | 11478 builtin and then its argument prototype would still apply. */ |
11459 char crypt(); | 11479 char crypt(); |
11460 | 11480 |
11461 int main() { | 11481 int main() { |
11462 crypt() | 11482 crypt() |
11463 ; return 0; } | 11483 ; return 0; } |
11464 EOF | 11484 EOF |
11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11485 if { (eval echo configure:11486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11466 rm -rf conftest* | 11486 rm -rf conftest* |
11467 eval "ac_cv_lib_$ac_lib_var=yes" | 11487 eval "ac_cv_lib_$ac_lib_var=yes" |
11468 else | 11488 else |
11469 echo "configure: failed program was:" >&5 | 11489 echo "configure: failed program was:" >&5 |
11470 cat conftest.$ac_ext >&5 | 11490 cat conftest.$ac_ext >&5 |
11495 } | 11515 } |
11496 fi | 11516 fi |
11497 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11517 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11498 | 11518 |
11499 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11519 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11500 echo "configure:11501: checking for jl_dic_list_e in -lwnn" >&5 | 11520 echo "configure:11521: checking for jl_dic_list_e in -lwnn" >&5 |
11501 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11521 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11502 | 11522 |
11503 xe_check_libs=" -lwnn " | 11523 xe_check_libs=" -lwnn " |
11504 cat > conftest.$ac_ext <<EOF | 11524 cat > conftest.$ac_ext <<EOF |
11505 #line 11506 "configure" | 11525 #line 11526 "configure" |
11506 #include "confdefs.h" | 11526 #include "confdefs.h" |
11507 /* Override any gcc2 internal prototype to avoid an error. */ | 11527 /* Override any gcc2 internal prototype to avoid an error. */ |
11508 /* We use char because int might match the return type of a gcc2 | 11528 /* We use char because int might match the return type of a gcc2 |
11509 builtin and then its argument prototype would still apply. */ | 11529 builtin and then its argument prototype would still apply. */ |
11510 char jl_dic_list_e(); | 11530 char jl_dic_list_e(); |
11511 | 11531 |
11512 int main() { | 11532 int main() { |
11513 jl_dic_list_e() | 11533 jl_dic_list_e() |
11514 ; return 0; } | 11534 ; return 0; } |
11515 EOF | 11535 EOF |
11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11536 if { (eval echo configure:11537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11517 rm -rf conftest* | 11537 rm -rf conftest* |
11518 eval "ac_cv_lib_$ac_lib_var=yes" | 11538 eval "ac_cv_lib_$ac_lib_var=yes" |
11519 else | 11539 else |
11520 echo "configure: failed program was:" >&5 | 11540 echo "configure: failed program was:" >&5 |
11521 cat conftest.$ac_ext >&5 | 11541 cat conftest.$ac_ext >&5 |
11529 echo "$ac_t""yes" 1>&6 | 11549 echo "$ac_t""yes" 1>&6 |
11530 libwnn=wnn | 11550 libwnn=wnn |
11531 else | 11551 else |
11532 echo "$ac_t""no" 1>&6 | 11552 echo "$ac_t""no" 1>&6 |
11533 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11553 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11534 echo "configure:11535: checking for jl_dic_list_e in -lwnn4" >&5 | 11554 echo "configure:11555: checking for jl_dic_list_e in -lwnn4" >&5 |
11535 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11555 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11536 | 11556 |
11537 xe_check_libs=" -lwnn4 " | 11557 xe_check_libs=" -lwnn4 " |
11538 cat > conftest.$ac_ext <<EOF | 11558 cat > conftest.$ac_ext <<EOF |
11539 #line 11540 "configure" | 11559 #line 11560 "configure" |
11540 #include "confdefs.h" | 11560 #include "confdefs.h" |
11541 /* Override any gcc2 internal prototype to avoid an error. */ | 11561 /* Override any gcc2 internal prototype to avoid an error. */ |
11542 /* We use char because int might match the return type of a gcc2 | 11562 /* We use char because int might match the return type of a gcc2 |
11543 builtin and then its argument prototype would still apply. */ | 11563 builtin and then its argument prototype would still apply. */ |
11544 char jl_dic_list_e(); | 11564 char jl_dic_list_e(); |
11545 | 11565 |
11546 int main() { | 11566 int main() { |
11547 jl_dic_list_e() | 11567 jl_dic_list_e() |
11548 ; return 0; } | 11568 ; return 0; } |
11549 EOF | 11569 EOF |
11550 if { (eval echo configure:11551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11551 rm -rf conftest* | 11571 rm -rf conftest* |
11552 eval "ac_cv_lib_$ac_lib_var=yes" | 11572 eval "ac_cv_lib_$ac_lib_var=yes" |
11553 else | 11573 else |
11554 echo "configure: failed program was:" >&5 | 11574 echo "configure: failed program was:" >&5 |
11555 cat conftest.$ac_ext >&5 | 11575 cat conftest.$ac_ext >&5 |
11563 echo "$ac_t""yes" 1>&6 | 11583 echo "$ac_t""yes" 1>&6 |
11564 libwnn=wnn4 | 11584 libwnn=wnn4 |
11565 else | 11585 else |
11566 echo "$ac_t""no" 1>&6 | 11586 echo "$ac_t""no" 1>&6 |
11567 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11587 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11568 echo "configure:11569: checking for jl_dic_list_e in -lwnn6" >&5 | 11588 echo "configure:11589: checking for jl_dic_list_e in -lwnn6" >&5 |
11569 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11589 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11570 | 11590 |
11571 xe_check_libs=" -lwnn6 " | 11591 xe_check_libs=" -lwnn6 " |
11572 cat > conftest.$ac_ext <<EOF | 11592 cat > conftest.$ac_ext <<EOF |
11573 #line 11574 "configure" | 11593 #line 11594 "configure" |
11574 #include "confdefs.h" | 11594 #include "confdefs.h" |
11575 /* Override any gcc2 internal prototype to avoid an error. */ | 11595 /* Override any gcc2 internal prototype to avoid an error. */ |
11576 /* We use char because int might match the return type of a gcc2 | 11596 /* We use char because int might match the return type of a gcc2 |
11577 builtin and then its argument prototype would still apply. */ | 11597 builtin and then its argument prototype would still apply. */ |
11578 char jl_dic_list_e(); | 11598 char jl_dic_list_e(); |
11579 | 11599 |
11580 int main() { | 11600 int main() { |
11581 jl_dic_list_e() | 11601 jl_dic_list_e() |
11582 ; return 0; } | 11602 ; return 0; } |
11583 EOF | 11603 EOF |
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11585 rm -rf conftest* | 11605 rm -rf conftest* |
11586 eval "ac_cv_lib_$ac_lib_var=yes" | 11606 eval "ac_cv_lib_$ac_lib_var=yes" |
11587 else | 11607 else |
11588 echo "configure: failed program was:" >&5 | 11608 echo "configure: failed program was:" >&5 |
11589 cat conftest.$ac_ext >&5 | 11609 cat conftest.$ac_ext >&5 |
11597 echo "$ac_t""yes" 1>&6 | 11617 echo "$ac_t""yes" 1>&6 |
11598 libwnn=wnn6 | 11618 libwnn=wnn6 |
11599 else | 11619 else |
11600 echo "$ac_t""no" 1>&6 | 11620 echo "$ac_t""no" 1>&6 |
11601 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11621 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11602 echo "configure:11603: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11622 echo "configure:11623: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11603 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11623 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11604 | 11624 |
11605 xe_check_libs=" -lwnn6_fromsrc " | 11625 xe_check_libs=" -lwnn6_fromsrc " |
11606 cat > conftest.$ac_ext <<EOF | 11626 cat > conftest.$ac_ext <<EOF |
11607 #line 11608 "configure" | 11627 #line 11628 "configure" |
11608 #include "confdefs.h" | 11628 #include "confdefs.h" |
11609 /* Override any gcc2 internal prototype to avoid an error. */ | 11629 /* Override any gcc2 internal prototype to avoid an error. */ |
11610 /* We use char because int might match the return type of a gcc2 | 11630 /* We use char because int might match the return type of a gcc2 |
11611 builtin and then its argument prototype would still apply. */ | 11631 builtin and then its argument prototype would still apply. */ |
11612 char dic_list_e(); | 11632 char dic_list_e(); |
11613 | 11633 |
11614 int main() { | 11634 int main() { |
11615 dic_list_e() | 11635 dic_list_e() |
11616 ; return 0; } | 11636 ; return 0; } |
11617 EOF | 11637 EOF |
11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11619 rm -rf conftest* | 11639 rm -rf conftest* |
11620 eval "ac_cv_lib_$ac_lib_var=yes" | 11640 eval "ac_cv_lib_$ac_lib_var=yes" |
11621 else | 11641 else |
11622 echo "configure: failed program was:" >&5 | 11642 echo "configure: failed program was:" >&5 |
11623 cat conftest.$ac_ext >&5 | 11643 cat conftest.$ac_ext >&5 |
11658 | 11678 |
11659 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11679 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11660 if test "$with_wnn6" != "no"; then | 11680 if test "$with_wnn6" != "no"; then |
11661 | 11681 |
11662 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11682 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11663 echo "configure:11664: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11683 echo "configure:11684: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11664 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11684 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11665 | 11685 |
11666 xe_check_libs=" -l$libwnn " | 11686 xe_check_libs=" -l$libwnn " |
11667 cat > conftest.$ac_ext <<EOF | 11687 cat > conftest.$ac_ext <<EOF |
11668 #line 11669 "configure" | 11688 #line 11689 "configure" |
11669 #include "confdefs.h" | 11689 #include "confdefs.h" |
11670 /* Override any gcc2 internal prototype to avoid an error. */ | 11690 /* Override any gcc2 internal prototype to avoid an error. */ |
11671 /* We use char because int might match the return type of a gcc2 | 11691 /* We use char because int might match the return type of a gcc2 |
11672 builtin and then its argument prototype would still apply. */ | 11692 builtin and then its argument prototype would still apply. */ |
11673 char jl_fi_dic_list(); | 11693 char jl_fi_dic_list(); |
11674 | 11694 |
11675 int main() { | 11695 int main() { |
11676 jl_fi_dic_list() | 11696 jl_fi_dic_list() |
11677 ; return 0; } | 11697 ; return 0; } |
11678 EOF | 11698 EOF |
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11699 if { (eval echo configure:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11680 rm -rf conftest* | 11700 rm -rf conftest* |
11681 eval "ac_cv_lib_$ac_lib_var=yes" | 11701 eval "ac_cv_lib_$ac_lib_var=yes" |
11682 else | 11702 else |
11683 echo "configure: failed program was:" >&5 | 11703 echo "configure: failed program was:" >&5 |
11684 cat conftest.$ac_ext >&5 | 11704 cat conftest.$ac_ext >&5 |
11709 | 11729 |
11710 canna_includes_found=no | 11730 canna_includes_found=no |
11711 if test "$with_canna" != "no"; then | 11731 if test "$with_canna" != "no"; then |
11712 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11732 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11713 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11733 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11714 echo "configure:11715: checking for canna/jrkanji.h" >&5 | 11734 echo "configure:11735: checking for canna/jrkanji.h" >&5 |
11715 | 11735 |
11716 cat > conftest.$ac_ext <<EOF | 11736 cat > conftest.$ac_ext <<EOF |
11717 #line 11718 "configure" | 11737 #line 11738 "configure" |
11718 #include "confdefs.h" | 11738 #include "confdefs.h" |
11719 #include <canna/jrkanji.h> | 11739 #include <canna/jrkanji.h> |
11720 EOF | 11740 EOF |
11721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11722 { (eval echo configure:11723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11742 { (eval echo configure:11743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11724 if test -z "$ac_err"; then | 11744 if test -z "$ac_err"; then |
11725 rm -rf conftest* | 11745 rm -rf conftest* |
11726 eval "ac_cv_header_$ac_safe=yes" | 11746 eval "ac_cv_header_$ac_safe=yes" |
11727 else | 11747 else |
11744 -d "/usr/local/canna/include"; then | 11764 -d "/usr/local/canna/include"; then |
11745 save_c_switch_site="$c_switch_site" | 11765 save_c_switch_site="$c_switch_site" |
11746 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11766 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11747 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11767 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11748 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11768 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11749 echo "configure:11750: checking for canna/jrkanji.h" >&5 | 11769 echo "configure:11770: checking for canna/jrkanji.h" >&5 |
11750 | 11770 |
11751 cat > conftest.$ac_ext <<EOF | 11771 cat > conftest.$ac_ext <<EOF |
11752 #line 11753 "configure" | 11772 #line 11773 "configure" |
11753 #include "confdefs.h" | 11773 #include "confdefs.h" |
11754 #include <canna/jrkanji.h> | 11774 #include <canna/jrkanji.h> |
11755 EOF | 11775 EOF |
11756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11757 { (eval echo configure:11758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11777 { (eval echo configure:11778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11759 if test -z "$ac_err"; then | 11779 if test -z "$ac_err"; then |
11760 rm -rf conftest* | 11780 rm -rf conftest* |
11761 eval "ac_cv_header_$ac_safe=yes" | 11781 eval "ac_cv_header_$ac_safe=yes" |
11762 else | 11782 else |
11780 fi | 11800 fi |
11781 fi | 11801 fi |
11782 | 11802 |
11783 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11803 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11784 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11804 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11785 echo "configure:11786: checking for canna/RK.h" >&5 | 11805 echo "configure:11806: checking for canna/RK.h" >&5 |
11786 | 11806 |
11787 cat > conftest.$ac_ext <<EOF | 11807 cat > conftest.$ac_ext <<EOF |
11788 #line 11789 "configure" | 11808 #line 11809 "configure" |
11789 #include "confdefs.h" | 11809 #include "confdefs.h" |
11790 #include <canna/RK.h> | 11810 #include <canna/RK.h> |
11791 EOF | 11811 EOF |
11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11813 { (eval echo configure:11814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11795 if test -z "$ac_err"; then | 11815 if test -z "$ac_err"; then |
11796 rm -rf conftest* | 11816 rm -rf conftest* |
11797 eval "ac_cv_header_$ac_safe=yes" | 11817 eval "ac_cv_header_$ac_safe=yes" |
11798 else | 11818 else |
11811 with_canna=no | 11831 with_canna=no |
11812 fi | 11832 fi |
11813 } | 11833 } |
11814 test -z "$with_canna" && { | 11834 test -z "$with_canna" && { |
11815 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11835 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11816 echo "configure:11817: checking for RkBgnBun in -lRKC" >&5 | 11836 echo "configure:11837: checking for RkBgnBun in -lRKC" >&5 |
11817 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11837 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11818 | 11838 |
11819 xe_check_libs=" -lRKC " | 11839 xe_check_libs=" -lRKC " |
11820 cat > conftest.$ac_ext <<EOF | 11840 cat > conftest.$ac_ext <<EOF |
11821 #line 11822 "configure" | 11841 #line 11842 "configure" |
11822 #include "confdefs.h" | 11842 #include "confdefs.h" |
11823 /* Override any gcc2 internal prototype to avoid an error. */ | 11843 /* Override any gcc2 internal prototype to avoid an error. */ |
11824 /* We use char because int might match the return type of a gcc2 | 11844 /* We use char because int might match the return type of a gcc2 |
11825 builtin and then its argument prototype would still apply. */ | 11845 builtin and then its argument prototype would still apply. */ |
11826 char RkBgnBun(); | 11846 char RkBgnBun(); |
11827 | 11847 |
11828 int main() { | 11848 int main() { |
11829 RkBgnBun() | 11849 RkBgnBun() |
11830 ; return 0; } | 11850 ; return 0; } |
11831 EOF | 11851 EOF |
11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11833 rm -rf conftest* | 11853 rm -rf conftest* |
11834 eval "ac_cv_lib_$ac_lib_var=yes" | 11854 eval "ac_cv_lib_$ac_lib_var=yes" |
11835 else | 11855 else |
11836 echo "configure: failed program was:" >&5 | 11856 echo "configure: failed program was:" >&5 |
11837 cat conftest.$ac_ext >&5 | 11857 cat conftest.$ac_ext >&5 |
11850 fi | 11870 fi |
11851 | 11871 |
11852 } | 11872 } |
11853 test -z "$with_canna" && { | 11873 test -z "$with_canna" && { |
11854 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11874 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11855 echo "configure:11856: checking for jrKanjiControl in -lcanna" >&5 | 11875 echo "configure:11876: checking for jrKanjiControl in -lcanna" >&5 |
11856 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11876 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11857 | 11877 |
11858 xe_check_libs=" -lcanna " | 11878 xe_check_libs=" -lcanna " |
11859 cat > conftest.$ac_ext <<EOF | 11879 cat > conftest.$ac_ext <<EOF |
11860 #line 11861 "configure" | 11880 #line 11881 "configure" |
11861 #include "confdefs.h" | 11881 #include "confdefs.h" |
11862 /* Override any gcc2 internal prototype to avoid an error. */ | 11882 /* Override any gcc2 internal prototype to avoid an error. */ |
11863 /* We use char because int might match the return type of a gcc2 | 11883 /* We use char because int might match the return type of a gcc2 |
11864 builtin and then its argument prototype would still apply. */ | 11884 builtin and then its argument prototype would still apply. */ |
11865 char jrKanjiControl(); | 11885 char jrKanjiControl(); |
11866 | 11886 |
11867 int main() { | 11887 int main() { |
11868 jrKanjiControl() | 11888 jrKanjiControl() |
11869 ; return 0; } | 11889 ; return 0; } |
11870 EOF | 11890 EOF |
11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11891 if { (eval echo configure:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11872 rm -rf conftest* | 11892 rm -rf conftest* |
11873 eval "ac_cv_lib_$ac_lib_var=yes" | 11893 eval "ac_cv_lib_$ac_lib_var=yes" |
11874 else | 11894 else |
11875 echo "configure: failed program was:" >&5 | 11895 echo "configure: failed program was:" >&5 |
11876 cat conftest.$ac_ext >&5 | 11896 cat conftest.$ac_ext >&5 |
11912 | 11932 |
11913 if test "$need_motif" = "yes" ; then | 11933 if test "$need_motif" = "yes" ; then |
11914 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11934 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11915 | 11935 |
11916 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11936 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11917 echo "configure:11918: checking for layout_object_getvalue in -li18n" >&5 | 11937 echo "configure:11938: checking for layout_object_getvalue in -li18n" >&5 |
11918 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11938 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11919 | 11939 |
11920 xe_check_libs=" -li18n " | 11940 xe_check_libs=" -li18n " |
11921 cat > conftest.$ac_ext <<EOF | 11941 cat > conftest.$ac_ext <<EOF |
11922 #line 11923 "configure" | 11942 #line 11943 "configure" |
11923 #include "confdefs.h" | 11943 #include "confdefs.h" |
11924 /* Override any gcc2 internal prototype to avoid an error. */ | 11944 /* Override any gcc2 internal prototype to avoid an error. */ |
11925 /* We use char because int might match the return type of a gcc2 | 11945 /* We use char because int might match the return type of a gcc2 |
11926 builtin and then its argument prototype would still apply. */ | 11946 builtin and then its argument prototype would still apply. */ |
11927 char layout_object_getvalue(); | 11947 char layout_object_getvalue(); |
11928 | 11948 |
11929 int main() { | 11949 int main() { |
11930 layout_object_getvalue() | 11950 layout_object_getvalue() |
11931 ; return 0; } | 11951 ; return 0; } |
11932 EOF | 11952 EOF |
11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11953 if { (eval echo configure:11954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11934 rm -rf conftest* | 11954 rm -rf conftest* |
11935 eval "ac_cv_lib_$ac_lib_var=yes" | 11955 eval "ac_cv_lib_$ac_lib_var=yes" |
11936 else | 11956 else |
11937 echo "configure: failed program was:" >&5 | 11957 echo "configure: failed program was:" >&5 |
11938 cat conftest.$ac_ext >&5 | 11958 cat conftest.$ac_ext >&5 |
12015 | 12035 |
12016 | 12036 |
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 | 12037 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 |
12018 do | 12038 do |
12019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12020 echo "configure:12021: checking for $ac_func" >&5 | 12040 echo "configure:12041: checking for $ac_func" >&5 |
12021 | 12041 |
12022 cat > conftest.$ac_ext <<EOF | 12042 cat > conftest.$ac_ext <<EOF |
12023 #line 12024 "configure" | 12043 #line 12044 "configure" |
12024 #include "confdefs.h" | 12044 #include "confdefs.h" |
12025 /* System header to define __stub macros and hopefully few prototypes, | 12045 /* System header to define __stub macros and hopefully few prototypes, |
12026 which can conflict with char $ac_func(); below. */ | 12046 which can conflict with char $ac_func(); below. */ |
12027 #include <assert.h> | 12047 #include <assert.h> |
12028 /* Override any gcc2 internal prototype to avoid an error. */ | 12048 /* Override any gcc2 internal prototype to avoid an error. */ |
12041 $ac_func(); | 12061 $ac_func(); |
12042 #endif | 12062 #endif |
12043 | 12063 |
12044 ; return 0; } | 12064 ; return 0; } |
12045 EOF | 12065 EOF |
12046 if { (eval echo configure:12047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12047 rm -rf conftest* | 12067 rm -rf conftest* |
12048 eval "ac_cv_func_$ac_func=yes" | 12068 eval "ac_cv_func_$ac_func=yes" |
12049 else | 12069 else |
12050 echo "configure: failed program was:" >&5 | 12070 echo "configure: failed program was:" >&5 |
12051 cat conftest.$ac_ext >&5 | 12071 cat conftest.$ac_ext >&5 |
12082 | 12102 |
12083 | 12103 |
12084 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12104 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12085 do | 12105 do |
12086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12087 echo "configure:12088: checking for $ac_func" >&5 | 12107 echo "configure:12108: checking for $ac_func" >&5 |
12088 | 12108 |
12089 cat > conftest.$ac_ext <<EOF | 12109 cat > conftest.$ac_ext <<EOF |
12090 #line 12091 "configure" | 12110 #line 12111 "configure" |
12091 #include "confdefs.h" | 12111 #include "confdefs.h" |
12092 /* System header to define __stub macros and hopefully few prototypes, | 12112 /* System header to define __stub macros and hopefully few prototypes, |
12093 which can conflict with char $ac_func(); below. */ | 12113 which can conflict with char $ac_func(); below. */ |
12094 #include <assert.h> | 12114 #include <assert.h> |
12095 /* Override any gcc2 internal prototype to avoid an error. */ | 12115 /* Override any gcc2 internal prototype to avoid an error. */ |
12108 $ac_func(); | 12128 $ac_func(); |
12109 #endif | 12129 #endif |
12110 | 12130 |
12111 ; return 0; } | 12131 ; return 0; } |
12112 EOF | 12132 EOF |
12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12133 if { (eval echo configure:12134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12114 rm -rf conftest* | 12134 rm -rf conftest* |
12115 eval "ac_cv_func_$ac_func=yes" | 12135 eval "ac_cv_func_$ac_func=yes" |
12116 else | 12136 else |
12117 echo "configure: failed program was:" >&5 | 12137 echo "configure: failed program was:" >&5 |
12118 cat conftest.$ac_ext >&5 | 12138 cat conftest.$ac_ext >&5 |
12137 fi | 12157 fi |
12138 done | 12158 done |
12139 | 12159 |
12140 | 12160 |
12141 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12161 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12142 echo "configure:12143: checking for openpty" >&5 | 12162 echo "configure:12163: checking for openpty" >&5 |
12143 | 12163 |
12144 cat > conftest.$ac_ext <<EOF | 12164 cat > conftest.$ac_ext <<EOF |
12145 #line 12146 "configure" | 12165 #line 12166 "configure" |
12146 #include "confdefs.h" | 12166 #include "confdefs.h" |
12147 /* System header to define __stub macros and hopefully few prototypes, | 12167 /* System header to define __stub macros and hopefully few prototypes, |
12148 which can conflict with char openpty(); below. */ | 12168 which can conflict with char openpty(); below. */ |
12149 #include <assert.h> | 12169 #include <assert.h> |
12150 /* Override any gcc2 internal prototype to avoid an error. */ | 12170 /* Override any gcc2 internal prototype to avoid an error. */ |
12163 openpty(); | 12183 openpty(); |
12164 #endif | 12184 #endif |
12165 | 12185 |
12166 ; return 0; } | 12186 ; return 0; } |
12167 EOF | 12187 EOF |
12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12188 if { (eval echo configure:12189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12169 rm -rf conftest* | 12189 rm -rf conftest* |
12170 eval "ac_cv_func_openpty=yes" | 12190 eval "ac_cv_func_openpty=yes" |
12171 else | 12191 else |
12172 echo "configure: failed program was:" >&5 | 12192 echo "configure: failed program was:" >&5 |
12173 cat conftest.$ac_ext >&5 | 12193 cat conftest.$ac_ext >&5 |
12182 else | 12202 else |
12183 echo "$ac_t""no" 1>&6 | 12203 echo "$ac_t""no" 1>&6 |
12184 | 12204 |
12185 | 12205 |
12186 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12206 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12187 echo "configure:12188: checking for openpty in -lutil" >&5 | 12207 echo "configure:12208: checking for openpty in -lutil" >&5 |
12188 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12208 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12189 | 12209 |
12190 xe_check_libs=" -lutil " | 12210 xe_check_libs=" -lutil " |
12191 cat > conftest.$ac_ext <<EOF | 12211 cat > conftest.$ac_ext <<EOF |
12192 #line 12193 "configure" | 12212 #line 12213 "configure" |
12193 #include "confdefs.h" | 12213 #include "confdefs.h" |
12194 /* Override any gcc2 internal prototype to avoid an error. */ | 12214 /* Override any gcc2 internal prototype to avoid an error. */ |
12195 /* We use char because int might match the return type of a gcc2 | 12215 /* We use char because int might match the return type of a gcc2 |
12196 builtin and then its argument prototype would still apply. */ | 12216 builtin and then its argument prototype would still apply. */ |
12197 char openpty(); | 12217 char openpty(); |
12198 | 12218 |
12199 int main() { | 12219 int main() { |
12200 openpty() | 12220 openpty() |
12201 ; return 0; } | 12221 ; return 0; } |
12202 EOF | 12222 EOF |
12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12204 rm -rf conftest* | 12224 rm -rf conftest* |
12205 eval "ac_cv_lib_$ac_lib_var=yes" | 12225 eval "ac_cv_lib_$ac_lib_var=yes" |
12206 else | 12226 else |
12207 echo "configure: failed program was:" >&5 | 12227 echo "configure: failed program was:" >&5 |
12208 cat conftest.$ac_ext >&5 | 12228 cat conftest.$ac_ext >&5 |
12233 | 12253 |
12234 for ac_hdr in libutil.h util.h | 12254 for ac_hdr in libutil.h util.h |
12235 do | 12255 do |
12236 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12238 echo "configure:12239: checking for $ac_hdr" >&5 | 12258 echo "configure:12259: checking for $ac_hdr" >&5 |
12239 | 12259 |
12240 cat > conftest.$ac_ext <<EOF | 12260 cat > conftest.$ac_ext <<EOF |
12241 #line 12242 "configure" | 12261 #line 12262 "configure" |
12242 #include "confdefs.h" | 12262 #include "confdefs.h" |
12243 #include <$ac_hdr> | 12263 #include <$ac_hdr> |
12244 EOF | 12264 EOF |
12245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12246 { (eval echo configure:12247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12266 { (eval echo configure:12267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12248 if test -z "$ac_err"; then | 12268 if test -z "$ac_err"; then |
12249 rm -rf conftest* | 12269 rm -rf conftest* |
12250 eval "ac_cv_header_$ac_safe=yes" | 12270 eval "ac_cv_header_$ac_safe=yes" |
12251 else | 12271 else |
12278 case "$opsys" in | 12298 case "$opsys" in |
12279 hpux*) for ac_hdr in sys/ptyio.h | 12299 hpux*) for ac_hdr in sys/ptyio.h |
12280 do | 12300 do |
12281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12301 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12302 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking for $ac_hdr" >&5 | 12303 echo "configure:12304: checking for $ac_hdr" >&5 |
12284 | 12304 |
12285 cat > conftest.$ac_ext <<EOF | 12305 cat > conftest.$ac_ext <<EOF |
12286 #line 12287 "configure" | 12306 #line 12307 "configure" |
12287 #include "confdefs.h" | 12307 #include "confdefs.h" |
12288 #include <$ac_hdr> | 12308 #include <$ac_hdr> |
12289 EOF | 12309 EOF |
12290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12291 { (eval echo configure:12292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12311 { (eval echo configure:12312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12293 if test -z "$ac_err"; then | 12313 if test -z "$ac_err"; then |
12294 rm -rf conftest* | 12314 rm -rf conftest* |
12295 eval "ac_cv_header_$ac_safe=yes" | 12315 eval "ac_cv_header_$ac_safe=yes" |
12296 else | 12316 else |
12319 ;; | 12339 ;; |
12320 *) for ac_hdr in pty.h | 12340 *) for ac_hdr in pty.h |
12321 do | 12341 do |
12322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12324 echo "configure:12325: checking for $ac_hdr" >&5 | 12344 echo "configure:12345: checking for $ac_hdr" >&5 |
12325 | 12345 |
12326 cat > conftest.$ac_ext <<EOF | 12346 cat > conftest.$ac_ext <<EOF |
12327 #line 12328 "configure" | 12347 #line 12348 "configure" |
12328 #include "confdefs.h" | 12348 #include "confdefs.h" |
12329 #include <$ac_hdr> | 12349 #include <$ac_hdr> |
12330 EOF | 12350 EOF |
12331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12332 { (eval echo configure:12333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12352 { (eval echo configure:12353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12334 if test -z "$ac_err"; then | 12354 if test -z "$ac_err"; then |
12335 rm -rf conftest* | 12355 rm -rf conftest* |
12336 eval "ac_cv_header_$ac_safe=yes" | 12356 eval "ac_cv_header_$ac_safe=yes" |
12337 else | 12357 else |
12360 | 12380 |
12361 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12381 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12362 do | 12382 do |
12363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12383 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12384 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12365 echo "configure:12366: checking for $ac_hdr" >&5 | 12385 echo "configure:12386: checking for $ac_hdr" >&5 |
12366 | 12386 |
12367 cat > conftest.$ac_ext <<EOF | 12387 cat > conftest.$ac_ext <<EOF |
12368 #line 12369 "configure" | 12388 #line 12389 "configure" |
12369 #include "confdefs.h" | 12389 #include "confdefs.h" |
12370 #include <$ac_hdr> | 12390 #include <$ac_hdr> |
12371 EOF | 12391 EOF |
12372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12373 { (eval echo configure:12374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12393 { (eval echo configure:12394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12375 if test -z "$ac_err"; then | 12395 if test -z "$ac_err"; then |
12376 rm -rf conftest* | 12396 rm -rf conftest* |
12377 eval "ac_cv_header_$ac_safe=yes" | 12397 eval "ac_cv_header_$ac_safe=yes" |
12378 else | 12398 else |
12404 | 12424 |
12405 for ac_hdr in stropts.h | 12425 for ac_hdr in stropts.h |
12406 do | 12426 do |
12407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12427 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12428 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12409 echo "configure:12410: checking for $ac_hdr" >&5 | 12429 echo "configure:12430: checking for $ac_hdr" >&5 |
12410 | 12430 |
12411 cat > conftest.$ac_ext <<EOF | 12431 cat > conftest.$ac_ext <<EOF |
12412 #line 12413 "configure" | 12432 #line 12433 "configure" |
12413 #include "confdefs.h" | 12433 #include "confdefs.h" |
12414 #include <$ac_hdr> | 12434 #include <$ac_hdr> |
12415 EOF | 12435 EOF |
12416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12417 { (eval echo configure:12418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12437 { (eval echo configure:12438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12419 if test -z "$ac_err"; then | 12439 if test -z "$ac_err"; then |
12420 rm -rf conftest* | 12440 rm -rf conftest* |
12421 eval "ac_cv_header_$ac_safe=yes" | 12441 eval "ac_cv_header_$ac_safe=yes" |
12422 else | 12442 else |
12445 | 12465 |
12446 if test "$ac_cv_header_stropts_h" = "yes"; then | 12466 if test "$ac_cv_header_stropts_h" = "yes"; then |
12447 for ac_func in isastream | 12467 for ac_func in isastream |
12448 do | 12468 do |
12449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12450 echo "configure:12451: checking for $ac_func" >&5 | 12470 echo "configure:12471: checking for $ac_func" >&5 |
12451 | 12471 |
12452 cat > conftest.$ac_ext <<EOF | 12472 cat > conftest.$ac_ext <<EOF |
12453 #line 12454 "configure" | 12473 #line 12474 "configure" |
12454 #include "confdefs.h" | 12474 #include "confdefs.h" |
12455 /* System header to define __stub macros and hopefully few prototypes, | 12475 /* System header to define __stub macros and hopefully few prototypes, |
12456 which can conflict with char $ac_func(); below. */ | 12476 which can conflict with char $ac_func(); below. */ |
12457 #include <assert.h> | 12477 #include <assert.h> |
12458 /* Override any gcc2 internal prototype to avoid an error. */ | 12478 /* Override any gcc2 internal prototype to avoid an error. */ |
12471 $ac_func(); | 12491 $ac_func(); |
12472 #endif | 12492 #endif |
12473 | 12493 |
12474 ; return 0; } | 12494 ; return 0; } |
12475 EOF | 12495 EOF |
12476 if { (eval echo configure:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12496 if { (eval echo configure:12497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12477 rm -rf conftest* | 12497 rm -rf conftest* |
12478 eval "ac_cv_func_$ac_func=yes" | 12498 eval "ac_cv_func_$ac_func=yes" |
12479 else | 12499 else |
12480 echo "configure: failed program was:" >&5 | 12500 echo "configure: failed program was:" >&5 |
12481 cat conftest.$ac_ext >&5 | 12501 cat conftest.$ac_ext >&5 |
12502 | 12522 |
12503 for ac_hdr in strtio.h | 12523 for ac_hdr in strtio.h |
12504 do | 12524 do |
12505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12507 echo "configure:12508: checking for $ac_hdr" >&5 | 12527 echo "configure:12528: checking for $ac_hdr" >&5 |
12508 | 12528 |
12509 cat > conftest.$ac_ext <<EOF | 12529 cat > conftest.$ac_ext <<EOF |
12510 #line 12511 "configure" | 12530 #line 12531 "configure" |
12511 #include "confdefs.h" | 12531 #include "confdefs.h" |
12512 #include <$ac_hdr> | 12532 #include <$ac_hdr> |
12513 EOF | 12533 EOF |
12514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12515 { (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12535 { (eval echo configure:12536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12517 if test -z "$ac_err"; then | 12537 if test -z "$ac_err"; then |
12518 rm -rf conftest* | 12538 rm -rf conftest* |
12519 eval "ac_cv_header_$ac_safe=yes" | 12539 eval "ac_cv_header_$ac_safe=yes" |
12520 else | 12540 else |
12543 fi | 12563 fi |
12544 | 12564 |
12545 for ac_func in getloadavg | 12565 for ac_func in getloadavg |
12546 do | 12566 do |
12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12548 echo "configure:12549: checking for $ac_func" >&5 | 12568 echo "configure:12569: checking for $ac_func" >&5 |
12549 | 12569 |
12550 cat > conftest.$ac_ext <<EOF | 12570 cat > conftest.$ac_ext <<EOF |
12551 #line 12552 "configure" | 12571 #line 12572 "configure" |
12552 #include "confdefs.h" | 12572 #include "confdefs.h" |
12553 /* System header to define __stub macros and hopefully few prototypes, | 12573 /* System header to define __stub macros and hopefully few prototypes, |
12554 which can conflict with char $ac_func(); below. */ | 12574 which can conflict with char $ac_func(); below. */ |
12555 #include <assert.h> | 12575 #include <assert.h> |
12556 /* Override any gcc2 internal prototype to avoid an error. */ | 12576 /* Override any gcc2 internal prototype to avoid an error. */ |
12569 $ac_func(); | 12589 $ac_func(); |
12570 #endif | 12590 #endif |
12571 | 12591 |
12572 ; return 0; } | 12592 ; return 0; } |
12573 EOF | 12593 EOF |
12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12594 if { (eval echo configure:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12575 rm -rf conftest* | 12595 rm -rf conftest* |
12576 eval "ac_cv_func_$ac_func=yes" | 12596 eval "ac_cv_func_$ac_func=yes" |
12577 else | 12597 else |
12578 echo "configure: failed program was:" >&5 | 12598 echo "configure: failed program was:" >&5 |
12579 cat conftest.$ac_ext >&5 | 12599 cat conftest.$ac_ext >&5 |
12602 if test "$ac_cv_func_getloadavg" = "yes"; then | 12622 if test "$ac_cv_func_getloadavg" = "yes"; then |
12603 for ac_hdr in sys/loadavg.h | 12623 for ac_hdr in sys/loadavg.h |
12604 do | 12624 do |
12605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12607 echo "configure:12608: checking for $ac_hdr" >&5 | 12627 echo "configure:12628: checking for $ac_hdr" >&5 |
12608 | 12628 |
12609 cat > conftest.$ac_ext <<EOF | 12629 cat > conftest.$ac_ext <<EOF |
12610 #line 12611 "configure" | 12630 #line 12631 "configure" |
12611 #include "confdefs.h" | 12631 #include "confdefs.h" |
12612 #include <$ac_hdr> | 12632 #include <$ac_hdr> |
12613 EOF | 12633 EOF |
12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12617 if test -z "$ac_err"; then | 12637 if test -z "$ac_err"; then |
12618 rm -rf conftest* | 12638 rm -rf conftest* |
12619 eval "ac_cv_header_$ac_safe=yes" | 12639 eval "ac_cv_header_$ac_safe=yes" |
12620 else | 12640 else |
12646 echo " xemacs will be linked with \"getloadavg.o\"" | 12666 echo " xemacs will be linked with \"getloadavg.o\"" |
12647 fi | 12667 fi |
12648 | 12668 |
12649 | 12669 |
12650 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12670 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12651 echo "configure:12652: checking for kstat_open in -lkstat" >&5 | 12671 echo "configure:12672: checking for kstat_open in -lkstat" >&5 |
12652 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12672 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12653 | 12673 |
12654 xe_check_libs=" -lkstat " | 12674 xe_check_libs=" -lkstat " |
12655 cat > conftest.$ac_ext <<EOF | 12675 cat > conftest.$ac_ext <<EOF |
12656 #line 12657 "configure" | 12676 #line 12677 "configure" |
12657 #include "confdefs.h" | 12677 #include "confdefs.h" |
12658 /* Override any gcc2 internal prototype to avoid an error. */ | 12678 /* Override any gcc2 internal prototype to avoid an error. */ |
12659 /* We use char because int might match the return type of a gcc2 | 12679 /* We use char because int might match the return type of a gcc2 |
12660 builtin and then its argument prototype would still apply. */ | 12680 builtin and then its argument prototype would still apply. */ |
12661 char kstat_open(); | 12681 char kstat_open(); |
12662 | 12682 |
12663 int main() { | 12683 int main() { |
12664 kstat_open() | 12684 kstat_open() |
12665 ; return 0; } | 12685 ; return 0; } |
12666 EOF | 12686 EOF |
12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12687 if { (eval echo configure:12688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12668 rm -rf conftest* | 12688 rm -rf conftest* |
12669 eval "ac_cv_lib_$ac_lib_var=yes" | 12689 eval "ac_cv_lib_$ac_lib_var=yes" |
12670 else | 12690 else |
12671 echo "configure: failed program was:" >&5 | 12691 echo "configure: failed program was:" >&5 |
12672 cat conftest.$ac_ext >&5 | 12692 cat conftest.$ac_ext >&5 |
12697 | 12717 |
12698 for ac_hdr in kstat.h | 12718 for ac_hdr in kstat.h |
12699 do | 12719 do |
12700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12720 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12721 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12702 echo "configure:12703: checking for $ac_hdr" >&5 | 12722 echo "configure:12723: checking for $ac_hdr" >&5 |
12703 | 12723 |
12704 cat > conftest.$ac_ext <<EOF | 12724 cat > conftest.$ac_ext <<EOF |
12705 #line 12706 "configure" | 12725 #line 12726 "configure" |
12706 #include "confdefs.h" | 12726 #include "confdefs.h" |
12707 #include <$ac_hdr> | 12727 #include <$ac_hdr> |
12708 EOF | 12728 EOF |
12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12730 { (eval echo configure:12731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12712 if test -z "$ac_err"; then | 12732 if test -z "$ac_err"; then |
12713 rm -rf conftest* | 12733 rm -rf conftest* |
12714 eval "ac_cv_header_$ac_safe=yes" | 12734 eval "ac_cv_header_$ac_safe=yes" |
12715 else | 12735 else |
12737 done | 12757 done |
12738 | 12758 |
12739 | 12759 |
12740 | 12760 |
12741 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12761 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12742 echo "configure:12743: checking for kvm_read in -lkvm" >&5 | 12762 echo "configure:12763: checking for kvm_read in -lkvm" >&5 |
12743 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12763 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12744 | 12764 |
12745 xe_check_libs=" -lkvm " | 12765 xe_check_libs=" -lkvm " |
12746 cat > conftest.$ac_ext <<EOF | 12766 cat > conftest.$ac_ext <<EOF |
12747 #line 12748 "configure" | 12767 #line 12768 "configure" |
12748 #include "confdefs.h" | 12768 #include "confdefs.h" |
12749 /* Override any gcc2 internal prototype to avoid an error. */ | 12769 /* Override any gcc2 internal prototype to avoid an error. */ |
12750 /* We use char because int might match the return type of a gcc2 | 12770 /* We use char because int might match the return type of a gcc2 |
12751 builtin and then its argument prototype would still apply. */ | 12771 builtin and then its argument prototype would still apply. */ |
12752 char kvm_read(); | 12772 char kvm_read(); |
12753 | 12773 |
12754 int main() { | 12774 int main() { |
12755 kvm_read() | 12775 kvm_read() |
12756 ; return 0; } | 12776 ; return 0; } |
12757 EOF | 12777 EOF |
12758 if { (eval echo configure:12759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12778 if { (eval echo configure:12779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12759 rm -rf conftest* | 12779 rm -rf conftest* |
12760 eval "ac_cv_lib_$ac_lib_var=yes" | 12780 eval "ac_cv_lib_$ac_lib_var=yes" |
12761 else | 12781 else |
12762 echo "configure: failed program was:" >&5 | 12782 echo "configure: failed program was:" >&5 |
12763 cat conftest.$ac_ext >&5 | 12783 cat conftest.$ac_ext >&5 |
12787 | 12807 |
12788 | 12808 |
12789 fi | 12809 fi |
12790 | 12810 |
12791 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12811 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12792 echo "configure:12793: checking whether netdb declares h_errno" >&5 | 12812 echo "configure:12813: checking whether netdb declares h_errno" >&5 |
12793 cat > conftest.$ac_ext <<EOF | 12813 cat > conftest.$ac_ext <<EOF |
12794 #line 12795 "configure" | 12814 #line 12815 "configure" |
12795 #include "confdefs.h" | 12815 #include "confdefs.h" |
12796 #include <netdb.h> | 12816 #include <netdb.h> |
12797 int main() { | 12817 int main() { |
12798 return h_errno; | 12818 return h_errno; |
12799 ; return 0; } | 12819 ; return 0; } |
12800 EOF | 12820 EOF |
12801 if { (eval echo configure:12802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12821 if { (eval echo configure:12822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12802 rm -rf conftest* | 12822 rm -rf conftest* |
12803 echo "$ac_t""yes" 1>&6 | 12823 echo "$ac_t""yes" 1>&6 |
12804 { test "$extra_verbose" = "yes" && cat << \EOF | 12824 { test "$extra_verbose" = "yes" && cat << \EOF |
12805 Defining HAVE_H_ERRNO | 12825 Defining HAVE_H_ERRNO |
12806 EOF | 12826 EOF |
12816 echo "$ac_t""no" 1>&6 | 12836 echo "$ac_t""no" 1>&6 |
12817 fi | 12837 fi |
12818 rm -f conftest* | 12838 rm -f conftest* |
12819 | 12839 |
12820 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12840 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12821 echo "configure:12822: checking for sigsetjmp" >&5 | 12841 echo "configure:12842: checking for sigsetjmp" >&5 |
12822 cat > conftest.$ac_ext <<EOF | 12842 cat > conftest.$ac_ext <<EOF |
12823 #line 12824 "configure" | 12843 #line 12844 "configure" |
12824 #include "confdefs.h" | 12844 #include "confdefs.h" |
12825 #include <setjmp.h> | 12845 #include <setjmp.h> |
12826 int main() { | 12846 int main() { |
12827 sigjmp_buf bar; sigsetjmp (bar, 0); | 12847 sigjmp_buf bar; sigsetjmp (bar, 0); |
12828 ; return 0; } | 12848 ; return 0; } |
12829 EOF | 12849 EOF |
12830 if { (eval echo configure:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12850 if { (eval echo configure:12851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12831 rm -rf conftest* | 12851 rm -rf conftest* |
12832 echo "$ac_t""yes" 1>&6 | 12852 echo "$ac_t""yes" 1>&6 |
12833 { test "$extra_verbose" = "yes" && cat << \EOF | 12853 { test "$extra_verbose" = "yes" && cat << \EOF |
12834 Defining HAVE_SIGSETJMP | 12854 Defining HAVE_SIGSETJMP |
12835 EOF | 12855 EOF |
12845 echo "$ac_t""no" 1>&6 | 12865 echo "$ac_t""no" 1>&6 |
12846 fi | 12866 fi |
12847 rm -f conftest* | 12867 rm -f conftest* |
12848 | 12868 |
12849 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12869 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12850 echo "configure:12851: checking whether localtime caches TZ" >&5 | 12870 echo "configure:12871: checking whether localtime caches TZ" >&5 |
12851 | 12871 |
12852 if test "$ac_cv_func_tzset" = "yes"; then | 12872 if test "$ac_cv_func_tzset" = "yes"; then |
12853 cat > conftest.$ac_ext <<EOF | 12873 cat > conftest.$ac_ext <<EOF |
12854 #line 12855 "configure" | 12874 #line 12875 "configure" |
12855 #include "confdefs.h" | 12875 #include "confdefs.h" |
12856 #include <time.h> | 12876 #include <time.h> |
12857 #if STDC_HEADERS | 12877 #if STDC_HEADERS |
12858 # include <stdlib.h> | 12878 # include <stdlib.h> |
12859 #endif | 12879 #endif |
12884 if (localtime (&now)->tm_hour != hour_unset) | 12904 if (localtime (&now)->tm_hour != hour_unset) |
12885 exit (1); | 12905 exit (1); |
12886 exit (0); | 12906 exit (0); |
12887 } | 12907 } |
12888 EOF | 12908 EOF |
12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12890 then | 12910 then |
12891 emacs_cv_localtime_cache=no | 12911 emacs_cv_localtime_cache=no |
12892 else | 12912 else |
12893 conftest_rc="$?" | 12913 conftest_rc="$?" |
12894 echo "configure: failed program was:" >&5 | 12914 echo "configure: failed program was:" >&5 |
12914 | 12934 |
12915 fi | 12935 fi |
12916 | 12936 |
12917 if test "$HAVE_TIMEVAL" = "yes"; then | 12937 if test "$HAVE_TIMEVAL" = "yes"; then |
12918 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12938 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12919 echo "configure:12920: checking whether gettimeofday accepts one or two arguments" >&5 | 12939 echo "configure:12940: checking whether gettimeofday accepts one or two arguments" >&5 |
12920 cat > conftest.$ac_ext <<EOF | 12940 cat > conftest.$ac_ext <<EOF |
12921 #line 12922 "configure" | 12941 #line 12942 "configure" |
12922 #include "confdefs.h" | 12942 #include "confdefs.h" |
12923 | 12943 |
12924 #ifdef TIME_WITH_SYS_TIME | 12944 #ifdef TIME_WITH_SYS_TIME |
12925 #include <sys/time.h> | 12945 #include <sys/time.h> |
12926 #include <time.h> | 12946 #include <time.h> |
12937 struct timeval time; | 12957 struct timeval time; |
12938 gettimeofday (&time, 0); | 12958 gettimeofday (&time, 0); |
12939 | 12959 |
12940 ; return 0; } | 12960 ; return 0; } |
12941 EOF | 12961 EOF |
12942 if { (eval echo configure:12943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12962 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12943 rm -rf conftest* | 12963 rm -rf conftest* |
12944 echo "$ac_t""two" 1>&6 | 12964 echo "$ac_t""two" 1>&6 |
12945 else | 12965 else |
12946 echo "configure: failed program was:" >&5 | 12966 echo "configure: failed program was:" >&5 |
12947 cat conftest.$ac_ext >&5 | 12967 cat conftest.$ac_ext >&5 |
12959 rm -f conftest* | 12979 rm -f conftest* |
12960 fi | 12980 fi |
12961 | 12981 |
12962 | 12982 |
12963 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12983 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12964 echo "configure:12965: checking for inline" >&5 | 12984 echo "configure:12985: checking for inline" >&5 |
12965 | 12985 |
12966 ac_cv_c_inline=no | 12986 ac_cv_c_inline=no |
12967 for ac_kw in inline __inline__ __inline; do | 12987 for ac_kw in inline __inline__ __inline; do |
12968 cat > conftest.$ac_ext <<EOF | 12988 cat > conftest.$ac_ext <<EOF |
12969 #line 12970 "configure" | 12989 #line 12990 "configure" |
12970 #include "confdefs.h" | 12990 #include "confdefs.h" |
12971 | 12991 |
12972 int main() { | 12992 int main() { |
12973 } $ac_kw foo() { | 12993 } $ac_kw foo() { |
12974 ; return 0; } | 12994 ; return 0; } |
12975 EOF | 12995 EOF |
12976 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12996 if { (eval echo configure:12997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12977 rm -rf conftest* | 12997 rm -rf conftest* |
12978 ac_cv_c_inline=$ac_kw; break | 12998 ac_cv_c_inline=$ac_kw; break |
12979 else | 12999 else |
12980 echo "configure: failed program was:" >&5 | 13000 echo "configure: failed program was:" >&5 |
12981 cat conftest.$ac_ext >&5 | 13001 cat conftest.$ac_ext >&5 |
13008 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13028 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13009 echo " xemacs will be linked with \"inline.o\"" | 13029 echo " xemacs will be linked with \"inline.o\"" |
13010 fi | 13030 fi |
13011 | 13031 |
13012 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13032 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13013 echo "configure:13014: checking for typeof" >&5 | 13033 echo "configure:13034: checking for typeof" >&5 |
13014 cat > conftest.$ac_ext <<EOF | 13034 cat > conftest.$ac_ext <<EOF |
13015 #line 13016 "configure" | 13035 #line 13036 "configure" |
13016 #include "confdefs.h" | 13036 #include "confdefs.h" |
13017 | 13037 |
13018 int main() { | 13038 int main() { |
13019 int i; __typeof__(i) j; | 13039 int i; __typeof__(i) j; |
13020 ; return 0; } | 13040 ; return 0; } |
13021 EOF | 13041 EOF |
13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13042 if { (eval echo configure:13043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13023 rm -rf conftest* | 13043 rm -rf conftest* |
13024 typeofname="__typeof__" | 13044 typeofname="__typeof__" |
13025 else | 13045 else |
13026 echo "configure: failed program was:" >&5 | 13046 echo "configure: failed program was:" >&5 |
13027 cat conftest.$ac_ext >&5 | 13047 cat conftest.$ac_ext >&5 |
13028 rm -rf conftest* | 13048 rm -rf conftest* |
13029 cat > conftest.$ac_ext <<EOF | 13049 cat > conftest.$ac_ext <<EOF |
13030 #line 13031 "configure" | 13050 #line 13051 "configure" |
13031 #include "confdefs.h" | 13051 #include "confdefs.h" |
13032 | 13052 |
13033 int main() { | 13053 int main() { |
13034 int i; typeof(i) j; | 13054 int i; typeof(i) j; |
13035 ; return 0; } | 13055 ; return 0; } |
13036 EOF | 13056 EOF |
13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13057 if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13038 rm -rf conftest* | 13058 rm -rf conftest* |
13039 typeofname="typeof" | 13059 typeofname="typeof" |
13040 else | 13060 else |
13041 echo "configure: failed program was:" >&5 | 13061 echo "configure: failed program was:" >&5 |
13042 cat conftest.$ac_ext >&5 | 13062 cat conftest.$ac_ext >&5 |
13061 | 13081 |
13062 if test "$__DECC" != "yes"; then | 13082 if test "$__DECC" != "yes"; then |
13063 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13083 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13064 # for constant arguments. Useless! | 13084 # for constant arguments. Useless! |
13065 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13085 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13066 echo "configure:13067: checking for working alloca.h" >&5 | 13086 echo "configure:13087: checking for working alloca.h" >&5 |
13067 | 13087 |
13068 cat > conftest.$ac_ext <<EOF | 13088 cat > conftest.$ac_ext <<EOF |
13069 #line 13070 "configure" | 13089 #line 13090 "configure" |
13070 #include "confdefs.h" | 13090 #include "confdefs.h" |
13071 #include <alloca.h> | 13091 #include <alloca.h> |
13072 int main() { | 13092 int main() { |
13073 char *p = alloca(2 * sizeof(int)); | 13093 char *p = alloca(2 * sizeof(int)); |
13074 ; return 0; } | 13094 ; return 0; } |
13075 EOF | 13095 EOF |
13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13096 if { (eval echo configure:13097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13077 rm -rf conftest* | 13097 rm -rf conftest* |
13078 ac_cv_header_alloca_h=yes | 13098 ac_cv_header_alloca_h=yes |
13079 else | 13099 else |
13080 echo "configure: failed program was:" >&5 | 13100 echo "configure: failed program was:" >&5 |
13081 cat conftest.$ac_ext >&5 | 13101 cat conftest.$ac_ext >&5 |
13095 } | 13115 } |
13096 | 13116 |
13097 fi | 13117 fi |
13098 | 13118 |
13099 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13119 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13100 echo "configure:13101: checking for alloca" >&5 | 13120 echo "configure:13121: checking for alloca" >&5 |
13101 | 13121 |
13102 cat > conftest.$ac_ext <<EOF | 13122 cat > conftest.$ac_ext <<EOF |
13103 #line 13104 "configure" | 13123 #line 13124 "configure" |
13104 #include "confdefs.h" | 13124 #include "confdefs.h" |
13105 | 13125 |
13106 #ifdef __GNUC__ | 13126 #ifdef __GNUC__ |
13107 # define alloca __builtin_alloca | 13127 # define alloca __builtin_alloca |
13108 #else | 13128 #else |
13126 | 13146 |
13127 int main() { | 13147 int main() { |
13128 char *p = (char *) alloca(1); | 13148 char *p = (char *) alloca(1); |
13129 ; return 0; } | 13149 ; return 0; } |
13130 EOF | 13150 EOF |
13131 if { (eval echo configure:13132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13151 if { (eval echo configure:13152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13132 rm -rf conftest* | 13152 rm -rf conftest* |
13133 ac_cv_func_alloca_works=yes | 13153 ac_cv_func_alloca_works=yes |
13134 else | 13154 else |
13135 echo "configure: failed program was:" >&5 | 13155 echo "configure: failed program was:" >&5 |
13136 cat conftest.$ac_ext >&5 | 13156 cat conftest.$ac_ext >&5 |
13165 EOF | 13185 EOF |
13166 } | 13186 } |
13167 | 13187 |
13168 | 13188 |
13169 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13189 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13170 echo "configure:13171: checking whether alloca needs Cray hooks" >&5 | 13190 echo "configure:13191: checking whether alloca needs Cray hooks" >&5 |
13171 | 13191 |
13172 cat > conftest.$ac_ext <<EOF | 13192 cat > conftest.$ac_ext <<EOF |
13173 #line 13174 "configure" | 13193 #line 13194 "configure" |
13174 #include "confdefs.h" | 13194 #include "confdefs.h" |
13175 #if defined(CRAY) && ! defined(CRAY2) | 13195 #if defined(CRAY) && ! defined(CRAY2) |
13176 webecray | 13196 webecray |
13177 #else | 13197 #else |
13178 wenotbecray | 13198 wenotbecray |
13192 | 13212 |
13193 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13213 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13194 if test $ac_cv_os_cray = yes; then | 13214 if test $ac_cv_os_cray = yes; then |
13195 for ac_func in _getb67 GETB67 getb67; do | 13215 for ac_func in _getb67 GETB67 getb67; do |
13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13197 echo "configure:13198: checking for $ac_func" >&5 | 13217 echo "configure:13218: checking for $ac_func" >&5 |
13198 | 13218 |
13199 cat > conftest.$ac_ext <<EOF | 13219 cat > conftest.$ac_ext <<EOF |
13200 #line 13201 "configure" | 13220 #line 13221 "configure" |
13201 #include "confdefs.h" | 13221 #include "confdefs.h" |
13202 /* System header to define __stub macros and hopefully few prototypes, | 13222 /* System header to define __stub macros and hopefully few prototypes, |
13203 which can conflict with char $ac_func(); below. */ | 13223 which can conflict with char $ac_func(); below. */ |
13204 #include <assert.h> | 13224 #include <assert.h> |
13205 /* Override any gcc2 internal prototype to avoid an error. */ | 13225 /* Override any gcc2 internal prototype to avoid an error. */ |
13218 $ac_func(); | 13238 $ac_func(); |
13219 #endif | 13239 #endif |
13220 | 13240 |
13221 ; return 0; } | 13241 ; return 0; } |
13222 EOF | 13242 EOF |
13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13243 if { (eval echo configure:13244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13224 rm -rf conftest* | 13244 rm -rf conftest* |
13225 eval "ac_cv_func_$ac_func=yes" | 13245 eval "ac_cv_func_$ac_func=yes" |
13226 else | 13246 else |
13227 echo "configure: failed program was:" >&5 | 13247 echo "configure: failed program was:" >&5 |
13228 cat conftest.$ac_ext >&5 | 13248 cat conftest.$ac_ext >&5 |
13248 | 13268 |
13249 done | 13269 done |
13250 fi | 13270 fi |
13251 | 13271 |
13252 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13272 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13253 echo "configure:13254: checking stack direction for C alloca" >&5 | 13273 echo "configure:13274: checking stack direction for C alloca" >&5 |
13254 | 13274 |
13255 cat > conftest.$ac_ext <<EOF | 13275 cat > conftest.$ac_ext <<EOF |
13256 #line 13257 "configure" | 13276 #line 13277 "configure" |
13257 #include "confdefs.h" | 13277 #include "confdefs.h" |
13258 find_stack_direction () | 13278 find_stack_direction () |
13259 { | 13279 { |
13260 static char *addr = 0; | 13280 static char *addr = 0; |
13261 auto char dummy; | 13281 auto char dummy; |
13270 main () | 13290 main () |
13271 { | 13291 { |
13272 exit (find_stack_direction() < 0); | 13292 exit (find_stack_direction() < 0); |
13273 } | 13293 } |
13274 EOF | 13294 EOF |
13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13276 then | 13296 then |
13277 ac_cv_c_stack_direction=1 | 13297 ac_cv_c_stack_direction=1 |
13278 else | 13298 else |
13279 conftest_rc="$?" | 13299 conftest_rc="$?" |
13280 echo "configure: failed program was:" >&5 | 13300 echo "configure: failed program was:" >&5 |
13299 echo " xemacs will be linked with \"$ALLOCA\"" | 13319 echo " xemacs will be linked with \"$ALLOCA\"" |
13300 fi | 13320 fi |
13301 fi | 13321 fi |
13302 | 13322 |
13303 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13323 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13304 echo "configure:13305: checking for working alloca in function calls" >&5 | 13324 echo "configure:13325: checking for working alloca in function calls" >&5 |
13305 cat > conftest.$ac_ext <<EOF | 13325 cat > conftest.$ac_ext <<EOF |
13306 #line 13307 "configure" | 13326 #line 13327 "configure" |
13307 #include "confdefs.h" | 13327 #include "confdefs.h" |
13308 | 13328 |
13309 #if defined (__CYGWIN__) | 13329 #if defined (__CYGWIN__) |
13310 #include <alloca.h> | 13330 #include <alloca.h> |
13311 #elif defined (__GNUC__) | 13331 #elif defined (__GNUC__) |
13354 return 1; | 13374 return 1; |
13355 return 0; | 13375 return 0; |
13356 } | 13376 } |
13357 | 13377 |
13358 EOF | 13378 EOF |
13359 if { (eval echo configure:13360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13379 if { (eval echo configure:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13360 then | 13380 then |
13361 working_alloca_in_function_calls=yes | 13381 working_alloca_in_function_calls=yes |
13362 else | 13382 else |
13363 conftest_rc="$?" | 13383 conftest_rc="$?" |
13364 echo "configure: failed program was:" >&5 | 13384 echo "configure: failed program was:" >&5 |
13377 EOF | 13397 EOF |
13378 } | 13398 } |
13379 | 13399 |
13380 | 13400 |
13381 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13401 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13382 echo "configure:13383: checking for working strcoll" >&5 | 13402 echo "configure:13403: checking for working strcoll" >&5 |
13383 | 13403 |
13384 cat > conftest.$ac_ext <<EOF | 13404 cat > conftest.$ac_ext <<EOF |
13385 #line 13386 "configure" | 13405 #line 13406 "configure" |
13386 #include "confdefs.h" | 13406 #include "confdefs.h" |
13387 #include <string.h> | 13407 #include <string.h> |
13388 main () | 13408 main () |
13389 { | 13409 { |
13390 exit (strcoll ("abc", "def") >= 0 || | 13410 exit (strcoll ("abc", "def") >= 0 || |
13391 strcoll ("ABC", "DEF") >= 0 || | 13411 strcoll ("ABC", "DEF") >= 0 || |
13392 strcoll ("123", "456") >= 0); | 13412 strcoll ("123", "456") >= 0); |
13393 } | 13413 } |
13394 EOF | 13414 EOF |
13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13396 then | 13416 then |
13397 ac_cv_func_strcoll_works=yes | 13417 ac_cv_func_strcoll_works=yes |
13398 else | 13418 else |
13399 conftest_rc="$?" | 13419 conftest_rc="$?" |
13400 echo "configure: failed program was:" >&5 | 13420 echo "configure: failed program was:" >&5 |
13418 | 13438 |
13419 | 13439 |
13420 for ac_func in getpgrp | 13440 for ac_func in getpgrp |
13421 do | 13441 do |
13422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13423 echo "configure:13424: checking for $ac_func" >&5 | 13443 echo "configure:13444: checking for $ac_func" >&5 |
13424 | 13444 |
13425 cat > conftest.$ac_ext <<EOF | 13445 cat > conftest.$ac_ext <<EOF |
13426 #line 13427 "configure" | 13446 #line 13447 "configure" |
13427 #include "confdefs.h" | 13447 #include "confdefs.h" |
13428 /* System header to define __stub macros and hopefully few prototypes, | 13448 /* System header to define __stub macros and hopefully few prototypes, |
13429 which can conflict with char $ac_func(); below. */ | 13449 which can conflict with char $ac_func(); below. */ |
13430 #include <assert.h> | 13450 #include <assert.h> |
13431 /* Override any gcc2 internal prototype to avoid an error. */ | 13451 /* Override any gcc2 internal prototype to avoid an error. */ |
13444 $ac_func(); | 13464 $ac_func(); |
13445 #endif | 13465 #endif |
13446 | 13466 |
13447 ; return 0; } | 13467 ; return 0; } |
13448 EOF | 13468 EOF |
13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13450 rm -rf conftest* | 13470 rm -rf conftest* |
13451 eval "ac_cv_func_$ac_func=yes" | 13471 eval "ac_cv_func_$ac_func=yes" |
13452 else | 13472 else |
13453 echo "configure: failed program was:" >&5 | 13473 echo "configure: failed program was:" >&5 |
13454 cat conftest.$ac_ext >&5 | 13474 cat conftest.$ac_ext >&5 |
13472 echo "$ac_t""no" 1>&6 | 13492 echo "$ac_t""no" 1>&6 |
13473 fi | 13493 fi |
13474 done | 13494 done |
13475 | 13495 |
13476 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13496 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13477 echo "configure:13478: checking whether getpgrp takes no argument" >&5 | 13497 echo "configure:13498: checking whether getpgrp takes no argument" >&5 |
13478 | 13498 |
13479 cat > conftest.$ac_ext <<EOF | 13499 cat > conftest.$ac_ext <<EOF |
13480 #line 13481 "configure" | 13500 #line 13501 "configure" |
13481 #include "confdefs.h" | 13501 #include "confdefs.h" |
13482 | 13502 |
13483 /* | 13503 /* |
13484 * If this system has a BSD-style getpgrp(), | 13504 * If this system has a BSD-style getpgrp(), |
13485 * which takes a pid argument, exit unsuccessfully. | 13505 * which takes a pid argument, exit unsuccessfully. |
13530 exit(s>>8); | 13550 exit(s>>8); |
13531 } | 13551 } |
13532 } | 13552 } |
13533 | 13553 |
13534 EOF | 13554 EOF |
13535 if { (eval echo configure:13536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13555 if { (eval echo configure:13556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13536 then | 13556 then |
13537 ac_cv_func_getpgrp_void=yes | 13557 ac_cv_func_getpgrp_void=yes |
13538 else | 13558 else |
13539 conftest_rc="$?" | 13559 conftest_rc="$?" |
13540 echo "configure: failed program was:" >&5 | 13560 echo "configure: failed program was:" >&5 |
13557 | 13577 |
13558 fi | 13578 fi |
13559 | 13579 |
13560 | 13580 |
13561 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13581 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13562 echo "configure:13563: checking for working mmap" >&5 | 13582 echo "configure:13583: checking for working mmap" >&5 |
13563 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13583 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13564 cat > conftest.$ac_ext <<EOF | 13584 cat > conftest.$ac_ext <<EOF |
13565 #line 13566 "configure" | 13585 #line 13586 "configure" |
13566 #include "confdefs.h" | 13586 #include "confdefs.h" |
13567 #include <stdio.h> | 13587 #include <stdio.h> |
13568 #include <unistd.h> | 13588 #include <unistd.h> |
13569 #include <fcntl.h> | 13589 #include <fcntl.h> |
13570 #include <sys/mman.h> | 13590 #include <sys/mman.h> |
13593 return 0; | 13613 return 0; |
13594 perror ("conftest: mmap failed"); | 13614 perror ("conftest: mmap failed"); |
13595 return 1; | 13615 return 1; |
13596 } | 13616 } |
13597 EOF | 13617 EOF |
13598 if { (eval echo configure:13599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13618 if { (eval echo configure:13619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13599 then | 13619 then |
13600 have_mmap=yes | 13620 have_mmap=yes |
13601 else | 13621 else |
13602 conftest_rc="$?" | 13622 conftest_rc="$?" |
13603 echo "configure: failed program was:" >&5 | 13623 echo "configure: failed program was:" >&5 |
13622 esac | 13642 esac |
13623 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13643 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13624 if test "$rel_alloc $have_mmap" = "default yes"; then | 13644 if test "$rel_alloc $have_mmap" = "default yes"; then |
13625 if test "$doug_lea_malloc" = "yes"; then | 13645 if test "$doug_lea_malloc" = "yes"; then |
13626 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13646 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13627 echo "configure:13628: checking for M_MMAP_THRESHOLD" >&5 | 13647 echo "configure:13648: checking for M_MMAP_THRESHOLD" >&5 |
13628 cat > conftest.$ac_ext <<EOF | 13648 cat > conftest.$ac_ext <<EOF |
13629 #line 13630 "configure" | 13649 #line 13650 "configure" |
13630 #include "confdefs.h" | 13650 #include "confdefs.h" |
13631 #include <malloc.h> | 13651 #include <malloc.h> |
13632 int main() { | 13652 int main() { |
13633 | 13653 |
13634 #ifndef M_MMAP_THRESHOLD | 13654 #ifndef M_MMAP_THRESHOLD |
13636 !@+$%^&*_)(_ - unlikely to compile... | 13656 !@+$%^&*_)(_ - unlikely to compile... |
13637 #endif | 13657 #endif |
13638 | 13658 |
13639 ; return 0; } | 13659 ; return 0; } |
13640 EOF | 13660 EOF |
13641 if { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13661 if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13642 rm -rf conftest* | 13662 rm -rf conftest* |
13643 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13663 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13644 else | 13664 else |
13645 echo "configure: failed program was:" >&5 | 13665 echo "configure: failed program was:" >&5 |
13646 cat conftest.$ac_ext >&5 | 13666 cat conftest.$ac_ext >&5 |
13661 } | 13681 } |
13662 | 13682 |
13663 | 13683 |
13664 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13684 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13665 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13685 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13666 echo "configure:13667: checking for termios.h" >&5 | 13686 echo "configure:13687: checking for termios.h" >&5 |
13667 | 13687 |
13668 cat > conftest.$ac_ext <<EOF | 13688 cat > conftest.$ac_ext <<EOF |
13669 #line 13670 "configure" | 13689 #line 13690 "configure" |
13670 #include "confdefs.h" | 13690 #include "confdefs.h" |
13671 #include <termios.h> | 13691 #include <termios.h> |
13672 EOF | 13692 EOF |
13673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13674 { (eval echo configure:13675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13694 { (eval echo configure:13695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13676 if test -z "$ac_err"; then | 13696 if test -z "$ac_err"; then |
13677 rm -rf conftest* | 13697 rm -rf conftest* |
13678 eval "ac_cv_header_$ac_safe=yes" | 13698 eval "ac_cv_header_$ac_safe=yes" |
13679 else | 13699 else |
13712 | 13732 |
13713 else | 13733 else |
13714 echo "$ac_t""no" 1>&6 | 13734 echo "$ac_t""no" 1>&6 |
13715 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13735 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13716 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13736 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13717 echo "configure:13718: checking for termio.h" >&5 | 13737 echo "configure:13738: checking for termio.h" >&5 |
13718 | 13738 |
13719 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
13720 #line 13721 "configure" | 13740 #line 13741 "configure" |
13721 #include "confdefs.h" | 13741 #include "confdefs.h" |
13722 #include <termio.h> | 13742 #include <termio.h> |
13723 EOF | 13743 EOF |
13724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13725 { (eval echo configure:13726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13745 { (eval echo configure:13746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13727 if test -z "$ac_err"; then | 13747 if test -z "$ac_err"; then |
13728 rm -rf conftest* | 13748 rm -rf conftest* |
13729 eval "ac_cv_header_$ac_safe=yes" | 13749 eval "ac_cv_header_$ac_safe=yes" |
13730 else | 13750 else |
13752 fi | 13772 fi |
13753 | 13773 |
13754 | 13774 |
13755 | 13775 |
13756 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13776 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13757 echo "configure:13758: checking for socket" >&5 | 13777 echo "configure:13778: checking for socket" >&5 |
13758 | 13778 |
13759 cat > conftest.$ac_ext <<EOF | 13779 cat > conftest.$ac_ext <<EOF |
13760 #line 13761 "configure" | 13780 #line 13781 "configure" |
13761 #include "confdefs.h" | 13781 #include "confdefs.h" |
13762 /* System header to define __stub macros and hopefully few prototypes, | 13782 /* System header to define __stub macros and hopefully few prototypes, |
13763 which can conflict with char socket(); below. */ | 13783 which can conflict with char socket(); below. */ |
13764 #include <assert.h> | 13784 #include <assert.h> |
13765 /* Override any gcc2 internal prototype to avoid an error. */ | 13785 /* Override any gcc2 internal prototype to avoid an error. */ |
13778 socket(); | 13798 socket(); |
13779 #endif | 13799 #endif |
13780 | 13800 |
13781 ; return 0; } | 13801 ; return 0; } |
13782 EOF | 13802 EOF |
13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13803 if { (eval echo configure:13804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13784 rm -rf conftest* | 13804 rm -rf conftest* |
13785 eval "ac_cv_func_socket=yes" | 13805 eval "ac_cv_func_socket=yes" |
13786 else | 13806 else |
13787 echo "configure: failed program was:" >&5 | 13807 echo "configure: failed program was:" >&5 |
13788 cat conftest.$ac_ext >&5 | 13808 cat conftest.$ac_ext >&5 |
13793 | 13813 |
13794 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13814 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13795 echo "$ac_t""yes" 1>&6 | 13815 echo "$ac_t""yes" 1>&6 |
13796 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13816 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13797 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13817 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13798 echo "configure:13799: checking for netinet/in.h" >&5 | 13818 echo "configure:13819: checking for netinet/in.h" >&5 |
13799 | 13819 |
13800 cat > conftest.$ac_ext <<EOF | 13820 cat > conftest.$ac_ext <<EOF |
13801 #line 13802 "configure" | 13821 #line 13822 "configure" |
13802 #include "confdefs.h" | 13822 #include "confdefs.h" |
13803 #include <netinet/in.h> | 13823 #include <netinet/in.h> |
13804 EOF | 13824 EOF |
13805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13806 { (eval echo configure:13807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13826 { (eval echo configure:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13808 if test -z "$ac_err"; then | 13828 if test -z "$ac_err"; then |
13809 rm -rf conftest* | 13829 rm -rf conftest* |
13810 eval "ac_cv_header_$ac_safe=yes" | 13830 eval "ac_cv_header_$ac_safe=yes" |
13811 else | 13831 else |
13818 rm -f conftest* | 13838 rm -f conftest* |
13819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13820 echo "$ac_t""yes" 1>&6 | 13840 echo "$ac_t""yes" 1>&6 |
13821 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13841 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13822 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13842 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13823 echo "configure:13824: checking for arpa/inet.h" >&5 | 13843 echo "configure:13844: checking for arpa/inet.h" >&5 |
13824 | 13844 |
13825 cat > conftest.$ac_ext <<EOF | 13845 cat > conftest.$ac_ext <<EOF |
13826 #line 13827 "configure" | 13846 #line 13847 "configure" |
13827 #include "confdefs.h" | 13847 #include "confdefs.h" |
13828 #include <arpa/inet.h> | 13848 #include <arpa/inet.h> |
13829 EOF | 13849 EOF |
13830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13831 { (eval echo configure:13832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13851 { (eval echo configure:13852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13833 if test -z "$ac_err"; then | 13853 if test -z "$ac_err"; then |
13834 rm -rf conftest* | 13854 rm -rf conftest* |
13835 eval "ac_cv_header_$ac_safe=yes" | 13855 eval "ac_cv_header_$ac_safe=yes" |
13836 else | 13856 else |
13851 #define HAVE_SOCKETS 1 | 13871 #define HAVE_SOCKETS 1 |
13852 EOF | 13872 EOF |
13853 } | 13873 } |
13854 | 13874 |
13855 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13875 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13856 echo "configure:13857: checking "for sun_len member in struct sockaddr_un"" >&5 | 13876 echo "configure:13877: checking "for sun_len member in struct sockaddr_un"" >&5 |
13857 cat > conftest.$ac_ext <<EOF | 13877 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 13878 #line 13879 "configure" |
13859 #include "confdefs.h" | 13879 #include "confdefs.h" |
13860 | 13880 |
13861 #include <sys/types.h> | 13881 #include <sys/types.h> |
13862 #include <sys/socket.h> | 13882 #include <sys/socket.h> |
13863 #include <sys/un.h> | 13883 #include <sys/un.h> |
13864 | 13884 |
13865 int main() { | 13885 int main() { |
13866 static struct sockaddr_un x; x.sun_len = 1; | 13886 static struct sockaddr_un x; x.sun_len = 1; |
13867 ; return 0; } | 13887 ; return 0; } |
13868 EOF | 13888 EOF |
13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13889 if { (eval echo configure:13890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13870 rm -rf conftest* | 13890 rm -rf conftest* |
13871 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13891 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13872 Defining HAVE_SOCKADDR_SUN_LEN | 13892 Defining HAVE_SOCKADDR_SUN_LEN |
13873 EOF | 13893 EOF |
13874 cat >> confdefs.h <<\EOF | 13894 cat >> confdefs.h <<\EOF |
13882 rm -rf conftest* | 13902 rm -rf conftest* |
13883 echo "$ac_t""no" 1>&6 | 13903 echo "$ac_t""no" 1>&6 |
13884 fi | 13904 fi |
13885 rm -f conftest* | 13905 rm -f conftest* |
13886 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13906 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13887 echo "configure:13888: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13907 echo "configure:13908: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13888 cat > conftest.$ac_ext <<EOF | 13908 cat > conftest.$ac_ext <<EOF |
13889 #line 13890 "configure" | 13909 #line 13910 "configure" |
13890 #include "confdefs.h" | 13910 #include "confdefs.h" |
13891 | 13911 |
13892 #include <sys/types.h> | 13912 #include <sys/types.h> |
13893 #include <netinet/in.h> | 13913 #include <netinet/in.h> |
13894 | 13914 |
13895 int main() { | 13915 int main() { |
13896 static struct ip_mreq x; | 13916 static struct ip_mreq x; |
13897 ; return 0; } | 13917 ; return 0; } |
13898 EOF | 13918 EOF |
13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13919 if { (eval echo configure:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13900 rm -rf conftest* | 13920 rm -rf conftest* |
13901 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13921 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13902 Defining HAVE_MULTICAST | 13922 Defining HAVE_MULTICAST |
13903 EOF | 13923 EOF |
13904 cat >> confdefs.h <<\EOF | 13924 cat >> confdefs.h <<\EOF |
13925 echo "$ac_t""no" 1>&6 | 13945 echo "$ac_t""no" 1>&6 |
13926 fi | 13946 fi |
13927 | 13947 |
13928 | 13948 |
13929 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13949 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13930 echo "configure:13931: checking for msgget" >&5 | 13950 echo "configure:13951: checking for msgget" >&5 |
13931 | 13951 |
13932 cat > conftest.$ac_ext <<EOF | 13952 cat > conftest.$ac_ext <<EOF |
13933 #line 13934 "configure" | 13953 #line 13954 "configure" |
13934 #include "confdefs.h" | 13954 #include "confdefs.h" |
13935 /* System header to define __stub macros and hopefully few prototypes, | 13955 /* System header to define __stub macros and hopefully few prototypes, |
13936 which can conflict with char msgget(); below. */ | 13956 which can conflict with char msgget(); below. */ |
13937 #include <assert.h> | 13957 #include <assert.h> |
13938 /* Override any gcc2 internal prototype to avoid an error. */ | 13958 /* Override any gcc2 internal prototype to avoid an error. */ |
13951 msgget(); | 13971 msgget(); |
13952 #endif | 13972 #endif |
13953 | 13973 |
13954 ; return 0; } | 13974 ; return 0; } |
13955 EOF | 13975 EOF |
13956 if { (eval echo configure:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13957 rm -rf conftest* | 13977 rm -rf conftest* |
13958 eval "ac_cv_func_msgget=yes" | 13978 eval "ac_cv_func_msgget=yes" |
13959 else | 13979 else |
13960 echo "configure: failed program was:" >&5 | 13980 echo "configure: failed program was:" >&5 |
13961 cat conftest.$ac_ext >&5 | 13981 cat conftest.$ac_ext >&5 |
13966 | 13986 |
13967 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13987 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13968 echo "$ac_t""yes" 1>&6 | 13988 echo "$ac_t""yes" 1>&6 |
13969 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13989 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13970 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13990 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13971 echo "configure:13972: checking for sys/ipc.h" >&5 | 13991 echo "configure:13992: checking for sys/ipc.h" >&5 |
13972 | 13992 |
13973 cat > conftest.$ac_ext <<EOF | 13993 cat > conftest.$ac_ext <<EOF |
13974 #line 13975 "configure" | 13994 #line 13995 "configure" |
13975 #include "confdefs.h" | 13995 #include "confdefs.h" |
13976 #include <sys/ipc.h> | 13996 #include <sys/ipc.h> |
13977 EOF | 13997 EOF |
13978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13979 { (eval echo configure:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13999 { (eval echo configure:14000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13981 if test -z "$ac_err"; then | 14001 if test -z "$ac_err"; then |
13982 rm -rf conftest* | 14002 rm -rf conftest* |
13983 eval "ac_cv_header_$ac_safe=yes" | 14003 eval "ac_cv_header_$ac_safe=yes" |
13984 else | 14004 else |
13991 rm -f conftest* | 14011 rm -f conftest* |
13992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13993 echo "$ac_t""yes" 1>&6 | 14013 echo "$ac_t""yes" 1>&6 |
13994 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 14014 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13995 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 14015 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13996 echo "configure:13997: checking for sys/msg.h" >&5 | 14016 echo "configure:14017: checking for sys/msg.h" >&5 |
13997 | 14017 |
13998 cat > conftest.$ac_ext <<EOF | 14018 cat > conftest.$ac_ext <<EOF |
13999 #line 14000 "configure" | 14019 #line 14020 "configure" |
14000 #include "confdefs.h" | 14020 #include "confdefs.h" |
14001 #include <sys/msg.h> | 14021 #include <sys/msg.h> |
14002 EOF | 14022 EOF |
14003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14004 { (eval echo configure:14005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14024 { (eval echo configure:14025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14006 if test -z "$ac_err"; then | 14026 if test -z "$ac_err"; then |
14007 rm -rf conftest* | 14027 rm -rf conftest* |
14008 eval "ac_cv_header_$ac_safe=yes" | 14028 eval "ac_cv_header_$ac_safe=yes" |
14009 else | 14029 else |
14037 fi | 14057 fi |
14038 | 14058 |
14039 | 14059 |
14040 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14060 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14041 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14061 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14042 echo "configure:14043: checking for dirent.h" >&5 | 14062 echo "configure:14063: checking for dirent.h" >&5 |
14043 | 14063 |
14044 cat > conftest.$ac_ext <<EOF | 14064 cat > conftest.$ac_ext <<EOF |
14045 #line 14046 "configure" | 14065 #line 14066 "configure" |
14046 #include "confdefs.h" | 14066 #include "confdefs.h" |
14047 #include <dirent.h> | 14067 #include <dirent.h> |
14048 EOF | 14068 EOF |
14049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14050 { (eval echo configure:14051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14070 { (eval echo configure:14071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14052 if test -z "$ac_err"; then | 14072 if test -z "$ac_err"; then |
14053 rm -rf conftest* | 14073 rm -rf conftest* |
14054 eval "ac_cv_header_$ac_safe=yes" | 14074 eval "ac_cv_header_$ac_safe=yes" |
14055 else | 14075 else |
14072 | 14092 |
14073 else | 14093 else |
14074 echo "$ac_t""no" 1>&6 | 14094 echo "$ac_t""no" 1>&6 |
14075 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14095 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14076 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14096 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14077 echo "configure:14078: checking for sys/dir.h" >&5 | 14097 echo "configure:14098: checking for sys/dir.h" >&5 |
14078 | 14098 |
14079 cat > conftest.$ac_ext <<EOF | 14099 cat > conftest.$ac_ext <<EOF |
14080 #line 14081 "configure" | 14100 #line 14101 "configure" |
14081 #include "confdefs.h" | 14101 #include "confdefs.h" |
14082 #include <sys/dir.h> | 14102 #include <sys/dir.h> |
14083 EOF | 14103 EOF |
14084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14085 { (eval echo configure:14086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14105 { (eval echo configure:14106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14087 if test -z "$ac_err"; then | 14107 if test -z "$ac_err"; then |
14088 rm -rf conftest* | 14108 rm -rf conftest* |
14089 eval "ac_cv_header_$ac_safe=yes" | 14109 eval "ac_cv_header_$ac_safe=yes" |
14090 else | 14110 else |
14113 fi | 14133 fi |
14114 | 14134 |
14115 | 14135 |
14116 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14136 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14117 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14137 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14118 echo "configure:14119: checking for nlist.h" >&5 | 14138 echo "configure:14139: checking for nlist.h" >&5 |
14119 | 14139 |
14120 cat > conftest.$ac_ext <<EOF | 14140 cat > conftest.$ac_ext <<EOF |
14121 #line 14122 "configure" | 14141 #line 14142 "configure" |
14122 #include "confdefs.h" | 14142 #include "confdefs.h" |
14123 #include <nlist.h> | 14143 #include <nlist.h> |
14124 EOF | 14144 EOF |
14125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14126 { (eval echo configure:14127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14146 { (eval echo configure:14147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14128 if test -z "$ac_err"; then | 14148 if test -z "$ac_err"; then |
14129 rm -rf conftest* | 14149 rm -rf conftest* |
14130 eval "ac_cv_header_$ac_safe=yes" | 14150 eval "ac_cv_header_$ac_safe=yes" |
14131 else | 14151 else |
14151 fi | 14171 fi |
14152 | 14172 |
14153 | 14173 |
14154 | 14174 |
14155 echo "checking "for sound support"" 1>&6 | 14175 echo "checking "for sound support"" 1>&6 |
14156 echo "configure:14157: checking "for sound support"" >&5 | 14176 echo "configure:14177: checking "for sound support"" >&5 |
14157 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14177 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14158 | 14178 |
14159 if test "$with_native_sound" != "no"; then | 14179 if test "$with_native_sound" != "no"; then |
14160 if test -n "$native_sound_lib"; then | 14180 if test -n "$native_sound_lib"; then |
14161 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14181 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14162 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14182 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14163 echo "configure:14164: checking for multimedia/audio_device.h" >&5 | 14183 echo "configure:14184: checking for multimedia/audio_device.h" >&5 |
14164 | 14184 |
14165 cat > conftest.$ac_ext <<EOF | 14185 cat > conftest.$ac_ext <<EOF |
14166 #line 14167 "configure" | 14186 #line 14187 "configure" |
14167 #include "confdefs.h" | 14187 #include "confdefs.h" |
14168 #include <multimedia/audio_device.h> | 14188 #include <multimedia/audio_device.h> |
14169 EOF | 14189 EOF |
14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14173 if test -z "$ac_err"; then | 14193 if test -z "$ac_err"; then |
14174 rm -rf conftest* | 14194 rm -rf conftest* |
14175 eval "ac_cv_header_$ac_safe=yes" | 14195 eval "ac_cv_header_$ac_safe=yes" |
14176 else | 14196 else |
14222 case "$canonical" in | 14242 case "$canonical" in |
14223 *-sgi-* ) | 14243 *-sgi-* ) |
14224 if test -z "$native_sound_lib"; then | 14244 if test -z "$native_sound_lib"; then |
14225 | 14245 |
14226 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14246 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14227 echo "configure:14228: checking for ALopenport in -laudio" >&5 | 14247 echo "configure:14248: checking for ALopenport in -laudio" >&5 |
14228 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14248 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14229 | 14249 |
14230 xe_check_libs=" -laudio " | 14250 xe_check_libs=" -laudio " |
14231 cat > conftest.$ac_ext <<EOF | 14251 cat > conftest.$ac_ext <<EOF |
14232 #line 14233 "configure" | 14252 #line 14253 "configure" |
14233 #include "confdefs.h" | 14253 #include "confdefs.h" |
14234 /* Override any gcc2 internal prototype to avoid an error. */ | 14254 /* Override any gcc2 internal prototype to avoid an error. */ |
14235 /* We use char because int might match the return type of a gcc2 | 14255 /* We use char because int might match the return type of a gcc2 |
14236 builtin and then its argument prototype would still apply. */ | 14256 builtin and then its argument prototype would still apply. */ |
14237 char ALopenport(); | 14257 char ALopenport(); |
14238 | 14258 |
14239 int main() { | 14259 int main() { |
14240 ALopenport() | 14260 ALopenport() |
14241 ; return 0; } | 14261 ; return 0; } |
14242 EOF | 14262 EOF |
14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14244 rm -rf conftest* | 14264 rm -rf conftest* |
14245 eval "ac_cv_lib_$ac_lib_var=yes" | 14265 eval "ac_cv_lib_$ac_lib_var=yes" |
14246 else | 14266 else |
14247 echo "configure: failed program was:" >&5 | 14267 echo "configure: failed program was:" >&5 |
14248 cat conftest.$ac_ext >&5 | 14268 cat conftest.$ac_ext >&5 |
14269 fi ;; | 14289 fi ;; |
14270 hppa*-hp-hpux* ) | 14290 hppa*-hp-hpux* ) |
14271 if test -z "$native_sound_lib"; then | 14291 if test -z "$native_sound_lib"; then |
14272 | 14292 |
14273 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14293 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14274 echo "configure:14275: checking for AOpenAudio in -lAlib" >&5 | 14294 echo "configure:14295: checking for AOpenAudio in -lAlib" >&5 |
14275 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14295 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14276 | 14296 |
14277 xe_check_libs=" -lAlib " | 14297 xe_check_libs=" -lAlib " |
14278 cat > conftest.$ac_ext <<EOF | 14298 cat > conftest.$ac_ext <<EOF |
14279 #line 14280 "configure" | 14299 #line 14300 "configure" |
14280 #include "confdefs.h" | 14300 #include "confdefs.h" |
14281 /* Override any gcc2 internal prototype to avoid an error. */ | 14301 /* Override any gcc2 internal prototype to avoid an error. */ |
14282 /* We use char because int might match the return type of a gcc2 | 14302 /* We use char because int might match the return type of a gcc2 |
14283 builtin and then its argument prototype would still apply. */ | 14303 builtin and then its argument prototype would still apply. */ |
14284 char AOpenAudio(); | 14304 char AOpenAudio(); |
14285 | 14305 |
14286 int main() { | 14306 int main() { |
14287 AOpenAudio() | 14307 AOpenAudio() |
14288 ; return 0; } | 14308 ; return 0; } |
14289 EOF | 14309 EOF |
14290 if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14310 if { (eval echo configure:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14291 rm -rf conftest* | 14311 rm -rf conftest* |
14292 eval "ac_cv_lib_$ac_lib_var=yes" | 14312 eval "ac_cv_lib_$ac_lib_var=yes" |
14293 else | 14313 else |
14294 echo "configure: failed program was:" >&5 | 14314 echo "configure: failed program was:" >&5 |
14295 cat conftest.$ac_ext >&5 | 14315 cat conftest.$ac_ext >&5 |
14333 | 14353 |
14334 if test -z "$sound_found"; then | 14354 if test -z "$sound_found"; then |
14335 for dir in "machine" "sys" "linux"; do | 14355 for dir in "machine" "sys" "linux"; do |
14336 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14356 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14337 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14357 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14338 echo "configure:14339: checking for ${dir}/soundcard.h" >&5 | 14358 echo "configure:14359: checking for ${dir}/soundcard.h" >&5 |
14339 | 14359 |
14340 cat > conftest.$ac_ext <<EOF | 14360 cat > conftest.$ac_ext <<EOF |
14341 #line 14342 "configure" | 14361 #line 14362 "configure" |
14342 #include "confdefs.h" | 14362 #include "confdefs.h" |
14343 #include <${dir}/soundcard.h> | 14363 #include <${dir}/soundcard.h> |
14344 EOF | 14364 EOF |
14345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14346 { (eval echo configure:14347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14366 { (eval echo configure:14367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14348 if test -z "$ac_err"; then | 14368 if test -z "$ac_err"; then |
14349 rm -rf conftest* | 14369 rm -rf conftest* |
14350 eval "ac_cv_header_$ac_safe=yes" | 14370 eval "ac_cv_header_$ac_safe=yes" |
14351 else | 14371 else |
14395 fi | 14415 fi |
14396 | 14416 |
14397 if test "$with_nas_sound" != "no"; then | 14417 if test "$with_nas_sound" != "no"; then |
14398 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14418 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14399 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14419 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14400 echo "configure:14401: checking for audio/audiolib.h" >&5 | 14420 echo "configure:14421: checking for audio/audiolib.h" >&5 |
14401 | 14421 |
14402 cat > conftest.$ac_ext <<EOF | 14422 cat > conftest.$ac_ext <<EOF |
14403 #line 14404 "configure" | 14423 #line 14424 "configure" |
14404 #include "confdefs.h" | 14424 #include "confdefs.h" |
14405 #include <audio/audiolib.h> | 14425 #include <audio/audiolib.h> |
14406 EOF | 14426 EOF |
14407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14408 { (eval echo configure:14409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14428 { (eval echo configure:14429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14410 if test -z "$ac_err"; then | 14430 if test -z "$ac_err"; then |
14411 rm -rf conftest* | 14431 rm -rf conftest* |
14412 eval "ac_cv_header_$ac_safe=yes" | 14432 eval "ac_cv_header_$ac_safe=yes" |
14413 else | 14433 else |
14421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14422 echo "$ac_t""yes" 1>&6 | 14442 echo "$ac_t""yes" 1>&6 |
14423 | 14443 |
14424 | 14444 |
14425 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14445 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14426 echo "configure:14427: checking for AuOpenServer in -laudio" >&5 | 14446 echo "configure:14447: checking for AuOpenServer in -laudio" >&5 |
14427 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14447 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14428 | 14448 |
14429 xe_check_libs=" -laudio " | 14449 xe_check_libs=" -laudio " |
14430 cat > conftest.$ac_ext <<EOF | 14450 cat > conftest.$ac_ext <<EOF |
14431 #line 14432 "configure" | 14451 #line 14452 "configure" |
14432 #include "confdefs.h" | 14452 #include "confdefs.h" |
14433 /* Override any gcc2 internal prototype to avoid an error. */ | 14453 /* Override any gcc2 internal prototype to avoid an error. */ |
14434 /* We use char because int might match the return type of a gcc2 | 14454 /* We use char because int might match the return type of a gcc2 |
14435 builtin and then its argument prototype would still apply. */ | 14455 builtin and then its argument prototype would still apply. */ |
14436 char AuOpenServer(); | 14456 char AuOpenServer(); |
14437 | 14457 |
14438 int main() { | 14458 int main() { |
14439 AuOpenServer() | 14459 AuOpenServer() |
14440 ; return 0; } | 14460 ; return 0; } |
14441 EOF | 14461 EOF |
14442 if { (eval echo configure:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14462 if { (eval echo configure:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14443 rm -rf conftest* | 14463 rm -rf conftest* |
14444 eval "ac_cv_lib_$ac_lib_var=yes" | 14464 eval "ac_cv_lib_$ac_lib_var=yes" |
14445 else | 14465 else |
14446 echo "configure: failed program was:" >&5 | 14466 echo "configure: failed program was:" >&5 |
14447 cat conftest.$ac_ext >&5 | 14467 cat conftest.$ac_ext >&5 |
14476 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14496 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14477 echo " xemacs will be linked with \"nas.o\"" | 14497 echo " xemacs will be linked with \"nas.o\"" |
14478 fi | 14498 fi |
14479 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14499 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14480 cat > conftest.$ac_ext <<EOF | 14500 cat > conftest.$ac_ext <<EOF |
14481 #line 14482 "configure" | 14501 #line 14502 "configure" |
14482 #include "confdefs.h" | 14502 #include "confdefs.h" |
14483 #include <audio/Xtutil.h> | 14503 #include <audio/Xtutil.h> |
14484 EOF | 14504 EOF |
14485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14486 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14506 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14507 | 14527 |
14508 if test "$with_esd_sound" != "no"; then | 14528 if test "$with_esd_sound" != "no"; then |
14509 # Extract the first word of "esd-config", so it can be a program name with args. | 14529 # Extract the first word of "esd-config", so it can be a program name with args. |
14510 set dummy esd-config; ac_word=$2 | 14530 set dummy esd-config; ac_word=$2 |
14511 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14531 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14512 echo "configure:14513: checking for $ac_word" >&5 | 14532 echo "configure:14533: checking for $ac_word" >&5 |
14513 | 14533 |
14514 if test -n "$have_esd_config"; then | 14534 if test -n "$have_esd_config"; then |
14515 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14535 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14516 else | 14536 else |
14517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14537 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14536 if test "$have_esd_config" = "yes"; then | 14556 if test "$have_esd_config" = "yes"; then |
14537 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14557 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
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 | 14558 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 |
14539 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14559 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14540 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14560 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14541 echo "configure:14542: checking for esd_play_stream" >&5 | 14561 echo "configure:14562: checking for esd_play_stream" >&5 |
14542 | 14562 |
14543 cat > conftest.$ac_ext <<EOF | 14563 cat > conftest.$ac_ext <<EOF |
14544 #line 14545 "configure" | 14564 #line 14565 "configure" |
14545 #include "confdefs.h" | 14565 #include "confdefs.h" |
14546 /* System header to define __stub macros and hopefully few prototypes, | 14566 /* System header to define __stub macros and hopefully few prototypes, |
14547 which can conflict with char esd_play_stream(); below. */ | 14567 which can conflict with char esd_play_stream(); below. */ |
14548 #include <assert.h> | 14568 #include <assert.h> |
14549 /* Override any gcc2 internal prototype to avoid an error. */ | 14569 /* Override any gcc2 internal prototype to avoid an error. */ |
14562 esd_play_stream(); | 14582 esd_play_stream(); |
14563 #endif | 14583 #endif |
14564 | 14584 |
14565 ; return 0; } | 14585 ; return 0; } |
14566 EOF | 14586 EOF |
14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14568 rm -rf conftest* | 14588 rm -rf conftest* |
14569 eval "ac_cv_func_esd_play_stream=yes" | 14589 eval "ac_cv_func_esd_play_stream=yes" |
14570 else | 14590 else |
14571 echo "configure: failed program was:" >&5 | 14591 echo "configure: failed program was:" >&5 |
14572 cat conftest.$ac_ext >&5 | 14592 cat conftest.$ac_ext >&5 |
14613 | 14633 |
14614 test -z "$with_tty" && with_tty=yes | 14634 test -z "$with_tty" && with_tty=yes |
14615 | 14635 |
14616 if test "$with_tty" = "yes" ; then | 14636 if test "$with_tty" = "yes" ; then |
14617 echo "checking for TTY-related features" 1>&6 | 14637 echo "checking for TTY-related features" 1>&6 |
14618 echo "configure:14619: checking for TTY-related features" >&5 | 14638 echo "configure:14639: checking for TTY-related features" >&5 |
14619 { test "$extra_verbose" = "yes" && cat << \EOF | 14639 { test "$extra_verbose" = "yes" && cat << \EOF |
14620 Defining HAVE_TTY | 14640 Defining HAVE_TTY |
14621 EOF | 14641 EOF |
14622 cat >> confdefs.h <<\EOF | 14642 cat >> confdefs.h <<\EOF |
14623 #define HAVE_TTY 1 | 14643 #define HAVE_TTY 1 |
14626 | 14646 |
14627 | 14647 |
14628 if test -z "$with_ncurses"; then | 14648 if test -z "$with_ncurses"; then |
14629 | 14649 |
14630 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14650 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14631 echo "configure:14632: checking for tgetent in -lncurses" >&5 | 14651 echo "configure:14652: checking for tgetent in -lncurses" >&5 |
14632 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14652 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14633 | 14653 |
14634 xe_check_libs=" -lncurses " | 14654 xe_check_libs=" -lncurses " |
14635 cat > conftest.$ac_ext <<EOF | 14655 cat > conftest.$ac_ext <<EOF |
14636 #line 14637 "configure" | 14656 #line 14657 "configure" |
14637 #include "confdefs.h" | 14657 #include "confdefs.h" |
14638 /* Override any gcc2 internal prototype to avoid an error. */ | 14658 /* Override any gcc2 internal prototype to avoid an error. */ |
14639 /* We use char because int might match the return type of a gcc2 | 14659 /* We use char because int might match the return type of a gcc2 |
14640 builtin and then its argument prototype would still apply. */ | 14660 builtin and then its argument prototype would still apply. */ |
14641 char tgetent(); | 14661 char tgetent(); |
14642 | 14662 |
14643 int main() { | 14663 int main() { |
14644 tgetent() | 14664 tgetent() |
14645 ; return 0; } | 14665 ; return 0; } |
14646 EOF | 14666 EOF |
14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14667 if { (eval echo configure:14668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14648 rm -rf conftest* | 14668 rm -rf conftest* |
14649 eval "ac_cv_lib_$ac_lib_var=yes" | 14669 eval "ac_cv_lib_$ac_lib_var=yes" |
14650 else | 14670 else |
14651 echo "configure: failed program was:" >&5 | 14671 echo "configure: failed program was:" >&5 |
14652 cat conftest.$ac_ext >&5 | 14672 cat conftest.$ac_ext >&5 |
14675 EOF | 14695 EOF |
14676 } | 14696 } |
14677 | 14697 |
14678 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14698 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14679 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14699 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14680 echo "configure:14681: checking for ncurses/curses.h" >&5 | 14700 echo "configure:14701: checking for ncurses/curses.h" >&5 |
14681 | 14701 |
14682 cat > conftest.$ac_ext <<EOF | 14702 cat > conftest.$ac_ext <<EOF |
14683 #line 14684 "configure" | 14703 #line 14704 "configure" |
14684 #include "confdefs.h" | 14704 #include "confdefs.h" |
14685 #include <ncurses/curses.h> | 14705 #include <ncurses/curses.h> |
14686 EOF | 14706 EOF |
14687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14688 { (eval echo configure:14689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14708 { (eval echo configure:14709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14690 if test -z "$ac_err"; then | 14710 if test -z "$ac_err"; then |
14691 rm -rf conftest* | 14711 rm -rf conftest* |
14692 eval "ac_cv_header_$ac_safe=yes" | 14712 eval "ac_cv_header_$ac_safe=yes" |
14693 else | 14713 else |
14705 echo "$ac_t""no" 1>&6 | 14725 echo "$ac_t""no" 1>&6 |
14706 fi | 14726 fi |
14707 | 14727 |
14708 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14728 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14709 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14729 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14710 echo "configure:14711: checking for ncurses/term.h" >&5 | 14730 echo "configure:14731: checking for ncurses/term.h" >&5 |
14711 | 14731 |
14712 cat > conftest.$ac_ext <<EOF | 14732 cat > conftest.$ac_ext <<EOF |
14713 #line 14714 "configure" | 14733 #line 14734 "configure" |
14714 #include "confdefs.h" | 14734 #include "confdefs.h" |
14715 #include <ncurses/term.h> | 14735 #include <ncurses/term.h> |
14716 EOF | 14736 EOF |
14717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14718 { (eval echo configure:14719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14738 { (eval echo configure:14739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14720 if test -z "$ac_err"; then | 14740 if test -z "$ac_err"; then |
14721 rm -rf conftest* | 14741 rm -rf conftest* |
14722 eval "ac_cv_header_$ac_safe=yes" | 14742 eval "ac_cv_header_$ac_safe=yes" |
14723 else | 14743 else |
14743 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14763 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14744 save_c_switch_site="$c_switch_site" | 14764 save_c_switch_site="$c_switch_site" |
14745 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14765 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14746 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14766 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14747 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14767 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14748 echo "configure:14749: checking for ncurses/curses.h" >&5 | 14768 echo "configure:14769: checking for ncurses/curses.h" >&5 |
14749 | 14769 |
14750 cat > conftest.$ac_ext <<EOF | 14770 cat > conftest.$ac_ext <<EOF |
14751 #line 14752 "configure" | 14771 #line 14772 "configure" |
14752 #include "confdefs.h" | 14772 #include "confdefs.h" |
14753 #include <ncurses/curses.h> | 14773 #include <ncurses/curses.h> |
14754 EOF | 14774 EOF |
14755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14756 { (eval echo configure:14757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14776 { (eval echo configure:14777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14758 if test -z "$ac_err"; then | 14778 if test -z "$ac_err"; then |
14759 rm -rf conftest* | 14779 rm -rf conftest* |
14760 eval "ac_cv_header_$ac_safe=yes" | 14780 eval "ac_cv_header_$ac_safe=yes" |
14761 else | 14781 else |
14786 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14806 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14787 else | 14807 else |
14788 for lib in curses termlib termcap; do | 14808 for lib in curses termlib termcap; do |
14789 | 14809 |
14790 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14810 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14791 echo "configure:14792: checking for tgetent in -l$lib" >&5 | 14811 echo "configure:14812: checking for tgetent in -l$lib" >&5 |
14792 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14812 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14793 | 14813 |
14794 xe_check_libs=" -l$lib " | 14814 xe_check_libs=" -l$lib " |
14795 cat > conftest.$ac_ext <<EOF | 14815 cat > conftest.$ac_ext <<EOF |
14796 #line 14797 "configure" | 14816 #line 14817 "configure" |
14797 #include "confdefs.h" | 14817 #include "confdefs.h" |
14798 /* Override any gcc2 internal prototype to avoid an error. */ | 14818 /* Override any gcc2 internal prototype to avoid an error. */ |
14799 /* We use char because int might match the return type of a gcc2 | 14819 /* We use char because int might match the return type of a gcc2 |
14800 builtin and then its argument prototype would still apply. */ | 14820 builtin and then its argument prototype would still apply. */ |
14801 char tgetent(); | 14821 char tgetent(); |
14802 | 14822 |
14803 int main() { | 14823 int main() { |
14804 tgetent() | 14824 tgetent() |
14805 ; return 0; } | 14825 ; return 0; } |
14806 EOF | 14826 EOF |
14807 if { (eval echo configure:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14827 if { (eval echo configure:14828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14808 rm -rf conftest* | 14828 rm -rf conftest* |
14809 eval "ac_cv_lib_$ac_lib_var=yes" | 14829 eval "ac_cv_lib_$ac_lib_var=yes" |
14810 else | 14830 else |
14811 echo "configure: failed program was:" >&5 | 14831 echo "configure: failed program was:" >&5 |
14812 cat conftest.$ac_ext >&5 | 14832 cat conftest.$ac_ext >&5 |
14833 if test -n "$libs_termcap"; then | 14853 if test -n "$libs_termcap"; then |
14834 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14854 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14835 else | 14855 else |
14836 | 14856 |
14837 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14857 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14838 echo "configure:14839: checking for tgetent in -lcurses" >&5 | 14858 echo "configure:14859: checking for tgetent in -lcurses" >&5 |
14839 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14859 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14840 | 14860 |
14841 xe_check_libs=" -lcurses " | 14861 xe_check_libs=" -lcurses " |
14842 cat > conftest.$ac_ext <<EOF | 14862 cat > conftest.$ac_ext <<EOF |
14843 #line 14844 "configure" | 14863 #line 14864 "configure" |
14844 #include "confdefs.h" | 14864 #include "confdefs.h" |
14845 /* Override any gcc2 internal prototype to avoid an error. */ | 14865 /* Override any gcc2 internal prototype to avoid an error. */ |
14846 /* We use char because int might match the return type of a gcc2 | 14866 /* We use char because int might match the return type of a gcc2 |
14847 builtin and then its argument prototype would still apply. */ | 14867 builtin and then its argument prototype would still apply. */ |
14848 char tgetent(); | 14868 char tgetent(); |
14849 | 14869 |
14850 int main() { | 14870 int main() { |
14851 tgetent() | 14871 tgetent() |
14852 ; return 0; } | 14872 ; return 0; } |
14853 EOF | 14873 EOF |
14854 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14874 if { (eval echo configure:14875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14855 rm -rf conftest* | 14875 rm -rf conftest* |
14856 eval "ac_cv_lib_$ac_lib_var=yes" | 14876 eval "ac_cv_lib_$ac_lib_var=yes" |
14857 else | 14877 else |
14858 echo "configure: failed program was:" >&5 | 14878 echo "configure: failed program was:" >&5 |
14859 cat conftest.$ac_ext >&5 | 14879 cat conftest.$ac_ext >&5 |
14867 echo "$ac_t""yes" 1>&6 | 14887 echo "$ac_t""yes" 1>&6 |
14868 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14888 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14869 else | 14889 else |
14870 echo "$ac_t""no" 1>&6 | 14890 echo "$ac_t""no" 1>&6 |
14871 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14891 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14872 echo "configure:14873: checking for tgetent in -ltermcap" >&5 | 14892 echo "configure:14893: checking for tgetent in -ltermcap" >&5 |
14873 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14893 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14874 | 14894 |
14875 xe_check_libs=" -ltermcap " | 14895 xe_check_libs=" -ltermcap " |
14876 cat > conftest.$ac_ext <<EOF | 14896 cat > conftest.$ac_ext <<EOF |
14877 #line 14878 "configure" | 14897 #line 14898 "configure" |
14878 #include "confdefs.h" | 14898 #include "confdefs.h" |
14879 /* Override any gcc2 internal prototype to avoid an error. */ | 14899 /* Override any gcc2 internal prototype to avoid an error. */ |
14880 /* We use char because int might match the return type of a gcc2 | 14900 /* We use char because int might match the return type of a gcc2 |
14881 builtin and then its argument prototype would still apply. */ | 14901 builtin and then its argument prototype would still apply. */ |
14882 char tgetent(); | 14902 char tgetent(); |
14883 | 14903 |
14884 int main() { | 14904 int main() { |
14885 tgetent() | 14905 tgetent() |
14886 ; return 0; } | 14906 ; return 0; } |
14887 EOF | 14907 EOF |
14888 if { (eval echo configure:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14908 if { (eval echo configure:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14889 rm -rf conftest* | 14909 rm -rf conftest* |
14890 eval "ac_cv_lib_$ac_lib_var=yes" | 14910 eval "ac_cv_lib_$ac_lib_var=yes" |
14891 else | 14911 else |
14892 echo "configure: failed program was:" >&5 | 14912 echo "configure: failed program was:" >&5 |
14893 cat conftest.$ac_ext >&5 | 14913 cat conftest.$ac_ext >&5 |
14931 } | 14951 } |
14932 | 14952 |
14933 | 14953 |
14934 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14954 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14935 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14955 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14936 echo "configure:14937: checking for gpm.h" >&5 | 14956 echo "configure:14957: checking for gpm.h" >&5 |
14937 | 14957 |
14938 cat > conftest.$ac_ext <<EOF | 14958 cat > conftest.$ac_ext <<EOF |
14939 #line 14940 "configure" | 14959 #line 14960 "configure" |
14940 #include "confdefs.h" | 14960 #include "confdefs.h" |
14941 #include <gpm.h> | 14961 #include <gpm.h> |
14942 EOF | 14962 EOF |
14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14964 { (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14946 if test -z "$ac_err"; then | 14966 if test -z "$ac_err"; then |
14947 rm -rf conftest* | 14967 rm -rf conftest* |
14948 eval "ac_cv_header_$ac_safe=yes" | 14968 eval "ac_cv_header_$ac_safe=yes" |
14949 else | 14969 else |
14962 with_gpm=no | 14982 with_gpm=no |
14963 fi | 14983 fi |
14964 } | 14984 } |
14965 test -z "$with_gpm" && { | 14985 test -z "$with_gpm" && { |
14966 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14986 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14967 echo "configure:14968: checking for Gpm_Open in -lgpm" >&5 | 14987 echo "configure:14988: checking for Gpm_Open in -lgpm" >&5 |
14968 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14988 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14969 | 14989 |
14970 xe_check_libs=" -lgpm " | 14990 xe_check_libs=" -lgpm " |
14971 cat > conftest.$ac_ext <<EOF | 14991 cat > conftest.$ac_ext <<EOF |
14972 #line 14973 "configure" | 14992 #line 14993 "configure" |
14973 #include "confdefs.h" | 14993 #include "confdefs.h" |
14974 /* Override any gcc2 internal prototype to avoid an error. */ | 14994 /* Override any gcc2 internal prototype to avoid an error. */ |
14975 /* We use char because int might match the return type of a gcc2 | 14995 /* We use char because int might match the return type of a gcc2 |
14976 builtin and then its argument prototype would still apply. */ | 14996 builtin and then its argument prototype would still apply. */ |
14977 char Gpm_Open(); | 14997 char Gpm_Open(); |
14978 | 14998 |
14979 int main() { | 14999 int main() { |
14980 Gpm_Open() | 15000 Gpm_Open() |
14981 ; return 0; } | 15001 ; return 0; } |
14982 EOF | 15002 EOF |
14983 if { (eval echo configure:14984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15003 if { (eval echo configure:15004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14984 rm -rf conftest* | 15004 rm -rf conftest* |
14985 eval "ac_cv_lib_$ac_lib_var=yes" | 15005 eval "ac_cv_lib_$ac_lib_var=yes" |
14986 else | 15006 else |
14987 echo "configure: failed program was:" >&5 | 15007 echo "configure: failed program was:" >&5 |
14988 cat conftest.$ac_ext >&5 | 15008 cat conftest.$ac_ext >&5 |
15021 done | 15041 done |
15022 fi | 15042 fi |
15023 | 15043 |
15024 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15044 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15025 != "no no no" && echo "checking for database support" 1>&6 | 15045 != "no no no" && echo "checking for database support" 1>&6 |
15026 echo "configure:15027: checking for database support" >&5 | 15046 echo "configure:15047: checking for database support" >&5 |
15027 | 15047 |
15028 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15048 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15029 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15049 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15030 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15050 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15031 echo "configure:15032: checking for ndbm.h" >&5 | 15051 echo "configure:15052: checking for ndbm.h" >&5 |
15032 | 15052 |
15033 cat > conftest.$ac_ext <<EOF | 15053 cat > conftest.$ac_ext <<EOF |
15034 #line 15035 "configure" | 15054 #line 15055 "configure" |
15035 #include "confdefs.h" | 15055 #include "confdefs.h" |
15036 #include <ndbm.h> | 15056 #include <ndbm.h> |
15037 EOF | 15057 EOF |
15038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15039 { (eval echo configure:15040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15059 { (eval echo configure:15060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15041 if test -z "$ac_err"; then | 15061 if test -z "$ac_err"; then |
15042 rm -rf conftest* | 15062 rm -rf conftest* |
15043 eval "ac_cv_header_$ac_safe=yes" | 15063 eval "ac_cv_header_$ac_safe=yes" |
15044 else | 15064 else |
15064 fi | 15084 fi |
15065 | 15085 |
15066 if test "$with_database_gdbm" != "no"; then | 15086 if test "$with_database_gdbm" != "no"; then |
15067 | 15087 |
15068 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15088 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15069 echo "configure:15070: checking for dbm_open in -lgdbm" >&5 | 15089 echo "configure:15090: checking for dbm_open in -lgdbm" >&5 |
15070 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15090 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15071 | 15091 |
15072 xe_check_libs=" -lgdbm " | 15092 xe_check_libs=" -lgdbm " |
15073 cat > conftest.$ac_ext <<EOF | 15093 cat > conftest.$ac_ext <<EOF |
15074 #line 15075 "configure" | 15094 #line 15095 "configure" |
15075 #include "confdefs.h" | 15095 #include "confdefs.h" |
15076 /* Override any gcc2 internal prototype to avoid an error. */ | 15096 /* Override any gcc2 internal prototype to avoid an error. */ |
15077 /* We use char because int might match the return type of a gcc2 | 15097 /* We use char because int might match the return type of a gcc2 |
15078 builtin and then its argument prototype would still apply. */ | 15098 builtin and then its argument prototype would still apply. */ |
15079 char dbm_open(); | 15099 char dbm_open(); |
15080 | 15100 |
15081 int main() { | 15101 int main() { |
15082 dbm_open() | 15102 dbm_open() |
15083 ; return 0; } | 15103 ; return 0; } |
15084 EOF | 15104 EOF |
15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15086 rm -rf conftest* | 15106 rm -rf conftest* |
15087 eval "ac_cv_lib_$ac_lib_var=yes" | 15107 eval "ac_cv_lib_$ac_lib_var=yes" |
15088 else | 15108 else |
15089 echo "configure: failed program was:" >&5 | 15109 echo "configure: failed program was:" >&5 |
15090 cat conftest.$ac_ext >&5 | 15110 cat conftest.$ac_ext >&5 |
15108 | 15128 |
15109 fi | 15129 fi |
15110 | 15130 |
15111 if test "$with_database_dbm" != "no"; then | 15131 if test "$with_database_dbm" != "no"; then |
15112 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15132 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15113 echo "configure:15114: checking for dbm_open" >&5 | 15133 echo "configure:15134: checking for dbm_open" >&5 |
15114 | 15134 |
15115 cat > conftest.$ac_ext <<EOF | 15135 cat > conftest.$ac_ext <<EOF |
15116 #line 15117 "configure" | 15136 #line 15137 "configure" |
15117 #include "confdefs.h" | 15137 #include "confdefs.h" |
15118 /* System header to define __stub macros and hopefully few prototypes, | 15138 /* System header to define __stub macros and hopefully few prototypes, |
15119 which can conflict with char dbm_open(); below. */ | 15139 which can conflict with char dbm_open(); below. */ |
15120 #include <assert.h> | 15140 #include <assert.h> |
15121 /* Override any gcc2 internal prototype to avoid an error. */ | 15141 /* Override any gcc2 internal prototype to avoid an error. */ |
15134 dbm_open(); | 15154 dbm_open(); |
15135 #endif | 15155 #endif |
15136 | 15156 |
15137 ; return 0; } | 15157 ; return 0; } |
15138 EOF | 15158 EOF |
15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15159 if { (eval echo configure:15160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15140 rm -rf conftest* | 15160 rm -rf conftest* |
15141 eval "ac_cv_func_dbm_open=yes" | 15161 eval "ac_cv_func_dbm_open=yes" |
15142 else | 15162 else |
15143 echo "configure: failed program was:" >&5 | 15163 echo "configure: failed program was:" >&5 |
15144 cat conftest.$ac_ext >&5 | 15164 cat conftest.$ac_ext >&5 |
15153 else | 15173 else |
15154 echo "$ac_t""no" 1>&6 | 15174 echo "$ac_t""no" 1>&6 |
15155 | 15175 |
15156 | 15176 |
15157 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15177 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15158 echo "configure:15159: checking for dbm_open in -ldbm" >&5 | 15178 echo "configure:15179: checking for dbm_open in -ldbm" >&5 |
15159 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15179 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15160 | 15180 |
15161 xe_check_libs=" -ldbm " | 15181 xe_check_libs=" -ldbm " |
15162 cat > conftest.$ac_ext <<EOF | 15182 cat > conftest.$ac_ext <<EOF |
15163 #line 15164 "configure" | 15183 #line 15184 "configure" |
15164 #include "confdefs.h" | 15184 #include "confdefs.h" |
15165 /* Override any gcc2 internal prototype to avoid an error. */ | 15185 /* Override any gcc2 internal prototype to avoid an error. */ |
15166 /* We use char because int might match the return type of a gcc2 | 15186 /* We use char because int might match the return type of a gcc2 |
15167 builtin and then its argument prototype would still apply. */ | 15187 builtin and then its argument prototype would still apply. */ |
15168 char dbm_open(); | 15188 char dbm_open(); |
15169 | 15189 |
15170 int main() { | 15190 int main() { |
15171 dbm_open() | 15191 dbm_open() |
15172 ; return 0; } | 15192 ; return 0; } |
15173 EOF | 15193 EOF |
15174 if { (eval echo configure:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15175 rm -rf conftest* | 15195 rm -rf conftest* |
15176 eval "ac_cv_lib_$ac_lib_var=yes" | 15196 eval "ac_cv_lib_$ac_lib_var=yes" |
15177 else | 15197 else |
15178 echo "configure: failed program was:" >&5 | 15198 echo "configure: failed program was:" >&5 |
15179 cat conftest.$ac_ext >&5 | 15199 cat conftest.$ac_ext >&5 |
15210 } | 15230 } |
15211 | 15231 |
15212 | 15232 |
15213 if test "$with_database_berkdb" != "no"; then | 15233 if test "$with_database_berkdb" != "no"; then |
15214 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15234 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15215 echo "configure:15216: checking for Berkeley db.h" >&5 | 15235 echo "configure:15236: checking for Berkeley db.h" >&5 |
15216 for header in "db/db.h" "db.h"; do | 15236 for header in "db/db.h" "db.h"; do |
15217 cat > conftest.$ac_ext <<EOF | 15237 cat > conftest.$ac_ext <<EOF |
15218 #line 15219 "configure" | 15238 #line 15239 "configure" |
15219 #include "confdefs.h" | 15239 #include "confdefs.h" |
15220 | 15240 |
15221 #include <stdlib.h> | 15241 #include <stdlib.h> |
15222 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15242 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15223 #ifdef HAVE_INTTYPES_H | 15243 #ifdef HAVE_INTTYPES_H |
15235 | 15255 |
15236 int main() { | 15256 int main() { |
15237 | 15257 |
15238 ; return 0; } | 15258 ; return 0; } |
15239 EOF | 15259 EOF |
15240 if { (eval echo configure:15241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15260 if { (eval echo configure:15261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15241 rm -rf conftest* | 15261 rm -rf conftest* |
15242 db_h_file="$header"; break | 15262 db_h_file="$header"; break |
15243 else | 15263 else |
15244 echo "configure: failed program was:" >&5 | 15264 echo "configure: failed program was:" >&5 |
15245 cat conftest.$ac_ext >&5 | 15265 cat conftest.$ac_ext >&5 |
15251 else echo "$ac_t""$db_h_file" 1>&6 | 15271 else echo "$ac_t""$db_h_file" 1>&6 |
15252 fi | 15272 fi |
15253 | 15273 |
15254 if test "$with_database_berkdb" != "no"; then | 15274 if test "$with_database_berkdb" != "no"; then |
15255 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15275 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15256 echo "configure:15257: checking for Berkeley DB version" >&5 | 15276 echo "configure:15277: checking for Berkeley DB version" >&5 |
15257 cat > conftest.$ac_ext <<EOF | 15277 cat > conftest.$ac_ext <<EOF |
15258 #line 15259 "configure" | 15278 #line 15279 "configure" |
15259 #include "confdefs.h" | 15279 #include "confdefs.h" |
15260 #include <$db_h_file> | 15280 #include <$db_h_file> |
15261 #if DB_VERSION_MAJOR > 1 | 15281 #if DB_VERSION_MAJOR > 1 |
15262 yes | 15282 yes |
15263 #endif | 15283 #endif |
15265 EOF | 15285 EOF |
15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15267 egrep "yes" >/dev/null 2>&1; then | 15287 egrep "yes" >/dev/null 2>&1; then |
15268 rm -rf conftest* | 15288 rm -rf conftest* |
15269 cat > conftest.$ac_ext <<EOF | 15289 cat > conftest.$ac_ext <<EOF |
15270 #line 15271 "configure" | 15290 #line 15291 "configure" |
15271 #include "confdefs.h" | 15291 #include "confdefs.h" |
15272 #include <$db_h_file> | 15292 #include <$db_h_file> |
15273 #if DB_VERSION_MAJOR > 2 | 15293 #if DB_VERSION_MAJOR > 2 |
15274 yes | 15294 yes |
15275 #endif | 15295 #endif |
15277 EOF | 15297 EOF |
15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15279 egrep "yes" >/dev/null 2>&1; then | 15299 egrep "yes" >/dev/null 2>&1; then |
15280 rm -rf conftest* | 15300 rm -rf conftest* |
15281 cat > conftest.$ac_ext <<EOF | 15301 cat > conftest.$ac_ext <<EOF |
15282 #line 15283 "configure" | 15302 #line 15303 "configure" |
15283 #include "confdefs.h" | 15303 #include "confdefs.h" |
15284 #include <$db_h_file> | 15304 #include <$db_h_file> |
15285 #if DB_VERSION_MAJOR > 3 | 15305 #if DB_VERSION_MAJOR > 3 |
15286 yes | 15306 yes |
15287 #endif | 15307 #endif |
15311 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15331 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15312 fi | 15332 fi |
15313 rm -f conftest* | 15333 rm -f conftest* |
15314 | 15334 |
15315 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15335 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15316 echo "configure:15317: checking for $dbfunc" >&5 | 15336 echo "configure:15337: checking for $dbfunc" >&5 |
15317 | 15337 |
15318 cat > conftest.$ac_ext <<EOF | 15338 cat > conftest.$ac_ext <<EOF |
15319 #line 15320 "configure" | 15339 #line 15340 "configure" |
15320 #include "confdefs.h" | 15340 #include "confdefs.h" |
15321 /* System header to define __stub macros and hopefully few prototypes, | 15341 /* System header to define __stub macros and hopefully few prototypes, |
15322 which can conflict with char $dbfunc(); below. */ | 15342 which can conflict with char $dbfunc(); below. */ |
15323 #include <assert.h> | 15343 #include <assert.h> |
15324 /* Override any gcc2 internal prototype to avoid an error. */ | 15344 /* Override any gcc2 internal prototype to avoid an error. */ |
15337 $dbfunc(); | 15357 $dbfunc(); |
15338 #endif | 15358 #endif |
15339 | 15359 |
15340 ; return 0; } | 15360 ; return 0; } |
15341 EOF | 15361 EOF |
15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15362 if { (eval echo configure:15363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15343 rm -rf conftest* | 15363 rm -rf conftest* |
15344 eval "ac_cv_func_$dbfunc=yes" | 15364 eval "ac_cv_func_$dbfunc=yes" |
15345 else | 15365 else |
15346 echo "configure: failed program was:" >&5 | 15366 echo "configure: failed program was:" >&5 |
15347 cat conftest.$ac_ext >&5 | 15367 cat conftest.$ac_ext >&5 |
15356 else | 15376 else |
15357 echo "$ac_t""no" 1>&6 | 15377 echo "$ac_t""no" 1>&6 |
15358 | 15378 |
15359 | 15379 |
15360 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15380 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15361 echo "configure:15362: checking for $dbfunc in -ldb" >&5 | 15381 echo "configure:15382: checking for $dbfunc in -ldb" >&5 |
15362 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15382 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15363 | 15383 |
15364 xe_check_libs=" -ldb " | 15384 xe_check_libs=" -ldb " |
15365 cat > conftest.$ac_ext <<EOF | 15385 cat > conftest.$ac_ext <<EOF |
15366 #line 15367 "configure" | 15386 #line 15387 "configure" |
15367 #include "confdefs.h" | 15387 #include "confdefs.h" |
15368 /* Override any gcc2 internal prototype to avoid an error. */ | 15388 /* Override any gcc2 internal prototype to avoid an error. */ |
15369 /* We use char because int might match the return type of a gcc2 | 15389 /* We use char because int might match the return type of a gcc2 |
15370 builtin and then its argument prototype would still apply. */ | 15390 builtin and then its argument prototype would still apply. */ |
15371 char $dbfunc(); | 15391 char $dbfunc(); |
15372 | 15392 |
15373 int main() { | 15393 int main() { |
15374 $dbfunc() | 15394 $dbfunc() |
15375 ; return 0; } | 15395 ; return 0; } |
15376 EOF | 15396 EOF |
15377 if { (eval echo configure:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15397 if { (eval echo configure:15398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15378 rm -rf conftest* | 15398 rm -rf conftest* |
15379 eval "ac_cv_lib_$ac_lib_var=yes" | 15399 eval "ac_cv_lib_$ac_lib_var=yes" |
15380 else | 15400 else |
15381 echo "configure: failed program was:" >&5 | 15401 echo "configure: failed program was:" >&5 |
15382 cat conftest.$ac_ext >&5 | 15402 cat conftest.$ac_ext >&5 |
15406 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15426 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15407 rm -f $tempcname | 15427 rm -f $tempcname |
15408 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15428 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15409 | 15429 |
15410 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15430 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15411 echo "configure:15412: checking for $dbfunc in -ldb" >&5 | 15431 echo "configure:15432: checking for $dbfunc in -ldb" >&5 |
15412 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15432 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15413 | 15433 |
15414 xe_check_libs=" -ldb " | 15434 xe_check_libs=" -ldb " |
15415 cat > conftest.$ac_ext <<EOF | 15435 cat > conftest.$ac_ext <<EOF |
15416 #line 15417 "configure" | 15436 #line 15437 "configure" |
15417 #include "confdefs.h" | 15437 #include "confdefs.h" |
15418 /* Override any gcc2 internal prototype to avoid an error. */ | 15438 /* Override any gcc2 internal prototype to avoid an error. */ |
15419 /* We use char because int might match the return type of a gcc2 | 15439 /* We use char because int might match the return type of a gcc2 |
15420 builtin and then its argument prototype would still apply. */ | 15440 builtin and then its argument prototype would still apply. */ |
15421 char $dbfunc(); | 15441 char $dbfunc(); |
15422 | 15442 |
15423 int main() { | 15443 int main() { |
15424 $dbfunc() | 15444 $dbfunc() |
15425 ; return 0; } | 15445 ; return 0; } |
15426 EOF | 15446 EOF |
15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15447 if { (eval echo configure:15448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15428 rm -rf conftest* | 15448 rm -rf conftest* |
15429 eval "ac_cv_lib_$ac_lib_var=yes" | 15449 eval "ac_cv_lib_$ac_lib_var=yes" |
15430 else | 15450 else |
15431 echo "configure: failed program was:" >&5 | 15451 echo "configure: failed program was:" >&5 |
15432 cat conftest.$ac_ext >&5 | 15452 cat conftest.$ac_ext >&5 |
15481 fi | 15501 fi |
15482 | 15502 |
15483 if test "$with_socks" = "yes"; then | 15503 if test "$with_socks" = "yes"; then |
15484 | 15504 |
15485 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15505 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15486 echo "configure:15487: checking for SOCKSinit in -lsocks" >&5 | 15506 echo "configure:15507: checking for SOCKSinit in -lsocks" >&5 |
15487 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15507 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15488 | 15508 |
15489 xe_check_libs=" -lsocks " | 15509 xe_check_libs=" -lsocks " |
15490 cat > conftest.$ac_ext <<EOF | 15510 cat > conftest.$ac_ext <<EOF |
15491 #line 15492 "configure" | 15511 #line 15512 "configure" |
15492 #include "confdefs.h" | 15512 #include "confdefs.h" |
15493 /* Override any gcc2 internal prototype to avoid an error. */ | 15513 /* Override any gcc2 internal prototype to avoid an error. */ |
15494 /* We use char because int might match the return type of a gcc2 | 15514 /* We use char because int might match the return type of a gcc2 |
15495 builtin and then its argument prototype would still apply. */ | 15515 builtin and then its argument prototype would still apply. */ |
15496 char SOCKSinit(); | 15516 char SOCKSinit(); |
15497 | 15517 |
15498 int main() { | 15518 int main() { |
15499 SOCKSinit() | 15519 SOCKSinit() |
15500 ; return 0; } | 15520 ; return 0; } |
15501 EOF | 15521 EOF |
15502 if { (eval echo configure:15503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15522 if { (eval echo configure:15523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15503 rm -rf conftest* | 15523 rm -rf conftest* |
15504 eval "ac_cv_lib_$ac_lib_var=yes" | 15524 eval "ac_cv_lib_$ac_lib_var=yes" |
15505 else | 15525 else |
15506 echo "configure: failed program was:" >&5 | 15526 echo "configure: failed program was:" >&5 |
15507 cat conftest.$ac_ext >&5 | 15527 cat conftest.$ac_ext >&5 |
15553 fi | 15573 fi |
15554 | 15574 |
15555 if test "$use_number_lib" = "gmp"; then | 15575 if test "$use_number_lib" = "gmp"; then |
15556 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15576 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15557 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15577 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15558 echo "configure:15559: checking for gmp.h" >&5 | 15578 echo "configure:15579: checking for gmp.h" >&5 |
15559 | 15579 |
15560 cat > conftest.$ac_ext <<EOF | 15580 cat > conftest.$ac_ext <<EOF |
15561 #line 15562 "configure" | 15581 #line 15582 "configure" |
15562 #include "confdefs.h" | 15582 #include "confdefs.h" |
15563 #include <gmp.h> | 15583 #include <gmp.h> |
15564 EOF | 15584 EOF |
15565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15566 { (eval echo configure:15567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15586 { (eval echo configure:15587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15568 if test -z "$ac_err"; then | 15588 if test -z "$ac_err"; then |
15569 rm -rf conftest* | 15589 rm -rf conftest* |
15570 eval "ac_cv_header_$ac_safe=yes" | 15590 eval "ac_cv_header_$ac_safe=yes" |
15571 else | 15591 else |
15579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15580 echo "$ac_t""yes" 1>&6 | 15600 echo "$ac_t""yes" 1>&6 |
15581 | 15601 |
15582 | 15602 |
15583 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15603 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15584 echo "configure:15585: checking for __gmpz_init in -lgmp" >&5 | 15604 echo "configure:15605: checking for __gmpz_init in -lgmp" >&5 |
15585 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15605 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15586 | 15606 |
15587 xe_check_libs=" -lgmp " | 15607 xe_check_libs=" -lgmp " |
15588 cat > conftest.$ac_ext <<EOF | 15608 cat > conftest.$ac_ext <<EOF |
15589 #line 15590 "configure" | 15609 #line 15610 "configure" |
15590 #include "confdefs.h" | 15610 #include "confdefs.h" |
15591 /* Override any gcc2 internal prototype to avoid an error. */ | 15611 /* Override any gcc2 internal prototype to avoid an error. */ |
15592 /* We use char because int might match the return type of a gcc2 | 15612 /* We use char because int might match the return type of a gcc2 |
15593 builtin and then its argument prototype would still apply. */ | 15613 builtin and then its argument prototype would still apply. */ |
15594 char __gmpz_init(); | 15614 char __gmpz_init(); |
15595 | 15615 |
15596 int main() { | 15616 int main() { |
15597 __gmpz_init() | 15617 __gmpz_init() |
15598 ; return 0; } | 15618 ; return 0; } |
15599 EOF | 15619 EOF |
15600 if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15620 if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15601 rm -rf conftest* | 15621 rm -rf conftest* |
15602 eval "ac_cv_lib_$ac_lib_var=yes" | 15622 eval "ac_cv_lib_$ac_lib_var=yes" |
15603 else | 15623 else |
15604 echo "configure: failed program was:" >&5 | 15624 echo "configure: failed program was:" >&5 |
15605 cat conftest.$ac_ext >&5 | 15625 cat conftest.$ac_ext >&5 |
15644 fi | 15664 fi |
15645 elif test "$use_number_lib" = "mp"; then | 15665 elif test "$use_number_lib" = "mp"; then |
15646 for library in "" "-lcrypto"; do | 15666 for library in "" "-lcrypto"; do |
15647 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15667 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15648 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15668 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15649 echo "configure:15650: checking for mp.h" >&5 | 15669 echo "configure:15670: checking for mp.h" >&5 |
15650 | 15670 |
15651 cat > conftest.$ac_ext <<EOF | 15671 cat > conftest.$ac_ext <<EOF |
15652 #line 15653 "configure" | 15672 #line 15673 "configure" |
15653 #include "confdefs.h" | 15673 #include "confdefs.h" |
15654 #include <mp.h> | 15674 #include <mp.h> |
15655 EOF | 15675 EOF |
15656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15657 { (eval echo configure:15658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15677 { (eval echo configure:15678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15659 if test -z "$ac_err"; then | 15679 if test -z "$ac_err"; then |
15660 rm -rf conftest* | 15680 rm -rf conftest* |
15661 eval "ac_cv_header_$ac_safe=yes" | 15681 eval "ac_cv_header_$ac_safe=yes" |
15662 else | 15682 else |
15672 | 15692 |
15673 | 15693 |
15674 xe_msg_checking="for mp_mfree in -lmp" | 15694 xe_msg_checking="for mp_mfree in -lmp" |
15675 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15695 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15676 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15677 echo "configure:15678: checking "$xe_msg_checking"" >&5 | 15697 echo "configure:15698: checking "$xe_msg_checking"" >&5 |
15678 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15698 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15679 | 15699 |
15680 xe_check_libs=" -lmp $library" | 15700 xe_check_libs=" -lmp $library" |
15681 cat > conftest.$ac_ext <<EOF | 15701 cat > conftest.$ac_ext <<EOF |
15682 #line 15683 "configure" | 15702 #line 15703 "configure" |
15683 #include "confdefs.h" | 15703 #include "confdefs.h" |
15684 /* Override any gcc2 internal prototype to avoid an error. */ | 15704 /* Override any gcc2 internal prototype to avoid an error. */ |
15685 /* We use char because int might match the return type of a gcc2 | 15705 /* We use char because int might match the return type of a gcc2 |
15686 builtin and then its argument prototype would still apply. */ | 15706 builtin and then its argument prototype would still apply. */ |
15687 char mp_mfree(); | 15707 char mp_mfree(); |
15688 | 15708 |
15689 int main() { | 15709 int main() { |
15690 mp_mfree() | 15710 mp_mfree() |
15691 ; return 0; } | 15711 ; return 0; } |
15692 EOF | 15712 EOF |
15693 if { (eval echo configure:15694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15713 if { (eval echo configure:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15694 rm -rf conftest* | 15714 rm -rf conftest* |
15695 eval "ac_cv_lib_$ac_lib_var=yes" | 15715 eval "ac_cv_lib_$ac_lib_var=yes" |
15696 else | 15716 else |
15697 echo "configure: failed program was:" >&5 | 15717 echo "configure: failed program was:" >&5 |
15698 cat conftest.$ac_ext >&5 | 15718 cat conftest.$ac_ext >&5 |
15709 echo "$ac_t""no" 1>&6 | 15729 echo "$ac_t""no" 1>&6 |
15710 | 15730 |
15711 xe_msg_checking="for mfree in -lmp" | 15731 xe_msg_checking="for mfree in -lmp" |
15712 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15732 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15733 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15714 echo "configure:15715: checking "$xe_msg_checking"" >&5 | 15734 echo "configure:15735: checking "$xe_msg_checking"" >&5 |
15715 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15735 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15716 | 15736 |
15717 xe_check_libs=" -lmp $library" | 15737 xe_check_libs=" -lmp $library" |
15718 cat > conftest.$ac_ext <<EOF | 15738 cat > conftest.$ac_ext <<EOF |
15719 #line 15720 "configure" | 15739 #line 15740 "configure" |
15720 #include "confdefs.h" | 15740 #include "confdefs.h" |
15721 /* Override any gcc2 internal prototype to avoid an error. */ | 15741 /* Override any gcc2 internal prototype to avoid an error. */ |
15722 /* We use char because int might match the return type of a gcc2 | 15742 /* We use char because int might match the return type of a gcc2 |
15723 builtin and then its argument prototype would still apply. */ | 15743 builtin and then its argument prototype would still apply. */ |
15724 char mfree(); | 15744 char mfree(); |
15725 | 15745 |
15726 int main() { | 15746 int main() { |
15727 mfree() | 15747 mfree() |
15728 ; return 0; } | 15748 ; return 0; } |
15729 EOF | 15749 EOF |
15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15750 if { (eval echo configure:15751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15731 rm -rf conftest* | 15751 rm -rf conftest* |
15732 eval "ac_cv_lib_$ac_lib_var=yes" | 15752 eval "ac_cv_lib_$ac_lib_var=yes" |
15733 else | 15753 else |
15734 echo "configure: failed program was:" >&5 | 15754 echo "configure: failed program was:" >&5 |
15735 cat conftest.$ac_ext >&5 | 15755 cat conftest.$ac_ext >&5 |
15767 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15787 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15768 if test "$library" != ""; then | 15788 if test "$library" != ""; then |
15769 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15789 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15770 fi | 15790 fi |
15771 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15791 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15772 echo "configure:15773: checking for mp_move" >&5 | 15792 echo "configure:15793: checking for mp_move" >&5 |
15773 | 15793 |
15774 cat > conftest.$ac_ext <<EOF | 15794 cat > conftest.$ac_ext <<EOF |
15775 #line 15776 "configure" | 15795 #line 15796 "configure" |
15776 #include "confdefs.h" | 15796 #include "confdefs.h" |
15777 /* System header to define __stub macros and hopefully few prototypes, | 15797 /* System header to define __stub macros and hopefully few prototypes, |
15778 which can conflict with char mp_move(); below. */ | 15798 which can conflict with char mp_move(); below. */ |
15779 #include <assert.h> | 15799 #include <assert.h> |
15780 /* Override any gcc2 internal prototype to avoid an error. */ | 15800 /* Override any gcc2 internal prototype to avoid an error. */ |
15793 mp_move(); | 15813 mp_move(); |
15794 #endif | 15814 #endif |
15795 | 15815 |
15796 ; return 0; } | 15816 ; return 0; } |
15797 EOF | 15817 EOF |
15798 if { (eval echo configure:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15818 if { (eval echo configure:15819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15799 rm -rf conftest* | 15819 rm -rf conftest* |
15800 eval "ac_cv_func_mp_move=yes" | 15820 eval "ac_cv_func_mp_move=yes" |
15801 else | 15821 else |
15802 echo "configure: failed program was:" >&5 | 15822 echo "configure: failed program was:" >&5 |
15803 cat conftest.$ac_ext >&5 | 15823 cat conftest.$ac_ext >&5 |
15824 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15844 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15825 if test "$library" != ""; then | 15845 if test "$library" != ""; then |
15826 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15846 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15827 fi | 15847 fi |
15828 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15848 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15829 echo "configure:15830: checking for move" >&5 | 15849 echo "configure:15850: checking for move" >&5 |
15830 | 15850 |
15831 cat > conftest.$ac_ext <<EOF | 15851 cat > conftest.$ac_ext <<EOF |
15832 #line 15833 "configure" | 15852 #line 15853 "configure" |
15833 #include "confdefs.h" | 15853 #include "confdefs.h" |
15834 /* System header to define __stub macros and hopefully few prototypes, | 15854 /* System header to define __stub macros and hopefully few prototypes, |
15835 which can conflict with char move(); below. */ | 15855 which can conflict with char move(); below. */ |
15836 #include <assert.h> | 15856 #include <assert.h> |
15837 /* Override any gcc2 internal prototype to avoid an error. */ | 15857 /* Override any gcc2 internal prototype to avoid an error. */ |
15850 move(); | 15870 move(); |
15851 #endif | 15871 #endif |
15852 | 15872 |
15853 ; return 0; } | 15873 ; return 0; } |
15854 EOF | 15874 EOF |
15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15875 if { (eval echo configure:15876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15856 rm -rf conftest* | 15876 rm -rf conftest* |
15857 eval "ac_cv_func_move=yes" | 15877 eval "ac_cv_func_move=yes" |
15858 else | 15878 else |
15859 echo "configure: failed program was:" >&5 | 15879 echo "configure: failed program was:" >&5 |
15860 cat conftest.$ac_ext >&5 | 15880 cat conftest.$ac_ext >&5 |
15897 } | 15917 } |
15898 | 15918 |
15899 fi | 15919 fi |
15900 | 15920 |
15901 cat > conftest.$ac_ext <<EOF | 15921 cat > conftest.$ac_ext <<EOF |
15902 #line 15903 "configure" | 15922 #line 15923 "configure" |
15903 #include "confdefs.h" | 15923 #include "confdefs.h" |
15904 int main(int c,char *v[]){return 0;} | 15924 int main(int c,char *v[]){return 0;} |
15905 EOF | 15925 EOF |
15906 if { (eval echo configure:15907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15926 if { (eval echo configure:15927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15907 then | 15927 then |
15908 : | 15928 : |
15909 else | 15929 else |
15910 conftest_rc="$?" | 15930 conftest_rc="$?" |
15911 echo "configure: failed program was:" >&5 | 15931 echo "configure: failed program was:" >&5 |