comparison configure @ 2346:162083ea139d

[xemacs-hg @ 2004-10-22 05:16:40 by stephent] XEmacs 21.5.18 "chestnut" is released.
author stephent
date Fri, 22 Oct 2004 05:19:31 +0000
parents e219f63b9c24
children ecf1ebac70d8
comparison
equal deleted inserted replaced
2345:c9a4a450d9e2 2346:162083ea139d
4779 4779
4780 cat > conftest.$ac_ext <<EOF 4780 cat > conftest.$ac_ext <<EOF
4781 #line 4782 "configure" 4781 #line 4782 "configure"
4782 #include "confdefs.h" 4782 #include "confdefs.h"
4783 #include <stdio.h> 4783 #include <stdio.h>
4784 int main() 4784 #include <sys/types.h>
4785 main()
4785 { 4786 {
4786 FILE *f=fopen("conftestval", "w"); 4787 FILE *f=fopen("conftestval", "w");
4787 if (!f) return(1); 4788 if (!f) exit(1);
4788 fprintf(f, "%d\n", sizeof(short)); 4789 fprintf(f, "%d\n", sizeof(short));
4789 return(0); 4790 exit(0);
4790 } 4791 }
4791 EOF 4792 EOF
4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4793 if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4793 then 4794 then
4794 ac_cv_sizeof_short=`cat conftestval` 4795 ac_cv_sizeof_short=`cat conftestval`
4795 else 4796 else
4796 conftest_rc="$?" 4797 conftest_rc="$?"
4797 echo "configure: failed program was:" >&5 4798 echo "configure: failed program was:" >&5
4815 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4816 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4816 echo "*** PANIC *** Please examine config.log for compilation errors." 4817 echo "*** PANIC *** Please examine config.log for compilation errors."
4817 exit 1 4818 exit 1
4818 fi 4819 fi
4819 echo $ac_n "checking size of int""... $ac_c" 1>&6 4820 echo $ac_n "checking size of int""... $ac_c" 1>&6
4820 echo "configure:4821: checking size of int" >&5 4821 echo "configure:4822: checking size of int" >&5
4821 4822
4822 cat > conftest.$ac_ext <<EOF 4823 cat > conftest.$ac_ext <<EOF
4823 #line 4824 "configure" 4824 #line 4825 "configure"
4824 #include "confdefs.h" 4825 #include "confdefs.h"
4825 #include <stdio.h> 4826 #include <stdio.h>
4826 int main() 4827 #include <sys/types.h>
4828 main()
4827 { 4829 {
4828 FILE *f=fopen("conftestval", "w"); 4830 FILE *f=fopen("conftestval", "w");
4829 if (!f) return(1); 4831 if (!f) exit(1);
4830 fprintf(f, "%d\n", sizeof(int)); 4832 fprintf(f, "%d\n", sizeof(int));
4831 return(0); 4833 exit(0);
4832 } 4834 }
4833 EOF 4835 EOF
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4835 then 4837 then
4836 ac_cv_sizeof_int=`cat conftestval` 4838 ac_cv_sizeof_int=`cat conftestval`
4837 else 4839 else
4838 conftest_rc="$?" 4840 conftest_rc="$?"
4839 echo "configure: failed program was:" >&5 4841 echo "configure: failed program was:" >&5
4851 EOF 4853 EOF
4852 } 4854 }
4853 4855
4854 4856
4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 4857 echo $ac_n "checking size of long""... $ac_c" 1>&6
4856 echo "configure:4857: checking size of long" >&5 4858 echo "configure:4859: checking size of long" >&5
4857 4859
4858 cat > conftest.$ac_ext <<EOF 4860 cat > conftest.$ac_ext <<EOF
4859 #line 4860 "configure" 4861 #line 4862 "configure"
4860 #include "confdefs.h" 4862 #include "confdefs.h"
4861 #include <stdio.h> 4863 #include <stdio.h>
4862 int main() 4864 #include <sys/types.h>
4865 main()
4863 { 4866 {
4864 FILE *f=fopen("conftestval", "w"); 4867 FILE *f=fopen("conftestval", "w");
4865 if (!f) return(1); 4868 if (!f) exit(1);
4866 fprintf(f, "%d\n", sizeof(long)); 4869 fprintf(f, "%d\n", sizeof(long));
4867 return(0); 4870 exit(0);
4868 } 4871 }
4869 EOF 4872 EOF
4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4873 if { (eval echo configure:4874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4871 then 4874 then
4872 ac_cv_sizeof_long=`cat conftestval` 4875 ac_cv_sizeof_long=`cat conftestval`
4873 else 4876 else
4874 conftest_rc="$?" 4877 conftest_rc="$?"
4875 echo "configure: failed program was:" >&5 4878 echo "configure: failed program was:" >&5
4887 EOF 4890 EOF
4888 } 4891 }
4889 4892
4890 4893
4891 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4894 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4892 echo "configure:4893: checking size of long long" >&5 4895 echo "configure:4896: checking size of long long" >&5
4893 4896
4894 cat > conftest.$ac_ext <<EOF 4897 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure" 4898 #line 4899 "configure"
4896 #include "confdefs.h" 4899 #include "confdefs.h"
4897 #include <stdio.h> 4900 #include <stdio.h>
4898 int main() 4901 #include <sys/types.h>
4902 main()
4899 { 4903 {
4900 FILE *f=fopen("conftestval", "w"); 4904 FILE *f=fopen("conftestval", "w");
4901 if (!f) return(1); 4905 if (!f) exit(1);
4902 fprintf(f, "%d\n", sizeof(long long)); 4906 fprintf(f, "%d\n", sizeof(long long));
4903 return(0); 4907 exit(0);
4904 } 4908 }
4905 EOF 4909 EOF
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4910 if { (eval echo configure:4911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4907 then 4911 then
4908 ac_cv_sizeof_long_long=`cat conftestval` 4912 ac_cv_sizeof_long_long=`cat conftestval`
4909 else 4913 else
4910 conftest_rc="$?" 4914 conftest_rc="$?"
4911 echo "configure: failed program was:" >&5 4915 echo "configure: failed program was:" >&5
4923 EOF 4927 EOF
4924 } 4928 }
4925 4929
4926 4930
4927 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4931 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4928 echo "configure:4929: checking size of void *" >&5 4932 echo "configure:4933: checking size of void *" >&5
4929 4933
4930 cat > conftest.$ac_ext <<EOF 4934 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure" 4935 #line 4936 "configure"
4932 #include "confdefs.h" 4936 #include "confdefs.h"
4933 #include <stdio.h> 4937 #include <stdio.h>
4934 int main() 4938 #include <sys/types.h>
4939 main()
4935 { 4940 {
4936 FILE *f=fopen("conftestval", "w"); 4941 FILE *f=fopen("conftestval", "w");
4937 if (!f) return(1); 4942 if (!f) exit(1);
4938 fprintf(f, "%d\n", sizeof(void *)); 4943 fprintf(f, "%d\n", sizeof(void *));
4939 return(0); 4944 exit(0);
4940 } 4945 }
4941 EOF 4946 EOF
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4947 if { (eval echo configure:4948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4943 then 4948 then
4944 ac_cv_sizeof_void_p=`cat conftestval` 4949 ac_cv_sizeof_void_p=`cat conftestval`
4945 else 4950 else
4946 conftest_rc="$?" 4951 conftest_rc="$?"
4947 echo "configure: failed program was:" >&5 4952 echo "configure: failed program was:" >&5
4959 EOF 4964 EOF
4960 } 4965 }
4961 4966
4962 4967
4963 echo $ac_n "checking size of double""... $ac_c" 1>&6 4968 echo $ac_n "checking size of double""... $ac_c" 1>&6
4964 echo "configure:4965: checking size of double" >&5 4969 echo "configure:4970: checking size of double" >&5
4965 4970
4966 cat > conftest.$ac_ext <<EOF 4971 cat > conftest.$ac_ext <<EOF
4967 #line 4968 "configure" 4972 #line 4973 "configure"
4968 #include "confdefs.h" 4973 #include "confdefs.h"
4969 #include <stdio.h> 4974 #include <stdio.h>
4970 int main() 4975 #include <sys/types.h>
4976 main()
4971 { 4977 {
4972 FILE *f=fopen("conftestval", "w"); 4978 FILE *f=fopen("conftestval", "w");
4973 if (!f) return(1); 4979 if (!f) exit(1);
4974 fprintf(f, "%d\n", sizeof(double)); 4980 fprintf(f, "%d\n", sizeof(double));
4975 return(0); 4981 exit(0);
4976 } 4982 }
4977 EOF 4983 EOF
4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4979 then 4985 then
4980 ac_cv_sizeof_double=`cat conftestval` 4986 ac_cv_sizeof_double=`cat conftestval`
4981 else 4987 else
4982 conftest_rc="$?" 4988 conftest_rc="$?"
4983 echo "configure: failed program was:" >&5 4989 echo "configure: failed program was:" >&5
4996 } 5002 }
4997 5003
4998 5004
4999 5005
5000 echo $ac_n "checking for long file names""... $ac_c" 1>&6 5006 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5001 echo "configure:5002: checking for long file names" >&5 5007 echo "configure:5008: checking for long file names" >&5
5002 5008
5003 ac_cv_sys_long_file_names=yes 5009 ac_cv_sys_long_file_names=yes
5004 # Test for long file names in all the places we know might matter: 5010 # Test for long file names in all the places we know might matter:
5005 # . the current directory, where building will happen 5011 # . the current directory, where building will happen
5006 # $prefix/lib where we will be installing things 5012 # $prefix/lib where we will be installing things
5042 5048
5043 fi 5049 fi
5044 5050
5045 5051
5046 echo $ac_n "checking for sin""... $ac_c" 1>&6 5052 echo $ac_n "checking for sin""... $ac_c" 1>&6
5047 echo "configure:5048: checking for sin" >&5 5053 echo "configure:5054: checking for sin" >&5
5048 5054
5049 cat > conftest.$ac_ext <<EOF 5055 cat > conftest.$ac_ext <<EOF
5050 #line 5051 "configure" 5056 #line 5057 "configure"
5051 #include "confdefs.h" 5057 #include "confdefs.h"
5052 /* System header to define __stub macros and hopefully few prototypes, 5058 /* System header to define __stub macros and hopefully few prototypes,
5053 which can conflict with char sin(); below. */ 5059 which can conflict with char sin(); below. */
5054 #include <assert.h> 5060 #include <assert.h>
5055 /* Override any gcc2 internal prototype to avoid an error. */ 5061 /* Override any gcc2 internal prototype to avoid an error. */
5068 sin(); 5074 sin();
5069 #endif 5075 #endif
5070 5076
5071 ; return 0; } 5077 ; return 0; }
5072 EOF 5078 EOF
5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5079 if { (eval echo configure:5080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5074 rm -rf conftest* 5080 rm -rf conftest*
5075 eval "ac_cv_func_sin=yes" 5081 eval "ac_cv_func_sin=yes"
5076 else 5082 else
5077 echo "configure: failed program was:" >&5 5083 echo "configure: failed program was:" >&5
5078 cat conftest.$ac_ext >&5 5084 cat conftest.$ac_ext >&5
5086 : 5092 :
5087 else 5093 else
5088 echo "$ac_t""no" 1>&6 5094 echo "$ac_t""no" 1>&6
5089 5095
5090 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5096 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5091 echo "configure:5092: checking for sin in -lm" >&5 5097 echo "configure:5098: checking for sin in -lm" >&5
5092 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5098 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5093 5099
5094 xe_check_libs=" -lm " 5100 xe_check_libs=" -lm "
5095 cat > conftest.$ac_ext <<EOF 5101 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure" 5102 #line 5103 "configure"
5097 #include "confdefs.h" 5103 #include "confdefs.h"
5098 /* Override any gcc2 internal prototype to avoid an error. */ 5104 /* Override any gcc2 internal prototype to avoid an error. */
5099 /* We use char because int might match the return type of a gcc2 5105 /* We use char because int might match the return type of a gcc2
5100 builtin and then its argument prototype would still apply. */ 5106 builtin and then its argument prototype would still apply. */
5101 char sin(); 5107 char sin();
5102 5108
5103 int main() { 5109 int main() {
5104 sin() 5110 sin()
5105 ; return 0; } 5111 ; return 0; }
5106 EOF 5112 EOF
5107 if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5113 if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5108 rm -rf conftest* 5114 rm -rf conftest*
5109 eval "ac_cv_lib_$ac_lib_var=yes" 5115 eval "ac_cv_lib_$ac_lib_var=yes"
5110 else 5116 else
5111 echo "configure: failed program was:" >&5 5117 echo "configure: failed program was:" >&5
5112 cat conftest.$ac_ext >&5 5118 cat conftest.$ac_ext >&5
5137 5143
5138 fi 5144 fi
5139 5145
5140 5146
5141 cat > conftest.$ac_ext <<EOF 5147 cat > conftest.$ac_ext <<EOF
5142 #line 5143 "configure" 5148 #line 5149 "configure"
5143 #include "confdefs.h" 5149 #include "confdefs.h"
5144 #include <math.h> 5150 #include <math.h>
5145 int main() { 5151 int main() {
5146 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5152 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5147 ; return 0; } 5153 ; return 0; }
5148 EOF 5154 EOF
5149 if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5155 if { (eval echo configure:5156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5150 rm -rf conftest* 5156 rm -rf conftest*
5151 { test "$extra_verbose" = "yes" && cat << \EOF 5157 { test "$extra_verbose" = "yes" && cat << \EOF
5152 Defining HAVE_INVERSE_HYPERBOLIC 5158 Defining HAVE_INVERSE_HYPERBOLIC
5153 EOF 5159 EOF
5154 cat >> confdefs.h <<\EOF 5160 cat >> confdefs.h <<\EOF
5163 rm -f conftest* 5169 rm -f conftest*
5164 5170
5165 for ac_func in mkstemp 5171 for ac_func in mkstemp
5166 do 5172 do
5167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5168 echo "configure:5169: checking for $ac_func" >&5 5174 echo "configure:5175: checking for $ac_func" >&5
5169 5175
5170 cat > conftest.$ac_ext <<EOF 5176 cat > conftest.$ac_ext <<EOF
5171 #line 5172 "configure" 5177 #line 5178 "configure"
5172 #include "confdefs.h" 5178 #include "confdefs.h"
5173 /* System header to define __stub macros and hopefully few prototypes, 5179 /* System header to define __stub macros and hopefully few prototypes,
5174 which can conflict with char $ac_func(); below. */ 5180 which can conflict with char $ac_func(); below. */
5175 #include <assert.h> 5181 #include <assert.h>
5176 /* Override any gcc2 internal prototype to avoid an error. */ 5182 /* Override any gcc2 internal prototype to avoid an error. */
5189 $ac_func(); 5195 $ac_func();
5190 #endif 5196 #endif
5191 5197
5192 ; return 0; } 5198 ; return 0; }
5193 EOF 5199 EOF
5194 if { (eval echo configure:5195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5195 rm -rf conftest* 5201 rm -rf conftest*
5196 eval "ac_cv_func_$ac_func=yes" 5202 eval "ac_cv_func_$ac_func=yes"
5197 else 5203 else
5198 echo "configure: failed program was:" >&5 5204 echo "configure: failed program was:" >&5
5199 cat conftest.$ac_ext >&5 5205 cat conftest.$ac_ext >&5
5218 fi 5224 fi
5219 done 5225 done
5220 5226
5221 5227
5222 echo "checking type of mail spool file locking" 1>&6 5228 echo "checking type of mail spool file locking" 1>&6
5223 echo "configure:5224: checking type of mail spool file locking" >&5 5229 echo "configure:5230: checking type of mail spool file locking" >&5
5224 for ac_func in lockf flock 5230 for ac_func in lockf flock
5225 do 5231 do
5226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5227 echo "configure:5228: checking for $ac_func" >&5 5233 echo "configure:5234: checking for $ac_func" >&5
5228 5234
5229 cat > conftest.$ac_ext <<EOF 5235 cat > conftest.$ac_ext <<EOF
5230 #line 5231 "configure" 5236 #line 5237 "configure"
5231 #include "confdefs.h" 5237 #include "confdefs.h"
5232 /* System header to define __stub macros and hopefully few prototypes, 5238 /* System header to define __stub macros and hopefully few prototypes,
5233 which can conflict with char $ac_func(); below. */ 5239 which can conflict with char $ac_func(); below. */
5234 #include <assert.h> 5240 #include <assert.h>
5235 /* Override any gcc2 internal prototype to avoid an error. */ 5241 /* Override any gcc2 internal prototype to avoid an error. */
5248 $ac_func(); 5254 $ac_func();
5249 #endif 5255 #endif
5250 5256
5251 ; return 0; } 5257 ; return 0; }
5252 EOF 5258 EOF
5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5254 rm -rf conftest* 5260 rm -rf conftest*
5255 eval "ac_cv_func_$ac_func=yes" 5261 eval "ac_cv_func_$ac_func=yes"
5256 else 5262 else
5257 echo "configure: failed program was:" >&5 5263 echo "configure: failed program was:" >&5
5258 cat conftest.$ac_ext >&5 5264 cat conftest.$ac_ext >&5
5330 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5336 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5331 5337
5332 case "$opsys" in decosf*) 5338 case "$opsys" in decosf*)
5333 5339
5334 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5340 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5335 echo "configure:5336: checking for cma_open in -lpthreads" >&5 5341 echo "configure:5342: checking for cma_open in -lpthreads" >&5
5336 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5342 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5337 5343
5338 xe_check_libs=" -lpthreads " 5344 xe_check_libs=" -lpthreads "
5339 cat > conftest.$ac_ext <<EOF 5345 cat > conftest.$ac_ext <<EOF
5340 #line 5341 "configure" 5346 #line 5347 "configure"
5341 #include "confdefs.h" 5347 #include "confdefs.h"
5342 /* Override any gcc2 internal prototype to avoid an error. */ 5348 /* Override any gcc2 internal prototype to avoid an error. */
5343 /* We use char because int might match the return type of a gcc2 5349 /* We use char because int might match the return type of a gcc2
5344 builtin and then its argument prototype would still apply. */ 5350 builtin and then its argument prototype would still apply. */
5345 char cma_open(); 5351 char cma_open();
5346 5352
5347 int main() { 5353 int main() {
5348 cma_open() 5354 cma_open()
5349 ; return 0; } 5355 ; return 0; }
5350 EOF 5356 EOF
5351 if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5357 if { (eval echo configure:5358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5352 rm -rf conftest* 5358 rm -rf conftest*
5353 eval "ac_cv_lib_$ac_lib_var=yes" 5359 eval "ac_cv_lib_$ac_lib_var=yes"
5354 else 5360 else
5355 echo "configure: failed program was:" >&5 5361 echo "configure: failed program was:" >&5
5356 cat conftest.$ac_ext >&5 5362 cat conftest.$ac_ext >&5
5383 c_switch_site="$c_switch_site -threads" ;; 5389 c_switch_site="$c_switch_site -threads" ;;
5384 esac 5390 esac
5385 5391
5386 5392
5387 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5393 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5388 echo "configure:5389: checking whether the -xildoff compiler flag is required" >&5 5394 echo "configure:5395: checking whether the -xildoff compiler flag is required" >&5
5389 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5395 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5390 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5396 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5391 then echo "$ac_t""no" 1>&6; 5397 then echo "$ac_t""no" 1>&6;
5392 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 5398 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
5393 fi 5399 fi
5395 fi 5401 fi
5396 5402
5397 if test "$opsys" = "sol2"; then 5403 if test "$opsys" = "sol2"; then
5398 if test "$os_release" -ge 506; then 5404 if test "$os_release" -ge 506; then
5399 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5405 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5400 echo "configure:5401: checking for \"-z ignore\" linker flag" >&5 5406 echo "configure:5407: checking for \"-z ignore\" linker flag" >&5
5401 case "`ld -h 2>&1`" in 5407 case "`ld -h 2>&1`" in
5402 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5408 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5403 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5409 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5404 *) echo "$ac_t""no" 1>&6 ;; 5410 *) echo "$ac_t""no" 1>&6 ;;
5405 esac 5411 esac
5406 fi 5412 fi
5407 fi 5413 fi
5408 5414
5409 5415
5410 echo "checking "for specified window system"" 1>&6 5416 echo "checking "for specified window system"" 1>&6
5411 echo "configure:5412: checking "for specified window system"" >&5 5417 echo "configure:5418: checking "for specified window system"" >&5
5412 5418
5413 5419
5414 GNOME_CONFIG=no 5420 GNOME_CONFIG=no
5415 GTK_CONFIG=no 5421 GTK_CONFIG=no
5416 5422
5417 if test "$with_gnome" != "no"; then 5423 if test "$with_gnome" != "no"; then
5418 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5424 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5419 echo "configure:5420: checking for GNOME configuration script" >&5 5425 echo "configure:5426: checking for GNOME configuration script" >&5
5420 for possible in gnome-config 5426 for possible in gnome-config
5421 do 5427 do
5422 possible_version=`${possible} --version 2> /dev/null` 5428 possible_version=`${possible} --version 2> /dev/null`
5423 if test "x${possible_version}" != "x"; then 5429 if test "x${possible_version}" != "x"; then
5424 GNOME_CONFIG="${possible}" 5430 GNOME_CONFIG="${possible}"
5445 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5451 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5446 fi 5452 fi
5447 5453
5448 if test "$with_gtk" != "no";then 5454 if test "$with_gtk" != "no";then
5449 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5455 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5450 echo "configure:5451: checking for GTK configuration script" >&5 5456 echo "configure:5457: checking for GTK configuration script" >&5
5451 for possible in gtk12-config gtk14-config gtk-config 5457 for possible in gtk12-config gtk14-config gtk-config
5452 do 5458 do
5453 possible_version=`${possible} --version 2> /dev/null` 5459 possible_version=`${possible} --version 2> /dev/null`
5454 if test "x${possible_version}" != "x"; then 5460 if test "x${possible_version}" != "x"; then
5455 GTK_CONFIG="${possible}" 5461 GTK_CONFIG="${possible}"
5467 echo "$ac_t""${GTK_CONFIG}" 1>&6 5473 echo "$ac_t""${GTK_CONFIG}" 1>&6
5468 fi 5474 fi
5469 5475
5470 if test "${GTK_CONFIG}" != "no"; then 5476 if test "${GTK_CONFIG}" != "no"; then
5471 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5477 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5472 echo "configure:5473: checking gtk version" >&5 5478 echo "configure:5479: checking gtk version" >&5
5473 GTK_VERSION=`${GTK_CONFIG} --version` 5479 GTK_VERSION=`${GTK_CONFIG} --version`
5474 echo "$ac_t""${GTK_VERSION}" 1>&6 5480 echo "$ac_t""${GTK_VERSION}" 1>&6
5475 5481
5476 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5482 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5477 echo "configure:5478: checking gtk libs" >&5 5483 echo "configure:5484: checking gtk libs" >&5
5478 GTK_LIBS=`${GTK_CONFIG} --libs` 5484 GTK_LIBS=`${GTK_CONFIG} --libs`
5479 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5485 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5480 echo "$ac_t""${GTK_LIBS}" 1>&6 5486 echo "$ac_t""${GTK_LIBS}" 1>&6
5481 5487
5482 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5488 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5483 echo "configure:5484: checking gtk cflags" >&5 5489 echo "configure:5490: checking gtk cflags" >&5
5484 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5490 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5485 if test "$GCC" = "yes"; then 5491 if test "$GCC" = "yes"; then
5486 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5492 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5487 fi 5493 fi
5488 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5494 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5489 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5495 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5490 5496
5491 5497
5492 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5498 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5493 echo "configure:5494: checking for main in -lgdk_imlib" >&5 5499 echo "configure:5500: checking for main in -lgdk_imlib" >&5
5494 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5500 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5495 5501
5496 xe_check_libs=" -lgdk_imlib " 5502 xe_check_libs=" -lgdk_imlib "
5497 cat > conftest.$ac_ext <<EOF 5503 cat > conftest.$ac_ext <<EOF
5498 #line 5499 "configure" 5504 #line 5505 "configure"
5499 #include "confdefs.h" 5505 #include "confdefs.h"
5500 5506
5501 int main() { 5507 int main() {
5502 main() 5508 main()
5503 ; return 0; } 5509 ; return 0; }
5504 EOF 5510 EOF
5505 if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5506 rm -rf conftest* 5512 rm -rf conftest*
5507 eval "ac_cv_lib_$ac_lib_var=yes" 5513 eval "ac_cv_lib_$ac_lib_var=yes"
5508 else 5514 else
5509 echo "configure: failed program was:" >&5 5515 echo "configure: failed program was:" >&5
5510 cat conftest.$ac_ext >&5 5516 cat conftest.$ac_ext >&5
5522 fi 5528 fi
5523 5529
5524 5530
5525 5531
5526 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5532 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5527 echo "configure:5528: checking for Imlib_init in -lImlib" >&5 5533 echo "configure:5534: checking for Imlib_init in -lImlib" >&5
5528 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5534 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5529 5535
5530 xe_check_libs=" -lImlib " 5536 xe_check_libs=" -lImlib "
5531 cat > conftest.$ac_ext <<EOF 5537 cat > conftest.$ac_ext <<EOF
5532 #line 5533 "configure" 5538 #line 5539 "configure"
5533 #include "confdefs.h" 5539 #include "confdefs.h"
5534 /* Override any gcc2 internal prototype to avoid an error. */ 5540 /* Override any gcc2 internal prototype to avoid an error. */
5535 /* We use char because int might match the return type of a gcc2 5541 /* We use char because int might match the return type of a gcc2
5536 builtin and then its argument prototype would still apply. */ 5542 builtin and then its argument prototype would still apply. */
5537 char Imlib_init(); 5543 char Imlib_init();
5538 5544
5539 int main() { 5545 int main() {
5540 Imlib_init() 5546 Imlib_init()
5541 ; return 0; } 5547 ; return 0; }
5542 EOF 5548 EOF
5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5549 if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5544 rm -rf conftest* 5550 rm -rf conftest*
5545 eval "ac_cv_lib_$ac_lib_var=yes" 5551 eval "ac_cv_lib_$ac_lib_var=yes"
5546 else 5552 else
5547 echo "configure: failed program was:" >&5 5553 echo "configure: failed program was:" >&5
5548 cat conftest.$ac_ext >&5 5554 cat conftest.$ac_ext >&5
5561 5567
5562 5568
5563 for ac_func in gdk_imlib_init 5569 for ac_func in gdk_imlib_init
5564 do 5570 do
5565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5566 echo "configure:5567: checking for $ac_func" >&5 5572 echo "configure:5573: checking for $ac_func" >&5
5567 5573
5568 cat > conftest.$ac_ext <<EOF 5574 cat > conftest.$ac_ext <<EOF
5569 #line 5570 "configure" 5575 #line 5576 "configure"
5570 #include "confdefs.h" 5576 #include "confdefs.h"
5571 /* System header to define __stub macros and hopefully few prototypes, 5577 /* System header to define __stub macros and hopefully few prototypes,
5572 which can conflict with char $ac_func(); below. */ 5578 which can conflict with char $ac_func(); below. */
5573 #include <assert.h> 5579 #include <assert.h>
5574 /* Override any gcc2 internal prototype to avoid an error. */ 5580 /* Override any gcc2 internal prototype to avoid an error. */
5587 $ac_func(); 5593 $ac_func();
5588 #endif 5594 #endif
5589 5595
5590 ; return 0; } 5596 ; return 0; }
5591 EOF 5597 EOF
5592 if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5598 if { (eval echo configure:5599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5593 rm -rf conftest* 5599 rm -rf conftest*
5594 eval "ac_cv_func_$ac_func=yes" 5600 eval "ac_cv_func_$ac_func=yes"
5595 else 5601 else
5596 echo "configure: failed program was:" >&5 5602 echo "configure: failed program was:" >&5
5597 cat conftest.$ac_ext >&5 5603 cat conftest.$ac_ext >&5
5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5677 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5672 for ac_hdr in glade/glade.h glade.h 5678 for ac_hdr in glade/glade.h glade.h
5673 do 5679 do
5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5676 echo "configure:5677: checking for $ac_hdr" >&5 5682 echo "configure:5683: checking for $ac_hdr" >&5
5677 5683
5678 cat > conftest.$ac_ext <<EOF 5684 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure" 5685 #line 5686 "configure"
5680 #include "confdefs.h" 5686 #include "confdefs.h"
5681 #include <$ac_hdr> 5687 #include <$ac_hdr>
5682 EOF 5688 EOF
5683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5690 { (eval echo configure:5691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5686 if test -z "$ac_err"; then 5692 if test -z "$ac_err"; then
5687 rm -rf conftest* 5693 rm -rf conftest*
5688 eval "ac_cv_header_$ac_safe=yes" 5694 eval "ac_cv_header_$ac_safe=yes"
5689 else 5695 else
5710 fi 5716 fi
5711 done 5717 done
5712 5718
5713 5719
5714 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5720 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5715 echo "configure:5716: checking for main in -lxml" >&5 5721 echo "configure:5722: checking for main in -lxml" >&5
5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5722 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5717 5723
5718 xe_check_libs=" -lxml " 5724 xe_check_libs=" -lxml "
5719 cat > conftest.$ac_ext <<EOF 5725 cat > conftest.$ac_ext <<EOF
5720 #line 5721 "configure" 5726 #line 5727 "configure"
5721 #include "confdefs.h" 5727 #include "confdefs.h"
5722 5728
5723 int main() { 5729 int main() {
5724 main() 5730 main()
5725 ; return 0; } 5731 ; return 0; }
5726 EOF 5732 EOF
5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5733 if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5728 rm -rf conftest* 5734 rm -rf conftest*
5729 eval "ac_cv_lib_$ac_lib_var=yes" 5735 eval "ac_cv_lib_$ac_lib_var=yes"
5730 else 5736 else
5731 echo "configure: failed program was:" >&5 5737 echo "configure: failed program was:" >&5
5732 cat conftest.$ac_ext >&5 5738 cat conftest.$ac_ext >&5
5744 fi 5750 fi
5745 5751
5746 5752
5747 5753
5748 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5754 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5749 echo "configure:5750: checking for main in -lglade" >&5 5755 echo "configure:5756: checking for main in -lglade" >&5
5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5756 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5751 5757
5752 xe_check_libs=" -lglade " 5758 xe_check_libs=" -lglade "
5753 cat > conftest.$ac_ext <<EOF 5759 cat > conftest.$ac_ext <<EOF
5754 #line 5755 "configure" 5760 #line 5761 "configure"
5755 #include "confdefs.h" 5761 #include "confdefs.h"
5756 5762
5757 int main() { 5763 int main() {
5758 main() 5764 main()
5759 ; return 0; } 5765 ; return 0; }
5760 EOF 5766 EOF
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5767 if { (eval echo configure:5768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5762 rm -rf conftest* 5768 rm -rf conftest*
5763 eval "ac_cv_lib_$ac_lib_var=yes" 5769 eval "ac_cv_lib_$ac_lib_var=yes"
5764 else 5770 else
5765 echo "configure: failed program was:" >&5 5771 echo "configure: failed program was:" >&5
5766 cat conftest.$ac_ext >&5 5772 cat conftest.$ac_ext >&5
5778 fi 5784 fi
5779 5785
5780 5786
5781 5787
5782 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5788 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5783 echo "configure:5784: checking for main in -lglade-gnome" >&5 5789 echo "configure:5790: checking for main in -lglade-gnome" >&5
5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5790 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5785 5791
5786 xe_check_libs=" -lglade-gnome " 5792 xe_check_libs=" -lglade-gnome "
5787 cat > conftest.$ac_ext <<EOF 5793 cat > conftest.$ac_ext <<EOF
5788 #line 5789 "configure" 5794 #line 5795 "configure"
5789 #include "confdefs.h" 5795 #include "confdefs.h"
5790 5796
5791 int main() { 5797 int main() {
5792 main() 5798 main()
5793 ; return 0; } 5799 ; return 0; }
5794 EOF 5800 EOF
5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5796 rm -rf conftest* 5802 rm -rf conftest*
5797 eval "ac_cv_lib_$ac_lib_var=yes" 5803 eval "ac_cv_lib_$ac_lib_var=yes"
5798 else 5804 else
5799 echo "configure: failed program was:" >&5 5805 echo "configure: failed program was:" >&5
5800 cat conftest.$ac_ext >&5 5806 cat conftest.$ac_ext >&5
5811 echo "$ac_t""no" 1>&6 5817 echo "$ac_t""no" 1>&6
5812 fi 5818 fi
5813 5819
5814 5820
5815 cat > conftest.$ac_ext <<EOF 5821 cat > conftest.$ac_ext <<EOF
5816 #line 5817 "configure" 5822 #line 5823 "configure"
5817 #include "confdefs.h" 5823 #include "confdefs.h"
5818 #include <glade/glade-xml.h> 5824 #include <glade/glade-xml.h>
5819 EOF 5825 EOF
5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5827 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5870 # If we find X, set shell vars x_includes and x_libraries to the 5876 # If we find X, set shell vars x_includes and x_libraries to the
5871 # paths, otherwise set no_x=yes. 5877 # paths, otherwise set no_x=yes.
5872 # Uses ac_ vars as temps to allow command line to override cache and checks. 5878 # Uses ac_ vars as temps to allow command line to override cache and checks.
5873 # --without-x overrides everything else, but does not touch the cache. 5879 # --without-x overrides everything else, but does not touch the cache.
5874 echo $ac_n "checking for X""... $ac_c" 1>&6 5880 echo $ac_n "checking for X""... $ac_c" 1>&6
5875 echo "configure:5876: checking for X" >&5 5881 echo "configure:5882: checking for X" >&5
5876 5882
5877 # Check whether --with-x or --without-x was given. 5883 # Check whether --with-x or --without-x was given.
5878 if test "${with_x+set}" = set; then 5884 if test "${with_x+set}" = set; then
5879 withval="$with_x" 5885 withval="$with_x"
5880 : 5886 :
5930 # Guess where to find include files, by looking for this one X11 .h file. 5936 # Guess where to find include files, by looking for this one X11 .h file.
5931 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5937 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5932 5938
5933 # First, try using that file with no special directory specified. 5939 # First, try using that file with no special directory specified.
5934 cat > conftest.$ac_ext <<EOF 5940 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure" 5941 #line 5942 "configure"
5936 #include "confdefs.h" 5942 #include "confdefs.h"
5937 #include <$x_direct_test_include> 5943 #include <$x_direct_test_include>
5938 EOF 5944 EOF
5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5946 { (eval echo configure:5947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5942 if test -z "$ac_err"; then 5948 if test -z "$ac_err"; then
5943 rm -rf conftest* 5949 rm -rf conftest*
5944 # We can compile using X headers with no special include directory. 5950 # We can compile using X headers with no special include directory.
5945 ac_x_includes= 5951 ac_x_includes=
6004 # See if we find them without any special options. 6010 # See if we find them without any special options.
6005 # Don't add to $LIBS permanently. 6011 # Don't add to $LIBS permanently.
6006 ac_save_LIBS="$LIBS" 6012 ac_save_LIBS="$LIBS"
6007 LIBS="-l$x_direct_test_library $LIBS" 6013 LIBS="-l$x_direct_test_library $LIBS"
6008 cat > conftest.$ac_ext <<EOF 6014 cat > conftest.$ac_ext <<EOF
6009 #line 6010 "configure" 6015 #line 6016 "configure"
6010 #include "confdefs.h" 6016 #include "confdefs.h"
6011 6017
6012 int main() { 6018 int main() {
6013 ${x_direct_test_function}() 6019 ${x_direct_test_function}()
6014 ; return 0; } 6020 ; return 0; }
6015 EOF 6021 EOF
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6022 if { (eval echo configure:6023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6017 rm -rf conftest* 6023 rm -rf conftest*
6018 LIBS="$ac_save_LIBS" 6024 LIBS="$ac_save_LIBS"
6019 # We can link X programs with no special library path. 6025 # We can link X programs with no special library path.
6020 ac_x_libraries= 6026 ac_x_libraries=
6021 else 6027 else
6120 # For Solaris; some versions of Sun CC require a space after -R and 6126 # For Solaris; some versions of Sun CC require a space after -R and
6121 # others require no space. Words are not sufficient . . . . 6127 # others require no space. Words are not sufficient . . . .
6122 case "`(uname -sr) 2>/dev/null`" in 6128 case "`(uname -sr) 2>/dev/null`" in
6123 "SunOS 5"*) 6129 "SunOS 5"*)
6124 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6130 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6125 echo "configure:6126: checking whether -R must be followed by a space" >&5 6131 echo "configure:6132: checking whether -R must be followed by a space" >&5
6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6132 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6127 cat > conftest.$ac_ext <<EOF 6133 cat > conftest.$ac_ext <<EOF
6128 #line 6129 "configure" 6134 #line 6135 "configure"
6129 #include "confdefs.h" 6135 #include "confdefs.h"
6130 6136
6131 int main() { 6137 int main() {
6132 6138
6133 ; return 0; } 6139 ; return 0; }
6134 EOF 6140 EOF
6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6141 if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6136 rm -rf conftest* 6142 rm -rf conftest*
6137 ac_R_nospace=yes 6143 ac_R_nospace=yes
6138 else 6144 else
6139 echo "configure: failed program was:" >&5 6145 echo "configure: failed program was:" >&5
6140 cat conftest.$ac_ext >&5 6146 cat conftest.$ac_ext >&5
6146 echo "$ac_t""no" 1>&6 6152 echo "$ac_t""no" 1>&6
6147 X_LIBS="$X_LIBS -R$x_libraries" 6153 X_LIBS="$X_LIBS -R$x_libraries"
6148 else 6154 else
6149 LIBS="$ac_xsave_LIBS -R $x_libraries" 6155 LIBS="$ac_xsave_LIBS -R $x_libraries"
6150 cat > conftest.$ac_ext <<EOF 6156 cat > conftest.$ac_ext <<EOF
6151 #line 6152 "configure" 6157 #line 6158 "configure"
6152 #include "confdefs.h" 6158 #include "confdefs.h"
6153 6159
6154 int main() { 6160 int main() {
6155 6161
6156 ; return 0; } 6162 ; return 0; }
6157 EOF 6163 EOF
6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6164 if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6159 rm -rf conftest* 6165 rm -rf conftest*
6160 ac_R_space=yes 6166 ac_R_space=yes
6161 else 6167 else
6162 echo "configure: failed program was:" >&5 6168 echo "configure: failed program was:" >&5
6163 cat conftest.$ac_ext >&5 6169 cat conftest.$ac_ext >&5
6189 if test "$with_dnet" = "no" ; then 6195 if test "$with_dnet" = "no" ; then
6190 ac_cv_lib_dnet_dnet_ntoa=no 6196 ac_cv_lib_dnet_dnet_ntoa=no
6191 else 6197 else
6192 6198
6193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6199 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5 6200 echo "configure:6201: checking for dnet_ntoa in -ldnet" >&5
6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6201 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6196 6202
6197 xe_check_libs=" -ldnet " 6203 xe_check_libs=" -ldnet "
6198 cat > conftest.$ac_ext <<EOF 6204 cat > conftest.$ac_ext <<EOF
6199 #line 6200 "configure" 6205 #line 6206 "configure"
6200 #include "confdefs.h" 6206 #include "confdefs.h"
6201 /* Override any gcc2 internal prototype to avoid an error. */ 6207 /* Override any gcc2 internal prototype to avoid an error. */
6202 /* We use char because int might match the return type of a gcc2 6208 /* We use char because int might match the return type of a gcc2
6203 builtin and then its argument prototype would still apply. */ 6209 builtin and then its argument prototype would still apply. */
6204 char dnet_ntoa(); 6210 char dnet_ntoa();
6205 6211
6206 int main() { 6212 int main() {
6207 dnet_ntoa() 6213 dnet_ntoa()
6208 ; return 0; } 6214 ; return 0; }
6209 EOF 6215 EOF
6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6216 if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6211 rm -rf conftest* 6217 rm -rf conftest*
6212 eval "ac_cv_lib_$ac_lib_var=yes" 6218 eval "ac_cv_lib_$ac_lib_var=yes"
6213 else 6219 else
6214 echo "configure: failed program was:" >&5 6220 echo "configure: failed program was:" >&5
6215 cat conftest.$ac_ext >&5 6221 cat conftest.$ac_ext >&5
6229 fi 6235 fi
6230 6236
6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6237 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6232 6238
6233 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6239 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5 6240 echo "configure:6241: checking for dnet_ntoa in -ldnet_stub" >&5
6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6241 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6236 6242
6237 xe_check_libs=" -ldnet_stub " 6243 xe_check_libs=" -ldnet_stub "
6238 cat > conftest.$ac_ext <<EOF 6244 cat > conftest.$ac_ext <<EOF
6239 #line 6240 "configure" 6245 #line 6246 "configure"
6240 #include "confdefs.h" 6246 #include "confdefs.h"
6241 /* Override any gcc2 internal prototype to avoid an error. */ 6247 /* Override any gcc2 internal prototype to avoid an error. */
6242 /* We use char because int might match the return type of a gcc2 6248 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */ 6249 builtin and then its argument prototype would still apply. */
6244 char dnet_ntoa(); 6250 char dnet_ntoa();
6245 6251
6246 int main() { 6252 int main() {
6247 dnet_ntoa() 6253 dnet_ntoa()
6248 ; return 0; } 6254 ; return 0; }
6249 EOF 6255 EOF
6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6256 if { (eval echo configure:6257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6251 rm -rf conftest* 6257 rm -rf conftest*
6252 eval "ac_cv_lib_$ac_lib_var=yes" 6258 eval "ac_cv_lib_$ac_lib_var=yes"
6253 else 6259 else
6254 echo "configure: failed program was:" >&5 6260 echo "configure: failed program was:" >&5
6255 cat conftest.$ac_ext >&5 6261 cat conftest.$ac_ext >&5
6274 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6280 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6275 # needs -lnsl. 6281 # needs -lnsl.
6276 # The nsl library prevents programs from opening the X display 6282 # The nsl library prevents programs from opening the X display
6277 # on Irix 5.2, according to dickey@clark.net. 6283 # on Irix 5.2, according to dickey@clark.net.
6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6284 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6279 echo "configure:6280: checking for gethostbyname" >&5 6285 echo "configure:6286: checking for gethostbyname" >&5
6280 6286
6281 cat > conftest.$ac_ext <<EOF 6287 cat > conftest.$ac_ext <<EOF
6282 #line 6283 "configure" 6288 #line 6289 "configure"
6283 #include "confdefs.h" 6289 #include "confdefs.h"
6284 /* System header to define __stub macros and hopefully few prototypes, 6290 /* System header to define __stub macros and hopefully few prototypes,
6285 which can conflict with char gethostbyname(); below. */ 6291 which can conflict with char gethostbyname(); below. */
6286 #include <assert.h> 6292 #include <assert.h>
6287 /* Override any gcc2 internal prototype to avoid an error. */ 6293 /* Override any gcc2 internal prototype to avoid an error. */
6300 gethostbyname(); 6306 gethostbyname();
6301 #endif 6307 #endif
6302 6308
6303 ; return 0; } 6309 ; return 0; }
6304 EOF 6310 EOF
6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6306 rm -rf conftest* 6312 rm -rf conftest*
6307 eval "ac_cv_func_gethostbyname=yes" 6313 eval "ac_cv_func_gethostbyname=yes"
6308 else 6314 else
6309 echo "configure: failed program was:" >&5 6315 echo "configure: failed program was:" >&5
6310 cat conftest.$ac_ext >&5 6316 cat conftest.$ac_ext >&5
6321 fi 6327 fi
6322 6328
6323 if test $ac_cv_func_gethostbyname = no; then 6329 if test $ac_cv_func_gethostbyname = no; then
6324 6330
6325 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6331 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5 6332 echo "configure:6333: checking for gethostbyname in -lnsl" >&5
6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6333 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6328 6334
6329 xe_check_libs=" -lnsl " 6335 xe_check_libs=" -lnsl "
6330 cat > conftest.$ac_ext <<EOF 6336 cat > conftest.$ac_ext <<EOF
6331 #line 6332 "configure" 6337 #line 6338 "configure"
6332 #include "confdefs.h" 6338 #include "confdefs.h"
6333 /* Override any gcc2 internal prototype to avoid an error. */ 6339 /* Override any gcc2 internal prototype to avoid an error. */
6334 /* We use char because int might match the return type of a gcc2 6340 /* We use char because int might match the return type of a gcc2
6335 builtin and then its argument prototype would still apply. */ 6341 builtin and then its argument prototype would still apply. */
6336 char gethostbyname(); 6342 char gethostbyname();
6337 6343
6338 int main() { 6344 int main() {
6339 gethostbyname() 6345 gethostbyname()
6340 ; return 0; } 6346 ; return 0; }
6341 EOF 6347 EOF
6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6348 if { (eval echo configure:6349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6343 rm -rf conftest* 6349 rm -rf conftest*
6344 eval "ac_cv_lib_$ac_lib_var=yes" 6350 eval "ac_cv_lib_$ac_lib_var=yes"
6345 else 6351 else
6346 echo "configure: failed program was:" >&5 6352 echo "configure: failed program was:" >&5
6347 cat conftest.$ac_ext >&5 6353 cat conftest.$ac_ext >&5
6367 # on later versions), says simon@lia.di.epfl.ch: it contains 6373 # on later versions), says simon@lia.di.epfl.ch: it contains
6368 # gethostby* variants that don't use the nameserver (or something). 6374 # gethostby* variants that don't use the nameserver (or something).
6369 # -lsocket must be given before -lnsl if both are needed. 6375 # -lsocket must be given before -lnsl if both are needed.
6370 # We assume that if connect needs -lnsl, so does gethostbyname. 6376 # We assume that if connect needs -lnsl, so does gethostbyname.
6371 echo $ac_n "checking for connect""... $ac_c" 1>&6 6377 echo $ac_n "checking for connect""... $ac_c" 1>&6
6372 echo "configure:6373: checking for connect" >&5 6378 echo "configure:6379: checking for connect" >&5
6373 6379
6374 cat > conftest.$ac_ext <<EOF 6380 cat > conftest.$ac_ext <<EOF
6375 #line 6376 "configure" 6381 #line 6382 "configure"
6376 #include "confdefs.h" 6382 #include "confdefs.h"
6377 /* System header to define __stub macros and hopefully few prototypes, 6383 /* System header to define __stub macros and hopefully few prototypes,
6378 which can conflict with char connect(); below. */ 6384 which can conflict with char connect(); below. */
6379 #include <assert.h> 6385 #include <assert.h>
6380 /* Override any gcc2 internal prototype to avoid an error. */ 6386 /* Override any gcc2 internal prototype to avoid an error. */
6393 connect(); 6399 connect();
6394 #endif 6400 #endif
6395 6401
6396 ; return 0; } 6402 ; return 0; }
6397 EOF 6403 EOF
6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6404 if { (eval echo configure:6405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6399 rm -rf conftest* 6405 rm -rf conftest*
6400 eval "ac_cv_func_connect=yes" 6406 eval "ac_cv_func_connect=yes"
6401 else 6407 else
6402 echo "configure: failed program was:" >&5 6408 echo "configure: failed program was:" >&5
6403 cat conftest.$ac_ext >&5 6409 cat conftest.$ac_ext >&5
6416 if test $ac_cv_func_connect = no; then 6422 if test $ac_cv_func_connect = no; then
6417 6423
6418 xe_msg_checking="for connect in -lsocket" 6424 xe_msg_checking="for connect in -lsocket"
6419 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6425 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6426 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6421 echo "configure:6422: checking "$xe_msg_checking"" >&5 6427 echo "configure:6428: checking "$xe_msg_checking"" >&5
6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6428 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6423 6429
6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6430 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6425 cat > conftest.$ac_ext <<EOF 6431 cat > conftest.$ac_ext <<EOF
6426 #line 6427 "configure" 6432 #line 6433 "configure"
6427 #include "confdefs.h" 6433 #include "confdefs.h"
6428 /* Override any gcc2 internal prototype to avoid an error. */ 6434 /* Override any gcc2 internal prototype to avoid an error. */
6429 /* We use char because int might match the return type of a gcc2 6435 /* We use char because int might match the return type of a gcc2
6430 builtin and then its argument prototype would still apply. */ 6436 builtin and then its argument prototype would still apply. */
6431 char connect(); 6437 char connect();
6432 6438
6433 int main() { 6439 int main() {
6434 connect() 6440 connect()
6435 ; return 0; } 6441 ; return 0; }
6436 EOF 6442 EOF
6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 rm -rf conftest* 6444 rm -rf conftest*
6439 eval "ac_cv_lib_$ac_lib_var=yes" 6445 eval "ac_cv_lib_$ac_lib_var=yes"
6440 else 6446 else
6441 echo "configure: failed program was:" >&5 6447 echo "configure: failed program was:" >&5
6442 cat conftest.$ac_ext >&5 6448 cat conftest.$ac_ext >&5
6456 6462
6457 fi 6463 fi
6458 6464
6459 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6465 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6460 echo $ac_n "checking for remove""... $ac_c" 1>&6 6466 echo $ac_n "checking for remove""... $ac_c" 1>&6
6461 echo "configure:6462: checking for remove" >&5 6467 echo "configure:6468: checking for remove" >&5
6462 6468
6463 cat > conftest.$ac_ext <<EOF 6469 cat > conftest.$ac_ext <<EOF
6464 #line 6465 "configure" 6470 #line 6471 "configure"
6465 #include "confdefs.h" 6471 #include "confdefs.h"
6466 /* System header to define __stub macros and hopefully few prototypes, 6472 /* System header to define __stub macros and hopefully few prototypes,
6467 which can conflict with char remove(); below. */ 6473 which can conflict with char remove(); below. */
6468 #include <assert.h> 6474 #include <assert.h>
6469 /* Override any gcc2 internal prototype to avoid an error. */ 6475 /* Override any gcc2 internal prototype to avoid an error. */
6482 remove(); 6488 remove();
6483 #endif 6489 #endif
6484 6490
6485 ; return 0; } 6491 ; return 0; }
6486 EOF 6492 EOF
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6493 if { (eval echo configure:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6488 rm -rf conftest* 6494 rm -rf conftest*
6489 eval "ac_cv_func_remove=yes" 6495 eval "ac_cv_func_remove=yes"
6490 else 6496 else
6491 echo "configure: failed program was:" >&5 6497 echo "configure: failed program was:" >&5
6492 cat conftest.$ac_ext >&5 6498 cat conftest.$ac_ext >&5
6503 fi 6509 fi
6504 6510
6505 if test $ac_cv_func_remove = no; then 6511 if test $ac_cv_func_remove = no; then
6506 6512
6507 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6513 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6508 echo "configure:6509: checking for remove in -lposix" >&5 6514 echo "configure:6515: checking for remove in -lposix" >&5
6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6515 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6510 6516
6511 xe_check_libs=" -lposix " 6517 xe_check_libs=" -lposix "
6512 cat > conftest.$ac_ext <<EOF 6518 cat > conftest.$ac_ext <<EOF
6513 #line 6514 "configure" 6519 #line 6520 "configure"
6514 #include "confdefs.h" 6520 #include "confdefs.h"
6515 /* Override any gcc2 internal prototype to avoid an error. */ 6521 /* Override any gcc2 internal prototype to avoid an error. */
6516 /* We use char because int might match the return type of a gcc2 6522 /* We use char because int might match the return type of a gcc2
6517 builtin and then its argument prototype would still apply. */ 6523 builtin and then its argument prototype would still apply. */
6518 char remove(); 6524 char remove();
6519 6525
6520 int main() { 6526 int main() {
6521 remove() 6527 remove()
6522 ; return 0; } 6528 ; return 0; }
6523 EOF 6529 EOF
6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6530 if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6525 rm -rf conftest* 6531 rm -rf conftest*
6526 eval "ac_cv_lib_$ac_lib_var=yes" 6532 eval "ac_cv_lib_$ac_lib_var=yes"
6527 else 6533 else
6528 echo "configure: failed program was:" >&5 6534 echo "configure: failed program was:" >&5
6529 cat conftest.$ac_ext >&5 6535 cat conftest.$ac_ext >&5
6543 6549
6544 fi 6550 fi
6545 6551
6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6552 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6553 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6548 echo "configure:6549: checking for shmat" >&5 6554 echo "configure:6555: checking for shmat" >&5
6549 6555
6550 cat > conftest.$ac_ext <<EOF 6556 cat > conftest.$ac_ext <<EOF
6551 #line 6552 "configure" 6557 #line 6558 "configure"
6552 #include "confdefs.h" 6558 #include "confdefs.h"
6553 /* System header to define __stub macros and hopefully few prototypes, 6559 /* System header to define __stub macros and hopefully few prototypes,
6554 which can conflict with char shmat(); below. */ 6560 which can conflict with char shmat(); below. */
6555 #include <assert.h> 6561 #include <assert.h>
6556 /* Override any gcc2 internal prototype to avoid an error. */ 6562 /* Override any gcc2 internal prototype to avoid an error. */
6569 shmat(); 6575 shmat();
6570 #endif 6576 #endif
6571 6577
6572 ; return 0; } 6578 ; return 0; }
6573 EOF 6579 EOF
6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6575 rm -rf conftest* 6581 rm -rf conftest*
6576 eval "ac_cv_func_shmat=yes" 6582 eval "ac_cv_func_shmat=yes"
6577 else 6583 else
6578 echo "configure: failed program was:" >&5 6584 echo "configure: failed program was:" >&5
6579 cat conftest.$ac_ext >&5 6585 cat conftest.$ac_ext >&5
6590 fi 6596 fi
6591 6597
6592 if test $ac_cv_func_shmat = no; then 6598 if test $ac_cv_func_shmat = no; then
6593 6599
6594 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6600 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6595 echo "configure:6596: checking for shmat in -lipc" >&5 6601 echo "configure:6602: checking for shmat in -lipc" >&5
6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6602 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6597 6603
6598 xe_check_libs=" -lipc " 6604 xe_check_libs=" -lipc "
6599 cat > conftest.$ac_ext <<EOF 6605 cat > conftest.$ac_ext <<EOF
6600 #line 6601 "configure" 6606 #line 6607 "configure"
6601 #include "confdefs.h" 6607 #include "confdefs.h"
6602 /* Override any gcc2 internal prototype to avoid an error. */ 6608 /* Override any gcc2 internal prototype to avoid an error. */
6603 /* We use char because int might match the return type of a gcc2 6609 /* We use char because int might match the return type of a gcc2
6604 builtin and then its argument prototype would still apply. */ 6610 builtin and then its argument prototype would still apply. */
6605 char shmat(); 6611 char shmat();
6606 6612
6607 int main() { 6613 int main() {
6608 shmat() 6614 shmat()
6609 ; return 0; } 6615 ; return 0; }
6610 EOF 6616 EOF
6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6617 if { (eval echo configure:6618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6612 rm -rf conftest* 6618 rm -rf conftest*
6613 eval "ac_cv_lib_$ac_lib_var=yes" 6619 eval "ac_cv_lib_$ac_lib_var=yes"
6614 else 6620 else
6615 echo "configure: failed program was:" >&5 6621 echo "configure: failed program was:" >&5
6616 cat conftest.$ac_ext >&5 6622 cat conftest.$ac_ext >&5
6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6648 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6643 6649
6644 xe_msg_checking="for IceConnectionNumber in -lICE" 6650 xe_msg_checking="for IceConnectionNumber in -lICE"
6645 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6651 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6652 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6647 echo "configure:6648: checking "$xe_msg_checking"" >&5 6653 echo "configure:6654: checking "$xe_msg_checking"" >&5
6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6654 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6649 6655
6650 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6656 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6651 cat > conftest.$ac_ext <<EOF 6657 cat > conftest.$ac_ext <<EOF
6652 #line 6653 "configure" 6658 #line 6659 "configure"
6653 #include "confdefs.h" 6659 #include "confdefs.h"
6654 /* Override any gcc2 internal prototype to avoid an error. */ 6660 /* Override any gcc2 internal prototype to avoid an error. */
6655 /* We use char because int might match the return type of a gcc2 6661 /* We use char because int might match the return type of a gcc2
6656 builtin and then its argument prototype would still apply. */ 6662 builtin and then its argument prototype would still apply. */
6657 char IceConnectionNumber(); 6663 char IceConnectionNumber();
6658 6664
6659 int main() { 6665 int main() {
6660 IceConnectionNumber() 6666 IceConnectionNumber()
6661 ; return 0; } 6667 ; return 0; }
6662 EOF 6668 EOF
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6669 if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6664 rm -rf conftest* 6670 rm -rf conftest*
6665 eval "ac_cv_lib_$ac_lib_var=yes" 6671 eval "ac_cv_lib_$ac_lib_var=yes"
6666 else 6672 else
6667 echo "configure: failed program was:" >&5 6673 echo "configure: failed program was:" >&5
6668 cat conftest.$ac_ext >&5 6674 cat conftest.$ac_ext >&5
6704 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6710 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6705 6711
6706 6712
6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6713 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6708 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6714 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6709 echo "configure:6710: checking for Xm/Xm.h" >&5 6715 echo "configure:6716: checking for Xm/Xm.h" >&5
6710 6716
6711 cat > conftest.$ac_ext <<EOF 6717 cat > conftest.$ac_ext <<EOF
6712 #line 6713 "configure" 6718 #line 6719 "configure"
6713 #include "confdefs.h" 6719 #include "confdefs.h"
6714 #include <Xm/Xm.h> 6720 #include <Xm/Xm.h>
6715 EOF 6721 EOF
6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6723 { (eval echo configure:6724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6719 if test -z "$ac_err"; then 6725 if test -z "$ac_err"; then
6720 rm -rf conftest* 6726 rm -rf conftest*
6721 eval "ac_cv_header_$ac_safe=yes" 6727 eval "ac_cv_header_$ac_safe=yes"
6722 else 6728 else
6729 rm -f conftest* 6735 rm -f conftest*
6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6736 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6731 echo "$ac_t""yes" 1>&6 6737 echo "$ac_t""yes" 1>&6
6732 6738
6733 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6739 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5 6740 echo "configure:6741: checking for XmStringFree in -lXm" >&5
6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6741 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6736 6742
6737 xe_check_libs=" -lXm " 6743 xe_check_libs=" -lXm "
6738 cat > conftest.$ac_ext <<EOF 6744 cat > conftest.$ac_ext <<EOF
6739 #line 6740 "configure" 6745 #line 6746 "configure"
6740 #include "confdefs.h" 6746 #include "confdefs.h"
6741 /* Override any gcc2 internal prototype to avoid an error. */ 6747 /* Override any gcc2 internal prototype to avoid an error. */
6742 /* We use char because int might match the return type of a gcc2 6748 /* We use char because int might match the return type of a gcc2
6743 builtin and then its argument prototype would still apply. */ 6749 builtin and then its argument prototype would still apply. */
6744 char XmStringFree(); 6750 char XmStringFree();
6745 6751
6746 int main() { 6752 int main() {
6747 XmStringFree() 6753 XmStringFree()
6748 ; return 0; } 6754 ; return 0; }
6749 EOF 6755 EOF
6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6756 if { (eval echo configure:6757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6751 rm -rf conftest* 6757 rm -rf conftest*
6752 eval "ac_cv_lib_$ac_lib_var=yes" 6758 eval "ac_cv_lib_$ac_lib_var=yes"
6753 else 6759 else
6754 echo "configure: failed program was:" >&5 6760 echo "configure: failed program was:" >&5
6755 cat conftest.$ac_ext >&5 6761 cat conftest.$ac_ext >&5
6897 EOF 6903 EOF
6898 } 6904 }
6899 6905
6900 6906
6901 echo "checking for X defines extracted by xmkmf" 1>&6 6907 echo "checking for X defines extracted by xmkmf" 1>&6
6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5 6908 echo "configure:6909: checking for X defines extracted by xmkmf" >&5
6903 rm -fr conftestdir 6909 rm -fr conftestdir
6904 if mkdir conftestdir; then 6910 if mkdir conftestdir; then
6905 cd conftestdir 6911 cd conftestdir
6906 cat > Imakefile <<'EOF' 6912 cat > Imakefile <<'EOF'
6907 xetest: 6913 xetest:
6946 done 6952 done
6947 fi 6953 fi
6948 6954
6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6955 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6950 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6956 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5 6957 echo "configure:6958: checking for X11/Intrinsic.h" >&5
6952 6958
6953 cat > conftest.$ac_ext <<EOF 6959 cat > conftest.$ac_ext <<EOF
6954 #line 6955 "configure" 6960 #line 6961 "configure"
6955 #include "confdefs.h" 6961 #include "confdefs.h"
6956 #include <X11/Intrinsic.h> 6962 #include <X11/Intrinsic.h>
6957 EOF 6963 EOF
6958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6965 { (eval echo configure:6966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6961 if test -z "$ac_err"; then 6967 if test -z "$ac_err"; then
6962 rm -rf conftest* 6968 rm -rf conftest*
6963 eval "ac_cv_header_$ac_safe=yes" 6969 eval "ac_cv_header_$ac_safe=yes"
6964 else 6970 else
6978 fi 6984 fi
6979 6985
6980 6986
6981 6987
6982 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6988 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5 6989 echo "configure:6990: checking for XOpenDisplay in -lX11" >&5
6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6990 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6985 6991
6986 xe_check_libs=" -lX11 " 6992 xe_check_libs=" -lX11 "
6987 cat > conftest.$ac_ext <<EOF 6993 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure" 6994 #line 6995 "configure"
6989 #include "confdefs.h" 6995 #include "confdefs.h"
6990 /* Override any gcc2 internal prototype to avoid an error. */ 6996 /* Override any gcc2 internal prototype to avoid an error. */
6991 /* We use char because int might match the return type of a gcc2 6997 /* We use char because int might match the return type of a gcc2
6992 builtin and then its argument prototype would still apply. */ 6998 builtin and then its argument prototype would still apply. */
6993 char XOpenDisplay(); 6999 char XOpenDisplay();
6994 7000
6995 int main() { 7001 int main() {
6996 XOpenDisplay() 7002 XOpenDisplay()
6997 ; return 0; } 7003 ; return 0; }
6998 EOF 7004 EOF
6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7005 if { (eval echo configure:7006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7000 rm -rf conftest* 7006 rm -rf conftest*
7001 eval "ac_cv_lib_$ac_lib_var=yes" 7007 eval "ac_cv_lib_$ac_lib_var=yes"
7002 else 7008 else
7003 echo "configure: failed program was:" >&5 7009 echo "configure: failed program was:" >&5
7004 cat conftest.$ac_ext >&5 7010 cat conftest.$ac_ext >&5
7019 if test "$have_lib_x11" != "yes"; then 7025 if test "$have_lib_x11" != "yes"; then
7020 7026
7021 xe_msg_checking="for XGetFontProperty in -lX11" 7027 xe_msg_checking="for XGetFontProperty in -lX11"
7022 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7028 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7029 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7024 echo "configure:7025: checking "$xe_msg_checking"" >&5 7030 echo "configure:7031: checking "$xe_msg_checking"" >&5
7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7031 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7026 7032
7027 xe_check_libs=" -lX11 -b i486-linuxaout" 7033 xe_check_libs=" -lX11 -b i486-linuxaout"
7028 cat > conftest.$ac_ext <<EOF 7034 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure" 7035 #line 7036 "configure"
7030 #include "confdefs.h" 7036 #include "confdefs.h"
7031 /* Override any gcc2 internal prototype to avoid an error. */ 7037 /* Override any gcc2 internal prototype to avoid an error. */
7032 /* We use char because int might match the return type of a gcc2 7038 /* We use char because int might match the return type of a gcc2
7033 builtin and then its argument prototype would still apply. */ 7039 builtin and then its argument prototype would still apply. */
7034 char XGetFontProperty(); 7040 char XGetFontProperty();
7035 7041
7036 int main() { 7042 int main() {
7037 XGetFontProperty() 7043 XGetFontProperty()
7038 ; return 0; } 7044 ; return 0; }
7039 EOF 7045 EOF
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7046 if { (eval echo configure:7047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7041 rm -rf conftest* 7047 rm -rf conftest*
7042 eval "ac_cv_lib_$ac_lib_var=yes" 7048 eval "ac_cv_lib_$ac_lib_var=yes"
7043 else 7049 else
7044 echo "configure: failed program was:" >&5 7050 echo "configure: failed program was:" >&5
7045 cat conftest.$ac_ext >&5 7051 cat conftest.$ac_ext >&5
7062 libs_x="-lX11" 7068 libs_x="-lX11"
7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7069 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7064 7070
7065 7071
7066 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7072 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5 7073 echo "configure:7074: checking for XShapeSelectInput in -lXext" >&5
7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7074 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7069 7075
7070 xe_check_libs=" -lXext " 7076 xe_check_libs=" -lXext "
7071 cat > conftest.$ac_ext <<EOF 7077 cat > conftest.$ac_ext <<EOF
7072 #line 7073 "configure" 7078 #line 7079 "configure"
7073 #include "confdefs.h" 7079 #include "confdefs.h"
7074 /* Override any gcc2 internal prototype to avoid an error. */ 7080 /* Override any gcc2 internal prototype to avoid an error. */
7075 /* We use char because int might match the return type of a gcc2 7081 /* We use char because int might match the return type of a gcc2
7076 builtin and then its argument prototype would still apply. */ 7082 builtin and then its argument prototype would still apply. */
7077 char XShapeSelectInput(); 7083 char XShapeSelectInput();
7078 7084
7079 int main() { 7085 int main() {
7080 XShapeSelectInput() 7086 XShapeSelectInput()
7081 ; return 0; } 7087 ; return 0; }
7082 EOF 7088 EOF
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7084 rm -rf conftest* 7090 rm -rf conftest*
7085 eval "ac_cv_lib_$ac_lib_var=yes" 7091 eval "ac_cv_lib_$ac_lib_var=yes"
7086 else 7092 else
7087 echo "configure: failed program was:" >&5 7093 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5 7094 cat conftest.$ac_ext >&5
7101 7107
7102 7108
7103 7109
7104 7110
7105 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7111 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5 7112 echo "configure:7113: checking for XtOpenDisplay in -lXt" >&5
7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7113 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7108 7114
7109 xe_check_libs=" -lXt " 7115 xe_check_libs=" -lXt "
7110 cat > conftest.$ac_ext <<EOF 7116 cat > conftest.$ac_ext <<EOF
7111 #line 7112 "configure" 7117 #line 7118 "configure"
7112 #include "confdefs.h" 7118 #include "confdefs.h"
7113 /* Override any gcc2 internal prototype to avoid an error. */ 7119 /* Override any gcc2 internal prototype to avoid an error. */
7114 /* We use char because int might match the return type of a gcc2 7120 /* We use char because int might match the return type of a gcc2
7115 builtin and then its argument prototype would still apply. */ 7121 builtin and then its argument prototype would still apply. */
7116 char XtOpenDisplay(); 7122 char XtOpenDisplay();
7117 7123
7118 int main() { 7124 int main() {
7119 XtOpenDisplay() 7125 XtOpenDisplay()
7120 ; return 0; } 7126 ; return 0; }
7121 EOF 7127 EOF
7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7123 rm -rf conftest* 7129 rm -rf conftest*
7124 eval "ac_cv_lib_$ac_lib_var=yes" 7130 eval "ac_cv_lib_$ac_lib_var=yes"
7125 else 7131 else
7126 echo "configure: failed program was:" >&5 7132 echo "configure: failed program was:" >&5
7127 cat conftest.$ac_ext >&5 7133 cat conftest.$ac_ext >&5
7140 fi 7146 fi
7141 7147
7142 7148
7143 7149
7144 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7150 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7145 echo "configure:7146: checking the version of X11 being used" >&5 7151 echo "configure:7152: checking the version of X11 being used" >&5
7146 cat > conftest.$ac_ext <<EOF 7152 cat > conftest.$ac_ext <<EOF
7147 #line 7148 "configure" 7153 #line 7154 "configure"
7148 #include "confdefs.h" 7154 #include "confdefs.h"
7149 #include <X11/Intrinsic.h> 7155 #include <X11/Intrinsic.h>
7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7156 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7151 EOF 7157 EOF
7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7158 if { (eval echo configure:7159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7153 then 7159 then
7154 ./conftest foobar; x11_release=$? 7160 ./conftest foobar; x11_release=$?
7155 else 7161 else
7156 conftest_rc="$?" 7162 conftest_rc="$?"
7157 echo "configure: failed program was:" >&5 7163 echo "configure: failed program was:" >&5
7178 fi 7184 fi
7179 7185
7180 for ac_func in XConvertCase 7186 for ac_func in XConvertCase
7181 do 7187 do
7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7183 echo "configure:7184: checking for $ac_func" >&5 7189 echo "configure:7190: checking for $ac_func" >&5
7184 7190
7185 cat > conftest.$ac_ext <<EOF 7191 cat > conftest.$ac_ext <<EOF
7186 #line 7187 "configure" 7192 #line 7193 "configure"
7187 #include "confdefs.h" 7193 #include "confdefs.h"
7188 /* System header to define __stub macros and hopefully few prototypes, 7194 /* System header to define __stub macros and hopefully few prototypes,
7189 which can conflict with char $ac_func(); below. */ 7195 which can conflict with char $ac_func(); below. */
7190 #include <assert.h> 7196 #include <assert.h>
7191 /* Override any gcc2 internal prototype to avoid an error. */ 7197 /* Override any gcc2 internal prototype to avoid an error. */
7204 $ac_func(); 7210 $ac_func();
7205 #endif 7211 #endif
7206 7212
7207 ; return 0; } 7213 ; return 0; }
7208 EOF 7214 EOF
7209 if { (eval echo configure:7210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7215 if { (eval echo configure:7216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7210 rm -rf conftest* 7216 rm -rf conftest*
7211 eval "ac_cv_func_$ac_func=yes" 7217 eval "ac_cv_func_$ac_func=yes"
7212 else 7218 else
7213 echo "configure: failed program was:" >&5 7219 echo "configure: failed program was:" >&5
7214 cat conftest.$ac_ext >&5 7220 cat conftest.$ac_ext >&5
7236 7242
7237 for ac_hdr in X11/Xlocale.h 7243 for ac_hdr in X11/Xlocale.h
7238 do 7244 do
7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7245 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7246 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7241 echo "configure:7242: checking for $ac_hdr" >&5 7247 echo "configure:7248: checking for $ac_hdr" >&5
7242 7248
7243 cat > conftest.$ac_ext <<EOF 7249 cat > conftest.$ac_ext <<EOF
7244 #line 7245 "configure" 7250 #line 7251 "configure"
7245 #include "confdefs.h" 7251 #include "confdefs.h"
7246 #include <$ac_hdr> 7252 #include <$ac_hdr>
7247 EOF 7253 EOF
7248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7255 { (eval echo configure:7256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7251 if test -z "$ac_err"; then 7257 if test -z "$ac_err"; then
7252 rm -rf conftest* 7258 rm -rf conftest*
7253 eval "ac_cv_header_$ac_safe=yes" 7259 eval "ac_cv_header_$ac_safe=yes"
7254 else 7260 else
7277 7283
7278 7284
7279 for ac_func in XRegisterIMInstantiateCallback 7285 for ac_func in XRegisterIMInstantiateCallback
7280 do 7286 do
7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7282 echo "configure:7283: checking for $ac_func" >&5 7288 echo "configure:7289: checking for $ac_func" >&5
7283 7289
7284 cat > conftest.$ac_ext <<EOF 7290 cat > conftest.$ac_ext <<EOF
7285 #line 7286 "configure" 7291 #line 7292 "configure"
7286 #include "confdefs.h" 7292 #include "confdefs.h"
7287 /* System header to define __stub macros and hopefully few prototypes, 7293 /* System header to define __stub macros and hopefully few prototypes,
7288 which can conflict with char $ac_func(); below. */ 7294 which can conflict with char $ac_func(); below. */
7289 #include <assert.h> 7295 #include <assert.h>
7290 /* Override any gcc2 internal prototype to avoid an error. */ 7296 /* Override any gcc2 internal prototype to avoid an error. */
7303 $ac_func(); 7309 $ac_func();
7304 #endif 7310 #endif
7305 7311
7306 ; return 0; } 7312 ; return 0; }
7307 EOF 7313 EOF
7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7314 if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7309 rm -rf conftest* 7315 rm -rf conftest*
7310 eval "ac_cv_func_$ac_func=yes" 7316 eval "ac_cv_func_$ac_func=yes"
7311 else 7317 else
7312 echo "configure: failed program was:" >&5 7318 echo "configure: failed program was:" >&5
7313 cat conftest.$ac_ext >&5 7319 cat conftest.$ac_ext >&5
7331 echo "$ac_t""no" 1>&6 7337 echo "$ac_t""no" 1>&6
7332 fi 7338 fi
7333 done 7339 done
7334 7340
7335 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7341 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7342 echo "configure:7343: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7337 cat > conftest.$ac_ext <<EOF 7343 cat > conftest.$ac_ext <<EOF
7338 #line 7339 "configure" 7344 #line 7345 "configure"
7339 #include "confdefs.h" 7345 #include "confdefs.h"
7340 7346
7341 #define NeedFunctionPrototypes 1 7347 #define NeedFunctionPrototypes 1
7342 #include <X11/Xlib.h> 7348 #include <X11/Xlib.h>
7343 extern Bool XRegisterIMInstantiateCallback( 7349 extern Bool XRegisterIMInstantiateCallback(
7345 7351
7346 int main() { 7352 int main() {
7347 7353
7348 ; return 0; } 7354 ; return 0; }
7349 EOF 7355 EOF
7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7356 if { (eval echo configure:7357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7351 rm -rf conftest* 7357 rm -rf conftest*
7352 echo "$ac_t""yes" 1>&6 7358 echo "$ac_t""yes" 1>&6
7353 else 7359 else
7354 echo "configure: failed program was:" >&5 7360 echo "configure: failed program was:" >&5
7355 cat conftest.$ac_ext >&5 7361 cat conftest.$ac_ext >&5
7366 fi 7372 fi
7367 rm -f conftest* 7373 rm -f conftest*
7368 7374
7369 test -z "$with_xmu" && { 7375 test -z "$with_xmu" && {
7370 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7376 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7377 echo "configure:7378: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7378 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7373 7379
7374 xe_check_libs=" -lXmu " 7380 xe_check_libs=" -lXmu "
7375 cat > conftest.$ac_ext <<EOF 7381 cat > conftest.$ac_ext <<EOF
7376 #line 7377 "configure" 7382 #line 7383 "configure"
7377 #include "confdefs.h" 7383 #include "confdefs.h"
7378 /* Override any gcc2 internal prototype to avoid an error. */ 7384 /* Override any gcc2 internal prototype to avoid an error. */
7379 /* We use char because int might match the return type of a gcc2 7385 /* We use char because int might match the return type of a gcc2
7380 builtin and then its argument prototype would still apply. */ 7386 builtin and then its argument prototype would still apply. */
7381 char XmuReadBitmapDataFromFile(); 7387 char XmuReadBitmapDataFromFile();
7382 7388
7383 int main() { 7389 int main() {
7384 XmuReadBitmapDataFromFile() 7390 XmuReadBitmapDataFromFile()
7385 ; return 0; } 7391 ; return 0; }
7386 EOF 7392 EOF
7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7393 if { (eval echo configure:7394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7388 rm -rf conftest* 7394 rm -rf conftest*
7389 eval "ac_cv_lib_$ac_lib_var=yes" 7395 eval "ac_cv_lib_$ac_lib_var=yes"
7390 else 7396 else
7391 echo "configure: failed program was:" >&5 7397 echo "configure: failed program was:" >&5
7392 cat conftest.$ac_ext >&5 7398 cat conftest.$ac_ext >&5
7421 7427
7422 fi 7428 fi
7423 7429
7424 7430
7425 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7431 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7426 echo "configure:7427: checking for main in -lXbsd" >&5 7432 echo "configure:7433: checking for main in -lXbsd" >&5
7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7433 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7428 7434
7429 xe_check_libs=" -lXbsd " 7435 xe_check_libs=" -lXbsd "
7430 cat > conftest.$ac_ext <<EOF 7436 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure" 7437 #line 7438 "configure"
7432 #include "confdefs.h" 7438 #include "confdefs.h"
7433 7439
7434 int main() { 7440 int main() {
7435 main() 7441 main()
7436 ; return 0; } 7442 ; return 0; }
7437 EOF 7443 EOF
7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7444 if { (eval echo configure:7445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7439 rm -rf conftest* 7445 rm -rf conftest*
7440 eval "ac_cv_lib_$ac_lib_var=yes" 7446 eval "ac_cv_lib_$ac_lib_var=yes"
7441 else 7447 else
7442 echo "configure: failed program was:" >&5 7448 echo "configure: failed program was:" >&5
7443 cat conftest.$ac_ext >&5 7449 cat conftest.$ac_ext >&5
7470 fi 7476 fi
7471 7477
7472 fi 7478 fi
7473 if test "$with_msw" != "no"; then 7479 if test "$with_msw" != "no"; then
7474 echo "checking for MS-Windows" 1>&6 7480 echo "checking for MS-Windows" 1>&6
7475 echo "configure:7476: checking for MS-Windows" >&5 7481 echo "configure:7482: checking for MS-Windows" >&5
7476 7482
7477 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7483 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7478 echo "configure:7479: checking for main in -lgdi32" >&5 7484 echo "configure:7485: checking for main in -lgdi32" >&5
7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7485 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7480 7486
7481 xe_check_libs=" -lgdi32 " 7487 xe_check_libs=" -lgdi32 "
7482 cat > conftest.$ac_ext <<EOF 7488 cat > conftest.$ac_ext <<EOF
7483 #line 7484 "configure" 7489 #line 7490 "configure"
7484 #include "confdefs.h" 7490 #include "confdefs.h"
7485 7491
7486 int main() { 7492 int main() {
7487 main() 7493 main()
7488 ; return 0; } 7494 ; return 0; }
7489 EOF 7495 EOF
7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7496 if { (eval echo configure:7497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7491 rm -rf conftest* 7497 rm -rf conftest*
7492 eval "ac_cv_lib_$ac_lib_var=yes" 7498 eval "ac_cv_lib_$ac_lib_var=yes"
7493 else 7499 else
7494 echo "configure: failed program was:" >&5 7500 echo "configure: failed program was:" >&5
7495 cat conftest.$ac_ext >&5 7501 cat conftest.$ac_ext >&5
7536 test "$with_toolbars" != "no" && with_toolbars=msw 7542 test "$with_toolbars" != "no" && with_toolbars=msw
7537 test "$with_dialogs" != "no" && with_dialogs=msw 7543 test "$with_dialogs" != "no" && with_dialogs=msw
7538 test "$with_widgets" != "no" && with_widgets=msw 7544 test "$with_widgets" != "no" && with_widgets=msw
7539 fi 7545 fi
7540 cat > conftest.$ac_ext <<EOF 7546 cat > conftest.$ac_ext <<EOF
7541 #line 7542 "configure" 7547 #line 7548 "configure"
7542 #include "confdefs.h" 7548 #include "confdefs.h"
7543 #include <fcntl.h> 7549 #include <fcntl.h>
7544 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7550 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7545 EOF 7551 EOF
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7552 if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7547 then 7553 then
7548 { test "$extra_verbose" = "yes" && cat << \EOF 7554 { test "$extra_verbose" = "yes" && cat << \EOF
7549 Defining HAVE_MSG_SELECT 7555 Defining HAVE_MSG_SELECT
7550 EOF 7556 EOF
7551 cat >> confdefs.h <<\EOF 7557 cat >> confdefs.h <<\EOF
7602 fi 7608 fi
7603 7609
7604 if test "$with_x11" = "yes"; then 7610 if test "$with_x11" = "yes"; then
7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7611 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7606 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7612 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5 7613 echo "configure:7614: checking for X11/extensions/shape.h" >&5
7608 7614
7609 cat > conftest.$ac_ext <<EOF 7615 cat > conftest.$ac_ext <<EOF
7610 #line 7611 "configure" 7616 #line 7617 "configure"
7611 #include "confdefs.h" 7617 #include "confdefs.h"
7612 #include <X11/extensions/shape.h> 7618 #include <X11/extensions/shape.h>
7613 EOF 7619 EOF
7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7621 { (eval echo configure:7622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7617 if test -z "$ac_err"; then 7623 if test -z "$ac_err"; then
7618 rm -rf conftest* 7624 rm -rf conftest*
7619 eval "ac_cv_header_$ac_safe=yes" 7625 eval "ac_cv_header_$ac_safe=yes"
7620 else 7626 else
7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7666 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7667 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7662 esac 7668 esac
7663 7669
7664 echo "checking for WM_COMMAND option" 1>&6 7670 echo "checking for WM_COMMAND option" 1>&6
7665 echo "configure:7666: checking for WM_COMMAND option" >&5; 7671 echo "configure:7672: checking for WM_COMMAND option" >&5;
7666 if test "$with_wmcommand" != "no"; then 7672 if test "$with_wmcommand" != "no"; then
7667 { test "$extra_verbose" = "yes" && cat << \EOF 7673 { test "$extra_verbose" = "yes" && cat << \EOF
7668 Defining HAVE_WMCOMMAND 7674 Defining HAVE_WMCOMMAND
7669 EOF 7675 EOF
7670 cat >> confdefs.h <<\EOF 7676 cat >> confdefs.h <<\EOF
7675 fi 7681 fi
7676 7682
7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7683 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7678 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7684 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7679 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7685 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7680 echo "configure:7681: checking for X11/Xauth.h" >&5 7686 echo "configure:7687: checking for X11/Xauth.h" >&5
7681 7687
7682 cat > conftest.$ac_ext <<EOF 7688 cat > conftest.$ac_ext <<EOF
7683 #line 7684 "configure" 7689 #line 7690 "configure"
7684 #include "confdefs.h" 7690 #include "confdefs.h"
7685 #include <X11/Xauth.h> 7691 #include <X11/Xauth.h>
7686 EOF 7692 EOF
7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7694 { (eval echo configure:7695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7690 if test -z "$ac_err"; then 7696 if test -z "$ac_err"; then
7691 rm -rf conftest* 7697 rm -rf conftest*
7692 eval "ac_cv_header_$ac_safe=yes" 7698 eval "ac_cv_header_$ac_safe=yes"
7693 else 7699 else
7706 with_xauth=no 7712 with_xauth=no
7707 fi 7713 fi
7708 } 7714 }
7709 test -z "$with_xauth" && { 7715 test -z "$with_xauth" && {
7710 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7716 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5 7717 echo "configure:7718: checking for XauGetAuthByAddr in -lXau" >&5
7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7718 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7713 7719
7714 xe_check_libs=" -lXau " 7720 xe_check_libs=" -lXau "
7715 cat > conftest.$ac_ext <<EOF 7721 cat > conftest.$ac_ext <<EOF
7716 #line 7717 "configure" 7722 #line 7723 "configure"
7717 #include "confdefs.h" 7723 #include "confdefs.h"
7718 /* Override any gcc2 internal prototype to avoid an error. */ 7724 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2 7725 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */ 7726 builtin and then its argument prototype would still apply. */
7721 char XauGetAuthByAddr(); 7727 char XauGetAuthByAddr();
7722 7728
7723 int main() { 7729 int main() {
7724 XauGetAuthByAddr() 7730 XauGetAuthByAddr()
7725 ; return 0; } 7731 ; return 0; }
7726 EOF 7732 EOF
7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7728 rm -rf conftest* 7734 rm -rf conftest*
7729 eval "ac_cv_lib_$ac_lib_var=yes" 7735 eval "ac_cv_lib_$ac_lib_var=yes"
7730 else 7736 else
7731 echo "configure: failed program was:" >&5 7737 echo "configure: failed program was:" >&5
7732 cat conftest.$ac_ext >&5 7738 cat conftest.$ac_ext >&5
7773 fi 7779 fi
7774 7780
7775 7781
7776 if test "$with_modules" != "no"; then 7782 if test "$with_modules" != "no"; then
7777 echo "checking for module support" 1>&6 7783 echo "checking for module support" 1>&6
7778 echo "configure:7779: checking for module support" >&5 7784 echo "configure:7785: checking for module support" >&5
7779 7785
7780 case "$opsys" in 7786 case "$opsys" in
7781 mingw* | cygwin* ) have_dl=yes ;; 7787 mingw* | cygwin* ) have_dl=yes ;;
7782 darwin ) have_dl=yes 7788 darwin ) have_dl=yes
7783 { test "$extra_verbose" = "yes" && cat << \EOF 7789 { test "$extra_verbose" = "yes" && cat << \EOF
7790 7796
7791 ;; 7797 ;;
7792 * ) 7798 * )
7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7799 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7800 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7795 echo "configure:7796: checking for dlfcn.h" >&5 7801 echo "configure:7802: checking for dlfcn.h" >&5
7796 7802
7797 cat > conftest.$ac_ext <<EOF 7803 cat > conftest.$ac_ext <<EOF
7798 #line 7799 "configure" 7804 #line 7805 "configure"
7799 #include "confdefs.h" 7805 #include "confdefs.h"
7800 #include <dlfcn.h> 7806 #include <dlfcn.h>
7801 EOF 7807 EOF
7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7809 { (eval echo configure:7810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7805 if test -z "$ac_err"; then 7811 if test -z "$ac_err"; then
7806 rm -rf conftest* 7812 rm -rf conftest*
7807 eval "ac_cv_header_$ac_safe=yes" 7813 eval "ac_cv_header_$ac_safe=yes"
7808 else 7814 else
7815 rm -f conftest* 7821 rm -f conftest*
7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7817 echo "$ac_t""yes" 1>&6 7823 echo "$ac_t""yes" 1>&6
7818 7824
7819 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7825 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7820 echo "configure:7821: checking for dlopen in -lc" >&5 7826 echo "configure:7827: checking for dlopen in -lc" >&5
7821 cat > conftest.$ac_ext <<EOF 7827 cat > conftest.$ac_ext <<EOF
7822 #line 7823 "configure" 7828 #line 7829 "configure"
7823 #include "confdefs.h" 7829 #include "confdefs.h"
7824 #include <dlfcn.h> 7830 #include <dlfcn.h>
7825 int main() { 7831 int main() {
7826 dlopen ("", 0); 7832 dlopen ("", 0);
7827 ; return 0; } 7833 ; return 0; }
7828 EOF 7834 EOF
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7830 rm -rf conftest* 7836 rm -rf conftest*
7831 have_dl=yes 7837 have_dl=yes
7832 else 7838 else
7833 echo "configure: failed program was:" >&5 7839 echo "configure: failed program was:" >&5
7834 cat conftest.$ac_ext >&5 7840 cat conftest.$ac_ext >&5
7835 rm -rf conftest* 7841 rm -rf conftest*
7836 7842
7837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7843 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7838 echo "configure:7839: checking for dlopen in -ldl" >&5 7844 echo "configure:7845: checking for dlopen in -ldl" >&5
7839 ac_save_LIBS="$LIBS" 7845 ac_save_LIBS="$LIBS"
7840 LIBS="$LIBS -ldl" 7846 LIBS="$LIBS -ldl"
7841 cat > conftest.$ac_ext <<EOF 7847 cat > conftest.$ac_ext <<EOF
7842 #line 7843 "configure" 7848 #line 7849 "configure"
7843 #include "confdefs.h" 7849 #include "confdefs.h"
7844 #include <dlfcn.h> 7850 #include <dlfcn.h>
7845 int main() { 7851 int main() {
7846 dlopen ("", 0); 7852 dlopen ("", 0);
7847 ; return 0; } 7853 ; return 0; }
7848 EOF 7854 EOF
7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7855 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7850 rm -rf conftest* 7856 rm -rf conftest*
7851 have_dl=yes 7857 have_dl=yes
7852 else 7858 else
7853 echo "configure: failed program was:" >&5 7859 echo "configure: failed program was:" >&5
7854 cat conftest.$ac_ext >&5 7860 cat conftest.$ac_ext >&5
7855 rm -rf conftest* 7861 rm -rf conftest*
7856 7862
7857 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7863 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7858 echo "configure:7859: checking for dlopen in -lsvld" >&5 7864 echo "configure:7865: checking for dlopen in -lsvld" >&5
7859 LIBS="$ac_save_LIBS -lsvld" 7865 LIBS="$ac_save_LIBS -lsvld"
7860 cat > conftest.$ac_ext <<EOF 7866 cat > conftest.$ac_ext <<EOF
7861 #line 7862 "configure" 7867 #line 7868 "configure"
7862 #include "confdefs.h" 7868 #include "confdefs.h"
7863 #include <dlfcn.h> 7869 #include <dlfcn.h>
7864 int main() { 7870 int main() {
7865 dlopen ("", 0); 7871 dlopen ("", 0);
7866 ; return 0; } 7872 ; return 0; }
7867 EOF 7873 EOF
7868 if { (eval echo configure:7869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7874 if { (eval echo configure:7875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7869 rm -rf conftest* 7875 rm -rf conftest*
7870 have_dl=yes 7876 have_dl=yes
7871 else 7877 else
7872 echo "configure: failed program was:" >&5 7878 echo "configure: failed program was:" >&5
7873 cat conftest.$ac_ext >&5 7879 cat conftest.$ac_ext >&5
7893 } 7899 }
7894 7900
7895 else 7901 else
7896 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7902 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7897 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7903 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7898 echo "configure:7899: checking for dl.h" >&5 7904 echo "configure:7905: checking for dl.h" >&5
7899 7905
7900 cat > conftest.$ac_ext <<EOF 7906 cat > conftest.$ac_ext <<EOF
7901 #line 7902 "configure" 7907 #line 7908 "configure"
7902 #include "confdefs.h" 7908 #include "confdefs.h"
7903 #include <dl.h> 7909 #include <dl.h>
7904 EOF 7910 EOF
7905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7906 { (eval echo configure:7907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7912 { (eval echo configure:7913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7908 if test -z "$ac_err"; then 7914 if test -z "$ac_err"; then
7909 rm -rf conftest* 7915 rm -rf conftest*
7910 eval "ac_cv_header_$ac_safe=yes" 7916 eval "ac_cv_header_$ac_safe=yes"
7911 else 7917 else
7918 rm -f conftest* 7924 rm -f conftest*
7919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7920 echo "$ac_t""yes" 1>&6 7926 echo "$ac_t""yes" 1>&6
7921 7927
7922 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 7928 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
7923 echo "configure:7924: checking for shl_load in -lc" >&5 7929 echo "configure:7930: checking for shl_load in -lc" >&5
7924 cat > conftest.$ac_ext <<EOF 7930 cat > conftest.$ac_ext <<EOF
7925 #line 7926 "configure" 7931 #line 7932 "configure"
7926 #include "confdefs.h" 7932 #include "confdefs.h"
7927 #include <dl.h> 7933 #include <dl.h>
7928 int main() { 7934 int main() {
7929 shl_load ("", 0, 0); 7935 shl_load ("", 0, 0);
7930 ; return 0; } 7936 ; return 0; }
7931 EOF 7937 EOF
7932 if { (eval echo configure:7933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7938 if { (eval echo configure:7939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7933 rm -rf conftest* 7939 rm -rf conftest*
7934 have_dl=yes 7940 have_dl=yes
7935 else 7941 else
7936 echo "configure: failed program was:" >&5 7942 echo "configure: failed program was:" >&5
7937 cat conftest.$ac_ext >&5 7943 cat conftest.$ac_ext >&5
7938 rm -rf conftest* 7944 rm -rf conftest*
7939 7945
7940 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 7946 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
7941 echo "configure:7942: checking for shl_load in -ldl" >&5 7947 echo "configure:7948: checking for shl_load in -ldl" >&5
7942 ac_save_LIBS="$LIBS" 7948 ac_save_LIBS="$LIBS"
7943 LIBS="$LIBS -ldld" 7949 LIBS="$LIBS -ldld"
7944 cat > conftest.$ac_ext <<EOF 7950 cat > conftest.$ac_ext <<EOF
7945 #line 7946 "configure" 7951 #line 7952 "configure"
7946 #include "confdefs.h" 7952 #include "confdefs.h"
7947 #include <dl.h> 7953 #include <dl.h>
7948 int main() { 7954 int main() {
7949 shl_load ("", 0, 0); 7955 shl_load ("", 0, 0);
7950 ; return 0; } 7956 ; return 0; }
7951 EOF 7957 EOF
7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7958 if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7953 rm -rf conftest* 7959 rm -rf conftest*
7954 have_dl=yes 7960 have_dl=yes
7955 else 7961 else
7956 echo "configure: failed program was:" >&5 7962 echo "configure: failed program was:" >&5
7957 cat conftest.$ac_ext >&5 7963 cat conftest.$ac_ext >&5
7975 } 7981 }
7976 7982
7977 else 7983 else
7978 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 7984 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7979 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 7985 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7980 echo "configure:7981: checking for ltdl.h" >&5 7986 echo "configure:7987: checking for ltdl.h" >&5
7981 7987
7982 cat > conftest.$ac_ext <<EOF 7988 cat > conftest.$ac_ext <<EOF
7983 #line 7984 "configure" 7989 #line 7990 "configure"
7984 #include "confdefs.h" 7990 #include "confdefs.h"
7985 #include <ltdl.h> 7991 #include <ltdl.h>
7986 EOF 7992 EOF
7987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7988 { (eval echo configure:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7994 { (eval echo configure:7995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7990 if test -z "$ac_err"; then 7996 if test -z "$ac_err"; then
7991 rm -rf conftest* 7997 rm -rf conftest*
7992 eval "ac_cv_header_$ac_safe=yes" 7998 eval "ac_cv_header_$ac_safe=yes"
7993 else 7999 else
8000 rm -f conftest* 8006 rm -f conftest*
8001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8002 echo "$ac_t""yes" 1>&6 8008 echo "$ac_t""yes" 1>&6
8003 8009
8004 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8010 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8005 echo "configure:8006: checking for lt_dlinit in -lltdl" >&5 8011 echo "configure:8012: checking for lt_dlinit in -lltdl" >&5
8006 ac_save_LIBS="$LIBS" 8012 ac_save_LIBS="$LIBS"
8007 LIBS="$LIBS -lltdl" 8013 LIBS="$LIBS -lltdl"
8008 cat > conftest.$ac_ext <<EOF 8014 cat > conftest.$ac_ext <<EOF
8009 #line 8010 "configure" 8015 #line 8016 "configure"
8010 #include "confdefs.h" 8016 #include "confdefs.h"
8011 #include <ltdl.h> 8017 #include <ltdl.h>
8012 int main() { 8018 int main() {
8013 lt_dlinit (); 8019 lt_dlinit ();
8014 ; return 0; } 8020 ; return 0; }
8015 EOF 8021 EOF
8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8022 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8017 rm -rf conftest* 8023 rm -rf conftest*
8018 have_dl=yes 8024 have_dl=yes
8019 else 8025 else
8020 echo "configure: failed program was:" >&5 8026 echo "configure: failed program was:" >&5
8021 cat conftest.$ac_ext >&5 8027 cat conftest.$ac_ext >&5
8052 ld_dynamic_link_flags= 8058 ld_dynamic_link_flags=
8053 xehost=$canonical 8059 xehost=$canonical
8054 xealias=$internal_configuration 8060 xealias=$internal_configuration
8055 8061
8056 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8062 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8057 echo "configure:8058: checking how to build dynamic libraries for ${xehost}" >&5 8063 echo "configure:8064: checking how to build dynamic libraries for ${xehost}" >&5
8058 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8064 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8059 case "$xehost" in 8065 case "$xehost" in
8060 *-*-linux-gnu*) ;; 8066 *-*-linux-gnu*) ;;
8061 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8067 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8062 esac 8068 esac
8080 # Now see if the compiler is really GCC. 8086 # Now see if the compiler is really GCC.
8081 if test "$GCC" = "yes"; then 8087 if test "$GCC" = "yes"; then
8082 XEGCC=yes 8088 XEGCC=yes
8083 else 8089 else
8084 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8090 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8085 echo "configure:8086: checking checking whether we are using GNU C" >&5 8091 echo "configure:8092: checking checking whether we are using GNU C" >&5
8086 cat > conftest.$ac_ext <<EOF 8092 cat > conftest.$ac_ext <<EOF
8087 #line 8088 "configure" 8093 #line 8094 "configure"
8088 #include "confdefs.h" 8094 #include "confdefs.h"
8089 8095
8090 #ifdef __GNUC__ 8096 #ifdef __GNUC__
8091 yes; 8097 yes;
8092 #endif 8098 #endif
8104 8110
8105 echo "$ac_t""${XEGCC}" 1>&6 8111 echo "$ac_t""${XEGCC}" 1>&6
8106 fi 8112 fi
8107 8113
8108 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8114 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8109 echo "configure:8110: checking how to produce PIC code" >&5 8115 echo "configure:8116: checking how to produce PIC code" >&5
8110 wl= 8116 wl=
8111 8117
8112 can_build_shared=yes 8118 can_build_shared=yes
8113 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8119 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8114 wl='-Wl,' 8120 wl='-Wl,'
8208 if test -n "$dll_cflags"; then 8214 if test -n "$dll_cflags"; then
8209 echo "$ac_t""${dll_cflags}" 1>&6 8215 echo "$ac_t""${dll_cflags}" 1>&6
8210 8216
8211 # Check to make sure the dll_cflags actually works. 8217 # Check to make sure the dll_cflags actually works.
8212 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8218 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8213 echo "configure:8214: checking if PIC flag ${dll_cflags} really works" >&5 8219 echo "configure:8220: checking if PIC flag ${dll_cflags} really works" >&5
8214 save_CFLAGS="$CFLAGS" 8220 save_CFLAGS="$CFLAGS"
8215 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8221 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8216 cat > conftest.$ac_ext <<EOF 8222 cat > conftest.$ac_ext <<EOF
8217 #line 8218 "configure" 8223 #line 8224 "configure"
8218 #include "confdefs.h" 8224 #include "confdefs.h"
8219 8225
8220 int main() { 8226 int main() {
8221 int x=0; 8227 int x=0;
8222 ; return 0; } 8228 ; return 0; }
8223 EOF 8229 EOF
8224 if { (eval echo configure:8225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8230 if { (eval echo configure:8231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8225 rm -rf conftest* 8231 rm -rf conftest*
8226 8232
8227 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8233 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8228 # reports no error. So, we need to grep stderr for (Bundled). 8234 # reports no error. So, we need to grep stderr for (Bundled).
8229 if grep '(Bundled)' config.log >/dev/null; then 8235 if grep '(Bundled)' config.log >/dev/null; then
8250 if test "$can_build_shared" = "yes"; then 8256 if test "$can_build_shared" = "yes"; then
8251 cc_produces_so=no 8257 cc_produces_so=no
8252 xldf= 8258 xldf=
8253 xcldf= 8259 xcldf=
8254 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8260 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8255 echo "configure:8256: checking if C compiler can produce shared libraries" >&5 8261 echo "configure:8262: checking if C compiler can produce shared libraries" >&5
8256 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8262 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8257 case "$xehost_os" in 8263 case "$xehost_os" in
8258 *darwin*) 8264 *darwin*)
8259 xcldf='-bundle' 8265 xcldf='-bundle'
8260 xldf='-bundle -bundle_loader ../../src/xemacs' 8266 xldf='-bundle -bundle_loader ../../src/xemacs'
8309 LDFLAGS="$xcldf $LDFLAGS" 8315 LDFLAGS="$xcldf $LDFLAGS"
8310 LIBS= 8316 LIBS=
8311 xe_libs= 8317 xe_libs=
8312 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8318 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8313 cat > conftest.$ac_ext <<EOF 8319 cat > conftest.$ac_ext <<EOF
8314 #line 8315 "configure" 8320 #line 8321 "configure"
8315 #include "confdefs.h" 8321 #include "confdefs.h"
8316 8322
8317 int main() { 8323 int main() {
8318 int x=0; 8324 int x=0;
8319 ; return 0; } 8325 ; return 0; }
8320 EOF 8326 EOF
8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8327 if { (eval echo configure:8328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8322 rm -rf conftest* 8328 rm -rf conftest*
8323 cc_produces_so=yes 8329 cc_produces_so=yes
8324 else 8330 else
8325 echo "configure: failed program was:" >&5 8331 echo "configure: failed program was:" >&5
8326 cat conftest.$ac_ext >&5 8332 cat conftest.$ac_ext >&5
8341 if test -z "$LTLD"; then 8347 if test -z "$LTLD"; then
8342 ac_prog=ld 8348 ac_prog=ld
8343 if test "$XEGCC" = yes; then 8349 if test "$XEGCC" = yes; then
8344 # Check if gcc -print-prog-name=ld gives a path. 8350 # Check if gcc -print-prog-name=ld gives a path.
8345 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8351 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8346 echo "configure:8347: checking for ld used by GCC" >&5 8352 echo "configure:8353: checking for ld used by GCC" >&5
8347 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8353 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8348 case "$ac_prog" in 8354 case "$ac_prog" in
8349 # Accept absolute paths. 8355 # Accept absolute paths.
8350 /*) 8356 /*)
8351 if test -z "$LTLD"; then 8357 if test -z "$LTLD"; then
8367 with_gnu_ld=unknown 8373 with_gnu_ld=unknown
8368 ;; 8374 ;;
8369 esac 8375 esac
8370 else 8376 else
8371 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8377 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8372 echo "configure:8373: checking for GNU ld" >&5 8378 echo "configure:8379: checking for GNU ld" >&5
8373 fi 8379 fi
8374 8380
8375 if test -z "$LTLD"; then 8381 if test -z "$LTLD"; then
8376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8382 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8377 for ac_dir in $PATH; do 8383 for ac_dir in $PATH; do
8405 8411
8406 ld_dynamic_link_flags= 8412 ld_dynamic_link_flags=
8407 8413
8408 # Check to see if it really is or isn't GNU ld. 8414 # Check to see if it really is or isn't GNU ld.
8409 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8415 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8410 echo "configure:8411: checking if the linker is GNU ld" >&5 8416 echo "configure:8417: checking if the linker is GNU ld" >&5
8411 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8417 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8412 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8418 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8413 xe_gnu_ld=yes 8419 xe_gnu_ld=yes
8414 else 8420 else
8415 xe_gnu_ld=no 8421 xe_gnu_ld=no
8440 ld_shlibs=yes 8446 ld_shlibs=yes
8441 else 8447 else
8442 # OK - only NOW do we futz about with ld. 8448 # OK - only NOW do we futz about with ld.
8443 # See if the linker supports building shared libraries. 8449 # See if the linker supports building shared libraries.
8444 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8450 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8445 echo "configure:8446: checking whether the linker supports shared libraries" >&5 8451 echo "configure:8452: checking whether the linker supports shared libraries" >&5
8446 dll_ld=$CC 8452 dll_ld=$CC
8447 dll_ldflags=$LDFLAGS 8453 dll_ldflags=$LDFLAGS
8448 ld_shlibs=yes 8454 ld_shlibs=yes
8449 can_build_shared=yes 8455 can_build_shared=yes
8450 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8456 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8653 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8659 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8654 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8660 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8655 for ac_func in dlerror _dlerror 8661 for ac_func in dlerror _dlerror
8656 do 8662 do
8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8658 echo "configure:8659: checking for $ac_func" >&5 8664 echo "configure:8665: checking for $ac_func" >&5
8659 8665
8660 cat > conftest.$ac_ext <<EOF 8666 cat > conftest.$ac_ext <<EOF
8661 #line 8662 "configure" 8667 #line 8668 "configure"
8662 #include "confdefs.h" 8668 #include "confdefs.h"
8663 /* System header to define __stub macros and hopefully few prototypes, 8669 /* System header to define __stub macros and hopefully few prototypes,
8664 which can conflict with char $ac_func(); below. */ 8670 which can conflict with char $ac_func(); below. */
8665 #include <assert.h> 8671 #include <assert.h>
8666 /* Override any gcc2 internal prototype to avoid an error. */ 8672 /* Override any gcc2 internal prototype to avoid an error. */
8679 $ac_func(); 8685 $ac_func();
8680 #endif 8686 #endif
8681 8687
8682 ; return 0; } 8688 ; return 0; }
8683 EOF 8689 EOF
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8690 if { (eval echo configure:8691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8685 rm -rf conftest* 8691 rm -rf conftest*
8686 eval "ac_cv_func_$ac_func=yes" 8692 eval "ac_cv_func_$ac_func=yes"
8687 else 8693 else
8688 echo "configure: failed program was:" >&5 8694 echo "configure: failed program was:" >&5
8689 cat conftest.$ac_ext >&5 8695 cat conftest.$ac_ext >&5
8743 8749
8744 if test "$with_tooltalk" != "no" ; then 8750 if test "$with_tooltalk" != "no" ; then
8745 for dir in "" "Tt/" "desktop/" ; do 8751 for dir in "" "Tt/" "desktop/" ; do
8746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8752 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8747 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8753 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8748 echo "configure:8749: checking for ${dir}tt_c.h" >&5 8754 echo "configure:8755: checking for ${dir}tt_c.h" >&5
8749 8755
8750 cat > conftest.$ac_ext <<EOF 8756 cat > conftest.$ac_ext <<EOF
8751 #line 8752 "configure" 8757 #line 8758 "configure"
8752 #include "confdefs.h" 8758 #include "confdefs.h"
8753 #include <${dir}tt_c.h> 8759 #include <${dir}tt_c.h>
8754 EOF 8760 EOF
8755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8756 { (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8762 { (eval echo configure:8763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8758 if test -z "$ac_err"; then 8764 if test -z "$ac_err"; then
8759 rm -rf conftest* 8765 rm -rf conftest*
8760 eval "ac_cv_header_$ac_safe=yes" 8766 eval "ac_cv_header_$ac_safe=yes"
8761 else 8767 else
8787 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8793 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8788 8794
8789 xe_msg_checking="for tt_message_create in -ltt" 8795 xe_msg_checking="for tt_message_create in -ltt"
8790 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8796 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8791 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8792 echo "configure:8793: checking "$xe_msg_checking"" >&5 8798 echo "configure:8799: checking "$xe_msg_checking"" >&5
8793 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8799 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8794 8800
8795 xe_check_libs=" -ltt $extra_libs" 8801 xe_check_libs=" -ltt $extra_libs"
8796 cat > conftest.$ac_ext <<EOF 8802 cat > conftest.$ac_ext <<EOF
8797 #line 8798 "configure" 8803 #line 8804 "configure"
8798 #include "confdefs.h" 8804 #include "confdefs.h"
8799 /* Override any gcc2 internal prototype to avoid an error. */ 8805 /* Override any gcc2 internal prototype to avoid an error. */
8800 /* We use char because int might match the return type of a gcc2 8806 /* We use char because int might match the return type of a gcc2
8801 builtin and then its argument prototype would still apply. */ 8807 builtin and then its argument prototype would still apply. */
8802 char tt_message_create(); 8808 char tt_message_create();
8803 8809
8804 int main() { 8810 int main() {
8805 tt_message_create() 8811 tt_message_create()
8806 ; return 0; } 8812 ; return 0; }
8807 EOF 8813 EOF
8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 rm -rf conftest* 8815 rm -rf conftest*
8810 eval "ac_cv_lib_$ac_lib_var=yes" 8816 eval "ac_cv_lib_$ac_lib_var=yes"
8811 else 8817 else
8812 echo "configure: failed program was:" >&5 8818 echo "configure: failed program was:" >&5
8813 cat conftest.$ac_ext >&5 8819 cat conftest.$ac_ext >&5
8857 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8863 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8858 fi 8864 fi
8859 8865
8860 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8866 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8861 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8867 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8862 echo "configure:8863: checking for Dt/Dt.h" >&5 8868 echo "configure:8869: checking for Dt/Dt.h" >&5
8863 8869
8864 cat > conftest.$ac_ext <<EOF 8870 cat > conftest.$ac_ext <<EOF
8865 #line 8866 "configure" 8871 #line 8872 "configure"
8866 #include "confdefs.h" 8872 #include "confdefs.h"
8867 #include <Dt/Dt.h> 8873 #include <Dt/Dt.h>
8868 EOF 8874 EOF
8869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870 { (eval echo configure:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8876 { (eval echo configure:8877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872 if test -z "$ac_err"; then 8878 if test -z "$ac_err"; then
8873 rm -rf conftest* 8879 rm -rf conftest*
8874 eval "ac_cv_header_$ac_safe=yes" 8880 eval "ac_cv_header_$ac_safe=yes"
8875 else 8881 else
8888 with_cde=no 8894 with_cde=no
8889 fi 8895 fi
8890 } 8896 }
8891 test -z "$with_cde" && { 8897 test -z "$with_cde" && {
8892 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8898 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8893 echo "configure:8894: checking for DtDndDragStart in -lDtSvc" >&5 8899 echo "configure:8900: checking for DtDndDragStart in -lDtSvc" >&5
8894 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8900 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8895 8901
8896 xe_check_libs=" -lDtSvc " 8902 xe_check_libs=" -lDtSvc "
8897 cat > conftest.$ac_ext <<EOF 8903 cat > conftest.$ac_ext <<EOF
8898 #line 8899 "configure" 8904 #line 8905 "configure"
8899 #include "confdefs.h" 8905 #include "confdefs.h"
8900 /* Override any gcc2 internal prototype to avoid an error. */ 8906 /* Override any gcc2 internal prototype to avoid an error. */
8901 /* We use char because int might match the return type of a gcc2 8907 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */ 8908 builtin and then its argument prototype would still apply. */
8903 char DtDndDragStart(); 8909 char DtDndDragStart();
8904 8910
8905 int main() { 8911 int main() {
8906 DtDndDragStart() 8912 DtDndDragStart()
8907 ; return 0; } 8913 ; return 0; }
8908 EOF 8914 EOF
8909 if { (eval echo configure:8910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8915 if { (eval echo configure:8916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8910 rm -rf conftest* 8916 rm -rf conftest*
8911 eval "ac_cv_lib_$ac_lib_var=yes" 8917 eval "ac_cv_lib_$ac_lib_var=yes"
8912 else 8918 else
8913 echo "configure: failed program was:" >&5 8919 echo "configure: failed program was:" >&5
8914 cat conftest.$ac_ext >&5 8920 cat conftest.$ac_ext >&5
8985 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 8991 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
8986 fi 8992 fi
8987 8993
8988 if test "$with_dragndrop" != "no" ; then 8994 if test "$with_dragndrop" != "no" ; then
8989 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 8995 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
8990 echo "configure:8991: checking if drag and drop API is needed" >&5 8996 echo "configure:8997: checking if drag and drop API is needed" >&5
8991 if test -n "$dragndrop_proto" ; then 8997 if test -n "$dragndrop_proto" ; then
8992 with_dragndrop=yes 8998 with_dragndrop=yes
8993 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8999 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8994 { test "$extra_verbose" = "yes" && cat << \EOF 9000 { test "$extra_verbose" = "yes" && cat << \EOF
8995 Defining HAVE_DRAGNDROP 9001 Defining HAVE_DRAGNDROP
9005 echo "$ac_t""no" 1>&6 9011 echo "$ac_t""no" 1>&6
9006 fi 9012 fi
9007 fi 9013 fi
9008 9014
9009 echo "checking for LDAP" 1>&6 9015 echo "checking for LDAP" 1>&6
9010 echo "configure:9011: checking for LDAP" >&5 9016 echo "configure:9017: checking for LDAP" >&5
9011 ldap_libs= 9017 ldap_libs=
9012 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9018 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9013 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9019 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9014 echo "configure:9015: checking for ldap.h" >&5 9020 echo "configure:9021: checking for ldap.h" >&5
9015 9021
9016 cat > conftest.$ac_ext <<EOF 9022 cat > conftest.$ac_ext <<EOF
9017 #line 9018 "configure" 9023 #line 9024 "configure"
9018 #include "confdefs.h" 9024 #include "confdefs.h"
9019 #include <ldap.h> 9025 #include <ldap.h>
9020 EOF 9026 EOF
9021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9022 { (eval echo configure:9023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9028 { (eval echo configure:9029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9024 if test -z "$ac_err"; then 9030 if test -z "$ac_err"; then
9025 rm -rf conftest* 9031 rm -rf conftest*
9026 eval "ac_cv_header_$ac_safe=yes" 9032 eval "ac_cv_header_$ac_safe=yes"
9027 else 9033 else
9040 with_ldap=no 9046 with_ldap=no
9041 fi 9047 fi
9042 } 9048 }
9043 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9049 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9044 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9050 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9045 echo "configure:9046: checking for lber.h" >&5 9051 echo "configure:9052: checking for lber.h" >&5
9046 9052
9047 cat > conftest.$ac_ext <<EOF 9053 cat > conftest.$ac_ext <<EOF
9048 #line 9049 "configure" 9054 #line 9055 "configure"
9049 #include "confdefs.h" 9055 #include "confdefs.h"
9050 #include <lber.h> 9056 #include <lber.h>
9051 EOF 9057 EOF
9052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9059 { (eval echo configure:9060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9055 if test -z "$ac_err"; then 9061 if test -z "$ac_err"; then
9056 rm -rf conftest* 9062 rm -rf conftest*
9057 eval "ac_cv_header_$ac_safe=yes" 9063 eval "ac_cv_header_$ac_safe=yes"
9058 else 9064 else
9072 fi 9078 fi
9073 } 9079 }
9074 if test "$with_ldap" != "no"; then 9080 if test "$with_ldap" != "no"; then
9075 9081
9076 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9082 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9077 echo "configure:9078: checking for ldap_search in -lldap" >&5 9083 echo "configure:9084: checking for ldap_search in -lldap" >&5
9078 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9084 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9079 9085
9080 xe_check_libs=" -lldap " 9086 xe_check_libs=" -lldap "
9081 cat > conftest.$ac_ext <<EOF 9087 cat > conftest.$ac_ext <<EOF
9082 #line 9083 "configure" 9088 #line 9089 "configure"
9083 #include "confdefs.h" 9089 #include "confdefs.h"
9084 /* Override any gcc2 internal prototype to avoid an error. */ 9090 /* Override any gcc2 internal prototype to avoid an error. */
9085 /* We use char because int might match the return type of a gcc2 9091 /* We use char because int might match the return type of a gcc2
9086 builtin and then its argument prototype would still apply. */ 9092 builtin and then its argument prototype would still apply. */
9087 char ldap_search(); 9093 char ldap_search();
9088 9094
9089 int main() { 9095 int main() {
9090 ldap_search() 9096 ldap_search()
9091 ; return 0; } 9097 ; return 0; }
9092 EOF 9098 EOF
9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9099 if { (eval echo configure:9100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9094 rm -rf conftest* 9100 rm -rf conftest*
9095 eval "ac_cv_lib_$ac_lib_var=yes" 9101 eval "ac_cv_lib_$ac_lib_var=yes"
9096 else 9102 else
9097 echo "configure: failed program was:" >&5 9103 echo "configure: failed program was:" >&5
9098 cat conftest.$ac_ext >&5 9104 cat conftest.$ac_ext >&5
9113 9119
9114 test "$with_ldap_nolber" = "no" && { 9120 test "$with_ldap_nolber" = "no" && {
9115 xe_msg_checking="for ldap_open in -lldap" 9121 xe_msg_checking="for ldap_open in -lldap"
9116 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9122 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9117 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9123 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9118 echo "configure:9119: checking "$xe_msg_checking"" >&5 9124 echo "configure:9125: checking "$xe_msg_checking"" >&5
9119 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9125 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9120 9126
9121 xe_check_libs=" -lldap -llber" 9127 xe_check_libs=" -lldap -llber"
9122 cat > conftest.$ac_ext <<EOF 9128 cat > conftest.$ac_ext <<EOF
9123 #line 9124 "configure" 9129 #line 9130 "configure"
9124 #include "confdefs.h" 9130 #include "confdefs.h"
9125 /* Override any gcc2 internal prototype to avoid an error. */ 9131 /* Override any gcc2 internal prototype to avoid an error. */
9126 /* We use char because int might match the return type of a gcc2 9132 /* We use char because int might match the return type of a gcc2
9127 builtin and then its argument prototype would still apply. */ 9133 builtin and then its argument prototype would still apply. */
9128 char ldap_open(); 9134 char ldap_open();
9129 9135
9130 int main() { 9136 int main() {
9131 ldap_open() 9137 ldap_open()
9132 ; return 0; } 9138 ; return 0; }
9133 EOF 9139 EOF
9134 if { (eval echo configure:9135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9140 if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9135 rm -rf conftest* 9141 rm -rf conftest*
9136 eval "ac_cv_lib_$ac_lib_var=yes" 9142 eval "ac_cv_lib_$ac_lib_var=yes"
9137 else 9143 else
9138 echo "configure: failed program was:" >&5 9144 echo "configure: failed program was:" >&5
9139 cat conftest.$ac_ext >&5 9145 cat conftest.$ac_ext >&5
9154 } 9160 }
9155 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 9161 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
9156 xe_msg_checking="for ldap_open in -lldap" 9162 xe_msg_checking="for ldap_open in -lldap"
9157 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9163 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9158 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9164 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9159 echo "configure:9160: checking "$xe_msg_checking"" >&5 9165 echo "configure:9166: checking "$xe_msg_checking"" >&5
9160 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9166 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9161 9167
9162 xe_check_libs=" -lldap -llber -lkrb" 9168 xe_check_libs=" -lldap -llber -lkrb"
9163 cat > conftest.$ac_ext <<EOF 9169 cat > conftest.$ac_ext <<EOF
9164 #line 9165 "configure" 9170 #line 9171 "configure"
9165 #include "confdefs.h" 9171 #include "confdefs.h"
9166 /* Override any gcc2 internal prototype to avoid an error. */ 9172 /* Override any gcc2 internal prototype to avoid an error. */
9167 /* We use char because int might match the return type of a gcc2 9173 /* We use char because int might match the return type of a gcc2
9168 builtin and then its argument prototype would still apply. */ 9174 builtin and then its argument prototype would still apply. */
9169 char ldap_open(); 9175 char ldap_open();
9170 9176
9171 int main() { 9177 int main() {
9172 ldap_open() 9178 ldap_open()
9173 ; return 0; } 9179 ; return 0; }
9174 EOF 9180 EOF
9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9181 if { (eval echo configure:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9176 rm -rf conftest* 9182 rm -rf conftest*
9177 eval "ac_cv_lib_$ac_lib_var=yes" 9183 eval "ac_cv_lib_$ac_lib_var=yes"
9178 else 9184 else
9179 echo "configure: failed program was:" >&5 9185 echo "configure: failed program was:" >&5
9180 cat conftest.$ac_ext >&5 9186 cat conftest.$ac_ext >&5
9195 } 9201 }
9196 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 9202 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
9197 xe_msg_checking="for ldap_open in -lldap" 9203 xe_msg_checking="for ldap_open in -lldap"
9198 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9204 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9199 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9205 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9200 echo "configure:9201: checking "$xe_msg_checking"" >&5 9206 echo "configure:9207: checking "$xe_msg_checking"" >&5
9201 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9207 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9202 9208
9203 xe_check_libs=" -lldap -llber -lkrb -ldes" 9209 xe_check_libs=" -lldap -llber -lkrb -ldes"
9204 cat > conftest.$ac_ext <<EOF 9210 cat > conftest.$ac_ext <<EOF
9205 #line 9206 "configure" 9211 #line 9212 "configure"
9206 #include "confdefs.h" 9212 #include "confdefs.h"
9207 /* Override any gcc2 internal prototype to avoid an error. */ 9213 /* Override any gcc2 internal prototype to avoid an error. */
9208 /* We use char because int might match the return type of a gcc2 9214 /* We use char because int might match the return type of a gcc2
9209 builtin and then its argument prototype would still apply. */ 9215 builtin and then its argument prototype would still apply. */
9210 char ldap_open(); 9216 char ldap_open();
9211 9217
9212 int main() { 9218 int main() {
9213 ldap_open() 9219 ldap_open()
9214 ; return 0; } 9220 ; return 0; }
9215 EOF 9221 EOF
9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9217 rm -rf conftest* 9223 rm -rf conftest*
9218 eval "ac_cv_lib_$ac_lib_var=yes" 9224 eval "ac_cv_lib_$ac_lib_var=yes"
9219 else 9225 else
9220 echo "configure: failed program was:" >&5 9226 echo "configure: failed program was:" >&5
9221 cat conftest.$ac_ext >&5 9227 cat conftest.$ac_ext >&5
9260 fi 9266 fi
9261 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9267 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9262 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9268 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9263 do 9269 do
9264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9265 echo "configure:9266: checking for $ac_func" >&5 9271 echo "configure:9272: checking for $ac_func" >&5
9266 9272
9267 cat > conftest.$ac_ext <<EOF 9273 cat > conftest.$ac_ext <<EOF
9268 #line 9269 "configure" 9274 #line 9275 "configure"
9269 #include "confdefs.h" 9275 #include "confdefs.h"
9270 /* System header to define __stub macros and hopefully few prototypes, 9276 /* System header to define __stub macros and hopefully few prototypes,
9271 which can conflict with char $ac_func(); below. */ 9277 which can conflict with char $ac_func(); below. */
9272 #include <assert.h> 9278 #include <assert.h>
9273 /* Override any gcc2 internal prototype to avoid an error. */ 9279 /* Override any gcc2 internal prototype to avoid an error. */
9286 $ac_func(); 9292 $ac_func();
9287 #endif 9293 #endif
9288 9294
9289 ; return 0; } 9295 ; return 0; }
9290 EOF 9296 EOF
9291 if { (eval echo configure:9292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9297 if { (eval echo configure:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9292 rm -rf conftest* 9298 rm -rf conftest*
9293 eval "ac_cv_func_$ac_func=yes" 9299 eval "ac_cv_func_$ac_func=yes"
9294 else 9300 else
9295 echo "configure: failed program was:" >&5 9301 echo "configure: failed program was:" >&5
9296 cat conftest.$ac_ext >&5 9302 cat conftest.$ac_ext >&5
9325 9331
9326 9332
9327 postgresql_libs= 9333 postgresql_libs=
9328 if test "$with_postgresql" != "no"; then 9334 if test "$with_postgresql" != "no"; then
9329 echo "checking for PostgreSQL" 1>&6 9335 echo "checking for PostgreSQL" 1>&6
9330 echo "configure:9331: checking for PostgreSQL" >&5 9336 echo "configure:9337: checking for PostgreSQL" >&5
9331 9337
9332 for header_dir in "" "pgsql/" "postgresql/"; do 9338 for header_dir in "" "pgsql/" "postgresql/"; do
9333 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9339 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9334 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9340 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9335 echo "configure:9336: checking for ${header_dir}libpq-fe.h" >&5 9341 echo "configure:9342: checking for ${header_dir}libpq-fe.h" >&5
9336 9342
9337 cat > conftest.$ac_ext <<EOF 9343 cat > conftest.$ac_ext <<EOF
9338 #line 9339 "configure" 9344 #line 9345 "configure"
9339 #include "confdefs.h" 9345 #include "confdefs.h"
9340 #include <${header_dir}libpq-fe.h> 9346 #include <${header_dir}libpq-fe.h>
9341 EOF 9347 EOF
9342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9343 { (eval echo configure:9344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9349 { (eval echo configure:9350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9345 if test -z "$ac_err"; then 9351 if test -z "$ac_err"; then
9346 rm -rf conftest* 9352 rm -rf conftest*
9347 eval "ac_cv_header_$ac_safe=yes" 9353 eval "ac_cv_header_$ac_safe=yes"
9348 else 9354 else
9362 9368
9363 done 9369 done
9364 9370
9365 test -n "$libpq_fe_h_file" && { 9371 test -n "$libpq_fe_h_file" && {
9366 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9372 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9367 echo "configure:9368: checking for PQconnectdb in -lpq" >&5 9373 echo "configure:9374: checking for PQconnectdb in -lpq" >&5
9368 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9374 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9369 9375
9370 xe_check_libs=" -lpq " 9376 xe_check_libs=" -lpq "
9371 cat > conftest.$ac_ext <<EOF 9377 cat > conftest.$ac_ext <<EOF
9372 #line 9373 "configure" 9378 #line 9379 "configure"
9373 #include "confdefs.h" 9379 #include "confdefs.h"
9374 /* Override any gcc2 internal prototype to avoid an error. */ 9380 /* Override any gcc2 internal prototype to avoid an error. */
9375 /* We use char because int might match the return type of a gcc2 9381 /* We use char because int might match the return type of a gcc2
9376 builtin and then its argument prototype would still apply. */ 9382 builtin and then its argument prototype would still apply. */
9377 char PQconnectdb(); 9383 char PQconnectdb();
9378 9384
9379 int main() { 9385 int main() {
9380 PQconnectdb() 9386 PQconnectdb()
9381 ; return 0; } 9387 ; return 0; }
9382 EOF 9388 EOF
9383 if { (eval echo configure:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9389 if { (eval echo configure:9390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9384 rm -rf conftest* 9390 rm -rf conftest*
9385 eval "ac_cv_lib_$ac_lib_var=yes" 9391 eval "ac_cv_lib_$ac_lib_var=yes"
9386 else 9392 else
9387 echo "configure: failed program was:" >&5 9393 echo "configure: failed program was:" >&5
9388 cat conftest.$ac_ext >&5 9394 cat conftest.$ac_ext >&5
9411 EOF 9417 EOF
9412 } 9418 }
9413 9419
9414 9420
9415 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9421 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9416 echo "configure:9417: checking for PQconnectStart in -lpq" >&5 9422 echo "configure:9423: checking for PQconnectStart in -lpq" >&5
9417 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9423 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9418 9424
9419 xe_check_libs=" -lpq " 9425 xe_check_libs=" -lpq "
9420 cat > conftest.$ac_ext <<EOF 9426 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure" 9427 #line 9428 "configure"
9422 #include "confdefs.h" 9428 #include "confdefs.h"
9423 /* Override any gcc2 internal prototype to avoid an error. */ 9429 /* Override any gcc2 internal prototype to avoid an error. */
9424 /* We use char because int might match the return type of a gcc2 9430 /* We use char because int might match the return type of a gcc2
9425 builtin and then its argument prototype would still apply. */ 9431 builtin and then its argument prototype would still apply. */
9426 char PQconnectStart(); 9432 char PQconnectStart();
9427 9433
9428 int main() { 9434 int main() {
9429 PQconnectStart() 9435 PQconnectStart()
9430 ; return 0; } 9436 ; return 0; }
9431 EOF 9437 EOF
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9433 rm -rf conftest* 9439 rm -rf conftest*
9434 eval "ac_cv_lib_$ac_lib_var=yes" 9440 eval "ac_cv_lib_$ac_lib_var=yes"
9435 else 9441 else
9436 echo "configure: failed program was:" >&5 9442 echo "configure: failed program was:" >&5
9437 cat conftest.$ac_ext >&5 9443 cat conftest.$ac_ext >&5
9478 9484
9479 9485
9480 9486
9481 if test "$window_system" != "none"; then 9487 if test "$window_system" != "none"; then
9482 echo "checking for graphics libraries" 1>&6 9488 echo "checking for graphics libraries" 1>&6
9483 echo "configure:9484: checking for graphics libraries" >&5 9489 echo "configure:9490: checking for graphics libraries" >&5
9484 9490
9485 libpath_xpm= 9491 libpath_xpm=
9486 incpath_xpm= 9492 incpath_xpm=
9487 case "$opsys" in 9493 case "$opsys" in
9488 cygwin*) 9494 cygwin*)
9504 xpm_problem="" 9510 xpm_problem=""
9505 if test -z "$with_xpm"; then 9511 if test -z "$with_xpm"; then
9506 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9512 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9507 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9513 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9508 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9514 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9509 echo "configure:9510: checking for Xpm - no older than 3.4f" >&5 9515 echo "configure:9516: checking for Xpm - no older than 3.4f" >&5
9510 xe_check_libs=-lXpm 9516 xe_check_libs=-lXpm
9511 cat > conftest.$ac_ext <<EOF 9517 cat > conftest.$ac_ext <<EOF
9512 #line 9513 "configure" 9518 #line 9519 "configure"
9513 #include "confdefs.h" 9519 #include "confdefs.h"
9514 #define XPM_NUMBERS 9520 #define XPM_NUMBERS
9515 #include <X11/xpm.h> 9521 #include <X11/xpm.h>
9516 int main(int c, char **v) { 9522 int main(int c, char **v) {
9517 return c == 1 ? 0 : 9523 return c == 1 ? 0 :
9518 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9524 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9519 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9525 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9520 EOF 9526 EOF
9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9527 if { (eval echo configure:9528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9522 then 9528 then
9523 ./conftest dummy_arg; xpm_status=$?; 9529 ./conftest dummy_arg; xpm_status=$?;
9524 if test "$xpm_status" = "0"; then 9530 if test "$xpm_status" = "0"; then
9525 with_xpm=yes; 9531 with_xpm=yes;
9526 else 9532 else
9560 9566
9561 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9567 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9562 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9568 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9563 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9569 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9564 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9570 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9565 echo "configure:9566: checking for \"FOR_MSW\" xpm" >&5 9571 echo "configure:9572: checking for \"FOR_MSW\" xpm" >&5
9566 xe_check_libs=-lXpm 9572 xe_check_libs=-lXpm
9567 cat > conftest.$ac_ext <<EOF 9573 cat > conftest.$ac_ext <<EOF
9568 #line 9569 "configure" 9574 #line 9575 "configure"
9569 #include "confdefs.h" 9575 #include "confdefs.h"
9570 9576
9571 int main() { 9577 int main() {
9572 XpmCreatePixmapFromData() 9578 XpmCreatePixmapFromData()
9573 ; return 0; } 9579 ; return 0; }
9574 EOF 9580 EOF
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9581 if { (eval echo configure:9582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9576 rm -rf conftest* 9582 rm -rf conftest*
9577 xpm_for_msw=no 9583 xpm_for_msw=no
9578 else 9584 else
9579 echo "configure: failed program was:" >&5 9585 echo "configure: failed program was:" >&5
9580 cat conftest.$ac_ext >&5 9586 cat conftest.$ac_ext >&5
9596 fi 9602 fi
9597 fi 9603 fi
9598 9604
9599 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9605 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9600 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9606 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9601 echo "configure:9602: checking for compface.h" >&5 9607 echo "configure:9608: checking for compface.h" >&5
9602 9608
9603 cat > conftest.$ac_ext <<EOF 9609 cat > conftest.$ac_ext <<EOF
9604 #line 9605 "configure" 9610 #line 9611 "configure"
9605 #include "confdefs.h" 9611 #include "confdefs.h"
9606 #include <compface.h> 9612 #include <compface.h>
9607 EOF 9613 EOF
9608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9609 { (eval echo configure:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9615 { (eval echo configure:9616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9611 if test -z "$ac_err"; then 9617 if test -z "$ac_err"; then
9612 rm -rf conftest* 9618 rm -rf conftest*
9613 eval "ac_cv_header_$ac_safe=yes" 9619 eval "ac_cv_header_$ac_safe=yes"
9614 else 9620 else
9627 with_xface=no 9633 with_xface=no
9628 fi 9634 fi
9629 } 9635 }
9630 test -z "$with_xface" && { 9636 test -z "$with_xface" && {
9631 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9637 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9632 echo "configure:9633: checking for UnGenFace in -lcompface" >&5 9638 echo "configure:9639: checking for UnGenFace in -lcompface" >&5
9633 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9639 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9634 9640
9635 xe_check_libs=" -lcompface " 9641 xe_check_libs=" -lcompface "
9636 cat > conftest.$ac_ext <<EOF 9642 cat > conftest.$ac_ext <<EOF
9637 #line 9638 "configure" 9643 #line 9644 "configure"
9638 #include "confdefs.h" 9644 #include "confdefs.h"
9639 /* Override any gcc2 internal prototype to avoid an error. */ 9645 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2 9646 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */ 9647 builtin and then its argument prototype would still apply. */
9642 char UnGenFace(); 9648 char UnGenFace();
9643 9649
9644 int main() { 9650 int main() {
9645 UnGenFace() 9651 UnGenFace()
9646 ; return 0; } 9652 ; return 0; }
9647 EOF 9653 EOF
9648 if { (eval echo configure:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9649 rm -rf conftest* 9655 rm -rf conftest*
9650 eval "ac_cv_lib_$ac_lib_var=yes" 9656 eval "ac_cv_lib_$ac_lib_var=yes"
9651 else 9657 else
9652 echo "configure: failed program was:" >&5 9658 echo "configure: failed program was:" >&5
9653 cat conftest.$ac_ext >&5 9659 cat conftest.$ac_ext >&5
9692 fi 9698 fi
9693 9699
9694 if test "$with_png $with_tiff" != "no no"; then 9700 if test "$with_png $with_tiff" != "no no"; then
9695 9701
9696 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9702 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9697 echo "configure:9698: checking for inflate in -lc" >&5 9703 echo "configure:9704: checking for inflate in -lc" >&5
9698 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9704 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9699 9705
9700 xe_check_libs=" -lc " 9706 xe_check_libs=" -lc "
9701 cat > conftest.$ac_ext <<EOF 9707 cat > conftest.$ac_ext <<EOF
9702 #line 9703 "configure" 9708 #line 9709 "configure"
9703 #include "confdefs.h" 9709 #include "confdefs.h"
9704 /* Override any gcc2 internal prototype to avoid an error. */ 9710 /* Override any gcc2 internal prototype to avoid an error. */
9705 /* We use char because int might match the return type of a gcc2 9711 /* We use char because int might match the return type of a gcc2
9706 builtin and then its argument prototype would still apply. */ 9712 builtin and then its argument prototype would still apply. */
9707 char inflate(); 9713 char inflate();
9708 9714
9709 int main() { 9715 int main() {
9710 inflate() 9716 inflate()
9711 ; return 0; } 9717 ; return 0; }
9712 EOF 9718 EOF
9713 if { (eval echo configure:9714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9719 if { (eval echo configure:9720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9714 rm -rf conftest* 9720 rm -rf conftest*
9715 eval "ac_cv_lib_$ac_lib_var=yes" 9721 eval "ac_cv_lib_$ac_lib_var=yes"
9716 else 9722 else
9717 echo "configure: failed program was:" >&5 9723 echo "configure: failed program was:" >&5
9718 cat conftest.$ac_ext >&5 9724 cat conftest.$ac_ext >&5
9727 : 9733 :
9728 else 9734 else
9729 echo "$ac_t""no" 1>&6 9735 echo "$ac_t""no" 1>&6
9730 9736
9731 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9737 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9732 echo "configure:9733: checking for inflate in -lz" >&5 9738 echo "configure:9739: checking for inflate in -lz" >&5
9733 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9739 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9734 9740
9735 xe_check_libs=" -lz " 9741 xe_check_libs=" -lz "
9736 cat > conftest.$ac_ext <<EOF 9742 cat > conftest.$ac_ext <<EOF
9737 #line 9738 "configure" 9743 #line 9744 "configure"
9738 #include "confdefs.h" 9744 #include "confdefs.h"
9739 /* Override any gcc2 internal prototype to avoid an error. */ 9745 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2 9746 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */ 9747 builtin and then its argument prototype would still apply. */
9742 char inflate(); 9748 char inflate();
9743 9749
9744 int main() { 9750 int main() {
9745 inflate() 9751 inflate()
9746 ; return 0; } 9752 ; return 0; }
9747 EOF 9753 EOF
9748 if { (eval echo configure:9749: \"$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
9749 rm -rf conftest* 9755 rm -rf conftest*
9750 eval "ac_cv_lib_$ac_lib_var=yes" 9756 eval "ac_cv_lib_$ac_lib_var=yes"
9751 else 9757 else
9752 echo "configure: failed program was:" >&5 9758 echo "configure: failed program was:" >&5
9753 cat conftest.$ac_ext >&5 9759 cat conftest.$ac_ext >&5
9762 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9768 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9763 else 9769 else
9764 echo "$ac_t""no" 1>&6 9770 echo "$ac_t""no" 1>&6
9765 9771
9766 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9772 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9767 echo "configure:9768: checking for inflate in -lgz" >&5 9773 echo "configure:9774: checking for inflate in -lgz" >&5
9768 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9774 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9769 9775
9770 xe_check_libs=" -lgz " 9776 xe_check_libs=" -lgz "
9771 cat > conftest.$ac_ext <<EOF 9777 cat > conftest.$ac_ext <<EOF
9772 #line 9773 "configure" 9778 #line 9779 "configure"
9773 #include "confdefs.h" 9779 #include "confdefs.h"
9774 /* Override any gcc2 internal prototype to avoid an error. */ 9780 /* Override any gcc2 internal prototype to avoid an error. */
9775 /* We use char because int might match the return type of a gcc2 9781 /* We use char because int might match the return type of a gcc2
9776 builtin and then its argument prototype would still apply. */ 9782 builtin and then its argument prototype would still apply. */
9777 char inflate(); 9783 char inflate();
9778 9784
9779 int main() { 9785 int main() {
9780 inflate() 9786 inflate()
9781 ; return 0; } 9787 ; return 0; }
9782 EOF 9788 EOF
9783 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9784 rm -rf conftest* 9790 rm -rf conftest*
9785 eval "ac_cv_lib_$ac_lib_var=yes" 9791 eval "ac_cv_lib_$ac_lib_var=yes"
9786 else 9792 else
9787 echo "configure: failed program was:" >&5 9793 echo "configure: failed program was:" >&5
9788 cat conftest.$ac_ext >&5 9794 cat conftest.$ac_ext >&5
9808 9814
9809 fi 9815 fi
9810 9816
9811 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9817 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9812 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9818 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9813 echo "configure:9814: checking for jpeglib.h" >&5 9819 echo "configure:9820: checking for jpeglib.h" >&5
9814 9820
9815 cat > conftest.$ac_ext <<EOF 9821 cat > conftest.$ac_ext <<EOF
9816 #line 9817 "configure" 9822 #line 9823 "configure"
9817 #include "confdefs.h" 9823 #include "confdefs.h"
9818 #include <jpeglib.h> 9824 #include <jpeglib.h>
9819 EOF 9825 EOF
9820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9821 { (eval echo configure:9822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9827 { (eval echo configure:9828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9823 if test -z "$ac_err"; then 9829 if test -z "$ac_err"; then
9824 rm -rf conftest* 9830 rm -rf conftest*
9825 eval "ac_cv_header_$ac_safe=yes" 9831 eval "ac_cv_header_$ac_safe=yes"
9826 else 9832 else
9839 with_jpeg=no 9845 with_jpeg=no
9840 fi 9846 fi
9841 } 9847 }
9842 test -z "$with_jpeg" && { 9848 test -z "$with_jpeg" && {
9843 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9849 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9844 echo "configure:9845: checking for jpeg_destroy_decompress in -ljpeg" >&5 9850 echo "configure:9851: checking for jpeg_destroy_decompress in -ljpeg" >&5
9845 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9851 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9846 9852
9847 xe_check_libs=" -ljpeg " 9853 xe_check_libs=" -ljpeg "
9848 cat > conftest.$ac_ext <<EOF 9854 cat > conftest.$ac_ext <<EOF
9849 #line 9850 "configure" 9855 #line 9856 "configure"
9850 #include "confdefs.h" 9856 #include "confdefs.h"
9851 /* Override any gcc2 internal prototype to avoid an error. */ 9857 /* Override any gcc2 internal prototype to avoid an error. */
9852 /* We use char because int might match the return type of a gcc2 9858 /* We use char because int might match the return type of a gcc2
9853 builtin and then its argument prototype would still apply. */ 9859 builtin and then its argument prototype would still apply. */
9854 char jpeg_destroy_decompress(); 9860 char jpeg_destroy_decompress();
9855 9861
9856 int main() { 9862 int main() {
9857 jpeg_destroy_decompress() 9863 jpeg_destroy_decompress()
9858 ; return 0; } 9864 ; return 0; }
9859 EOF 9865 EOF
9860 if { (eval echo configure:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9866 if { (eval echo configure:9867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9861 rm -rf conftest* 9867 rm -rf conftest*
9862 eval "ac_cv_lib_$ac_lib_var=yes" 9868 eval "ac_cv_lib_$ac_lib_var=yes"
9863 else 9869 else
9864 echo "configure: failed program was:" >&5 9870 echo "configure: failed program was:" >&5
9865 cat conftest.$ac_ext >&5 9871 cat conftest.$ac_ext >&5
9891 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 9897 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9892 fi 9898 fi
9893 9899
9894 png_problem="" 9900 png_problem=""
9895 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 9901 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9896 echo "configure:9897: checking for pow" >&5 9902 echo "configure:9903: checking for pow" >&5
9897 9903
9898 cat > conftest.$ac_ext <<EOF 9904 cat > conftest.$ac_ext <<EOF
9899 #line 9900 "configure" 9905 #line 9906 "configure"
9900 #include "confdefs.h" 9906 #include "confdefs.h"
9901 /* System header to define __stub macros and hopefully few prototypes, 9907 /* System header to define __stub macros and hopefully few prototypes,
9902 which can conflict with char pow(); below. */ 9908 which can conflict with char pow(); below. */
9903 #include <assert.h> 9909 #include <assert.h>
9904 /* Override any gcc2 internal prototype to avoid an error. */ 9910 /* Override any gcc2 internal prototype to avoid an error. */
9917 pow(); 9923 pow();
9918 #endif 9924 #endif
9919 9925
9920 ; return 0; } 9926 ; return 0; }
9921 EOF 9927 EOF
9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9928 if { (eval echo configure:9929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9923 rm -rf conftest* 9929 rm -rf conftest*
9924 eval "ac_cv_func_pow=yes" 9930 eval "ac_cv_func_pow=yes"
9925 else 9931 else
9926 echo "configure: failed program was:" >&5 9932 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5 9933 cat conftest.$ac_ext >&5
9938 with_png=no 9944 with_png=no
9939 fi 9945 fi
9940 } 9946 }
9941 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 9947 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9942 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9948 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9943 echo "configure:9944: checking for png.h" >&5 9949 echo "configure:9950: checking for png.h" >&5
9944 9950
9945 cat > conftest.$ac_ext <<EOF 9951 cat > conftest.$ac_ext <<EOF
9946 #line 9947 "configure" 9952 #line 9953 "configure"
9947 #include "confdefs.h" 9953 #include "confdefs.h"
9948 #include <png.h> 9954 #include <png.h>
9949 EOF 9955 EOF
9950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9951 { (eval echo configure:9952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9957 { (eval echo configure:9958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9953 if test -z "$ac_err"; then 9959 if test -z "$ac_err"; then
9954 rm -rf conftest* 9960 rm -rf conftest*
9955 eval "ac_cv_header_$ac_safe=yes" 9961 eval "ac_cv_header_$ac_safe=yes"
9956 else 9962 else
9969 with_png=no 9975 with_png=no
9970 fi 9976 fi
9971 } 9977 }
9972 test -z "$with_png" && { 9978 test -z "$with_png" && {
9973 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 9979 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
9974 echo "configure:9975: checking for png_read_image in -lpng" >&5 9980 echo "configure:9981: checking for png_read_image in -lpng" >&5
9975 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9981 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9976 9982
9977 xe_check_libs=" -lpng " 9983 xe_check_libs=" -lpng "
9978 cat > conftest.$ac_ext <<EOF 9984 cat > conftest.$ac_ext <<EOF
9979 #line 9980 "configure" 9985 #line 9986 "configure"
9980 #include "confdefs.h" 9986 #include "confdefs.h"
9981 /* Override any gcc2 internal prototype to avoid an error. */ 9987 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2 9988 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */ 9989 builtin and then its argument prototype would still apply. */
9984 char png_read_image(); 9990 char png_read_image();
9985 9991
9986 int main() { 9992 int main() {
9987 png_read_image() 9993 png_read_image()
9988 ; return 0; } 9994 ; return 0; }
9989 EOF 9995 EOF
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9996 if { (eval echo configure:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9991 rm -rf conftest* 9997 rm -rf conftest*
9992 eval "ac_cv_lib_$ac_lib_var=yes" 9998 eval "ac_cv_lib_$ac_lib_var=yes"
9993 else 9999 else
9994 echo "configure: failed program was:" >&5 10000 echo "configure: failed program was:" >&5
9995 cat conftest.$ac_ext >&5 10001 cat conftest.$ac_ext >&5
10008 fi 10014 fi
10009 10015
10010 } 10016 }
10011 if test -z "$with_png"; then 10017 if test -z "$with_png"; then
10012 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10018 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10013 echo "configure:10014: checking for workable png version information" >&5 10019 echo "configure:10020: checking for workable png version information" >&5
10014 xe_check_libs="-lpng -lz" 10020 xe_check_libs="-lpng -lz"
10015 cat > conftest.$ac_ext <<EOF 10021 cat > conftest.$ac_ext <<EOF
10016 #line 10017 "configure" 10022 #line 10023 "configure"
10017 #include "confdefs.h" 10023 #include "confdefs.h"
10018 #include <png.h> 10024 #include <png.h>
10019 int main(int c, char **v) { 10025 int main(int c, char **v) {
10020 if (c == 1) return 0; 10026 if (c == 1) return 0;
10021 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10027 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10022 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10028 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10023 EOF 10029 EOF
10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10030 if { (eval echo configure:10031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10025 then 10031 then
10026 ./conftest dummy_arg; png_status=$?; 10032 ./conftest dummy_arg; png_status=$?;
10027 if test "$png_status" = "0"; then 10033 if test "$png_status" = "0"; then
10028 with_png=yes; 10034 with_png=yes;
10029 else 10035 else
10062 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10068 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10063 fi 10069 fi
10064 10070
10065 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10071 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10066 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10072 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10067 echo "configure:10068: checking for tiffio.h" >&5 10073 echo "configure:10074: checking for tiffio.h" >&5
10068 10074
10069 cat > conftest.$ac_ext <<EOF 10075 cat > conftest.$ac_ext <<EOF
10070 #line 10071 "configure" 10076 #line 10077 "configure"
10071 #include "confdefs.h" 10077 #include "confdefs.h"
10072 #include <tiffio.h> 10078 #include <tiffio.h>
10073 EOF 10079 EOF
10074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10081 { (eval echo configure:10082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10077 if test -z "$ac_err"; then 10083 if test -z "$ac_err"; then
10078 rm -rf conftest* 10084 rm -rf conftest*
10079 eval "ac_cv_header_$ac_safe=yes" 10085 eval "ac_cv_header_$ac_safe=yes"
10080 else 10086 else
10093 with_tiff=no 10099 with_tiff=no
10094 fi 10100 fi
10095 } 10101 }
10096 test -z "$with_tiff" && { 10102 test -z "$with_tiff" && {
10097 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10103 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10098 echo "configure:10099: checking for TIFFClientOpen in -ltiff" >&5 10104 echo "configure:10105: checking for TIFFClientOpen in -ltiff" >&5
10099 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10105 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10100 10106
10101 xe_check_libs=" -ltiff " 10107 xe_check_libs=" -ltiff "
10102 cat > conftest.$ac_ext <<EOF 10108 cat > conftest.$ac_ext <<EOF
10103 #line 10104 "configure" 10109 #line 10110 "configure"
10104 #include "confdefs.h" 10110 #include "confdefs.h"
10105 /* Override any gcc2 internal prototype to avoid an error. */ 10111 /* Override any gcc2 internal prototype to avoid an error. */
10106 /* We use char because int might match the return type of a gcc2 10112 /* We use char because int might match the return type of a gcc2
10107 builtin and then its argument prototype would still apply. */ 10113 builtin and then its argument prototype would still apply. */
10108 char TIFFClientOpen(); 10114 char TIFFClientOpen();
10109 10115
10110 int main() { 10116 int main() {
10111 TIFFClientOpen() 10117 TIFFClientOpen()
10112 ; return 0; } 10118 ; return 0; }
10113 EOF 10119 EOF
10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10120 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10115 rm -rf conftest* 10121 rm -rf conftest*
10116 eval "ac_cv_lib_$ac_lib_var=yes" 10122 eval "ac_cv_lib_$ac_lib_var=yes"
10117 else 10123 else
10118 echo "configure: failed program was:" >&5 10124 echo "configure: failed program was:" >&5
10119 cat conftest.$ac_ext >&5 10125 cat conftest.$ac_ext >&5
10148 10154
10149 10155
10150 if test "$with_gtk" = "yes"; then 10156 if test "$with_gtk" = "yes"; then
10151 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10157 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10152 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10158 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10153 echo "configure:10154: checking for compface.h" >&5 10159 echo "configure:10160: checking for compface.h" >&5
10154 10160
10155 cat > conftest.$ac_ext <<EOF 10161 cat > conftest.$ac_ext <<EOF
10156 #line 10157 "configure" 10162 #line 10163 "configure"
10157 #include "confdefs.h" 10163 #include "confdefs.h"
10158 #include <compface.h> 10164 #include <compface.h>
10159 EOF 10165 EOF
10160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10161 { (eval echo configure:10162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10167 { (eval echo configure:10168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10163 if test -z "$ac_err"; then 10169 if test -z "$ac_err"; then
10164 rm -rf conftest* 10170 rm -rf conftest*
10165 eval "ac_cv_header_$ac_safe=yes" 10171 eval "ac_cv_header_$ac_safe=yes"
10166 else 10172 else
10179 with_xface=no 10185 with_xface=no
10180 fi 10186 fi
10181 } 10187 }
10182 test -z "$with_xface" && { 10188 test -z "$with_xface" && {
10183 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10189 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10184 echo "configure:10185: checking for UnGenFace in -lcompface" >&5 10190 echo "configure:10191: checking for UnGenFace in -lcompface" >&5
10185 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10191 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10186 10192
10187 xe_check_libs=" -lcompface " 10193 xe_check_libs=" -lcompface "
10188 cat > conftest.$ac_ext <<EOF 10194 cat > conftest.$ac_ext <<EOF
10189 #line 10190 "configure" 10195 #line 10196 "configure"
10190 #include "confdefs.h" 10196 #include "confdefs.h"
10191 /* Override any gcc2 internal prototype to avoid an error. */ 10197 /* Override any gcc2 internal prototype to avoid an error. */
10192 /* We use char because int might match the return type of a gcc2 10198 /* We use char because int might match the return type of a gcc2
10193 builtin and then its argument prototype would still apply. */ 10199 builtin and then its argument prototype would still apply. */
10194 char UnGenFace(); 10200 char UnGenFace();
10195 10201
10196 int main() { 10202 int main() {
10197 UnGenFace() 10203 UnGenFace()
10198 ; return 0; } 10204 ; return 0; }
10199 EOF 10205 EOF
10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10206 if { (eval echo configure:10207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10201 rm -rf conftest* 10207 rm -rf conftest*
10202 eval "ac_cv_lib_$ac_lib_var=yes" 10208 eval "ac_cv_lib_$ac_lib_var=yes"
10203 else 10209 else
10204 echo "configure: failed program was:" >&5 10210 echo "configure: failed program was:" >&5
10205 cat conftest.$ac_ext >&5 10211 cat conftest.$ac_ext >&5
10234 10240
10235 10241
10236 10242
10237 if test "$with_x11" = "yes"; then 10243 if test "$with_x11" = "yes"; then
10238 echo "checking for X11 graphics libraries" 1>&6 10244 echo "checking for X11 graphics libraries" 1>&6
10239 echo "configure:10240: checking for X11 graphics libraries" >&5 10245 echo "configure:10246: checking for X11 graphics libraries" >&5
10240 fi 10246 fi
10241 10247
10242 case "$with_widgets" in 10248 case "$with_widgets" in
10243 "yes" | "athena") detect_athena=yes ;; 10249 "yes" | "athena") detect_athena=yes ;;
10244 *) detect_athena=no ;; 10250 *) detect_athena=no ;;
10245 esac 10251 esac
10246 10252
10247 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10253 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10248 echo "checking for the Athena widgets" 1>&6 10254 echo "checking for the Athena widgets" 1>&6
10249 echo "configure:10250: checking for the Athena widgets" >&5 10255 echo "configure:10256: checking for the Athena widgets" >&5
10250 10256
10251 case "$with_athena" in 10257 case "$with_athena" in
10252 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10258 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10253 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10259 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10254 "next") athena_variant=neXtaw athena_3d=yes ;; 10260 "next") athena_variant=neXtaw athena_3d=yes ;;
10258 esac 10264 esac
10259 10265
10260 if test "$athena_3d" = "no"; then 10266 if test "$athena_3d" = "no"; then
10261 10267
10262 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10268 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10263 echo "configure:10264: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10269 echo "configure:10270: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10264 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10270 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10265 10271
10266 xe_check_libs=" -l$athena_variant " 10272 xe_check_libs=" -l$athena_variant "
10267 cat > conftest.$ac_ext <<EOF 10273 cat > conftest.$ac_ext <<EOF
10268 #line 10269 "configure" 10274 #line 10275 "configure"
10269 #include "confdefs.h" 10275 #include "confdefs.h"
10270 /* Override any gcc2 internal prototype to avoid an error. */ 10276 /* Override any gcc2 internal prototype to avoid an error. */
10271 /* We use char because int might match the return type of a gcc2 10277 /* We use char because int might match the return type of a gcc2
10272 builtin and then its argument prototype would still apply. */ 10278 builtin and then its argument prototype would still apply. */
10273 char XawScrollbarSetThumb(); 10279 char XawScrollbarSetThumb();
10274 10280
10275 int main() { 10281 int main() {
10276 XawScrollbarSetThumb() 10282 XawScrollbarSetThumb()
10277 ; return 0; } 10283 ; return 0; }
10278 EOF 10284 EOF
10279 if { (eval echo configure:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10280 rm -rf conftest* 10286 rm -rf conftest*
10281 eval "ac_cv_lib_$ac_lib_var=yes" 10287 eval "ac_cv_lib_$ac_lib_var=yes"
10282 else 10288 else
10283 echo "configure: failed program was:" >&5 10289 echo "configure: failed program was:" >&5
10284 cat conftest.$ac_ext >&5 10290 cat conftest.$ac_ext >&5
10290 10296
10291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10292 echo "$ac_t""yes" 1>&6 10298 echo "$ac_t""yes" 1>&6
10293 10299
10294 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10300 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10295 echo "configure:10296: checking for threeDClassRec in -l$athena_variant" >&5 10301 echo "configure:10302: checking for threeDClassRec in -l$athena_variant" >&5
10296 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10302 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10297 10303
10298 xe_check_libs=" -l$athena_variant " 10304 xe_check_libs=" -l$athena_variant "
10299 cat > conftest.$ac_ext <<EOF 10305 cat > conftest.$ac_ext <<EOF
10300 #line 10301 "configure" 10306 #line 10307 "configure"
10301 #include "confdefs.h" 10307 #include "confdefs.h"
10302 /* Override any gcc2 internal prototype to avoid an error. */ 10308 /* Override any gcc2 internal prototype to avoid an error. */
10303 /* We use char because int might match the return type of a gcc2 10309 /* We use char because int might match the return type of a gcc2
10304 builtin and then its argument prototype would still apply. */ 10310 builtin and then its argument prototype would still apply. */
10305 char threeDClassRec(); 10311 char threeDClassRec();
10306 10312
10307 int main() { 10313 int main() {
10308 threeDClassRec() 10314 threeDClassRec()
10309 ; return 0; } 10315 ; return 0; }
10310 EOF 10316 EOF
10311 if { (eval echo configure:10312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10317 if { (eval echo configure:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10312 rm -rf conftest* 10318 rm -rf conftest*
10313 eval "ac_cv_lib_$ac_lib_var=yes" 10319 eval "ac_cv_lib_$ac_lib_var=yes"
10314 else 10320 else
10315 echo "configure: failed program was:" >&5 10321 echo "configure: failed program was:" >&5
10316 cat conftest.$ac_ext >&5 10322 cat conftest.$ac_ext >&5
10337 10343
10338 10344
10339 else 10345 else
10340 10346
10341 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10347 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10342 echo "configure:10343: checking for threeDClassRec in -l$athena_variant" >&5 10348 echo "configure:10349: checking for threeDClassRec in -l$athena_variant" >&5
10343 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10349 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10344 10350
10345 xe_check_libs=" -l$athena_variant " 10351 xe_check_libs=" -l$athena_variant "
10346 cat > conftest.$ac_ext <<EOF 10352 cat > conftest.$ac_ext <<EOF
10347 #line 10348 "configure" 10353 #line 10354 "configure"
10348 #include "confdefs.h" 10354 #include "confdefs.h"
10349 /* Override any gcc2 internal prototype to avoid an error. */ 10355 /* Override any gcc2 internal prototype to avoid an error. */
10350 /* We use char because int might match the return type of a gcc2 10356 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */ 10357 builtin and then its argument prototype would still apply. */
10352 char threeDClassRec(); 10358 char threeDClassRec();
10353 10359
10354 int main() { 10360 int main() {
10355 threeDClassRec() 10361 threeDClassRec()
10356 ; return 0; } 10362 ; return 0; }
10357 EOF 10363 EOF
10358 if { (eval echo configure:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10364 if { (eval echo configure:10365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10359 rm -rf conftest* 10365 rm -rf conftest*
10360 eval "ac_cv_lib_$ac_lib_var=yes" 10366 eval "ac_cv_lib_$ac_lib_var=yes"
10361 else 10367 else
10362 echo "configure: failed program was:" >&5 10368 echo "configure: failed program was:" >&5
10363 cat conftest.$ac_ext >&5 10369 cat conftest.$ac_ext >&5
10371 echo "$ac_t""yes" 1>&6 10377 echo "$ac_t""yes" 1>&6
10372 athena_lib=$athena_variant 10378 athena_lib=$athena_variant
10373 else 10379 else
10374 echo "$ac_t""no" 1>&6 10380 echo "$ac_t""no" 1>&6
10375 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10381 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10376 echo "configure:10377: checking for threeDClassRec in -lXaw" >&5 10382 echo "configure:10383: checking for threeDClassRec in -lXaw" >&5
10377 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10383 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10378 10384
10379 xe_check_libs=" -lXaw " 10385 xe_check_libs=" -lXaw "
10380 cat > conftest.$ac_ext <<EOF 10386 cat > conftest.$ac_ext <<EOF
10381 #line 10382 "configure" 10387 #line 10388 "configure"
10382 #include "confdefs.h" 10388 #include "confdefs.h"
10383 /* Override any gcc2 internal prototype to avoid an error. */ 10389 /* Override any gcc2 internal prototype to avoid an error. */
10384 /* We use char because int might match the return type of a gcc2 10390 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */ 10391 builtin and then its argument prototype would still apply. */
10386 char threeDClassRec(); 10392 char threeDClassRec();
10387 10393
10388 int main() { 10394 int main() {
10389 threeDClassRec() 10395 threeDClassRec()
10390 ; return 0; } 10396 ; return 0; }
10391 EOF 10397 EOF
10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10398 if { (eval echo configure:10399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10393 rm -rf conftest* 10399 rm -rf conftest*
10394 eval "ac_cv_lib_$ac_lib_var=yes" 10400 eval "ac_cv_lib_$ac_lib_var=yes"
10395 else 10401 else
10396 echo "configure: failed program was:" >&5 10402 echo "configure: failed program was:" >&5
10397 cat conftest.$ac_ext >&5 10403 cat conftest.$ac_ext >&5
10418 fi 10424 fi
10419 10425
10420 if test "$athena_3d" = "no"; then 10426 if test "$athena_3d" = "no"; then
10421 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10427 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10422 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10428 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10423 echo "configure:10424: checking for X11/Xaw/ThreeD.h" >&5 10429 echo "configure:10430: checking for X11/Xaw/ThreeD.h" >&5
10424 10430
10425 cat > conftest.$ac_ext <<EOF 10431 cat > conftest.$ac_ext <<EOF
10426 #line 10427 "configure" 10432 #line 10433 "configure"
10427 #include "confdefs.h" 10433 #include "confdefs.h"
10428 #include <X11/Xaw/ThreeD.h> 10434 #include <X11/Xaw/ThreeD.h>
10429 EOF 10435 EOF
10430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10437 { (eval echo configure:10438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10433 if test -z "$ac_err"; then 10439 if test -z "$ac_err"; then
10434 rm -rf conftest* 10440 rm -rf conftest*
10435 eval "ac_cv_header_$ac_safe=yes" 10441 eval "ac_cv_header_$ac_safe=yes"
10436 else 10442 else
10446 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10452 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10447 else 10453 else
10448 echo "$ac_t""no" 1>&6 10454 echo "$ac_t""no" 1>&6
10449 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10455 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10450 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10456 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10451 echo "configure:10452: checking for X11/Xaw/XawInit.h" >&5 10457 echo "configure:10458: checking for X11/Xaw/XawInit.h" >&5
10452 10458
10453 cat > conftest.$ac_ext <<EOF 10459 cat > conftest.$ac_ext <<EOF
10454 #line 10455 "configure" 10460 #line 10461 "configure"
10455 #include "confdefs.h" 10461 #include "confdefs.h"
10456 #include <X11/Xaw/XawInit.h> 10462 #include <X11/Xaw/XawInit.h>
10457 EOF 10463 EOF
10458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10459 { (eval echo configure:10460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10465 { (eval echo configure:10466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10461 if test -z "$ac_err"; then 10467 if test -z "$ac_err"; then
10462 rm -rf conftest* 10468 rm -rf conftest*
10463 eval "ac_cv_header_$ac_safe=yes" 10469 eval "ac_cv_header_$ac_safe=yes"
10464 else 10470 else
10480 fi 10486 fi
10481 10487
10482 else 10488 else
10483 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10489 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10484 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10490 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10485 echo "configure:10486: checking for X11/$athena_variant/XawInit.h" >&5 10491 echo "configure:10492: checking for X11/$athena_variant/XawInit.h" >&5
10486 10492
10487 cat > conftest.$ac_ext <<EOF 10493 cat > conftest.$ac_ext <<EOF
10488 #line 10489 "configure" 10494 #line 10495 "configure"
10489 #include "confdefs.h" 10495 #include "confdefs.h"
10490 #include <X11/$athena_variant/XawInit.h> 10496 #include <X11/$athena_variant/XawInit.h>
10491 EOF 10497 EOF
10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10498 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; } 10499 { (eval echo configure:10500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10495 if test -z "$ac_err"; then 10501 if test -z "$ac_err"; then
10496 rm -rf conftest* 10502 rm -rf conftest*
10497 eval "ac_cv_header_$ac_safe=yes" 10503 eval "ac_cv_header_$ac_safe=yes"
10498 else 10504 else
10505 rm -f conftest* 10511 rm -f conftest*
10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10507 echo "$ac_t""yes" 1>&6 10513 echo "$ac_t""yes" 1>&6
10508 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10514 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10509 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10515 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10510 echo "configure:10511: checking for X11/$athena_variant/ThreeD.h" >&5 10516 echo "configure:10517: checking for X11/$athena_variant/ThreeD.h" >&5
10511 10517
10512 cat > conftest.$ac_ext <<EOF 10518 cat > conftest.$ac_ext <<EOF
10513 #line 10514 "configure" 10519 #line 10520 "configure"
10514 #include "confdefs.h" 10520 #include "confdefs.h"
10515 #include <X11/$athena_variant/ThreeD.h> 10521 #include <X11/$athena_variant/ThreeD.h>
10516 EOF 10522 EOF
10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10523 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; } 10524 { (eval echo configure:10525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10520 if test -z "$ac_err"; then 10526 if test -z "$ac_err"; then
10521 rm -rf conftest* 10527 rm -rf conftest*
10522 eval "ac_cv_header_$ac_safe=yes" 10528 eval "ac_cv_header_$ac_safe=yes"
10523 else 10529 else
10541 10547
10542 10548
10543 if test -z "$athena_h_path"; then 10549 if test -z "$athena_h_path"; then
10544 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10550 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10545 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10551 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10546 echo "configure:10547: checking for $athena_variant/XawInit.h" >&5 10552 echo "configure:10553: checking for $athena_variant/XawInit.h" >&5
10547 10553
10548 cat > conftest.$ac_ext <<EOF 10554 cat > conftest.$ac_ext <<EOF
10549 #line 10550 "configure" 10555 #line 10556 "configure"
10550 #include "confdefs.h" 10556 #include "confdefs.h"
10551 #include <$athena_variant/XawInit.h> 10557 #include <$athena_variant/XawInit.h>
10552 EOF 10558 EOF
10553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10554 { (eval echo configure:10555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10560 { (eval echo configure:10561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10556 if test -z "$ac_err"; then 10562 if test -z "$ac_err"; then
10557 rm -rf conftest* 10563 rm -rf conftest*
10558 eval "ac_cv_header_$ac_safe=yes" 10564 eval "ac_cv_header_$ac_safe=yes"
10559 else 10565 else
10566 rm -f conftest* 10572 rm -f conftest*
10567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10568 echo "$ac_t""yes" 1>&6 10574 echo "$ac_t""yes" 1>&6
10569 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10575 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10570 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10576 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10571 echo "configure:10572: checking for $athena_variant/ThreeD.h" >&5 10577 echo "configure:10578: checking for $athena_variant/ThreeD.h" >&5
10572 10578
10573 cat > conftest.$ac_ext <<EOF 10579 cat > conftest.$ac_ext <<EOF
10574 #line 10575 "configure" 10580 #line 10581 "configure"
10575 #include "confdefs.h" 10581 #include "confdefs.h"
10576 #include <$athena_variant/ThreeD.h> 10582 #include <$athena_variant/ThreeD.h>
10577 EOF 10583 EOF
10578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10585 { (eval echo configure:10586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10581 if test -z "$ac_err"; then 10587 if test -z "$ac_err"; then
10582 rm -rf conftest* 10588 rm -rf conftest*
10583 eval "ac_cv_header_$ac_safe=yes" 10589 eval "ac_cv_header_$ac_safe=yes"
10584 else 10590 else
10603 fi 10609 fi
10604 10610
10605 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10611 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10606 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10612 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10607 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10613 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10608 echo "configure:10609: checking for X11/Xaw3d/XawInit.h" >&5 10614 echo "configure:10615: checking for X11/Xaw3d/XawInit.h" >&5
10609 10615
10610 cat > conftest.$ac_ext <<EOF 10616 cat > conftest.$ac_ext <<EOF
10611 #line 10612 "configure" 10617 #line 10618 "configure"
10612 #include "confdefs.h" 10618 #include "confdefs.h"
10613 #include <X11/Xaw3d/XawInit.h> 10619 #include <X11/Xaw3d/XawInit.h>
10614 EOF 10620 EOF
10615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10616 { (eval echo configure:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10618 if test -z "$ac_err"; then 10624 if test -z "$ac_err"; then
10619 rm -rf conftest* 10625 rm -rf conftest*
10620 eval "ac_cv_header_$ac_safe=yes" 10626 eval "ac_cv_header_$ac_safe=yes"
10621 else 10627 else
10628 rm -f conftest* 10634 rm -f conftest*
10629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10630 echo "$ac_t""yes" 1>&6 10636 echo "$ac_t""yes" 1>&6
10631 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10637 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10632 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10638 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10633 echo "configure:10634: checking for X11/Xaw3d/ThreeD.h" >&5 10639 echo "configure:10640: checking for X11/Xaw3d/ThreeD.h" >&5
10634 10640
10635 cat > conftest.$ac_ext <<EOF 10641 cat > conftest.$ac_ext <<EOF
10636 #line 10637 "configure" 10642 #line 10643 "configure"
10637 #include "confdefs.h" 10643 #include "confdefs.h"
10638 #include <X11/Xaw3d/ThreeD.h> 10644 #include <X11/Xaw3d/ThreeD.h>
10639 EOF 10645 EOF
10640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10641 { (eval echo configure:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10647 { (eval echo configure:10648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10643 if test -z "$ac_err"; then 10649 if test -z "$ac_err"; then
10644 rm -rf conftest* 10650 rm -rf conftest*
10645 eval "ac_cv_header_$ac_safe=yes" 10651 eval "ac_cv_header_$ac_safe=yes"
10646 else 10652 else
10668 fi 10674 fi
10669 10675
10670 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10676 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10671 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10677 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10672 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10678 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10673 echo "configure:10674: checking for Xaw3d/XawInit.h" >&5 10679 echo "configure:10680: checking for Xaw3d/XawInit.h" >&5
10674 10680
10675 cat > conftest.$ac_ext <<EOF 10681 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure" 10682 #line 10683 "configure"
10677 #include "confdefs.h" 10683 #include "confdefs.h"
10678 #include <Xaw3d/XawInit.h> 10684 #include <Xaw3d/XawInit.h>
10679 EOF 10685 EOF
10680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10681 { (eval echo configure:10682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10687 { (eval echo configure:10688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10683 if test -z "$ac_err"; then 10689 if test -z "$ac_err"; then
10684 rm -rf conftest* 10690 rm -rf conftest*
10685 eval "ac_cv_header_$ac_safe=yes" 10691 eval "ac_cv_header_$ac_safe=yes"
10686 else 10692 else
10693 rm -f conftest* 10699 rm -f conftest*
10694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10695 echo "$ac_t""yes" 1>&6 10701 echo "$ac_t""yes" 1>&6
10696 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10702 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10697 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10703 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10698 echo "configure:10699: checking for Xaw3d/ThreeD.h" >&5 10704 echo "configure:10705: checking for Xaw3d/ThreeD.h" >&5
10699 10705
10700 cat > conftest.$ac_ext <<EOF 10706 cat > conftest.$ac_ext <<EOF
10701 #line 10702 "configure" 10707 #line 10708 "configure"
10702 #include "confdefs.h" 10708 #include "confdefs.h"
10703 #include <Xaw3d/ThreeD.h> 10709 #include <Xaw3d/ThreeD.h>
10704 EOF 10710 EOF
10705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10706 { (eval echo configure:10707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10712 { (eval echo configure:10713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10708 if test -z "$ac_err"; then 10714 if test -z "$ac_err"; then
10709 rm -rf conftest* 10715 rm -rf conftest*
10710 eval "ac_cv_header_$ac_safe=yes" 10716 eval "ac_cv_header_$ac_safe=yes"
10711 else 10717 else
10733 fi 10739 fi
10734 10740
10735 if test -z "$athena_h_path"; then 10741 if test -z "$athena_h_path"; then
10736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10742 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10737 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10743 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10738 echo "configure:10739: checking for X11/Xaw/ThreeD.h" >&5 10744 echo "configure:10745: checking for X11/Xaw/ThreeD.h" >&5
10739 10745
10740 cat > conftest.$ac_ext <<EOF 10746 cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure" 10747 #line 10748 "configure"
10742 #include "confdefs.h" 10748 #include "confdefs.h"
10743 #include <X11/Xaw/ThreeD.h> 10749 #include <X11/Xaw/ThreeD.h>
10744 EOF 10750 EOF
10745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10746 { (eval echo configure:10747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10752 { (eval echo configure:10753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10748 if test -z "$ac_err"; then 10754 if test -z "$ac_err"; then
10749 rm -rf conftest* 10755 rm -rf conftest*
10750 eval "ac_cv_header_$ac_safe=yes" 10756 eval "ac_cv_header_$ac_safe=yes"
10751 else 10757 else
10780 have_xaw=no 10786 have_xaw=no
10781 fi 10787 fi
10782 if test "$with_x11" = "yes"; then 10788 if test "$with_x11" = "yes"; then
10783 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10789 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10784 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10790 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10785 echo "configure:10786: checking for Xm/Xm.h" >&5 10791 echo "configure:10792: checking for Xm/Xm.h" >&5
10786 10792
10787 cat > conftest.$ac_ext <<EOF 10793 cat > conftest.$ac_ext <<EOF
10788 #line 10789 "configure" 10794 #line 10795 "configure"
10789 #include "confdefs.h" 10795 #include "confdefs.h"
10790 #include <Xm/Xm.h> 10796 #include <Xm/Xm.h>
10791 EOF 10797 EOF
10792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10793 { (eval echo configure:10794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10799 { (eval echo configure:10800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10795 if test -z "$ac_err"; then 10801 if test -z "$ac_err"; then
10796 rm -rf conftest* 10802 rm -rf conftest*
10797 eval "ac_cv_header_$ac_safe=yes" 10803 eval "ac_cv_header_$ac_safe=yes"
10798 else 10804 else
10805 rm -f conftest* 10811 rm -f conftest*
10806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10807 echo "$ac_t""yes" 1>&6 10813 echo "$ac_t""yes" 1>&6
10808 10814
10809 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10815 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10810 echo "configure:10811: checking for XmStringFree in -lXm" >&5 10816 echo "configure:10817: checking for XmStringFree in -lXm" >&5
10811 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10817 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10812 10818
10813 xe_check_libs=" -lXm " 10819 xe_check_libs=" -lXm "
10814 cat > conftest.$ac_ext <<EOF 10820 cat > conftest.$ac_ext <<EOF
10815 #line 10816 "configure" 10821 #line 10822 "configure"
10816 #include "confdefs.h" 10822 #include "confdefs.h"
10817 /* Override any gcc2 internal prototype to avoid an error. */ 10823 /* Override any gcc2 internal prototype to avoid an error. */
10818 /* We use char because int might match the return type of a gcc2 10824 /* We use char because int might match the return type of a gcc2
10819 builtin and then its argument prototype would still apply. */ 10825 builtin and then its argument prototype would still apply. */
10820 char XmStringFree(); 10826 char XmStringFree();
10821 10827
10822 int main() { 10828 int main() {
10823 XmStringFree() 10829 XmStringFree()
10824 ; return 0; } 10830 ; return 0; }
10825 EOF 10831 EOF
10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10832 if { (eval echo configure:10833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10827 rm -rf conftest* 10833 rm -rf conftest*
10828 eval "ac_cv_lib_$ac_lib_var=yes" 10834 eval "ac_cv_lib_$ac_lib_var=yes"
10829 else 10835 else
10830 echo "configure: failed program was:" >&5 10836 echo "configure: failed program was:" >&5
10831 cat conftest.$ac_ext >&5 10837 cat conftest.$ac_ext >&5
10850 fi 10856 fi
10851 10857
10852 10858
10853 if test "$have_motif" = "yes"; then 10859 if test "$have_motif" = "yes"; then
10854 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10860 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10855 echo "configure:10856: checking for Lesstif" >&5 10861 echo "configure:10862: checking for Lesstif" >&5
10856 cat > conftest.$ac_ext <<EOF 10862 cat > conftest.$ac_ext <<EOF
10857 #line 10858 "configure" 10863 #line 10864 "configure"
10858 #include "confdefs.h" 10864 #include "confdefs.h"
10859 #include <Xm/Xm.h> 10865 #include <Xm/Xm.h>
10860 #ifdef LESSTIF_VERSION 10866 #ifdef LESSTIF_VERSION
10861 yes 10867 yes
10862 #endif 10868 #endif
11225 11231
11226 fi 11232 fi
11227 11233
11228 if test "$with_mule" = "yes" ; then 11234 if test "$with_mule" = "yes" ; then
11229 echo "checking for Mule-related features" 1>&6 11235 echo "checking for Mule-related features" 1>&6
11230 echo "configure:11231: checking for Mule-related features" >&5 11236 echo "configure:11237: checking for Mule-related features" >&5
11231 { test "$extra_verbose" = "yes" && cat << \EOF 11237 { test "$extra_verbose" = "yes" && cat << \EOF
11232 Defining MULE 11238 Defining MULE
11233 EOF 11239 EOF
11234 cat >> confdefs.h <<\EOF 11240 cat >> confdefs.h <<\EOF
11235 #define MULE 1 11241 #define MULE 1
11239 11245
11240 for ac_hdr in libintl.h 11246 for ac_hdr in libintl.h
11241 do 11247 do
11242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11244 echo "configure:11245: checking for $ac_hdr" >&5 11250 echo "configure:11251: checking for $ac_hdr" >&5
11245 11251
11246 cat > conftest.$ac_ext <<EOF 11252 cat > conftest.$ac_ext <<EOF
11247 #line 11248 "configure" 11253 #line 11254 "configure"
11248 #include "confdefs.h" 11254 #include "confdefs.h"
11249 #include <$ac_hdr> 11255 #include <$ac_hdr>
11250 EOF 11256 EOF
11251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11252 { (eval echo configure:11253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11258 { (eval echo configure:11259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11254 if test -z "$ac_err"; then 11260 if test -z "$ac_err"; then
11255 rm -rf conftest* 11261 rm -rf conftest*
11256 eval "ac_cv_header_$ac_safe=yes" 11262 eval "ac_cv_header_$ac_safe=yes"
11257 else 11263 else
11278 fi 11284 fi
11279 done 11285 done
11280 11286
11281 11287
11282 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11288 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11283 echo "configure:11284: checking for strerror in -lintl" >&5 11289 echo "configure:11290: checking for strerror in -lintl" >&5
11284 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11290 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11285 11291
11286 xe_check_libs=" -lintl " 11292 xe_check_libs=" -lintl "
11287 cat > conftest.$ac_ext <<EOF 11293 cat > conftest.$ac_ext <<EOF
11288 #line 11289 "configure" 11294 #line 11295 "configure"
11289 #include "confdefs.h" 11295 #include "confdefs.h"
11290 /* Override any gcc2 internal prototype to avoid an error. */ 11296 /* Override any gcc2 internal prototype to avoid an error. */
11291 /* We use char because int might match the return type of a gcc2 11297 /* We use char because int might match the return type of a gcc2
11292 builtin and then its argument prototype would still apply. */ 11298 builtin and then its argument prototype would still apply. */
11293 char strerror(); 11299 char strerror();
11294 11300
11295 int main() { 11301 int main() {
11296 strerror() 11302 strerror()
11297 ; return 0; } 11303 ; return 0; }
11298 EOF 11304 EOF
11299 if { (eval echo configure:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11300 rm -rf conftest* 11306 rm -rf conftest*
11301 eval "ac_cv_lib_$ac_lib_var=yes" 11307 eval "ac_cv_lib_$ac_lib_var=yes"
11302 else 11308 else
11303 echo "configure: failed program was:" >&5 11309 echo "configure: failed program was:" >&5
11304 cat conftest.$ac_ext >&5 11310 cat conftest.$ac_ext >&5
11327 fi 11333 fi
11328 11334
11329 11335
11330 11336
11331 echo "checking for Mule input methods" 1>&6 11337 echo "checking for Mule input methods" 1>&6
11332 echo "configure:11333: checking for Mule input methods" >&5 11338 echo "configure:11339: checking for Mule input methods" >&5
11333 case "$with_xim" in "" | "yes" ) 11339 case "$with_xim" in "" | "yes" )
11334 echo "checking for XIM" 1>&6 11340 echo "checking for XIM" 1>&6
11335 echo "configure:11336: checking for XIM" >&5 11341 echo "configure:11342: checking for XIM" >&5
11336 11342
11337 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11343 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11338 echo "configure:11339: checking for XOpenIM in -lX11" >&5 11344 echo "configure:11345: checking for XOpenIM in -lX11" >&5
11339 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11345 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11340 11346
11341 xe_check_libs=" -lX11 " 11347 xe_check_libs=" -lX11 "
11342 cat > conftest.$ac_ext <<EOF 11348 cat > conftest.$ac_ext <<EOF
11343 #line 11344 "configure" 11349 #line 11350 "configure"
11344 #include "confdefs.h" 11350 #include "confdefs.h"
11345 /* Override any gcc2 internal prototype to avoid an error. */ 11351 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2 11352 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */ 11353 builtin and then its argument prototype would still apply. */
11348 char XOpenIM(); 11354 char XOpenIM();
11349 11355
11350 int main() { 11356 int main() {
11351 XOpenIM() 11357 XOpenIM()
11352 ; return 0; } 11358 ; return 0; }
11353 EOF 11359 EOF
11354 if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11355 rm -rf conftest* 11361 rm -rf conftest*
11356 eval "ac_cv_lib_$ac_lib_var=yes" 11362 eval "ac_cv_lib_$ac_lib_var=yes"
11357 else 11363 else
11358 echo "configure: failed program was:" >&5 11364 echo "configure: failed program was:" >&5
11359 cat conftest.$ac_ext >&5 11365 cat conftest.$ac_ext >&5
11373 11379
11374 11380
11375 if test "$have_motif $have_lesstif" = "yes no"; then 11381 if test "$have_motif $have_lesstif" = "yes no"; then
11376 11382
11377 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11383 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11378 echo "configure:11379: checking for XmImMbLookupString in -lXm" >&5 11384 echo "configure:11385: checking for XmImMbLookupString in -lXm" >&5
11379 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11385 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11380 11386
11381 xe_check_libs=" -lXm " 11387 xe_check_libs=" -lXm "
11382 cat > conftest.$ac_ext <<EOF 11388 cat > conftest.$ac_ext <<EOF
11383 #line 11384 "configure" 11389 #line 11390 "configure"
11384 #include "confdefs.h" 11390 #include "confdefs.h"
11385 /* Override any gcc2 internal prototype to avoid an error. */ 11391 /* Override any gcc2 internal prototype to avoid an error. */
11386 /* We use char because int might match the return type of a gcc2 11392 /* We use char because int might match the return type of a gcc2
11387 builtin and then its argument prototype would still apply. */ 11393 builtin and then its argument prototype would still apply. */
11388 char XmImMbLookupString(); 11394 char XmImMbLookupString();
11389 11395
11390 int main() { 11396 int main() {
11391 XmImMbLookupString() 11397 XmImMbLookupString()
11392 ; return 0; } 11398 ; return 0; }
11393 EOF 11399 EOF
11394 if { (eval echo configure:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11400 if { (eval echo configure:11401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11395 rm -rf conftest* 11401 rm -rf conftest*
11396 eval "ac_cv_lib_$ac_lib_var=yes" 11402 eval "ac_cv_lib_$ac_lib_var=yes"
11397 else 11403 else
11398 echo "configure: failed program was:" >&5 11404 echo "configure: failed program was:" >&5
11399 cat conftest.$ac_ext >&5 11405 cat conftest.$ac_ext >&5
11454 fi 11460 fi
11455 fi 11461 fi
11456 11462
11457 if test "$with_xfs" = "yes" ; then 11463 if test "$with_xfs" = "yes" ; then
11458 echo "checking for XFontSet" 1>&6 11464 echo "checking for XFontSet" 1>&6
11459 echo "configure:11460: checking for XFontSet" >&5 11465 echo "configure:11466: checking for XFontSet" >&5
11460 11466
11461 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11467 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11462 echo "configure:11463: checking for XmbDrawString in -lX11" >&5 11468 echo "configure:11469: checking for XmbDrawString in -lX11" >&5
11463 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11469 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11464 11470
11465 xe_check_libs=" -lX11 " 11471 xe_check_libs=" -lX11 "
11466 cat > conftest.$ac_ext <<EOF 11472 cat > conftest.$ac_ext <<EOF
11467 #line 11468 "configure" 11473 #line 11474 "configure"
11468 #include "confdefs.h" 11474 #include "confdefs.h"
11469 /* Override any gcc2 internal prototype to avoid an error. */ 11475 /* Override any gcc2 internal prototype to avoid an error. */
11470 /* We use char because int might match the return type of a gcc2 11476 /* We use char because int might match the return type of a gcc2
11471 builtin and then its argument prototype would still apply. */ 11477 builtin and then its argument prototype would still apply. */
11472 char XmbDrawString(); 11478 char XmbDrawString();
11473 11479
11474 int main() { 11480 int main() {
11475 XmbDrawString() 11481 XmbDrawString()
11476 ; return 0; } 11482 ; return 0; }
11477 EOF 11483 EOF
11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11484 if { (eval echo configure:11485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11479 rm -rf conftest* 11485 rm -rf conftest*
11480 eval "ac_cv_lib_$ac_lib_var=yes" 11486 eval "ac_cv_lib_$ac_lib_var=yes"
11481 else 11487 else
11482 echo "configure: failed program was:" >&5 11488 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5 11489 cat conftest.$ac_ext >&5
11513 fi 11519 fi
11514 fi 11520 fi
11515 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11521 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11516 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11522 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11517 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11523 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11518 echo "configure:11519: checking for wnn/jllib.h" >&5 11524 echo "configure:11525: checking for wnn/jllib.h" >&5
11519 11525
11520 cat > conftest.$ac_ext <<EOF 11526 cat > conftest.$ac_ext <<EOF
11521 #line 11522 "configure" 11527 #line 11528 "configure"
11522 #include "confdefs.h" 11528 #include "confdefs.h"
11523 #include <wnn/jllib.h> 11529 #include <wnn/jllib.h>
11524 EOF 11530 EOF
11525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11526 { (eval echo configure:11527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11532 { (eval echo configure:11533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11528 if test -z "$ac_err"; then 11534 if test -z "$ac_err"; then
11529 rm -rf conftest* 11535 rm -rf conftest*
11530 eval "ac_cv_header_$ac_safe=yes" 11536 eval "ac_cv_header_$ac_safe=yes"
11531 else 11537 else
11544 with_wnn=no 11550 with_wnn=no
11545 fi 11551 fi
11546 } 11552 }
11547 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11553 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11548 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11554 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11549 echo "configure:11550: checking for wnn/commonhd.h" >&5 11555 echo "configure:11556: checking for wnn/commonhd.h" >&5
11550 11556
11551 cat > conftest.$ac_ext <<EOF 11557 cat > conftest.$ac_ext <<EOF
11552 #line 11553 "configure" 11558 #line 11559 "configure"
11553 #include "confdefs.h" 11559 #include "confdefs.h"
11554 #include <wnn/commonhd.h> 11560 #include <wnn/commonhd.h>
11555 EOF 11561 EOF
11556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11563 { (eval echo configure:11564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11559 if test -z "$ac_err"; then 11565 if test -z "$ac_err"; then
11560 rm -rf conftest* 11566 rm -rf conftest*
11561 eval "ac_cv_header_$ac_safe=yes" 11567 eval "ac_cv_header_$ac_safe=yes"
11562 else 11568 else
11577 } 11583 }
11578 if test "$with_wnn" != "no"; then 11584 if test "$with_wnn" != "no"; then
11579 for ac_func in crypt 11585 for ac_func in crypt
11580 do 11586 do
11581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11582 echo "configure:11583: checking for $ac_func" >&5 11588 echo "configure:11589: checking for $ac_func" >&5
11583 11589
11584 cat > conftest.$ac_ext <<EOF 11590 cat > conftest.$ac_ext <<EOF
11585 #line 11586 "configure" 11591 #line 11592 "configure"
11586 #include "confdefs.h" 11592 #include "confdefs.h"
11587 /* System header to define __stub macros and hopefully few prototypes, 11593 /* System header to define __stub macros and hopefully few prototypes,
11588 which can conflict with char $ac_func(); below. */ 11594 which can conflict with char $ac_func(); below. */
11589 #include <assert.h> 11595 #include <assert.h>
11590 /* Override any gcc2 internal prototype to avoid an error. */ 11596 /* Override any gcc2 internal prototype to avoid an error. */
11603 $ac_func(); 11609 $ac_func();
11604 #endif 11610 #endif
11605 11611
11606 ; return 0; } 11612 ; return 0; }
11607 EOF 11613 EOF
11608 if { (eval echo configure:11609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11614 if { (eval echo configure:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11609 rm -rf conftest* 11615 rm -rf conftest*
11610 eval "ac_cv_func_$ac_func=yes" 11616 eval "ac_cv_func_$ac_func=yes"
11611 else 11617 else
11612 echo "configure: failed program was:" >&5 11618 echo "configure: failed program was:" >&5
11613 cat conftest.$ac_ext >&5 11619 cat conftest.$ac_ext >&5
11632 fi 11638 fi
11633 done 11639 done
11634 11640
11635 test "$ac_cv_func_crypt" != "yes" && { 11641 test "$ac_cv_func_crypt" != "yes" && {
11636 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11642 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11637 echo "configure:11638: checking for crypt in -lcrypt" >&5 11643 echo "configure:11644: checking for crypt in -lcrypt" >&5
11638 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11644 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11639 11645
11640 xe_check_libs=" -lcrypt " 11646 xe_check_libs=" -lcrypt "
11641 cat > conftest.$ac_ext <<EOF 11647 cat > conftest.$ac_ext <<EOF
11642 #line 11643 "configure" 11648 #line 11649 "configure"
11643 #include "confdefs.h" 11649 #include "confdefs.h"
11644 /* Override any gcc2 internal prototype to avoid an error. */ 11650 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2 11651 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */ 11652 builtin and then its argument prototype would still apply. */
11647 char crypt(); 11653 char crypt();
11648 11654
11649 int main() { 11655 int main() {
11650 crypt() 11656 crypt()
11651 ; return 0; } 11657 ; return 0; }
11652 EOF 11658 EOF
11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11659 if { (eval echo configure:11660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11654 rm -rf conftest* 11660 rm -rf conftest*
11655 eval "ac_cv_lib_$ac_lib_var=yes" 11661 eval "ac_cv_lib_$ac_lib_var=yes"
11656 else 11662 else
11657 echo "configure: failed program was:" >&5 11663 echo "configure: failed program was:" >&5
11658 cat conftest.$ac_ext >&5 11664 cat conftest.$ac_ext >&5
11683 } 11689 }
11684 fi 11690 fi
11685 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11691 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11686 11692
11687 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11693 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11688 echo "configure:11689: checking for jl_dic_list_e in -lwnn" >&5 11694 echo "configure:11695: checking for jl_dic_list_e in -lwnn" >&5
11689 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11695 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11690 11696
11691 xe_check_libs=" -lwnn " 11697 xe_check_libs=" -lwnn "
11692 cat > conftest.$ac_ext <<EOF 11698 cat > conftest.$ac_ext <<EOF
11693 #line 11694 "configure" 11699 #line 11700 "configure"
11694 #include "confdefs.h" 11700 #include "confdefs.h"
11695 /* Override any gcc2 internal prototype to avoid an error. */ 11701 /* Override any gcc2 internal prototype to avoid an error. */
11696 /* We use char because int might match the return type of a gcc2 11702 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */ 11703 builtin and then its argument prototype would still apply. */
11698 char jl_dic_list_e(); 11704 char jl_dic_list_e();
11699 11705
11700 int main() { 11706 int main() {
11701 jl_dic_list_e() 11707 jl_dic_list_e()
11702 ; return 0; } 11708 ; return 0; }
11703 EOF 11709 EOF
11704 if { (eval echo configure:11705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11705 rm -rf conftest* 11711 rm -rf conftest*
11706 eval "ac_cv_lib_$ac_lib_var=yes" 11712 eval "ac_cv_lib_$ac_lib_var=yes"
11707 else 11713 else
11708 echo "configure: failed program was:" >&5 11714 echo "configure: failed program was:" >&5
11709 cat conftest.$ac_ext >&5 11715 cat conftest.$ac_ext >&5
11717 echo "$ac_t""yes" 1>&6 11723 echo "$ac_t""yes" 1>&6
11718 libwnn=wnn 11724 libwnn=wnn
11719 else 11725 else
11720 echo "$ac_t""no" 1>&6 11726 echo "$ac_t""no" 1>&6
11721 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11727 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11722 echo "configure:11723: checking for jl_dic_list_e in -lwnn4" >&5 11728 echo "configure:11729: checking for jl_dic_list_e in -lwnn4" >&5
11723 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11729 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11724 11730
11725 xe_check_libs=" -lwnn4 " 11731 xe_check_libs=" -lwnn4 "
11726 cat > conftest.$ac_ext <<EOF 11732 cat > conftest.$ac_ext <<EOF
11727 #line 11728 "configure" 11733 #line 11734 "configure"
11728 #include "confdefs.h" 11734 #include "confdefs.h"
11729 /* Override any gcc2 internal prototype to avoid an error. */ 11735 /* Override any gcc2 internal prototype to avoid an error. */
11730 /* We use char because int might match the return type of a gcc2 11736 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */ 11737 builtin and then its argument prototype would still apply. */
11732 char jl_dic_list_e(); 11738 char jl_dic_list_e();
11733 11739
11734 int main() { 11740 int main() {
11735 jl_dic_list_e() 11741 jl_dic_list_e()
11736 ; return 0; } 11742 ; return 0; }
11737 EOF 11743 EOF
11738 if { (eval echo configure:11739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11739 rm -rf conftest* 11745 rm -rf conftest*
11740 eval "ac_cv_lib_$ac_lib_var=yes" 11746 eval "ac_cv_lib_$ac_lib_var=yes"
11741 else 11747 else
11742 echo "configure: failed program was:" >&5 11748 echo "configure: failed program was:" >&5
11743 cat conftest.$ac_ext >&5 11749 cat conftest.$ac_ext >&5
11751 echo "$ac_t""yes" 1>&6 11757 echo "$ac_t""yes" 1>&6
11752 libwnn=wnn4 11758 libwnn=wnn4
11753 else 11759 else
11754 echo "$ac_t""no" 1>&6 11760 echo "$ac_t""no" 1>&6
11755 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11761 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11756 echo "configure:11757: checking for jl_dic_list_e in -lwnn6" >&5 11762 echo "configure:11763: checking for jl_dic_list_e in -lwnn6" >&5
11757 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11763 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11758 11764
11759 xe_check_libs=" -lwnn6 " 11765 xe_check_libs=" -lwnn6 "
11760 cat > conftest.$ac_ext <<EOF 11766 cat > conftest.$ac_ext <<EOF
11761 #line 11762 "configure" 11767 #line 11768 "configure"
11762 #include "confdefs.h" 11768 #include "confdefs.h"
11763 /* Override any gcc2 internal prototype to avoid an error. */ 11769 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2 11770 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */ 11771 builtin and then its argument prototype would still apply. */
11766 char jl_dic_list_e(); 11772 char jl_dic_list_e();
11767 11773
11768 int main() { 11774 int main() {
11769 jl_dic_list_e() 11775 jl_dic_list_e()
11770 ; return 0; } 11776 ; return 0; }
11771 EOF 11777 EOF
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11778 if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11773 rm -rf conftest* 11779 rm -rf conftest*
11774 eval "ac_cv_lib_$ac_lib_var=yes" 11780 eval "ac_cv_lib_$ac_lib_var=yes"
11775 else 11781 else
11776 echo "configure: failed program was:" >&5 11782 echo "configure: failed program was:" >&5
11777 cat conftest.$ac_ext >&5 11783 cat conftest.$ac_ext >&5
11785 echo "$ac_t""yes" 1>&6 11791 echo "$ac_t""yes" 1>&6
11786 libwnn=wnn6 11792 libwnn=wnn6
11787 else 11793 else
11788 echo "$ac_t""no" 1>&6 11794 echo "$ac_t""no" 1>&6
11789 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11795 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11790 echo "configure:11791: checking for dic_list_e in -lwnn6_fromsrc" >&5 11796 echo "configure:11797: checking for dic_list_e in -lwnn6_fromsrc" >&5
11791 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11797 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11792 11798
11793 xe_check_libs=" -lwnn6_fromsrc " 11799 xe_check_libs=" -lwnn6_fromsrc "
11794 cat > conftest.$ac_ext <<EOF 11800 cat > conftest.$ac_ext <<EOF
11795 #line 11796 "configure" 11801 #line 11802 "configure"
11796 #include "confdefs.h" 11802 #include "confdefs.h"
11797 /* Override any gcc2 internal prototype to avoid an error. */ 11803 /* Override any gcc2 internal prototype to avoid an error. */
11798 /* We use char because int might match the return type of a gcc2 11804 /* We use char because int might match the return type of a gcc2
11799 builtin and then its argument prototype would still apply. */ 11805 builtin and then its argument prototype would still apply. */
11800 char dic_list_e(); 11806 char dic_list_e();
11801 11807
11802 int main() { 11808 int main() {
11803 dic_list_e() 11809 dic_list_e()
11804 ; return 0; } 11810 ; return 0; }
11805 EOF 11811 EOF
11806 if { (eval echo configure:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11812 if { (eval echo configure:11813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11807 rm -rf conftest* 11813 rm -rf conftest*
11808 eval "ac_cv_lib_$ac_lib_var=yes" 11814 eval "ac_cv_lib_$ac_lib_var=yes"
11809 else 11815 else
11810 echo "configure: failed program was:" >&5 11816 echo "configure: failed program was:" >&5
11811 cat conftest.$ac_ext >&5 11817 cat conftest.$ac_ext >&5
11846 11852
11847 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11853 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11848 if test "$with_wnn6" != "no"; then 11854 if test "$with_wnn6" != "no"; then
11849 11855
11850 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11856 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11851 echo "configure:11852: checking for jl_fi_dic_list in -l$libwnn" >&5 11857 echo "configure:11858: checking for jl_fi_dic_list in -l$libwnn" >&5
11852 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11858 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11853 11859
11854 xe_check_libs=" -l$libwnn " 11860 xe_check_libs=" -l$libwnn "
11855 cat > conftest.$ac_ext <<EOF 11861 cat > conftest.$ac_ext <<EOF
11856 #line 11857 "configure" 11862 #line 11863 "configure"
11857 #include "confdefs.h" 11863 #include "confdefs.h"
11858 /* Override any gcc2 internal prototype to avoid an error. */ 11864 /* Override any gcc2 internal prototype to avoid an error. */
11859 /* We use char because int might match the return type of a gcc2 11865 /* We use char because int might match the return type of a gcc2
11860 builtin and then its argument prototype would still apply. */ 11866 builtin and then its argument prototype would still apply. */
11861 char jl_fi_dic_list(); 11867 char jl_fi_dic_list();
11862 11868
11863 int main() { 11869 int main() {
11864 jl_fi_dic_list() 11870 jl_fi_dic_list()
11865 ; return 0; } 11871 ; return 0; }
11866 EOF 11872 EOF
11867 if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11873 if { (eval echo configure:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11868 rm -rf conftest* 11874 rm -rf conftest*
11869 eval "ac_cv_lib_$ac_lib_var=yes" 11875 eval "ac_cv_lib_$ac_lib_var=yes"
11870 else 11876 else
11871 echo "configure: failed program was:" >&5 11877 echo "configure: failed program was:" >&5
11872 cat conftest.$ac_ext >&5 11878 cat conftest.$ac_ext >&5
11897 11903
11898 canna_includes_found=no 11904 canna_includes_found=no
11899 if test "$with_canna" != "no"; then 11905 if test "$with_canna" != "no"; then
11900 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11906 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11901 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11907 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11902 echo "configure:11903: checking for canna/jrkanji.h" >&5 11908 echo "configure:11909: checking for canna/jrkanji.h" >&5
11903 11909
11904 cat > conftest.$ac_ext <<EOF 11910 cat > conftest.$ac_ext <<EOF
11905 #line 11906 "configure" 11911 #line 11912 "configure"
11906 #include "confdefs.h" 11912 #include "confdefs.h"
11907 #include <canna/jrkanji.h> 11913 #include <canna/jrkanji.h>
11908 EOF 11914 EOF
11909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11910 { (eval echo configure:11911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11916 { (eval echo configure:11917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11912 if test -z "$ac_err"; then 11918 if test -z "$ac_err"; then
11913 rm -rf conftest* 11919 rm -rf conftest*
11914 eval "ac_cv_header_$ac_safe=yes" 11920 eval "ac_cv_header_$ac_safe=yes"
11915 else 11921 else
11932 -d "/usr/local/canna/include"; then 11938 -d "/usr/local/canna/include"; then
11933 save_c_switch_site="$c_switch_site" 11939 save_c_switch_site="$c_switch_site"
11934 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11940 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11935 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11941 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11936 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11942 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11937 echo "configure:11938: checking for canna/jrkanji.h" >&5 11943 echo "configure:11944: checking for canna/jrkanji.h" >&5
11938 11944
11939 cat > conftest.$ac_ext <<EOF 11945 cat > conftest.$ac_ext <<EOF
11940 #line 11941 "configure" 11946 #line 11947 "configure"
11941 #include "confdefs.h" 11947 #include "confdefs.h"
11942 #include <canna/jrkanji.h> 11948 #include <canna/jrkanji.h>
11943 EOF 11949 EOF
11944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11945 { (eval echo configure:11946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11951 { (eval echo configure:11952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11947 if test -z "$ac_err"; then 11953 if test -z "$ac_err"; then
11948 rm -rf conftest* 11954 rm -rf conftest*
11949 eval "ac_cv_header_$ac_safe=yes" 11955 eval "ac_cv_header_$ac_safe=yes"
11950 else 11956 else
11968 fi 11974 fi
11969 fi 11975 fi
11970 11976
11971 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 11977 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
11972 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 11978 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
11973 echo "configure:11974: checking for canna/RK.h" >&5 11979 echo "configure:11980: checking for canna/RK.h" >&5
11974 11980
11975 cat > conftest.$ac_ext <<EOF 11981 cat > conftest.$ac_ext <<EOF
11976 #line 11977 "configure" 11982 #line 11983 "configure"
11977 #include "confdefs.h" 11983 #include "confdefs.h"
11978 #include <canna/RK.h> 11984 #include <canna/RK.h>
11979 EOF 11985 EOF
11980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11981 { (eval echo configure:11982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11987 { (eval echo configure:11988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11983 if test -z "$ac_err"; then 11989 if test -z "$ac_err"; then
11984 rm -rf conftest* 11990 rm -rf conftest*
11985 eval "ac_cv_header_$ac_safe=yes" 11991 eval "ac_cv_header_$ac_safe=yes"
11986 else 11992 else
11999 with_canna=no 12005 with_canna=no
12000 fi 12006 fi
12001 } 12007 }
12002 test -z "$with_canna" && { 12008 test -z "$with_canna" && {
12003 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12009 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12004 echo "configure:12005: checking for RkBgnBun in -lRKC" >&5 12010 echo "configure:12011: checking for RkBgnBun in -lRKC" >&5
12005 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12011 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12006 12012
12007 xe_check_libs=" -lRKC " 12013 xe_check_libs=" -lRKC "
12008 cat > conftest.$ac_ext <<EOF 12014 cat > conftest.$ac_ext <<EOF
12009 #line 12010 "configure" 12015 #line 12016 "configure"
12010 #include "confdefs.h" 12016 #include "confdefs.h"
12011 /* Override any gcc2 internal prototype to avoid an error. */ 12017 /* Override any gcc2 internal prototype to avoid an error. */
12012 /* We use char because int might match the return type of a gcc2 12018 /* We use char because int might match the return type of a gcc2
12013 builtin and then its argument prototype would still apply. */ 12019 builtin and then its argument prototype would still apply. */
12014 char RkBgnBun(); 12020 char RkBgnBun();
12015 12021
12016 int main() { 12022 int main() {
12017 RkBgnBun() 12023 RkBgnBun()
12018 ; return 0; } 12024 ; return 0; }
12019 EOF 12025 EOF
12020 if { (eval echo configure:12021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12026 if { (eval echo configure:12027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12021 rm -rf conftest* 12027 rm -rf conftest*
12022 eval "ac_cv_lib_$ac_lib_var=yes" 12028 eval "ac_cv_lib_$ac_lib_var=yes"
12023 else 12029 else
12024 echo "configure: failed program was:" >&5 12030 echo "configure: failed program was:" >&5
12025 cat conftest.$ac_ext >&5 12031 cat conftest.$ac_ext >&5
12038 fi 12044 fi
12039 12045
12040 } 12046 }
12041 test -z "$with_canna" && { 12047 test -z "$with_canna" && {
12042 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12048 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12043 echo "configure:12044: checking for jrKanjiControl in -lcanna" >&5 12049 echo "configure:12050: checking for jrKanjiControl in -lcanna" >&5
12044 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12050 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12045 12051
12046 xe_check_libs=" -lcanna " 12052 xe_check_libs=" -lcanna "
12047 cat > conftest.$ac_ext <<EOF 12053 cat > conftest.$ac_ext <<EOF
12048 #line 12049 "configure" 12054 #line 12055 "configure"
12049 #include "confdefs.h" 12055 #include "confdefs.h"
12050 /* Override any gcc2 internal prototype to avoid an error. */ 12056 /* Override any gcc2 internal prototype to avoid an error. */
12051 /* We use char because int might match the return type of a gcc2 12057 /* We use char because int might match the return type of a gcc2
12052 builtin and then its argument prototype would still apply. */ 12058 builtin and then its argument prototype would still apply. */
12053 char jrKanjiControl(); 12059 char jrKanjiControl();
12054 12060
12055 int main() { 12061 int main() {
12056 jrKanjiControl() 12062 jrKanjiControl()
12057 ; return 0; } 12063 ; return 0; }
12058 EOF 12064 EOF
12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12065 if { (eval echo configure:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12060 rm -rf conftest* 12066 rm -rf conftest*
12061 eval "ac_cv_lib_$ac_lib_var=yes" 12067 eval "ac_cv_lib_$ac_lib_var=yes"
12062 else 12068 else
12063 echo "configure: failed program was:" >&5 12069 echo "configure: failed program was:" >&5
12064 cat conftest.$ac_ext >&5 12070 cat conftest.$ac_ext >&5
12100 12106
12101 if test "$need_motif" = "yes" ; then 12107 if test "$need_motif" = "yes" ; then
12102 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12108 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12103 12109
12104 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12110 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12105 echo "configure:12106: checking for layout_object_getvalue in -li18n" >&5 12111 echo "configure:12112: checking for layout_object_getvalue in -li18n" >&5
12106 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12112 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12107 12113
12108 xe_check_libs=" -li18n " 12114 xe_check_libs=" -li18n "
12109 cat > conftest.$ac_ext <<EOF 12115 cat > conftest.$ac_ext <<EOF
12110 #line 12111 "configure" 12116 #line 12117 "configure"
12111 #include "confdefs.h" 12117 #include "confdefs.h"
12112 /* Override any gcc2 internal prototype to avoid an error. */ 12118 /* Override any gcc2 internal prototype to avoid an error. */
12113 /* We use char because int might match the return type of a gcc2 12119 /* We use char because int might match the return type of a gcc2
12114 builtin and then its argument prototype would still apply. */ 12120 builtin and then its argument prototype would still apply. */
12115 char layout_object_getvalue(); 12121 char layout_object_getvalue();
12116 12122
12117 int main() { 12123 int main() {
12118 layout_object_getvalue() 12124 layout_object_getvalue()
12119 ; return 0; } 12125 ; return 0; }
12120 EOF 12126 EOF
12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12127 if { (eval echo configure:12128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12122 rm -rf conftest* 12128 rm -rf conftest*
12123 eval "ac_cv_lib_$ac_lib_var=yes" 12129 eval "ac_cv_lib_$ac_lib_var=yes"
12124 else 12130 else
12125 echo "configure: failed program was:" >&5 12131 echo "configure: failed program was:" >&5
12126 cat conftest.$ac_ext >&5 12132 cat conftest.$ac_ext >&5
12203 12209
12204 12210
12205 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize getrlimit 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 vlimit 12211 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize getrlimit 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 vlimit
12206 do 12212 do
12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12208 echo "configure:12209: checking for $ac_func" >&5 12214 echo "configure:12215: checking for $ac_func" >&5
12209 12215
12210 cat > conftest.$ac_ext <<EOF 12216 cat > conftest.$ac_ext <<EOF
12211 #line 12212 "configure" 12217 #line 12218 "configure"
12212 #include "confdefs.h" 12218 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes, 12219 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func(); below. */ 12220 which can conflict with char $ac_func(); below. */
12215 #include <assert.h> 12221 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */ 12222 /* Override any gcc2 internal prototype to avoid an error. */
12229 $ac_func(); 12235 $ac_func();
12230 #endif 12236 #endif
12231 12237
12232 ; return 0; } 12238 ; return 0; }
12233 EOF 12239 EOF
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12240 if { (eval echo configure:12241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12235 rm -rf conftest* 12241 rm -rf conftest*
12236 eval "ac_cv_func_$ac_func=yes" 12242 eval "ac_cv_func_$ac_func=yes"
12237 else 12243 else
12238 echo "configure: failed program was:" >&5 12244 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5 12245 cat conftest.$ac_ext >&5
12270 12276
12271 12277
12272 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12278 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12273 do 12279 do
12274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12275 echo "configure:12276: checking for $ac_func" >&5 12281 echo "configure:12282: checking for $ac_func" >&5
12276 12282
12277 cat > conftest.$ac_ext <<EOF 12283 cat > conftest.$ac_ext <<EOF
12278 #line 12279 "configure" 12284 #line 12285 "configure"
12279 #include "confdefs.h" 12285 #include "confdefs.h"
12280 /* System header to define __stub macros and hopefully few prototypes, 12286 /* System header to define __stub macros and hopefully few prototypes,
12281 which can conflict with char $ac_func(); below. */ 12287 which can conflict with char $ac_func(); below. */
12282 #include <assert.h> 12288 #include <assert.h>
12283 /* Override any gcc2 internal prototype to avoid an error. */ 12289 /* Override any gcc2 internal prototype to avoid an error. */
12296 $ac_func(); 12302 $ac_func();
12297 #endif 12303 #endif
12298 12304
12299 ; return 0; } 12305 ; return 0; }
12300 EOF 12306 EOF
12301 if { (eval echo configure:12302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12307 if { (eval echo configure:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12302 rm -rf conftest* 12308 rm -rf conftest*
12303 eval "ac_cv_func_$ac_func=yes" 12309 eval "ac_cv_func_$ac_func=yes"
12304 else 12310 else
12305 echo "configure: failed program was:" >&5 12311 echo "configure: failed program was:" >&5
12306 cat conftest.$ac_ext >&5 12312 cat conftest.$ac_ext >&5
12325 fi 12331 fi
12326 done 12332 done
12327 12333
12328 12334
12329 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12335 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12330 echo "configure:12331: checking for openpty" >&5 12336 echo "configure:12337: checking for openpty" >&5
12331 12337
12332 cat > conftest.$ac_ext <<EOF 12338 cat > conftest.$ac_ext <<EOF
12333 #line 12334 "configure" 12339 #line 12340 "configure"
12334 #include "confdefs.h" 12340 #include "confdefs.h"
12335 /* System header to define __stub macros and hopefully few prototypes, 12341 /* System header to define __stub macros and hopefully few prototypes,
12336 which can conflict with char openpty(); below. */ 12342 which can conflict with char openpty(); below. */
12337 #include <assert.h> 12343 #include <assert.h>
12338 /* Override any gcc2 internal prototype to avoid an error. */ 12344 /* Override any gcc2 internal prototype to avoid an error. */
12351 openpty(); 12357 openpty();
12352 #endif 12358 #endif
12353 12359
12354 ; return 0; } 12360 ; return 0; }
12355 EOF 12361 EOF
12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12362 if { (eval echo configure:12363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12357 rm -rf conftest* 12363 rm -rf conftest*
12358 eval "ac_cv_func_openpty=yes" 12364 eval "ac_cv_func_openpty=yes"
12359 else 12365 else
12360 echo "configure: failed program was:" >&5 12366 echo "configure: failed program was:" >&5
12361 cat conftest.$ac_ext >&5 12367 cat conftest.$ac_ext >&5
12370 else 12376 else
12371 echo "$ac_t""no" 1>&6 12377 echo "$ac_t""no" 1>&6
12372 12378
12373 12379
12374 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12380 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12375 echo "configure:12376: checking for openpty in -lutil" >&5 12381 echo "configure:12382: checking for openpty in -lutil" >&5
12376 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12382 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12377 12383
12378 xe_check_libs=" -lutil " 12384 xe_check_libs=" -lutil "
12379 cat > conftest.$ac_ext <<EOF 12385 cat > conftest.$ac_ext <<EOF
12380 #line 12381 "configure" 12386 #line 12387 "configure"
12381 #include "confdefs.h" 12387 #include "confdefs.h"
12382 /* Override any gcc2 internal prototype to avoid an error. */ 12388 /* Override any gcc2 internal prototype to avoid an error. */
12383 /* We use char because int might match the return type of a gcc2 12389 /* We use char because int might match the return type of a gcc2
12384 builtin and then its argument prototype would still apply. */ 12390 builtin and then its argument prototype would still apply. */
12385 char openpty(); 12391 char openpty();
12386 12392
12387 int main() { 12393 int main() {
12388 openpty() 12394 openpty()
12389 ; return 0; } 12395 ; return 0; }
12390 EOF 12396 EOF
12391 if { (eval echo configure:12392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12397 if { (eval echo configure:12398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12392 rm -rf conftest* 12398 rm -rf conftest*
12393 eval "ac_cv_lib_$ac_lib_var=yes" 12399 eval "ac_cv_lib_$ac_lib_var=yes"
12394 else 12400 else
12395 echo "configure: failed program was:" >&5 12401 echo "configure: failed program was:" >&5
12396 cat conftest.$ac_ext >&5 12402 cat conftest.$ac_ext >&5
12421 12427
12422 for ac_hdr in libutil.h util.h 12428 for ac_hdr in libutil.h util.h
12423 do 12429 do
12424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12426 echo "configure:12427: checking for $ac_hdr" >&5 12432 echo "configure:12433: checking for $ac_hdr" >&5
12427 12433
12428 cat > conftest.$ac_ext <<EOF 12434 cat > conftest.$ac_ext <<EOF
12429 #line 12430 "configure" 12435 #line 12436 "configure"
12430 #include "confdefs.h" 12436 #include "confdefs.h"
12431 #include <$ac_hdr> 12437 #include <$ac_hdr>
12432 EOF 12438 EOF
12433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12434 { (eval echo configure:12435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12440 { (eval echo configure:12441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12436 if test -z "$ac_err"; then 12442 if test -z "$ac_err"; then
12437 rm -rf conftest* 12443 rm -rf conftest*
12438 eval "ac_cv_header_$ac_safe=yes" 12444 eval "ac_cv_header_$ac_safe=yes"
12439 else 12445 else
12466 case "$opsys" in 12472 case "$opsys" in
12467 hpux*) for ac_hdr in sys/ptyio.h 12473 hpux*) for ac_hdr in sys/ptyio.h
12468 do 12474 do
12469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12471 echo "configure:12472: checking for $ac_hdr" >&5 12477 echo "configure:12478: checking for $ac_hdr" >&5
12472 12478
12473 cat > conftest.$ac_ext <<EOF 12479 cat > conftest.$ac_ext <<EOF
12474 #line 12475 "configure" 12480 #line 12481 "configure"
12475 #include "confdefs.h" 12481 #include "confdefs.h"
12476 #include <$ac_hdr> 12482 #include <$ac_hdr>
12477 EOF 12483 EOF
12478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12479 { (eval echo configure:12480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12485 { (eval echo configure:12486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12481 if test -z "$ac_err"; then 12487 if test -z "$ac_err"; then
12482 rm -rf conftest* 12488 rm -rf conftest*
12483 eval "ac_cv_header_$ac_safe=yes" 12489 eval "ac_cv_header_$ac_safe=yes"
12484 else 12490 else
12507 ;; 12513 ;;
12508 *) for ac_hdr in pty.h 12514 *) for ac_hdr in pty.h
12509 do 12515 do
12510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12516 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12512 echo "configure:12513: checking for $ac_hdr" >&5 12518 echo "configure:12519: checking for $ac_hdr" >&5
12513 12519
12514 cat > conftest.$ac_ext <<EOF 12520 cat > conftest.$ac_ext <<EOF
12515 #line 12516 "configure" 12521 #line 12522 "configure"
12516 #include "confdefs.h" 12522 #include "confdefs.h"
12517 #include <$ac_hdr> 12523 #include <$ac_hdr>
12518 EOF 12524 EOF
12519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12520 { (eval echo configure:12521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12526 { (eval echo configure:12527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12522 if test -z "$ac_err"; then 12528 if test -z "$ac_err"; then
12523 rm -rf conftest* 12529 rm -rf conftest*
12524 eval "ac_cv_header_$ac_safe=yes" 12530 eval "ac_cv_header_$ac_safe=yes"
12525 else 12531 else
12548 12554
12549 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12555 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12550 do 12556 do
12551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12557 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12558 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12553 echo "configure:12554: checking for $ac_hdr" >&5 12559 echo "configure:12560: checking for $ac_hdr" >&5
12554 12560
12555 cat > conftest.$ac_ext <<EOF 12561 cat > conftest.$ac_ext <<EOF
12556 #line 12557 "configure" 12562 #line 12563 "configure"
12557 #include "confdefs.h" 12563 #include "confdefs.h"
12558 #include <$ac_hdr> 12564 #include <$ac_hdr>
12559 EOF 12565 EOF
12560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12561 { (eval echo configure:12562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12567 { (eval echo configure:12568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12563 if test -z "$ac_err"; then 12569 if test -z "$ac_err"; then
12564 rm -rf conftest* 12570 rm -rf conftest*
12565 eval "ac_cv_header_$ac_safe=yes" 12571 eval "ac_cv_header_$ac_safe=yes"
12566 else 12572 else
12592 12598
12593 for ac_hdr in stropts.h 12599 for ac_hdr in stropts.h
12594 do 12600 do
12595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12601 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12597 echo "configure:12598: checking for $ac_hdr" >&5 12603 echo "configure:12604: checking for $ac_hdr" >&5
12598 12604
12599 cat > conftest.$ac_ext <<EOF 12605 cat > conftest.$ac_ext <<EOF
12600 #line 12601 "configure" 12606 #line 12607 "configure"
12601 #include "confdefs.h" 12607 #include "confdefs.h"
12602 #include <$ac_hdr> 12608 #include <$ac_hdr>
12603 EOF 12609 EOF
12604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12605 { (eval echo configure:12606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12611 { (eval echo configure:12612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12607 if test -z "$ac_err"; then 12613 if test -z "$ac_err"; then
12608 rm -rf conftest* 12614 rm -rf conftest*
12609 eval "ac_cv_header_$ac_safe=yes" 12615 eval "ac_cv_header_$ac_safe=yes"
12610 else 12616 else
12633 12639
12634 if test "$ac_cv_header_stropts_h" = "yes"; then 12640 if test "$ac_cv_header_stropts_h" = "yes"; then
12635 for ac_func in isastream 12641 for ac_func in isastream
12636 do 12642 do
12637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12638 echo "configure:12639: checking for $ac_func" >&5 12644 echo "configure:12645: checking for $ac_func" >&5
12639 12645
12640 cat > conftest.$ac_ext <<EOF 12646 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure" 12647 #line 12648 "configure"
12642 #include "confdefs.h" 12648 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes, 12649 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char $ac_func(); below. */ 12650 which can conflict with char $ac_func(); below. */
12645 #include <assert.h> 12651 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */ 12652 /* Override any gcc2 internal prototype to avoid an error. */
12659 $ac_func(); 12665 $ac_func();
12660 #endif 12666 #endif
12661 12667
12662 ; return 0; } 12668 ; return 0; }
12663 EOF 12669 EOF
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12670 if { (eval echo configure:12671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12665 rm -rf conftest* 12671 rm -rf conftest*
12666 eval "ac_cv_func_$ac_func=yes" 12672 eval "ac_cv_func_$ac_func=yes"
12667 else 12673 else
12668 echo "configure: failed program was:" >&5 12674 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5 12675 cat conftest.$ac_ext >&5
12690 12696
12691 for ac_hdr in strtio.h 12697 for ac_hdr in strtio.h
12692 do 12698 do
12693 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12699 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12694 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12695 echo "configure:12696: checking for $ac_hdr" >&5 12701 echo "configure:12702: checking for $ac_hdr" >&5
12696 12702
12697 cat > conftest.$ac_ext <<EOF 12703 cat > conftest.$ac_ext <<EOF
12698 #line 12699 "configure" 12704 #line 12705 "configure"
12699 #include "confdefs.h" 12705 #include "confdefs.h"
12700 #include <$ac_hdr> 12706 #include <$ac_hdr>
12701 EOF 12707 EOF
12702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12703 { (eval echo configure:12704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12709 { (eval echo configure:12710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12705 if test -z "$ac_err"; then 12711 if test -z "$ac_err"; then
12706 rm -rf conftest* 12712 rm -rf conftest*
12707 eval "ac_cv_header_$ac_safe=yes" 12713 eval "ac_cv_header_$ac_safe=yes"
12708 else 12714 else
12731 fi 12737 fi
12732 12738
12733 for ac_func in getloadavg 12739 for ac_func in getloadavg
12734 do 12740 do
12735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12736 echo "configure:12737: checking for $ac_func" >&5 12742 echo "configure:12743: checking for $ac_func" >&5
12737 12743
12738 cat > conftest.$ac_ext <<EOF 12744 cat > conftest.$ac_ext <<EOF
12739 #line 12740 "configure" 12745 #line 12746 "configure"
12740 #include "confdefs.h" 12746 #include "confdefs.h"
12741 /* System header to define __stub macros and hopefully few prototypes, 12747 /* System header to define __stub macros and hopefully few prototypes,
12742 which can conflict with char $ac_func(); below. */ 12748 which can conflict with char $ac_func(); below. */
12743 #include <assert.h> 12749 #include <assert.h>
12744 /* Override any gcc2 internal prototype to avoid an error. */ 12750 /* Override any gcc2 internal prototype to avoid an error. */
12757 $ac_func(); 12763 $ac_func();
12758 #endif 12764 #endif
12759 12765
12760 ; return 0; } 12766 ; return 0; }
12761 EOF 12767 EOF
12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12768 if { (eval echo configure:12769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12763 rm -rf conftest* 12769 rm -rf conftest*
12764 eval "ac_cv_func_$ac_func=yes" 12770 eval "ac_cv_func_$ac_func=yes"
12765 else 12771 else
12766 echo "configure: failed program was:" >&5 12772 echo "configure: failed program was:" >&5
12767 cat conftest.$ac_ext >&5 12773 cat conftest.$ac_ext >&5
12790 if test "$ac_cv_func_getloadavg" = "yes"; then 12796 if test "$ac_cv_func_getloadavg" = "yes"; then
12791 for ac_hdr in sys/loadavg.h 12797 for ac_hdr in sys/loadavg.h
12792 do 12798 do
12793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12795 echo "configure:12796: checking for $ac_hdr" >&5 12801 echo "configure:12802: checking for $ac_hdr" >&5
12796 12802
12797 cat > conftest.$ac_ext <<EOF 12803 cat > conftest.$ac_ext <<EOF
12798 #line 12799 "configure" 12804 #line 12805 "configure"
12799 #include "confdefs.h" 12805 #include "confdefs.h"
12800 #include <$ac_hdr> 12806 #include <$ac_hdr>
12801 EOF 12807 EOF
12802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12809 { (eval echo configure:12810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12805 if test -z "$ac_err"; then 12811 if test -z "$ac_err"; then
12806 rm -rf conftest* 12812 rm -rf conftest*
12807 eval "ac_cv_header_$ac_safe=yes" 12813 eval "ac_cv_header_$ac_safe=yes"
12808 else 12814 else
12834 echo " xemacs will be linked with \"getloadavg.o\"" 12840 echo " xemacs will be linked with \"getloadavg.o\""
12835 fi 12841 fi
12836 12842
12837 12843
12838 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12844 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12839 echo "configure:12840: checking for kstat_open in -lkstat" >&5 12845 echo "configure:12846: checking for kstat_open in -lkstat" >&5
12840 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12846 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12841 12847
12842 xe_check_libs=" -lkstat " 12848 xe_check_libs=" -lkstat "
12843 cat > conftest.$ac_ext <<EOF 12849 cat > conftest.$ac_ext <<EOF
12844 #line 12845 "configure" 12850 #line 12851 "configure"
12845 #include "confdefs.h" 12851 #include "confdefs.h"
12846 /* Override any gcc2 internal prototype to avoid an error. */ 12852 /* Override any gcc2 internal prototype to avoid an error. */
12847 /* We use char because int might match the return type of a gcc2 12853 /* We use char because int might match the return type of a gcc2
12848 builtin and then its argument prototype would still apply. */ 12854 builtin and then its argument prototype would still apply. */
12849 char kstat_open(); 12855 char kstat_open();
12850 12856
12851 int main() { 12857 int main() {
12852 kstat_open() 12858 kstat_open()
12853 ; return 0; } 12859 ; return 0; }
12854 EOF 12860 EOF
12855 if { (eval echo configure:12856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12861 if { (eval echo configure:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12856 rm -rf conftest* 12862 rm -rf conftest*
12857 eval "ac_cv_lib_$ac_lib_var=yes" 12863 eval "ac_cv_lib_$ac_lib_var=yes"
12858 else 12864 else
12859 echo "configure: failed program was:" >&5 12865 echo "configure: failed program was:" >&5
12860 cat conftest.$ac_ext >&5 12866 cat conftest.$ac_ext >&5
12885 12891
12886 for ac_hdr in kstat.h 12892 for ac_hdr in kstat.h
12887 do 12893 do
12888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12894 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12895 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12890 echo "configure:12891: checking for $ac_hdr" >&5 12896 echo "configure:12897: checking for $ac_hdr" >&5
12891 12897
12892 cat > conftest.$ac_ext <<EOF 12898 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure" 12899 #line 12900 "configure"
12894 #include "confdefs.h" 12900 #include "confdefs.h"
12895 #include <$ac_hdr> 12901 #include <$ac_hdr>
12896 EOF 12902 EOF
12897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12898 { (eval echo configure:12899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12904 { (eval echo configure:12905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12900 if test -z "$ac_err"; then 12906 if test -z "$ac_err"; then
12901 rm -rf conftest* 12907 rm -rf conftest*
12902 eval "ac_cv_header_$ac_safe=yes" 12908 eval "ac_cv_header_$ac_safe=yes"
12903 else 12909 else
12925 done 12931 done
12926 12932
12927 12933
12928 12934
12929 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 12935 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12930 echo "configure:12931: checking for kvm_read in -lkvm" >&5 12936 echo "configure:12937: checking for kvm_read in -lkvm" >&5
12931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12937 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12932 12938
12933 xe_check_libs=" -lkvm " 12939 xe_check_libs=" -lkvm "
12934 cat > conftest.$ac_ext <<EOF 12940 cat > conftest.$ac_ext <<EOF
12935 #line 12936 "configure" 12941 #line 12942 "configure"
12936 #include "confdefs.h" 12942 #include "confdefs.h"
12937 /* Override any gcc2 internal prototype to avoid an error. */ 12943 /* Override any gcc2 internal prototype to avoid an error. */
12938 /* We use char because int might match the return type of a gcc2 12944 /* We use char because int might match the return type of a gcc2
12939 builtin and then its argument prototype would still apply. */ 12945 builtin and then its argument prototype would still apply. */
12940 char kvm_read(); 12946 char kvm_read();
12941 12947
12942 int main() { 12948 int main() {
12943 kvm_read() 12949 kvm_read()
12944 ; return 0; } 12950 ; return 0; }
12945 EOF 12951 EOF
12946 if { (eval echo configure:12947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12947 rm -rf conftest* 12953 rm -rf conftest*
12948 eval "ac_cv_lib_$ac_lib_var=yes" 12954 eval "ac_cv_lib_$ac_lib_var=yes"
12949 else 12955 else
12950 echo "configure: failed program was:" >&5 12956 echo "configure: failed program was:" >&5
12951 cat conftest.$ac_ext >&5 12957 cat conftest.$ac_ext >&5
12975 12981
12976 12982
12977 fi 12983 fi
12978 12984
12979 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 12985 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
12980 echo "configure:12981: checking whether netdb declares h_errno" >&5 12986 echo "configure:12987: checking whether netdb declares h_errno" >&5
12981 cat > conftest.$ac_ext <<EOF 12987 cat > conftest.$ac_ext <<EOF
12982 #line 12983 "configure" 12988 #line 12989 "configure"
12983 #include "confdefs.h" 12989 #include "confdefs.h"
12984 #include <netdb.h> 12990 #include <netdb.h>
12985 int main() { 12991 int main() {
12986 return h_errno; 12992 return h_errno;
12987 ; return 0; } 12993 ; return 0; }
12988 EOF 12994 EOF
12989 if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12995 if { (eval echo configure:12996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12990 rm -rf conftest* 12996 rm -rf conftest*
12991 echo "$ac_t""yes" 1>&6 12997 echo "$ac_t""yes" 1>&6
12992 { test "$extra_verbose" = "yes" && cat << \EOF 12998 { test "$extra_verbose" = "yes" && cat << \EOF
12993 Defining HAVE_H_ERRNO 12999 Defining HAVE_H_ERRNO
12994 EOF 13000 EOF
13004 echo "$ac_t""no" 1>&6 13010 echo "$ac_t""no" 1>&6
13005 fi 13011 fi
13006 rm -f conftest* 13012 rm -f conftest*
13007 13013
13008 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13014 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13009 echo "configure:13010: checking for sigsetjmp" >&5 13015 echo "configure:13016: checking for sigsetjmp" >&5
13010 cat > conftest.$ac_ext <<EOF 13016 cat > conftest.$ac_ext <<EOF
13011 #line 13012 "configure" 13017 #line 13018 "configure"
13012 #include "confdefs.h" 13018 #include "confdefs.h"
13013 #include <setjmp.h> 13019 #include <setjmp.h>
13014 int main() { 13020 int main() {
13015 sigjmp_buf bar; sigsetjmp (bar, 0); 13021 sigjmp_buf bar; sigsetjmp (bar, 0);
13016 ; return 0; } 13022 ; return 0; }
13017 EOF 13023 EOF
13018 if { (eval echo configure:13019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13024 if { (eval echo configure:13025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13019 rm -rf conftest* 13025 rm -rf conftest*
13020 echo "$ac_t""yes" 1>&6 13026 echo "$ac_t""yes" 1>&6
13021 { test "$extra_verbose" = "yes" && cat << \EOF 13027 { test "$extra_verbose" = "yes" && cat << \EOF
13022 Defining HAVE_SIGSETJMP 13028 Defining HAVE_SIGSETJMP
13023 EOF 13029 EOF
13033 echo "$ac_t""no" 1>&6 13039 echo "$ac_t""no" 1>&6
13034 fi 13040 fi
13035 rm -f conftest* 13041 rm -f conftest*
13036 13042
13037 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13043 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13038 echo "configure:13039: checking whether localtime caches TZ" >&5 13044 echo "configure:13045: checking whether localtime caches TZ" >&5
13039 13045
13040 if test "$ac_cv_func_tzset" = "yes"; then 13046 if test "$ac_cv_func_tzset" = "yes"; then
13041 cat > conftest.$ac_ext <<EOF 13047 cat > conftest.$ac_ext <<EOF
13042 #line 13043 "configure" 13048 #line 13049 "configure"
13043 #include "confdefs.h" 13049 #include "confdefs.h"
13044 #include <time.h> 13050 #include <time.h>
13045 #if STDC_HEADERS 13051 #if STDC_HEADERS
13046 # include <stdlib.h> 13052 # include <stdlib.h>
13047 #endif 13053 #endif
13072 if (localtime (&now)->tm_hour != hour_unset) 13078 if (localtime (&now)->tm_hour != hour_unset)
13073 exit (1); 13079 exit (1);
13074 exit (0); 13080 exit (0);
13075 } 13081 }
13076 EOF 13082 EOF
13077 if { (eval echo configure:13078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13083 if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13078 then 13084 then
13079 emacs_cv_localtime_cache=no 13085 emacs_cv_localtime_cache=no
13080 else 13086 else
13081 conftest_rc="$?" 13087 conftest_rc="$?"
13082 echo "configure: failed program was:" >&5 13088 echo "configure: failed program was:" >&5
13102 13108
13103 fi 13109 fi
13104 13110
13105 if test "$HAVE_TIMEVAL" = "yes"; then 13111 if test "$HAVE_TIMEVAL" = "yes"; then
13106 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13112 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13107 echo "configure:13108: checking whether gettimeofday accepts one or two arguments" >&5 13113 echo "configure:13114: checking whether gettimeofday accepts one or two arguments" >&5
13108 cat > conftest.$ac_ext <<EOF 13114 cat > conftest.$ac_ext <<EOF
13109 #line 13110 "configure" 13115 #line 13116 "configure"
13110 #include "confdefs.h" 13116 #include "confdefs.h"
13111 13117
13112 #ifdef TIME_WITH_SYS_TIME 13118 #ifdef TIME_WITH_SYS_TIME
13113 #include <sys/time.h> 13119 #include <sys/time.h>
13114 #include <time.h> 13120 #include <time.h>
13125 struct timeval time; 13131 struct timeval time;
13126 gettimeofday (&time, 0); 13132 gettimeofday (&time, 0);
13127 13133
13128 ; return 0; } 13134 ; return 0; }
13129 EOF 13135 EOF
13130 if { (eval echo configure:13131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13136 if { (eval echo configure:13137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13131 rm -rf conftest* 13137 rm -rf conftest*
13132 echo "$ac_t""two" 1>&6 13138 echo "$ac_t""two" 1>&6
13133 else 13139 else
13134 echo "configure: failed program was:" >&5 13140 echo "configure: failed program was:" >&5
13135 cat conftest.$ac_ext >&5 13141 cat conftest.$ac_ext >&5
13147 rm -f conftest* 13153 rm -f conftest*
13148 fi 13154 fi
13149 13155
13150 13156
13151 echo $ac_n "checking for inline""... $ac_c" 1>&6 13157 echo $ac_n "checking for inline""... $ac_c" 1>&6
13152 echo "configure:13153: checking for inline" >&5 13158 echo "configure:13159: checking for inline" >&5
13153 13159
13154 ac_cv_c_inline=no 13160 ac_cv_c_inline=no
13155 for ac_kw in inline __inline__ __inline; do 13161 for ac_kw in inline __inline__ __inline; do
13156 cat > conftest.$ac_ext <<EOF 13162 cat > conftest.$ac_ext <<EOF
13157 #line 13158 "configure" 13163 #line 13164 "configure"
13158 #include "confdefs.h" 13164 #include "confdefs.h"
13159 13165
13160 int main() { 13166 int main() {
13161 } $ac_kw foo() { 13167 } $ac_kw foo() {
13162 ; return 0; } 13168 ; return 0; }
13163 EOF 13169 EOF
13164 if { (eval echo configure:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13170 if { (eval echo configure:13171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13165 rm -rf conftest* 13171 rm -rf conftest*
13166 ac_cv_c_inline=$ac_kw; break 13172 ac_cv_c_inline=$ac_kw; break
13167 else 13173 else
13168 echo "configure: failed program was:" >&5 13174 echo "configure: failed program was:" >&5
13169 cat conftest.$ac_ext >&5 13175 cat conftest.$ac_ext >&5
13196 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13202 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13197 echo " xemacs will be linked with \"inline.o\"" 13203 echo " xemacs will be linked with \"inline.o\""
13198 fi 13204 fi
13199 13205
13200 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13206 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13201 echo "configure:13202: checking for typeof" >&5 13207 echo "configure:13208: checking for typeof" >&5
13202 cat > conftest.$ac_ext <<EOF 13208 cat > conftest.$ac_ext <<EOF
13203 #line 13204 "configure" 13209 #line 13210 "configure"
13204 #include "confdefs.h" 13210 #include "confdefs.h"
13205 13211
13206 int main() { 13212 int main() {
13207 int i; __typeof__(i) j; 13213 int i; __typeof__(i) j;
13208 ; return 0; } 13214 ; return 0; }
13209 EOF 13215 EOF
13210 if { (eval echo configure:13211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13216 if { (eval echo configure:13217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13211 rm -rf conftest* 13217 rm -rf conftest*
13212 typeofname="__typeof__" 13218 typeofname="__typeof__"
13213 else 13219 else
13214 echo "configure: failed program was:" >&5 13220 echo "configure: failed program was:" >&5
13215 cat conftest.$ac_ext >&5 13221 cat conftest.$ac_ext >&5
13216 rm -rf conftest* 13222 rm -rf conftest*
13217 cat > conftest.$ac_ext <<EOF 13223 cat > conftest.$ac_ext <<EOF
13218 #line 13219 "configure" 13224 #line 13225 "configure"
13219 #include "confdefs.h" 13225 #include "confdefs.h"
13220 13226
13221 int main() { 13227 int main() {
13222 int i; typeof(i) j; 13228 int i; typeof(i) j;
13223 ; return 0; } 13229 ; return 0; }
13224 EOF 13230 EOF
13225 if { (eval echo configure:13226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13231 if { (eval echo configure:13232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13226 rm -rf conftest* 13232 rm -rf conftest*
13227 typeofname="typeof" 13233 typeofname="typeof"
13228 else 13234 else
13229 echo "configure: failed program was:" >&5 13235 echo "configure: failed program was:" >&5
13230 cat conftest.$ac_ext >&5 13236 cat conftest.$ac_ext >&5
13249 13255
13250 if test "$__DECC" != "yes"; then 13256 if test "$__DECC" != "yes"; then
13251 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13257 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13252 # for constant arguments. Useless! 13258 # for constant arguments. Useless!
13253 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13259 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13254 echo "configure:13255: checking for working alloca.h" >&5 13260 echo "configure:13261: checking for working alloca.h" >&5
13255 13261
13256 cat > conftest.$ac_ext <<EOF 13262 cat > conftest.$ac_ext <<EOF
13257 #line 13258 "configure" 13263 #line 13264 "configure"
13258 #include "confdefs.h" 13264 #include "confdefs.h"
13259 #include <alloca.h> 13265 #include <alloca.h>
13260 int main() { 13266 int main() {
13261 char *p = alloca(2 * sizeof(int)); 13267 char *p = alloca(2 * sizeof(int));
13262 ; return 0; } 13268 ; return 0; }
13263 EOF 13269 EOF
13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13270 if { (eval echo configure:13271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13265 rm -rf conftest* 13271 rm -rf conftest*
13266 ac_cv_header_alloca_h=yes 13272 ac_cv_header_alloca_h=yes
13267 else 13273 else
13268 echo "configure: failed program was:" >&5 13274 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5 13275 cat conftest.$ac_ext >&5
13283 } 13289 }
13284 13290
13285 fi 13291 fi
13286 13292
13287 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13293 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13288 echo "configure:13289: checking for alloca" >&5 13294 echo "configure:13295: checking for alloca" >&5
13289 13295
13290 cat > conftest.$ac_ext <<EOF 13296 cat > conftest.$ac_ext <<EOF
13291 #line 13292 "configure" 13297 #line 13298 "configure"
13292 #include "confdefs.h" 13298 #include "confdefs.h"
13293 13299
13294 #ifdef __GNUC__ 13300 #ifdef __GNUC__
13295 # define alloca __builtin_alloca 13301 # define alloca __builtin_alloca
13296 #else 13302 #else
13314 13320
13315 int main() { 13321 int main() {
13316 char *p = (char *) alloca(1); 13322 char *p = (char *) alloca(1);
13317 ; return 0; } 13323 ; return 0; }
13318 EOF 13324 EOF
13319 if { (eval echo configure:13320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13320 rm -rf conftest* 13326 rm -rf conftest*
13321 ac_cv_func_alloca_works=yes 13327 ac_cv_func_alloca_works=yes
13322 else 13328 else
13323 echo "configure: failed program was:" >&5 13329 echo "configure: failed program was:" >&5
13324 cat conftest.$ac_ext >&5 13330 cat conftest.$ac_ext >&5
13353 EOF 13359 EOF
13354 } 13360 }
13355 13361
13356 13362
13357 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13363 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13358 echo "configure:13359: checking whether alloca needs Cray hooks" >&5 13364 echo "configure:13365: checking whether alloca needs Cray hooks" >&5
13359 13365
13360 cat > conftest.$ac_ext <<EOF 13366 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure" 13367 #line 13368 "configure"
13362 #include "confdefs.h" 13368 #include "confdefs.h"
13363 #if defined(CRAY) && ! defined(CRAY2) 13369 #if defined(CRAY) && ! defined(CRAY2)
13364 webecray 13370 webecray
13365 #else 13371 #else
13366 wenotbecray 13372 wenotbecray
13380 13386
13381 echo "$ac_t""$ac_cv_os_cray" 1>&6 13387 echo "$ac_t""$ac_cv_os_cray" 1>&6
13382 if test $ac_cv_os_cray = yes; then 13388 if test $ac_cv_os_cray = yes; then
13383 for ac_func in _getb67 GETB67 getb67; do 13389 for ac_func in _getb67 GETB67 getb67; do
13384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13385 echo "configure:13386: checking for $ac_func" >&5 13391 echo "configure:13392: checking for $ac_func" >&5
13386 13392
13387 cat > conftest.$ac_ext <<EOF 13393 cat > conftest.$ac_ext <<EOF
13388 #line 13389 "configure" 13394 #line 13395 "configure"
13389 #include "confdefs.h" 13395 #include "confdefs.h"
13390 /* System header to define __stub macros and hopefully few prototypes, 13396 /* System header to define __stub macros and hopefully few prototypes,
13391 which can conflict with char $ac_func(); below. */ 13397 which can conflict with char $ac_func(); below. */
13392 #include <assert.h> 13398 #include <assert.h>
13393 /* Override any gcc2 internal prototype to avoid an error. */ 13399 /* Override any gcc2 internal prototype to avoid an error. */
13406 $ac_func(); 13412 $ac_func();
13407 #endif 13413 #endif
13408 13414
13409 ; return 0; } 13415 ; return 0; }
13410 EOF 13416 EOF
13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13417 if { (eval echo configure:13418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13412 rm -rf conftest* 13418 rm -rf conftest*
13413 eval "ac_cv_func_$ac_func=yes" 13419 eval "ac_cv_func_$ac_func=yes"
13414 else 13420 else
13415 echo "configure: failed program was:" >&5 13421 echo "configure: failed program was:" >&5
13416 cat conftest.$ac_ext >&5 13422 cat conftest.$ac_ext >&5
13436 13442
13437 done 13443 done
13438 fi 13444 fi
13439 13445
13440 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13446 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13441 echo "configure:13442: checking stack direction for C alloca" >&5 13447 echo "configure:13448: checking stack direction for C alloca" >&5
13442 13448
13443 cat > conftest.$ac_ext <<EOF 13449 cat > conftest.$ac_ext <<EOF
13444 #line 13445 "configure" 13450 #line 13451 "configure"
13445 #include "confdefs.h" 13451 #include "confdefs.h"
13446 find_stack_direction () 13452 find_stack_direction ()
13447 { 13453 {
13448 static char *addr = 0; 13454 static char *addr = 0;
13449 auto char dummy; 13455 auto char dummy;
13458 main () 13464 main ()
13459 { 13465 {
13460 exit (find_stack_direction() < 0); 13466 exit (find_stack_direction() < 0);
13461 } 13467 }
13462 EOF 13468 EOF
13463 if { (eval echo configure:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13464 then 13470 then
13465 ac_cv_c_stack_direction=1 13471 ac_cv_c_stack_direction=1
13466 else 13472 else
13467 conftest_rc="$?" 13473 conftest_rc="$?"
13468 echo "configure: failed program was:" >&5 13474 echo "configure: failed program was:" >&5
13487 echo " xemacs will be linked with \"$ALLOCA\"" 13493 echo " xemacs will be linked with \"$ALLOCA\""
13488 fi 13494 fi
13489 fi 13495 fi
13490 13496
13491 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13497 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13492 echo "configure:13493: checking for working alloca in function calls" >&5 13498 echo "configure:13499: checking for working alloca in function calls" >&5
13493 cat > conftest.$ac_ext <<EOF 13499 cat > conftest.$ac_ext <<EOF
13494 #line 13495 "configure" 13500 #line 13501 "configure"
13495 #include "confdefs.h" 13501 #include "confdefs.h"
13496 13502
13497 #if defined (__CYGWIN__) 13503 #if defined (__CYGWIN__)
13498 #include <alloca.h> 13504 #include <alloca.h>
13499 #elif defined (__GNUC__) 13505 #elif defined (__GNUC__)
13542 return 1; 13548 return 1;
13543 return 0; 13549 return 0;
13544 } 13550 }
13545 13551
13546 EOF 13552 EOF
13547 if { (eval echo configure:13548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13553 if { (eval echo configure:13554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13548 then 13554 then
13549 working_alloca_in_function_calls=yes 13555 working_alloca_in_function_calls=yes
13550 else 13556 else
13551 conftest_rc="$?" 13557 conftest_rc="$?"
13552 echo "configure: failed program was:" >&5 13558 echo "configure: failed program was:" >&5
13565 EOF 13571 EOF
13566 } 13572 }
13567 13573
13568 13574
13569 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13575 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13570 echo "configure:13571: checking for working strcoll" >&5 13576 echo "configure:13577: checking for working strcoll" >&5
13571 13577
13572 cat > conftest.$ac_ext <<EOF 13578 cat > conftest.$ac_ext <<EOF
13573 #line 13574 "configure" 13579 #line 13580 "configure"
13574 #include "confdefs.h" 13580 #include "confdefs.h"
13575 #include <string.h> 13581 #include <string.h>
13576 main () 13582 main ()
13577 { 13583 {
13578 exit (strcoll ("abc", "def") >= 0 || 13584 exit (strcoll ("abc", "def") >= 0 ||
13579 strcoll ("ABC", "DEF") >= 0 || 13585 strcoll ("ABC", "DEF") >= 0 ||
13580 strcoll ("123", "456") >= 0); 13586 strcoll ("123", "456") >= 0);
13581 } 13587 }
13582 EOF 13588 EOF
13583 if { (eval echo configure:13584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13589 if { (eval echo configure:13590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13584 then 13590 then
13585 ac_cv_func_strcoll_works=yes 13591 ac_cv_func_strcoll_works=yes
13586 else 13592 else
13587 conftest_rc="$?" 13593 conftest_rc="$?"
13588 echo "configure: failed program was:" >&5 13594 echo "configure: failed program was:" >&5
13606 13612
13607 13613
13608 for ac_func in getpgrp 13614 for ac_func in getpgrp
13609 do 13615 do
13610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13611 echo "configure:13612: checking for $ac_func" >&5 13617 echo "configure:13618: checking for $ac_func" >&5
13612 13618
13613 cat > conftest.$ac_ext <<EOF 13619 cat > conftest.$ac_ext <<EOF
13614 #line 13615 "configure" 13620 #line 13621 "configure"
13615 #include "confdefs.h" 13621 #include "confdefs.h"
13616 /* System header to define __stub macros and hopefully few prototypes, 13622 /* System header to define __stub macros and hopefully few prototypes,
13617 which can conflict with char $ac_func(); below. */ 13623 which can conflict with char $ac_func(); below. */
13618 #include <assert.h> 13624 #include <assert.h>
13619 /* Override any gcc2 internal prototype to avoid an error. */ 13625 /* Override any gcc2 internal prototype to avoid an error. */
13632 $ac_func(); 13638 $ac_func();
13633 #endif 13639 #endif
13634 13640
13635 ; return 0; } 13641 ; return 0; }
13636 EOF 13642 EOF
13637 if { (eval echo configure:13638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13643 if { (eval echo configure:13644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13638 rm -rf conftest* 13644 rm -rf conftest*
13639 eval "ac_cv_func_$ac_func=yes" 13645 eval "ac_cv_func_$ac_func=yes"
13640 else 13646 else
13641 echo "configure: failed program was:" >&5 13647 echo "configure: failed program was:" >&5
13642 cat conftest.$ac_ext >&5 13648 cat conftest.$ac_ext >&5
13660 echo "$ac_t""no" 1>&6 13666 echo "$ac_t""no" 1>&6
13661 fi 13667 fi
13662 done 13668 done
13663 13669
13664 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13670 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13665 echo "configure:13666: checking whether getpgrp takes no argument" >&5 13671 echo "configure:13672: checking whether getpgrp takes no argument" >&5
13666 13672
13667 cat > conftest.$ac_ext <<EOF 13673 cat > conftest.$ac_ext <<EOF
13668 #line 13669 "configure" 13674 #line 13675 "configure"
13669 #include "confdefs.h" 13675 #include "confdefs.h"
13670 13676
13671 /* 13677 /*
13672 * If this system has a BSD-style getpgrp(), 13678 * If this system has a BSD-style getpgrp(),
13673 * which takes a pid argument, exit unsuccessfully. 13679 * which takes a pid argument, exit unsuccessfully.
13718 exit(s>>8); 13724 exit(s>>8);
13719 } 13725 }
13720 } 13726 }
13721 13727
13722 EOF 13728 EOF
13723 if { (eval echo configure:13724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13729 if { (eval echo configure:13730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13724 then 13730 then
13725 ac_cv_func_getpgrp_void=yes 13731 ac_cv_func_getpgrp_void=yes
13726 else 13732 else
13727 conftest_rc="$?" 13733 conftest_rc="$?"
13728 echo "configure: failed program was:" >&5 13734 echo "configure: failed program was:" >&5
13745 13751
13746 fi 13752 fi
13747 13753
13748 13754
13749 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13755 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13750 echo "configure:13751: checking for working mmap" >&5 13756 echo "configure:13757: checking for working mmap" >&5
13751 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13757 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13752 cat > conftest.$ac_ext <<EOF 13758 cat > conftest.$ac_ext <<EOF
13753 #line 13754 "configure" 13759 #line 13760 "configure"
13754 #include "confdefs.h" 13760 #include "confdefs.h"
13755 #include <stdio.h> 13761 #include <stdio.h>
13756 #include <unistd.h> 13762 #include <unistd.h>
13757 #include <fcntl.h> 13763 #include <fcntl.h>
13758 #include <sys/mman.h> 13764 #include <sys/mman.h>
13781 return 0; 13787 return 0;
13782 perror ("conftest: mmap failed"); 13788 perror ("conftest: mmap failed");
13783 return 1; 13789 return 1;
13784 } 13790 }
13785 EOF 13791 EOF
13786 if { (eval echo configure:13787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13792 if { (eval echo configure:13793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13787 then 13793 then
13788 have_mmap=yes 13794 have_mmap=yes
13789 else 13795 else
13790 conftest_rc="$?" 13796 conftest_rc="$?"
13791 echo "configure: failed program was:" >&5 13797 echo "configure: failed program was:" >&5
13810 esac 13816 esac
13811 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13817 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13812 if test "$rel_alloc $have_mmap" = "default yes"; then 13818 if test "$rel_alloc $have_mmap" = "default yes"; then
13813 if test "$doug_lea_malloc" = "yes"; then 13819 if test "$doug_lea_malloc" = "yes"; then
13814 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13820 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13815 echo "configure:13816: checking for M_MMAP_THRESHOLD" >&5 13821 echo "configure:13822: checking for M_MMAP_THRESHOLD" >&5
13816 cat > conftest.$ac_ext <<EOF 13822 cat > conftest.$ac_ext <<EOF
13817 #line 13818 "configure" 13823 #line 13824 "configure"
13818 #include "confdefs.h" 13824 #include "confdefs.h"
13819 #include <malloc.h> 13825 #include <malloc.h>
13820 int main() { 13826 int main() {
13821 13827
13822 #ifndef M_MMAP_THRESHOLD 13828 #ifndef M_MMAP_THRESHOLD
13824 !@+$%^&*_)(_ - unlikely to compile... 13830 !@+$%^&*_)(_ - unlikely to compile...
13825 #endif 13831 #endif
13826 13832
13827 ; return 0; } 13833 ; return 0; }
13828 EOF 13834 EOF
13829 if { (eval echo configure:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13835 if { (eval echo configure:13836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13830 rm -rf conftest* 13836 rm -rf conftest*
13831 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13837 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13832 else 13838 else
13833 echo "configure: failed program was:" >&5 13839 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5 13840 cat conftest.$ac_ext >&5
13849 } 13855 }
13850 13856
13851 13857
13852 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13858 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13853 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13859 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13854 echo "configure:13855: checking for termios.h" >&5 13860 echo "configure:13861: checking for termios.h" >&5
13855 13861
13856 cat > conftest.$ac_ext <<EOF 13862 cat > conftest.$ac_ext <<EOF
13857 #line 13858 "configure" 13863 #line 13864 "configure"
13858 #include "confdefs.h" 13864 #include "confdefs.h"
13859 #include <termios.h> 13865 #include <termios.h>
13860 EOF 13866 EOF
13861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13862 { (eval echo configure:13863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13868 { (eval echo configure:13869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13864 if test -z "$ac_err"; then 13870 if test -z "$ac_err"; then
13865 rm -rf conftest* 13871 rm -rf conftest*
13866 eval "ac_cv_header_$ac_safe=yes" 13872 eval "ac_cv_header_$ac_safe=yes"
13867 else 13873 else
13900 13906
13901 else 13907 else
13902 echo "$ac_t""no" 1>&6 13908 echo "$ac_t""no" 1>&6
13903 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13909 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13904 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13910 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13905 echo "configure:13906: checking for termio.h" >&5 13911 echo "configure:13912: checking for termio.h" >&5
13906 13912
13907 cat > conftest.$ac_ext <<EOF 13913 cat > conftest.$ac_ext <<EOF
13908 #line 13909 "configure" 13914 #line 13915 "configure"
13909 #include "confdefs.h" 13915 #include "confdefs.h"
13910 #include <termio.h> 13916 #include <termio.h>
13911 EOF 13917 EOF
13912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13913 { (eval echo configure:13914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13919 { (eval echo configure:13920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13915 if test -z "$ac_err"; then 13921 if test -z "$ac_err"; then
13916 rm -rf conftest* 13922 rm -rf conftest*
13917 eval "ac_cv_header_$ac_safe=yes" 13923 eval "ac_cv_header_$ac_safe=yes"
13918 else 13924 else
13940 fi 13946 fi
13941 13947
13942 13948
13943 13949
13944 echo $ac_n "checking for socket""... $ac_c" 1>&6 13950 echo $ac_n "checking for socket""... $ac_c" 1>&6
13945 echo "configure:13946: checking for socket" >&5 13951 echo "configure:13952: checking for socket" >&5
13946 13952
13947 cat > conftest.$ac_ext <<EOF 13953 cat > conftest.$ac_ext <<EOF
13948 #line 13949 "configure" 13954 #line 13955 "configure"
13949 #include "confdefs.h" 13955 #include "confdefs.h"
13950 /* System header to define __stub macros and hopefully few prototypes, 13956 /* System header to define __stub macros and hopefully few prototypes,
13951 which can conflict with char socket(); below. */ 13957 which can conflict with char socket(); below. */
13952 #include <assert.h> 13958 #include <assert.h>
13953 /* Override any gcc2 internal prototype to avoid an error. */ 13959 /* Override any gcc2 internal prototype to avoid an error. */
13966 socket(); 13972 socket();
13967 #endif 13973 #endif
13968 13974
13969 ; return 0; } 13975 ; return 0; }
13970 EOF 13976 EOF
13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13977 if { (eval echo configure:13978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13972 rm -rf conftest* 13978 rm -rf conftest*
13973 eval "ac_cv_func_socket=yes" 13979 eval "ac_cv_func_socket=yes"
13974 else 13980 else
13975 echo "configure: failed program was:" >&5 13981 echo "configure: failed program was:" >&5
13976 cat conftest.$ac_ext >&5 13982 cat conftest.$ac_ext >&5
13981 13987
13982 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13988 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13983 echo "$ac_t""yes" 1>&6 13989 echo "$ac_t""yes" 1>&6
13984 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13990 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13985 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13991 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13986 echo "configure:13987: checking for netinet/in.h" >&5 13992 echo "configure:13993: checking for netinet/in.h" >&5
13987 13993
13988 cat > conftest.$ac_ext <<EOF 13994 cat > conftest.$ac_ext <<EOF
13989 #line 13990 "configure" 13995 #line 13996 "configure"
13990 #include "confdefs.h" 13996 #include "confdefs.h"
13991 #include <netinet/in.h> 13997 #include <netinet/in.h>
13992 EOF 13998 EOF
13993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14000 { (eval echo configure:14001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13996 if test -z "$ac_err"; then 14002 if test -z "$ac_err"; then
13997 rm -rf conftest* 14003 rm -rf conftest*
13998 eval "ac_cv_header_$ac_safe=yes" 14004 eval "ac_cv_header_$ac_safe=yes"
13999 else 14005 else
14006 rm -f conftest* 14012 rm -f conftest*
14007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14008 echo "$ac_t""yes" 1>&6 14014 echo "$ac_t""yes" 1>&6
14009 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14015 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14010 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14016 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14011 echo "configure:14012: checking for arpa/inet.h" >&5 14017 echo "configure:14018: checking for arpa/inet.h" >&5
14012 14018
14013 cat > conftest.$ac_ext <<EOF 14019 cat > conftest.$ac_ext <<EOF
14014 #line 14015 "configure" 14020 #line 14021 "configure"
14015 #include "confdefs.h" 14021 #include "confdefs.h"
14016 #include <arpa/inet.h> 14022 #include <arpa/inet.h>
14017 EOF 14023 EOF
14018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14019 { (eval echo configure:14020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14025 { (eval echo configure:14026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14021 if test -z "$ac_err"; then 14027 if test -z "$ac_err"; then
14022 rm -rf conftest* 14028 rm -rf conftest*
14023 eval "ac_cv_header_$ac_safe=yes" 14029 eval "ac_cv_header_$ac_safe=yes"
14024 else 14030 else
14039 #define HAVE_SOCKETS 1 14045 #define HAVE_SOCKETS 1
14040 EOF 14046 EOF
14041 } 14047 }
14042 14048
14043 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14049 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14044 echo "configure:14045: checking "for sun_len member in struct sockaddr_un"" >&5 14050 echo "configure:14051: checking "for sun_len member in struct sockaddr_un"" >&5
14045 cat > conftest.$ac_ext <<EOF 14051 cat > conftest.$ac_ext <<EOF
14046 #line 14047 "configure" 14052 #line 14053 "configure"
14047 #include "confdefs.h" 14053 #include "confdefs.h"
14048 14054
14049 #include <sys/types.h> 14055 #include <sys/types.h>
14050 #include <sys/socket.h> 14056 #include <sys/socket.h>
14051 #include <sys/un.h> 14057 #include <sys/un.h>
14052 14058
14053 int main() { 14059 int main() {
14054 static struct sockaddr_un x; x.sun_len = 1; 14060 static struct sockaddr_un x; x.sun_len = 1;
14055 ; return 0; } 14061 ; return 0; }
14056 EOF 14062 EOF
14057 if { (eval echo configure:14058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14063 if { (eval echo configure:14064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14058 rm -rf conftest* 14064 rm -rf conftest*
14059 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14065 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14060 Defining HAVE_SOCKADDR_SUN_LEN 14066 Defining HAVE_SOCKADDR_SUN_LEN
14061 EOF 14067 EOF
14062 cat >> confdefs.h <<\EOF 14068 cat >> confdefs.h <<\EOF
14070 rm -rf conftest* 14076 rm -rf conftest*
14071 echo "$ac_t""no" 1>&6 14077 echo "$ac_t""no" 1>&6
14072 fi 14078 fi
14073 rm -f conftest* 14079 rm -f conftest*
14074 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14080 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14075 echo "configure:14076: checking "for ip_mreq struct in netinet/in.h"" >&5 14081 echo "configure:14082: checking "for ip_mreq struct in netinet/in.h"" >&5
14076 cat > conftest.$ac_ext <<EOF 14082 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure" 14083 #line 14084 "configure"
14078 #include "confdefs.h" 14084 #include "confdefs.h"
14079 14085
14080 #include <sys/types.h> 14086 #include <sys/types.h>
14081 #include <netinet/in.h> 14087 #include <netinet/in.h>
14082 14088
14083 int main() { 14089 int main() {
14084 static struct ip_mreq x; 14090 static struct ip_mreq x;
14085 ; return 0; } 14091 ; return 0; }
14086 EOF 14092 EOF
14087 if { (eval echo configure:14088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14093 if { (eval echo configure:14094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14088 rm -rf conftest* 14094 rm -rf conftest*
14089 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14095 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14090 Defining HAVE_MULTICAST 14096 Defining HAVE_MULTICAST
14091 EOF 14097 EOF
14092 cat >> confdefs.h <<\EOF 14098 cat >> confdefs.h <<\EOF
14113 echo "$ac_t""no" 1>&6 14119 echo "$ac_t""no" 1>&6
14114 fi 14120 fi
14115 14121
14116 14122
14117 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14123 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14118 echo "configure:14119: checking for msgget" >&5 14124 echo "configure:14125: checking for msgget" >&5
14119 14125
14120 cat > conftest.$ac_ext <<EOF 14126 cat > conftest.$ac_ext <<EOF
14121 #line 14122 "configure" 14127 #line 14128 "configure"
14122 #include "confdefs.h" 14128 #include "confdefs.h"
14123 /* System header to define __stub macros and hopefully few prototypes, 14129 /* System header to define __stub macros and hopefully few prototypes,
14124 which can conflict with char msgget(); below. */ 14130 which can conflict with char msgget(); below. */
14125 #include <assert.h> 14131 #include <assert.h>
14126 /* Override any gcc2 internal prototype to avoid an error. */ 14132 /* Override any gcc2 internal prototype to avoid an error. */
14139 msgget(); 14145 msgget();
14140 #endif 14146 #endif
14141 14147
14142 ; return 0; } 14148 ; return 0; }
14143 EOF 14149 EOF
14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14150 if { (eval echo configure:14151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14145 rm -rf conftest* 14151 rm -rf conftest*
14146 eval "ac_cv_func_msgget=yes" 14152 eval "ac_cv_func_msgget=yes"
14147 else 14153 else
14148 echo "configure: failed program was:" >&5 14154 echo "configure: failed program was:" >&5
14149 cat conftest.$ac_ext >&5 14155 cat conftest.$ac_ext >&5
14154 14160
14155 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14161 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6 14162 echo "$ac_t""yes" 1>&6
14157 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14163 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14158 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14164 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14159 echo "configure:14160: checking for sys/ipc.h" >&5 14165 echo "configure:14166: checking for sys/ipc.h" >&5
14160 14166
14161 cat > conftest.$ac_ext <<EOF 14167 cat > conftest.$ac_ext <<EOF
14162 #line 14163 "configure" 14168 #line 14169 "configure"
14163 #include "confdefs.h" 14169 #include "confdefs.h"
14164 #include <sys/ipc.h> 14170 #include <sys/ipc.h>
14165 EOF 14171 EOF
14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14173 { (eval echo configure:14174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14169 if test -z "$ac_err"; then 14175 if test -z "$ac_err"; then
14170 rm -rf conftest* 14176 rm -rf conftest*
14171 eval "ac_cv_header_$ac_safe=yes" 14177 eval "ac_cv_header_$ac_safe=yes"
14172 else 14178 else
14179 rm -f conftest* 14185 rm -f conftest*
14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14181 echo "$ac_t""yes" 1>&6 14187 echo "$ac_t""yes" 1>&6
14182 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14188 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14183 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14189 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14184 echo "configure:14185: checking for sys/msg.h" >&5 14190 echo "configure:14191: checking for sys/msg.h" >&5
14185 14191
14186 cat > conftest.$ac_ext <<EOF 14192 cat > conftest.$ac_ext <<EOF
14187 #line 14188 "configure" 14193 #line 14194 "configure"
14188 #include "confdefs.h" 14194 #include "confdefs.h"
14189 #include <sys/msg.h> 14195 #include <sys/msg.h>
14190 EOF 14196 EOF
14191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14192 { (eval echo configure:14193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14198 { (eval echo configure:14199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14194 if test -z "$ac_err"; then 14200 if test -z "$ac_err"; then
14195 rm -rf conftest* 14201 rm -rf conftest*
14196 eval "ac_cv_header_$ac_safe=yes" 14202 eval "ac_cv_header_$ac_safe=yes"
14197 else 14203 else
14225 fi 14231 fi
14226 14232
14227 14233
14228 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14234 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14229 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14235 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14230 echo "configure:14231: checking for dirent.h" >&5 14236 echo "configure:14237: checking for dirent.h" >&5
14231 14237
14232 cat > conftest.$ac_ext <<EOF 14238 cat > conftest.$ac_ext <<EOF
14233 #line 14234 "configure" 14239 #line 14240 "configure"
14234 #include "confdefs.h" 14240 #include "confdefs.h"
14235 #include <dirent.h> 14241 #include <dirent.h>
14236 EOF 14242 EOF
14237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14238 { (eval echo configure:14239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14244 { (eval echo configure:14245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14240 if test -z "$ac_err"; then 14246 if test -z "$ac_err"; then
14241 rm -rf conftest* 14247 rm -rf conftest*
14242 eval "ac_cv_header_$ac_safe=yes" 14248 eval "ac_cv_header_$ac_safe=yes"
14243 else 14249 else
14260 14266
14261 else 14267 else
14262 echo "$ac_t""no" 1>&6 14268 echo "$ac_t""no" 1>&6
14263 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14269 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14264 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14270 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14265 echo "configure:14266: checking for sys/dir.h" >&5 14271 echo "configure:14272: checking for sys/dir.h" >&5
14266 14272
14267 cat > conftest.$ac_ext <<EOF 14273 cat > conftest.$ac_ext <<EOF
14268 #line 14269 "configure" 14274 #line 14275 "configure"
14269 #include "confdefs.h" 14275 #include "confdefs.h"
14270 #include <sys/dir.h> 14276 #include <sys/dir.h>
14271 EOF 14277 EOF
14272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14273 { (eval echo configure:14274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14279 { (eval echo configure:14280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14275 if test -z "$ac_err"; then 14281 if test -z "$ac_err"; then
14276 rm -rf conftest* 14282 rm -rf conftest*
14277 eval "ac_cv_header_$ac_safe=yes" 14283 eval "ac_cv_header_$ac_safe=yes"
14278 else 14284 else
14301 fi 14307 fi
14302 14308
14303 14309
14304 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14310 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14305 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14311 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14306 echo "configure:14307: checking for nlist.h" >&5 14312 echo "configure:14313: checking for nlist.h" >&5
14307 14313
14308 cat > conftest.$ac_ext <<EOF 14314 cat > conftest.$ac_ext <<EOF
14309 #line 14310 "configure" 14315 #line 14316 "configure"
14310 #include "confdefs.h" 14316 #include "confdefs.h"
14311 #include <nlist.h> 14317 #include <nlist.h>
14312 EOF 14318 EOF
14313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14314 { (eval echo configure:14315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14320 { (eval echo configure:14321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14316 if test -z "$ac_err"; then 14322 if test -z "$ac_err"; then
14317 rm -rf conftest* 14323 rm -rf conftest*
14318 eval "ac_cv_header_$ac_safe=yes" 14324 eval "ac_cv_header_$ac_safe=yes"
14319 else 14325 else
14339 fi 14345 fi
14340 14346
14341 14347
14342 14348
14343 echo "checking "for sound support"" 1>&6 14349 echo "checking "for sound support"" 1>&6
14344 echo "configure:14345: checking "for sound support"" >&5 14350 echo "configure:14351: checking "for sound support"" >&5
14345 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14351 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14346 14352
14347 if test "$with_native_sound" != "no"; then 14353 if test "$with_native_sound" != "no"; then
14348 if test -n "$native_sound_lib"; then 14354 if test -n "$native_sound_lib"; then
14349 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14355 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14350 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14356 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14351 echo "configure:14352: checking for multimedia/audio_device.h" >&5 14357 echo "configure:14358: checking for multimedia/audio_device.h" >&5
14352 14358
14353 cat > conftest.$ac_ext <<EOF 14359 cat > conftest.$ac_ext <<EOF
14354 #line 14355 "configure" 14360 #line 14361 "configure"
14355 #include "confdefs.h" 14361 #include "confdefs.h"
14356 #include <multimedia/audio_device.h> 14362 #include <multimedia/audio_device.h>
14357 EOF 14363 EOF
14358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14359 { (eval echo configure:14360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14365 { (eval echo configure:14366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14361 if test -z "$ac_err"; then 14367 if test -z "$ac_err"; then
14362 rm -rf conftest* 14368 rm -rf conftest*
14363 eval "ac_cv_header_$ac_safe=yes" 14369 eval "ac_cv_header_$ac_safe=yes"
14364 else 14370 else
14410 case "$canonical" in 14416 case "$canonical" in
14411 *-sgi-* ) 14417 *-sgi-* )
14412 if test -z "$native_sound_lib"; then 14418 if test -z "$native_sound_lib"; then
14413 14419
14414 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14420 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14415 echo "configure:14416: checking for ALopenport in -laudio" >&5 14421 echo "configure:14422: checking for ALopenport in -laudio" >&5
14416 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14422 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14417 14423
14418 xe_check_libs=" -laudio " 14424 xe_check_libs=" -laudio "
14419 cat > conftest.$ac_ext <<EOF 14425 cat > conftest.$ac_ext <<EOF
14420 #line 14421 "configure" 14426 #line 14427 "configure"
14421 #include "confdefs.h" 14427 #include "confdefs.h"
14422 /* Override any gcc2 internal prototype to avoid an error. */ 14428 /* Override any gcc2 internal prototype to avoid an error. */
14423 /* We use char because int might match the return type of a gcc2 14429 /* We use char because int might match the return type of a gcc2
14424 builtin and then its argument prototype would still apply. */ 14430 builtin and then its argument prototype would still apply. */
14425 char ALopenport(); 14431 char ALopenport();
14426 14432
14427 int main() { 14433 int main() {
14428 ALopenport() 14434 ALopenport()
14429 ; return 0; } 14435 ; return 0; }
14430 EOF 14436 EOF
14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14437 if { (eval echo configure:14438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 rm -rf conftest* 14438 rm -rf conftest*
14433 eval "ac_cv_lib_$ac_lib_var=yes" 14439 eval "ac_cv_lib_$ac_lib_var=yes"
14434 else 14440 else
14435 echo "configure: failed program was:" >&5 14441 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5 14442 cat conftest.$ac_ext >&5
14457 fi ;; 14463 fi ;;
14458 hppa*-hp-hpux* ) 14464 hppa*-hp-hpux* )
14459 if test -z "$native_sound_lib"; then 14465 if test -z "$native_sound_lib"; then
14460 14466
14461 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14467 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14462 echo "configure:14463: checking for AOpenAudio in -lAlib" >&5 14468 echo "configure:14469: checking for AOpenAudio in -lAlib" >&5
14463 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14469 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14464 14470
14465 xe_check_libs=" -lAlib " 14471 xe_check_libs=" -lAlib "
14466 cat > conftest.$ac_ext <<EOF 14472 cat > conftest.$ac_ext <<EOF
14467 #line 14468 "configure" 14473 #line 14474 "configure"
14468 #include "confdefs.h" 14474 #include "confdefs.h"
14469 /* Override any gcc2 internal prototype to avoid an error. */ 14475 /* Override any gcc2 internal prototype to avoid an error. */
14470 /* We use char because int might match the return type of a gcc2 14476 /* We use char because int might match the return type of a gcc2
14471 builtin and then its argument prototype would still apply. */ 14477 builtin and then its argument prototype would still apply. */
14472 char AOpenAudio(); 14478 char AOpenAudio();
14473 14479
14474 int main() { 14480 int main() {
14475 AOpenAudio() 14481 AOpenAudio()
14476 ; return 0; } 14482 ; return 0; }
14477 EOF 14483 EOF
14478 if { (eval echo configure:14479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14484 if { (eval echo configure:14485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14479 rm -rf conftest* 14485 rm -rf conftest*
14480 eval "ac_cv_lib_$ac_lib_var=yes" 14486 eval "ac_cv_lib_$ac_lib_var=yes"
14481 else 14487 else
14482 echo "configure: failed program was:" >&5 14488 echo "configure: failed program was:" >&5
14483 cat conftest.$ac_ext >&5 14489 cat conftest.$ac_ext >&5
14521 14527
14522 if test -z "$sound_found"; then 14528 if test -z "$sound_found"; then
14523 for dir in "machine" "sys" "linux"; do 14529 for dir in "machine" "sys" "linux"; do
14524 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14530 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14525 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14531 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14526 echo "configure:14527: checking for ${dir}/soundcard.h" >&5 14532 echo "configure:14533: checking for ${dir}/soundcard.h" >&5
14527 14533
14528 cat > conftest.$ac_ext <<EOF 14534 cat > conftest.$ac_ext <<EOF
14529 #line 14530 "configure" 14535 #line 14536 "configure"
14530 #include "confdefs.h" 14536 #include "confdefs.h"
14531 #include <${dir}/soundcard.h> 14537 #include <${dir}/soundcard.h>
14532 EOF 14538 EOF
14533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14534 { (eval echo configure:14535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14540 { (eval echo configure:14541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14536 if test -z "$ac_err"; then 14542 if test -z "$ac_err"; then
14537 rm -rf conftest* 14543 rm -rf conftest*
14538 eval "ac_cv_header_$ac_safe=yes" 14544 eval "ac_cv_header_$ac_safe=yes"
14539 else 14545 else
14583 fi 14589 fi
14584 14590
14585 if test "$with_nas_sound" != "no"; then 14591 if test "$with_nas_sound" != "no"; then
14586 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14592 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14587 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14593 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14588 echo "configure:14589: checking for audio/audiolib.h" >&5 14594 echo "configure:14595: checking for audio/audiolib.h" >&5
14589 14595
14590 cat > conftest.$ac_ext <<EOF 14596 cat > conftest.$ac_ext <<EOF
14591 #line 14592 "configure" 14597 #line 14598 "configure"
14592 #include "confdefs.h" 14598 #include "confdefs.h"
14593 #include <audio/audiolib.h> 14599 #include <audio/audiolib.h>
14594 EOF 14600 EOF
14595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14602 { (eval echo configure:14603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14598 if test -z "$ac_err"; then 14604 if test -z "$ac_err"; then
14599 rm -rf conftest* 14605 rm -rf conftest*
14600 eval "ac_cv_header_$ac_safe=yes" 14606 eval "ac_cv_header_$ac_safe=yes"
14601 else 14607 else
14609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14610 echo "$ac_t""yes" 1>&6 14616 echo "$ac_t""yes" 1>&6
14611 14617
14612 14618
14613 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14619 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14614 echo "configure:14615: checking for AuOpenServer in -laudio" >&5 14620 echo "configure:14621: checking for AuOpenServer in -laudio" >&5
14615 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14621 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14616 14622
14617 xe_check_libs=" -laudio " 14623 xe_check_libs=" -laudio "
14618 cat > conftest.$ac_ext <<EOF 14624 cat > conftest.$ac_ext <<EOF
14619 #line 14620 "configure" 14625 #line 14626 "configure"
14620 #include "confdefs.h" 14626 #include "confdefs.h"
14621 /* Override any gcc2 internal prototype to avoid an error. */ 14627 /* Override any gcc2 internal prototype to avoid an error. */
14622 /* We use char because int might match the return type of a gcc2 14628 /* We use char because int might match the return type of a gcc2
14623 builtin and then its argument prototype would still apply. */ 14629 builtin and then its argument prototype would still apply. */
14624 char AuOpenServer(); 14630 char AuOpenServer();
14625 14631
14626 int main() { 14632 int main() {
14627 AuOpenServer() 14633 AuOpenServer()
14628 ; return 0; } 14634 ; return 0; }
14629 EOF 14635 EOF
14630 if { (eval echo configure:14631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14636 if { (eval echo configure:14637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14631 rm -rf conftest* 14637 rm -rf conftest*
14632 eval "ac_cv_lib_$ac_lib_var=yes" 14638 eval "ac_cv_lib_$ac_lib_var=yes"
14633 else 14639 else
14634 echo "configure: failed program was:" >&5 14640 echo "configure: failed program was:" >&5
14635 cat conftest.$ac_ext >&5 14641 cat conftest.$ac_ext >&5
14664 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14670 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14665 echo " xemacs will be linked with \"nas.o\"" 14671 echo " xemacs will be linked with \"nas.o\""
14666 fi 14672 fi
14667 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14673 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14668 cat > conftest.$ac_ext <<EOF 14674 cat > conftest.$ac_ext <<EOF
14669 #line 14670 "configure" 14675 #line 14676 "configure"
14670 #include "confdefs.h" 14676 #include "confdefs.h"
14671 #include <audio/Xtutil.h> 14677 #include <audio/Xtutil.h>
14672 EOF 14678 EOF
14673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14674 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14680 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14695 14701
14696 if test "$with_esd_sound" != "no"; then 14702 if test "$with_esd_sound" != "no"; then
14697 # Extract the first word of "esd-config", so it can be a program name with args. 14703 # Extract the first word of "esd-config", so it can be a program name with args.
14698 set dummy esd-config; ac_word=$2 14704 set dummy esd-config; ac_word=$2
14699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14700 echo "configure:14701: checking for $ac_word" >&5 14706 echo "configure:14707: checking for $ac_word" >&5
14701 14707
14702 if test -n "$have_esd_config"; then 14708 if test -n "$have_esd_config"; then
14703 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14709 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14704 else 14710 else
14705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14724 if test "$have_esd_config" = "yes"; then 14730 if test "$have_esd_config" = "yes"; then
14725 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14731 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14726 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 14732 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
14727 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14733 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14728 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14734 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14729 echo "configure:14730: checking for esd_play_stream" >&5 14735 echo "configure:14736: checking for esd_play_stream" >&5
14730 14736
14731 cat > conftest.$ac_ext <<EOF 14737 cat > conftest.$ac_ext <<EOF
14732 #line 14733 "configure" 14738 #line 14739 "configure"
14733 #include "confdefs.h" 14739 #include "confdefs.h"
14734 /* System header to define __stub macros and hopefully few prototypes, 14740 /* System header to define __stub macros and hopefully few prototypes,
14735 which can conflict with char esd_play_stream(); below. */ 14741 which can conflict with char esd_play_stream(); below. */
14736 #include <assert.h> 14742 #include <assert.h>
14737 /* Override any gcc2 internal prototype to avoid an error. */ 14743 /* Override any gcc2 internal prototype to avoid an error. */
14750 esd_play_stream(); 14756 esd_play_stream();
14751 #endif 14757 #endif
14752 14758
14753 ; return 0; } 14759 ; return 0; }
14754 EOF 14760 EOF
14755 if { (eval echo configure:14756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14761 if { (eval echo configure:14762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14756 rm -rf conftest* 14762 rm -rf conftest*
14757 eval "ac_cv_func_esd_play_stream=yes" 14763 eval "ac_cv_func_esd_play_stream=yes"
14758 else 14764 else
14759 echo "configure: failed program was:" >&5 14765 echo "configure: failed program was:" >&5
14760 cat conftest.$ac_ext >&5 14766 cat conftest.$ac_ext >&5
14801 14807
14802 test -z "$with_tty" && with_tty=yes 14808 test -z "$with_tty" && with_tty=yes
14803 14809
14804 if test "$with_tty" = "yes" ; then 14810 if test "$with_tty" = "yes" ; then
14805 echo "checking for TTY-related features" 1>&6 14811 echo "checking for TTY-related features" 1>&6
14806 echo "configure:14807: checking for TTY-related features" >&5 14812 echo "configure:14813: checking for TTY-related features" >&5
14807 { test "$extra_verbose" = "yes" && cat << \EOF 14813 { test "$extra_verbose" = "yes" && cat << \EOF
14808 Defining HAVE_TTY 14814 Defining HAVE_TTY
14809 EOF 14815 EOF
14810 cat >> confdefs.h <<\EOF 14816 cat >> confdefs.h <<\EOF
14811 #define HAVE_TTY 1 14817 #define HAVE_TTY 1
14814 14820
14815 14821
14816 if test -z "$with_ncurses"; then 14822 if test -z "$with_ncurses"; then
14817 14823
14818 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14824 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14819 echo "configure:14820: checking for tgetent in -lncurses" >&5 14825 echo "configure:14826: checking for tgetent in -lncurses" >&5
14820 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14826 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14821 14827
14822 xe_check_libs=" -lncurses " 14828 xe_check_libs=" -lncurses "
14823 cat > conftest.$ac_ext <<EOF 14829 cat > conftest.$ac_ext <<EOF
14824 #line 14825 "configure" 14830 #line 14831 "configure"
14825 #include "confdefs.h" 14831 #include "confdefs.h"
14826 /* Override any gcc2 internal prototype to avoid an error. */ 14832 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2 14833 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */ 14834 builtin and then its argument prototype would still apply. */
14829 char tgetent(); 14835 char tgetent();
14830 14836
14831 int main() { 14837 int main() {
14832 tgetent() 14838 tgetent()
14833 ; return 0; } 14839 ; return 0; }
14834 EOF 14840 EOF
14835 if { (eval echo configure:14836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14841 if { (eval echo configure:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14836 rm -rf conftest* 14842 rm -rf conftest*
14837 eval "ac_cv_lib_$ac_lib_var=yes" 14843 eval "ac_cv_lib_$ac_lib_var=yes"
14838 else 14844 else
14839 echo "configure: failed program was:" >&5 14845 echo "configure: failed program was:" >&5
14840 cat conftest.$ac_ext >&5 14846 cat conftest.$ac_ext >&5
14863 EOF 14869 EOF
14864 } 14870 }
14865 14871
14866 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14872 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14867 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14873 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14868 echo "configure:14869: checking for ncurses/curses.h" >&5 14874 echo "configure:14875: checking for ncurses/curses.h" >&5
14869 14875
14870 cat > conftest.$ac_ext <<EOF 14876 cat > conftest.$ac_ext <<EOF
14871 #line 14872 "configure" 14877 #line 14878 "configure"
14872 #include "confdefs.h" 14878 #include "confdefs.h"
14873 #include <ncurses/curses.h> 14879 #include <ncurses/curses.h>
14874 EOF 14880 EOF
14875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14876 { (eval echo configure:14877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14882 { (eval echo configure:14883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14878 if test -z "$ac_err"; then 14884 if test -z "$ac_err"; then
14879 rm -rf conftest* 14885 rm -rf conftest*
14880 eval "ac_cv_header_$ac_safe=yes" 14886 eval "ac_cv_header_$ac_safe=yes"
14881 else 14887 else
14893 echo "$ac_t""no" 1>&6 14899 echo "$ac_t""no" 1>&6
14894 fi 14900 fi
14895 14901
14896 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14902 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14897 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14903 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14898 echo "configure:14899: checking for ncurses/term.h" >&5 14904 echo "configure:14905: checking for ncurses/term.h" >&5
14899 14905
14900 cat > conftest.$ac_ext <<EOF 14906 cat > conftest.$ac_ext <<EOF
14901 #line 14902 "configure" 14907 #line 14908 "configure"
14902 #include "confdefs.h" 14908 #include "confdefs.h"
14903 #include <ncurses/term.h> 14909 #include <ncurses/term.h>
14904 EOF 14910 EOF
14905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14906 { (eval echo configure:14907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14912 { (eval echo configure:14913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14908 if test -z "$ac_err"; then 14914 if test -z "$ac_err"; then
14909 rm -rf conftest* 14915 rm -rf conftest*
14910 eval "ac_cv_header_$ac_safe=yes" 14916 eval "ac_cv_header_$ac_safe=yes"
14911 else 14917 else
14931 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14937 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14932 save_c_switch_site="$c_switch_site" 14938 save_c_switch_site="$c_switch_site"
14933 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14939 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14934 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14940 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14935 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14941 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14936 echo "configure:14937: checking for ncurses/curses.h" >&5 14942 echo "configure:14943: checking for ncurses/curses.h" >&5
14937 14943
14938 cat > conftest.$ac_ext <<EOF 14944 cat > conftest.$ac_ext <<EOF
14939 #line 14940 "configure" 14945 #line 14946 "configure"
14940 #include "confdefs.h" 14946 #include "confdefs.h"
14941 #include <ncurses/curses.h> 14947 #include <ncurses/curses.h>
14942 EOF 14948 EOF
14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14949 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; } 14950 { (eval echo configure:14951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14946 if test -z "$ac_err"; then 14952 if test -z "$ac_err"; then
14947 rm -rf conftest* 14953 rm -rf conftest*
14948 eval "ac_cv_header_$ac_safe=yes" 14954 eval "ac_cv_header_$ac_safe=yes"
14949 else 14955 else
14974 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14980 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14975 else 14981 else
14976 for lib in curses termlib termcap; do 14982 for lib in curses termlib termcap; do
14977 14983
14978 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14984 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14979 echo "configure:14980: checking for tgetent in -l$lib" >&5 14985 echo "configure:14986: checking for tgetent in -l$lib" >&5
14980 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14986 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14981 14987
14982 xe_check_libs=" -l$lib " 14988 xe_check_libs=" -l$lib "
14983 cat > conftest.$ac_ext <<EOF 14989 cat > conftest.$ac_ext <<EOF
14984 #line 14985 "configure" 14990 #line 14991 "configure"
14985 #include "confdefs.h" 14991 #include "confdefs.h"
14986 /* Override any gcc2 internal prototype to avoid an error. */ 14992 /* Override any gcc2 internal prototype to avoid an error. */
14987 /* We use char because int might match the return type of a gcc2 14993 /* We use char because int might match the return type of a gcc2
14988 builtin and then its argument prototype would still apply. */ 14994 builtin and then its argument prototype would still apply. */
14989 char tgetent(); 14995 char tgetent();
14990 14996
14991 int main() { 14997 int main() {
14992 tgetent() 14998 tgetent()
14993 ; return 0; } 14999 ; return 0; }
14994 EOF 15000 EOF
14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15001 if { (eval echo configure:15002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14996 rm -rf conftest* 15002 rm -rf conftest*
14997 eval "ac_cv_lib_$ac_lib_var=yes" 15003 eval "ac_cv_lib_$ac_lib_var=yes"
14998 else 15004 else
14999 echo "configure: failed program was:" >&5 15005 echo "configure: failed program was:" >&5
15000 cat conftest.$ac_ext >&5 15006 cat conftest.$ac_ext >&5
15021 if test -n "$libs_termcap"; then 15027 if test -n "$libs_termcap"; then
15022 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15028 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15023 else 15029 else
15024 15030
15025 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15031 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15026 echo "configure:15027: checking for tgetent in -lcurses" >&5 15032 echo "configure:15033: checking for tgetent in -lcurses" >&5
15027 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15033 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15028 15034
15029 xe_check_libs=" -lcurses " 15035 xe_check_libs=" -lcurses "
15030 cat > conftest.$ac_ext <<EOF 15036 cat > conftest.$ac_ext <<EOF
15031 #line 15032 "configure" 15037 #line 15038 "configure"
15032 #include "confdefs.h" 15038 #include "confdefs.h"
15033 /* Override any gcc2 internal prototype to avoid an error. */ 15039 /* Override any gcc2 internal prototype to avoid an error. */
15034 /* We use char because int might match the return type of a gcc2 15040 /* We use char because int might match the return type of a gcc2
15035 builtin and then its argument prototype would still apply. */ 15041 builtin and then its argument prototype would still apply. */
15036 char tgetent(); 15042 char tgetent();
15037 15043
15038 int main() { 15044 int main() {
15039 tgetent() 15045 tgetent()
15040 ; return 0; } 15046 ; return 0; }
15041 EOF 15047 EOF
15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15048 if { (eval echo configure:15049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15043 rm -rf conftest* 15049 rm -rf conftest*
15044 eval "ac_cv_lib_$ac_lib_var=yes" 15050 eval "ac_cv_lib_$ac_lib_var=yes"
15045 else 15051 else
15046 echo "configure: failed program was:" >&5 15052 echo "configure: failed program was:" >&5
15047 cat conftest.$ac_ext >&5 15053 cat conftest.$ac_ext >&5
15055 echo "$ac_t""yes" 1>&6 15061 echo "$ac_t""yes" 1>&6
15056 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15062 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15057 else 15063 else
15058 echo "$ac_t""no" 1>&6 15064 echo "$ac_t""no" 1>&6
15059 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15065 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15060 echo "configure:15061: checking for tgetent in -ltermcap" >&5 15066 echo "configure:15067: checking for tgetent in -ltermcap" >&5
15061 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15067 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15062 15068
15063 xe_check_libs=" -ltermcap " 15069 xe_check_libs=" -ltermcap "
15064 cat > conftest.$ac_ext <<EOF 15070 cat > conftest.$ac_ext <<EOF
15065 #line 15066 "configure" 15071 #line 15072 "configure"
15066 #include "confdefs.h" 15072 #include "confdefs.h"
15067 /* Override any gcc2 internal prototype to avoid an error. */ 15073 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2 15074 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */ 15075 builtin and then its argument prototype would still apply. */
15070 char tgetent(); 15076 char tgetent();
15071 15077
15072 int main() { 15078 int main() {
15073 tgetent() 15079 tgetent()
15074 ; return 0; } 15080 ; return 0; }
15075 EOF 15081 EOF
15076 if { (eval echo configure:15077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15082 if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15077 rm -rf conftest* 15083 rm -rf conftest*
15078 eval "ac_cv_lib_$ac_lib_var=yes" 15084 eval "ac_cv_lib_$ac_lib_var=yes"
15079 else 15085 else
15080 echo "configure: failed program was:" >&5 15086 echo "configure: failed program was:" >&5
15081 cat conftest.$ac_ext >&5 15087 cat conftest.$ac_ext >&5
15120 15126
15121 15127
15122 if test "$with_gpm" != "no"; then 15128 if test "$with_gpm" != "no"; then
15123 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15129 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15124 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15130 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15125 echo "configure:15126: checking for gpm.h" >&5 15131 echo "configure:15132: checking for gpm.h" >&5
15126 15132
15127 cat > conftest.$ac_ext <<EOF 15133 cat > conftest.$ac_ext <<EOF
15128 #line 15129 "configure" 15134 #line 15135 "configure"
15129 #include "confdefs.h" 15135 #include "confdefs.h"
15130 #include <gpm.h> 15136 #include <gpm.h>
15131 EOF 15137 EOF
15132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15133 { (eval echo configure:15134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15139 { (eval echo configure:15140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15135 if test -z "$ac_err"; then 15141 if test -z "$ac_err"; then
15136 rm -rf conftest* 15142 rm -rf conftest*
15137 eval "ac_cv_header_$ac_safe=yes" 15143 eval "ac_cv_header_$ac_safe=yes"
15138 else 15144 else
15146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15147 echo "$ac_t""yes" 1>&6 15153 echo "$ac_t""yes" 1>&6
15148 15154
15149 15155
15150 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15156 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15151 echo "configure:15152: checking for Gpm_Open in -lgpm" >&5 15157 echo "configure:15158: checking for Gpm_Open in -lgpm" >&5
15152 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15158 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15153 15159
15154 xe_check_libs=" -lgpm " 15160 xe_check_libs=" -lgpm "
15155 cat > conftest.$ac_ext <<EOF 15161 cat > conftest.$ac_ext <<EOF
15156 #line 15157 "configure" 15162 #line 15163 "configure"
15157 #include "confdefs.h" 15163 #include "confdefs.h"
15158 /* Override any gcc2 internal prototype to avoid an error. */ 15164 /* Override any gcc2 internal prototype to avoid an error. */
15159 /* We use char because int might match the return type of a gcc2 15165 /* We use char because int might match the return type of a gcc2
15160 builtin and then its argument prototype would still apply. */ 15166 builtin and then its argument prototype would still apply. */
15161 char Gpm_Open(); 15167 char Gpm_Open();
15162 15168
15163 int main() { 15169 int main() {
15164 Gpm_Open() 15170 Gpm_Open()
15165 ; return 0; } 15171 ; return 0; }
15166 EOF 15172 EOF
15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15173 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15168 rm -rf conftest* 15174 rm -rf conftest*
15169 eval "ac_cv_lib_$ac_lib_var=yes" 15175 eval "ac_cv_lib_$ac_lib_var=yes"
15170 else 15176 else
15171 echo "configure: failed program was:" >&5 15177 echo "configure: failed program was:" >&5
15172 cat conftest.$ac_ext >&5 15178 cat conftest.$ac_ext >&5
15214 done 15220 done
15215 fi 15221 fi
15216 15222
15217 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15223 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15218 != "no no no" && echo "checking for database support" 1>&6 15224 != "no no no" && echo "checking for database support" 1>&6
15219 echo "configure:15220: checking for database support" >&5 15225 echo "configure:15226: checking for database support" >&5
15220 15226
15221 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15227 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15228 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15229 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15224 echo "configure:15225: checking for ndbm.h" >&5 15230 echo "configure:15231: checking for ndbm.h" >&5
15225 15231
15226 cat > conftest.$ac_ext <<EOF 15232 cat > conftest.$ac_ext <<EOF
15227 #line 15228 "configure" 15233 #line 15234 "configure"
15228 #include "confdefs.h" 15234 #include "confdefs.h"
15229 #include <ndbm.h> 15235 #include <ndbm.h>
15230 EOF 15236 EOF
15231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15232 { (eval echo configure:15233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15238 { (eval echo configure:15239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15234 if test -z "$ac_err"; then 15240 if test -z "$ac_err"; then
15235 rm -rf conftest* 15241 rm -rf conftest*
15236 eval "ac_cv_header_$ac_safe=yes" 15242 eval "ac_cv_header_$ac_safe=yes"
15237 else 15243 else
15257 fi 15263 fi
15258 15264
15259 if test "$with_database_gdbm" != "no"; then 15265 if test "$with_database_gdbm" != "no"; then
15260 15266
15261 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15267 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15262 echo "configure:15263: checking for dbm_open in -lgdbm" >&5 15268 echo "configure:15269: checking for dbm_open in -lgdbm" >&5
15263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15269 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15264 15270
15265 xe_check_libs=" -lgdbm " 15271 xe_check_libs=" -lgdbm "
15266 cat > conftest.$ac_ext <<EOF 15272 cat > conftest.$ac_ext <<EOF
15267 #line 15268 "configure" 15273 #line 15274 "configure"
15268 #include "confdefs.h" 15274 #include "confdefs.h"
15269 /* Override any gcc2 internal prototype to avoid an error. */ 15275 /* Override any gcc2 internal prototype to avoid an error. */
15270 /* We use char because int might match the return type of a gcc2 15276 /* We use char because int might match the return type of a gcc2
15271 builtin and then its argument prototype would still apply. */ 15277 builtin and then its argument prototype would still apply. */
15272 char dbm_open(); 15278 char dbm_open();
15273 15279
15274 int main() { 15280 int main() {
15275 dbm_open() 15281 dbm_open()
15276 ; return 0; } 15282 ; return 0; }
15277 EOF 15283 EOF
15278 if { (eval echo configure:15279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15284 if { (eval echo configure:15285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15279 rm -rf conftest* 15285 rm -rf conftest*
15280 eval "ac_cv_lib_$ac_lib_var=yes" 15286 eval "ac_cv_lib_$ac_lib_var=yes"
15281 else 15287 else
15282 echo "configure: failed program was:" >&5 15288 echo "configure: failed program was:" >&5
15283 cat conftest.$ac_ext >&5 15289 cat conftest.$ac_ext >&5
15301 15307
15302 fi 15308 fi
15303 15309
15304 if test "$with_database_dbm" != "no"; then 15310 if test "$with_database_dbm" != "no"; then
15305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15311 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15306 echo "configure:15307: checking for dbm_open" >&5 15312 echo "configure:15313: checking for dbm_open" >&5
15307 15313
15308 cat > conftest.$ac_ext <<EOF 15314 cat > conftest.$ac_ext <<EOF
15309 #line 15310 "configure" 15315 #line 15316 "configure"
15310 #include "confdefs.h" 15316 #include "confdefs.h"
15311 /* System header to define __stub macros and hopefully few prototypes, 15317 /* System header to define __stub macros and hopefully few prototypes,
15312 which can conflict with char dbm_open(); below. */ 15318 which can conflict with char dbm_open(); below. */
15313 #include <assert.h> 15319 #include <assert.h>
15314 /* Override any gcc2 internal prototype to avoid an error. */ 15320 /* Override any gcc2 internal prototype to avoid an error. */
15327 dbm_open(); 15333 dbm_open();
15328 #endif 15334 #endif
15329 15335
15330 ; return 0; } 15336 ; return 0; }
15331 EOF 15337 EOF
15332 if { (eval echo configure:15333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15338 if { (eval echo configure:15339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15333 rm -rf conftest* 15339 rm -rf conftest*
15334 eval "ac_cv_func_dbm_open=yes" 15340 eval "ac_cv_func_dbm_open=yes"
15335 else 15341 else
15336 echo "configure: failed program was:" >&5 15342 echo "configure: failed program was:" >&5
15337 cat conftest.$ac_ext >&5 15343 cat conftest.$ac_ext >&5
15346 else 15352 else
15347 echo "$ac_t""no" 1>&6 15353 echo "$ac_t""no" 1>&6
15348 15354
15349 15355
15350 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15356 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15351 echo "configure:15352: checking for dbm_open in -ldbm" >&5 15357 echo "configure:15358: checking for dbm_open in -ldbm" >&5
15352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15358 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15353 15359
15354 xe_check_libs=" -ldbm " 15360 xe_check_libs=" -ldbm "
15355 cat > conftest.$ac_ext <<EOF 15361 cat > conftest.$ac_ext <<EOF
15356 #line 15357 "configure" 15362 #line 15363 "configure"
15357 #include "confdefs.h" 15363 #include "confdefs.h"
15358 /* Override any gcc2 internal prototype to avoid an error. */ 15364 /* Override any gcc2 internal prototype to avoid an error. */
15359 /* We use char because int might match the return type of a gcc2 15365 /* We use char because int might match the return type of a gcc2
15360 builtin and then its argument prototype would still apply. */ 15366 builtin and then its argument prototype would still apply. */
15361 char dbm_open(); 15367 char dbm_open();
15362 15368
15363 int main() { 15369 int main() {
15364 dbm_open() 15370 dbm_open()
15365 ; return 0; } 15371 ; return 0; }
15366 EOF 15372 EOF
15367 if { (eval echo configure:15368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15373 if { (eval echo configure:15374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15368 rm -rf conftest* 15374 rm -rf conftest*
15369 eval "ac_cv_lib_$ac_lib_var=yes" 15375 eval "ac_cv_lib_$ac_lib_var=yes"
15370 else 15376 else
15371 echo "configure: failed program was:" >&5 15377 echo "configure: failed program was:" >&5
15372 cat conftest.$ac_ext >&5 15378 cat conftest.$ac_ext >&5
15403 } 15409 }
15404 15410
15405 15411
15406 if test "$with_database_berkdb" != "no"; then 15412 if test "$with_database_berkdb" != "no"; then
15407 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15413 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15408 echo "configure:15409: checking for Berkeley db.h" >&5 15414 echo "configure:15415: checking for Berkeley db.h" >&5
15409 for header in "db/db.h" "db.h"; do 15415 for header in "db/db.h" "db.h"; do
15410 cat > conftest.$ac_ext <<EOF 15416 cat > conftest.$ac_ext <<EOF
15411 #line 15412 "configure" 15417 #line 15418 "configure"
15412 #include "confdefs.h" 15418 #include "confdefs.h"
15413 15419
15414 #include <stdlib.h> 15420 #include <stdlib.h>
15415 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15421 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15416 #ifdef HAVE_INTTYPES_H 15422 #ifdef HAVE_INTTYPES_H
15428 15434
15429 int main() { 15435 int main() {
15430 15436
15431 ; return 0; } 15437 ; return 0; }
15432 EOF 15438 EOF
15433 if { (eval echo configure:15434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15439 if { (eval echo configure:15440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15434 rm -rf conftest* 15440 rm -rf conftest*
15435 db_h_file="$header"; break 15441 db_h_file="$header"; break
15436 else 15442 else
15437 echo "configure: failed program was:" >&5 15443 echo "configure: failed program was:" >&5
15438 cat conftest.$ac_ext >&5 15444 cat conftest.$ac_ext >&5
15444 else echo "$ac_t""$db_h_file" 1>&6 15450 else echo "$ac_t""$db_h_file" 1>&6
15445 fi 15451 fi
15446 15452
15447 if test "$with_database_berkdb" != "no"; then 15453 if test "$with_database_berkdb" != "no"; then
15448 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15454 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15449 echo "configure:15450: checking for Berkeley DB version" >&5 15455 echo "configure:15456: checking for Berkeley DB version" >&5
15450 cat > conftest.$ac_ext <<EOF 15456 cat > conftest.$ac_ext <<EOF
15451 #line 15452 "configure" 15457 #line 15458 "configure"
15452 #include "confdefs.h" 15458 #include "confdefs.h"
15453 #include <$db_h_file> 15459 #include <$db_h_file>
15454 #if DB_VERSION_MAJOR > 1 15460 #if DB_VERSION_MAJOR > 1
15455 yes 15461 yes
15456 #endif 15462 #endif
15458 EOF 15464 EOF
15459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15460 egrep "yes" >/dev/null 2>&1; then 15466 egrep "yes" >/dev/null 2>&1; then
15461 rm -rf conftest* 15467 rm -rf conftest*
15462 cat > conftest.$ac_ext <<EOF 15468 cat > conftest.$ac_ext <<EOF
15463 #line 15464 "configure" 15469 #line 15470 "configure"
15464 #include "confdefs.h" 15470 #include "confdefs.h"
15465 #include <$db_h_file> 15471 #include <$db_h_file>
15466 #if DB_VERSION_MAJOR > 2 15472 #if DB_VERSION_MAJOR > 2
15467 yes 15473 yes
15468 #endif 15474 #endif
15470 EOF 15476 EOF
15471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15472 egrep "yes" >/dev/null 2>&1; then 15478 egrep "yes" >/dev/null 2>&1; then
15473 rm -rf conftest* 15479 rm -rf conftest*
15474 cat > conftest.$ac_ext <<EOF 15480 cat > conftest.$ac_ext <<EOF
15475 #line 15476 "configure" 15481 #line 15482 "configure"
15476 #include "confdefs.h" 15482 #include "confdefs.h"
15477 #include <$db_h_file> 15483 #include <$db_h_file>
15478 #if DB_VERSION_MAJOR > 3 15484 #if DB_VERSION_MAJOR > 3
15479 yes 15485 yes
15480 #endif 15486 #endif
15504 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15510 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15505 fi 15511 fi
15506 rm -f conftest* 15512 rm -f conftest*
15507 15513
15508 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15514 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15509 echo "configure:15510: checking for $dbfunc" >&5 15515 echo "configure:15516: checking for $dbfunc" >&5
15510 15516
15511 cat > conftest.$ac_ext <<EOF 15517 cat > conftest.$ac_ext <<EOF
15512 #line 15513 "configure" 15518 #line 15519 "configure"
15513 #include "confdefs.h" 15519 #include "confdefs.h"
15514 /* System header to define __stub macros and hopefully few prototypes, 15520 /* System header to define __stub macros and hopefully few prototypes,
15515 which can conflict with char $dbfunc(); below. */ 15521 which can conflict with char $dbfunc(); below. */
15516 #include <assert.h> 15522 #include <assert.h>
15517 /* Override any gcc2 internal prototype to avoid an error. */ 15523 /* Override any gcc2 internal prototype to avoid an error. */
15530 $dbfunc(); 15536 $dbfunc();
15531 #endif 15537 #endif
15532 15538
15533 ; return 0; } 15539 ; return 0; }
15534 EOF 15540 EOF
15535 if { (eval echo configure:15536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15541 if { (eval echo configure:15542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15536 rm -rf conftest* 15542 rm -rf conftest*
15537 eval "ac_cv_func_$dbfunc=yes" 15543 eval "ac_cv_func_$dbfunc=yes"
15538 else 15544 else
15539 echo "configure: failed program was:" >&5 15545 echo "configure: failed program was:" >&5
15540 cat conftest.$ac_ext >&5 15546 cat conftest.$ac_ext >&5
15549 else 15555 else
15550 echo "$ac_t""no" 1>&6 15556 echo "$ac_t""no" 1>&6
15551 15557
15552 15558
15553 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15559 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15554 echo "configure:15555: checking for $dbfunc in -ldb" >&5 15560 echo "configure:15561: checking for $dbfunc in -ldb" >&5
15555 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15561 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15556 15562
15557 xe_check_libs=" -ldb " 15563 xe_check_libs=" -ldb "
15558 cat > conftest.$ac_ext <<EOF 15564 cat > conftest.$ac_ext <<EOF
15559 #line 15560 "configure" 15565 #line 15566 "configure"
15560 #include "confdefs.h" 15566 #include "confdefs.h"
15561 /* Override any gcc2 internal prototype to avoid an error. */ 15567 /* Override any gcc2 internal prototype to avoid an error. */
15562 /* We use char because int might match the return type of a gcc2 15568 /* We use char because int might match the return type of a gcc2
15563 builtin and then its argument prototype would still apply. */ 15569 builtin and then its argument prototype would still apply. */
15564 char $dbfunc(); 15570 char $dbfunc();
15565 15571
15566 int main() { 15572 int main() {
15567 $dbfunc() 15573 $dbfunc()
15568 ; return 0; } 15574 ; return 0; }
15569 EOF 15575 EOF
15570 if { (eval echo configure:15571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15576 if { (eval echo configure:15577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15571 rm -rf conftest* 15577 rm -rf conftest*
15572 eval "ac_cv_lib_$ac_lib_var=yes" 15578 eval "ac_cv_lib_$ac_lib_var=yes"
15573 else 15579 else
15574 echo "configure: failed program was:" >&5 15580 echo "configure: failed program was:" >&5
15575 cat conftest.$ac_ext >&5 15581 cat conftest.$ac_ext >&5
15599 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15605 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15600 rm -f $tempcname 15606 rm -f $tempcname
15601 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15607 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15602 15608
15603 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15609 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15604 echo "configure:15605: checking for $dbfunc in -ldb" >&5 15610 echo "configure:15611: checking for $dbfunc in -ldb" >&5
15605 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15611 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15606 15612
15607 xe_check_libs=" -ldb " 15613 xe_check_libs=" -ldb "
15608 cat > conftest.$ac_ext <<EOF 15614 cat > conftest.$ac_ext <<EOF
15609 #line 15610 "configure" 15615 #line 15616 "configure"
15610 #include "confdefs.h" 15616 #include "confdefs.h"
15611 /* Override any gcc2 internal prototype to avoid an error. */ 15617 /* Override any gcc2 internal prototype to avoid an error. */
15612 /* We use char because int might match the return type of a gcc2 15618 /* We use char because int might match the return type of a gcc2
15613 builtin and then its argument prototype would still apply. */ 15619 builtin and then its argument prototype would still apply. */
15614 char $dbfunc(); 15620 char $dbfunc();
15615 15621
15616 int main() { 15622 int main() {
15617 $dbfunc() 15623 $dbfunc()
15618 ; return 0; } 15624 ; return 0; }
15619 EOF 15625 EOF
15620 if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15626 if { (eval echo configure:15627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15621 rm -rf conftest* 15627 rm -rf conftest*
15622 eval "ac_cv_lib_$ac_lib_var=yes" 15628 eval "ac_cv_lib_$ac_lib_var=yes"
15623 else 15629 else
15624 echo "configure: failed program was:" >&5 15630 echo "configure: failed program was:" >&5
15625 cat conftest.$ac_ext >&5 15631 cat conftest.$ac_ext >&5
15674 fi 15680 fi
15675 15681
15676 if test "$with_socks" = "yes"; then 15682 if test "$with_socks" = "yes"; then
15677 15683
15678 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15684 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15679 echo "configure:15680: checking for SOCKSinit in -lsocks" >&5 15685 echo "configure:15686: checking for SOCKSinit in -lsocks" >&5
15680 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15686 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15681 15687
15682 xe_check_libs=" -lsocks " 15688 xe_check_libs=" -lsocks "
15683 cat > conftest.$ac_ext <<EOF 15689 cat > conftest.$ac_ext <<EOF
15684 #line 15685 "configure" 15690 #line 15691 "configure"
15685 #include "confdefs.h" 15691 #include "confdefs.h"
15686 /* Override any gcc2 internal prototype to avoid an error. */ 15692 /* Override any gcc2 internal prototype to avoid an error. */
15687 /* We use char because int might match the return type of a gcc2 15693 /* We use char because int might match the return type of a gcc2
15688 builtin and then its argument prototype would still apply. */ 15694 builtin and then its argument prototype would still apply. */
15689 char SOCKSinit(); 15695 char SOCKSinit();
15690 15696
15691 int main() { 15697 int main() {
15692 SOCKSinit() 15698 SOCKSinit()
15693 ; return 0; } 15699 ; return 0; }
15694 EOF 15700 EOF
15695 if { (eval echo configure:15696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15701 if { (eval echo configure:15702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15696 rm -rf conftest* 15702 rm -rf conftest*
15697 eval "ac_cv_lib_$ac_lib_var=yes" 15703 eval "ac_cv_lib_$ac_lib_var=yes"
15698 else 15704 else
15699 echo "configure: failed program was:" >&5 15705 echo "configure: failed program was:" >&5
15700 cat conftest.$ac_ext >&5 15706 cat conftest.$ac_ext >&5
15746 fi 15752 fi
15747 15753
15748 if test "$use_number_lib" = "gmp"; then 15754 if test "$use_number_lib" = "gmp"; then
15749 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15755 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15750 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15756 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15751 echo "configure:15752: checking for gmp.h" >&5 15757 echo "configure:15758: checking for gmp.h" >&5
15752 15758
15753 cat > conftest.$ac_ext <<EOF 15759 cat > conftest.$ac_ext <<EOF
15754 #line 15755 "configure" 15760 #line 15761 "configure"
15755 #include "confdefs.h" 15761 #include "confdefs.h"
15756 #include <gmp.h> 15762 #include <gmp.h>
15757 EOF 15763 EOF
15758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15759 { (eval echo configure:15760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15765 { (eval echo configure:15766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15761 if test -z "$ac_err"; then 15767 if test -z "$ac_err"; then
15762 rm -rf conftest* 15768 rm -rf conftest*
15763 eval "ac_cv_header_$ac_safe=yes" 15769 eval "ac_cv_header_$ac_safe=yes"
15764 else 15770 else
15772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15773 echo "$ac_t""yes" 1>&6 15779 echo "$ac_t""yes" 1>&6
15774 15780
15775 15781
15776 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15782 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15777 echo "configure:15778: checking for __gmpz_init in -lgmp" >&5 15783 echo "configure:15784: checking for __gmpz_init in -lgmp" >&5
15778 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15784 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15779 15785
15780 xe_check_libs=" -lgmp " 15786 xe_check_libs=" -lgmp "
15781 cat > conftest.$ac_ext <<EOF 15787 cat > conftest.$ac_ext <<EOF
15782 #line 15783 "configure" 15788 #line 15789 "configure"
15783 #include "confdefs.h" 15789 #include "confdefs.h"
15784 /* Override any gcc2 internal prototype to avoid an error. */ 15790 /* Override any gcc2 internal prototype to avoid an error. */
15785 /* We use char because int might match the return type of a gcc2 15791 /* We use char because int might match the return type of a gcc2
15786 builtin and then its argument prototype would still apply. */ 15792 builtin and then its argument prototype would still apply. */
15787 char __gmpz_init(); 15793 char __gmpz_init();
15788 15794
15789 int main() { 15795 int main() {
15790 __gmpz_init() 15796 __gmpz_init()
15791 ; return 0; } 15797 ; return 0; }
15792 EOF 15798 EOF
15793 if { (eval echo configure:15794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15799 if { (eval echo configure:15800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15794 rm -rf conftest* 15800 rm -rf conftest*
15795 eval "ac_cv_lib_$ac_lib_var=yes" 15801 eval "ac_cv_lib_$ac_lib_var=yes"
15796 else 15802 else
15797 echo "configure: failed program was:" >&5 15803 echo "configure: failed program was:" >&5
15798 cat conftest.$ac_ext >&5 15804 cat conftest.$ac_ext >&5
15837 fi 15843 fi
15838 elif test "$use_number_lib" = "mp"; then 15844 elif test "$use_number_lib" = "mp"; then
15839 for library in "" "-lcrypto"; do 15845 for library in "" "-lcrypto"; do
15840 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15846 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15841 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15847 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15842 echo "configure:15843: checking for mp.h" >&5 15848 echo "configure:15849: checking for mp.h" >&5
15843 15849
15844 cat > conftest.$ac_ext <<EOF 15850 cat > conftest.$ac_ext <<EOF
15845 #line 15846 "configure" 15851 #line 15852 "configure"
15846 #include "confdefs.h" 15852 #include "confdefs.h"
15847 #include <mp.h> 15853 #include <mp.h>
15848 EOF 15854 EOF
15849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15850 { (eval echo configure:15851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15856 { (eval echo configure:15857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15852 if test -z "$ac_err"; then 15858 if test -z "$ac_err"; then
15853 rm -rf conftest* 15859 rm -rf conftest*
15854 eval "ac_cv_header_$ac_safe=yes" 15860 eval "ac_cv_header_$ac_safe=yes"
15855 else 15861 else
15865 15871
15866 15872
15867 xe_msg_checking="for mp_mfree in -lmp" 15873 xe_msg_checking="for mp_mfree in -lmp"
15868 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15874 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15869 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15875 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15870 echo "configure:15871: checking "$xe_msg_checking"" >&5 15876 echo "configure:15877: checking "$xe_msg_checking"" >&5
15871 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15877 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15872 15878
15873 xe_check_libs=" -lmp $library" 15879 xe_check_libs=" -lmp $library"
15874 cat > conftest.$ac_ext <<EOF 15880 cat > conftest.$ac_ext <<EOF
15875 #line 15876 "configure" 15881 #line 15882 "configure"
15876 #include "confdefs.h" 15882 #include "confdefs.h"
15877 /* Override any gcc2 internal prototype to avoid an error. */ 15883 /* Override any gcc2 internal prototype to avoid an error. */
15878 /* We use char because int might match the return type of a gcc2 15884 /* We use char because int might match the return type of a gcc2
15879 builtin and then its argument prototype would still apply. */ 15885 builtin and then its argument prototype would still apply. */
15880 char mp_mfree(); 15886 char mp_mfree();
15881 15887
15882 int main() { 15888 int main() {
15883 mp_mfree() 15889 mp_mfree()
15884 ; return 0; } 15890 ; return 0; }
15885 EOF 15891 EOF
15886 if { (eval echo configure:15887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15892 if { (eval echo configure:15893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15887 rm -rf conftest* 15893 rm -rf conftest*
15888 eval "ac_cv_lib_$ac_lib_var=yes" 15894 eval "ac_cv_lib_$ac_lib_var=yes"
15889 else 15895 else
15890 echo "configure: failed program was:" >&5 15896 echo "configure: failed program was:" >&5
15891 cat conftest.$ac_ext >&5 15897 cat conftest.$ac_ext >&5
15902 echo "$ac_t""no" 1>&6 15908 echo "$ac_t""no" 1>&6
15903 15909
15904 xe_msg_checking="for mfree in -lmp" 15910 xe_msg_checking="for mfree in -lmp"
15905 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15911 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15912 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15907 echo "configure:15908: checking "$xe_msg_checking"" >&5 15913 echo "configure:15914: checking "$xe_msg_checking"" >&5
15908 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15914 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15909 15915
15910 xe_check_libs=" -lmp $library" 15916 xe_check_libs=" -lmp $library"
15911 cat > conftest.$ac_ext <<EOF 15917 cat > conftest.$ac_ext <<EOF
15912 #line 15913 "configure" 15918 #line 15919 "configure"
15913 #include "confdefs.h" 15919 #include "confdefs.h"
15914 /* Override any gcc2 internal prototype to avoid an error. */ 15920 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2 15921 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */ 15922 builtin and then its argument prototype would still apply. */
15917 char mfree(); 15923 char mfree();
15918 15924
15919 int main() { 15925 int main() {
15920 mfree() 15926 mfree()
15921 ; return 0; } 15927 ; return 0; }
15922 EOF 15928 EOF
15923 if { (eval echo configure:15924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15929 if { (eval echo configure:15930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15924 rm -rf conftest* 15930 rm -rf conftest*
15925 eval "ac_cv_lib_$ac_lib_var=yes" 15931 eval "ac_cv_lib_$ac_lib_var=yes"
15926 else 15932 else
15927 echo "configure: failed program was:" >&5 15933 echo "configure: failed program was:" >&5
15928 cat conftest.$ac_ext >&5 15934 cat conftest.$ac_ext >&5
15960 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15966 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15961 if test "$library" != ""; then 15967 if test "$library" != ""; then
15962 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 15968 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
15963 fi 15969 fi
15964 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15970 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15965 echo "configure:15966: checking for mp_move" >&5 15971 echo "configure:15972: checking for mp_move" >&5
15966 15972
15967 cat > conftest.$ac_ext <<EOF 15973 cat > conftest.$ac_ext <<EOF
15968 #line 15969 "configure" 15974 #line 15975 "configure"
15969 #include "confdefs.h" 15975 #include "confdefs.h"
15970 /* System header to define __stub macros and hopefully few prototypes, 15976 /* System header to define __stub macros and hopefully few prototypes,
15971 which can conflict with char mp_move(); below. */ 15977 which can conflict with char mp_move(); below. */
15972 #include <assert.h> 15978 #include <assert.h>
15973 /* Override any gcc2 internal prototype to avoid an error. */ 15979 /* Override any gcc2 internal prototype to avoid an error. */
15986 mp_move(); 15992 mp_move();
15987 #endif 15993 #endif
15988 15994
15989 ; return 0; } 15995 ; return 0; }
15990 EOF 15996 EOF
15991 if { (eval echo configure:15992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15997 if { (eval echo configure:15998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15992 rm -rf conftest* 15998 rm -rf conftest*
15993 eval "ac_cv_func_mp_move=yes" 15999 eval "ac_cv_func_mp_move=yes"
15994 else 16000 else
15995 echo "configure: failed program was:" >&5 16001 echo "configure: failed program was:" >&5
15996 cat conftest.$ac_ext >&5 16002 cat conftest.$ac_ext >&5
16017 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16023 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16018 if test "$library" != ""; then 16024 if test "$library" != ""; then
16019 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16025 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16020 fi 16026 fi
16021 echo $ac_n "checking for move""... $ac_c" 1>&6 16027 echo $ac_n "checking for move""... $ac_c" 1>&6
16022 echo "configure:16023: checking for move" >&5 16028 echo "configure:16029: checking for move" >&5
16023 16029
16024 cat > conftest.$ac_ext <<EOF 16030 cat > conftest.$ac_ext <<EOF
16025 #line 16026 "configure" 16031 #line 16032 "configure"
16026 #include "confdefs.h" 16032 #include "confdefs.h"
16027 /* System header to define __stub macros and hopefully few prototypes, 16033 /* System header to define __stub macros and hopefully few prototypes,
16028 which can conflict with char move(); below. */ 16034 which can conflict with char move(); below. */
16029 #include <assert.h> 16035 #include <assert.h>
16030 /* Override any gcc2 internal prototype to avoid an error. */ 16036 /* Override any gcc2 internal prototype to avoid an error. */
16043 move(); 16049 move();
16044 #endif 16050 #endif
16045 16051
16046 ; return 0; } 16052 ; return 0; }
16047 EOF 16053 EOF
16048 if { (eval echo configure:16049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16054 if { (eval echo configure:16055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16049 rm -rf conftest* 16055 rm -rf conftest*
16050 eval "ac_cv_func_move=yes" 16056 eval "ac_cv_func_move=yes"
16051 else 16057 else
16052 echo "configure: failed program was:" >&5 16058 echo "configure: failed program was:" >&5
16053 cat conftest.$ac_ext >&5 16059 cat conftest.$ac_ext >&5
16090 } 16096 }
16091 16097
16092 fi 16098 fi
16093 16099
16094 cat > conftest.$ac_ext <<EOF 16100 cat > conftest.$ac_ext <<EOF
16095 #line 16096 "configure" 16101 #line 16102 "configure"
16096 #include "confdefs.h" 16102 #include "confdefs.h"
16097 int main(int c,char *v[]){return 0;} 16103 int main(int c,char *v[]){return 0;}
16098 EOF 16104 EOF
16099 if { (eval echo configure:16100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16105 if { (eval echo configure:16106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16100 then 16106 then
16101 : 16107 :
16102 else 16108 else
16103 conftest_rc="$?" 16109 conftest_rc="$?"
16104 echo "configure: failed program was:" >&5 16110 echo "configure: failed program was:" >&5