comparison configure @ 2594:bafa01f3cb06

[xemacs-hg @ 2005-02-18 06:26:31 by stephent] XEmacs 21.5.19 "chives" is released.
author stephent
date Fri, 18 Feb 2005 06:31:22 +0000
parents d96db265d893
children f2bd34928a0f
comparison
equal deleted inserted replaced
2593:f152e0bc4ff6 2594:bafa01f3cb06
4851 4851
4852 cat > conftest.$ac_ext <<EOF 4852 cat > conftest.$ac_ext <<EOF
4853 #line 4854 "configure" 4853 #line 4854 "configure"
4854 #include "confdefs.h" 4854 #include "confdefs.h"
4855 #include <stdio.h> 4855 #include <stdio.h>
4856 #include <sys/types.h>
4856 main() 4857 main()
4857 { 4858 {
4858 FILE *f=fopen("conftestval", "w"); 4859 FILE *f=fopen("conftestval", "w");
4859 if (!f) exit(1); 4860 if (!f) exit(1);
4860 fprintf(f, "%d\n", sizeof(short)); 4861 fprintf(f, "%d\n", sizeof(short));
4861 exit(0); 4862 exit(0);
4862 } 4863 }
4863 EOF 4864 EOF
4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4865 then 4866 then
4866 ac_cv_sizeof_short=`cat conftestval` 4867 ac_cv_sizeof_short=`cat conftestval`
4867 else 4868 else
4868 conftest_rc="$?" 4869 conftest_rc="$?"
4869 echo "configure: failed program was:" >&5 4870 echo "configure: failed program was:" >&5
4887 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4888 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4888 echo "*** PANIC *** Please examine config.log for compilation errors." 4889 echo "*** PANIC *** Please examine config.log for compilation errors."
4889 exit 1 4890 exit 1
4890 fi 4891 fi
4891 echo $ac_n "checking size of int""... $ac_c" 1>&6 4892 echo $ac_n "checking size of int""... $ac_c" 1>&6
4892 echo "configure:4893: checking size of int" >&5 4893 echo "configure:4894: checking size of int" >&5
4893 4894
4894 cat > conftest.$ac_ext <<EOF 4895 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure" 4896 #line 4897 "configure"
4896 #include "confdefs.h" 4897 #include "confdefs.h"
4897 #include <stdio.h> 4898 #include <stdio.h>
4899 #include <sys/types.h>
4898 main() 4900 main()
4899 { 4901 {
4900 FILE *f=fopen("conftestval", "w"); 4902 FILE *f=fopen("conftestval", "w");
4901 if (!f) exit(1); 4903 if (!f) exit(1);
4902 fprintf(f, "%d\n", sizeof(int)); 4904 fprintf(f, "%d\n", sizeof(int));
4903 exit(0); 4905 exit(0);
4904 } 4906 }
4905 EOF 4907 EOF
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4907 then 4909 then
4908 ac_cv_sizeof_int=`cat conftestval` 4910 ac_cv_sizeof_int=`cat conftestval`
4909 else 4911 else
4910 conftest_rc="$?" 4912 conftest_rc="$?"
4911 echo "configure: failed program was:" >&5 4913 echo "configure: failed program was:" >&5
4923 EOF 4925 EOF
4924 } 4926 }
4925 4927
4926 4928
4927 echo $ac_n "checking size of long""... $ac_c" 1>&6 4929 echo $ac_n "checking size of long""... $ac_c" 1>&6
4928 echo "configure:4929: checking size of long" >&5 4930 echo "configure:4931: checking size of long" >&5
4929 4931
4930 cat > conftest.$ac_ext <<EOF 4932 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure" 4933 #line 4934 "configure"
4932 #include "confdefs.h" 4934 #include "confdefs.h"
4933 #include <stdio.h> 4935 #include <stdio.h>
4936 #include <sys/types.h>
4934 main() 4937 main()
4935 { 4938 {
4936 FILE *f=fopen("conftestval", "w"); 4939 FILE *f=fopen("conftestval", "w");
4937 if (!f) exit(1); 4940 if (!f) exit(1);
4938 fprintf(f, "%d\n", sizeof(long)); 4941 fprintf(f, "%d\n", sizeof(long));
4939 exit(0); 4942 exit(0);
4940 } 4943 }
4941 EOF 4944 EOF
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4943 then 4946 then
4944 ac_cv_sizeof_long=`cat conftestval` 4947 ac_cv_sizeof_long=`cat conftestval`
4945 else 4948 else
4946 conftest_rc="$?" 4949 conftest_rc="$?"
4947 echo "configure: failed program was:" >&5 4950 echo "configure: failed program was:" >&5
4959 EOF 4962 EOF
4960 } 4963 }
4961 4964
4962 4965
4963 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4966 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4964 echo "configure:4965: checking size of long long" >&5 4967 echo "configure:4968: checking size of long long" >&5
4965 4968
4966 cat > conftest.$ac_ext <<EOF 4969 cat > conftest.$ac_ext <<EOF
4967 #line 4968 "configure" 4970 #line 4971 "configure"
4968 #include "confdefs.h" 4971 #include "confdefs.h"
4969 #include <stdio.h> 4972 #include <stdio.h>
4973 #include <sys/types.h>
4970 main() 4974 main()
4971 { 4975 {
4972 FILE *f=fopen("conftestval", "w"); 4976 FILE *f=fopen("conftestval", "w");
4973 if (!f) exit(1); 4977 if (!f) exit(1);
4974 fprintf(f, "%d\n", sizeof(long long)); 4978 fprintf(f, "%d\n", sizeof(long long));
4975 exit(0); 4979 exit(0);
4976 } 4980 }
4977 EOF 4981 EOF
4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4979 then 4983 then
4980 ac_cv_sizeof_long_long=`cat conftestval` 4984 ac_cv_sizeof_long_long=`cat conftestval`
4981 else 4985 else
4982 conftest_rc="$?" 4986 conftest_rc="$?"
4983 echo "configure: failed program was:" >&5 4987 echo "configure: failed program was:" >&5
4995 EOF 4999 EOF
4996 } 5000 }
4997 5001
4998 5002
4999 echo $ac_n "checking size of void *""... $ac_c" 1>&6 5003 echo $ac_n "checking size of void *""... $ac_c" 1>&6
5000 echo "configure:5001: checking size of void *" >&5 5004 echo "configure:5005: checking size of void *" >&5
5001 5005
5002 cat > conftest.$ac_ext <<EOF 5006 cat > conftest.$ac_ext <<EOF
5003 #line 5004 "configure" 5007 #line 5008 "configure"
5004 #include "confdefs.h" 5008 #include "confdefs.h"
5005 #include <stdio.h> 5009 #include <stdio.h>
5010 #include <sys/types.h>
5006 main() 5011 main()
5007 { 5012 {
5008 FILE *f=fopen("conftestval", "w"); 5013 FILE *f=fopen("conftestval", "w");
5009 if (!f) exit(1); 5014 if (!f) exit(1);
5010 fprintf(f, "%d\n", sizeof(void *)); 5015 fprintf(f, "%d\n", sizeof(void *));
5011 exit(0); 5016 exit(0);
5012 } 5017 }
5013 EOF 5018 EOF
5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5015 then 5020 then
5016 ac_cv_sizeof_void_p=`cat conftestval` 5021 ac_cv_sizeof_void_p=`cat conftestval`
5017 else 5022 else
5018 conftest_rc="$?" 5023 conftest_rc="$?"
5019 echo "configure: failed program was:" >&5 5024 echo "configure: failed program was:" >&5
5031 EOF 5036 EOF
5032 } 5037 }
5033 5038
5034 5039
5035 echo $ac_n "checking size of double""... $ac_c" 1>&6 5040 echo $ac_n "checking size of double""... $ac_c" 1>&6
5036 echo "configure:5037: checking size of double" >&5 5041 echo "configure:5042: checking size of double" >&5
5037 5042
5038 cat > conftest.$ac_ext <<EOF 5043 cat > conftest.$ac_ext <<EOF
5039 #line 5040 "configure" 5044 #line 5045 "configure"
5040 #include "confdefs.h" 5045 #include "confdefs.h"
5041 #include <stdio.h> 5046 #include <stdio.h>
5047 #include <sys/types.h>
5042 main() 5048 main()
5043 { 5049 {
5044 FILE *f=fopen("conftestval", "w"); 5050 FILE *f=fopen("conftestval", "w");
5045 if (!f) exit(1); 5051 if (!f) exit(1);
5046 fprintf(f, "%d\n", sizeof(double)); 5052 fprintf(f, "%d\n", sizeof(double));
5047 exit(0); 5053 exit(0);
5048 } 5054 }
5049 EOF 5055 EOF
5050 if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5051 then 5057 then
5052 ac_cv_sizeof_double=`cat conftestval` 5058 ac_cv_sizeof_double=`cat conftestval`
5053 else 5059 else
5054 conftest_rc="$?" 5060 conftest_rc="$?"
5055 echo "configure: failed program was:" >&5 5061 echo "configure: failed program was:" >&5
5068 } 5074 }
5069 5075
5070 5076
5071 5077
5072 echo $ac_n "checking for long file names""... $ac_c" 1>&6 5078 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5073 echo "configure:5074: checking for long file names" >&5 5079 echo "configure:5080: checking for long file names" >&5
5074 5080
5075 ac_cv_sys_long_file_names=yes 5081 ac_cv_sys_long_file_names=yes
5076 # Test for long file names in all the places we know might matter: 5082 # Test for long file names in all the places we know might matter:
5077 # . the current directory, where building will happen 5083 # . the current directory, where building will happen
5078 # $prefix/lib where we will be installing things 5084 # $prefix/lib where we will be installing things
5114 5120
5115 fi 5121 fi
5116 5122
5117 5123
5118 echo $ac_n "checking for sin""... $ac_c" 1>&6 5124 echo $ac_n "checking for sin""... $ac_c" 1>&6
5119 echo "configure:5120: checking for sin" >&5 5125 echo "configure:5126: checking for sin" >&5
5120 5126
5121 cat > conftest.$ac_ext <<EOF 5127 cat > conftest.$ac_ext <<EOF
5122 #line 5123 "configure" 5128 #line 5129 "configure"
5123 #include "confdefs.h" 5129 #include "confdefs.h"
5124 /* System header to define __stub macros and hopefully few prototypes, 5130 /* System header to define __stub macros and hopefully few prototypes,
5125 which can conflict with char sin(); below. */ 5131 which can conflict with char sin(); below. */
5126 #include <assert.h> 5132 #include <assert.h>
5127 /* Override any gcc2 internal prototype to avoid an error. */ 5133 /* Override any gcc2 internal prototype to avoid an error. */
5140 sin(); 5146 sin();
5141 #endif 5147 #endif
5142 5148
5143 ; return 0; } 5149 ; return 0; }
5144 EOF 5150 EOF
5145 if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5146 rm -rf conftest* 5152 rm -rf conftest*
5147 eval "ac_cv_func_sin=yes" 5153 eval "ac_cv_func_sin=yes"
5148 else 5154 else
5149 echo "configure: failed program was:" >&5 5155 echo "configure: failed program was:" >&5
5150 cat conftest.$ac_ext >&5 5156 cat conftest.$ac_ext >&5
5158 : 5164 :
5159 else 5165 else
5160 echo "$ac_t""no" 1>&6 5166 echo "$ac_t""no" 1>&6
5161 5167
5162 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5168 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5163 echo "configure:5164: checking for sin in -lm" >&5 5169 echo "configure:5170: checking for sin in -lm" >&5
5164 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5170 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5165 5171
5166 xe_check_libs=" -lm " 5172 xe_check_libs=" -lm "
5167 cat > conftest.$ac_ext <<EOF 5173 cat > conftest.$ac_ext <<EOF
5168 #line 5169 "configure" 5174 #line 5175 "configure"
5169 #include "confdefs.h" 5175 #include "confdefs.h"
5170 /* Override any gcc2 internal prototype to avoid an error. */ 5176 /* Override any gcc2 internal prototype to avoid an error. */
5171 /* We use char because int might match the return type of a gcc2 5177 /* We use char because int might match the return type of a gcc2
5172 builtin and then its argument prototype would still apply. */ 5178 builtin and then its argument prototype would still apply. */
5173 char sin(); 5179 char sin();
5174 5180
5175 int main() { 5181 int main() {
5176 sin() 5182 sin()
5177 ; return 0; } 5183 ; return 0; }
5178 EOF 5184 EOF
5179 if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5180 rm -rf conftest* 5186 rm -rf conftest*
5181 eval "ac_cv_lib_$ac_lib_var=yes" 5187 eval "ac_cv_lib_$ac_lib_var=yes"
5182 else 5188 else
5183 echo "configure: failed program was:" >&5 5189 echo "configure: failed program was:" >&5
5184 cat conftest.$ac_ext >&5 5190 cat conftest.$ac_ext >&5
5209 5215
5210 fi 5216 fi
5211 5217
5212 5218
5213 cat > conftest.$ac_ext <<EOF 5219 cat > conftest.$ac_ext <<EOF
5214 #line 5215 "configure" 5220 #line 5221 "configure"
5215 #include "confdefs.h" 5221 #include "confdefs.h"
5216 #include <math.h> 5222 #include <math.h>
5217 int main() { 5223 int main() {
5218 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5224 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5219 ; return 0; } 5225 ; return 0; }
5220 EOF 5226 EOF
5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5227 if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5222 rm -rf conftest* 5228 rm -rf conftest*
5223 { test "$extra_verbose" = "yes" && cat << \EOF 5229 { test "$extra_verbose" = "yes" && cat << \EOF
5224 Defining HAVE_INVERSE_HYPERBOLIC 5230 Defining HAVE_INVERSE_HYPERBOLIC
5225 EOF 5231 EOF
5226 cat >> confdefs.h <<\EOF 5232 cat >> confdefs.h <<\EOF
5235 rm -f conftest* 5241 rm -f conftest*
5236 5242
5237 for ac_func in mkstemp 5243 for ac_func in mkstemp
5238 do 5244 do
5239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5240 echo "configure:5241: checking for $ac_func" >&5 5246 echo "configure:5247: checking for $ac_func" >&5
5241 5247
5242 cat > conftest.$ac_ext <<EOF 5248 cat > conftest.$ac_ext <<EOF
5243 #line 5244 "configure" 5249 #line 5250 "configure"
5244 #include "confdefs.h" 5250 #include "confdefs.h"
5245 /* System header to define __stub macros and hopefully few prototypes, 5251 /* System header to define __stub macros and hopefully few prototypes,
5246 which can conflict with char $ac_func(); below. */ 5252 which can conflict with char $ac_func(); below. */
5247 #include <assert.h> 5253 #include <assert.h>
5248 /* Override any gcc2 internal prototype to avoid an error. */ 5254 /* Override any gcc2 internal prototype to avoid an error. */
5261 $ac_func(); 5267 $ac_func();
5262 #endif 5268 #endif
5263 5269
5264 ; return 0; } 5270 ; return 0; }
5265 EOF 5271 EOF
5266 if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5272 if { (eval echo configure:5273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5267 rm -rf conftest* 5273 rm -rf conftest*
5268 eval "ac_cv_func_$ac_func=yes" 5274 eval "ac_cv_func_$ac_func=yes"
5269 else 5275 else
5270 echo "configure: failed program was:" >&5 5276 echo "configure: failed program was:" >&5
5271 cat conftest.$ac_ext >&5 5277 cat conftest.$ac_ext >&5
5290 fi 5296 fi
5291 done 5297 done
5292 5298
5293 5299
5294 echo "checking type of mail spool file locking" 1>&6 5300 echo "checking type of mail spool file locking" 1>&6
5295 echo "configure:5296: checking type of mail spool file locking" >&5 5301 echo "configure:5302: checking type of mail spool file locking" >&5
5296 for ac_func in lockf flock 5302 for ac_func in lockf flock
5297 do 5303 do
5298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5299 echo "configure:5300: checking for $ac_func" >&5 5305 echo "configure:5306: checking for $ac_func" >&5
5300 5306
5301 cat > conftest.$ac_ext <<EOF 5307 cat > conftest.$ac_ext <<EOF
5302 #line 5303 "configure" 5308 #line 5309 "configure"
5303 #include "confdefs.h" 5309 #include "confdefs.h"
5304 /* System header to define __stub macros and hopefully few prototypes, 5310 /* System header to define __stub macros and hopefully few prototypes,
5305 which can conflict with char $ac_func(); below. */ 5311 which can conflict with char $ac_func(); below. */
5306 #include <assert.h> 5312 #include <assert.h>
5307 /* Override any gcc2 internal prototype to avoid an error. */ 5313 /* Override any gcc2 internal prototype to avoid an error. */
5320 $ac_func(); 5326 $ac_func();
5321 #endif 5327 #endif
5322 5328
5323 ; return 0; } 5329 ; return 0; }
5324 EOF 5330 EOF
5325 if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5326 rm -rf conftest* 5332 rm -rf conftest*
5327 eval "ac_cv_func_$ac_func=yes" 5333 eval "ac_cv_func_$ac_func=yes"
5328 else 5334 else
5329 echo "configure: failed program was:" >&5 5335 echo "configure: failed program was:" >&5
5330 cat conftest.$ac_ext >&5 5336 cat conftest.$ac_ext >&5
5410 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5416 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5411 5417
5412 case "$opsys" in decosf*) 5418 case "$opsys" in decosf*)
5413 5419
5414 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5420 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5415 echo "configure:5416: checking for cma_open in -lpthreads" >&5 5421 echo "configure:5422: checking for cma_open in -lpthreads" >&5
5416 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5422 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5417 5423
5418 xe_check_libs=" -lpthreads " 5424 xe_check_libs=" -lpthreads "
5419 cat > conftest.$ac_ext <<EOF 5425 cat > conftest.$ac_ext <<EOF
5420 #line 5421 "configure" 5426 #line 5427 "configure"
5421 #include "confdefs.h" 5427 #include "confdefs.h"
5422 /* Override any gcc2 internal prototype to avoid an error. */ 5428 /* Override any gcc2 internal prototype to avoid an error. */
5423 /* We use char because int might match the return type of a gcc2 5429 /* We use char because int might match the return type of a gcc2
5424 builtin and then its argument prototype would still apply. */ 5430 builtin and then its argument prototype would still apply. */
5425 char cma_open(); 5431 char cma_open();
5426 5432
5427 int main() { 5433 int main() {
5428 cma_open() 5434 cma_open()
5429 ; return 0; } 5435 ; return 0; }
5430 EOF 5436 EOF
5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5432 rm -rf conftest* 5438 rm -rf conftest*
5433 eval "ac_cv_lib_$ac_lib_var=yes" 5439 eval "ac_cv_lib_$ac_lib_var=yes"
5434 else 5440 else
5435 echo "configure: failed program was:" >&5 5441 echo "configure: failed program was:" >&5
5436 cat conftest.$ac_ext >&5 5442 cat conftest.$ac_ext >&5
5463 c_switch_site="$c_switch_site -threads" ;; 5469 c_switch_site="$c_switch_site -threads" ;;
5464 esac 5470 esac
5465 5471
5466 5472
5467 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5473 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5468 echo "configure:5469: checking whether the -xildoff compiler flag is required" >&5 5474 echo "configure:5475: checking whether the -xildoff compiler flag is required" >&5
5469 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5475 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5470 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5476 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5471 then echo "$ac_t""no" 1>&6; 5477 then echo "$ac_t""no" 1>&6;
5472 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 5478 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
5473 fi 5479 fi
5475 fi 5481 fi
5476 5482
5477 if test "$opsys" = "sol2"; then 5483 if test "$opsys" = "sol2"; then
5478 if test "$os_release" -ge 506; then 5484 if test "$os_release" -ge 506; then
5479 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5485 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5480 echo "configure:5481: checking for \"-z ignore\" linker flag" >&5 5486 echo "configure:5487: checking for \"-z ignore\" linker flag" >&5
5481 case "`ld -h 2>&1`" in 5487 case "`ld -h 2>&1`" in
5482 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5488 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5483 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5489 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5484 *) echo "$ac_t""no" 1>&6 ;; 5490 *) echo "$ac_t""no" 1>&6 ;;
5485 esac 5491 esac
5486 fi 5492 fi
5487 fi 5493 fi
5488 5494
5489 5495
5490 echo "checking "for specified window system"" 1>&6 5496 echo "checking "for specified window system"" 1>&6
5491 echo "configure:5492: checking "for specified window system"" >&5 5497 echo "configure:5498: checking "for specified window system"" >&5
5492 5498
5493 5499
5494 GNOME_CONFIG=no 5500 GNOME_CONFIG=no
5495 GTK_CONFIG=no 5501 GTK_CONFIG=no
5496 5502
5497 if test "$with_gnome" != "no"; then 5503 if test "$with_gnome" != "no"; then
5498 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5504 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5499 echo "configure:5500: checking for GNOME configuration script" >&5 5505 echo "configure:5506: checking for GNOME configuration script" >&5
5500 for possible in gnome-config 5506 for possible in gnome-config
5501 do 5507 do
5502 possible_version=`${possible} --version 2> /dev/null` 5508 possible_version=`${possible} --version 2> /dev/null`
5503 if test "x${possible_version}" != "x"; then 5509 if test "x${possible_version}" != "x"; then
5504 GNOME_CONFIG="${possible}" 5510 GNOME_CONFIG="${possible}"
5525 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5531 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5526 fi 5532 fi
5527 5533
5528 if test "$with_gtk" != "no";then 5534 if test "$with_gtk" != "no";then
5529 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5535 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5530 echo "configure:5531: checking for GTK configuration script" >&5 5536 echo "configure:5537: checking for GTK configuration script" >&5
5531 for possible in gtk12-config gtk14-config gtk-config 5537 for possible in gtk12-config gtk14-config gtk-config
5532 do 5538 do
5533 possible_version=`${possible} --version 2> /dev/null` 5539 possible_version=`${possible} --version 2> /dev/null`
5534 if test "x${possible_version}" != "x"; then 5540 if test "x${possible_version}" != "x"; then
5535 GTK_CONFIG="${possible}" 5541 GTK_CONFIG="${possible}"
5547 echo "$ac_t""${GTK_CONFIG}" 1>&6 5553 echo "$ac_t""${GTK_CONFIG}" 1>&6
5548 fi 5554 fi
5549 5555
5550 if test "${GTK_CONFIG}" != "no"; then 5556 if test "${GTK_CONFIG}" != "no"; then
5551 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5557 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5552 echo "configure:5553: checking gtk version" >&5 5558 echo "configure:5559: checking gtk version" >&5
5553 GTK_VERSION=`${GTK_CONFIG} --version` 5559 GTK_VERSION=`${GTK_CONFIG} --version`
5554 echo "$ac_t""${GTK_VERSION}" 1>&6 5560 echo "$ac_t""${GTK_VERSION}" 1>&6
5555 5561
5556 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5562 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5557 echo "configure:5558: checking gtk libs" >&5 5563 echo "configure:5564: checking gtk libs" >&5
5558 GTK_LIBS=`${GTK_CONFIG} --libs` 5564 GTK_LIBS=`${GTK_CONFIG} --libs`
5559 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5565 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5560 echo "$ac_t""${GTK_LIBS}" 1>&6 5566 echo "$ac_t""${GTK_LIBS}" 1>&6
5561 5567
5562 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5568 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5563 echo "configure:5564: checking gtk cflags" >&5 5569 echo "configure:5570: checking gtk cflags" >&5
5564 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5570 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5565 if test "$GCC" = "yes"; then 5571 if test "$GCC" = "yes"; then
5566 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5572 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5567 fi 5573 fi
5568 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5574 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5569 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5575 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5570 5576
5571 5577
5572 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5578 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5573 echo "configure:5574: checking for main in -lgdk_imlib" >&5 5579 echo "configure:5580: checking for main in -lgdk_imlib" >&5
5574 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5580 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5575 5581
5576 xe_check_libs=" -lgdk_imlib " 5582 xe_check_libs=" -lgdk_imlib "
5577 cat > conftest.$ac_ext <<EOF 5583 cat > conftest.$ac_ext <<EOF
5578 #line 5579 "configure" 5584 #line 5585 "configure"
5579 #include "confdefs.h" 5585 #include "confdefs.h"
5580 5586
5581 int main() { 5587 int main() {
5582 main() 5588 main()
5583 ; return 0; } 5589 ; return 0; }
5584 EOF 5590 EOF
5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5586 rm -rf conftest* 5592 rm -rf conftest*
5587 eval "ac_cv_lib_$ac_lib_var=yes" 5593 eval "ac_cv_lib_$ac_lib_var=yes"
5588 else 5594 else
5589 echo "configure: failed program was:" >&5 5595 echo "configure: failed program was:" >&5
5590 cat conftest.$ac_ext >&5 5596 cat conftest.$ac_ext >&5
5602 fi 5608 fi
5603 5609
5604 5610
5605 5611
5606 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5612 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5607 echo "configure:5608: checking for Imlib_init in -lImlib" >&5 5613 echo "configure:5614: checking for Imlib_init in -lImlib" >&5
5608 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5614 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5609 5615
5610 xe_check_libs=" -lImlib " 5616 xe_check_libs=" -lImlib "
5611 cat > conftest.$ac_ext <<EOF 5617 cat > conftest.$ac_ext <<EOF
5612 #line 5613 "configure" 5618 #line 5619 "configure"
5613 #include "confdefs.h" 5619 #include "confdefs.h"
5614 /* Override any gcc2 internal prototype to avoid an error. */ 5620 /* Override any gcc2 internal prototype to avoid an error. */
5615 /* We use char because int might match the return type of a gcc2 5621 /* We use char because int might match the return type of a gcc2
5616 builtin and then its argument prototype would still apply. */ 5622 builtin and then its argument prototype would still apply. */
5617 char Imlib_init(); 5623 char Imlib_init();
5618 5624
5619 int main() { 5625 int main() {
5620 Imlib_init() 5626 Imlib_init()
5621 ; return 0; } 5627 ; return 0; }
5622 EOF 5628 EOF
5623 if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5629 if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5624 rm -rf conftest* 5630 rm -rf conftest*
5625 eval "ac_cv_lib_$ac_lib_var=yes" 5631 eval "ac_cv_lib_$ac_lib_var=yes"
5626 else 5632 else
5627 echo "configure: failed program was:" >&5 5633 echo "configure: failed program was:" >&5
5628 cat conftest.$ac_ext >&5 5634 cat conftest.$ac_ext >&5
5641 5647
5642 5648
5643 for ac_func in gdk_imlib_init 5649 for ac_func in gdk_imlib_init
5644 do 5650 do
5645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5646 echo "configure:5647: checking for $ac_func" >&5 5652 echo "configure:5653: checking for $ac_func" >&5
5647 5653
5648 cat > conftest.$ac_ext <<EOF 5654 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure" 5655 #line 5656 "configure"
5650 #include "confdefs.h" 5656 #include "confdefs.h"
5651 /* System header to define __stub macros and hopefully few prototypes, 5657 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func(); below. */ 5658 which can conflict with char $ac_func(); below. */
5653 #include <assert.h> 5659 #include <assert.h>
5654 /* Override any gcc2 internal prototype to avoid an error. */ 5660 /* Override any gcc2 internal prototype to avoid an error. */
5667 $ac_func(); 5673 $ac_func();
5668 #endif 5674 #endif
5669 5675
5670 ; return 0; } 5676 ; return 0; }
5671 EOF 5677 EOF
5672 if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5673 rm -rf conftest* 5679 rm -rf conftest*
5674 eval "ac_cv_func_$ac_func=yes" 5680 eval "ac_cv_func_$ac_func=yes"
5675 else 5681 else
5676 echo "configure: failed program was:" >&5 5682 echo "configure: failed program was:" >&5
5677 cat conftest.$ac_ext >&5 5683 cat conftest.$ac_ext >&5
5751 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5757 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5752 for ac_hdr in glade/glade.h glade.h 5758 for ac_hdr in glade/glade.h glade.h
5753 do 5759 do
5754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5760 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5761 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5756 echo "configure:5757: checking for $ac_hdr" >&5 5762 echo "configure:5763: checking for $ac_hdr" >&5
5757 5763
5758 cat > conftest.$ac_ext <<EOF 5764 cat > conftest.$ac_ext <<EOF
5759 #line 5760 "configure" 5765 #line 5766 "configure"
5760 #include "confdefs.h" 5766 #include "confdefs.h"
5761 #include <$ac_hdr> 5767 #include <$ac_hdr>
5762 EOF 5768 EOF
5763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5764 { (eval echo configure:5765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5770 { (eval echo configure:5771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5766 if test -z "$ac_err"; then 5772 if test -z "$ac_err"; then
5767 rm -rf conftest* 5773 rm -rf conftest*
5768 eval "ac_cv_header_$ac_safe=yes" 5774 eval "ac_cv_header_$ac_safe=yes"
5769 else 5775 else
5790 fi 5796 fi
5791 done 5797 done
5792 5798
5793 5799
5794 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5800 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5795 echo "configure:5796: checking for main in -lxml" >&5 5801 echo "configure:5802: checking for main in -lxml" >&5
5796 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5802 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5797 5803
5798 xe_check_libs=" -lxml " 5804 xe_check_libs=" -lxml "
5799 cat > conftest.$ac_ext <<EOF 5805 cat > conftest.$ac_ext <<EOF
5800 #line 5801 "configure" 5806 #line 5807 "configure"
5801 #include "confdefs.h" 5807 #include "confdefs.h"
5802 5808
5803 int main() { 5809 int main() {
5804 main() 5810 main()
5805 ; return 0; } 5811 ; return 0; }
5806 EOF 5812 EOF
5807 if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5808 rm -rf conftest* 5814 rm -rf conftest*
5809 eval "ac_cv_lib_$ac_lib_var=yes" 5815 eval "ac_cv_lib_$ac_lib_var=yes"
5810 else 5816 else
5811 echo "configure: failed program was:" >&5 5817 echo "configure: failed program was:" >&5
5812 cat conftest.$ac_ext >&5 5818 cat conftest.$ac_ext >&5
5824 fi 5830 fi
5825 5831
5826 5832
5827 5833
5828 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5834 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5829 echo "configure:5830: checking for main in -lglade" >&5 5835 echo "configure:5836: checking for main in -lglade" >&5
5830 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5836 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5831 5837
5832 xe_check_libs=" -lglade " 5838 xe_check_libs=" -lglade "
5833 cat > conftest.$ac_ext <<EOF 5839 cat > conftest.$ac_ext <<EOF
5834 #line 5835 "configure" 5840 #line 5841 "configure"
5835 #include "confdefs.h" 5841 #include "confdefs.h"
5836 5842
5837 int main() { 5843 int main() {
5838 main() 5844 main()
5839 ; return 0; } 5845 ; return 0; }
5840 EOF 5846 EOF
5841 if { (eval echo configure:5842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5847 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5842 rm -rf conftest* 5848 rm -rf conftest*
5843 eval "ac_cv_lib_$ac_lib_var=yes" 5849 eval "ac_cv_lib_$ac_lib_var=yes"
5844 else 5850 else
5845 echo "configure: failed program was:" >&5 5851 echo "configure: failed program was:" >&5
5846 cat conftest.$ac_ext >&5 5852 cat conftest.$ac_ext >&5
5858 fi 5864 fi
5859 5865
5860 5866
5861 5867
5862 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5868 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5863 echo "configure:5864: checking for main in -lglade-gnome" >&5 5869 echo "configure:5870: checking for main in -lglade-gnome" >&5
5864 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5870 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5865 5871
5866 xe_check_libs=" -lglade-gnome " 5872 xe_check_libs=" -lglade-gnome "
5867 cat > conftest.$ac_ext <<EOF 5873 cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure" 5874 #line 5875 "configure"
5869 #include "confdefs.h" 5875 #include "confdefs.h"
5870 5876
5871 int main() { 5877 int main() {
5872 main() 5878 main()
5873 ; return 0; } 5879 ; return 0; }
5874 EOF 5880 EOF
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5876 rm -rf conftest* 5882 rm -rf conftest*
5877 eval "ac_cv_lib_$ac_lib_var=yes" 5883 eval "ac_cv_lib_$ac_lib_var=yes"
5878 else 5884 else
5879 echo "configure: failed program was:" >&5 5885 echo "configure: failed program was:" >&5
5880 cat conftest.$ac_ext >&5 5886 cat conftest.$ac_ext >&5
5891 echo "$ac_t""no" 1>&6 5897 echo "$ac_t""no" 1>&6
5892 fi 5898 fi
5893 5899
5894 5900
5895 cat > conftest.$ac_ext <<EOF 5901 cat > conftest.$ac_ext <<EOF
5896 #line 5897 "configure" 5902 #line 5903 "configure"
5897 #include "confdefs.h" 5903 #include "confdefs.h"
5898 #include <glade/glade-xml.h> 5904 #include <glade/glade-xml.h>
5899 EOF 5905 EOF
5900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5901 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5907 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5950 # If we find X, set shell vars x_includes and x_libraries to the 5956 # If we find X, set shell vars x_includes and x_libraries to the
5951 # paths, otherwise set no_x=yes. 5957 # paths, otherwise set no_x=yes.
5952 # Uses ac_ vars as temps to allow command line to override cache and checks. 5958 # Uses ac_ vars as temps to allow command line to override cache and checks.
5953 # --without-x overrides everything else, but does not touch the cache. 5959 # --without-x overrides everything else, but does not touch the cache.
5954 echo $ac_n "checking for X""... $ac_c" 1>&6 5960 echo $ac_n "checking for X""... $ac_c" 1>&6
5955 echo "configure:5956: checking for X" >&5 5961 echo "configure:5962: checking for X" >&5
5956 5962
5957 # Check whether --with-x or --without-x was given. 5963 # Check whether --with-x or --without-x was given.
5958 if test "${with_x+set}" = set; then 5964 if test "${with_x+set}" = set; then
5959 withval="$with_x" 5965 withval="$with_x"
5960 : 5966 :
6010 # Guess where to find include files, by looking for this one X11 .h file. 6016 # Guess where to find include files, by looking for this one X11 .h file.
6011 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 6017 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
6012 6018
6013 # First, try using that file with no special directory specified. 6019 # First, try using that file with no special directory specified.
6014 cat > conftest.$ac_ext <<EOF 6020 cat > conftest.$ac_ext <<EOF
6015 #line 6016 "configure" 6021 #line 6022 "configure"
6016 #include "confdefs.h" 6022 #include "confdefs.h"
6017 #include <$x_direct_test_include> 6023 #include <$x_direct_test_include>
6018 EOF 6024 EOF
6019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6020 { (eval echo configure:6021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6026 { (eval echo configure:6027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6022 if test -z "$ac_err"; then 6028 if test -z "$ac_err"; then
6023 rm -rf conftest* 6029 rm -rf conftest*
6024 # We can compile using X headers with no special include directory. 6030 # We can compile using X headers with no special include directory.
6025 ac_x_includes= 6031 ac_x_includes=
6084 # See if we find them without any special options. 6090 # See if we find them without any special options.
6085 # Don't add to $LIBS permanently. 6091 # Don't add to $LIBS permanently.
6086 ac_save_LIBS="$LIBS" 6092 ac_save_LIBS="$LIBS"
6087 LIBS="-l$x_direct_test_library $LIBS" 6093 LIBS="-l$x_direct_test_library $LIBS"
6088 cat > conftest.$ac_ext <<EOF 6094 cat > conftest.$ac_ext <<EOF
6089 #line 6090 "configure" 6095 #line 6096 "configure"
6090 #include "confdefs.h" 6096 #include "confdefs.h"
6091 6097
6092 int main() { 6098 int main() {
6093 ${x_direct_test_function}() 6099 ${x_direct_test_function}()
6094 ; return 0; } 6100 ; return 0; }
6095 EOF 6101 EOF
6096 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6102 if { (eval echo configure:6103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6097 rm -rf conftest* 6103 rm -rf conftest*
6098 LIBS="$ac_save_LIBS" 6104 LIBS="$ac_save_LIBS"
6099 # We can link X programs with no special library path. 6105 # We can link X programs with no special library path.
6100 ac_x_libraries= 6106 ac_x_libraries=
6101 else 6107 else
6200 # For Solaris; some versions of Sun CC require a space after -R and 6206 # For Solaris; some versions of Sun CC require a space after -R and
6201 # others require no space. Words are not sufficient . . . . 6207 # others require no space. Words are not sufficient . . . .
6202 case "`(uname -sr) 2>/dev/null`" in 6208 case "`(uname -sr) 2>/dev/null`" in
6203 "SunOS 5"*) 6209 "SunOS 5"*)
6204 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6210 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6205 echo "configure:6206: checking whether -R must be followed by a space" >&5 6211 echo "configure:6212: checking whether -R must be followed by a space" >&5
6206 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6207 cat > conftest.$ac_ext <<EOF 6213 cat > conftest.$ac_ext <<EOF
6208 #line 6209 "configure" 6214 #line 6215 "configure"
6209 #include "confdefs.h" 6215 #include "confdefs.h"
6210 6216
6211 int main() { 6217 int main() {
6212 6218
6213 ; return 0; } 6219 ; return 0; }
6214 EOF 6220 EOF
6215 if { (eval echo configure:6216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6216 rm -rf conftest* 6222 rm -rf conftest*
6217 ac_R_nospace=yes 6223 ac_R_nospace=yes
6218 else 6224 else
6219 echo "configure: failed program was:" >&5 6225 echo "configure: failed program was:" >&5
6220 cat conftest.$ac_ext >&5 6226 cat conftest.$ac_ext >&5
6226 echo "$ac_t""no" 1>&6 6232 echo "$ac_t""no" 1>&6
6227 X_LIBS="$X_LIBS -R$x_libraries" 6233 X_LIBS="$X_LIBS -R$x_libraries"
6228 else 6234 else
6229 LIBS="$ac_xsave_LIBS -R $x_libraries" 6235 LIBS="$ac_xsave_LIBS -R $x_libraries"
6230 cat > conftest.$ac_ext <<EOF 6236 cat > conftest.$ac_ext <<EOF
6231 #line 6232 "configure" 6237 #line 6238 "configure"
6232 #include "confdefs.h" 6238 #include "confdefs.h"
6233 6239
6234 int main() { 6240 int main() {
6235 6241
6236 ; return 0; } 6242 ; return 0; }
6237 EOF 6243 EOF
6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6244 if { (eval echo configure:6245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6239 rm -rf conftest* 6245 rm -rf conftest*
6240 ac_R_space=yes 6246 ac_R_space=yes
6241 else 6247 else
6242 echo "configure: failed program was:" >&5 6248 echo "configure: failed program was:" >&5
6243 cat conftest.$ac_ext >&5 6249 cat conftest.$ac_ext >&5
6269 if test "$with_dnet" = "no" ; then 6275 if test "$with_dnet" = "no" ; then
6270 ac_cv_lib_dnet_dnet_ntoa=no 6276 ac_cv_lib_dnet_dnet_ntoa=no
6271 else 6277 else
6272 6278
6273 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6279 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6274 echo "configure:6275: checking for dnet_ntoa in -ldnet" >&5 6280 echo "configure:6281: checking for dnet_ntoa in -ldnet" >&5
6275 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6281 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6276 6282
6277 xe_check_libs=" -ldnet " 6283 xe_check_libs=" -ldnet "
6278 cat > conftest.$ac_ext <<EOF 6284 cat > conftest.$ac_ext <<EOF
6279 #line 6280 "configure" 6285 #line 6286 "configure"
6280 #include "confdefs.h" 6286 #include "confdefs.h"
6281 /* Override any gcc2 internal prototype to avoid an error. */ 6287 /* Override any gcc2 internal prototype to avoid an error. */
6282 /* We use char because int might match the return type of a gcc2 6288 /* We use char because int might match the return type of a gcc2
6283 builtin and then its argument prototype would still apply. */ 6289 builtin and then its argument prototype would still apply. */
6284 char dnet_ntoa(); 6290 char dnet_ntoa();
6285 6291
6286 int main() { 6292 int main() {
6287 dnet_ntoa() 6293 dnet_ntoa()
6288 ; return 0; } 6294 ; return 0; }
6289 EOF 6295 EOF
6290 if { (eval echo configure:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6291 rm -rf conftest* 6297 rm -rf conftest*
6292 eval "ac_cv_lib_$ac_lib_var=yes" 6298 eval "ac_cv_lib_$ac_lib_var=yes"
6293 else 6299 else
6294 echo "configure: failed program was:" >&5 6300 echo "configure: failed program was:" >&5
6295 cat conftest.$ac_ext >&5 6301 cat conftest.$ac_ext >&5
6309 fi 6315 fi
6310 6316
6311 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6317 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6312 6318
6313 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6319 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6314 echo "configure:6315: checking for dnet_ntoa in -ldnet_stub" >&5 6320 echo "configure:6321: checking for dnet_ntoa in -ldnet_stub" >&5
6315 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6321 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6316 6322
6317 xe_check_libs=" -ldnet_stub " 6323 xe_check_libs=" -ldnet_stub "
6318 cat > conftest.$ac_ext <<EOF 6324 cat > conftest.$ac_ext <<EOF
6319 #line 6320 "configure" 6325 #line 6326 "configure"
6320 #include "confdefs.h" 6326 #include "confdefs.h"
6321 /* Override any gcc2 internal prototype to avoid an error. */ 6327 /* Override any gcc2 internal prototype to avoid an error. */
6322 /* We use char because int might match the return type of a gcc2 6328 /* We use char because int might match the return type of a gcc2
6323 builtin and then its argument prototype would still apply. */ 6329 builtin and then its argument prototype would still apply. */
6324 char dnet_ntoa(); 6330 char dnet_ntoa();
6325 6331
6326 int main() { 6332 int main() {
6327 dnet_ntoa() 6333 dnet_ntoa()
6328 ; return 0; } 6334 ; return 0; }
6329 EOF 6335 EOF
6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6331 rm -rf conftest* 6337 rm -rf conftest*
6332 eval "ac_cv_lib_$ac_lib_var=yes" 6338 eval "ac_cv_lib_$ac_lib_var=yes"
6333 else 6339 else
6334 echo "configure: failed program was:" >&5 6340 echo "configure: failed program was:" >&5
6335 cat conftest.$ac_ext >&5 6341 cat conftest.$ac_ext >&5
6354 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6360 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6355 # needs -lnsl. 6361 # needs -lnsl.
6356 # The nsl library prevents programs from opening the X display 6362 # The nsl library prevents programs from opening the X display
6357 # on Irix 5.2, according to dickey@clark.net. 6363 # on Irix 5.2, according to dickey@clark.net.
6358 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6364 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6359 echo "configure:6360: checking for gethostbyname" >&5 6365 echo "configure:6366: checking for gethostbyname" >&5
6360 6366
6361 cat > conftest.$ac_ext <<EOF 6367 cat > conftest.$ac_ext <<EOF
6362 #line 6363 "configure" 6368 #line 6369 "configure"
6363 #include "confdefs.h" 6369 #include "confdefs.h"
6364 /* System header to define __stub macros and hopefully few prototypes, 6370 /* System header to define __stub macros and hopefully few prototypes,
6365 which can conflict with char gethostbyname(); below. */ 6371 which can conflict with char gethostbyname(); below. */
6366 #include <assert.h> 6372 #include <assert.h>
6367 /* Override any gcc2 internal prototype to avoid an error. */ 6373 /* Override any gcc2 internal prototype to avoid an error. */
6380 gethostbyname(); 6386 gethostbyname();
6381 #endif 6387 #endif
6382 6388
6383 ; return 0; } 6389 ; return 0; }
6384 EOF 6390 EOF
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6391 if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6386 rm -rf conftest* 6392 rm -rf conftest*
6387 eval "ac_cv_func_gethostbyname=yes" 6393 eval "ac_cv_func_gethostbyname=yes"
6388 else 6394 else
6389 echo "configure: failed program was:" >&5 6395 echo "configure: failed program was:" >&5
6390 cat conftest.$ac_ext >&5 6396 cat conftest.$ac_ext >&5
6401 fi 6407 fi
6402 6408
6403 if test $ac_cv_func_gethostbyname = no; then 6409 if test $ac_cv_func_gethostbyname = no; then
6404 6410
6405 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6411 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6406 echo "configure:6407: checking for gethostbyname in -lnsl" >&5 6412 echo "configure:6413: checking for gethostbyname in -lnsl" >&5
6407 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6413 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6408 6414
6409 xe_check_libs=" -lnsl " 6415 xe_check_libs=" -lnsl "
6410 cat > conftest.$ac_ext <<EOF 6416 cat > conftest.$ac_ext <<EOF
6411 #line 6412 "configure" 6417 #line 6418 "configure"
6412 #include "confdefs.h" 6418 #include "confdefs.h"
6413 /* Override any gcc2 internal prototype to avoid an error. */ 6419 /* Override any gcc2 internal prototype to avoid an error. */
6414 /* We use char because int might match the return type of a gcc2 6420 /* We use char because int might match the return type of a gcc2
6415 builtin and then its argument prototype would still apply. */ 6421 builtin and then its argument prototype would still apply. */
6416 char gethostbyname(); 6422 char gethostbyname();
6417 6423
6418 int main() { 6424 int main() {
6419 gethostbyname() 6425 gethostbyname()
6420 ; return 0; } 6426 ; return 0; }
6421 EOF 6427 EOF
6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6423 rm -rf conftest* 6429 rm -rf conftest*
6424 eval "ac_cv_lib_$ac_lib_var=yes" 6430 eval "ac_cv_lib_$ac_lib_var=yes"
6425 else 6431 else
6426 echo "configure: failed program was:" >&5 6432 echo "configure: failed program was:" >&5
6427 cat conftest.$ac_ext >&5 6433 cat conftest.$ac_ext >&5
6447 # on later versions), says simon@lia.di.epfl.ch: it contains 6453 # on later versions), says simon@lia.di.epfl.ch: it contains
6448 # gethostby* variants that don't use the nameserver (or something). 6454 # gethostby* variants that don't use the nameserver (or something).
6449 # -lsocket must be given before -lnsl if both are needed. 6455 # -lsocket must be given before -lnsl if both are needed.
6450 # We assume that if connect needs -lnsl, so does gethostbyname. 6456 # We assume that if connect needs -lnsl, so does gethostbyname.
6451 echo $ac_n "checking for connect""... $ac_c" 1>&6 6457 echo $ac_n "checking for connect""... $ac_c" 1>&6
6452 echo "configure:6453: checking for connect" >&5 6458 echo "configure:6459: checking for connect" >&5
6453 6459
6454 cat > conftest.$ac_ext <<EOF 6460 cat > conftest.$ac_ext <<EOF
6455 #line 6456 "configure" 6461 #line 6462 "configure"
6456 #include "confdefs.h" 6462 #include "confdefs.h"
6457 /* System header to define __stub macros and hopefully few prototypes, 6463 /* System header to define __stub macros and hopefully few prototypes,
6458 which can conflict with char connect(); below. */ 6464 which can conflict with char connect(); below. */
6459 #include <assert.h> 6465 #include <assert.h>
6460 /* Override any gcc2 internal prototype to avoid an error. */ 6466 /* Override any gcc2 internal prototype to avoid an error. */
6473 connect(); 6479 connect();
6474 #endif 6480 #endif
6475 6481
6476 ; return 0; } 6482 ; return 0; }
6477 EOF 6483 EOF
6478 if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6484 if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6479 rm -rf conftest* 6485 rm -rf conftest*
6480 eval "ac_cv_func_connect=yes" 6486 eval "ac_cv_func_connect=yes"
6481 else 6487 else
6482 echo "configure: failed program was:" >&5 6488 echo "configure: failed program was:" >&5
6483 cat conftest.$ac_ext >&5 6489 cat conftest.$ac_ext >&5
6496 if test $ac_cv_func_connect = no; then 6502 if test $ac_cv_func_connect = no; then
6497 6503
6498 xe_msg_checking="for connect in -lsocket" 6504 xe_msg_checking="for connect in -lsocket"
6499 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6505 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6500 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6506 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6501 echo "configure:6502: checking "$xe_msg_checking"" >&5 6507 echo "configure:6508: checking "$xe_msg_checking"" >&5
6502 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6508 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6503 6509
6504 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6510 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6505 cat > conftest.$ac_ext <<EOF 6511 cat > conftest.$ac_ext <<EOF
6506 #line 6507 "configure" 6512 #line 6513 "configure"
6507 #include "confdefs.h" 6513 #include "confdefs.h"
6508 /* Override any gcc2 internal prototype to avoid an error. */ 6514 /* Override any gcc2 internal prototype to avoid an error. */
6509 /* We use char because int might match the return type of a gcc2 6515 /* We use char because int might match the return type of a gcc2
6510 builtin and then its argument prototype would still apply. */ 6516 builtin and then its argument prototype would still apply. */
6511 char connect(); 6517 char connect();
6512 6518
6513 int main() { 6519 int main() {
6514 connect() 6520 connect()
6515 ; return 0; } 6521 ; return 0; }
6516 EOF 6522 EOF
6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6523 if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6518 rm -rf conftest* 6524 rm -rf conftest*
6519 eval "ac_cv_lib_$ac_lib_var=yes" 6525 eval "ac_cv_lib_$ac_lib_var=yes"
6520 else 6526 else
6521 echo "configure: failed program was:" >&5 6527 echo "configure: failed program was:" >&5
6522 cat conftest.$ac_ext >&5 6528 cat conftest.$ac_ext >&5
6536 6542
6537 fi 6543 fi
6538 6544
6539 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6545 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6540 echo $ac_n "checking for remove""... $ac_c" 1>&6 6546 echo $ac_n "checking for remove""... $ac_c" 1>&6
6541 echo "configure:6542: checking for remove" >&5 6547 echo "configure:6548: checking for remove" >&5
6542 6548
6543 cat > conftest.$ac_ext <<EOF 6549 cat > conftest.$ac_ext <<EOF
6544 #line 6545 "configure" 6550 #line 6551 "configure"
6545 #include "confdefs.h" 6551 #include "confdefs.h"
6546 /* System header to define __stub macros and hopefully few prototypes, 6552 /* System header to define __stub macros and hopefully few prototypes,
6547 which can conflict with char remove(); below. */ 6553 which can conflict with char remove(); below. */
6548 #include <assert.h> 6554 #include <assert.h>
6549 /* Override any gcc2 internal prototype to avoid an error. */ 6555 /* Override any gcc2 internal prototype to avoid an error. */
6562 remove(); 6568 remove();
6563 #endif 6569 #endif
6564 6570
6565 ; return 0; } 6571 ; return 0; }
6566 EOF 6572 EOF
6567 if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6568 rm -rf conftest* 6574 rm -rf conftest*
6569 eval "ac_cv_func_remove=yes" 6575 eval "ac_cv_func_remove=yes"
6570 else 6576 else
6571 echo "configure: failed program was:" >&5 6577 echo "configure: failed program was:" >&5
6572 cat conftest.$ac_ext >&5 6578 cat conftest.$ac_ext >&5
6583 fi 6589 fi
6584 6590
6585 if test $ac_cv_func_remove = no; then 6591 if test $ac_cv_func_remove = no; then
6586 6592
6587 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6593 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6588 echo "configure:6589: checking for remove in -lposix" >&5 6594 echo "configure:6595: checking for remove in -lposix" >&5
6589 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6595 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6590 6596
6591 xe_check_libs=" -lposix " 6597 xe_check_libs=" -lposix "
6592 cat > conftest.$ac_ext <<EOF 6598 cat > conftest.$ac_ext <<EOF
6593 #line 6594 "configure" 6599 #line 6600 "configure"
6594 #include "confdefs.h" 6600 #include "confdefs.h"
6595 /* Override any gcc2 internal prototype to avoid an error. */ 6601 /* Override any gcc2 internal prototype to avoid an error. */
6596 /* We use char because int might match the return type of a gcc2 6602 /* We use char because int might match the return type of a gcc2
6597 builtin and then its argument prototype would still apply. */ 6603 builtin and then its argument prototype would still apply. */
6598 char remove(); 6604 char remove();
6599 6605
6600 int main() { 6606 int main() {
6601 remove() 6607 remove()
6602 ; return 0; } 6608 ; return 0; }
6603 EOF 6609 EOF
6604 if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6605 rm -rf conftest* 6611 rm -rf conftest*
6606 eval "ac_cv_lib_$ac_lib_var=yes" 6612 eval "ac_cv_lib_$ac_lib_var=yes"
6607 else 6613 else
6608 echo "configure: failed program was:" >&5 6614 echo "configure: failed program was:" >&5
6609 cat conftest.$ac_ext >&5 6615 cat conftest.$ac_ext >&5
6623 6629
6624 fi 6630 fi
6625 6631
6626 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6632 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6627 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6633 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6628 echo "configure:6629: checking for shmat" >&5 6634 echo "configure:6635: checking for shmat" >&5
6629 6635
6630 cat > conftest.$ac_ext <<EOF 6636 cat > conftest.$ac_ext <<EOF
6631 #line 6632 "configure" 6637 #line 6638 "configure"
6632 #include "confdefs.h" 6638 #include "confdefs.h"
6633 /* System header to define __stub macros and hopefully few prototypes, 6639 /* System header to define __stub macros and hopefully few prototypes,
6634 which can conflict with char shmat(); below. */ 6640 which can conflict with char shmat(); below. */
6635 #include <assert.h> 6641 #include <assert.h>
6636 /* Override any gcc2 internal prototype to avoid an error. */ 6642 /* Override any gcc2 internal prototype to avoid an error. */
6649 shmat(); 6655 shmat();
6650 #endif 6656 #endif
6651 6657
6652 ; return 0; } 6658 ; return 0; }
6653 EOF 6659 EOF
6654 if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6655 rm -rf conftest* 6661 rm -rf conftest*
6656 eval "ac_cv_func_shmat=yes" 6662 eval "ac_cv_func_shmat=yes"
6657 else 6663 else
6658 echo "configure: failed program was:" >&5 6664 echo "configure: failed program was:" >&5
6659 cat conftest.$ac_ext >&5 6665 cat conftest.$ac_ext >&5
6670 fi 6676 fi
6671 6677
6672 if test $ac_cv_func_shmat = no; then 6678 if test $ac_cv_func_shmat = no; then
6673 6679
6674 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6680 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6675 echo "configure:6676: checking for shmat in -lipc" >&5 6681 echo "configure:6682: checking for shmat in -lipc" >&5
6676 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6682 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6677 6683
6678 xe_check_libs=" -lipc " 6684 xe_check_libs=" -lipc "
6679 cat > conftest.$ac_ext <<EOF 6685 cat > conftest.$ac_ext <<EOF
6680 #line 6681 "configure" 6686 #line 6687 "configure"
6681 #include "confdefs.h" 6687 #include "confdefs.h"
6682 /* Override any gcc2 internal prototype to avoid an error. */ 6688 /* Override any gcc2 internal prototype to avoid an error. */
6683 /* We use char because int might match the return type of a gcc2 6689 /* We use char because int might match the return type of a gcc2
6684 builtin and then its argument prototype would still apply. */ 6690 builtin and then its argument prototype would still apply. */
6685 char shmat(); 6691 char shmat();
6686 6692
6687 int main() { 6693 int main() {
6688 shmat() 6694 shmat()
6689 ; return 0; } 6695 ; return 0; }
6690 EOF 6696 EOF
6691 if { (eval echo configure:6692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6692 rm -rf conftest* 6698 rm -rf conftest*
6693 eval "ac_cv_lib_$ac_lib_var=yes" 6699 eval "ac_cv_lib_$ac_lib_var=yes"
6694 else 6700 else
6695 echo "configure: failed program was:" >&5 6701 echo "configure: failed program was:" >&5
6696 cat conftest.$ac_ext >&5 6702 cat conftest.$ac_ext >&5
6722 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6728 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6723 6729
6724 xe_msg_checking="for IceConnectionNumber in -lICE" 6730 xe_msg_checking="for IceConnectionNumber in -lICE"
6725 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6731 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6726 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6732 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6727 echo "configure:6728: checking "$xe_msg_checking"" >&5 6733 echo "configure:6734: checking "$xe_msg_checking"" >&5
6728 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6734 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6729 6735
6730 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6736 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6731 cat > conftest.$ac_ext <<EOF 6737 cat > conftest.$ac_ext <<EOF
6732 #line 6733 "configure" 6738 #line 6739 "configure"
6733 #include "confdefs.h" 6739 #include "confdefs.h"
6734 /* Override any gcc2 internal prototype to avoid an error. */ 6740 /* Override any gcc2 internal prototype to avoid an error. */
6735 /* We use char because int might match the return type of a gcc2 6741 /* We use char because int might match the return type of a gcc2
6736 builtin and then its argument prototype would still apply. */ 6742 builtin and then its argument prototype would still apply. */
6737 char IceConnectionNumber(); 6743 char IceConnectionNumber();
6738 6744
6739 int main() { 6745 int main() {
6740 IceConnectionNumber() 6746 IceConnectionNumber()
6741 ; return 0; } 6747 ; return 0; }
6742 EOF 6748 EOF
6743 if { (eval echo configure:6744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6744 rm -rf conftest* 6750 rm -rf conftest*
6745 eval "ac_cv_lib_$ac_lib_var=yes" 6751 eval "ac_cv_lib_$ac_lib_var=yes"
6746 else 6752 else
6747 echo "configure: failed program was:" >&5 6753 echo "configure: failed program was:" >&5
6748 cat conftest.$ac_ext >&5 6754 cat conftest.$ac_ext >&5
6784 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6790 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6785 6791
6786 6792
6787 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6793 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6788 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6794 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6789 echo "configure:6790: checking for Xm/Xm.h" >&5 6795 echo "configure:6796: checking for Xm/Xm.h" >&5
6790 6796
6791 cat > conftest.$ac_ext <<EOF 6797 cat > conftest.$ac_ext <<EOF
6792 #line 6793 "configure" 6798 #line 6799 "configure"
6793 #include "confdefs.h" 6799 #include "confdefs.h"
6794 #include <Xm/Xm.h> 6800 #include <Xm/Xm.h>
6795 EOF 6801 EOF
6796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6797 { (eval echo configure:6798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6803 { (eval echo configure:6804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6799 if test -z "$ac_err"; then 6805 if test -z "$ac_err"; then
6800 rm -rf conftest* 6806 rm -rf conftest*
6801 eval "ac_cv_header_$ac_safe=yes" 6807 eval "ac_cv_header_$ac_safe=yes"
6802 else 6808 else
6809 rm -f conftest* 6815 rm -f conftest*
6810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6811 echo "$ac_t""yes" 1>&6 6817 echo "$ac_t""yes" 1>&6
6812 6818
6813 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6819 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6814 echo "configure:6815: checking for XmStringFree in -lXm" >&5 6820 echo "configure:6821: checking for XmStringFree in -lXm" >&5
6815 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6821 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6816 6822
6817 xe_check_libs=" -lXm " 6823 xe_check_libs=" -lXm "
6818 cat > conftest.$ac_ext <<EOF 6824 cat > conftest.$ac_ext <<EOF
6819 #line 6820 "configure" 6825 #line 6826 "configure"
6820 #include "confdefs.h" 6826 #include "confdefs.h"
6821 /* Override any gcc2 internal prototype to avoid an error. */ 6827 /* Override any gcc2 internal prototype to avoid an error. */
6822 /* We use char because int might match the return type of a gcc2 6828 /* We use char because int might match the return type of a gcc2
6823 builtin and then its argument prototype would still apply. */ 6829 builtin and then its argument prototype would still apply. */
6824 char XmStringFree(); 6830 char XmStringFree();
6825 6831
6826 int main() { 6832 int main() {
6827 XmStringFree() 6833 XmStringFree()
6828 ; return 0; } 6834 ; return 0; }
6829 EOF 6835 EOF
6830 if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6831 rm -rf conftest* 6837 rm -rf conftest*
6832 eval "ac_cv_lib_$ac_lib_var=yes" 6838 eval "ac_cv_lib_$ac_lib_var=yes"
6833 else 6839 else
6834 echo "configure: failed program was:" >&5 6840 echo "configure: failed program was:" >&5
6835 cat conftest.$ac_ext >&5 6841 cat conftest.$ac_ext >&5
6977 EOF 6983 EOF
6978 } 6984 }
6979 6985
6980 6986
6981 echo "checking for X defines extracted by xmkmf" 1>&6 6987 echo "checking for X defines extracted by xmkmf" 1>&6
6982 echo "configure:6983: checking for X defines extracted by xmkmf" >&5 6988 echo "configure:6989: checking for X defines extracted by xmkmf" >&5
6983 rm -fr conftestdir 6989 rm -fr conftestdir
6984 if mkdir conftestdir; then 6990 if mkdir conftestdir; then
6985 cd conftestdir 6991 cd conftestdir
6986 cat > Imakefile <<'EOF' 6992 cat > Imakefile <<'EOF'
6987 xetest: 6993 xetest:
7026 done 7032 done
7027 fi 7033 fi
7028 7034
7029 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 7035 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
7030 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 7036 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
7031 echo "configure:7032: checking for X11/Intrinsic.h" >&5 7037 echo "configure:7038: checking for X11/Intrinsic.h" >&5
7032 7038
7033 cat > conftest.$ac_ext <<EOF 7039 cat > conftest.$ac_ext <<EOF
7034 #line 7035 "configure" 7040 #line 7041 "configure"
7035 #include "confdefs.h" 7041 #include "confdefs.h"
7036 #include <X11/Intrinsic.h> 7042 #include <X11/Intrinsic.h>
7037 EOF 7043 EOF
7038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7039 { (eval echo configure:7040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7045 { (eval echo configure:7046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7041 if test -z "$ac_err"; then 7047 if test -z "$ac_err"; then
7042 rm -rf conftest* 7048 rm -rf conftest*
7043 eval "ac_cv_header_$ac_safe=yes" 7049 eval "ac_cv_header_$ac_safe=yes"
7044 else 7050 else
7058 fi 7064 fi
7059 7065
7060 7066
7061 7067
7062 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 7068 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
7063 echo "configure:7064: checking for XOpenDisplay in -lX11" >&5 7069 echo "configure:7070: checking for XOpenDisplay in -lX11" >&5
7064 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 7070 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
7065 7071
7066 xe_check_libs=" -lX11 " 7072 xe_check_libs=" -lX11 "
7067 cat > conftest.$ac_ext <<EOF 7073 cat > conftest.$ac_ext <<EOF
7068 #line 7069 "configure" 7074 #line 7075 "configure"
7069 #include "confdefs.h" 7075 #include "confdefs.h"
7070 /* Override any gcc2 internal prototype to avoid an error. */ 7076 /* Override any gcc2 internal prototype to avoid an error. */
7071 /* We use char because int might match the return type of a gcc2 7077 /* We use char because int might match the return type of a gcc2
7072 builtin and then its argument prototype would still apply. */ 7078 builtin and then its argument prototype would still apply. */
7073 char XOpenDisplay(); 7079 char XOpenDisplay();
7074 7080
7075 int main() { 7081 int main() {
7076 XOpenDisplay() 7082 XOpenDisplay()
7077 ; return 0; } 7083 ; return 0; }
7078 EOF 7084 EOF
7079 if { (eval echo configure:7080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7085 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7080 rm -rf conftest* 7086 rm -rf conftest*
7081 eval "ac_cv_lib_$ac_lib_var=yes" 7087 eval "ac_cv_lib_$ac_lib_var=yes"
7082 else 7088 else
7083 echo "configure: failed program was:" >&5 7089 echo "configure: failed program was:" >&5
7084 cat conftest.$ac_ext >&5 7090 cat conftest.$ac_ext >&5
7099 if test "$have_lib_x11" != "yes"; then 7105 if test "$have_lib_x11" != "yes"; then
7100 7106
7101 xe_msg_checking="for XGetFontProperty in -lX11" 7107 xe_msg_checking="for XGetFontProperty in -lX11"
7102 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7108 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7103 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7109 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7104 echo "configure:7105: checking "$xe_msg_checking"" >&5 7110 echo "configure:7111: checking "$xe_msg_checking"" >&5
7105 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7111 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7106 7112
7107 xe_check_libs=" -lX11 -b i486-linuxaout" 7113 xe_check_libs=" -lX11 -b i486-linuxaout"
7108 cat > conftest.$ac_ext <<EOF 7114 cat > conftest.$ac_ext <<EOF
7109 #line 7110 "configure" 7115 #line 7116 "configure"
7110 #include "confdefs.h" 7116 #include "confdefs.h"
7111 /* Override any gcc2 internal prototype to avoid an error. */ 7117 /* Override any gcc2 internal prototype to avoid an error. */
7112 /* We use char because int might match the return type of a gcc2 7118 /* We use char because int might match the return type of a gcc2
7113 builtin and then its argument prototype would still apply. */ 7119 builtin and then its argument prototype would still apply. */
7114 char XGetFontProperty(); 7120 char XGetFontProperty();
7115 7121
7116 int main() { 7122 int main() {
7117 XGetFontProperty() 7123 XGetFontProperty()
7118 ; return 0; } 7124 ; return 0; }
7119 EOF 7125 EOF
7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7121 rm -rf conftest* 7127 rm -rf conftest*
7122 eval "ac_cv_lib_$ac_lib_var=yes" 7128 eval "ac_cv_lib_$ac_lib_var=yes"
7123 else 7129 else
7124 echo "configure: failed program was:" >&5 7130 echo "configure: failed program was:" >&5
7125 cat conftest.$ac_ext >&5 7131 cat conftest.$ac_ext >&5
7142 libs_x="-lX11" 7148 libs_x="-lX11"
7143 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7149 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7144 7150
7145 7151
7146 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7152 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7147 echo "configure:7148: checking for XShapeSelectInput in -lXext" >&5 7153 echo "configure:7154: checking for XShapeSelectInput in -lXext" >&5
7148 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7154 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7149 7155
7150 xe_check_libs=" -lXext " 7156 xe_check_libs=" -lXext "
7151 cat > conftest.$ac_ext <<EOF 7157 cat > conftest.$ac_ext <<EOF
7152 #line 7153 "configure" 7158 #line 7159 "configure"
7153 #include "confdefs.h" 7159 #include "confdefs.h"
7154 /* Override any gcc2 internal prototype to avoid an error. */ 7160 /* Override any gcc2 internal prototype to avoid an error. */
7155 /* We use char because int might match the return type of a gcc2 7161 /* We use char because int might match the return type of a gcc2
7156 builtin and then its argument prototype would still apply. */ 7162 builtin and then its argument prototype would still apply. */
7157 char XShapeSelectInput(); 7163 char XShapeSelectInput();
7158 7164
7159 int main() { 7165 int main() {
7160 XShapeSelectInput() 7166 XShapeSelectInput()
7161 ; return 0; } 7167 ; return 0; }
7162 EOF 7168 EOF
7163 if { (eval echo configure:7164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7169 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7164 rm -rf conftest* 7170 rm -rf conftest*
7165 eval "ac_cv_lib_$ac_lib_var=yes" 7171 eval "ac_cv_lib_$ac_lib_var=yes"
7166 else 7172 else
7167 echo "configure: failed program was:" >&5 7173 echo "configure: failed program was:" >&5
7168 cat conftest.$ac_ext >&5 7174 cat conftest.$ac_ext >&5
7181 7187
7182 7188
7183 7189
7184 7190
7185 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7191 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7186 echo "configure:7187: checking for XtOpenDisplay in -lXt" >&5 7192 echo "configure:7193: checking for XtOpenDisplay in -lXt" >&5
7187 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7193 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7188 7194
7189 xe_check_libs=" -lXt " 7195 xe_check_libs=" -lXt "
7190 cat > conftest.$ac_ext <<EOF 7196 cat > conftest.$ac_ext <<EOF
7191 #line 7192 "configure" 7197 #line 7198 "configure"
7192 #include "confdefs.h" 7198 #include "confdefs.h"
7193 /* Override any gcc2 internal prototype to avoid an error. */ 7199 /* Override any gcc2 internal prototype to avoid an error. */
7194 /* We use char because int might match the return type of a gcc2 7200 /* We use char because int might match the return type of a gcc2
7195 builtin and then its argument prototype would still apply. */ 7201 builtin and then its argument prototype would still apply. */
7196 char XtOpenDisplay(); 7202 char XtOpenDisplay();
7197 7203
7198 int main() { 7204 int main() {
7199 XtOpenDisplay() 7205 XtOpenDisplay()
7200 ; return 0; } 7206 ; return 0; }
7201 EOF 7207 EOF
7202 if { (eval echo configure:7203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7208 if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7203 rm -rf conftest* 7209 rm -rf conftest*
7204 eval "ac_cv_lib_$ac_lib_var=yes" 7210 eval "ac_cv_lib_$ac_lib_var=yes"
7205 else 7211 else
7206 echo "configure: failed program was:" >&5 7212 echo "configure: failed program was:" >&5
7207 cat conftest.$ac_ext >&5 7213 cat conftest.$ac_ext >&5
7220 fi 7226 fi
7221 7227
7222 7228
7223 7229
7224 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7230 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7225 echo "configure:7226: checking the version of X11 being used" >&5 7231 echo "configure:7232: checking the version of X11 being used" >&5
7226 cat > conftest.$ac_ext <<EOF 7232 cat > conftest.$ac_ext <<EOF
7227 #line 7228 "configure" 7233 #line 7234 "configure"
7228 #include "confdefs.h" 7234 #include "confdefs.h"
7229 #include <X11/Intrinsic.h> 7235 #include <X11/Intrinsic.h>
7230 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7236 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7231 EOF 7237 EOF
7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7238 if { (eval echo configure:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7233 then 7239 then
7234 ./conftest foobar; x11_release=$? 7240 ./conftest foobar; x11_release=$?
7235 else 7241 else
7236 conftest_rc="$?" 7242 conftest_rc="$?"
7237 echo "configure: failed program was:" >&5 7243 echo "configure: failed program was:" >&5
7258 fi 7264 fi
7259 7265
7260 for ac_func in XConvertCase 7266 for ac_func in XConvertCase
7261 do 7267 do
7262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7263 echo "configure:7264: checking for $ac_func" >&5 7269 echo "configure:7270: checking for $ac_func" >&5
7264 7270
7265 cat > conftest.$ac_ext <<EOF 7271 cat > conftest.$ac_ext <<EOF
7266 #line 7267 "configure" 7272 #line 7273 "configure"
7267 #include "confdefs.h" 7273 #include "confdefs.h"
7268 /* System header to define __stub macros and hopefully few prototypes, 7274 /* System header to define __stub macros and hopefully few prototypes,
7269 which can conflict with char $ac_func(); below. */ 7275 which can conflict with char $ac_func(); below. */
7270 #include <assert.h> 7276 #include <assert.h>
7271 /* Override any gcc2 internal prototype to avoid an error. */ 7277 /* Override any gcc2 internal prototype to avoid an error. */
7284 $ac_func(); 7290 $ac_func();
7285 #endif 7291 #endif
7286 7292
7287 ; return 0; } 7293 ; return 0; }
7288 EOF 7294 EOF
7289 if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7290 rm -rf conftest* 7296 rm -rf conftest*
7291 eval "ac_cv_func_$ac_func=yes" 7297 eval "ac_cv_func_$ac_func=yes"
7292 else 7298 else
7293 echo "configure: failed program was:" >&5 7299 echo "configure: failed program was:" >&5
7294 cat conftest.$ac_ext >&5 7300 cat conftest.$ac_ext >&5
7316 7322
7317 for ac_hdr in X11/Xlocale.h 7323 for ac_hdr in X11/Xlocale.h
7318 do 7324 do
7319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7321 echo "configure:7322: checking for $ac_hdr" >&5 7327 echo "configure:7328: checking for $ac_hdr" >&5
7322 7328
7323 cat > conftest.$ac_ext <<EOF 7329 cat > conftest.$ac_ext <<EOF
7324 #line 7325 "configure" 7330 #line 7331 "configure"
7325 #include "confdefs.h" 7331 #include "confdefs.h"
7326 #include <$ac_hdr> 7332 #include <$ac_hdr>
7327 EOF 7333 EOF
7328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7329 { (eval echo configure:7330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7335 { (eval echo configure:7336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7331 if test -z "$ac_err"; then 7337 if test -z "$ac_err"; then
7332 rm -rf conftest* 7338 rm -rf conftest*
7333 eval "ac_cv_header_$ac_safe=yes" 7339 eval "ac_cv_header_$ac_safe=yes"
7334 else 7340 else
7357 7363
7358 7364
7359 for ac_func in XRegisterIMInstantiateCallback 7365 for ac_func in XRegisterIMInstantiateCallback
7360 do 7366 do
7361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7362 echo "configure:7363: checking for $ac_func" >&5 7368 echo "configure:7369: checking for $ac_func" >&5
7363 7369
7364 cat > conftest.$ac_ext <<EOF 7370 cat > conftest.$ac_ext <<EOF
7365 #line 7366 "configure" 7371 #line 7372 "configure"
7366 #include "confdefs.h" 7372 #include "confdefs.h"
7367 /* System header to define __stub macros and hopefully few prototypes, 7373 /* System header to define __stub macros and hopefully few prototypes,
7368 which can conflict with char $ac_func(); below. */ 7374 which can conflict with char $ac_func(); below. */
7369 #include <assert.h> 7375 #include <assert.h>
7370 /* Override any gcc2 internal prototype to avoid an error. */ 7376 /* Override any gcc2 internal prototype to avoid an error. */
7383 $ac_func(); 7389 $ac_func();
7384 #endif 7390 #endif
7385 7391
7386 ; return 0; } 7392 ; return 0; }
7387 EOF 7393 EOF
7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7389 rm -rf conftest* 7395 rm -rf conftest*
7390 eval "ac_cv_func_$ac_func=yes" 7396 eval "ac_cv_func_$ac_func=yes"
7391 else 7397 else
7392 echo "configure: failed program was:" >&5 7398 echo "configure: failed program was:" >&5
7393 cat conftest.$ac_ext >&5 7399 cat conftest.$ac_ext >&5
7411 echo "$ac_t""no" 1>&6 7417 echo "$ac_t""no" 1>&6
7412 fi 7418 fi
7413 done 7419 done
7414 7420
7415 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7421 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7416 echo "configure:7417: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7422 echo "configure:7423: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7417 cat > conftest.$ac_ext <<EOF 7423 cat > conftest.$ac_ext <<EOF
7418 #line 7419 "configure" 7424 #line 7425 "configure"
7419 #include "confdefs.h" 7425 #include "confdefs.h"
7420 7426
7421 #define NeedFunctionPrototypes 1 7427 #define NeedFunctionPrototypes 1
7422 #include <X11/Xlib.h> 7428 #include <X11/Xlib.h>
7423 extern Bool XRegisterIMInstantiateCallback( 7429 extern Bool XRegisterIMInstantiateCallback(
7425 7431
7426 int main() { 7432 int main() {
7427 7433
7428 ; return 0; } 7434 ; return 0; }
7429 EOF 7435 EOF
7430 if { (eval echo configure:7431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7436 if { (eval echo configure:7437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7431 rm -rf conftest* 7437 rm -rf conftest*
7432 echo "$ac_t""yes" 1>&6 7438 echo "$ac_t""yes" 1>&6
7433 else 7439 else
7434 echo "configure: failed program was:" >&5 7440 echo "configure: failed program was:" >&5
7435 cat conftest.$ac_ext >&5 7441 cat conftest.$ac_ext >&5
7446 fi 7452 fi
7447 rm -f conftest* 7453 rm -f conftest*
7448 7454
7449 test -z "$with_xmu" && { 7455 test -z "$with_xmu" && {
7450 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7456 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7451 echo "configure:7452: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7457 echo "configure:7458: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7452 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7458 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7453 7459
7454 xe_check_libs=" -lXmu " 7460 xe_check_libs=" -lXmu "
7455 cat > conftest.$ac_ext <<EOF 7461 cat > conftest.$ac_ext <<EOF
7456 #line 7457 "configure" 7462 #line 7463 "configure"
7457 #include "confdefs.h" 7463 #include "confdefs.h"
7458 /* Override any gcc2 internal prototype to avoid an error. */ 7464 /* Override any gcc2 internal prototype to avoid an error. */
7459 /* We use char because int might match the return type of a gcc2 7465 /* We use char because int might match the return type of a gcc2
7460 builtin and then its argument prototype would still apply. */ 7466 builtin and then its argument prototype would still apply. */
7461 char XmuReadBitmapDataFromFile(); 7467 char XmuReadBitmapDataFromFile();
7462 7468
7463 int main() { 7469 int main() {
7464 XmuReadBitmapDataFromFile() 7470 XmuReadBitmapDataFromFile()
7465 ; return 0; } 7471 ; return 0; }
7466 EOF 7472 EOF
7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7473 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7468 rm -rf conftest* 7474 rm -rf conftest*
7469 eval "ac_cv_lib_$ac_lib_var=yes" 7475 eval "ac_cv_lib_$ac_lib_var=yes"
7470 else 7476 else
7471 echo "configure: failed program was:" >&5 7477 echo "configure: failed program was:" >&5
7472 cat conftest.$ac_ext >&5 7478 cat conftest.$ac_ext >&5
7501 7507
7502 fi 7508 fi
7503 7509
7504 7510
7505 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7511 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7506 echo "configure:7507: checking for main in -lXbsd" >&5 7512 echo "configure:7513: checking for main in -lXbsd" >&5
7507 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7513 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7508 7514
7509 xe_check_libs=" -lXbsd " 7515 xe_check_libs=" -lXbsd "
7510 cat > conftest.$ac_ext <<EOF 7516 cat > conftest.$ac_ext <<EOF
7511 #line 7512 "configure" 7517 #line 7518 "configure"
7512 #include "confdefs.h" 7518 #include "confdefs.h"
7513 7519
7514 int main() { 7520 int main() {
7515 main() 7521 main()
7516 ; return 0; } 7522 ; return 0; }
7517 EOF 7523 EOF
7518 if { (eval echo configure:7519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7524 if { (eval echo configure:7525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7519 rm -rf conftest* 7525 rm -rf conftest*
7520 eval "ac_cv_lib_$ac_lib_var=yes" 7526 eval "ac_cv_lib_$ac_lib_var=yes"
7521 else 7527 else
7522 echo "configure: failed program was:" >&5 7528 echo "configure: failed program was:" >&5
7523 cat conftest.$ac_ext >&5 7529 cat conftest.$ac_ext >&5
7550 fi 7556 fi
7551 7557
7552 fi 7558 fi
7553 if test "$with_msw" != "no"; then 7559 if test "$with_msw" != "no"; then
7554 echo "checking for MS-Windows" 1>&6 7560 echo "checking for MS-Windows" 1>&6
7555 echo "configure:7556: checking for MS-Windows" >&5 7561 echo "configure:7562: checking for MS-Windows" >&5
7556 7562
7557 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7563 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7558 echo "configure:7559: checking for main in -lgdi32" >&5 7564 echo "configure:7565: checking for main in -lgdi32" >&5
7559 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7565 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7560 7566
7561 xe_check_libs=" -lgdi32 " 7567 xe_check_libs=" -lgdi32 "
7562 cat > conftest.$ac_ext <<EOF 7568 cat > conftest.$ac_ext <<EOF
7563 #line 7564 "configure" 7569 #line 7570 "configure"
7564 #include "confdefs.h" 7570 #include "confdefs.h"
7565 7571
7566 int main() { 7572 int main() {
7567 main() 7573 main()
7568 ; return 0; } 7574 ; return 0; }
7569 EOF 7575 EOF
7570 if { (eval echo configure:7571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7576 if { (eval echo configure:7577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7571 rm -rf conftest* 7577 rm -rf conftest*
7572 eval "ac_cv_lib_$ac_lib_var=yes" 7578 eval "ac_cv_lib_$ac_lib_var=yes"
7573 else 7579 else
7574 echo "configure: failed program was:" >&5 7580 echo "configure: failed program was:" >&5
7575 cat conftest.$ac_ext >&5 7581 cat conftest.$ac_ext >&5
7616 test "$with_toolbars" != "no" && with_toolbars=msw 7622 test "$with_toolbars" != "no" && with_toolbars=msw
7617 test "$with_dialogs" != "no" && with_dialogs=msw 7623 test "$with_dialogs" != "no" && with_dialogs=msw
7618 test "$with_widgets" != "no" && with_widgets=msw 7624 test "$with_widgets" != "no" && with_widgets=msw
7619 fi 7625 fi
7620 cat > conftest.$ac_ext <<EOF 7626 cat > conftest.$ac_ext <<EOF
7621 #line 7622 "configure" 7627 #line 7628 "configure"
7622 #include "confdefs.h" 7628 #include "confdefs.h"
7623 #include <fcntl.h> 7629 #include <fcntl.h>
7624 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7630 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7625 EOF 7631 EOF
7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7627 then 7633 then
7628 { test "$extra_verbose" = "yes" && cat << \EOF 7634 { test "$extra_verbose" = "yes" && cat << \EOF
7629 Defining HAVE_MSG_SELECT 7635 Defining HAVE_MSG_SELECT
7630 EOF 7636 EOF
7631 cat >> confdefs.h <<\EOF 7637 cat >> confdefs.h <<\EOF
7682 fi 7688 fi
7683 7689
7684 if test "$with_x11" = "yes"; then 7690 if test "$with_x11" = "yes"; then
7685 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7691 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7686 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7692 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7687 echo "configure:7688: checking for X11/extensions/shape.h" >&5 7693 echo "configure:7694: checking for X11/extensions/shape.h" >&5
7688 7694
7689 cat > conftest.$ac_ext <<EOF 7695 cat > conftest.$ac_ext <<EOF
7690 #line 7691 "configure" 7696 #line 7697 "configure"
7691 #include "confdefs.h" 7697 #include "confdefs.h"
7692 #include <X11/extensions/shape.h> 7698 #include <X11/extensions/shape.h>
7693 EOF 7699 EOF
7694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7695 { (eval echo configure:7696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7701 { (eval echo configure:7702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7697 if test -z "$ac_err"; then 7703 if test -z "$ac_err"; then
7698 rm -rf conftest* 7704 rm -rf conftest*
7699 eval "ac_cv_header_$ac_safe=yes" 7705 eval "ac_cv_header_$ac_safe=yes"
7700 else 7706 else
7740 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7746 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7741 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7747 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7742 esac 7748 esac
7743 7749
7744 echo "checking for WM_COMMAND option" 1>&6 7750 echo "checking for WM_COMMAND option" 1>&6
7745 echo "configure:7746: checking for WM_COMMAND option" >&5; 7751 echo "configure:7752: checking for WM_COMMAND option" >&5;
7746 if test "$with_wmcommand" != "no"; then 7752 if test "$with_wmcommand" != "no"; then
7747 { test "$extra_verbose" = "yes" && cat << \EOF 7753 { test "$extra_verbose" = "yes" && cat << \EOF
7748 Defining HAVE_WMCOMMAND 7754 Defining HAVE_WMCOMMAND
7749 EOF 7755 EOF
7750 cat >> confdefs.h <<\EOF 7756 cat >> confdefs.h <<\EOF
7755 fi 7761 fi
7756 7762
7757 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7763 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7758 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7764 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7759 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7765 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7760 echo "configure:7761: checking for X11/Xauth.h" >&5 7766 echo "configure:7767: checking for X11/Xauth.h" >&5
7761 7767
7762 cat > conftest.$ac_ext <<EOF 7768 cat > conftest.$ac_ext <<EOF
7763 #line 7764 "configure" 7769 #line 7770 "configure"
7764 #include "confdefs.h" 7770 #include "confdefs.h"
7765 #include <X11/Xauth.h> 7771 #include <X11/Xauth.h>
7766 EOF 7772 EOF
7767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7768 { (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7774 { (eval echo configure:7775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7770 if test -z "$ac_err"; then 7776 if test -z "$ac_err"; then
7771 rm -rf conftest* 7777 rm -rf conftest*
7772 eval "ac_cv_header_$ac_safe=yes" 7778 eval "ac_cv_header_$ac_safe=yes"
7773 else 7779 else
7786 with_xauth=no 7792 with_xauth=no
7787 fi 7793 fi
7788 } 7794 }
7789 test -z "$with_xauth" && { 7795 test -z "$with_xauth" && {
7790 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7796 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7791 echo "configure:7792: checking for XauGetAuthByAddr in -lXau" >&5 7797 echo "configure:7798: checking for XauGetAuthByAddr in -lXau" >&5
7792 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7798 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7793 7799
7794 xe_check_libs=" -lXau " 7800 xe_check_libs=" -lXau "
7795 cat > conftest.$ac_ext <<EOF 7801 cat > conftest.$ac_ext <<EOF
7796 #line 7797 "configure" 7802 #line 7803 "configure"
7797 #include "confdefs.h" 7803 #include "confdefs.h"
7798 /* Override any gcc2 internal prototype to avoid an error. */ 7804 /* Override any gcc2 internal prototype to avoid an error. */
7799 /* We use char because int might match the return type of a gcc2 7805 /* We use char because int might match the return type of a gcc2
7800 builtin and then its argument prototype would still apply. */ 7806 builtin and then its argument prototype would still apply. */
7801 char XauGetAuthByAddr(); 7807 char XauGetAuthByAddr();
7802 7808
7803 int main() { 7809 int main() {
7804 XauGetAuthByAddr() 7810 XauGetAuthByAddr()
7805 ; return 0; } 7811 ; return 0; }
7806 EOF 7812 EOF
7807 if { (eval echo configure:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7808 rm -rf conftest* 7814 rm -rf conftest*
7809 eval "ac_cv_lib_$ac_lib_var=yes" 7815 eval "ac_cv_lib_$ac_lib_var=yes"
7810 else 7816 else
7811 echo "configure: failed program was:" >&5 7817 echo "configure: failed program was:" >&5
7812 cat conftest.$ac_ext >&5 7818 cat conftest.$ac_ext >&5
7853 fi 7859 fi
7854 7860
7855 7861
7856 if test "$with_modules" != "no"; then 7862 if test "$with_modules" != "no"; then
7857 echo "checking for module support" 1>&6 7863 echo "checking for module support" 1>&6
7858 echo "configure:7859: checking for module support" >&5 7864 echo "configure:7865: checking for module support" >&5
7859 7865
7860 case "$opsys" in 7866 case "$opsys" in
7861 mingw* | cygwin* ) have_dl=yes ;; 7867 mingw* | cygwin* ) have_dl=yes ;;
7862 darwin ) have_dl=yes 7868 darwin ) have_dl=yes
7863 { test "$extra_verbose" = "yes" && cat << \EOF 7869 { test "$extra_verbose" = "yes" && cat << \EOF
7870 7876
7871 ;; 7877 ;;
7872 * ) 7878 * )
7873 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7879 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7874 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7880 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7875 echo "configure:7876: checking for dlfcn.h" >&5 7881 echo "configure:7882: checking for dlfcn.h" >&5
7876 7882
7877 cat > conftest.$ac_ext <<EOF 7883 cat > conftest.$ac_ext <<EOF
7878 #line 7879 "configure" 7884 #line 7885 "configure"
7879 #include "confdefs.h" 7885 #include "confdefs.h"
7880 #include <dlfcn.h> 7886 #include <dlfcn.h>
7881 EOF 7887 EOF
7882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7883 { (eval echo configure:7884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7889 { (eval echo configure:7890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7885 if test -z "$ac_err"; then 7891 if test -z "$ac_err"; then
7886 rm -rf conftest* 7892 rm -rf conftest*
7887 eval "ac_cv_header_$ac_safe=yes" 7893 eval "ac_cv_header_$ac_safe=yes"
7888 else 7894 else
7895 rm -f conftest* 7901 rm -f conftest*
7896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7897 echo "$ac_t""yes" 1>&6 7903 echo "$ac_t""yes" 1>&6
7898 7904
7899 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7905 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7900 echo "configure:7901: checking for dlopen in -lc" >&5 7906 echo "configure:7907: checking for dlopen in -lc" >&5
7901 cat > conftest.$ac_ext <<EOF 7907 cat > conftest.$ac_ext <<EOF
7902 #line 7903 "configure" 7908 #line 7909 "configure"
7903 #include "confdefs.h" 7909 #include "confdefs.h"
7904 #include <dlfcn.h> 7910 #include <dlfcn.h>
7905 int main() { 7911 int main() {
7906 dlopen ("", 0); 7912 dlopen ("", 0);
7907 ; return 0; } 7913 ; return 0; }
7908 EOF 7914 EOF
7909 if { (eval echo configure:7910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7910 rm -rf conftest* 7916 rm -rf conftest*
7911 have_dl=yes 7917 have_dl=yes
7912 else 7918 else
7913 echo "configure: failed program was:" >&5 7919 echo "configure: failed program was:" >&5
7914 cat conftest.$ac_ext >&5 7920 cat conftest.$ac_ext >&5
7915 rm -rf conftest* 7921 rm -rf conftest*
7916 7922
7917 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7923 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7918 echo "configure:7919: checking for dlopen in -ldl" >&5 7924 echo "configure:7925: checking for dlopen in -ldl" >&5
7919 ac_save_LIBS="$LIBS" 7925 ac_save_LIBS="$LIBS"
7920 LIBS="$LIBS -ldl" 7926 LIBS="$LIBS -ldl"
7921 cat > conftest.$ac_ext <<EOF 7927 cat > conftest.$ac_ext <<EOF
7922 #line 7923 "configure" 7928 #line 7929 "configure"
7923 #include "confdefs.h" 7929 #include "confdefs.h"
7924 #include <dlfcn.h> 7930 #include <dlfcn.h>
7925 int main() { 7931 int main() {
7926 dlopen ("", 0); 7932 dlopen ("", 0);
7927 ; return 0; } 7933 ; return 0; }
7928 EOF 7934 EOF
7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7935 if { (eval echo configure:7936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7930 rm -rf conftest* 7936 rm -rf conftest*
7931 have_dl=yes 7937 have_dl=yes
7932 else 7938 else
7933 echo "configure: failed program was:" >&5 7939 echo "configure: failed program was:" >&5
7934 cat conftest.$ac_ext >&5 7940 cat conftest.$ac_ext >&5
7935 rm -rf conftest* 7941 rm -rf conftest*
7936 7942
7937 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7943 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7938 echo "configure:7939: checking for dlopen in -lsvld" >&5 7944 echo "configure:7945: checking for dlopen in -lsvld" >&5
7939 LIBS="$ac_save_LIBS -lsvld" 7945 LIBS="$ac_save_LIBS -lsvld"
7940 cat > conftest.$ac_ext <<EOF 7946 cat > conftest.$ac_ext <<EOF
7941 #line 7942 "configure" 7947 #line 7948 "configure"
7942 #include "confdefs.h" 7948 #include "confdefs.h"
7943 #include <dlfcn.h> 7949 #include <dlfcn.h>
7944 int main() { 7950 int main() {
7945 dlopen ("", 0); 7951 dlopen ("", 0);
7946 ; return 0; } 7952 ; return 0; }
7947 EOF 7953 EOF
7948 if { (eval echo configure:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7954 if { (eval echo configure:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7949 rm -rf conftest* 7955 rm -rf conftest*
7950 have_dl=yes 7956 have_dl=yes
7951 else 7957 else
7952 echo "configure: failed program was:" >&5 7958 echo "configure: failed program was:" >&5
7953 cat conftest.$ac_ext >&5 7959 cat conftest.$ac_ext >&5
7973 } 7979 }
7974 7980
7975 else 7981 else
7976 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7982 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7977 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7983 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7978 echo "configure:7979: checking for dl.h" >&5 7984 echo "configure:7985: checking for dl.h" >&5
7979 7985
7980 cat > conftest.$ac_ext <<EOF 7986 cat > conftest.$ac_ext <<EOF
7981 #line 7982 "configure" 7987 #line 7988 "configure"
7982 #include "confdefs.h" 7988 #include "confdefs.h"
7983 #include <dl.h> 7989 #include <dl.h>
7984 EOF 7990 EOF
7985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7986 { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7992 { (eval echo configure:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7988 if test -z "$ac_err"; then 7994 if test -z "$ac_err"; then
7989 rm -rf conftest* 7995 rm -rf conftest*
7990 eval "ac_cv_header_$ac_safe=yes" 7996 eval "ac_cv_header_$ac_safe=yes"
7991 else 7997 else
7998 rm -f conftest* 8004 rm -f conftest*
7999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8000 echo "$ac_t""yes" 1>&6 8006 echo "$ac_t""yes" 1>&6
8001 8007
8002 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 8008 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
8003 echo "configure:8004: checking for shl_load in -lc" >&5 8009 echo "configure:8010: checking for shl_load in -lc" >&5
8004 cat > conftest.$ac_ext <<EOF 8010 cat > conftest.$ac_ext <<EOF
8005 #line 8006 "configure" 8011 #line 8012 "configure"
8006 #include "confdefs.h" 8012 #include "confdefs.h"
8007 #include <dl.h> 8013 #include <dl.h>
8008 int main() { 8014 int main() {
8009 shl_load ("", 0, 0); 8015 shl_load ("", 0, 0);
8010 ; return 0; } 8016 ; return 0; }
8011 EOF 8017 EOF
8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8018 if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8013 rm -rf conftest* 8019 rm -rf conftest*
8014 have_dl=yes 8020 have_dl=yes
8015 else 8021 else
8016 echo "configure: failed program was:" >&5 8022 echo "configure: failed program was:" >&5
8017 cat conftest.$ac_ext >&5 8023 cat conftest.$ac_ext >&5
8018 rm -rf conftest* 8024 rm -rf conftest*
8019 8025
8020 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 8026 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
8021 echo "configure:8022: checking for shl_load in -ldl" >&5 8027 echo "configure:8028: checking for shl_load in -ldl" >&5
8022 ac_save_LIBS="$LIBS" 8028 ac_save_LIBS="$LIBS"
8023 LIBS="$LIBS -ldld" 8029 LIBS="$LIBS -ldld"
8024 cat > conftest.$ac_ext <<EOF 8030 cat > conftest.$ac_ext <<EOF
8025 #line 8026 "configure" 8031 #line 8032 "configure"
8026 #include "confdefs.h" 8032 #include "confdefs.h"
8027 #include <dl.h> 8033 #include <dl.h>
8028 int main() { 8034 int main() {
8029 shl_load ("", 0, 0); 8035 shl_load ("", 0, 0);
8030 ; return 0; } 8036 ; return 0; }
8031 EOF 8037 EOF
8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8033 rm -rf conftest* 8039 rm -rf conftest*
8034 have_dl=yes 8040 have_dl=yes
8035 else 8041 else
8036 echo "configure: failed program was:" >&5 8042 echo "configure: failed program was:" >&5
8037 cat conftest.$ac_ext >&5 8043 cat conftest.$ac_ext >&5
8055 } 8061 }
8056 8062
8057 else 8063 else
8058 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 8064 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
8059 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 8065 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
8060 echo "configure:8061: checking for ltdl.h" >&5 8066 echo "configure:8067: checking for ltdl.h" >&5
8061 8067
8062 cat > conftest.$ac_ext <<EOF 8068 cat > conftest.$ac_ext <<EOF
8063 #line 8064 "configure" 8069 #line 8070 "configure"
8064 #include "confdefs.h" 8070 #include "confdefs.h"
8065 #include <ltdl.h> 8071 #include <ltdl.h>
8066 EOF 8072 EOF
8067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8068 { (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8074 { (eval echo configure:8075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8070 if test -z "$ac_err"; then 8076 if test -z "$ac_err"; then
8071 rm -rf conftest* 8077 rm -rf conftest*
8072 eval "ac_cv_header_$ac_safe=yes" 8078 eval "ac_cv_header_$ac_safe=yes"
8073 else 8079 else
8080 rm -f conftest* 8086 rm -f conftest*
8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8082 echo "$ac_t""yes" 1>&6 8088 echo "$ac_t""yes" 1>&6
8083 8089
8084 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8090 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8085 echo "configure:8086: checking for lt_dlinit in -lltdl" >&5 8091 echo "configure:8092: checking for lt_dlinit in -lltdl" >&5
8086 ac_save_LIBS="$LIBS" 8092 ac_save_LIBS="$LIBS"
8087 LIBS="$LIBS -lltdl" 8093 LIBS="$LIBS -lltdl"
8088 cat > conftest.$ac_ext <<EOF 8094 cat > conftest.$ac_ext <<EOF
8089 #line 8090 "configure" 8095 #line 8096 "configure"
8090 #include "confdefs.h" 8096 #include "confdefs.h"
8091 #include <ltdl.h> 8097 #include <ltdl.h>
8092 int main() { 8098 int main() {
8093 lt_dlinit (); 8099 lt_dlinit ();
8094 ; return 0; } 8100 ; return 0; }
8095 EOF 8101 EOF
8096 if { (eval echo configure:8097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8097 rm -rf conftest* 8103 rm -rf conftest*
8098 have_dl=yes 8104 have_dl=yes
8099 else 8105 else
8100 echo "configure: failed program was:" >&5 8106 echo "configure: failed program was:" >&5
8101 cat conftest.$ac_ext >&5 8107 cat conftest.$ac_ext >&5
8132 ld_dynamic_link_flags= 8138 ld_dynamic_link_flags=
8133 xehost=$canonical 8139 xehost=$canonical
8134 xealias=$internal_configuration 8140 xealias=$internal_configuration
8135 8141
8136 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8142 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8137 echo "configure:8138: checking how to build dynamic libraries for ${xehost}" >&5 8143 echo "configure:8144: checking how to build dynamic libraries for ${xehost}" >&5
8138 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8144 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8139 case "$xehost" in 8145 case "$xehost" in
8140 *-*-linux-gnu*) ;; 8146 *-*-linux-gnu*) ;;
8141 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8147 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8142 esac 8148 esac
8160 # Now see if the compiler is really GCC. 8166 # Now see if the compiler is really GCC.
8161 if test "$GCC" = "yes"; then 8167 if test "$GCC" = "yes"; then
8162 XEGCC=yes 8168 XEGCC=yes
8163 else 8169 else
8164 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8170 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8165 echo "configure:8166: checking checking whether we are using GNU C" >&5 8171 echo "configure:8172: checking checking whether we are using GNU C" >&5
8166 cat > conftest.$ac_ext <<EOF 8172 cat > conftest.$ac_ext <<EOF
8167 #line 8168 "configure" 8173 #line 8174 "configure"
8168 #include "confdefs.h" 8174 #include "confdefs.h"
8169 8175
8170 #ifdef __GNUC__ 8176 #ifdef __GNUC__
8171 yes; 8177 yes;
8172 #endif 8178 #endif
8184 8190
8185 echo "$ac_t""${XEGCC}" 1>&6 8191 echo "$ac_t""${XEGCC}" 1>&6
8186 fi 8192 fi
8187 8193
8188 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8194 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8189 echo "configure:8190: checking how to produce PIC code" >&5 8195 echo "configure:8196: checking how to produce PIC code" >&5
8190 wl= 8196 wl=
8191 8197
8192 can_build_shared=yes 8198 can_build_shared=yes
8193 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8199 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8194 wl='-Wl,' 8200 wl='-Wl,'
8288 if test -n "$dll_cflags"; then 8294 if test -n "$dll_cflags"; then
8289 echo "$ac_t""${dll_cflags}" 1>&6 8295 echo "$ac_t""${dll_cflags}" 1>&6
8290 8296
8291 # Check to make sure the dll_cflags actually works. 8297 # Check to make sure the dll_cflags actually works.
8292 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8298 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8293 echo "configure:8294: checking if PIC flag ${dll_cflags} really works" >&5 8299 echo "configure:8300: checking if PIC flag ${dll_cflags} really works" >&5
8294 save_CFLAGS="$CFLAGS" 8300 save_CFLAGS="$CFLAGS"
8295 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8301 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8296 cat > conftest.$ac_ext <<EOF 8302 cat > conftest.$ac_ext <<EOF
8297 #line 8298 "configure" 8303 #line 8304 "configure"
8298 #include "confdefs.h" 8304 #include "confdefs.h"
8299 8305
8300 int main() { 8306 int main() {
8301 int x=0; 8307 int x=0;
8302 ; return 0; } 8308 ; return 0; }
8303 EOF 8309 EOF
8304 if { (eval echo configure:8305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8310 if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8305 rm -rf conftest* 8311 rm -rf conftest*
8306 8312
8307 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8313 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8308 # reports no error. So, we need to grep stderr for (Bundled). 8314 # reports no error. So, we need to grep stderr for (Bundled).
8309 if grep '(Bundled)' config.log >/dev/null; then 8315 if grep '(Bundled)' config.log >/dev/null; then
8330 if test "$can_build_shared" = "yes"; then 8336 if test "$can_build_shared" = "yes"; then
8331 cc_produces_so=no 8337 cc_produces_so=no
8332 xldf= 8338 xldf=
8333 xcldf= 8339 xcldf=
8334 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8340 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8335 echo "configure:8336: checking if C compiler can produce shared libraries" >&5 8341 echo "configure:8342: checking if C compiler can produce shared libraries" >&5
8336 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8342 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8337 case "$xehost_os" in 8343 case "$xehost_os" in
8338 *darwin*) 8344 *darwin*)
8339 xcldf='-bundle' 8345 xcldf='-bundle'
8340 xldf='-bundle -bundle_loader ../../src/xemacs' 8346 xldf='-bundle -bundle_loader ../../src/xemacs'
8389 LDFLAGS="$xcldf $LDFLAGS" 8395 LDFLAGS="$xcldf $LDFLAGS"
8390 LIBS= 8396 LIBS=
8391 xe_libs= 8397 xe_libs=
8392 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8398 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8393 cat > conftest.$ac_ext <<EOF 8399 cat > conftest.$ac_ext <<EOF
8394 #line 8395 "configure" 8400 #line 8401 "configure"
8395 #include "confdefs.h" 8401 #include "confdefs.h"
8396 8402
8397 int main() { 8403 int main() {
8398 int x=0; 8404 int x=0;
8399 ; return 0; } 8405 ; return 0; }
8400 EOF 8406 EOF
8401 if { (eval echo configure:8402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8402 rm -rf conftest* 8408 rm -rf conftest*
8403 cc_produces_so=yes 8409 cc_produces_so=yes
8404 else 8410 else
8405 echo "configure: failed program was:" >&5 8411 echo "configure: failed program was:" >&5
8406 cat conftest.$ac_ext >&5 8412 cat conftest.$ac_ext >&5
8421 if test -z "$LTLD"; then 8427 if test -z "$LTLD"; then
8422 ac_prog=ld 8428 ac_prog=ld
8423 if test "$XEGCC" = yes; then 8429 if test "$XEGCC" = yes; then
8424 # Check if gcc -print-prog-name=ld gives a path. 8430 # Check if gcc -print-prog-name=ld gives a path.
8425 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8431 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8426 echo "configure:8427: checking for ld used by GCC" >&5 8432 echo "configure:8433: checking for ld used by GCC" >&5
8427 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8433 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8428 case "$ac_prog" in 8434 case "$ac_prog" in
8429 # Accept absolute paths. 8435 # Accept absolute paths.
8430 /*) 8436 /*)
8431 if test -z "$LTLD"; then 8437 if test -z "$LTLD"; then
8447 with_gnu_ld=unknown 8453 with_gnu_ld=unknown
8448 ;; 8454 ;;
8449 esac 8455 esac
8450 else 8456 else
8451 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8457 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8452 echo "configure:8453: checking for GNU ld" >&5 8458 echo "configure:8459: checking for GNU ld" >&5
8453 fi 8459 fi
8454 8460
8455 if test -z "$LTLD"; then 8461 if test -z "$LTLD"; then
8456 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8457 for ac_dir in $PATH; do 8463 for ac_dir in $PATH; do
8485 8491
8486 ld_dynamic_link_flags= 8492 ld_dynamic_link_flags=
8487 8493
8488 # Check to see if it really is or isn't GNU ld. 8494 # Check to see if it really is or isn't GNU ld.
8489 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8495 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8490 echo "configure:8491: checking if the linker is GNU ld" >&5 8496 echo "configure:8497: checking if the linker is GNU ld" >&5
8491 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8497 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8492 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8498 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8493 xe_gnu_ld=yes 8499 xe_gnu_ld=yes
8494 else 8500 else
8495 xe_gnu_ld=no 8501 xe_gnu_ld=no
8520 ld_shlibs=yes 8526 ld_shlibs=yes
8521 else 8527 else
8522 # OK - only NOW do we futz about with ld. 8528 # OK - only NOW do we futz about with ld.
8523 # See if the linker supports building shared libraries. 8529 # See if the linker supports building shared libraries.
8524 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8530 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8525 echo "configure:8526: checking whether the linker supports shared libraries" >&5 8531 echo "configure:8532: checking whether the linker supports shared libraries" >&5
8526 dll_ld=$CC 8532 dll_ld=$CC
8527 dll_ldflags=$LDFLAGS 8533 dll_ldflags=$LDFLAGS
8528 ld_shlibs=yes 8534 ld_shlibs=yes
8529 can_build_shared=yes 8535 can_build_shared=yes
8530 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8536 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8733 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8739 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8734 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8740 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8735 for ac_func in dlerror _dlerror 8741 for ac_func in dlerror _dlerror
8736 do 8742 do
8737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8738 echo "configure:8739: checking for $ac_func" >&5 8744 echo "configure:8745: checking for $ac_func" >&5
8739 8745
8740 cat > conftest.$ac_ext <<EOF 8746 cat > conftest.$ac_ext <<EOF
8741 #line 8742 "configure" 8747 #line 8748 "configure"
8742 #include "confdefs.h" 8748 #include "confdefs.h"
8743 /* System header to define __stub macros and hopefully few prototypes, 8749 /* System header to define __stub macros and hopefully few prototypes,
8744 which can conflict with char $ac_func(); below. */ 8750 which can conflict with char $ac_func(); below. */
8745 #include <assert.h> 8751 #include <assert.h>
8746 /* Override any gcc2 internal prototype to avoid an error. */ 8752 /* Override any gcc2 internal prototype to avoid an error. */
8759 $ac_func(); 8765 $ac_func();
8760 #endif 8766 #endif
8761 8767
8762 ; return 0; } 8768 ; return 0; }
8763 EOF 8769 EOF
8764 if { (eval echo configure:8765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8765 rm -rf conftest* 8771 rm -rf conftest*
8766 eval "ac_cv_func_$ac_func=yes" 8772 eval "ac_cv_func_$ac_func=yes"
8767 else 8773 else
8768 echo "configure: failed program was:" >&5 8774 echo "configure: failed program was:" >&5
8769 cat conftest.$ac_ext >&5 8775 cat conftest.$ac_ext >&5
8823 8829
8824 if test "$with_tooltalk" != "no" ; then 8830 if test "$with_tooltalk" != "no" ; then
8825 for dir in "" "Tt/" "desktop/" ; do 8831 for dir in "" "Tt/" "desktop/" ; do
8826 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8832 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8827 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8833 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8828 echo "configure:8829: checking for ${dir}tt_c.h" >&5 8834 echo "configure:8835: checking for ${dir}tt_c.h" >&5
8829 8835
8830 cat > conftest.$ac_ext <<EOF 8836 cat > conftest.$ac_ext <<EOF
8831 #line 8832 "configure" 8837 #line 8838 "configure"
8832 #include "confdefs.h" 8838 #include "confdefs.h"
8833 #include <${dir}tt_c.h> 8839 #include <${dir}tt_c.h>
8834 EOF 8840 EOF
8835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8836 { (eval echo configure:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8842 { (eval echo configure:8843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8838 if test -z "$ac_err"; then 8844 if test -z "$ac_err"; then
8839 rm -rf conftest* 8845 rm -rf conftest*
8840 eval "ac_cv_header_$ac_safe=yes" 8846 eval "ac_cv_header_$ac_safe=yes"
8841 else 8847 else
8867 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8873 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8868 8874
8869 xe_msg_checking="for tt_message_create in -ltt" 8875 xe_msg_checking="for tt_message_create in -ltt"
8870 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8876 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8871 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8877 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8872 echo "configure:8873: checking "$xe_msg_checking"" >&5 8878 echo "configure:8879: checking "$xe_msg_checking"" >&5
8873 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8879 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8874 8880
8875 xe_check_libs=" -ltt $extra_libs" 8881 xe_check_libs=" -ltt $extra_libs"
8876 cat > conftest.$ac_ext <<EOF 8882 cat > conftest.$ac_ext <<EOF
8877 #line 8878 "configure" 8883 #line 8884 "configure"
8878 #include "confdefs.h" 8884 #include "confdefs.h"
8879 /* Override any gcc2 internal prototype to avoid an error. */ 8885 /* Override any gcc2 internal prototype to avoid an error. */
8880 /* We use char because int might match the return type of a gcc2 8886 /* We use char because int might match the return type of a gcc2
8881 builtin and then its argument prototype would still apply. */ 8887 builtin and then its argument prototype would still apply. */
8882 char tt_message_create(); 8888 char tt_message_create();
8883 8889
8884 int main() { 8890 int main() {
8885 tt_message_create() 8891 tt_message_create()
8886 ; return 0; } 8892 ; return 0; }
8887 EOF 8893 EOF
8888 if { (eval echo configure:8889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8894 if { (eval echo configure:8895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8889 rm -rf conftest* 8895 rm -rf conftest*
8890 eval "ac_cv_lib_$ac_lib_var=yes" 8896 eval "ac_cv_lib_$ac_lib_var=yes"
8891 else 8897 else
8892 echo "configure: failed program was:" >&5 8898 echo "configure: failed program was:" >&5
8893 cat conftest.$ac_ext >&5 8899 cat conftest.$ac_ext >&5
8937 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8943 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8938 fi 8944 fi
8939 8945
8940 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8946 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8941 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8947 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8942 echo "configure:8943: checking for Dt/Dt.h" >&5 8948 echo "configure:8949: checking for Dt/Dt.h" >&5
8943 8949
8944 cat > conftest.$ac_ext <<EOF 8950 cat > conftest.$ac_ext <<EOF
8945 #line 8946 "configure" 8951 #line 8952 "configure"
8946 #include "confdefs.h" 8952 #include "confdefs.h"
8947 #include <Dt/Dt.h> 8953 #include <Dt/Dt.h>
8948 EOF 8954 EOF
8949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8950 { (eval echo configure:8951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8956 { (eval echo configure:8957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8952 if test -z "$ac_err"; then 8958 if test -z "$ac_err"; then
8953 rm -rf conftest* 8959 rm -rf conftest*
8954 eval "ac_cv_header_$ac_safe=yes" 8960 eval "ac_cv_header_$ac_safe=yes"
8955 else 8961 else
8968 with_cde=no 8974 with_cde=no
8969 fi 8975 fi
8970 } 8976 }
8971 test -z "$with_cde" && { 8977 test -z "$with_cde" && {
8972 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8978 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8973 echo "configure:8974: checking for DtDndDragStart in -lDtSvc" >&5 8979 echo "configure:8980: checking for DtDndDragStart in -lDtSvc" >&5
8974 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8980 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8975 8981
8976 xe_check_libs=" -lDtSvc " 8982 xe_check_libs=" -lDtSvc "
8977 cat > conftest.$ac_ext <<EOF 8983 cat > conftest.$ac_ext <<EOF
8978 #line 8979 "configure" 8984 #line 8985 "configure"
8979 #include "confdefs.h" 8985 #include "confdefs.h"
8980 /* Override any gcc2 internal prototype to avoid an error. */ 8986 /* Override any gcc2 internal prototype to avoid an error. */
8981 /* We use char because int might match the return type of a gcc2 8987 /* We use char because int might match the return type of a gcc2
8982 builtin and then its argument prototype would still apply. */ 8988 builtin and then its argument prototype would still apply. */
8983 char DtDndDragStart(); 8989 char DtDndDragStart();
8984 8990
8985 int main() { 8991 int main() {
8986 DtDndDragStart() 8992 DtDndDragStart()
8987 ; return 0; } 8993 ; return 0; }
8988 EOF 8994 EOF
8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8995 if { (eval echo configure:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8990 rm -rf conftest* 8996 rm -rf conftest*
8991 eval "ac_cv_lib_$ac_lib_var=yes" 8997 eval "ac_cv_lib_$ac_lib_var=yes"
8992 else 8998 else
8993 echo "configure: failed program was:" >&5 8999 echo "configure: failed program was:" >&5
8994 cat conftest.$ac_ext >&5 9000 cat conftest.$ac_ext >&5
9065 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 9071 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
9066 fi 9072 fi
9067 9073
9068 if test "$with_dragndrop" != "no" ; then 9074 if test "$with_dragndrop" != "no" ; then
9069 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 9075 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
9070 echo "configure:9071: checking if drag and drop API is needed" >&5 9076 echo "configure:9077: checking if drag and drop API is needed" >&5
9071 if test -n "$dragndrop_proto" ; then 9077 if test -n "$dragndrop_proto" ; then
9072 with_dragndrop=yes 9078 with_dragndrop=yes
9073 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 9079 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
9074 { test "$extra_verbose" = "yes" && cat << \EOF 9080 { test "$extra_verbose" = "yes" && cat << \EOF
9075 Defining HAVE_DRAGNDROP 9081 Defining HAVE_DRAGNDROP
9085 echo "$ac_t""no" 1>&6 9091 echo "$ac_t""no" 1>&6
9086 fi 9092 fi
9087 fi 9093 fi
9088 9094
9089 echo "checking for LDAP" 1>&6 9095 echo "checking for LDAP" 1>&6
9090 echo "configure:9091: checking for LDAP" >&5 9096 echo "configure:9097: checking for LDAP" >&5
9091 ldap_libs= 9097 ldap_libs=
9092 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9098 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9093 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9099 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9094 echo "configure:9095: checking for ldap.h" >&5 9100 echo "configure:9101: checking for ldap.h" >&5
9095 9101
9096 cat > conftest.$ac_ext <<EOF 9102 cat > conftest.$ac_ext <<EOF
9097 #line 9098 "configure" 9103 #line 9104 "configure"
9098 #include "confdefs.h" 9104 #include "confdefs.h"
9099 #include <ldap.h> 9105 #include <ldap.h>
9100 EOF 9106 EOF
9101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9102 { (eval echo configure:9103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9104 if test -z "$ac_err"; then 9110 if test -z "$ac_err"; then
9105 rm -rf conftest* 9111 rm -rf conftest*
9106 eval "ac_cv_header_$ac_safe=yes" 9112 eval "ac_cv_header_$ac_safe=yes"
9107 else 9113 else
9120 with_ldap=no 9126 with_ldap=no
9121 fi 9127 fi
9122 } 9128 }
9123 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9129 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9124 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9130 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9125 echo "configure:9126: checking for lber.h" >&5 9131 echo "configure:9132: checking for lber.h" >&5
9126 9132
9127 cat > conftest.$ac_ext <<EOF 9133 cat > conftest.$ac_ext <<EOF
9128 #line 9129 "configure" 9134 #line 9135 "configure"
9129 #include "confdefs.h" 9135 #include "confdefs.h"
9130 #include <lber.h> 9136 #include <lber.h>
9131 EOF 9137 EOF
9132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9133 { (eval echo configure:9134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9135 if test -z "$ac_err"; then 9141 if test -z "$ac_err"; then
9136 rm -rf conftest* 9142 rm -rf conftest*
9137 eval "ac_cv_header_$ac_safe=yes" 9143 eval "ac_cv_header_$ac_safe=yes"
9138 else 9144 else
9152 fi 9158 fi
9153 } 9159 }
9154 if test "$with_ldap" != "no"; then 9160 if test "$with_ldap" != "no"; then
9155 9161
9156 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9162 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9157 echo "configure:9158: checking for ldap_search in -lldap" >&5 9163 echo "configure:9164: checking for ldap_search in -lldap" >&5
9158 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9164 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9159 9165
9160 xe_check_libs=" -lldap " 9166 xe_check_libs=" -lldap "
9161 cat > conftest.$ac_ext <<EOF 9167 cat > conftest.$ac_ext <<EOF
9162 #line 9163 "configure" 9168 #line 9169 "configure"
9163 #include "confdefs.h" 9169 #include "confdefs.h"
9164 /* Override any gcc2 internal prototype to avoid an error. */ 9170 /* Override any gcc2 internal prototype to avoid an error. */
9165 /* We use char because int might match the return type of a gcc2 9171 /* We use char because int might match the return type of a gcc2
9166 builtin and then its argument prototype would still apply. */ 9172 builtin and then its argument prototype would still apply. */
9167 char ldap_search(); 9173 char ldap_search();
9168 9174
9169 int main() { 9175 int main() {
9170 ldap_search() 9176 ldap_search()
9171 ; return 0; } 9177 ; return 0; }
9172 EOF 9178 EOF
9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9179 if { (eval echo configure:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9174 rm -rf conftest* 9180 rm -rf conftest*
9175 eval "ac_cv_lib_$ac_lib_var=yes" 9181 eval "ac_cv_lib_$ac_lib_var=yes"
9176 else 9182 else
9177 echo "configure: failed program was:" >&5 9183 echo "configure: failed program was:" >&5
9178 cat conftest.$ac_ext >&5 9184 cat conftest.$ac_ext >&5
9192 9198
9193 test "$with_ldap" != "yes" && { 9199 test "$with_ldap" != "yes" && {
9194 xe_msg_checking="for ldap_open in -lldap" 9200 xe_msg_checking="for ldap_open in -lldap"
9195 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9201 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9196 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9202 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9197 echo "configure:9198: checking "$xe_msg_checking"" >&5 9203 echo "configure:9204: checking "$xe_msg_checking"" >&5
9198 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9204 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9199 9205
9200 xe_check_libs=" -lldap -llber" 9206 xe_check_libs=" -lldap -llber"
9201 cat > conftest.$ac_ext <<EOF 9207 cat > conftest.$ac_ext <<EOF
9202 #line 9203 "configure" 9208 #line 9209 "configure"
9203 #include "confdefs.h" 9209 #include "confdefs.h"
9204 /* Override any gcc2 internal prototype to avoid an error. */ 9210 /* Override any gcc2 internal prototype to avoid an error. */
9205 /* We use char because int might match the return type of a gcc2 9211 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */ 9212 builtin and then its argument prototype would still apply. */
9207 char ldap_open(); 9213 char ldap_open();
9208 9214
9209 int main() { 9215 int main() {
9210 ldap_open() 9216 ldap_open()
9211 ; return 0; } 9217 ; return 0; }
9212 EOF 9218 EOF
9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9214 rm -rf conftest* 9220 rm -rf conftest*
9215 eval "ac_cv_lib_$ac_lib_var=yes" 9221 eval "ac_cv_lib_$ac_lib_var=yes"
9216 else 9222 else
9217 echo "configure: failed program was:" >&5 9223 echo "configure: failed program was:" >&5
9218 cat conftest.$ac_ext >&5 9224 cat conftest.$ac_ext >&5
9232 } 9238 }
9233 test "$with_ldap" != "yes" && { 9239 test "$with_ldap" != "yes" && {
9234 xe_msg_checking="for ldap_open in -lldap" 9240 xe_msg_checking="for ldap_open in -lldap"
9235 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9241 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9236 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9242 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9237 echo "configure:9238: checking "$xe_msg_checking"" >&5 9243 echo "configure:9244: checking "$xe_msg_checking"" >&5
9238 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9244 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9239 9245
9240 xe_check_libs=" -lldap -llber -lkrb" 9246 xe_check_libs=" -lldap -llber -lkrb"
9241 cat > conftest.$ac_ext <<EOF 9247 cat > conftest.$ac_ext <<EOF
9242 #line 9243 "configure" 9248 #line 9249 "configure"
9243 #include "confdefs.h" 9249 #include "confdefs.h"
9244 /* Override any gcc2 internal prototype to avoid an error. */ 9250 /* Override any gcc2 internal prototype to avoid an error. */
9245 /* We use char because int might match the return type of a gcc2 9251 /* We use char because int might match the return type of a gcc2
9246 builtin and then its argument prototype would still apply. */ 9252 builtin and then its argument prototype would still apply. */
9247 char ldap_open(); 9253 char ldap_open();
9248 9254
9249 int main() { 9255 int main() {
9250 ldap_open() 9256 ldap_open()
9251 ; return 0; } 9257 ; return 0; }
9252 EOF 9258 EOF
9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9254 rm -rf conftest* 9260 rm -rf conftest*
9255 eval "ac_cv_lib_$ac_lib_var=yes" 9261 eval "ac_cv_lib_$ac_lib_var=yes"
9256 else 9262 else
9257 echo "configure: failed program was:" >&5 9263 echo "configure: failed program was:" >&5
9258 cat conftest.$ac_ext >&5 9264 cat conftest.$ac_ext >&5
9272 } 9278 }
9273 test "$with_ldap" != "yes" && { 9279 test "$with_ldap" != "yes" && {
9274 xe_msg_checking="for ldap_open in -lldap" 9280 xe_msg_checking="for ldap_open in -lldap"
9275 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9281 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9276 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9282 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9277 echo "configure:9278: checking "$xe_msg_checking"" >&5 9283 echo "configure:9284: checking "$xe_msg_checking"" >&5
9278 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9284 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9279 9285
9280 xe_check_libs=" -lldap -llber -lkrb -ldes" 9286 xe_check_libs=" -lldap -llber -lkrb -ldes"
9281 cat > conftest.$ac_ext <<EOF 9287 cat > conftest.$ac_ext <<EOF
9282 #line 9283 "configure" 9288 #line 9289 "configure"
9283 #include "confdefs.h" 9289 #include "confdefs.h"
9284 /* Override any gcc2 internal prototype to avoid an error. */ 9290 /* Override any gcc2 internal prototype to avoid an error. */
9285 /* We use char because int might match the return type of a gcc2 9291 /* We use char because int might match the return type of a gcc2
9286 builtin and then its argument prototype would still apply. */ 9292 builtin and then its argument prototype would still apply. */
9287 char ldap_open(); 9293 char ldap_open();
9288 9294
9289 int main() { 9295 int main() {
9290 ldap_open() 9296 ldap_open()
9291 ; return 0; } 9297 ; return 0; }
9292 EOF 9298 EOF
9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9294 rm -rf conftest* 9300 rm -rf conftest*
9295 eval "ac_cv_lib_$ac_lib_var=yes" 9301 eval "ac_cv_lib_$ac_lib_var=yes"
9296 else 9302 else
9297 echo "configure: failed program was:" >&5 9303 echo "configure: failed program was:" >&5
9298 cat conftest.$ac_ext >&5 9304 cat conftest.$ac_ext >&5
9310 fi 9316 fi
9311 9317
9312 } 9318 }
9313 test "$with_ldap_lber" != "yes" && { 9319 test "$with_ldap_lber" != "yes" && {
9314 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6 9320 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6
9315 echo "configure:9316: checking for ber_pvt_opt_on in -llber" >&5 9321 echo "configure:9322: checking for ber_pvt_opt_on in -llber" >&5
9316 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'` 9322 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'`
9317 9323
9318 xe_check_libs=" -llber " 9324 xe_check_libs=" -llber "
9319 cat > conftest.$ac_ext <<EOF 9325 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure" 9326 #line 9327 "configure"
9321 #include "confdefs.h" 9327 #include "confdefs.h"
9322 /* Override any gcc2 internal prototype to avoid an error. */ 9328 /* Override any gcc2 internal prototype to avoid an error. */
9323 /* We use char because int might match the return type of a gcc2 9329 /* We use char because int might match the return type of a gcc2
9324 builtin and then its argument prototype would still apply. */ 9330 builtin and then its argument prototype would still apply. */
9325 char ber_pvt_opt_on(); 9331 char ber_pvt_opt_on();
9326 9332
9327 int main() { 9333 int main() {
9328 ber_pvt_opt_on() 9334 ber_pvt_opt_on()
9329 ; return 0; } 9335 ; return 0; }
9330 EOF 9336 EOF
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9337 if { (eval echo configure:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9332 rm -rf conftest* 9338 rm -rf conftest*
9333 eval "ac_cv_lib_$ac_lib_var=yes" 9339 eval "ac_cv_lib_$ac_lib_var=yes"
9334 else 9340 else
9335 echo "configure: failed program was:" >&5 9341 echo "configure: failed program was:" >&5
9336 cat conftest.$ac_ext >&5 9342 cat conftest.$ac_ext >&5
9370 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi 9376 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi
9371 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9377 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9372 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9378 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9373 do 9379 do
9374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9375 echo "configure:9376: checking for $ac_func" >&5 9381 echo "configure:9382: checking for $ac_func" >&5
9376 9382
9377 cat > conftest.$ac_ext <<EOF 9383 cat > conftest.$ac_ext <<EOF
9378 #line 9379 "configure" 9384 #line 9385 "configure"
9379 #include "confdefs.h" 9385 #include "confdefs.h"
9380 /* System header to define __stub macros and hopefully few prototypes, 9386 /* System header to define __stub macros and hopefully few prototypes,
9381 which can conflict with char $ac_func(); below. */ 9387 which can conflict with char $ac_func(); below. */
9382 #include <assert.h> 9388 #include <assert.h>
9383 /* Override any gcc2 internal prototype to avoid an error. */ 9389 /* Override any gcc2 internal prototype to avoid an error. */
9396 $ac_func(); 9402 $ac_func();
9397 #endif 9403 #endif
9398 9404
9399 ; return 0; } 9405 ; return 0; }
9400 EOF 9406 EOF
9401 if { (eval echo configure:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9402 rm -rf conftest* 9408 rm -rf conftest*
9403 eval "ac_cv_func_$ac_func=yes" 9409 eval "ac_cv_func_$ac_func=yes"
9404 else 9410 else
9405 echo "configure: failed program was:" >&5 9411 echo "configure: failed program was:" >&5
9406 cat conftest.$ac_ext >&5 9412 cat conftest.$ac_ext >&5
9435 9441
9436 9442
9437 postgresql_libs= 9443 postgresql_libs=
9438 if test "$with_postgresql" != "no"; then 9444 if test "$with_postgresql" != "no"; then
9439 echo "checking for PostgreSQL" 1>&6 9445 echo "checking for PostgreSQL" 1>&6
9440 echo "configure:9441: checking for PostgreSQL" >&5 9446 echo "configure:9447: checking for PostgreSQL" >&5
9441 9447
9442 for header_dir in "" "pgsql/" "postgresql/"; do 9448 for header_dir in "" "pgsql/" "postgresql/"; do
9443 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9449 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9444 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9450 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9445 echo "configure:9446: checking for ${header_dir}libpq-fe.h" >&5 9451 echo "configure:9452: checking for ${header_dir}libpq-fe.h" >&5
9446 9452
9447 cat > conftest.$ac_ext <<EOF 9453 cat > conftest.$ac_ext <<EOF
9448 #line 9449 "configure" 9454 #line 9455 "configure"
9449 #include "confdefs.h" 9455 #include "confdefs.h"
9450 #include <${header_dir}libpq-fe.h> 9456 #include <${header_dir}libpq-fe.h>
9451 EOF 9457 EOF
9452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9453 { (eval echo configure:9454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9459 { (eval echo configure:9460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9455 if test -z "$ac_err"; then 9461 if test -z "$ac_err"; then
9456 rm -rf conftest* 9462 rm -rf conftest*
9457 eval "ac_cv_header_$ac_safe=yes" 9463 eval "ac_cv_header_$ac_safe=yes"
9458 else 9464 else
9472 9478
9473 done 9479 done
9474 9480
9475 test -n "$libpq_fe_h_file" && { 9481 test -n "$libpq_fe_h_file" && {
9476 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9482 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9477 echo "configure:9478: checking for PQconnectdb in -lpq" >&5 9483 echo "configure:9484: checking for PQconnectdb in -lpq" >&5
9478 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9484 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9479 9485
9480 xe_check_libs=" -lpq " 9486 xe_check_libs=" -lpq "
9481 cat > conftest.$ac_ext <<EOF 9487 cat > conftest.$ac_ext <<EOF
9482 #line 9483 "configure" 9488 #line 9489 "configure"
9483 #include "confdefs.h" 9489 #include "confdefs.h"
9484 /* Override any gcc2 internal prototype to avoid an error. */ 9490 /* Override any gcc2 internal prototype to avoid an error. */
9485 /* We use char because int might match the return type of a gcc2 9491 /* We use char because int might match the return type of a gcc2
9486 builtin and then its argument prototype would still apply. */ 9492 builtin and then its argument prototype would still apply. */
9487 char PQconnectdb(); 9493 char PQconnectdb();
9488 9494
9489 int main() { 9495 int main() {
9490 PQconnectdb() 9496 PQconnectdb()
9491 ; return 0; } 9497 ; return 0; }
9492 EOF 9498 EOF
9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9494 rm -rf conftest* 9500 rm -rf conftest*
9495 eval "ac_cv_lib_$ac_lib_var=yes" 9501 eval "ac_cv_lib_$ac_lib_var=yes"
9496 else 9502 else
9497 echo "configure: failed program was:" >&5 9503 echo "configure: failed program was:" >&5
9498 cat conftest.$ac_ext >&5 9504 cat conftest.$ac_ext >&5
9521 EOF 9527 EOF
9522 } 9528 }
9523 9529
9524 9530
9525 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9531 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9526 echo "configure:9527: checking for PQconnectStart in -lpq" >&5 9532 echo "configure:9533: checking for PQconnectStart in -lpq" >&5
9527 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9533 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9528 9534
9529 xe_check_libs=" -lpq " 9535 xe_check_libs=" -lpq "
9530 cat > conftest.$ac_ext <<EOF 9536 cat > conftest.$ac_ext <<EOF
9531 #line 9532 "configure" 9537 #line 9538 "configure"
9532 #include "confdefs.h" 9538 #include "confdefs.h"
9533 /* Override any gcc2 internal prototype to avoid an error. */ 9539 /* Override any gcc2 internal prototype to avoid an error. */
9534 /* We use char because int might match the return type of a gcc2 9540 /* We use char because int might match the return type of a gcc2
9535 builtin and then its argument prototype would still apply. */ 9541 builtin and then its argument prototype would still apply. */
9536 char PQconnectStart(); 9542 char PQconnectStart();
9537 9543
9538 int main() { 9544 int main() {
9539 PQconnectStart() 9545 PQconnectStart()
9540 ; return 0; } 9546 ; return 0; }
9541 EOF 9547 EOF
9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9548 if { (eval echo configure:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9543 rm -rf conftest* 9549 rm -rf conftest*
9544 eval "ac_cv_lib_$ac_lib_var=yes" 9550 eval "ac_cv_lib_$ac_lib_var=yes"
9545 else 9551 else
9546 echo "configure: failed program was:" >&5 9552 echo "configure: failed program was:" >&5
9547 cat conftest.$ac_ext >&5 9553 cat conftest.$ac_ext >&5
9588 9594
9589 9595
9590 9596
9591 if test "$window_system" != "none"; then 9597 if test "$window_system" != "none"; then
9592 echo "checking for graphics libraries" 1>&6 9598 echo "checking for graphics libraries" 1>&6
9593 echo "configure:9594: checking for graphics libraries" >&5 9599 echo "configure:9600: checking for graphics libraries" >&5
9594 9600
9595 libpath_xpm= 9601 libpath_xpm=
9596 incpath_xpm= 9602 incpath_xpm=
9597 case "$opsys" in 9603 case "$opsys" in
9598 cygwin*) 9604 cygwin*)
9614 xpm_problem="" 9620 xpm_problem=""
9615 if test -z "$with_xpm"; then 9621 if test -z "$with_xpm"; then
9616 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9622 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9617 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9623 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9618 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9624 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9619 echo "configure:9620: checking for Xpm - no older than 3.4f" >&5 9625 echo "configure:9626: checking for Xpm - no older than 3.4f" >&5
9620 xe_check_libs=-lXpm 9626 xe_check_libs=-lXpm
9621 cat > conftest.$ac_ext <<EOF 9627 cat > conftest.$ac_ext <<EOF
9622 #line 9623 "configure" 9628 #line 9629 "configure"
9623 #include "confdefs.h" 9629 #include "confdefs.h"
9624 #define XPM_NUMBERS 9630 #define XPM_NUMBERS
9625 #include <X11/xpm.h> 9631 #include <X11/xpm.h>
9626 int main(int c, char **v) { 9632 int main(int c, char **v) {
9627 return c == 1 ? 0 : 9633 return c == 1 ? 0 :
9628 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9634 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9629 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9635 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9630 EOF 9636 EOF
9631 if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9632 then 9638 then
9633 ./conftest dummy_arg; xpm_status=$?; 9639 ./conftest dummy_arg; xpm_status=$?;
9634 if test "$xpm_status" = "0"; then 9640 if test "$xpm_status" = "0"; then
9635 with_xpm=yes; 9641 with_xpm=yes;
9636 else 9642 else
9670 9676
9671 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9677 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9672 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9678 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9673 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9679 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9674 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9680 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9675 echo "configure:9676: checking for \"FOR_MSW\" xpm" >&5 9681 echo "configure:9682: checking for \"FOR_MSW\" xpm" >&5
9676 xe_check_libs=-lXpm 9682 xe_check_libs=-lXpm
9677 cat > conftest.$ac_ext <<EOF 9683 cat > conftest.$ac_ext <<EOF
9678 #line 9679 "configure" 9684 #line 9685 "configure"
9679 #include "confdefs.h" 9685 #include "confdefs.h"
9680 9686
9681 int main() { 9687 int main() {
9682 XpmCreatePixmapFromData() 9688 XpmCreatePixmapFromData()
9683 ; return 0; } 9689 ; return 0; }
9684 EOF 9690 EOF
9685 if { (eval echo configure:9686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9686 rm -rf conftest* 9692 rm -rf conftest*
9687 xpm_for_msw=no 9693 xpm_for_msw=no
9688 else 9694 else
9689 echo "configure: failed program was:" >&5 9695 echo "configure: failed program was:" >&5
9690 cat conftest.$ac_ext >&5 9696 cat conftest.$ac_ext >&5
9706 fi 9712 fi
9707 fi 9713 fi
9708 9714
9709 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9715 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9710 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9716 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9711 echo "configure:9712: checking for compface.h" >&5 9717 echo "configure:9718: checking for compface.h" >&5
9712 9718
9713 cat > conftest.$ac_ext <<EOF 9719 cat > conftest.$ac_ext <<EOF
9714 #line 9715 "configure" 9720 #line 9721 "configure"
9715 #include "confdefs.h" 9721 #include "confdefs.h"
9716 #include <compface.h> 9722 #include <compface.h>
9717 EOF 9723 EOF
9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9725 { (eval echo configure:9726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9721 if test -z "$ac_err"; then 9727 if test -z "$ac_err"; then
9722 rm -rf conftest* 9728 rm -rf conftest*
9723 eval "ac_cv_header_$ac_safe=yes" 9729 eval "ac_cv_header_$ac_safe=yes"
9724 else 9730 else
9737 with_xface=no 9743 with_xface=no
9738 fi 9744 fi
9739 } 9745 }
9740 test -z "$with_xface" && { 9746 test -z "$with_xface" && {
9741 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9747 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9742 echo "configure:9743: checking for UnGenFace in -lcompface" >&5 9748 echo "configure:9749: checking for UnGenFace in -lcompface" >&5
9743 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9749 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9744 9750
9745 xe_check_libs=" -lcompface " 9751 xe_check_libs=" -lcompface "
9746 cat > conftest.$ac_ext <<EOF 9752 cat > conftest.$ac_ext <<EOF
9747 #line 9748 "configure" 9753 #line 9754 "configure"
9748 #include "confdefs.h" 9754 #include "confdefs.h"
9749 /* Override any gcc2 internal prototype to avoid an error. */ 9755 /* Override any gcc2 internal prototype to avoid an error. */
9750 /* We use char because int might match the return type of a gcc2 9756 /* We use char because int might match the return type of a gcc2
9751 builtin and then its argument prototype would still apply. */ 9757 builtin and then its argument prototype would still apply. */
9752 char UnGenFace(); 9758 char UnGenFace();
9753 9759
9754 int main() { 9760 int main() {
9755 UnGenFace() 9761 UnGenFace()
9756 ; return 0; } 9762 ; return 0; }
9757 EOF 9763 EOF
9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9764 if { (eval echo configure:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9759 rm -rf conftest* 9765 rm -rf conftest*
9760 eval "ac_cv_lib_$ac_lib_var=yes" 9766 eval "ac_cv_lib_$ac_lib_var=yes"
9761 else 9767 else
9762 echo "configure: failed program was:" >&5 9768 echo "configure: failed program was:" >&5
9763 cat conftest.$ac_ext >&5 9769 cat conftest.$ac_ext >&5
9802 fi 9808 fi
9803 9809
9804 if test "$with_png $with_tiff" != "no no"; then 9810 if test "$with_png $with_tiff" != "no no"; then
9805 9811
9806 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9812 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9807 echo "configure:9808: checking for inflate in -lc" >&5 9813 echo "configure:9814: checking for inflate in -lc" >&5
9808 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9814 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9809 9815
9810 xe_check_libs=" -lc " 9816 xe_check_libs=" -lc "
9811 cat > conftest.$ac_ext <<EOF 9817 cat > conftest.$ac_ext <<EOF
9812 #line 9813 "configure" 9818 #line 9819 "configure"
9813 #include "confdefs.h" 9819 #include "confdefs.h"
9814 /* Override any gcc2 internal prototype to avoid an error. */ 9820 /* Override any gcc2 internal prototype to avoid an error. */
9815 /* We use char because int might match the return type of a gcc2 9821 /* We use char because int might match the return type of a gcc2
9816 builtin and then its argument prototype would still apply. */ 9822 builtin and then its argument prototype would still apply. */
9817 char inflate(); 9823 char inflate();
9818 9824
9819 int main() { 9825 int main() {
9820 inflate() 9826 inflate()
9821 ; return 0; } 9827 ; return 0; }
9822 EOF 9828 EOF
9823 if { (eval echo configure:9824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9829 if { (eval echo configure:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9824 rm -rf conftest* 9830 rm -rf conftest*
9825 eval "ac_cv_lib_$ac_lib_var=yes" 9831 eval "ac_cv_lib_$ac_lib_var=yes"
9826 else 9832 else
9827 echo "configure: failed program was:" >&5 9833 echo "configure: failed program was:" >&5
9828 cat conftest.$ac_ext >&5 9834 cat conftest.$ac_ext >&5
9837 : 9843 :
9838 else 9844 else
9839 echo "$ac_t""no" 1>&6 9845 echo "$ac_t""no" 1>&6
9840 9846
9841 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9847 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9842 echo "configure:9843: checking for inflate in -lz" >&5 9848 echo "configure:9849: checking for inflate in -lz" >&5
9843 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9849 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9844 9850
9845 xe_check_libs=" -lz " 9851 xe_check_libs=" -lz "
9846 cat > conftest.$ac_ext <<EOF 9852 cat > conftest.$ac_ext <<EOF
9847 #line 9848 "configure" 9853 #line 9854 "configure"
9848 #include "confdefs.h" 9854 #include "confdefs.h"
9849 /* Override any gcc2 internal prototype to avoid an error. */ 9855 /* Override any gcc2 internal prototype to avoid an error. */
9850 /* We use char because int might match the return type of a gcc2 9856 /* We use char because int might match the return type of a gcc2
9851 builtin and then its argument prototype would still apply. */ 9857 builtin and then its argument prototype would still apply. */
9852 char inflate(); 9858 char inflate();
9853 9859
9854 int main() { 9860 int main() {
9855 inflate() 9861 inflate()
9856 ; return 0; } 9862 ; return 0; }
9857 EOF 9863 EOF
9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9859 rm -rf conftest* 9865 rm -rf conftest*
9860 eval "ac_cv_lib_$ac_lib_var=yes" 9866 eval "ac_cv_lib_$ac_lib_var=yes"
9861 else 9867 else
9862 echo "configure: failed program was:" >&5 9868 echo "configure: failed program was:" >&5
9863 cat conftest.$ac_ext >&5 9869 cat conftest.$ac_ext >&5
9872 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9878 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9873 else 9879 else
9874 echo "$ac_t""no" 1>&6 9880 echo "$ac_t""no" 1>&6
9875 9881
9876 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9882 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9877 echo "configure:9878: checking for inflate in -lgz" >&5 9883 echo "configure:9884: checking for inflate in -lgz" >&5
9878 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9884 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9879 9885
9880 xe_check_libs=" -lgz " 9886 xe_check_libs=" -lgz "
9881 cat > conftest.$ac_ext <<EOF 9887 cat > conftest.$ac_ext <<EOF
9882 #line 9883 "configure" 9888 #line 9889 "configure"
9883 #include "confdefs.h" 9889 #include "confdefs.h"
9884 /* Override any gcc2 internal prototype to avoid an error. */ 9890 /* Override any gcc2 internal prototype to avoid an error. */
9885 /* We use char because int might match the return type of a gcc2 9891 /* We use char because int might match the return type of a gcc2
9886 builtin and then its argument prototype would still apply. */ 9892 builtin and then its argument prototype would still apply. */
9887 char inflate(); 9893 char inflate();
9888 9894
9889 int main() { 9895 int main() {
9890 inflate() 9896 inflate()
9891 ; return 0; } 9897 ; return 0; }
9892 EOF 9898 EOF
9893 if { (eval echo configure:9894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9899 if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9894 rm -rf conftest* 9900 rm -rf conftest*
9895 eval "ac_cv_lib_$ac_lib_var=yes" 9901 eval "ac_cv_lib_$ac_lib_var=yes"
9896 else 9902 else
9897 echo "configure: failed program was:" >&5 9903 echo "configure: failed program was:" >&5
9898 cat conftest.$ac_ext >&5 9904 cat conftest.$ac_ext >&5
9918 9924
9919 fi 9925 fi
9920 9926
9921 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9927 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9922 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9928 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9923 echo "configure:9924: checking for jpeglib.h" >&5 9929 echo "configure:9930: checking for jpeglib.h" >&5
9924 9930
9925 cat > conftest.$ac_ext <<EOF 9931 cat > conftest.$ac_ext <<EOF
9926 #line 9927 "configure" 9932 #line 9933 "configure"
9927 #include "confdefs.h" 9933 #include "confdefs.h"
9928 #include <jpeglib.h> 9934 #include <jpeglib.h>
9929 EOF 9935 EOF
9930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9931 { (eval echo configure:9932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9937 { (eval echo configure:9938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9933 if test -z "$ac_err"; then 9939 if test -z "$ac_err"; then
9934 rm -rf conftest* 9940 rm -rf conftest*
9935 eval "ac_cv_header_$ac_safe=yes" 9941 eval "ac_cv_header_$ac_safe=yes"
9936 else 9942 else
9949 with_jpeg=no 9955 with_jpeg=no
9950 fi 9956 fi
9951 } 9957 }
9952 test -z "$with_jpeg" && { 9958 test -z "$with_jpeg" && {
9953 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9959 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9954 echo "configure:9955: checking for jpeg_destroy_decompress in -ljpeg" >&5 9960 echo "configure:9961: checking for jpeg_destroy_decompress in -ljpeg" >&5
9955 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9961 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9956 9962
9957 xe_check_libs=" -ljpeg " 9963 xe_check_libs=" -ljpeg "
9958 cat > conftest.$ac_ext <<EOF 9964 cat > conftest.$ac_ext <<EOF
9959 #line 9960 "configure" 9965 #line 9966 "configure"
9960 #include "confdefs.h" 9966 #include "confdefs.h"
9961 /* Override any gcc2 internal prototype to avoid an error. */ 9967 /* Override any gcc2 internal prototype to avoid an error. */
9962 /* We use char because int might match the return type of a gcc2 9968 /* We use char because int might match the return type of a gcc2
9963 builtin and then its argument prototype would still apply. */ 9969 builtin and then its argument prototype would still apply. */
9964 char jpeg_destroy_decompress(); 9970 char jpeg_destroy_decompress();
9965 9971
9966 int main() { 9972 int main() {
9967 jpeg_destroy_decompress() 9973 jpeg_destroy_decompress()
9968 ; return 0; } 9974 ; return 0; }
9969 EOF 9975 EOF
9970 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9971 rm -rf conftest* 9977 rm -rf conftest*
9972 eval "ac_cv_lib_$ac_lib_var=yes" 9978 eval "ac_cv_lib_$ac_lib_var=yes"
9973 else 9979 else
9974 echo "configure: failed program was:" >&5 9980 echo "configure: failed program was:" >&5
9975 cat conftest.$ac_ext >&5 9981 cat conftest.$ac_ext >&5
10001 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 10007 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
10002 fi 10008 fi
10003 10009
10004 png_problem="" 10010 png_problem=""
10005 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 10011 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
10006 echo "configure:10007: checking for pow" >&5 10012 echo "configure:10013: checking for pow" >&5
10007 10013
10008 cat > conftest.$ac_ext <<EOF 10014 cat > conftest.$ac_ext <<EOF
10009 #line 10010 "configure" 10015 #line 10016 "configure"
10010 #include "confdefs.h" 10016 #include "confdefs.h"
10011 /* System header to define __stub macros and hopefully few prototypes, 10017 /* System header to define __stub macros and hopefully few prototypes,
10012 which can conflict with char pow(); below. */ 10018 which can conflict with char pow(); below. */
10013 #include <assert.h> 10019 #include <assert.h>
10014 /* Override any gcc2 internal prototype to avoid an error. */ 10020 /* Override any gcc2 internal prototype to avoid an error. */
10027 pow(); 10033 pow();
10028 #endif 10034 #endif
10029 10035
10030 ; return 0; } 10036 ; return 0; }
10031 EOF 10037 EOF
10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10033 rm -rf conftest* 10039 rm -rf conftest*
10034 eval "ac_cv_func_pow=yes" 10040 eval "ac_cv_func_pow=yes"
10035 else 10041 else
10036 echo "configure: failed program was:" >&5 10042 echo "configure: failed program was:" >&5
10037 cat conftest.$ac_ext >&5 10043 cat conftest.$ac_ext >&5
10048 with_png=no 10054 with_png=no
10049 fi 10055 fi
10050 } 10056 }
10051 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 10057 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
10052 echo $ac_n "checking for png.h""... $ac_c" 1>&6 10058 echo $ac_n "checking for png.h""... $ac_c" 1>&6
10053 echo "configure:10054: checking for png.h" >&5 10059 echo "configure:10060: checking for png.h" >&5
10054 10060
10055 cat > conftest.$ac_ext <<EOF 10061 cat > conftest.$ac_ext <<EOF
10056 #line 10057 "configure" 10062 #line 10063 "configure"
10057 #include "confdefs.h" 10063 #include "confdefs.h"
10058 #include <png.h> 10064 #include <png.h>
10059 EOF 10065 EOF
10060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10061 { (eval echo configure:10062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10067 { (eval echo configure:10068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10063 if test -z "$ac_err"; then 10069 if test -z "$ac_err"; then
10064 rm -rf conftest* 10070 rm -rf conftest*
10065 eval "ac_cv_header_$ac_safe=yes" 10071 eval "ac_cv_header_$ac_safe=yes"
10066 else 10072 else
10079 with_png=no 10085 with_png=no
10080 fi 10086 fi
10081 } 10087 }
10082 test -z "$with_png" && { 10088 test -z "$with_png" && {
10083 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 10089 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
10084 echo "configure:10085: checking for png_read_image in -lpng" >&5 10090 echo "configure:10091: checking for png_read_image in -lpng" >&5
10085 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 10091 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
10086 10092
10087 xe_check_libs=" -lpng " 10093 xe_check_libs=" -lpng "
10088 cat > conftest.$ac_ext <<EOF 10094 cat > conftest.$ac_ext <<EOF
10089 #line 10090 "configure" 10095 #line 10096 "configure"
10090 #include "confdefs.h" 10096 #include "confdefs.h"
10091 /* Override any gcc2 internal prototype to avoid an error. */ 10097 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2 10098 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */ 10099 builtin and then its argument prototype would still apply. */
10094 char png_read_image(); 10100 char png_read_image();
10095 10101
10096 int main() { 10102 int main() {
10097 png_read_image() 10103 png_read_image()
10098 ; return 0; } 10104 ; return 0; }
10099 EOF 10105 EOF
10100 if { (eval echo configure:10101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10101 rm -rf conftest* 10107 rm -rf conftest*
10102 eval "ac_cv_lib_$ac_lib_var=yes" 10108 eval "ac_cv_lib_$ac_lib_var=yes"
10103 else 10109 else
10104 echo "configure: failed program was:" >&5 10110 echo "configure: failed program was:" >&5
10105 cat conftest.$ac_ext >&5 10111 cat conftest.$ac_ext >&5
10118 fi 10124 fi
10119 10125
10120 } 10126 }
10121 if test -z "$with_png"; then 10127 if test -z "$with_png"; then
10122 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10128 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10123 echo "configure:10124: checking for workable png version information" >&5 10129 echo "configure:10130: checking for workable png version information" >&5
10124 xe_check_libs="-lpng -lz" 10130 xe_check_libs="-lpng -lz"
10125 cat > conftest.$ac_ext <<EOF 10131 cat > conftest.$ac_ext <<EOF
10126 #line 10127 "configure" 10132 #line 10133 "configure"
10127 #include "confdefs.h" 10133 #include "confdefs.h"
10128 #include <png.h> 10134 #include <png.h>
10129 int main(int c, char **v) { 10135 int main(int c, char **v) {
10130 if (c == 1) return 0; 10136 if (c == 1) return 0;
10131 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10137 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10132 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10138 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10133 EOF 10139 EOF
10134 if { (eval echo configure:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10140 if { (eval echo configure:10141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10135 then 10141 then
10136 ./conftest dummy_arg; png_status=$?; 10142 ./conftest dummy_arg; png_status=$?;
10137 if test "$png_status" = "0"; then 10143 if test "$png_status" = "0"; then
10138 with_png=yes; 10144 with_png=yes;
10139 else 10145 else
10172 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10178 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10173 fi 10179 fi
10174 10180
10175 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10181 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10176 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10182 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10177 echo "configure:10178: checking for tiffio.h" >&5 10183 echo "configure:10184: checking for tiffio.h" >&5
10178 10184
10179 cat > conftest.$ac_ext <<EOF 10185 cat > conftest.$ac_ext <<EOF
10180 #line 10181 "configure" 10186 #line 10187 "configure"
10181 #include "confdefs.h" 10187 #include "confdefs.h"
10182 #include <tiffio.h> 10188 #include <tiffio.h>
10183 EOF 10189 EOF
10184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10185 { (eval echo configure:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10191 { (eval echo configure:10192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10187 if test -z "$ac_err"; then 10193 if test -z "$ac_err"; then
10188 rm -rf conftest* 10194 rm -rf conftest*
10189 eval "ac_cv_header_$ac_safe=yes" 10195 eval "ac_cv_header_$ac_safe=yes"
10190 else 10196 else
10203 with_tiff=no 10209 with_tiff=no
10204 fi 10210 fi
10205 } 10211 }
10206 test -z "$with_tiff" && { 10212 test -z "$with_tiff" && {
10207 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10213 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10208 echo "configure:10209: checking for TIFFClientOpen in -ltiff" >&5 10214 echo "configure:10215: checking for TIFFClientOpen in -ltiff" >&5
10209 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10215 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10210 10216
10211 xe_check_libs=" -ltiff " 10217 xe_check_libs=" -ltiff "
10212 cat > conftest.$ac_ext <<EOF 10218 cat > conftest.$ac_ext <<EOF
10213 #line 10214 "configure" 10219 #line 10220 "configure"
10214 #include "confdefs.h" 10220 #include "confdefs.h"
10215 /* Override any gcc2 internal prototype to avoid an error. */ 10221 /* Override any gcc2 internal prototype to avoid an error. */
10216 /* We use char because int might match the return type of a gcc2 10222 /* We use char because int might match the return type of a gcc2
10217 builtin and then its argument prototype would still apply. */ 10223 builtin and then its argument prototype would still apply. */
10218 char TIFFClientOpen(); 10224 char TIFFClientOpen();
10219 10225
10220 int main() { 10226 int main() {
10221 TIFFClientOpen() 10227 TIFFClientOpen()
10222 ; return 0; } 10228 ; return 0; }
10223 EOF 10229 EOF
10224 if { (eval echo configure:10225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10230 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10225 rm -rf conftest* 10231 rm -rf conftest*
10226 eval "ac_cv_lib_$ac_lib_var=yes" 10232 eval "ac_cv_lib_$ac_lib_var=yes"
10227 else 10233 else
10228 echo "configure: failed program was:" >&5 10234 echo "configure: failed program was:" >&5
10229 cat conftest.$ac_ext >&5 10235 cat conftest.$ac_ext >&5
10258 10264
10259 10265
10260 if test "$with_gtk" = "yes"; then 10266 if test "$with_gtk" = "yes"; then
10261 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10267 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10262 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10268 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10263 echo "configure:10264: checking for compface.h" >&5 10269 echo "configure:10270: checking for compface.h" >&5
10264 10270
10265 cat > conftest.$ac_ext <<EOF 10271 cat > conftest.$ac_ext <<EOF
10266 #line 10267 "configure" 10272 #line 10273 "configure"
10267 #include "confdefs.h" 10273 #include "confdefs.h"
10268 #include <compface.h> 10274 #include <compface.h>
10269 EOF 10275 EOF
10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10277 { (eval echo configure:10278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10273 if test -z "$ac_err"; then 10279 if test -z "$ac_err"; then
10274 rm -rf conftest* 10280 rm -rf conftest*
10275 eval "ac_cv_header_$ac_safe=yes" 10281 eval "ac_cv_header_$ac_safe=yes"
10276 else 10282 else
10289 with_xface=no 10295 with_xface=no
10290 fi 10296 fi
10291 } 10297 }
10292 test -z "$with_xface" && { 10298 test -z "$with_xface" && {
10293 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10299 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10294 echo "configure:10295: checking for UnGenFace in -lcompface" >&5 10300 echo "configure:10301: checking for UnGenFace in -lcompface" >&5
10295 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10301 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10296 10302
10297 xe_check_libs=" -lcompface " 10303 xe_check_libs=" -lcompface "
10298 cat > conftest.$ac_ext <<EOF 10304 cat > conftest.$ac_ext <<EOF
10299 #line 10300 "configure" 10305 #line 10306 "configure"
10300 #include "confdefs.h" 10306 #include "confdefs.h"
10301 /* Override any gcc2 internal prototype to avoid an error. */ 10307 /* Override any gcc2 internal prototype to avoid an error. */
10302 /* We use char because int might match the return type of a gcc2 10308 /* We use char because int might match the return type of a gcc2
10303 builtin and then its argument prototype would still apply. */ 10309 builtin and then its argument prototype would still apply. */
10304 char UnGenFace(); 10310 char UnGenFace();
10305 10311
10306 int main() { 10312 int main() {
10307 UnGenFace() 10313 UnGenFace()
10308 ; return 0; } 10314 ; return 0; }
10309 EOF 10315 EOF
10310 if { (eval echo configure:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10316 if { (eval echo configure:10317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10311 rm -rf conftest* 10317 rm -rf conftest*
10312 eval "ac_cv_lib_$ac_lib_var=yes" 10318 eval "ac_cv_lib_$ac_lib_var=yes"
10313 else 10319 else
10314 echo "configure: failed program was:" >&5 10320 echo "configure: failed program was:" >&5
10315 cat conftest.$ac_ext >&5 10321 cat conftest.$ac_ext >&5
10344 10350
10345 10351
10346 10352
10347 if test "$with_x11" = "yes"; then 10353 if test "$with_x11" = "yes"; then
10348 echo "checking for X11 graphics libraries" 1>&6 10354 echo "checking for X11 graphics libraries" 1>&6
10349 echo "configure:10350: checking for X11 graphics libraries" >&5 10355 echo "configure:10356: checking for X11 graphics libraries" >&5
10350 fi 10356 fi
10351 10357
10352 case "$with_widgets" in 10358 case "$with_widgets" in
10353 "yes" | "athena") detect_athena=yes ;; 10359 "yes" | "athena") detect_athena=yes ;;
10354 *) detect_athena=no ;; 10360 *) detect_athena=no ;;
10355 esac 10361 esac
10356 10362
10357 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10363 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10358 echo "checking for the Athena widgets" 1>&6 10364 echo "checking for the Athena widgets" 1>&6
10359 echo "configure:10360: checking for the Athena widgets" >&5 10365 echo "configure:10366: checking for the Athena widgets" >&5
10360 10366
10361 case "$with_athena" in 10367 case "$with_athena" in
10362 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10368 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10363 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10369 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10364 "next") athena_variant=neXtaw athena_3d=yes ;; 10370 "next") athena_variant=neXtaw athena_3d=yes ;;
10368 esac 10374 esac
10369 10375
10370 if test "$athena_3d" = "no"; then 10376 if test "$athena_3d" = "no"; then
10371 10377
10372 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10378 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10373 echo "configure:10374: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10379 echo "configure:10380: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10374 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10380 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10375 10381
10376 xe_check_libs=" -l$athena_variant " 10382 xe_check_libs=" -l$athena_variant "
10377 cat > conftest.$ac_ext <<EOF 10383 cat > conftest.$ac_ext <<EOF
10378 #line 10379 "configure" 10384 #line 10385 "configure"
10379 #include "confdefs.h" 10385 #include "confdefs.h"
10380 /* Override any gcc2 internal prototype to avoid an error. */ 10386 /* Override any gcc2 internal prototype to avoid an error. */
10381 /* We use char because int might match the return type of a gcc2 10387 /* We use char because int might match the return type of a gcc2
10382 builtin and then its argument prototype would still apply. */ 10388 builtin and then its argument prototype would still apply. */
10383 char XawScrollbarSetThumb(); 10389 char XawScrollbarSetThumb();
10384 10390
10385 int main() { 10391 int main() {
10386 XawScrollbarSetThumb() 10392 XawScrollbarSetThumb()
10387 ; return 0; } 10393 ; return 0; }
10388 EOF 10394 EOF
10389 if { (eval echo configure:10390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10390 rm -rf conftest* 10396 rm -rf conftest*
10391 eval "ac_cv_lib_$ac_lib_var=yes" 10397 eval "ac_cv_lib_$ac_lib_var=yes"
10392 else 10398 else
10393 echo "configure: failed program was:" >&5 10399 echo "configure: failed program was:" >&5
10394 cat conftest.$ac_ext >&5 10400 cat conftest.$ac_ext >&5
10400 10406
10401 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10402 echo "$ac_t""yes" 1>&6 10408 echo "$ac_t""yes" 1>&6
10403 10409
10404 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10410 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10405 echo "configure:10406: checking for threeDClassRec in -l$athena_variant" >&5 10411 echo "configure:10412: checking for threeDClassRec in -l$athena_variant" >&5
10406 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10412 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10407 10413
10408 xe_check_libs=" -l$athena_variant " 10414 xe_check_libs=" -l$athena_variant "
10409 cat > conftest.$ac_ext <<EOF 10415 cat > conftest.$ac_ext <<EOF
10410 #line 10411 "configure" 10416 #line 10417 "configure"
10411 #include "confdefs.h" 10417 #include "confdefs.h"
10412 /* Override any gcc2 internal prototype to avoid an error. */ 10418 /* Override any gcc2 internal prototype to avoid an error. */
10413 /* We use char because int might match the return type of a gcc2 10419 /* We use char because int might match the return type of a gcc2
10414 builtin and then its argument prototype would still apply. */ 10420 builtin and then its argument prototype would still apply. */
10415 char threeDClassRec(); 10421 char threeDClassRec();
10416 10422
10417 int main() { 10423 int main() {
10418 threeDClassRec() 10424 threeDClassRec()
10419 ; return 0; } 10425 ; return 0; }
10420 EOF 10426 EOF
10421 if { (eval echo configure:10422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10427 if { (eval echo configure:10428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10422 rm -rf conftest* 10428 rm -rf conftest*
10423 eval "ac_cv_lib_$ac_lib_var=yes" 10429 eval "ac_cv_lib_$ac_lib_var=yes"
10424 else 10430 else
10425 echo "configure: failed program was:" >&5 10431 echo "configure: failed program was:" >&5
10426 cat conftest.$ac_ext >&5 10432 cat conftest.$ac_ext >&5
10447 10453
10448 10454
10449 else 10455 else
10450 10456
10451 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10457 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10452 echo "configure:10453: checking for threeDClassRec in -l$athena_variant" >&5 10458 echo "configure:10459: checking for threeDClassRec in -l$athena_variant" >&5
10453 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10459 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10454 10460
10455 xe_check_libs=" -l$athena_variant " 10461 xe_check_libs=" -l$athena_variant "
10456 cat > conftest.$ac_ext <<EOF 10462 cat > conftest.$ac_ext <<EOF
10457 #line 10458 "configure" 10463 #line 10464 "configure"
10458 #include "confdefs.h" 10464 #include "confdefs.h"
10459 /* Override any gcc2 internal prototype to avoid an error. */ 10465 /* Override any gcc2 internal prototype to avoid an error. */
10460 /* We use char because int might match the return type of a gcc2 10466 /* We use char because int might match the return type of a gcc2
10461 builtin and then its argument prototype would still apply. */ 10467 builtin and then its argument prototype would still apply. */
10462 char threeDClassRec(); 10468 char threeDClassRec();
10463 10469
10464 int main() { 10470 int main() {
10465 threeDClassRec() 10471 threeDClassRec()
10466 ; return 0; } 10472 ; return 0; }
10467 EOF 10473 EOF
10468 if { (eval echo configure:10469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10469 rm -rf conftest* 10475 rm -rf conftest*
10470 eval "ac_cv_lib_$ac_lib_var=yes" 10476 eval "ac_cv_lib_$ac_lib_var=yes"
10471 else 10477 else
10472 echo "configure: failed program was:" >&5 10478 echo "configure: failed program was:" >&5
10473 cat conftest.$ac_ext >&5 10479 cat conftest.$ac_ext >&5
10481 echo "$ac_t""yes" 1>&6 10487 echo "$ac_t""yes" 1>&6
10482 athena_lib=$athena_variant 10488 athena_lib=$athena_variant
10483 else 10489 else
10484 echo "$ac_t""no" 1>&6 10490 echo "$ac_t""no" 1>&6
10485 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10491 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10486 echo "configure:10487: checking for threeDClassRec in -lXaw" >&5 10492 echo "configure:10493: checking for threeDClassRec in -lXaw" >&5
10487 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10493 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10488 10494
10489 xe_check_libs=" -lXaw " 10495 xe_check_libs=" -lXaw "
10490 cat > conftest.$ac_ext <<EOF 10496 cat > conftest.$ac_ext <<EOF
10491 #line 10492 "configure" 10497 #line 10498 "configure"
10492 #include "confdefs.h" 10498 #include "confdefs.h"
10493 /* Override any gcc2 internal prototype to avoid an error. */ 10499 /* Override any gcc2 internal prototype to avoid an error. */
10494 /* We use char because int might match the return type of a gcc2 10500 /* We use char because int might match the return type of a gcc2
10495 builtin and then its argument prototype would still apply. */ 10501 builtin and then its argument prototype would still apply. */
10496 char threeDClassRec(); 10502 char threeDClassRec();
10497 10503
10498 int main() { 10504 int main() {
10499 threeDClassRec() 10505 threeDClassRec()
10500 ; return 0; } 10506 ; return 0; }
10501 EOF 10507 EOF
10502 if { (eval echo configure:10503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10508 if { (eval echo configure:10509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10503 rm -rf conftest* 10509 rm -rf conftest*
10504 eval "ac_cv_lib_$ac_lib_var=yes" 10510 eval "ac_cv_lib_$ac_lib_var=yes"
10505 else 10511 else
10506 echo "configure: failed program was:" >&5 10512 echo "configure: failed program was:" >&5
10507 cat conftest.$ac_ext >&5 10513 cat conftest.$ac_ext >&5
10528 fi 10534 fi
10529 10535
10530 if test "$athena_3d" = "no"; then 10536 if test "$athena_3d" = "no"; then
10531 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10537 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10532 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10538 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10533 echo "configure:10534: checking for X11/Xaw/ThreeD.h" >&5 10539 echo "configure:10540: checking for X11/Xaw/ThreeD.h" >&5
10534 10540
10535 cat > conftest.$ac_ext <<EOF 10541 cat > conftest.$ac_ext <<EOF
10536 #line 10537 "configure" 10542 #line 10543 "configure"
10537 #include "confdefs.h" 10543 #include "confdefs.h"
10538 #include <X11/Xaw/ThreeD.h> 10544 #include <X11/Xaw/ThreeD.h>
10539 EOF 10545 EOF
10540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10541 { (eval echo configure:10542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10543 if test -z "$ac_err"; then 10549 if test -z "$ac_err"; then
10544 rm -rf conftest* 10550 rm -rf conftest*
10545 eval "ac_cv_header_$ac_safe=yes" 10551 eval "ac_cv_header_$ac_safe=yes"
10546 else 10552 else
10556 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10562 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10557 else 10563 else
10558 echo "$ac_t""no" 1>&6 10564 echo "$ac_t""no" 1>&6
10559 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10565 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10560 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10566 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10561 echo "configure:10562: checking for X11/Xaw/XawInit.h" >&5 10567 echo "configure:10568: checking for X11/Xaw/XawInit.h" >&5
10562 10568
10563 cat > conftest.$ac_ext <<EOF 10569 cat > conftest.$ac_ext <<EOF
10564 #line 10565 "configure" 10570 #line 10571 "configure"
10565 #include "confdefs.h" 10571 #include "confdefs.h"
10566 #include <X11/Xaw/XawInit.h> 10572 #include <X11/Xaw/XawInit.h>
10567 EOF 10573 EOF
10568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10569 { (eval echo configure:10570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10575 { (eval echo configure:10576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10571 if test -z "$ac_err"; then 10577 if test -z "$ac_err"; then
10572 rm -rf conftest* 10578 rm -rf conftest*
10573 eval "ac_cv_header_$ac_safe=yes" 10579 eval "ac_cv_header_$ac_safe=yes"
10574 else 10580 else
10590 fi 10596 fi
10591 10597
10592 else 10598 else
10593 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10599 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10594 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10600 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10595 echo "configure:10596: checking for X11/$athena_variant/XawInit.h" >&5 10601 echo "configure:10602: checking for X11/$athena_variant/XawInit.h" >&5
10596 10602
10597 cat > conftest.$ac_ext <<EOF 10603 cat > conftest.$ac_ext <<EOF
10598 #line 10599 "configure" 10604 #line 10605 "configure"
10599 #include "confdefs.h" 10605 #include "confdefs.h"
10600 #include <X11/$athena_variant/XawInit.h> 10606 #include <X11/$athena_variant/XawInit.h>
10601 EOF 10607 EOF
10602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10603 { (eval echo configure:10604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10605 if test -z "$ac_err"; then 10611 if test -z "$ac_err"; then
10606 rm -rf conftest* 10612 rm -rf conftest*
10607 eval "ac_cv_header_$ac_safe=yes" 10613 eval "ac_cv_header_$ac_safe=yes"
10608 else 10614 else
10615 rm -f conftest* 10621 rm -f conftest*
10616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10617 echo "$ac_t""yes" 1>&6 10623 echo "$ac_t""yes" 1>&6
10618 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10624 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10619 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10625 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10620 echo "configure:10621: checking for X11/$athena_variant/ThreeD.h" >&5 10626 echo "configure:10627: checking for X11/$athena_variant/ThreeD.h" >&5
10621 10627
10622 cat > conftest.$ac_ext <<EOF 10628 cat > conftest.$ac_ext <<EOF
10623 #line 10624 "configure" 10629 #line 10630 "configure"
10624 #include "confdefs.h" 10630 #include "confdefs.h"
10625 #include <X11/$athena_variant/ThreeD.h> 10631 #include <X11/$athena_variant/ThreeD.h>
10626 EOF 10632 EOF
10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10634 { (eval echo configure:10635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10630 if test -z "$ac_err"; then 10636 if test -z "$ac_err"; then
10631 rm -rf conftest* 10637 rm -rf conftest*
10632 eval "ac_cv_header_$ac_safe=yes" 10638 eval "ac_cv_header_$ac_safe=yes"
10633 else 10639 else
10651 10657
10652 10658
10653 if test -z "$athena_h_path"; then 10659 if test -z "$athena_h_path"; then
10654 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10660 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10655 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10661 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10656 echo "configure:10657: checking for $athena_variant/XawInit.h" >&5 10662 echo "configure:10663: checking for $athena_variant/XawInit.h" >&5
10657 10663
10658 cat > conftest.$ac_ext <<EOF 10664 cat > conftest.$ac_ext <<EOF
10659 #line 10660 "configure" 10665 #line 10666 "configure"
10660 #include "confdefs.h" 10666 #include "confdefs.h"
10661 #include <$athena_variant/XawInit.h> 10667 #include <$athena_variant/XawInit.h>
10662 EOF 10668 EOF
10663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10664 { (eval echo configure:10665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10670 { (eval echo configure:10671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10666 if test -z "$ac_err"; then 10672 if test -z "$ac_err"; then
10667 rm -rf conftest* 10673 rm -rf conftest*
10668 eval "ac_cv_header_$ac_safe=yes" 10674 eval "ac_cv_header_$ac_safe=yes"
10669 else 10675 else
10676 rm -f conftest* 10682 rm -f conftest*
10677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10678 echo "$ac_t""yes" 1>&6 10684 echo "$ac_t""yes" 1>&6
10679 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10685 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10680 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10686 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10681 echo "configure:10682: checking for $athena_variant/ThreeD.h" >&5 10687 echo "configure:10688: checking for $athena_variant/ThreeD.h" >&5
10682 10688
10683 cat > conftest.$ac_ext <<EOF 10689 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure" 10690 #line 10691 "configure"
10685 #include "confdefs.h" 10691 #include "confdefs.h"
10686 #include <$athena_variant/ThreeD.h> 10692 #include <$athena_variant/ThreeD.h>
10687 EOF 10693 EOF
10688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10689 { (eval echo configure:10690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10695 { (eval echo configure:10696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10691 if test -z "$ac_err"; then 10697 if test -z "$ac_err"; then
10692 rm -rf conftest* 10698 rm -rf conftest*
10693 eval "ac_cv_header_$ac_safe=yes" 10699 eval "ac_cv_header_$ac_safe=yes"
10694 else 10700 else
10713 fi 10719 fi
10714 10720
10715 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10721 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10716 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10722 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10717 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10723 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10718 echo "configure:10719: checking for X11/Xaw3d/XawInit.h" >&5 10724 echo "configure:10725: checking for X11/Xaw3d/XawInit.h" >&5
10719 10725
10720 cat > conftest.$ac_ext <<EOF 10726 cat > conftest.$ac_ext <<EOF
10721 #line 10722 "configure" 10727 #line 10728 "configure"
10722 #include "confdefs.h" 10728 #include "confdefs.h"
10723 #include <X11/Xaw3d/XawInit.h> 10729 #include <X11/Xaw3d/XawInit.h>
10724 EOF 10730 EOF
10725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10726 { (eval echo configure:10727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10732 { (eval echo configure:10733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10728 if test -z "$ac_err"; then 10734 if test -z "$ac_err"; then
10729 rm -rf conftest* 10735 rm -rf conftest*
10730 eval "ac_cv_header_$ac_safe=yes" 10736 eval "ac_cv_header_$ac_safe=yes"
10731 else 10737 else
10738 rm -f conftest* 10744 rm -f conftest*
10739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10745 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6 10746 echo "$ac_t""yes" 1>&6
10741 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10747 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10742 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10748 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10743 echo "configure:10744: checking for X11/Xaw3d/ThreeD.h" >&5 10749 echo "configure:10750: checking for X11/Xaw3d/ThreeD.h" >&5
10744 10750
10745 cat > conftest.$ac_ext <<EOF 10751 cat > conftest.$ac_ext <<EOF
10746 #line 10747 "configure" 10752 #line 10753 "configure"
10747 #include "confdefs.h" 10753 #include "confdefs.h"
10748 #include <X11/Xaw3d/ThreeD.h> 10754 #include <X11/Xaw3d/ThreeD.h>
10749 EOF 10755 EOF
10750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10751 { (eval echo configure:10752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10757 { (eval echo configure:10758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10753 if test -z "$ac_err"; then 10759 if test -z "$ac_err"; then
10754 rm -rf conftest* 10760 rm -rf conftest*
10755 eval "ac_cv_header_$ac_safe=yes" 10761 eval "ac_cv_header_$ac_safe=yes"
10756 else 10762 else
10778 fi 10784 fi
10779 10785
10780 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10786 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10781 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10787 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10782 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10788 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10783 echo "configure:10784: checking for Xaw3d/XawInit.h" >&5 10789 echo "configure:10790: checking for Xaw3d/XawInit.h" >&5
10784 10790
10785 cat > conftest.$ac_ext <<EOF 10791 cat > conftest.$ac_ext <<EOF
10786 #line 10787 "configure" 10792 #line 10793 "configure"
10787 #include "confdefs.h" 10793 #include "confdefs.h"
10788 #include <Xaw3d/XawInit.h> 10794 #include <Xaw3d/XawInit.h>
10789 EOF 10795 EOF
10790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10791 { (eval echo configure:10792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10797 { (eval echo configure:10798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10793 if test -z "$ac_err"; then 10799 if test -z "$ac_err"; then
10794 rm -rf conftest* 10800 rm -rf conftest*
10795 eval "ac_cv_header_$ac_safe=yes" 10801 eval "ac_cv_header_$ac_safe=yes"
10796 else 10802 else
10803 rm -f conftest* 10809 rm -f conftest*
10804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10805 echo "$ac_t""yes" 1>&6 10811 echo "$ac_t""yes" 1>&6
10806 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10812 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10807 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10813 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10808 echo "configure:10809: checking for Xaw3d/ThreeD.h" >&5 10814 echo "configure:10815: checking for Xaw3d/ThreeD.h" >&5
10809 10815
10810 cat > conftest.$ac_ext <<EOF 10816 cat > conftest.$ac_ext <<EOF
10811 #line 10812 "configure" 10817 #line 10818 "configure"
10812 #include "confdefs.h" 10818 #include "confdefs.h"
10813 #include <Xaw3d/ThreeD.h> 10819 #include <Xaw3d/ThreeD.h>
10814 EOF 10820 EOF
10815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10816 { (eval echo configure:10817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10822 { (eval echo configure:10823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10818 if test -z "$ac_err"; then 10824 if test -z "$ac_err"; then
10819 rm -rf conftest* 10825 rm -rf conftest*
10820 eval "ac_cv_header_$ac_safe=yes" 10826 eval "ac_cv_header_$ac_safe=yes"
10821 else 10827 else
10843 fi 10849 fi
10844 10850
10845 if test -z "$athena_h_path"; then 10851 if test -z "$athena_h_path"; then
10846 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10852 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10847 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10853 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10848 echo "configure:10849: checking for X11/Xaw/ThreeD.h" >&5 10854 echo "configure:10855: checking for X11/Xaw/ThreeD.h" >&5
10849 10855
10850 cat > conftest.$ac_ext <<EOF 10856 cat > conftest.$ac_ext <<EOF
10851 #line 10852 "configure" 10857 #line 10858 "configure"
10852 #include "confdefs.h" 10858 #include "confdefs.h"
10853 #include <X11/Xaw/ThreeD.h> 10859 #include <X11/Xaw/ThreeD.h>
10854 EOF 10860 EOF
10855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10856 { (eval echo configure:10857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10862 { (eval echo configure:10863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10858 if test -z "$ac_err"; then 10864 if test -z "$ac_err"; then
10859 rm -rf conftest* 10865 rm -rf conftest*
10860 eval "ac_cv_header_$ac_safe=yes" 10866 eval "ac_cv_header_$ac_safe=yes"
10861 else 10867 else
10890 have_xaw=no 10896 have_xaw=no
10891 fi 10897 fi
10892 if test "$with_x11" = "yes"; then 10898 if test "$with_x11" = "yes"; then
10893 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10899 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10894 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10900 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10895 echo "configure:10896: checking for Xm/Xm.h" >&5 10901 echo "configure:10902: checking for Xm/Xm.h" >&5
10896 10902
10897 cat > conftest.$ac_ext <<EOF 10903 cat > conftest.$ac_ext <<EOF
10898 #line 10899 "configure" 10904 #line 10905 "configure"
10899 #include "confdefs.h" 10905 #include "confdefs.h"
10900 #include <Xm/Xm.h> 10906 #include <Xm/Xm.h>
10901 EOF 10907 EOF
10902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10903 { (eval echo configure:10904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10909 { (eval echo configure:10910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10905 if test -z "$ac_err"; then 10911 if test -z "$ac_err"; then
10906 rm -rf conftest* 10912 rm -rf conftest*
10907 eval "ac_cv_header_$ac_safe=yes" 10913 eval "ac_cv_header_$ac_safe=yes"
10908 else 10914 else
10915 rm -f conftest* 10921 rm -f conftest*
10916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10917 echo "$ac_t""yes" 1>&6 10923 echo "$ac_t""yes" 1>&6
10918 10924
10919 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10925 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10920 echo "configure:10921: checking for XmStringFree in -lXm" >&5 10926 echo "configure:10927: checking for XmStringFree in -lXm" >&5
10921 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10927 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10922 10928
10923 xe_check_libs=" -lXm " 10929 xe_check_libs=" -lXm "
10924 cat > conftest.$ac_ext <<EOF 10930 cat > conftest.$ac_ext <<EOF
10925 #line 10926 "configure" 10931 #line 10932 "configure"
10926 #include "confdefs.h" 10932 #include "confdefs.h"
10927 /* Override any gcc2 internal prototype to avoid an error. */ 10933 /* Override any gcc2 internal prototype to avoid an error. */
10928 /* We use char because int might match the return type of a gcc2 10934 /* We use char because int might match the return type of a gcc2
10929 builtin and then its argument prototype would still apply. */ 10935 builtin and then its argument prototype would still apply. */
10930 char XmStringFree(); 10936 char XmStringFree();
10931 10937
10932 int main() { 10938 int main() {
10933 XmStringFree() 10939 XmStringFree()
10934 ; return 0; } 10940 ; return 0; }
10935 EOF 10941 EOF
10936 if { (eval echo configure:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10937 rm -rf conftest* 10943 rm -rf conftest*
10938 eval "ac_cv_lib_$ac_lib_var=yes" 10944 eval "ac_cv_lib_$ac_lib_var=yes"
10939 else 10945 else
10940 echo "configure: failed program was:" >&5 10946 echo "configure: failed program was:" >&5
10941 cat conftest.$ac_ext >&5 10947 cat conftest.$ac_ext >&5
10960 fi 10966 fi
10961 10967
10962 10968
10963 if test "$have_motif" = "yes"; then 10969 if test "$have_motif" = "yes"; then
10964 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10970 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10965 echo "configure:10966: checking for Lesstif" >&5 10971 echo "configure:10972: checking for Lesstif" >&5
10966 cat > conftest.$ac_ext <<EOF 10972 cat > conftest.$ac_ext <<EOF
10967 #line 10968 "configure" 10973 #line 10974 "configure"
10968 #include "confdefs.h" 10974 #include "confdefs.h"
10969 #include <Xm/Xm.h> 10975 #include <Xm/Xm.h>
10970 #ifdef LESSTIF_VERSION 10976 #ifdef LESSTIF_VERSION
10971 yes 10977 yes
10972 #endif 10978 #endif
11335 11341
11336 fi 11342 fi
11337 11343
11338 if test "$with_mule" = "yes" ; then 11344 if test "$with_mule" = "yes" ; then
11339 echo "checking for Mule-related features" 1>&6 11345 echo "checking for Mule-related features" 1>&6
11340 echo "configure:11341: checking for Mule-related features" >&5 11346 echo "configure:11347: checking for Mule-related features" >&5
11341 { test "$extra_verbose" = "yes" && cat << \EOF 11347 { test "$extra_verbose" = "yes" && cat << \EOF
11342 Defining MULE 11348 Defining MULE
11343 EOF 11349 EOF
11344 cat >> confdefs.h <<\EOF 11350 cat >> confdefs.h <<\EOF
11345 #define MULE 1 11351 #define MULE 1
11349 11355
11350 for ac_hdr in libintl.h 11356 for ac_hdr in libintl.h
11351 do 11357 do
11352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11354 echo "configure:11355: checking for $ac_hdr" >&5 11360 echo "configure:11361: checking for $ac_hdr" >&5
11355 11361
11356 cat > conftest.$ac_ext <<EOF 11362 cat > conftest.$ac_ext <<EOF
11357 #line 11358 "configure" 11363 #line 11364 "configure"
11358 #include "confdefs.h" 11364 #include "confdefs.h"
11359 #include <$ac_hdr> 11365 #include <$ac_hdr>
11360 EOF 11366 EOF
11361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11362 { (eval echo configure:11363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11364 if test -z "$ac_err"; then 11370 if test -z "$ac_err"; then
11365 rm -rf conftest* 11371 rm -rf conftest*
11366 eval "ac_cv_header_$ac_safe=yes" 11372 eval "ac_cv_header_$ac_safe=yes"
11367 else 11373 else
11388 fi 11394 fi
11389 done 11395 done
11390 11396
11391 11397
11392 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11398 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11393 echo "configure:11394: checking for strerror in -lintl" >&5 11399 echo "configure:11400: checking for strerror in -lintl" >&5
11394 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11400 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11395 11401
11396 xe_check_libs=" -lintl " 11402 xe_check_libs=" -lintl "
11397 cat > conftest.$ac_ext <<EOF 11403 cat > conftest.$ac_ext <<EOF
11398 #line 11399 "configure" 11404 #line 11405 "configure"
11399 #include "confdefs.h" 11405 #include "confdefs.h"
11400 /* Override any gcc2 internal prototype to avoid an error. */ 11406 /* Override any gcc2 internal prototype to avoid an error. */
11401 /* We use char because int might match the return type of a gcc2 11407 /* We use char because int might match the return type of a gcc2
11402 builtin and then its argument prototype would still apply. */ 11408 builtin and then its argument prototype would still apply. */
11403 char strerror(); 11409 char strerror();
11404 11410
11405 int main() { 11411 int main() {
11406 strerror() 11412 strerror()
11407 ; return 0; } 11413 ; return 0; }
11408 EOF 11414 EOF
11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11415 if { (eval echo configure:11416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11410 rm -rf conftest* 11416 rm -rf conftest*
11411 eval "ac_cv_lib_$ac_lib_var=yes" 11417 eval "ac_cv_lib_$ac_lib_var=yes"
11412 else 11418 else
11413 echo "configure: failed program was:" >&5 11419 echo "configure: failed program was:" >&5
11414 cat conftest.$ac_ext >&5 11420 cat conftest.$ac_ext >&5
11437 fi 11443 fi
11438 11444
11439 11445
11440 11446
11441 echo "checking for Mule input methods" 1>&6 11447 echo "checking for Mule input methods" 1>&6
11442 echo "configure:11443: checking for Mule input methods" >&5 11448 echo "configure:11449: checking for Mule input methods" >&5
11443 case "$with_xim" in "" | "yes" ) 11449 case "$with_xim" in "" | "yes" )
11444 echo "checking for XIM" 1>&6 11450 echo "checking for XIM" 1>&6
11445 echo "configure:11446: checking for XIM" >&5 11451 echo "configure:11452: checking for XIM" >&5
11446 11452
11447 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11453 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11448 echo "configure:11449: checking for XOpenIM in -lX11" >&5 11454 echo "configure:11455: checking for XOpenIM in -lX11" >&5
11449 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11455 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11450 11456
11451 xe_check_libs=" -lX11 " 11457 xe_check_libs=" -lX11 "
11452 cat > conftest.$ac_ext <<EOF 11458 cat > conftest.$ac_ext <<EOF
11453 #line 11454 "configure" 11459 #line 11460 "configure"
11454 #include "confdefs.h" 11460 #include "confdefs.h"
11455 /* Override any gcc2 internal prototype to avoid an error. */ 11461 /* Override any gcc2 internal prototype to avoid an error. */
11456 /* We use char because int might match the return type of a gcc2 11462 /* We use char because int might match the return type of a gcc2
11457 builtin and then its argument prototype would still apply. */ 11463 builtin and then its argument prototype would still apply. */
11458 char XOpenIM(); 11464 char XOpenIM();
11459 11465
11460 int main() { 11466 int main() {
11461 XOpenIM() 11467 XOpenIM()
11462 ; return 0; } 11468 ; return 0; }
11463 EOF 11469 EOF
11464 if { (eval echo configure:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11470 if { (eval echo configure:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11465 rm -rf conftest* 11471 rm -rf conftest*
11466 eval "ac_cv_lib_$ac_lib_var=yes" 11472 eval "ac_cv_lib_$ac_lib_var=yes"
11467 else 11473 else
11468 echo "configure: failed program was:" >&5 11474 echo "configure: failed program was:" >&5
11469 cat conftest.$ac_ext >&5 11475 cat conftest.$ac_ext >&5
11483 11489
11484 11490
11485 if test "$have_motif $have_lesstif" = "yes no"; then 11491 if test "$have_motif $have_lesstif" = "yes no"; then
11486 11492
11487 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11493 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11488 echo "configure:11489: checking for XmImMbLookupString in -lXm" >&5 11494 echo "configure:11495: checking for XmImMbLookupString in -lXm" >&5
11489 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11495 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11490 11496
11491 xe_check_libs=" -lXm " 11497 xe_check_libs=" -lXm "
11492 cat > conftest.$ac_ext <<EOF 11498 cat > conftest.$ac_ext <<EOF
11493 #line 11494 "configure" 11499 #line 11500 "configure"
11494 #include "confdefs.h" 11500 #include "confdefs.h"
11495 /* Override any gcc2 internal prototype to avoid an error. */ 11501 /* Override any gcc2 internal prototype to avoid an error. */
11496 /* We use char because int might match the return type of a gcc2 11502 /* We use char because int might match the return type of a gcc2
11497 builtin and then its argument prototype would still apply. */ 11503 builtin and then its argument prototype would still apply. */
11498 char XmImMbLookupString(); 11504 char XmImMbLookupString();
11499 11505
11500 int main() { 11506 int main() {
11501 XmImMbLookupString() 11507 XmImMbLookupString()
11502 ; return 0; } 11508 ; return 0; }
11503 EOF 11509 EOF
11504 if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11510 if { (eval echo configure:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11505 rm -rf conftest* 11511 rm -rf conftest*
11506 eval "ac_cv_lib_$ac_lib_var=yes" 11512 eval "ac_cv_lib_$ac_lib_var=yes"
11507 else 11513 else
11508 echo "configure: failed program was:" >&5 11514 echo "configure: failed program was:" >&5
11509 cat conftest.$ac_ext >&5 11515 cat conftest.$ac_ext >&5
11564 fi 11570 fi
11565 fi 11571 fi
11566 11572
11567 if test "$with_xfs" = "yes" ; then 11573 if test "$with_xfs" = "yes" ; then
11568 echo "checking for XFontSet" 1>&6 11574 echo "checking for XFontSet" 1>&6
11569 echo "configure:11570: checking for XFontSet" >&5 11575 echo "configure:11576: checking for XFontSet" >&5
11570 11576
11571 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11577 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11572 echo "configure:11573: checking for XmbDrawString in -lX11" >&5 11578 echo "configure:11579: checking for XmbDrawString in -lX11" >&5
11573 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11579 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11574 11580
11575 xe_check_libs=" -lX11 " 11581 xe_check_libs=" -lX11 "
11576 cat > conftest.$ac_ext <<EOF 11582 cat > conftest.$ac_ext <<EOF
11577 #line 11578 "configure" 11583 #line 11584 "configure"
11578 #include "confdefs.h" 11584 #include "confdefs.h"
11579 /* Override any gcc2 internal prototype to avoid an error. */ 11585 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2 11586 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */ 11587 builtin and then its argument prototype would still apply. */
11582 char XmbDrawString(); 11588 char XmbDrawString();
11583 11589
11584 int main() { 11590 int main() {
11585 XmbDrawString() 11591 XmbDrawString()
11586 ; return 0; } 11592 ; return 0; }
11587 EOF 11593 EOF
11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11594 if { (eval echo configure:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11589 rm -rf conftest* 11595 rm -rf conftest*
11590 eval "ac_cv_lib_$ac_lib_var=yes" 11596 eval "ac_cv_lib_$ac_lib_var=yes"
11591 else 11597 else
11592 echo "configure: failed program was:" >&5 11598 echo "configure: failed program was:" >&5
11593 cat conftest.$ac_ext >&5 11599 cat conftest.$ac_ext >&5
11623 fi 11629 fi
11624 fi 11630 fi
11625 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11631 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11626 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11632 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11627 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11633 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11628 echo "configure:11629: checking for wnn/jllib.h" >&5 11634 echo "configure:11635: checking for wnn/jllib.h" >&5
11629 11635
11630 cat > conftest.$ac_ext <<EOF 11636 cat > conftest.$ac_ext <<EOF
11631 #line 11632 "configure" 11637 #line 11638 "configure"
11632 #include "confdefs.h" 11638 #include "confdefs.h"
11633 #include <wnn/jllib.h> 11639 #include <wnn/jllib.h>
11634 EOF 11640 EOF
11635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11636 { (eval echo configure:11637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11642 { (eval echo configure:11643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11638 if test -z "$ac_err"; then 11644 if test -z "$ac_err"; then
11639 rm -rf conftest* 11645 rm -rf conftest*
11640 eval "ac_cv_header_$ac_safe=yes" 11646 eval "ac_cv_header_$ac_safe=yes"
11641 else 11647 else
11654 with_wnn=no 11660 with_wnn=no
11655 fi 11661 fi
11656 } 11662 }
11657 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11663 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11658 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11664 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11659 echo "configure:11660: checking for wnn/commonhd.h" >&5 11665 echo "configure:11666: checking for wnn/commonhd.h" >&5
11660 11666
11661 cat > conftest.$ac_ext <<EOF 11667 cat > conftest.$ac_ext <<EOF
11662 #line 11663 "configure" 11668 #line 11669 "configure"
11663 #include "confdefs.h" 11669 #include "confdefs.h"
11664 #include <wnn/commonhd.h> 11670 #include <wnn/commonhd.h>
11665 EOF 11671 EOF
11666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11667 { (eval echo configure:11668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11673 { (eval echo configure:11674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11669 if test -z "$ac_err"; then 11675 if test -z "$ac_err"; then
11670 rm -rf conftest* 11676 rm -rf conftest*
11671 eval "ac_cv_header_$ac_safe=yes" 11677 eval "ac_cv_header_$ac_safe=yes"
11672 else 11678 else
11687 } 11693 }
11688 if test "$with_wnn" != "no"; then 11694 if test "$with_wnn" != "no"; then
11689 for ac_func in crypt 11695 for ac_func in crypt
11690 do 11696 do
11691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11692 echo "configure:11693: checking for $ac_func" >&5 11698 echo "configure:11699: checking for $ac_func" >&5
11693 11699
11694 cat > conftest.$ac_ext <<EOF 11700 cat > conftest.$ac_ext <<EOF
11695 #line 11696 "configure" 11701 #line 11702 "configure"
11696 #include "confdefs.h" 11702 #include "confdefs.h"
11697 /* System header to define __stub macros and hopefully few prototypes, 11703 /* System header to define __stub macros and hopefully few prototypes,
11698 which can conflict with char $ac_func(); below. */ 11704 which can conflict with char $ac_func(); below. */
11699 #include <assert.h> 11705 #include <assert.h>
11700 /* Override any gcc2 internal prototype to avoid an error. */ 11706 /* Override any gcc2 internal prototype to avoid an error. */
11713 $ac_func(); 11719 $ac_func();
11714 #endif 11720 #endif
11715 11721
11716 ; return 0; } 11722 ; return 0; }
11717 EOF 11723 EOF
11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11724 if { (eval echo configure:11725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11719 rm -rf conftest* 11725 rm -rf conftest*
11720 eval "ac_cv_func_$ac_func=yes" 11726 eval "ac_cv_func_$ac_func=yes"
11721 else 11727 else
11722 echo "configure: failed program was:" >&5 11728 echo "configure: failed program was:" >&5
11723 cat conftest.$ac_ext >&5 11729 cat conftest.$ac_ext >&5
11742 fi 11748 fi
11743 done 11749 done
11744 11750
11745 test "$ac_cv_func_crypt" != "yes" && { 11751 test "$ac_cv_func_crypt" != "yes" && {
11746 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11752 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11747 echo "configure:11748: checking for crypt in -lcrypt" >&5 11753 echo "configure:11754: checking for crypt in -lcrypt" >&5
11748 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11754 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11749 11755
11750 xe_check_libs=" -lcrypt " 11756 xe_check_libs=" -lcrypt "
11751 cat > conftest.$ac_ext <<EOF 11757 cat > conftest.$ac_ext <<EOF
11752 #line 11753 "configure" 11758 #line 11759 "configure"
11753 #include "confdefs.h" 11759 #include "confdefs.h"
11754 /* Override any gcc2 internal prototype to avoid an error. */ 11760 /* Override any gcc2 internal prototype to avoid an error. */
11755 /* We use char because int might match the return type of a gcc2 11761 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */ 11762 builtin and then its argument prototype would still apply. */
11757 char crypt(); 11763 char crypt();
11758 11764
11759 int main() { 11765 int main() {
11760 crypt() 11766 crypt()
11761 ; return 0; } 11767 ; return 0; }
11762 EOF 11768 EOF
11763 if { (eval echo configure:11764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11769 if { (eval echo configure:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11764 rm -rf conftest* 11770 rm -rf conftest*
11765 eval "ac_cv_lib_$ac_lib_var=yes" 11771 eval "ac_cv_lib_$ac_lib_var=yes"
11766 else 11772 else
11767 echo "configure: failed program was:" >&5 11773 echo "configure: failed program was:" >&5
11768 cat conftest.$ac_ext >&5 11774 cat conftest.$ac_ext >&5
11793 } 11799 }
11794 fi 11800 fi
11795 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11801 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11796 11802
11797 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11803 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11798 echo "configure:11799: checking for jl_dic_list_e in -lwnn" >&5 11804 echo "configure:11805: checking for jl_dic_list_e in -lwnn" >&5
11799 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11805 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11800 11806
11801 xe_check_libs=" -lwnn " 11807 xe_check_libs=" -lwnn "
11802 cat > conftest.$ac_ext <<EOF 11808 cat > conftest.$ac_ext <<EOF
11803 #line 11804 "configure" 11809 #line 11810 "configure"
11804 #include "confdefs.h" 11810 #include "confdefs.h"
11805 /* Override any gcc2 internal prototype to avoid an error. */ 11811 /* Override any gcc2 internal prototype to avoid an error. */
11806 /* We use char because int might match the return type of a gcc2 11812 /* We use char because int might match the return type of a gcc2
11807 builtin and then its argument prototype would still apply. */ 11813 builtin and then its argument prototype would still apply. */
11808 char jl_dic_list_e(); 11814 char jl_dic_list_e();
11809 11815
11810 int main() { 11816 int main() {
11811 jl_dic_list_e() 11817 jl_dic_list_e()
11812 ; return 0; } 11818 ; return 0; }
11813 EOF 11819 EOF
11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11815 rm -rf conftest* 11821 rm -rf conftest*
11816 eval "ac_cv_lib_$ac_lib_var=yes" 11822 eval "ac_cv_lib_$ac_lib_var=yes"
11817 else 11823 else
11818 echo "configure: failed program was:" >&5 11824 echo "configure: failed program was:" >&5
11819 cat conftest.$ac_ext >&5 11825 cat conftest.$ac_ext >&5
11827 echo "$ac_t""yes" 1>&6 11833 echo "$ac_t""yes" 1>&6
11828 libwnn=wnn 11834 libwnn=wnn
11829 else 11835 else
11830 echo "$ac_t""no" 1>&6 11836 echo "$ac_t""no" 1>&6
11831 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11837 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11832 echo "configure:11833: checking for jl_dic_list_e in -lwnn4" >&5 11838 echo "configure:11839: checking for jl_dic_list_e in -lwnn4" >&5
11833 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11839 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11834 11840
11835 xe_check_libs=" -lwnn4 " 11841 xe_check_libs=" -lwnn4 "
11836 cat > conftest.$ac_ext <<EOF 11842 cat > conftest.$ac_ext <<EOF
11837 #line 11838 "configure" 11843 #line 11844 "configure"
11838 #include "confdefs.h" 11844 #include "confdefs.h"
11839 /* Override any gcc2 internal prototype to avoid an error. */ 11845 /* Override any gcc2 internal prototype to avoid an error. */
11840 /* We use char because int might match the return type of a gcc2 11846 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */ 11847 builtin and then its argument prototype would still apply. */
11842 char jl_dic_list_e(); 11848 char jl_dic_list_e();
11843 11849
11844 int main() { 11850 int main() {
11845 jl_dic_list_e() 11851 jl_dic_list_e()
11846 ; return 0; } 11852 ; return 0; }
11847 EOF 11853 EOF
11848 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11854 if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11849 rm -rf conftest* 11855 rm -rf conftest*
11850 eval "ac_cv_lib_$ac_lib_var=yes" 11856 eval "ac_cv_lib_$ac_lib_var=yes"
11851 else 11857 else
11852 echo "configure: failed program was:" >&5 11858 echo "configure: failed program was:" >&5
11853 cat conftest.$ac_ext >&5 11859 cat conftest.$ac_ext >&5
11861 echo "$ac_t""yes" 1>&6 11867 echo "$ac_t""yes" 1>&6
11862 libwnn=wnn4 11868 libwnn=wnn4
11863 else 11869 else
11864 echo "$ac_t""no" 1>&6 11870 echo "$ac_t""no" 1>&6
11865 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11871 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11866 echo "configure:11867: checking for jl_dic_list_e in -lwnn6" >&5 11872 echo "configure:11873: checking for jl_dic_list_e in -lwnn6" >&5
11867 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11873 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11868 11874
11869 xe_check_libs=" -lwnn6 " 11875 xe_check_libs=" -lwnn6 "
11870 cat > conftest.$ac_ext <<EOF 11876 cat > conftest.$ac_ext <<EOF
11871 #line 11872 "configure" 11877 #line 11878 "configure"
11872 #include "confdefs.h" 11878 #include "confdefs.h"
11873 /* Override any gcc2 internal prototype to avoid an error. */ 11879 /* Override any gcc2 internal prototype to avoid an error. */
11874 /* We use char because int might match the return type of a gcc2 11880 /* We use char because int might match the return type of a gcc2
11875 builtin and then its argument prototype would still apply. */ 11881 builtin and then its argument prototype would still apply. */
11876 char jl_dic_list_e(); 11882 char jl_dic_list_e();
11877 11883
11878 int main() { 11884 int main() {
11879 jl_dic_list_e() 11885 jl_dic_list_e()
11880 ; return 0; } 11886 ; return 0; }
11881 EOF 11887 EOF
11882 if { (eval echo configure:11883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11888 if { (eval echo configure:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11883 rm -rf conftest* 11889 rm -rf conftest*
11884 eval "ac_cv_lib_$ac_lib_var=yes" 11890 eval "ac_cv_lib_$ac_lib_var=yes"
11885 else 11891 else
11886 echo "configure: failed program was:" >&5 11892 echo "configure: failed program was:" >&5
11887 cat conftest.$ac_ext >&5 11893 cat conftest.$ac_ext >&5
11895 echo "$ac_t""yes" 1>&6 11901 echo "$ac_t""yes" 1>&6
11896 libwnn=wnn6 11902 libwnn=wnn6
11897 else 11903 else
11898 echo "$ac_t""no" 1>&6 11904 echo "$ac_t""no" 1>&6
11899 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11905 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11900 echo "configure:11901: checking for dic_list_e in -lwnn6_fromsrc" >&5 11906 echo "configure:11907: checking for dic_list_e in -lwnn6_fromsrc" >&5
11901 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11907 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11902 11908
11903 xe_check_libs=" -lwnn6_fromsrc " 11909 xe_check_libs=" -lwnn6_fromsrc "
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 /* Override any gcc2 internal prototype to avoid an error. */ 11913 /* Override any gcc2 internal prototype to avoid an error. */
11908 /* We use char because int might match the return type of a gcc2 11914 /* We use char because int might match the return type of a gcc2
11909 builtin and then its argument prototype would still apply. */ 11915 builtin and then its argument prototype would still apply. */
11910 char dic_list_e(); 11916 char dic_list_e();
11911 11917
11912 int main() { 11918 int main() {
11913 dic_list_e() 11919 dic_list_e()
11914 ; return 0; } 11920 ; return 0; }
11915 EOF 11921 EOF
11916 if { (eval echo configure:11917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11922 if { (eval echo configure:11923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11917 rm -rf conftest* 11923 rm -rf conftest*
11918 eval "ac_cv_lib_$ac_lib_var=yes" 11924 eval "ac_cv_lib_$ac_lib_var=yes"
11919 else 11925 else
11920 echo "configure: failed program was:" >&5 11926 echo "configure: failed program was:" >&5
11921 cat conftest.$ac_ext >&5 11927 cat conftest.$ac_ext >&5
11956 11962
11957 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11963 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11958 if test "$with_wnn6" != "no"; then 11964 if test "$with_wnn6" != "no"; then
11959 11965
11960 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11966 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11961 echo "configure:11962: checking for jl_fi_dic_list in -l$libwnn" >&5 11967 echo "configure:11968: checking for jl_fi_dic_list in -l$libwnn" >&5
11962 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11968 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11963 11969
11964 xe_check_libs=" -l$libwnn " 11970 xe_check_libs=" -l$libwnn "
11965 cat > conftest.$ac_ext <<EOF 11971 cat > conftest.$ac_ext <<EOF
11966 #line 11967 "configure" 11972 #line 11973 "configure"
11967 #include "confdefs.h" 11973 #include "confdefs.h"
11968 /* Override any gcc2 internal prototype to avoid an error. */ 11974 /* Override any gcc2 internal prototype to avoid an error. */
11969 /* We use char because int might match the return type of a gcc2 11975 /* We use char because int might match the return type of a gcc2
11970 builtin and then its argument prototype would still apply. */ 11976 builtin and then its argument prototype would still apply. */
11971 char jl_fi_dic_list(); 11977 char jl_fi_dic_list();
11972 11978
11973 int main() { 11979 int main() {
11974 jl_fi_dic_list() 11980 jl_fi_dic_list()
11975 ; return 0; } 11981 ; return 0; }
11976 EOF 11982 EOF
11977 if { (eval echo configure:11978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11983 if { (eval echo configure:11984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11978 rm -rf conftest* 11984 rm -rf conftest*
11979 eval "ac_cv_lib_$ac_lib_var=yes" 11985 eval "ac_cv_lib_$ac_lib_var=yes"
11980 else 11986 else
11981 echo "configure: failed program was:" >&5 11987 echo "configure: failed program was:" >&5
11982 cat conftest.$ac_ext >&5 11988 cat conftest.$ac_ext >&5
12007 12013
12008 canna_includes_found=no 12014 canna_includes_found=no
12009 if test "$with_canna" != "no"; then 12015 if test "$with_canna" != "no"; then
12010 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 12016 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
12011 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 12017 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
12012 echo "configure:12013: checking for canna/jrkanji.h" >&5 12018 echo "configure:12019: checking for canna/jrkanji.h" >&5
12013 12019
12014 cat > conftest.$ac_ext <<EOF 12020 cat > conftest.$ac_ext <<EOF
12015 #line 12016 "configure" 12021 #line 12022 "configure"
12016 #include "confdefs.h" 12022 #include "confdefs.h"
12017 #include <canna/jrkanji.h> 12023 #include <canna/jrkanji.h>
12018 EOF 12024 EOF
12019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12020 { (eval echo configure:12021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12026 { (eval echo configure:12027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12022 if test -z "$ac_err"; then 12028 if test -z "$ac_err"; then
12023 rm -rf conftest* 12029 rm -rf conftest*
12024 eval "ac_cv_header_$ac_safe=yes" 12030 eval "ac_cv_header_$ac_safe=yes"
12025 else 12031 else
12042 -d "/usr/local/canna/include"; then 12048 -d "/usr/local/canna/include"; then
12043 save_c_switch_site="$c_switch_site" 12049 save_c_switch_site="$c_switch_site"
12044 c_switch_site="$c_switch_site -I/usr/local/canna/include" 12050 c_switch_site="$c_switch_site -I/usr/local/canna/include"
12045 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 12051 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
12046 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 12052 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
12047 echo "configure:12048: checking for canna/jrkanji.h" >&5 12053 echo "configure:12054: checking for canna/jrkanji.h" >&5
12048 12054
12049 cat > conftest.$ac_ext <<EOF 12055 cat > conftest.$ac_ext <<EOF
12050 #line 12051 "configure" 12056 #line 12057 "configure"
12051 #include "confdefs.h" 12057 #include "confdefs.h"
12052 #include <canna/jrkanji.h> 12058 #include <canna/jrkanji.h>
12053 EOF 12059 EOF
12054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12055 { (eval echo configure:12056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12061 { (eval echo configure:12062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12057 if test -z "$ac_err"; then 12063 if test -z "$ac_err"; then
12058 rm -rf conftest* 12064 rm -rf conftest*
12059 eval "ac_cv_header_$ac_safe=yes" 12065 eval "ac_cv_header_$ac_safe=yes"
12060 else 12066 else
12078 fi 12084 fi
12079 fi 12085 fi
12080 12086
12081 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 12087 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
12082 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 12088 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
12083 echo "configure:12084: checking for canna/RK.h" >&5 12089 echo "configure:12090: checking for canna/RK.h" >&5
12084 12090
12085 cat > conftest.$ac_ext <<EOF 12091 cat > conftest.$ac_ext <<EOF
12086 #line 12087 "configure" 12092 #line 12093 "configure"
12087 #include "confdefs.h" 12093 #include "confdefs.h"
12088 #include <canna/RK.h> 12094 #include <canna/RK.h>
12089 EOF 12095 EOF
12090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12091 { (eval echo configure:12092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12097 { (eval echo configure:12098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12093 if test -z "$ac_err"; then 12099 if test -z "$ac_err"; then
12094 rm -rf conftest* 12100 rm -rf conftest*
12095 eval "ac_cv_header_$ac_safe=yes" 12101 eval "ac_cv_header_$ac_safe=yes"
12096 else 12102 else
12109 with_canna=no 12115 with_canna=no
12110 fi 12116 fi
12111 } 12117 }
12112 test -z "$with_canna" && { 12118 test -z "$with_canna" && {
12113 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12119 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12114 echo "configure:12115: checking for RkBgnBun in -lRKC" >&5 12120 echo "configure:12121: checking for RkBgnBun in -lRKC" >&5
12115 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12121 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12116 12122
12117 xe_check_libs=" -lRKC " 12123 xe_check_libs=" -lRKC "
12118 cat > conftest.$ac_ext <<EOF 12124 cat > conftest.$ac_ext <<EOF
12119 #line 12120 "configure" 12125 #line 12126 "configure"
12120 #include "confdefs.h" 12126 #include "confdefs.h"
12121 /* Override any gcc2 internal prototype to avoid an error. */ 12127 /* Override any gcc2 internal prototype to avoid an error. */
12122 /* We use char because int might match the return type of a gcc2 12128 /* We use char because int might match the return type of a gcc2
12123 builtin and then its argument prototype would still apply. */ 12129 builtin and then its argument prototype would still apply. */
12124 char RkBgnBun(); 12130 char RkBgnBun();
12125 12131
12126 int main() { 12132 int main() {
12127 RkBgnBun() 12133 RkBgnBun()
12128 ; return 0; } 12134 ; return 0; }
12129 EOF 12135 EOF
12130 if { (eval echo configure:12131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12136 if { (eval echo configure:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12131 rm -rf conftest* 12137 rm -rf conftest*
12132 eval "ac_cv_lib_$ac_lib_var=yes" 12138 eval "ac_cv_lib_$ac_lib_var=yes"
12133 else 12139 else
12134 echo "configure: failed program was:" >&5 12140 echo "configure: failed program was:" >&5
12135 cat conftest.$ac_ext >&5 12141 cat conftest.$ac_ext >&5
12148 fi 12154 fi
12149 12155
12150 } 12156 }
12151 test -z "$with_canna" && { 12157 test -z "$with_canna" && {
12152 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12158 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12153 echo "configure:12154: checking for jrKanjiControl in -lcanna" >&5 12159 echo "configure:12160: checking for jrKanjiControl in -lcanna" >&5
12154 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12160 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12155 12161
12156 xe_check_libs=" -lcanna " 12162 xe_check_libs=" -lcanna "
12157 cat > conftest.$ac_ext <<EOF 12163 cat > conftest.$ac_ext <<EOF
12158 #line 12159 "configure" 12164 #line 12165 "configure"
12159 #include "confdefs.h" 12165 #include "confdefs.h"
12160 /* Override any gcc2 internal prototype to avoid an error. */ 12166 /* Override any gcc2 internal prototype to avoid an error. */
12161 /* We use char because int might match the return type of a gcc2 12167 /* We use char because int might match the return type of a gcc2
12162 builtin and then its argument prototype would still apply. */ 12168 builtin and then its argument prototype would still apply. */
12163 char jrKanjiControl(); 12169 char jrKanjiControl();
12164 12170
12165 int main() { 12171 int main() {
12166 jrKanjiControl() 12172 jrKanjiControl()
12167 ; return 0; } 12173 ; return 0; }
12168 EOF 12174 EOF
12169 if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12175 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12170 rm -rf conftest* 12176 rm -rf conftest*
12171 eval "ac_cv_lib_$ac_lib_var=yes" 12177 eval "ac_cv_lib_$ac_lib_var=yes"
12172 else 12178 else
12173 echo "configure: failed program was:" >&5 12179 echo "configure: failed program was:" >&5
12174 cat conftest.$ac_ext >&5 12180 cat conftest.$ac_ext >&5
12210 12216
12211 if test "$need_motif" = "yes" ; then 12217 if test "$need_motif" = "yes" ; then
12212 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12218 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12213 12219
12214 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12220 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12215 echo "configure:12216: checking for layout_object_getvalue in -li18n" >&5 12221 echo "configure:12222: checking for layout_object_getvalue in -li18n" >&5
12216 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12222 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12217 12223
12218 xe_check_libs=" -li18n " 12224 xe_check_libs=" -li18n "
12219 cat > conftest.$ac_ext <<EOF 12225 cat > conftest.$ac_ext <<EOF
12220 #line 12221 "configure" 12226 #line 12227 "configure"
12221 #include "confdefs.h" 12227 #include "confdefs.h"
12222 /* Override any gcc2 internal prototype to avoid an error. */ 12228 /* Override any gcc2 internal prototype to avoid an error. */
12223 /* We use char because int might match the return type of a gcc2 12229 /* We use char because int might match the return type of a gcc2
12224 builtin and then its argument prototype would still apply. */ 12230 builtin and then its argument prototype would still apply. */
12225 char layout_object_getvalue(); 12231 char layout_object_getvalue();
12226 12232
12227 int main() { 12233 int main() {
12228 layout_object_getvalue() 12234 layout_object_getvalue()
12229 ; return 0; } 12235 ; return 0; }
12230 EOF 12236 EOF
12231 if { (eval echo configure:12232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12237 if { (eval echo configure:12238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12232 rm -rf conftest* 12238 rm -rf conftest*
12233 eval "ac_cv_lib_$ac_lib_var=yes" 12239 eval "ac_cv_lib_$ac_lib_var=yes"
12234 else 12240 else
12235 echo "configure: failed program was:" >&5 12241 echo "configure: failed program was:" >&5
12236 cat conftest.$ac_ext >&5 12242 cat conftest.$ac_ext >&5
12313 12319
12314 12320
12315 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen 12321 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen
12316 do 12322 do
12317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12318 echo "configure:12319: checking for $ac_func" >&5 12324 echo "configure:12325: checking for $ac_func" >&5
12319 12325
12320 cat > conftest.$ac_ext <<EOF 12326 cat > conftest.$ac_ext <<EOF
12321 #line 12322 "configure" 12327 #line 12328 "configure"
12322 #include "confdefs.h" 12328 #include "confdefs.h"
12323 /* System header to define __stub macros and hopefully few prototypes, 12329 /* System header to define __stub macros and hopefully few prototypes,
12324 which can conflict with char $ac_func(); below. */ 12330 which can conflict with char $ac_func(); below. */
12325 #include <assert.h> 12331 #include <assert.h>
12326 /* Override any gcc2 internal prototype to avoid an error. */ 12332 /* Override any gcc2 internal prototype to avoid an error. */
12339 $ac_func(); 12345 $ac_func();
12340 #endif 12346 #endif
12341 12347
12342 ; return 0; } 12348 ; return 0; }
12343 EOF 12349 EOF
12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12350 if { (eval echo configure:12351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12345 rm -rf conftest* 12351 rm -rf conftest*
12346 eval "ac_cv_func_$ac_func=yes" 12352 eval "ac_cv_func_$ac_func=yes"
12347 else 12353 else
12348 echo "configure: failed program was:" >&5 12354 echo "configure: failed program was:" >&5
12349 cat conftest.$ac_ext >&5 12355 cat conftest.$ac_ext >&5
12380 12386
12381 12387
12382 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12388 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12383 do 12389 do
12384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12385 echo "configure:12386: checking for $ac_func" >&5 12391 echo "configure:12392: checking for $ac_func" >&5
12386 12392
12387 cat > conftest.$ac_ext <<EOF 12393 cat > conftest.$ac_ext <<EOF
12388 #line 12389 "configure" 12394 #line 12395 "configure"
12389 #include "confdefs.h" 12395 #include "confdefs.h"
12390 /* System header to define __stub macros and hopefully few prototypes, 12396 /* System header to define __stub macros and hopefully few prototypes,
12391 which can conflict with char $ac_func(); below. */ 12397 which can conflict with char $ac_func(); below. */
12392 #include <assert.h> 12398 #include <assert.h>
12393 /* Override any gcc2 internal prototype to avoid an error. */ 12399 /* Override any gcc2 internal prototype to avoid an error. */
12406 $ac_func(); 12412 $ac_func();
12407 #endif 12413 #endif
12408 12414
12409 ; return 0; } 12415 ; return 0; }
12410 EOF 12416 EOF
12411 if { (eval echo configure:12412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12412 rm -rf conftest* 12418 rm -rf conftest*
12413 eval "ac_cv_func_$ac_func=yes" 12419 eval "ac_cv_func_$ac_func=yes"
12414 else 12420 else
12415 echo "configure: failed program was:" >&5 12421 echo "configure: failed program was:" >&5
12416 cat conftest.$ac_ext >&5 12422 cat conftest.$ac_ext >&5
12435 fi 12441 fi
12436 done 12442 done
12437 12443
12438 12444
12439 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12445 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12440 echo "configure:12441: checking for openpty" >&5 12446 echo "configure:12447: checking for openpty" >&5
12441 12447
12442 cat > conftest.$ac_ext <<EOF 12448 cat > conftest.$ac_ext <<EOF
12443 #line 12444 "configure" 12449 #line 12450 "configure"
12444 #include "confdefs.h" 12450 #include "confdefs.h"
12445 /* System header to define __stub macros and hopefully few prototypes, 12451 /* System header to define __stub macros and hopefully few prototypes,
12446 which can conflict with char openpty(); below. */ 12452 which can conflict with char openpty(); below. */
12447 #include <assert.h> 12453 #include <assert.h>
12448 /* Override any gcc2 internal prototype to avoid an error. */ 12454 /* Override any gcc2 internal prototype to avoid an error. */
12461 openpty(); 12467 openpty();
12462 #endif 12468 #endif
12463 12469
12464 ; return 0; } 12470 ; return 0; }
12465 EOF 12471 EOF
12466 if { (eval echo configure:12467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12472 if { (eval echo configure:12473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12467 rm -rf conftest* 12473 rm -rf conftest*
12468 eval "ac_cv_func_openpty=yes" 12474 eval "ac_cv_func_openpty=yes"
12469 else 12475 else
12470 echo "configure: failed program was:" >&5 12476 echo "configure: failed program was:" >&5
12471 cat conftest.$ac_ext >&5 12477 cat conftest.$ac_ext >&5
12480 else 12486 else
12481 echo "$ac_t""no" 1>&6 12487 echo "$ac_t""no" 1>&6
12482 12488
12483 12489
12484 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12490 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12485 echo "configure:12486: checking for openpty in -lutil" >&5 12491 echo "configure:12492: checking for openpty in -lutil" >&5
12486 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12492 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12487 12493
12488 xe_check_libs=" -lutil " 12494 xe_check_libs=" -lutil "
12489 cat > conftest.$ac_ext <<EOF 12495 cat > conftest.$ac_ext <<EOF
12490 #line 12491 "configure" 12496 #line 12497 "configure"
12491 #include "confdefs.h" 12497 #include "confdefs.h"
12492 /* Override any gcc2 internal prototype to avoid an error. */ 12498 /* Override any gcc2 internal prototype to avoid an error. */
12493 /* We use char because int might match the return type of a gcc2 12499 /* We use char because int might match the return type of a gcc2
12494 builtin and then its argument prototype would still apply. */ 12500 builtin and then its argument prototype would still apply. */
12495 char openpty(); 12501 char openpty();
12496 12502
12497 int main() { 12503 int main() {
12498 openpty() 12504 openpty()
12499 ; return 0; } 12505 ; return 0; }
12500 EOF 12506 EOF
12501 if { (eval echo configure:12502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12507 if { (eval echo configure:12508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12502 rm -rf conftest* 12508 rm -rf conftest*
12503 eval "ac_cv_lib_$ac_lib_var=yes" 12509 eval "ac_cv_lib_$ac_lib_var=yes"
12504 else 12510 else
12505 echo "configure: failed program was:" >&5 12511 echo "configure: failed program was:" >&5
12506 cat conftest.$ac_ext >&5 12512 cat conftest.$ac_ext >&5
12531 12537
12532 for ac_hdr in libutil.h util.h 12538 for ac_hdr in libutil.h util.h
12533 do 12539 do
12534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12536 echo "configure:12537: checking for $ac_hdr" >&5 12542 echo "configure:12543: checking for $ac_hdr" >&5
12537 12543
12538 cat > conftest.$ac_ext <<EOF 12544 cat > conftest.$ac_ext <<EOF
12539 #line 12540 "configure" 12545 #line 12546 "configure"
12540 #include "confdefs.h" 12546 #include "confdefs.h"
12541 #include <$ac_hdr> 12547 #include <$ac_hdr>
12542 EOF 12548 EOF
12543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12544 { (eval echo configure:12545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12550 { (eval echo configure:12551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12546 if test -z "$ac_err"; then 12552 if test -z "$ac_err"; then
12547 rm -rf conftest* 12553 rm -rf conftest*
12548 eval "ac_cv_header_$ac_safe=yes" 12554 eval "ac_cv_header_$ac_safe=yes"
12549 else 12555 else
12576 case "$opsys" in 12582 case "$opsys" in
12577 hpux*) for ac_hdr in sys/ptyio.h 12583 hpux*) for ac_hdr in sys/ptyio.h
12578 do 12584 do
12579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12585 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12586 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12581 echo "configure:12582: checking for $ac_hdr" >&5 12587 echo "configure:12588: checking for $ac_hdr" >&5
12582 12588
12583 cat > conftest.$ac_ext <<EOF 12589 cat > conftest.$ac_ext <<EOF
12584 #line 12585 "configure" 12590 #line 12591 "configure"
12585 #include "confdefs.h" 12591 #include "confdefs.h"
12586 #include <$ac_hdr> 12592 #include <$ac_hdr>
12587 EOF 12593 EOF
12588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12589 { (eval echo configure:12590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12595 { (eval echo configure:12596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12591 if test -z "$ac_err"; then 12597 if test -z "$ac_err"; then
12592 rm -rf conftest* 12598 rm -rf conftest*
12593 eval "ac_cv_header_$ac_safe=yes" 12599 eval "ac_cv_header_$ac_safe=yes"
12594 else 12600 else
12617 ;; 12623 ;;
12618 *) for ac_hdr in pty.h 12624 *) for ac_hdr in pty.h
12619 do 12625 do
12620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12622 echo "configure:12623: checking for $ac_hdr" >&5 12628 echo "configure:12629: checking for $ac_hdr" >&5
12623 12629
12624 cat > conftest.$ac_ext <<EOF 12630 cat > conftest.$ac_ext <<EOF
12625 #line 12626 "configure" 12631 #line 12632 "configure"
12626 #include "confdefs.h" 12632 #include "confdefs.h"
12627 #include <$ac_hdr> 12633 #include <$ac_hdr>
12628 EOF 12634 EOF
12629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12630 { (eval echo configure:12631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12632 if test -z "$ac_err"; then 12638 if test -z "$ac_err"; then
12633 rm -rf conftest* 12639 rm -rf conftest*
12634 eval "ac_cv_header_$ac_safe=yes" 12640 eval "ac_cv_header_$ac_safe=yes"
12635 else 12641 else
12658 12664
12659 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12665 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12660 do 12666 do
12661 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12667 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12662 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12668 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12663 echo "configure:12664: checking for $ac_hdr" >&5 12669 echo "configure:12670: checking for $ac_hdr" >&5
12664 12670
12665 cat > conftest.$ac_ext <<EOF 12671 cat > conftest.$ac_ext <<EOF
12666 #line 12667 "configure" 12672 #line 12673 "configure"
12667 #include "confdefs.h" 12673 #include "confdefs.h"
12668 #include <$ac_hdr> 12674 #include <$ac_hdr>
12669 EOF 12675 EOF
12670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12671 { (eval echo configure:12672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12677 { (eval echo configure:12678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12673 if test -z "$ac_err"; then 12679 if test -z "$ac_err"; then
12674 rm -rf conftest* 12680 rm -rf conftest*
12675 eval "ac_cv_header_$ac_safe=yes" 12681 eval "ac_cv_header_$ac_safe=yes"
12676 else 12682 else
12702 12708
12703 for ac_hdr in stropts.h 12709 for ac_hdr in stropts.h
12704 do 12710 do
12705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12707 echo "configure:12708: checking for $ac_hdr" >&5 12713 echo "configure:12714: checking for $ac_hdr" >&5
12708 12714
12709 cat > conftest.$ac_ext <<EOF 12715 cat > conftest.$ac_ext <<EOF
12710 #line 12711 "configure" 12716 #line 12717 "configure"
12711 #include "confdefs.h" 12717 #include "confdefs.h"
12712 #include <$ac_hdr> 12718 #include <$ac_hdr>
12713 EOF 12719 EOF
12714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12715 { (eval echo configure:12716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12721 { (eval echo configure:12722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12717 if test -z "$ac_err"; then 12723 if test -z "$ac_err"; then
12718 rm -rf conftest* 12724 rm -rf conftest*
12719 eval "ac_cv_header_$ac_safe=yes" 12725 eval "ac_cv_header_$ac_safe=yes"
12720 else 12726 else
12743 12749
12744 if test "$ac_cv_header_stropts_h" = "yes"; then 12750 if test "$ac_cv_header_stropts_h" = "yes"; then
12745 for ac_func in isastream 12751 for ac_func in isastream
12746 do 12752 do
12747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12748 echo "configure:12749: checking for $ac_func" >&5 12754 echo "configure:12755: checking for $ac_func" >&5
12749 12755
12750 cat > conftest.$ac_ext <<EOF 12756 cat > conftest.$ac_ext <<EOF
12751 #line 12752 "configure" 12757 #line 12758 "configure"
12752 #include "confdefs.h" 12758 #include "confdefs.h"
12753 /* System header to define __stub macros and hopefully few prototypes, 12759 /* System header to define __stub macros and hopefully few prototypes,
12754 which can conflict with char $ac_func(); below. */ 12760 which can conflict with char $ac_func(); below. */
12755 #include <assert.h> 12761 #include <assert.h>
12756 /* Override any gcc2 internal prototype to avoid an error. */ 12762 /* Override any gcc2 internal prototype to avoid an error. */
12769 $ac_func(); 12775 $ac_func();
12770 #endif 12776 #endif
12771 12777
12772 ; return 0; } 12778 ; return 0; }
12773 EOF 12779 EOF
12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12775 rm -rf conftest* 12781 rm -rf conftest*
12776 eval "ac_cv_func_$ac_func=yes" 12782 eval "ac_cv_func_$ac_func=yes"
12777 else 12783 else
12778 echo "configure: failed program was:" >&5 12784 echo "configure: failed program was:" >&5
12779 cat conftest.$ac_ext >&5 12785 cat conftest.$ac_ext >&5
12800 12806
12801 for ac_hdr in strtio.h 12807 for ac_hdr in strtio.h
12802 do 12808 do
12803 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12804 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12805 echo "configure:12806: checking for $ac_hdr" >&5 12811 echo "configure:12812: checking for $ac_hdr" >&5
12806 12812
12807 cat > conftest.$ac_ext <<EOF 12813 cat > conftest.$ac_ext <<EOF
12808 #line 12809 "configure" 12814 #line 12815 "configure"
12809 #include "confdefs.h" 12815 #include "confdefs.h"
12810 #include <$ac_hdr> 12816 #include <$ac_hdr>
12811 EOF 12817 EOF
12812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12813 { (eval echo configure:12814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12819 { (eval echo configure:12820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12815 if test -z "$ac_err"; then 12821 if test -z "$ac_err"; then
12816 rm -rf conftest* 12822 rm -rf conftest*
12817 eval "ac_cv_header_$ac_safe=yes" 12823 eval "ac_cv_header_$ac_safe=yes"
12818 else 12824 else
12841 fi 12847 fi
12842 12848
12843 for ac_func in getloadavg 12849 for ac_func in getloadavg
12844 do 12850 do
12845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12846 echo "configure:12847: checking for $ac_func" >&5 12852 echo "configure:12853: checking for $ac_func" >&5
12847 12853
12848 cat > conftest.$ac_ext <<EOF 12854 cat > conftest.$ac_ext <<EOF
12849 #line 12850 "configure" 12855 #line 12856 "configure"
12850 #include "confdefs.h" 12856 #include "confdefs.h"
12851 /* System header to define __stub macros and hopefully few prototypes, 12857 /* System header to define __stub macros and hopefully few prototypes,
12852 which can conflict with char $ac_func(); below. */ 12858 which can conflict with char $ac_func(); below. */
12853 #include <assert.h> 12859 #include <assert.h>
12854 /* Override any gcc2 internal prototype to avoid an error. */ 12860 /* Override any gcc2 internal prototype to avoid an error. */
12867 $ac_func(); 12873 $ac_func();
12868 #endif 12874 #endif
12869 12875
12870 ; return 0; } 12876 ; return 0; }
12871 EOF 12877 EOF
12872 if { (eval echo configure:12873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12873 rm -rf conftest* 12879 rm -rf conftest*
12874 eval "ac_cv_func_$ac_func=yes" 12880 eval "ac_cv_func_$ac_func=yes"
12875 else 12881 else
12876 echo "configure: failed program was:" >&5 12882 echo "configure: failed program was:" >&5
12877 cat conftest.$ac_ext >&5 12883 cat conftest.$ac_ext >&5
12900 if test "$ac_cv_func_getloadavg" = "yes"; then 12906 if test "$ac_cv_func_getloadavg" = "yes"; then
12901 for ac_hdr in sys/loadavg.h 12907 for ac_hdr in sys/loadavg.h
12902 do 12908 do
12903 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12909 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12904 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12910 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12905 echo "configure:12906: checking for $ac_hdr" >&5 12911 echo "configure:12912: checking for $ac_hdr" >&5
12906 12912
12907 cat > conftest.$ac_ext <<EOF 12913 cat > conftest.$ac_ext <<EOF
12908 #line 12909 "configure" 12914 #line 12915 "configure"
12909 #include "confdefs.h" 12915 #include "confdefs.h"
12910 #include <$ac_hdr> 12916 #include <$ac_hdr>
12911 EOF 12917 EOF
12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12919 { (eval echo configure:12920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12915 if test -z "$ac_err"; then 12921 if test -z "$ac_err"; then
12916 rm -rf conftest* 12922 rm -rf conftest*
12917 eval "ac_cv_header_$ac_safe=yes" 12923 eval "ac_cv_header_$ac_safe=yes"
12918 else 12924 else
12944 echo " xemacs will be linked with \"getloadavg.o\"" 12950 echo " xemacs will be linked with \"getloadavg.o\""
12945 fi 12951 fi
12946 12952
12947 12953
12948 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12954 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12949 echo "configure:12950: checking for kstat_open in -lkstat" >&5 12955 echo "configure:12956: checking for kstat_open in -lkstat" >&5
12950 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12956 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12951 12957
12952 xe_check_libs=" -lkstat " 12958 xe_check_libs=" -lkstat "
12953 cat > conftest.$ac_ext <<EOF 12959 cat > conftest.$ac_ext <<EOF
12954 #line 12955 "configure" 12960 #line 12961 "configure"
12955 #include "confdefs.h" 12961 #include "confdefs.h"
12956 /* Override any gcc2 internal prototype to avoid an error. */ 12962 /* Override any gcc2 internal prototype to avoid an error. */
12957 /* We use char because int might match the return type of a gcc2 12963 /* We use char because int might match the return type of a gcc2
12958 builtin and then its argument prototype would still apply. */ 12964 builtin and then its argument prototype would still apply. */
12959 char kstat_open(); 12965 char kstat_open();
12960 12966
12961 int main() { 12967 int main() {
12962 kstat_open() 12968 kstat_open()
12963 ; return 0; } 12969 ; return 0; }
12964 EOF 12970 EOF
12965 if { (eval echo configure:12966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12971 if { (eval echo configure:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12966 rm -rf conftest* 12972 rm -rf conftest*
12967 eval "ac_cv_lib_$ac_lib_var=yes" 12973 eval "ac_cv_lib_$ac_lib_var=yes"
12968 else 12974 else
12969 echo "configure: failed program was:" >&5 12975 echo "configure: failed program was:" >&5
12970 cat conftest.$ac_ext >&5 12976 cat conftest.$ac_ext >&5
12995 13001
12996 for ac_hdr in kstat.h 13002 for ac_hdr in kstat.h
12997 do 13003 do
12998 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13004 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13000 echo "configure:13001: checking for $ac_hdr" >&5 13006 echo "configure:13007: checking for $ac_hdr" >&5
13001 13007
13002 cat > conftest.$ac_ext <<EOF 13008 cat > conftest.$ac_ext <<EOF
13003 #line 13004 "configure" 13009 #line 13010 "configure"
13004 #include "confdefs.h" 13010 #include "confdefs.h"
13005 #include <$ac_hdr> 13011 #include <$ac_hdr>
13006 EOF 13012 EOF
13007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13008 { (eval echo configure:13009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13014 { (eval echo configure:13015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13010 if test -z "$ac_err"; then 13016 if test -z "$ac_err"; then
13011 rm -rf conftest* 13017 rm -rf conftest*
13012 eval "ac_cv_header_$ac_safe=yes" 13018 eval "ac_cv_header_$ac_safe=yes"
13013 else 13019 else
13035 done 13041 done
13036 13042
13037 13043
13038 13044
13039 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 13045 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
13040 echo "configure:13041: checking for kvm_read in -lkvm" >&5 13046 echo "configure:13047: checking for kvm_read in -lkvm" >&5
13041 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 13047 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
13042 13048
13043 xe_check_libs=" -lkvm " 13049 xe_check_libs=" -lkvm "
13044 cat > conftest.$ac_ext <<EOF 13050 cat > conftest.$ac_ext <<EOF
13045 #line 13046 "configure" 13051 #line 13052 "configure"
13046 #include "confdefs.h" 13052 #include "confdefs.h"
13047 /* Override any gcc2 internal prototype to avoid an error. */ 13053 /* Override any gcc2 internal prototype to avoid an error. */
13048 /* We use char because int might match the return type of a gcc2 13054 /* We use char because int might match the return type of a gcc2
13049 builtin and then its argument prototype would still apply. */ 13055 builtin and then its argument prototype would still apply. */
13050 char kvm_read(); 13056 char kvm_read();
13051 13057
13052 int main() { 13058 int main() {
13053 kvm_read() 13059 kvm_read()
13054 ; return 0; } 13060 ; return 0; }
13055 EOF 13061 EOF
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13057 rm -rf conftest* 13063 rm -rf conftest*
13058 eval "ac_cv_lib_$ac_lib_var=yes" 13064 eval "ac_cv_lib_$ac_lib_var=yes"
13059 else 13065 else
13060 echo "configure: failed program was:" >&5 13066 echo "configure: failed program was:" >&5
13061 cat conftest.$ac_ext >&5 13067 cat conftest.$ac_ext >&5
13085 13091
13086 13092
13087 fi 13093 fi
13088 13094
13089 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 13095 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
13090 echo "configure:13091: checking whether netdb declares h_errno" >&5 13096 echo "configure:13097: checking whether netdb declares h_errno" >&5
13091 cat > conftest.$ac_ext <<EOF 13097 cat > conftest.$ac_ext <<EOF
13092 #line 13093 "configure" 13098 #line 13099 "configure"
13093 #include "confdefs.h" 13099 #include "confdefs.h"
13094 #include <netdb.h> 13100 #include <netdb.h>
13095 int main() { 13101 int main() {
13096 return h_errno; 13102 return h_errno;
13097 ; return 0; } 13103 ; return 0; }
13098 EOF 13104 EOF
13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13105 if { (eval echo configure:13106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13100 rm -rf conftest* 13106 rm -rf conftest*
13101 echo "$ac_t""yes" 1>&6 13107 echo "$ac_t""yes" 1>&6
13102 { test "$extra_verbose" = "yes" && cat << \EOF 13108 { test "$extra_verbose" = "yes" && cat << \EOF
13103 Defining HAVE_H_ERRNO 13109 Defining HAVE_H_ERRNO
13104 EOF 13110 EOF
13114 echo "$ac_t""no" 1>&6 13120 echo "$ac_t""no" 1>&6
13115 fi 13121 fi
13116 rm -f conftest* 13122 rm -f conftest*
13117 13123
13118 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13124 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13119 echo "configure:13120: checking for sigsetjmp" >&5 13125 echo "configure:13126: checking for sigsetjmp" >&5
13120 cat > conftest.$ac_ext <<EOF 13126 cat > conftest.$ac_ext <<EOF
13121 #line 13122 "configure" 13127 #line 13128 "configure"
13122 #include "confdefs.h" 13128 #include "confdefs.h"
13123 #include <setjmp.h> 13129 #include <setjmp.h>
13124 int main() { 13130 int main() {
13125 sigjmp_buf bar; sigsetjmp (bar, 0); 13131 sigjmp_buf bar; sigsetjmp (bar, 0);
13126 ; return 0; } 13132 ; return 0; }
13127 EOF 13133 EOF
13128 if { (eval echo configure:13129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13134 if { (eval echo configure:13135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13129 rm -rf conftest* 13135 rm -rf conftest*
13130 echo "$ac_t""yes" 1>&6 13136 echo "$ac_t""yes" 1>&6
13131 { test "$extra_verbose" = "yes" && cat << \EOF 13137 { test "$extra_verbose" = "yes" && cat << \EOF
13132 Defining HAVE_SIGSETJMP 13138 Defining HAVE_SIGSETJMP
13133 EOF 13139 EOF
13143 echo "$ac_t""no" 1>&6 13149 echo "$ac_t""no" 1>&6
13144 fi 13150 fi
13145 rm -f conftest* 13151 rm -f conftest*
13146 13152
13147 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13153 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13148 echo "configure:13149: checking whether localtime caches TZ" >&5 13154 echo "configure:13155: checking whether localtime caches TZ" >&5
13149 13155
13150 if test "$ac_cv_func_tzset" = "yes"; then 13156 if test "$ac_cv_func_tzset" = "yes"; then
13151 cat > conftest.$ac_ext <<EOF 13157 cat > conftest.$ac_ext <<EOF
13152 #line 13153 "configure" 13158 #line 13159 "configure"
13153 #include "confdefs.h" 13159 #include "confdefs.h"
13154 #include <time.h> 13160 #include <time.h>
13155 #if STDC_HEADERS 13161 #if STDC_HEADERS
13156 # include <stdlib.h> 13162 # include <stdlib.h>
13157 #endif 13163 #endif
13182 if (localtime (&now)->tm_hour != hour_unset) 13188 if (localtime (&now)->tm_hour != hour_unset)
13183 exit (1); 13189 exit (1);
13184 exit (0); 13190 exit (0);
13185 } 13191 }
13186 EOF 13192 EOF
13187 if { (eval echo configure:13188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13188 then 13194 then
13189 emacs_cv_localtime_cache=no 13195 emacs_cv_localtime_cache=no
13190 else 13196 else
13191 conftest_rc="$?" 13197 conftest_rc="$?"
13192 echo "configure: failed program was:" >&5 13198 echo "configure: failed program was:" >&5
13212 13218
13213 fi 13219 fi
13214 13220
13215 if test "$HAVE_TIMEVAL" = "yes"; then 13221 if test "$HAVE_TIMEVAL" = "yes"; then
13216 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13222 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13217 echo "configure:13218: checking whether gettimeofday accepts one or two arguments" >&5 13223 echo "configure:13224: checking whether gettimeofday accepts one or two arguments" >&5
13218 cat > conftest.$ac_ext <<EOF 13224 cat > conftest.$ac_ext <<EOF
13219 #line 13220 "configure" 13225 #line 13226 "configure"
13220 #include "confdefs.h" 13226 #include "confdefs.h"
13221 13227
13222 #ifdef TIME_WITH_SYS_TIME 13228 #ifdef TIME_WITH_SYS_TIME
13223 #include <sys/time.h> 13229 #include <sys/time.h>
13224 #include <time.h> 13230 #include <time.h>
13235 struct timeval time; 13241 struct timeval time;
13236 gettimeofday (&time, 0); 13242 gettimeofday (&time, 0);
13237 13243
13238 ; return 0; } 13244 ; return 0; }
13239 EOF 13245 EOF
13240 if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13246 if { (eval echo configure:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13241 rm -rf conftest* 13247 rm -rf conftest*
13242 echo "$ac_t""two" 1>&6 13248 echo "$ac_t""two" 1>&6
13243 else 13249 else
13244 echo "configure: failed program was:" >&5 13250 echo "configure: failed program was:" >&5
13245 cat conftest.$ac_ext >&5 13251 cat conftest.$ac_ext >&5
13257 rm -f conftest* 13263 rm -f conftest*
13258 fi 13264 fi
13259 13265
13260 13266
13261 echo $ac_n "checking for inline""... $ac_c" 1>&6 13267 echo $ac_n "checking for inline""... $ac_c" 1>&6
13262 echo "configure:13263: checking for inline" >&5 13268 echo "configure:13269: checking for inline" >&5
13263 13269
13264 ac_cv_c_inline=no 13270 ac_cv_c_inline=no
13265 for ac_kw in inline __inline__ __inline; do 13271 for ac_kw in inline __inline__ __inline; do
13266 cat > conftest.$ac_ext <<EOF 13272 cat > conftest.$ac_ext <<EOF
13267 #line 13268 "configure" 13273 #line 13274 "configure"
13268 #include "confdefs.h" 13274 #include "confdefs.h"
13269 13275
13270 int main() { 13276 int main() {
13271 } $ac_kw foo() { 13277 } $ac_kw foo() {
13272 ; return 0; } 13278 ; return 0; }
13273 EOF 13279 EOF
13274 if { (eval echo configure:13275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13280 if { (eval echo configure:13281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13275 rm -rf conftest* 13281 rm -rf conftest*
13276 ac_cv_c_inline=$ac_kw; break 13282 ac_cv_c_inline=$ac_kw; break
13277 else 13283 else
13278 echo "configure: failed program was:" >&5 13284 echo "configure: failed program was:" >&5
13279 cat conftest.$ac_ext >&5 13285 cat conftest.$ac_ext >&5
13306 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13312 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13307 echo " xemacs will be linked with \"inline.o\"" 13313 echo " xemacs will be linked with \"inline.o\""
13308 fi 13314 fi
13309 13315
13310 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13316 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13311 echo "configure:13312: checking for typeof" >&5 13317 echo "configure:13318: checking for typeof" >&5
13312 cat > conftest.$ac_ext <<EOF 13318 cat > conftest.$ac_ext <<EOF
13313 #line 13314 "configure" 13319 #line 13320 "configure"
13314 #include "confdefs.h" 13320 #include "confdefs.h"
13315 13321
13316 int main() { 13322 int main() {
13317 int i; __typeof__(i) j; 13323 int i; __typeof__(i) j;
13318 ; return 0; } 13324 ; return 0; }
13319 EOF 13325 EOF
13320 if { (eval echo configure:13321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13326 if { (eval echo configure:13327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13321 rm -rf conftest* 13327 rm -rf conftest*
13322 typeofname="__typeof__" 13328 typeofname="__typeof__"
13323 else 13329 else
13324 echo "configure: failed program was:" >&5 13330 echo "configure: failed program was:" >&5
13325 cat conftest.$ac_ext >&5 13331 cat conftest.$ac_ext >&5
13326 rm -rf conftest* 13332 rm -rf conftest*
13327 cat > conftest.$ac_ext <<EOF 13333 cat > conftest.$ac_ext <<EOF
13328 #line 13329 "configure" 13334 #line 13335 "configure"
13329 #include "confdefs.h" 13335 #include "confdefs.h"
13330 13336
13331 int main() { 13337 int main() {
13332 int i; typeof(i) j; 13338 int i; typeof(i) j;
13333 ; return 0; } 13339 ; return 0; }
13334 EOF 13340 EOF
13335 if { (eval echo configure:13336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13341 if { (eval echo configure:13342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13336 rm -rf conftest* 13342 rm -rf conftest*
13337 typeofname="typeof" 13343 typeofname="typeof"
13338 else 13344 else
13339 echo "configure: failed program was:" >&5 13345 echo "configure: failed program was:" >&5
13340 cat conftest.$ac_ext >&5 13346 cat conftest.$ac_ext >&5
13359 13365
13360 if test "$__DECC" != "yes"; then 13366 if test "$__DECC" != "yes"; then
13361 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13367 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13362 # for constant arguments. Useless! 13368 # for constant arguments. Useless!
13363 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13369 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13364 echo "configure:13365: checking for working alloca.h" >&5 13370 echo "configure:13371: checking for working alloca.h" >&5
13365 13371
13366 cat > conftest.$ac_ext <<EOF 13372 cat > conftest.$ac_ext <<EOF
13367 #line 13368 "configure" 13373 #line 13374 "configure"
13368 #include "confdefs.h" 13374 #include "confdefs.h"
13369 #include <alloca.h> 13375 #include <alloca.h>
13370 int main() { 13376 int main() {
13371 char *p = alloca(2 * sizeof(int)); 13377 char *p = alloca(2 * sizeof(int));
13372 ; return 0; } 13378 ; return 0; }
13373 EOF 13379 EOF
13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13380 if { (eval echo configure:13381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13375 rm -rf conftest* 13381 rm -rf conftest*
13376 ac_cv_header_alloca_h=yes 13382 ac_cv_header_alloca_h=yes
13377 else 13383 else
13378 echo "configure: failed program was:" >&5 13384 echo "configure: failed program was:" >&5
13379 cat conftest.$ac_ext >&5 13385 cat conftest.$ac_ext >&5
13393 } 13399 }
13394 13400
13395 fi 13401 fi
13396 13402
13397 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13403 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13398 echo "configure:13399: checking for alloca" >&5 13404 echo "configure:13405: checking for alloca" >&5
13399 13405
13400 cat > conftest.$ac_ext <<EOF 13406 cat > conftest.$ac_ext <<EOF
13401 #line 13402 "configure" 13407 #line 13408 "configure"
13402 #include "confdefs.h" 13408 #include "confdefs.h"
13403 13409
13404 #ifdef __GNUC__ 13410 #ifdef __GNUC__
13405 # define alloca __builtin_alloca 13411 # define alloca __builtin_alloca
13406 #else 13412 #else
13424 13430
13425 int main() { 13431 int main() {
13426 char *p = (char *) alloca(1); 13432 char *p = (char *) alloca(1);
13427 ; return 0; } 13433 ; return 0; }
13428 EOF 13434 EOF
13429 if { (eval echo configure:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13435 if { (eval echo configure:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13430 rm -rf conftest* 13436 rm -rf conftest*
13431 ac_cv_func_alloca_works=yes 13437 ac_cv_func_alloca_works=yes
13432 else 13438 else
13433 echo "configure: failed program was:" >&5 13439 echo "configure: failed program was:" >&5
13434 cat conftest.$ac_ext >&5 13440 cat conftest.$ac_ext >&5
13463 EOF 13469 EOF
13464 } 13470 }
13465 13471
13466 13472
13467 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13473 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13468 echo "configure:13469: checking whether alloca needs Cray hooks" >&5 13474 echo "configure:13475: checking whether alloca needs Cray hooks" >&5
13469 13475
13470 cat > conftest.$ac_ext <<EOF 13476 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure" 13477 #line 13478 "configure"
13472 #include "confdefs.h" 13478 #include "confdefs.h"
13473 #if defined(CRAY) && ! defined(CRAY2) 13479 #if defined(CRAY) && ! defined(CRAY2)
13474 webecray 13480 webecray
13475 #else 13481 #else
13476 wenotbecray 13482 wenotbecray
13490 13496
13491 echo "$ac_t""$ac_cv_os_cray" 1>&6 13497 echo "$ac_t""$ac_cv_os_cray" 1>&6
13492 if test $ac_cv_os_cray = yes; then 13498 if test $ac_cv_os_cray = yes; then
13493 for ac_func in _getb67 GETB67 getb67; do 13499 for ac_func in _getb67 GETB67 getb67; do
13494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13495 echo "configure:13496: checking for $ac_func" >&5 13501 echo "configure:13502: checking for $ac_func" >&5
13496 13502
13497 cat > conftest.$ac_ext <<EOF 13503 cat > conftest.$ac_ext <<EOF
13498 #line 13499 "configure" 13504 #line 13505 "configure"
13499 #include "confdefs.h" 13505 #include "confdefs.h"
13500 /* System header to define __stub macros and hopefully few prototypes, 13506 /* System header to define __stub macros and hopefully few prototypes,
13501 which can conflict with char $ac_func(); below. */ 13507 which can conflict with char $ac_func(); below. */
13502 #include <assert.h> 13508 #include <assert.h>
13503 /* Override any gcc2 internal prototype to avoid an error. */ 13509 /* Override any gcc2 internal prototype to avoid an error. */
13516 $ac_func(); 13522 $ac_func();
13517 #endif 13523 #endif
13518 13524
13519 ; return 0; } 13525 ; return 0; }
13520 EOF 13526 EOF
13521 if { (eval echo configure:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13527 if { (eval echo configure:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13522 rm -rf conftest* 13528 rm -rf conftest*
13523 eval "ac_cv_func_$ac_func=yes" 13529 eval "ac_cv_func_$ac_func=yes"
13524 else 13530 else
13525 echo "configure: failed program was:" >&5 13531 echo "configure: failed program was:" >&5
13526 cat conftest.$ac_ext >&5 13532 cat conftest.$ac_ext >&5
13546 13552
13547 done 13553 done
13548 fi 13554 fi
13549 13555
13550 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13556 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13551 echo "configure:13552: checking stack direction for C alloca" >&5 13557 echo "configure:13558: checking stack direction for C alloca" >&5
13552 13558
13553 cat > conftest.$ac_ext <<EOF 13559 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure" 13560 #line 13561 "configure"
13555 #include "confdefs.h" 13561 #include "confdefs.h"
13556 find_stack_direction () 13562 find_stack_direction ()
13557 { 13563 {
13558 static char *addr = 0; 13564 static char *addr = 0;
13559 auto char dummy; 13565 auto char dummy;
13568 main () 13574 main ()
13569 { 13575 {
13570 exit (find_stack_direction() < 0); 13576 exit (find_stack_direction() < 0);
13571 } 13577 }
13572 EOF 13578 EOF
13573 if { (eval echo configure:13574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13579 if { (eval echo configure:13580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13574 then 13580 then
13575 ac_cv_c_stack_direction=1 13581 ac_cv_c_stack_direction=1
13576 else 13582 else
13577 conftest_rc="$?" 13583 conftest_rc="$?"
13578 echo "configure: failed program was:" >&5 13584 echo "configure: failed program was:" >&5
13597 echo " xemacs will be linked with \"$ALLOCA\"" 13603 echo " xemacs will be linked with \"$ALLOCA\""
13598 fi 13604 fi
13599 fi 13605 fi
13600 13606
13601 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13607 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13602 echo "configure:13603: checking for working alloca in function calls" >&5 13608 echo "configure:13609: checking for working alloca in function calls" >&5
13603 cat > conftest.$ac_ext <<EOF 13609 cat > conftest.$ac_ext <<EOF
13604 #line 13605 "configure" 13610 #line 13611 "configure"
13605 #include "confdefs.h" 13611 #include "confdefs.h"
13606 13612
13607 #if defined (__CYGWIN__) 13613 #if defined (__CYGWIN__)
13608 #include <alloca.h> 13614 #include <alloca.h>
13609 #elif defined (__GNUC__) 13615 #elif defined (__GNUC__)
13652 return 1; 13658 return 1;
13653 return 0; 13659 return 0;
13654 } 13660 }
13655 13661
13656 EOF 13662 EOF
13657 if { (eval echo configure:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13663 if { (eval echo configure:13664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13658 then 13664 then
13659 working_alloca_in_function_calls=yes 13665 working_alloca_in_function_calls=yes
13660 else 13666 else
13661 conftest_rc="$?" 13667 conftest_rc="$?"
13662 echo "configure: failed program was:" >&5 13668 echo "configure: failed program was:" >&5
13675 EOF 13681 EOF
13676 } 13682 }
13677 13683
13678 13684
13679 echo $ac_n "checking for working scanf""... $ac_c" 1>&6 13685 echo $ac_n "checking for working scanf""... $ac_c" 1>&6
13680 echo "configure:13681: checking for working scanf" >&5 13686 echo "configure:13687: checking for working scanf" >&5
13681 cat > conftest.$ac_ext <<EOF 13687 cat > conftest.$ac_ext <<EOF
13682 #line 13683 "configure" 13688 #line 13689 "configure"
13683 #include "confdefs.h" 13689 #include "confdefs.h"
13684 13690
13685 int 13691 int
13686 main (int argc, char **argv) 13692 main (int argc, char **argv)
13687 { 13693 {
13692 this breaks unicode.c */ 13698 this breaks unicode.c */
13693 return endcount != 13; 13699 return endcount != 13;
13694 } 13700 }
13695 13701
13696 EOF 13702 EOF
13697 if { (eval echo configure:13698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13698 then 13704 then
13699 working_scanf=yes 13705 working_scanf=yes
13700 else 13706 else
13701 conftest_rc="$?" 13707 conftest_rc="$?"
13702 echo "configure: failed program was:" >&5 13708 echo "configure: failed program was:" >&5
13715 EOF 13721 EOF
13716 } 13722 }
13717 13723
13718 13724
13719 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13725 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13720 echo "configure:13721: checking for working strcoll" >&5 13726 echo "configure:13727: checking for working strcoll" >&5
13721 13727
13722 cat > conftest.$ac_ext <<EOF 13728 cat > conftest.$ac_ext <<EOF
13723 #line 13724 "configure" 13729 #line 13730 "configure"
13724 #include "confdefs.h" 13730 #include "confdefs.h"
13725 #include <string.h> 13731 #include <string.h>
13726 main () 13732 main ()
13727 { 13733 {
13728 exit (strcoll ("abc", "def") >= 0 || 13734 exit (strcoll ("abc", "def") >= 0 ||
13729 strcoll ("ABC", "DEF") >= 0 || 13735 strcoll ("ABC", "DEF") >= 0 ||
13730 strcoll ("123", "456") >= 0); 13736 strcoll ("123", "456") >= 0);
13731 } 13737 }
13732 EOF 13738 EOF
13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13734 then 13740 then
13735 ac_cv_func_strcoll_works=yes 13741 ac_cv_func_strcoll_works=yes
13736 else 13742 else
13737 conftest_rc="$?" 13743 conftest_rc="$?"
13738 echo "configure: failed program was:" >&5 13744 echo "configure: failed program was:" >&5
13756 13762
13757 13763
13758 for ac_func in getpgrp 13764 for ac_func in getpgrp
13759 do 13765 do
13760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13761 echo "configure:13762: checking for $ac_func" >&5 13767 echo "configure:13768: checking for $ac_func" >&5
13762 13768
13763 cat > conftest.$ac_ext <<EOF 13769 cat > conftest.$ac_ext <<EOF
13764 #line 13765 "configure" 13770 #line 13771 "configure"
13765 #include "confdefs.h" 13771 #include "confdefs.h"
13766 /* System header to define __stub macros and hopefully few prototypes, 13772 /* System header to define __stub macros and hopefully few prototypes,
13767 which can conflict with char $ac_func(); below. */ 13773 which can conflict with char $ac_func(); below. */
13768 #include <assert.h> 13774 #include <assert.h>
13769 /* Override any gcc2 internal prototype to avoid an error. */ 13775 /* Override any gcc2 internal prototype to avoid an error. */
13782 $ac_func(); 13788 $ac_func();
13783 #endif 13789 #endif
13784 13790
13785 ; return 0; } 13791 ; return 0; }
13786 EOF 13792 EOF
13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13793 if { (eval echo configure:13794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13788 rm -rf conftest* 13794 rm -rf conftest*
13789 eval "ac_cv_func_$ac_func=yes" 13795 eval "ac_cv_func_$ac_func=yes"
13790 else 13796 else
13791 echo "configure: failed program was:" >&5 13797 echo "configure: failed program was:" >&5
13792 cat conftest.$ac_ext >&5 13798 cat conftest.$ac_ext >&5
13810 echo "$ac_t""no" 1>&6 13816 echo "$ac_t""no" 1>&6
13811 fi 13817 fi
13812 done 13818 done
13813 13819
13814 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13820 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13815 echo "configure:13816: checking whether getpgrp takes no argument" >&5 13821 echo "configure:13822: checking whether getpgrp takes no argument" >&5
13816 13822
13817 cat > conftest.$ac_ext <<EOF 13823 cat > conftest.$ac_ext <<EOF
13818 #line 13819 "configure" 13824 #line 13825 "configure"
13819 #include "confdefs.h" 13825 #include "confdefs.h"
13820 13826
13821 /* 13827 /*
13822 * If this system has a BSD-style getpgrp(), 13828 * If this system has a BSD-style getpgrp(),
13823 * which takes a pid argument, exit unsuccessfully. 13829 * which takes a pid argument, exit unsuccessfully.
13868 exit(s>>8); 13874 exit(s>>8);
13869 } 13875 }
13870 } 13876 }
13871 13877
13872 EOF 13878 EOF
13873 if { (eval echo configure:13874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13879 if { (eval echo configure:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13874 then 13880 then
13875 ac_cv_func_getpgrp_void=yes 13881 ac_cv_func_getpgrp_void=yes
13876 else 13882 else
13877 conftest_rc="$?" 13883 conftest_rc="$?"
13878 echo "configure: failed program was:" >&5 13884 echo "configure: failed program was:" >&5
13895 13901
13896 fi 13902 fi
13897 13903
13898 13904
13899 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13905 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13900 echo "configure:13901: checking for working mmap" >&5 13906 echo "configure:13907: checking for working mmap" >&5
13901 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13907 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13902 cat > conftest.$ac_ext <<EOF 13908 cat > conftest.$ac_ext <<EOF
13903 #line 13904 "configure" 13909 #line 13910 "configure"
13904 #include "confdefs.h" 13910 #include "confdefs.h"
13905 #include <stdio.h> 13911 #include <stdio.h>
13906 #include <unistd.h> 13912 #include <unistd.h>
13907 #include <fcntl.h> 13913 #include <fcntl.h>
13908 #include <sys/mman.h> 13914 #include <sys/mman.h>
13931 return 0; 13937 return 0;
13932 perror ("conftest: mmap failed"); 13938 perror ("conftest: mmap failed");
13933 return 1; 13939 return 1;
13934 } 13940 }
13935 EOF 13941 EOF
13936 if { (eval echo configure:13937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13942 if { (eval echo configure:13943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13937 then 13943 then
13938 have_mmap=yes 13944 have_mmap=yes
13939 else 13945 else
13940 conftest_rc="$?" 13946 conftest_rc="$?"
13941 echo "configure: failed program was:" >&5 13947 echo "configure: failed program was:" >&5
13960 esac 13966 esac
13961 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13967 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13962 if test "$rel_alloc $have_mmap" = "default yes"; then 13968 if test "$rel_alloc $have_mmap" = "default yes"; then
13963 if test "$doug_lea_malloc" = "yes"; then 13969 if test "$doug_lea_malloc" = "yes"; then
13964 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13970 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13965 echo "configure:13966: checking for M_MMAP_THRESHOLD" >&5 13971 echo "configure:13972: checking for M_MMAP_THRESHOLD" >&5
13966 cat > conftest.$ac_ext <<EOF 13972 cat > conftest.$ac_ext <<EOF
13967 #line 13968 "configure" 13973 #line 13974 "configure"
13968 #include "confdefs.h" 13974 #include "confdefs.h"
13969 #include <malloc.h> 13975 #include <malloc.h>
13970 int main() { 13976 int main() {
13971 13977
13972 #ifndef M_MMAP_THRESHOLD 13978 #ifndef M_MMAP_THRESHOLD
13974 !@+$%^&*_)(_ - unlikely to compile... 13980 !@+$%^&*_)(_ - unlikely to compile...
13975 #endif 13981 #endif
13976 13982
13977 ; return 0; } 13983 ; return 0; }
13978 EOF 13984 EOF
13979 if { (eval echo configure:13980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13985 if { (eval echo configure:13986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13980 rm -rf conftest* 13986 rm -rf conftest*
13981 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13987 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13982 else 13988 else
13983 echo "configure: failed program was:" >&5 13989 echo "configure: failed program was:" >&5
13984 cat conftest.$ac_ext >&5 13990 cat conftest.$ac_ext >&5
13999 } 14005 }
14000 14006
14001 14007
14002 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 14008 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
14003 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 14009 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
14004 echo "configure:14005: checking for termios.h" >&5 14010 echo "configure:14011: checking for termios.h" >&5
14005 14011
14006 cat > conftest.$ac_ext <<EOF 14012 cat > conftest.$ac_ext <<EOF
14007 #line 14008 "configure" 14013 #line 14014 "configure"
14008 #include "confdefs.h" 14014 #include "confdefs.h"
14009 #include <termios.h> 14015 #include <termios.h>
14010 EOF 14016 EOF
14011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14012 { (eval echo configure:14013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14018 { (eval echo configure:14019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14014 if test -z "$ac_err"; then 14020 if test -z "$ac_err"; then
14015 rm -rf conftest* 14021 rm -rf conftest*
14016 eval "ac_cv_header_$ac_safe=yes" 14022 eval "ac_cv_header_$ac_safe=yes"
14017 else 14023 else
14050 14056
14051 else 14057 else
14052 echo "$ac_t""no" 1>&6 14058 echo "$ac_t""no" 1>&6
14053 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 14059 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
14054 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 14060 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
14055 echo "configure:14056: checking for termio.h" >&5 14061 echo "configure:14062: checking for termio.h" >&5
14056 14062
14057 cat > conftest.$ac_ext <<EOF 14063 cat > conftest.$ac_ext <<EOF
14058 #line 14059 "configure" 14064 #line 14065 "configure"
14059 #include "confdefs.h" 14065 #include "confdefs.h"
14060 #include <termio.h> 14066 #include <termio.h>
14061 EOF 14067 EOF
14062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14063 { (eval echo configure:14064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14069 { (eval echo configure:14070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14065 if test -z "$ac_err"; then 14071 if test -z "$ac_err"; then
14066 rm -rf conftest* 14072 rm -rf conftest*
14067 eval "ac_cv_header_$ac_safe=yes" 14073 eval "ac_cv_header_$ac_safe=yes"
14068 else 14074 else
14090 fi 14096 fi
14091 14097
14092 14098
14093 14099
14094 echo $ac_n "checking for socket""... $ac_c" 1>&6 14100 echo $ac_n "checking for socket""... $ac_c" 1>&6
14095 echo "configure:14096: checking for socket" >&5 14101 echo "configure:14102: checking for socket" >&5
14096 14102
14097 cat > conftest.$ac_ext <<EOF 14103 cat > conftest.$ac_ext <<EOF
14098 #line 14099 "configure" 14104 #line 14105 "configure"
14099 #include "confdefs.h" 14105 #include "confdefs.h"
14100 /* System header to define __stub macros and hopefully few prototypes, 14106 /* System header to define __stub macros and hopefully few prototypes,
14101 which can conflict with char socket(); below. */ 14107 which can conflict with char socket(); below. */
14102 #include <assert.h> 14108 #include <assert.h>
14103 /* Override any gcc2 internal prototype to avoid an error. */ 14109 /* Override any gcc2 internal prototype to avoid an error. */
14116 socket(); 14122 socket();
14117 #endif 14123 #endif
14118 14124
14119 ; return 0; } 14125 ; return 0; }
14120 EOF 14126 EOF
14121 if { (eval echo configure:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14127 if { (eval echo configure:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14122 rm -rf conftest* 14128 rm -rf conftest*
14123 eval "ac_cv_func_socket=yes" 14129 eval "ac_cv_func_socket=yes"
14124 else 14130 else
14125 echo "configure: failed program was:" >&5 14131 echo "configure: failed program was:" >&5
14126 cat conftest.$ac_ext >&5 14132 cat conftest.$ac_ext >&5
14131 14137
14132 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 14138 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
14133 echo "$ac_t""yes" 1>&6 14139 echo "$ac_t""yes" 1>&6
14134 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 14140 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
14135 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 14141 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
14136 echo "configure:14137: checking for netinet/in.h" >&5 14142 echo "configure:14143: checking for netinet/in.h" >&5
14137 14143
14138 cat > conftest.$ac_ext <<EOF 14144 cat > conftest.$ac_ext <<EOF
14139 #line 14140 "configure" 14145 #line 14146 "configure"
14140 #include "confdefs.h" 14146 #include "confdefs.h"
14141 #include <netinet/in.h> 14147 #include <netinet/in.h>
14142 EOF 14148 EOF
14143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14144 { (eval echo configure:14145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14150 { (eval echo configure:14151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14146 if test -z "$ac_err"; then 14152 if test -z "$ac_err"; then
14147 rm -rf conftest* 14153 rm -rf conftest*
14148 eval "ac_cv_header_$ac_safe=yes" 14154 eval "ac_cv_header_$ac_safe=yes"
14149 else 14155 else
14156 rm -f conftest* 14162 rm -f conftest*
14157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14163 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14158 echo "$ac_t""yes" 1>&6 14164 echo "$ac_t""yes" 1>&6
14159 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14165 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14160 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14166 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14161 echo "configure:14162: checking for arpa/inet.h" >&5 14167 echo "configure:14168: checking for arpa/inet.h" >&5
14162 14168
14163 cat > conftest.$ac_ext <<EOF 14169 cat > conftest.$ac_ext <<EOF
14164 #line 14165 "configure" 14170 #line 14171 "configure"
14165 #include "confdefs.h" 14171 #include "confdefs.h"
14166 #include <arpa/inet.h> 14172 #include <arpa/inet.h>
14167 EOF 14173 EOF
14168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14169 { (eval echo configure:14170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14175 { (eval echo configure:14176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14171 if test -z "$ac_err"; then 14177 if test -z "$ac_err"; then
14172 rm -rf conftest* 14178 rm -rf conftest*
14173 eval "ac_cv_header_$ac_safe=yes" 14179 eval "ac_cv_header_$ac_safe=yes"
14174 else 14180 else
14189 #define HAVE_SOCKETS 1 14195 #define HAVE_SOCKETS 1
14190 EOF 14196 EOF
14191 } 14197 }
14192 14198
14193 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14199 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14194 echo "configure:14195: checking "for sun_len member in struct sockaddr_un"" >&5 14200 echo "configure:14201: checking "for sun_len member in struct sockaddr_un"" >&5
14195 cat > conftest.$ac_ext <<EOF 14201 cat > conftest.$ac_ext <<EOF
14196 #line 14197 "configure" 14202 #line 14203 "configure"
14197 #include "confdefs.h" 14203 #include "confdefs.h"
14198 14204
14199 #include <sys/types.h> 14205 #include <sys/types.h>
14200 #include <sys/socket.h> 14206 #include <sys/socket.h>
14201 #include <sys/un.h> 14207 #include <sys/un.h>
14202 14208
14203 int main() { 14209 int main() {
14204 static struct sockaddr_un x; x.sun_len = 1; 14210 static struct sockaddr_un x; x.sun_len = 1;
14205 ; return 0; } 14211 ; return 0; }
14206 EOF 14212 EOF
14207 if { (eval echo configure:14208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14208 rm -rf conftest* 14214 rm -rf conftest*
14209 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14215 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14210 Defining HAVE_SOCKADDR_SUN_LEN 14216 Defining HAVE_SOCKADDR_SUN_LEN
14211 EOF 14217 EOF
14212 cat >> confdefs.h <<\EOF 14218 cat >> confdefs.h <<\EOF
14220 rm -rf conftest* 14226 rm -rf conftest*
14221 echo "$ac_t""no" 1>&6 14227 echo "$ac_t""no" 1>&6
14222 fi 14228 fi
14223 rm -f conftest* 14229 rm -f conftest*
14224 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14230 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14225 echo "configure:14226: checking "for ip_mreq struct in netinet/in.h"" >&5 14231 echo "configure:14232: checking "for ip_mreq struct in netinet/in.h"" >&5
14226 cat > conftest.$ac_ext <<EOF 14232 cat > conftest.$ac_ext <<EOF
14227 #line 14228 "configure" 14233 #line 14234 "configure"
14228 #include "confdefs.h" 14234 #include "confdefs.h"
14229 14235
14230 #include <sys/types.h> 14236 #include <sys/types.h>
14231 #include <netinet/in.h> 14237 #include <netinet/in.h>
14232 14238
14233 int main() { 14239 int main() {
14234 static struct ip_mreq x; 14240 static struct ip_mreq x;
14235 ; return 0; } 14241 ; return 0; }
14236 EOF 14242 EOF
14237 if { (eval echo configure:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14238 rm -rf conftest* 14244 rm -rf conftest*
14239 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14245 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14240 Defining HAVE_MULTICAST 14246 Defining HAVE_MULTICAST
14241 EOF 14247 EOF
14242 cat >> confdefs.h <<\EOF 14248 cat >> confdefs.h <<\EOF
14263 echo "$ac_t""no" 1>&6 14269 echo "$ac_t""no" 1>&6
14264 fi 14270 fi
14265 14271
14266 14272
14267 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14273 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14268 echo "configure:14269: checking for msgget" >&5 14274 echo "configure:14275: checking for msgget" >&5
14269 14275
14270 cat > conftest.$ac_ext <<EOF 14276 cat > conftest.$ac_ext <<EOF
14271 #line 14272 "configure" 14277 #line 14278 "configure"
14272 #include "confdefs.h" 14278 #include "confdefs.h"
14273 /* System header to define __stub macros and hopefully few prototypes, 14279 /* System header to define __stub macros and hopefully few prototypes,
14274 which can conflict with char msgget(); below. */ 14280 which can conflict with char msgget(); below. */
14275 #include <assert.h> 14281 #include <assert.h>
14276 /* Override any gcc2 internal prototype to avoid an error. */ 14282 /* Override any gcc2 internal prototype to avoid an error. */
14289 msgget(); 14295 msgget();
14290 #endif 14296 #endif
14291 14297
14292 ; return 0; } 14298 ; return 0; }
14293 EOF 14299 EOF
14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14300 if { (eval echo configure:14301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14295 rm -rf conftest* 14301 rm -rf conftest*
14296 eval "ac_cv_func_msgget=yes" 14302 eval "ac_cv_func_msgget=yes"
14297 else 14303 else
14298 echo "configure: failed program was:" >&5 14304 echo "configure: failed program was:" >&5
14299 cat conftest.$ac_ext >&5 14305 cat conftest.$ac_ext >&5
14304 14310
14305 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14311 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14306 echo "$ac_t""yes" 1>&6 14312 echo "$ac_t""yes" 1>&6
14307 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14313 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14308 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14314 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14309 echo "configure:14310: checking for sys/ipc.h" >&5 14315 echo "configure:14316: checking for sys/ipc.h" >&5
14310 14316
14311 cat > conftest.$ac_ext <<EOF 14317 cat > conftest.$ac_ext <<EOF
14312 #line 14313 "configure" 14318 #line 14319 "configure"
14313 #include "confdefs.h" 14319 #include "confdefs.h"
14314 #include <sys/ipc.h> 14320 #include <sys/ipc.h>
14315 EOF 14321 EOF
14316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14317 { (eval echo configure:14318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14323 { (eval echo configure:14324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14319 if test -z "$ac_err"; then 14325 if test -z "$ac_err"; then
14320 rm -rf conftest* 14326 rm -rf conftest*
14321 eval "ac_cv_header_$ac_safe=yes" 14327 eval "ac_cv_header_$ac_safe=yes"
14322 else 14328 else
14329 rm -f conftest* 14335 rm -f conftest*
14330 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14331 echo "$ac_t""yes" 1>&6 14337 echo "$ac_t""yes" 1>&6
14332 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14338 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14333 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14339 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14334 echo "configure:14335: checking for sys/msg.h" >&5 14340 echo "configure:14341: checking for sys/msg.h" >&5
14335 14341
14336 cat > conftest.$ac_ext <<EOF 14342 cat > conftest.$ac_ext <<EOF
14337 #line 14338 "configure" 14343 #line 14344 "configure"
14338 #include "confdefs.h" 14344 #include "confdefs.h"
14339 #include <sys/msg.h> 14345 #include <sys/msg.h>
14340 EOF 14346 EOF
14341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14342 { (eval echo configure:14343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14348 { (eval echo configure:14349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14344 if test -z "$ac_err"; then 14350 if test -z "$ac_err"; then
14345 rm -rf conftest* 14351 rm -rf conftest*
14346 eval "ac_cv_header_$ac_safe=yes" 14352 eval "ac_cv_header_$ac_safe=yes"
14347 else 14353 else
14375 fi 14381 fi
14376 14382
14377 14383
14378 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14384 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14379 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14385 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14380 echo "configure:14381: checking for dirent.h" >&5 14386 echo "configure:14387: checking for dirent.h" >&5
14381 14387
14382 cat > conftest.$ac_ext <<EOF 14388 cat > conftest.$ac_ext <<EOF
14383 #line 14384 "configure" 14389 #line 14390 "configure"
14384 #include "confdefs.h" 14390 #include "confdefs.h"
14385 #include <dirent.h> 14391 #include <dirent.h>
14386 EOF 14392 EOF
14387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14388 { (eval echo configure:14389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14394 { (eval echo configure:14395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14390 if test -z "$ac_err"; then 14396 if test -z "$ac_err"; then
14391 rm -rf conftest* 14397 rm -rf conftest*
14392 eval "ac_cv_header_$ac_safe=yes" 14398 eval "ac_cv_header_$ac_safe=yes"
14393 else 14399 else
14410 14416
14411 else 14417 else
14412 echo "$ac_t""no" 1>&6 14418 echo "$ac_t""no" 1>&6
14413 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14419 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14414 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14420 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14415 echo "configure:14416: checking for sys/dir.h" >&5 14421 echo "configure:14422: checking for sys/dir.h" >&5
14416 14422
14417 cat > conftest.$ac_ext <<EOF 14423 cat > conftest.$ac_ext <<EOF
14418 #line 14419 "configure" 14424 #line 14425 "configure"
14419 #include "confdefs.h" 14425 #include "confdefs.h"
14420 #include <sys/dir.h> 14426 #include <sys/dir.h>
14421 EOF 14427 EOF
14422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14423 { (eval echo configure:14424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14429 { (eval echo configure:14430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14425 if test -z "$ac_err"; then 14431 if test -z "$ac_err"; then
14426 rm -rf conftest* 14432 rm -rf conftest*
14427 eval "ac_cv_header_$ac_safe=yes" 14433 eval "ac_cv_header_$ac_safe=yes"
14428 else 14434 else
14451 fi 14457 fi
14452 14458
14453 14459
14454 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14460 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14455 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14461 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14456 echo "configure:14457: checking for nlist.h" >&5 14462 echo "configure:14463: checking for nlist.h" >&5
14457 14463
14458 cat > conftest.$ac_ext <<EOF 14464 cat > conftest.$ac_ext <<EOF
14459 #line 14460 "configure" 14465 #line 14466 "configure"
14460 #include "confdefs.h" 14466 #include "confdefs.h"
14461 #include <nlist.h> 14467 #include <nlist.h>
14462 EOF 14468 EOF
14463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14464 { (eval echo configure:14465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14470 { (eval echo configure:14471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14466 if test -z "$ac_err"; then 14472 if test -z "$ac_err"; then
14467 rm -rf conftest* 14473 rm -rf conftest*
14468 eval "ac_cv_header_$ac_safe=yes" 14474 eval "ac_cv_header_$ac_safe=yes"
14469 else 14475 else
14489 fi 14495 fi
14490 14496
14491 14497
14492 14498
14493 echo "checking "for sound support"" 1>&6 14499 echo "checking "for sound support"" 1>&6
14494 echo "configure:14495: checking "for sound support"" >&5 14500 echo "configure:14501: checking "for sound support"" >&5
14495 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14501 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14496 14502
14497 if test "$with_native_sound" != "no"; then 14503 if test "$with_native_sound" != "no"; then
14498 if test -n "$native_sound_lib"; then 14504 if test -n "$native_sound_lib"; then
14499 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14505 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14500 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14506 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14501 echo "configure:14502: checking for multimedia/audio_device.h" >&5 14507 echo "configure:14508: checking for multimedia/audio_device.h" >&5
14502 14508
14503 cat > conftest.$ac_ext <<EOF 14509 cat > conftest.$ac_ext <<EOF
14504 #line 14505 "configure" 14510 #line 14511 "configure"
14505 #include "confdefs.h" 14511 #include "confdefs.h"
14506 #include <multimedia/audio_device.h> 14512 #include <multimedia/audio_device.h>
14507 EOF 14513 EOF
14508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14509 { (eval echo configure:14510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14515 { (eval echo configure:14516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14511 if test -z "$ac_err"; then 14517 if test -z "$ac_err"; then
14512 rm -rf conftest* 14518 rm -rf conftest*
14513 eval "ac_cv_header_$ac_safe=yes" 14519 eval "ac_cv_header_$ac_safe=yes"
14514 else 14520 else
14560 case "$canonical" in 14566 case "$canonical" in
14561 *-sgi-* ) 14567 *-sgi-* )
14562 if test -z "$native_sound_lib"; then 14568 if test -z "$native_sound_lib"; then
14563 14569
14564 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14570 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14565 echo "configure:14566: checking for ALopenport in -laudio" >&5 14571 echo "configure:14572: checking for ALopenport in -laudio" >&5
14566 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14572 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14567 14573
14568 xe_check_libs=" -laudio " 14574 xe_check_libs=" -laudio "
14569 cat > conftest.$ac_ext <<EOF 14575 cat > conftest.$ac_ext <<EOF
14570 #line 14571 "configure" 14576 #line 14577 "configure"
14571 #include "confdefs.h" 14577 #include "confdefs.h"
14572 /* Override any gcc2 internal prototype to avoid an error. */ 14578 /* Override any gcc2 internal prototype to avoid an error. */
14573 /* We use char because int might match the return type of a gcc2 14579 /* We use char because int might match the return type of a gcc2
14574 builtin and then its argument prototype would still apply. */ 14580 builtin and then its argument prototype would still apply. */
14575 char ALopenport(); 14581 char ALopenport();
14576 14582
14577 int main() { 14583 int main() {
14578 ALopenport() 14584 ALopenport()
14579 ; return 0; } 14585 ; return 0; }
14580 EOF 14586 EOF
14581 if { (eval echo configure:14582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14582 rm -rf conftest* 14588 rm -rf conftest*
14583 eval "ac_cv_lib_$ac_lib_var=yes" 14589 eval "ac_cv_lib_$ac_lib_var=yes"
14584 else 14590 else
14585 echo "configure: failed program was:" >&5 14591 echo "configure: failed program was:" >&5
14586 cat conftest.$ac_ext >&5 14592 cat conftest.$ac_ext >&5
14607 fi ;; 14613 fi ;;
14608 hppa*-hp-hpux* ) 14614 hppa*-hp-hpux* )
14609 if test -z "$native_sound_lib"; then 14615 if test -z "$native_sound_lib"; then
14610 14616
14611 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14617 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14612 echo "configure:14613: checking for AOpenAudio in -lAlib" >&5 14618 echo "configure:14619: checking for AOpenAudio in -lAlib" >&5
14613 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14619 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14614 14620
14615 xe_check_libs=" -lAlib " 14621 xe_check_libs=" -lAlib "
14616 cat > conftest.$ac_ext <<EOF 14622 cat > conftest.$ac_ext <<EOF
14617 #line 14618 "configure" 14623 #line 14624 "configure"
14618 #include "confdefs.h" 14624 #include "confdefs.h"
14619 /* Override any gcc2 internal prototype to avoid an error. */ 14625 /* Override any gcc2 internal prototype to avoid an error. */
14620 /* We use char because int might match the return type of a gcc2 14626 /* We use char because int might match the return type of a gcc2
14621 builtin and then its argument prototype would still apply. */ 14627 builtin and then its argument prototype would still apply. */
14622 char AOpenAudio(); 14628 char AOpenAudio();
14623 14629
14624 int main() { 14630 int main() {
14625 AOpenAudio() 14631 AOpenAudio()
14626 ; return 0; } 14632 ; return 0; }
14627 EOF 14633 EOF
14628 if { (eval echo configure:14629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14629 rm -rf conftest* 14635 rm -rf conftest*
14630 eval "ac_cv_lib_$ac_lib_var=yes" 14636 eval "ac_cv_lib_$ac_lib_var=yes"
14631 else 14637 else
14632 echo "configure: failed program was:" >&5 14638 echo "configure: failed program was:" >&5
14633 cat conftest.$ac_ext >&5 14639 cat conftest.$ac_ext >&5
14671 14677
14672 if test -z "$sound_found"; then 14678 if test -z "$sound_found"; then
14673 for dir in "machine" "sys" "linux"; do 14679 for dir in "machine" "sys" "linux"; do
14674 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14680 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14675 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14681 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14676 echo "configure:14677: checking for ${dir}/soundcard.h" >&5 14682 echo "configure:14683: checking for ${dir}/soundcard.h" >&5
14677 14683
14678 cat > conftest.$ac_ext <<EOF 14684 cat > conftest.$ac_ext <<EOF
14679 #line 14680 "configure" 14685 #line 14686 "configure"
14680 #include "confdefs.h" 14686 #include "confdefs.h"
14681 #include <${dir}/soundcard.h> 14687 #include <${dir}/soundcard.h>
14682 EOF 14688 EOF
14683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14684 { (eval echo configure:14685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14690 { (eval echo configure:14691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14686 if test -z "$ac_err"; then 14692 if test -z "$ac_err"; then
14687 rm -rf conftest* 14693 rm -rf conftest*
14688 eval "ac_cv_header_$ac_safe=yes" 14694 eval "ac_cv_header_$ac_safe=yes"
14689 else 14695 else
14721 with_native_sound=yes 14727 with_native_sound=yes
14722 14728
14723 if test "$opsys" = "netbsd" ; then 14729 if test "$opsys" = "netbsd" ; then
14724 14730
14725 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 14731 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
14726 echo "configure:14727: checking for _oss_ioctl in -lossaudio" >&5 14732 echo "configure:14733: checking for _oss_ioctl in -lossaudio" >&5
14727 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` 14733 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
14728 14734
14729 xe_check_libs=" -lossaudio " 14735 xe_check_libs=" -lossaudio "
14730 cat > conftest.$ac_ext <<EOF 14736 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure" 14737 #line 14738 "configure"
14732 #include "confdefs.h" 14738 #include "confdefs.h"
14733 /* Override any gcc2 internal prototype to avoid an error. */ 14739 /* Override any gcc2 internal prototype to avoid an error. */
14734 /* We use char because int might match the return type of a gcc2 14740 /* We use char because int might match the return type of a gcc2
14735 builtin and then its argument prototype would still apply. */ 14741 builtin and then its argument prototype would still apply. */
14736 char _oss_ioctl(); 14742 char _oss_ioctl();
14737 14743
14738 int main() { 14744 int main() {
14739 _oss_ioctl() 14745 _oss_ioctl()
14740 ; return 0; } 14746 ; return 0; }
14741 EOF 14747 EOF
14742 if { (eval echo configure:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14748 if { (eval echo configure:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14743 rm -rf conftest* 14749 rm -rf conftest*
14744 eval "ac_cv_lib_$ac_lib_var=yes" 14750 eval "ac_cv_lib_$ac_lib_var=yes"
14745 else 14751 else
14746 echo "configure: failed program was:" >&5 14752 echo "configure: failed program was:" >&5
14747 cat conftest.$ac_ext >&5 14753 cat conftest.$ac_ext >&5
14776 fi 14782 fi
14777 14783
14778 if test "$with_nas_sound" != "no"; then 14784 if test "$with_nas_sound" != "no"; then
14779 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14785 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14780 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14786 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14781 echo "configure:14782: checking for audio/audiolib.h" >&5 14787 echo "configure:14788: checking for audio/audiolib.h" >&5
14782 14788
14783 cat > conftest.$ac_ext <<EOF 14789 cat > conftest.$ac_ext <<EOF
14784 #line 14785 "configure" 14790 #line 14791 "configure"
14785 #include "confdefs.h" 14791 #include "confdefs.h"
14786 #include <audio/audiolib.h> 14792 #include <audio/audiolib.h>
14787 EOF 14793 EOF
14788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14789 { (eval echo configure:14790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14795 { (eval echo configure:14796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14791 if test -z "$ac_err"; then 14797 if test -z "$ac_err"; then
14792 rm -rf conftest* 14798 rm -rf conftest*
14793 eval "ac_cv_header_$ac_safe=yes" 14799 eval "ac_cv_header_$ac_safe=yes"
14794 else 14800 else
14802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14803 echo "$ac_t""yes" 1>&6 14809 echo "$ac_t""yes" 1>&6
14804 14810
14805 14811
14806 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14812 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14807 echo "configure:14808: checking for AuOpenServer in -laudio" >&5 14813 echo "configure:14814: checking for AuOpenServer in -laudio" >&5
14808 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14814 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14809 14815
14810 xe_check_libs=" -laudio " 14816 xe_check_libs=" -laudio "
14811 cat > conftest.$ac_ext <<EOF 14817 cat > conftest.$ac_ext <<EOF
14812 #line 14813 "configure" 14818 #line 14819 "configure"
14813 #include "confdefs.h" 14819 #include "confdefs.h"
14814 /* Override any gcc2 internal prototype to avoid an error. */ 14820 /* Override any gcc2 internal prototype to avoid an error. */
14815 /* We use char because int might match the return type of a gcc2 14821 /* We use char because int might match the return type of a gcc2
14816 builtin and then its argument prototype would still apply. */ 14822 builtin and then its argument prototype would still apply. */
14817 char AuOpenServer(); 14823 char AuOpenServer();
14818 14824
14819 int main() { 14825 int main() {
14820 AuOpenServer() 14826 AuOpenServer()
14821 ; return 0; } 14827 ; return 0; }
14822 EOF 14828 EOF
14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14829 if { (eval echo configure:14830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14824 rm -rf conftest* 14830 rm -rf conftest*
14825 eval "ac_cv_lib_$ac_lib_var=yes" 14831 eval "ac_cv_lib_$ac_lib_var=yes"
14826 else 14832 else
14827 echo "configure: failed program was:" >&5 14833 echo "configure: failed program was:" >&5
14828 cat conftest.$ac_ext >&5 14834 cat conftest.$ac_ext >&5
14857 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14863 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14858 echo " xemacs will be linked with \"nas.o\"" 14864 echo " xemacs will be linked with \"nas.o\""
14859 fi 14865 fi
14860 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14866 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14861 cat > conftest.$ac_ext <<EOF 14867 cat > conftest.$ac_ext <<EOF
14862 #line 14863 "configure" 14868 #line 14869 "configure"
14863 #include "confdefs.h" 14869 #include "confdefs.h"
14864 #include <audio/Xtutil.h> 14870 #include <audio/Xtutil.h>
14865 EOF 14871 EOF
14866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14867 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14873 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14888 14894
14889 if test "$with_esd_sound" != "no"; then 14895 if test "$with_esd_sound" != "no"; then
14890 # Extract the first word of "esd-config", so it can be a program name with args. 14896 # Extract the first word of "esd-config", so it can be a program name with args.
14891 set dummy esd-config; ac_word=$2 14897 set dummy esd-config; ac_word=$2
14892 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14893 echo "configure:14894: checking for $ac_word" >&5 14899 echo "configure:14900: checking for $ac_word" >&5
14894 14900
14895 if test -n "$have_esd_config"; then 14901 if test -n "$have_esd_config"; then
14896 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14902 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14897 else 14903 else
14898 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14917 if test "$have_esd_config" = "yes"; then 14923 if test "$have_esd_config" = "yes"; then
14918 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14924 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14919 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 14925 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
14920 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14926 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14921 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14927 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14922 echo "configure:14923: checking for esd_play_stream" >&5 14928 echo "configure:14929: checking for esd_play_stream" >&5
14923 14929
14924 cat > conftest.$ac_ext <<EOF 14930 cat > conftest.$ac_ext <<EOF
14925 #line 14926 "configure" 14931 #line 14932 "configure"
14926 #include "confdefs.h" 14932 #include "confdefs.h"
14927 /* System header to define __stub macros and hopefully few prototypes, 14933 /* System header to define __stub macros and hopefully few prototypes,
14928 which can conflict with char esd_play_stream(); below. */ 14934 which can conflict with char esd_play_stream(); below. */
14929 #include <assert.h> 14935 #include <assert.h>
14930 /* Override any gcc2 internal prototype to avoid an error. */ 14936 /* Override any gcc2 internal prototype to avoid an error. */
14943 esd_play_stream(); 14949 esd_play_stream();
14944 #endif 14950 #endif
14945 14951
14946 ; return 0; } 14952 ; return 0; }
14947 EOF 14953 EOF
14948 if { (eval echo configure:14949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14949 rm -rf conftest* 14955 rm -rf conftest*
14950 eval "ac_cv_func_esd_play_stream=yes" 14956 eval "ac_cv_func_esd_play_stream=yes"
14951 else 14957 else
14952 echo "configure: failed program was:" >&5 14958 echo "configure: failed program was:" >&5
14953 cat conftest.$ac_ext >&5 14959 cat conftest.$ac_ext >&5
14994 15000
14995 test -z "$with_tty" && with_tty=yes 15001 test -z "$with_tty" && with_tty=yes
14996 15002
14997 if test "$with_tty" = "yes" ; then 15003 if test "$with_tty" = "yes" ; then
14998 echo "checking for TTY-related features" 1>&6 15004 echo "checking for TTY-related features" 1>&6
14999 echo "configure:15000: checking for TTY-related features" >&5 15005 echo "configure:15006: checking for TTY-related features" >&5
15000 { test "$extra_verbose" = "yes" && cat << \EOF 15006 { test "$extra_verbose" = "yes" && cat << \EOF
15001 Defining HAVE_TTY 15007 Defining HAVE_TTY
15002 EOF 15008 EOF
15003 cat >> confdefs.h <<\EOF 15009 cat >> confdefs.h <<\EOF
15004 #define HAVE_TTY 1 15010 #define HAVE_TTY 1
15007 15013
15008 15014
15009 if test -z "$with_ncurses"; then 15015 if test -z "$with_ncurses"; then
15010 15016
15011 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 15017 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
15012 echo "configure:15013: checking for tgetent in -lncurses" >&5 15018 echo "configure:15019: checking for tgetent in -lncurses" >&5
15013 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 15019 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
15014 15020
15015 xe_check_libs=" -lncurses " 15021 xe_check_libs=" -lncurses "
15016 cat > conftest.$ac_ext <<EOF 15022 cat > conftest.$ac_ext <<EOF
15017 #line 15018 "configure" 15023 #line 15024 "configure"
15018 #include "confdefs.h" 15024 #include "confdefs.h"
15019 /* Override any gcc2 internal prototype to avoid an error. */ 15025 /* Override any gcc2 internal prototype to avoid an error. */
15020 /* We use char because int might match the return type of a gcc2 15026 /* We use char because int might match the return type of a gcc2
15021 builtin and then its argument prototype would still apply. */ 15027 builtin and then its argument prototype would still apply. */
15022 char tgetent(); 15028 char tgetent();
15023 15029
15024 int main() { 15030 int main() {
15025 tgetent() 15031 tgetent()
15026 ; return 0; } 15032 ; return 0; }
15027 EOF 15033 EOF
15028 if { (eval echo configure:15029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15034 if { (eval echo configure:15035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15029 rm -rf conftest* 15035 rm -rf conftest*
15030 eval "ac_cv_lib_$ac_lib_var=yes" 15036 eval "ac_cv_lib_$ac_lib_var=yes"
15031 else 15037 else
15032 echo "configure: failed program was:" >&5 15038 echo "configure: failed program was:" >&5
15033 cat conftest.$ac_ext >&5 15039 cat conftest.$ac_ext >&5
15056 EOF 15062 EOF
15057 } 15063 }
15058 15064
15059 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 15065 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
15060 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 15066 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
15061 echo "configure:15062: checking for ncurses/curses.h" >&5 15067 echo "configure:15068: checking for ncurses/curses.h" >&5
15062 15068
15063 cat > conftest.$ac_ext <<EOF 15069 cat > conftest.$ac_ext <<EOF
15064 #line 15065 "configure" 15070 #line 15071 "configure"
15065 #include "confdefs.h" 15071 #include "confdefs.h"
15066 #include <ncurses/curses.h> 15072 #include <ncurses/curses.h>
15067 EOF 15073 EOF
15068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15069 { (eval echo configure:15070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15075 { (eval echo configure:15076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15071 if test -z "$ac_err"; then 15077 if test -z "$ac_err"; then
15072 rm -rf conftest* 15078 rm -rf conftest*
15073 eval "ac_cv_header_$ac_safe=yes" 15079 eval "ac_cv_header_$ac_safe=yes"
15074 else 15080 else
15086 echo "$ac_t""no" 1>&6 15092 echo "$ac_t""no" 1>&6
15087 fi 15093 fi
15088 15094
15089 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 15095 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
15090 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 15096 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
15091 echo "configure:15092: checking for ncurses/term.h" >&5 15097 echo "configure:15098: checking for ncurses/term.h" >&5
15092 15098
15093 cat > conftest.$ac_ext <<EOF 15099 cat > conftest.$ac_ext <<EOF
15094 #line 15095 "configure" 15100 #line 15101 "configure"
15095 #include "confdefs.h" 15101 #include "confdefs.h"
15096 #include <ncurses/term.h> 15102 #include <ncurses/term.h>
15097 EOF 15103 EOF
15098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15099 { (eval echo configure:15100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15105 { (eval echo configure:15106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15101 if test -z "$ac_err"; then 15107 if test -z "$ac_err"; then
15102 rm -rf conftest* 15108 rm -rf conftest*
15103 eval "ac_cv_header_$ac_safe=yes" 15109 eval "ac_cv_header_$ac_safe=yes"
15104 else 15110 else
15124 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 15130 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
15125 save_c_switch_site="$c_switch_site" 15131 save_c_switch_site="$c_switch_site"
15126 c_switch_site="$c_switch_site -I/usr/include/ncurses" 15132 c_switch_site="$c_switch_site -I/usr/include/ncurses"
15127 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 15133 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
15128 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 15134 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
15129 echo "configure:15130: checking for ncurses/curses.h" >&5 15135 echo "configure:15136: checking for ncurses/curses.h" >&5
15130 15136
15131 cat > conftest.$ac_ext <<EOF 15137 cat > conftest.$ac_ext <<EOF
15132 #line 15133 "configure" 15138 #line 15139 "configure"
15133 #include "confdefs.h" 15139 #include "confdefs.h"
15134 #include <ncurses/curses.h> 15140 #include <ncurses/curses.h>
15135 EOF 15141 EOF
15136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15137 { (eval echo configure:15138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15143 { (eval echo configure:15144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15139 if test -z "$ac_err"; then 15145 if test -z "$ac_err"; then
15140 rm -rf conftest* 15146 rm -rf conftest*
15141 eval "ac_cv_header_$ac_safe=yes" 15147 eval "ac_cv_header_$ac_safe=yes"
15142 else 15148 else
15167 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15173 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15168 else 15174 else
15169 for lib in curses termlib termcap; do 15175 for lib in curses termlib termcap; do
15170 15176
15171 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 15177 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
15172 echo "configure:15173: checking for tgetent in -l$lib" >&5 15178 echo "configure:15179: checking for tgetent in -l$lib" >&5
15173 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 15179 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
15174 15180
15175 xe_check_libs=" -l$lib " 15181 xe_check_libs=" -l$lib "
15176 cat > conftest.$ac_ext <<EOF 15182 cat > conftest.$ac_ext <<EOF
15177 #line 15178 "configure" 15183 #line 15184 "configure"
15178 #include "confdefs.h" 15184 #include "confdefs.h"
15179 /* Override any gcc2 internal prototype to avoid an error. */ 15185 /* Override any gcc2 internal prototype to avoid an error. */
15180 /* We use char because int might match the return type of a gcc2 15186 /* We use char because int might match the return type of a gcc2
15181 builtin and then its argument prototype would still apply. */ 15187 builtin and then its argument prototype would still apply. */
15182 char tgetent(); 15188 char tgetent();
15183 15189
15184 int main() { 15190 int main() {
15185 tgetent() 15191 tgetent()
15186 ; return 0; } 15192 ; return 0; }
15187 EOF 15193 EOF
15188 if { (eval echo configure:15189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15189 rm -rf conftest* 15195 rm -rf conftest*
15190 eval "ac_cv_lib_$ac_lib_var=yes" 15196 eval "ac_cv_lib_$ac_lib_var=yes"
15191 else 15197 else
15192 echo "configure: failed program was:" >&5 15198 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5 15199 cat conftest.$ac_ext >&5
15214 if test -n "$libs_termcap"; then 15220 if test -n "$libs_termcap"; then
15215 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15221 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15216 else 15222 else
15217 15223
15218 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15224 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15219 echo "configure:15220: checking for tgetent in -lcurses" >&5 15225 echo "configure:15226: checking for tgetent in -lcurses" >&5
15220 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15226 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15221 15227
15222 xe_check_libs=" -lcurses " 15228 xe_check_libs=" -lcurses "
15223 cat > conftest.$ac_ext <<EOF 15229 cat > conftest.$ac_ext <<EOF
15224 #line 15225 "configure" 15230 #line 15231 "configure"
15225 #include "confdefs.h" 15231 #include "confdefs.h"
15226 /* Override any gcc2 internal prototype to avoid an error. */ 15232 /* Override any gcc2 internal prototype to avoid an error. */
15227 /* We use char because int might match the return type of a gcc2 15233 /* We use char because int might match the return type of a gcc2
15228 builtin and then its argument prototype would still apply. */ 15234 builtin and then its argument prototype would still apply. */
15229 char tgetent(); 15235 char tgetent();
15230 15236
15231 int main() { 15237 int main() {
15232 tgetent() 15238 tgetent()
15233 ; return 0; } 15239 ; return 0; }
15234 EOF 15240 EOF
15235 if { (eval echo configure:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15241 if { (eval echo configure:15242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15236 rm -rf conftest* 15242 rm -rf conftest*
15237 eval "ac_cv_lib_$ac_lib_var=yes" 15243 eval "ac_cv_lib_$ac_lib_var=yes"
15238 else 15244 else
15239 echo "configure: failed program was:" >&5 15245 echo "configure: failed program was:" >&5
15240 cat conftest.$ac_ext >&5 15246 cat conftest.$ac_ext >&5
15248 echo "$ac_t""yes" 1>&6 15254 echo "$ac_t""yes" 1>&6
15249 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15255 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15250 else 15256 else
15251 echo "$ac_t""no" 1>&6 15257 echo "$ac_t""no" 1>&6
15252 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15258 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15253 echo "configure:15254: checking for tgetent in -ltermcap" >&5 15259 echo "configure:15260: checking for tgetent in -ltermcap" >&5
15254 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15260 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15255 15261
15256 xe_check_libs=" -ltermcap " 15262 xe_check_libs=" -ltermcap "
15257 cat > conftest.$ac_ext <<EOF 15263 cat > conftest.$ac_ext <<EOF
15258 #line 15259 "configure" 15264 #line 15265 "configure"
15259 #include "confdefs.h" 15265 #include "confdefs.h"
15260 /* Override any gcc2 internal prototype to avoid an error. */ 15266 /* Override any gcc2 internal prototype to avoid an error. */
15261 /* We use char because int might match the return type of a gcc2 15267 /* We use char because int might match the return type of a gcc2
15262 builtin and then its argument prototype would still apply. */ 15268 builtin and then its argument prototype would still apply. */
15263 char tgetent(); 15269 char tgetent();
15264 15270
15265 int main() { 15271 int main() {
15266 tgetent() 15272 tgetent()
15267 ; return 0; } 15273 ; return 0; }
15268 EOF 15274 EOF
15269 if { (eval echo configure:15270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15275 if { (eval echo configure:15276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15270 rm -rf conftest* 15276 rm -rf conftest*
15271 eval "ac_cv_lib_$ac_lib_var=yes" 15277 eval "ac_cv_lib_$ac_lib_var=yes"
15272 else 15278 else
15273 echo "configure: failed program was:" >&5 15279 echo "configure: failed program was:" >&5
15274 cat conftest.$ac_ext >&5 15280 cat conftest.$ac_ext >&5
15313 15319
15314 15320
15315 if test "$with_gpm" != "no"; then 15321 if test "$with_gpm" != "no"; then
15316 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15322 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15317 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15323 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15318 echo "configure:15319: checking for gpm.h" >&5 15324 echo "configure:15325: checking for gpm.h" >&5
15319 15325
15320 cat > conftest.$ac_ext <<EOF 15326 cat > conftest.$ac_ext <<EOF
15321 #line 15322 "configure" 15327 #line 15328 "configure"
15322 #include "confdefs.h" 15328 #include "confdefs.h"
15323 #include <gpm.h> 15329 #include <gpm.h>
15324 EOF 15330 EOF
15325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15326 { (eval echo configure:15327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15332 { (eval echo configure:15333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15328 if test -z "$ac_err"; then 15334 if test -z "$ac_err"; then
15329 rm -rf conftest* 15335 rm -rf conftest*
15330 eval "ac_cv_header_$ac_safe=yes" 15336 eval "ac_cv_header_$ac_safe=yes"
15331 else 15337 else
15339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15340 echo "$ac_t""yes" 1>&6 15346 echo "$ac_t""yes" 1>&6
15341 15347
15342 15348
15343 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15349 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15344 echo "configure:15345: checking for Gpm_Open in -lgpm" >&5 15350 echo "configure:15351: checking for Gpm_Open in -lgpm" >&5
15345 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15351 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15346 15352
15347 xe_check_libs=" -lgpm " 15353 xe_check_libs=" -lgpm "
15348 cat > conftest.$ac_ext <<EOF 15354 cat > conftest.$ac_ext <<EOF
15349 #line 15350 "configure" 15355 #line 15356 "configure"
15350 #include "confdefs.h" 15356 #include "confdefs.h"
15351 /* Override any gcc2 internal prototype to avoid an error. */ 15357 /* Override any gcc2 internal prototype to avoid an error. */
15352 /* We use char because int might match the return type of a gcc2 15358 /* We use char because int might match the return type of a gcc2
15353 builtin and then its argument prototype would still apply. */ 15359 builtin and then its argument prototype would still apply. */
15354 char Gpm_Open(); 15360 char Gpm_Open();
15355 15361
15356 int main() { 15362 int main() {
15357 Gpm_Open() 15363 Gpm_Open()
15358 ; return 0; } 15364 ; return 0; }
15359 EOF 15365 EOF
15360 if { (eval echo configure:15361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15361 rm -rf conftest* 15367 rm -rf conftest*
15362 eval "ac_cv_lib_$ac_lib_var=yes" 15368 eval "ac_cv_lib_$ac_lib_var=yes"
15363 else 15369 else
15364 echo "configure: failed program was:" >&5 15370 echo "configure: failed program was:" >&5
15365 cat conftest.$ac_ext >&5 15371 cat conftest.$ac_ext >&5
15407 done 15413 done
15408 fi 15414 fi
15409 15415
15410 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15416 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15411 != "no no no" && echo "checking for database support" 1>&6 15417 != "no no no" && echo "checking for database support" 1>&6
15412 echo "configure:15413: checking for database support" >&5 15418 echo "configure:15419: checking for database support" >&5
15413 15419
15414 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15420 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15415 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15421 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15416 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15422 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15417 echo "configure:15418: checking for ndbm.h" >&5 15423 echo "configure:15424: checking for ndbm.h" >&5
15418 15424
15419 cat > conftest.$ac_ext <<EOF 15425 cat > conftest.$ac_ext <<EOF
15420 #line 15421 "configure" 15426 #line 15427 "configure"
15421 #include "confdefs.h" 15427 #include "confdefs.h"
15422 #include <ndbm.h> 15428 #include <ndbm.h>
15423 EOF 15429 EOF
15424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15425 { (eval echo configure:15426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15431 { (eval echo configure:15432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15427 if test -z "$ac_err"; then 15433 if test -z "$ac_err"; then
15428 rm -rf conftest* 15434 rm -rf conftest*
15429 eval "ac_cv_header_$ac_safe=yes" 15435 eval "ac_cv_header_$ac_safe=yes"
15430 else 15436 else
15450 fi 15456 fi
15451 15457
15452 if test "$with_database_gdbm" != "no"; then 15458 if test "$with_database_gdbm" != "no"; then
15453 15459
15454 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15460 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15455 echo "configure:15456: checking for dbm_open in -lgdbm" >&5 15461 echo "configure:15462: checking for dbm_open in -lgdbm" >&5
15456 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15462 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15457 15463
15458 xe_check_libs=" -lgdbm " 15464 xe_check_libs=" -lgdbm "
15459 cat > conftest.$ac_ext <<EOF 15465 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure" 15466 #line 15467 "configure"
15461 #include "confdefs.h" 15467 #include "confdefs.h"
15462 /* Override any gcc2 internal prototype to avoid an error. */ 15468 /* Override any gcc2 internal prototype to avoid an error. */
15463 /* We use char because int might match the return type of a gcc2 15469 /* We use char because int might match the return type of a gcc2
15464 builtin and then its argument prototype would still apply. */ 15470 builtin and then its argument prototype would still apply. */
15465 char dbm_open(); 15471 char dbm_open();
15466 15472
15467 int main() { 15473 int main() {
15468 dbm_open() 15474 dbm_open()
15469 ; return 0; } 15475 ; return 0; }
15470 EOF 15476 EOF
15471 if { (eval echo configure:15472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15477 if { (eval echo configure:15478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15472 rm -rf conftest* 15478 rm -rf conftest*
15473 eval "ac_cv_lib_$ac_lib_var=yes" 15479 eval "ac_cv_lib_$ac_lib_var=yes"
15474 else 15480 else
15475 echo "configure: failed program was:" >&5 15481 echo "configure: failed program was:" >&5
15476 cat conftest.$ac_ext >&5 15482 cat conftest.$ac_ext >&5
15494 15500
15495 fi 15501 fi
15496 15502
15497 if test "$with_database_dbm" != "no"; then 15503 if test "$with_database_dbm" != "no"; then
15498 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15504 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15499 echo "configure:15500: checking for dbm_open" >&5 15505 echo "configure:15506: checking for dbm_open" >&5
15500 15506
15501 cat > conftest.$ac_ext <<EOF 15507 cat > conftest.$ac_ext <<EOF
15502 #line 15503 "configure" 15508 #line 15509 "configure"
15503 #include "confdefs.h" 15509 #include "confdefs.h"
15504 /* System header to define __stub macros and hopefully few prototypes, 15510 /* System header to define __stub macros and hopefully few prototypes,
15505 which can conflict with char dbm_open(); below. */ 15511 which can conflict with char dbm_open(); below. */
15506 #include <assert.h> 15512 #include <assert.h>
15507 /* Override any gcc2 internal prototype to avoid an error. */ 15513 /* Override any gcc2 internal prototype to avoid an error. */
15520 dbm_open(); 15526 dbm_open();
15521 #endif 15527 #endif
15522 15528
15523 ; return 0; } 15529 ; return 0; }
15524 EOF 15530 EOF
15525 if { (eval echo configure:15526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15531 if { (eval echo configure:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15526 rm -rf conftest* 15532 rm -rf conftest*
15527 eval "ac_cv_func_dbm_open=yes" 15533 eval "ac_cv_func_dbm_open=yes"
15528 else 15534 else
15529 echo "configure: failed program was:" >&5 15535 echo "configure: failed program was:" >&5
15530 cat conftest.$ac_ext >&5 15536 cat conftest.$ac_ext >&5
15539 else 15545 else
15540 echo "$ac_t""no" 1>&6 15546 echo "$ac_t""no" 1>&6
15541 15547
15542 15548
15543 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15549 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15544 echo "configure:15545: checking for dbm_open in -ldbm" >&5 15550 echo "configure:15551: checking for dbm_open in -ldbm" >&5
15545 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15551 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15546 15552
15547 xe_check_libs=" -ldbm " 15553 xe_check_libs=" -ldbm "
15548 cat > conftest.$ac_ext <<EOF 15554 cat > conftest.$ac_ext <<EOF
15549 #line 15550 "configure" 15555 #line 15556 "configure"
15550 #include "confdefs.h" 15556 #include "confdefs.h"
15551 /* Override any gcc2 internal prototype to avoid an error. */ 15557 /* Override any gcc2 internal prototype to avoid an error. */
15552 /* We use char because int might match the return type of a gcc2 15558 /* We use char because int might match the return type of a gcc2
15553 builtin and then its argument prototype would still apply. */ 15559 builtin and then its argument prototype would still apply. */
15554 char dbm_open(); 15560 char dbm_open();
15555 15561
15556 int main() { 15562 int main() {
15557 dbm_open() 15563 dbm_open()
15558 ; return 0; } 15564 ; return 0; }
15559 EOF 15565 EOF
15560 if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15566 if { (eval echo configure:15567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15561 rm -rf conftest* 15567 rm -rf conftest*
15562 eval "ac_cv_lib_$ac_lib_var=yes" 15568 eval "ac_cv_lib_$ac_lib_var=yes"
15563 else 15569 else
15564 echo "configure: failed program was:" >&5 15570 echo "configure: failed program was:" >&5
15565 cat conftest.$ac_ext >&5 15571 cat conftest.$ac_ext >&5
15596 } 15602 }
15597 15603
15598 15604
15599 if test "$with_database_berkdb" != "no"; then 15605 if test "$with_database_berkdb" != "no"; then
15600 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15606 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15601 echo "configure:15602: checking for Berkeley db.h" >&5 15607 echo "configure:15608: checking for Berkeley db.h" >&5
15602 for header in "db/db.h" "db.h"; do 15608 for header in "db/db.h" "db.h"; do
15603 cat > conftest.$ac_ext <<EOF 15609 cat > conftest.$ac_ext <<EOF
15604 #line 15605 "configure" 15610 #line 15611 "configure"
15605 #include "confdefs.h" 15611 #include "confdefs.h"
15606 15612
15607 #include <stdlib.h> 15613 #include <stdlib.h>
15608 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15614 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15609 #ifdef HAVE_INTTYPES_H 15615 #ifdef HAVE_INTTYPES_H
15621 15627
15622 int main() { 15628 int main() {
15623 15629
15624 ; return 0; } 15630 ; return 0; }
15625 EOF 15631 EOF
15626 if { (eval echo configure:15627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15632 if { (eval echo configure:15633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15627 rm -rf conftest* 15633 rm -rf conftest*
15628 db_h_file="$header"; break 15634 db_h_file="$header"; break
15629 else 15635 else
15630 echo "configure: failed program was:" >&5 15636 echo "configure: failed program was:" >&5
15631 cat conftest.$ac_ext >&5 15637 cat conftest.$ac_ext >&5
15637 else echo "$ac_t""$db_h_file" 1>&6 15643 else echo "$ac_t""$db_h_file" 1>&6
15638 fi 15644 fi
15639 15645
15640 if test "$with_database_berkdb" != "no"; then 15646 if test "$with_database_berkdb" != "no"; then
15641 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15647 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15642 echo "configure:15643: checking for Berkeley DB version" >&5 15648 echo "configure:15649: checking for Berkeley DB version" >&5
15643 cat > conftest.$ac_ext <<EOF 15649 cat > conftest.$ac_ext <<EOF
15644 #line 15645 "configure" 15650 #line 15651 "configure"
15645 #include "confdefs.h" 15651 #include "confdefs.h"
15646 #include <$db_h_file> 15652 #include <$db_h_file>
15647 #if DB_VERSION_MAJOR > 1 15653 #if DB_VERSION_MAJOR > 1
15648 yes 15654 yes
15649 #endif 15655 #endif
15651 EOF 15657 EOF
15652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15653 egrep "yes" >/dev/null 2>&1; then 15659 egrep "yes" >/dev/null 2>&1; then
15654 rm -rf conftest* 15660 rm -rf conftest*
15655 cat > conftest.$ac_ext <<EOF 15661 cat > conftest.$ac_ext <<EOF
15656 #line 15657 "configure" 15662 #line 15663 "configure"
15657 #include "confdefs.h" 15663 #include "confdefs.h"
15658 #include <$db_h_file> 15664 #include <$db_h_file>
15659 #if DB_VERSION_MAJOR > 2 15665 #if DB_VERSION_MAJOR > 2
15660 yes 15666 yes
15661 #endif 15667 #endif
15663 EOF 15669 EOF
15664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15665 egrep "yes" >/dev/null 2>&1; then 15671 egrep "yes" >/dev/null 2>&1; then
15666 rm -rf conftest* 15672 rm -rf conftest*
15667 cat > conftest.$ac_ext <<EOF 15673 cat > conftest.$ac_ext <<EOF
15668 #line 15669 "configure" 15674 #line 15675 "configure"
15669 #include "confdefs.h" 15675 #include "confdefs.h"
15670 #include <$db_h_file> 15676 #include <$db_h_file>
15671 #if DB_VERSION_MAJOR > 3 15677 #if DB_VERSION_MAJOR > 3
15672 yes 15678 yes
15673 #endif 15679 #endif
15697 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15703 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15698 fi 15704 fi
15699 rm -f conftest* 15705 rm -f conftest*
15700 15706
15701 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15707 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15702 echo "configure:15703: checking for $dbfunc" >&5 15708 echo "configure:15709: checking for $dbfunc" >&5
15703 15709
15704 cat > conftest.$ac_ext <<EOF 15710 cat > conftest.$ac_ext <<EOF
15705 #line 15706 "configure" 15711 #line 15712 "configure"
15706 #include "confdefs.h" 15712 #include "confdefs.h"
15707 /* System header to define __stub macros and hopefully few prototypes, 15713 /* System header to define __stub macros and hopefully few prototypes,
15708 which can conflict with char $dbfunc(); below. */ 15714 which can conflict with char $dbfunc(); below. */
15709 #include <assert.h> 15715 #include <assert.h>
15710 /* Override any gcc2 internal prototype to avoid an error. */ 15716 /* Override any gcc2 internal prototype to avoid an error. */
15723 $dbfunc(); 15729 $dbfunc();
15724 #endif 15730 #endif
15725 15731
15726 ; return 0; } 15732 ; return 0; }
15727 EOF 15733 EOF
15728 if { (eval echo configure:15729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15734 if { (eval echo configure:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15729 rm -rf conftest* 15735 rm -rf conftest*
15730 eval "ac_cv_func_$dbfunc=yes" 15736 eval "ac_cv_func_$dbfunc=yes"
15731 else 15737 else
15732 echo "configure: failed program was:" >&5 15738 echo "configure: failed program was:" >&5
15733 cat conftest.$ac_ext >&5 15739 cat conftest.$ac_ext >&5
15742 else 15748 else
15743 echo "$ac_t""no" 1>&6 15749 echo "$ac_t""no" 1>&6
15744 15750
15745 15751
15746 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15752 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15747 echo "configure:15748: checking for $dbfunc in -ldb" >&5 15753 echo "configure:15754: checking for $dbfunc in -ldb" >&5
15748 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15754 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15749 15755
15750 xe_check_libs=" -ldb " 15756 xe_check_libs=" -ldb "
15751 cat > conftest.$ac_ext <<EOF 15757 cat > conftest.$ac_ext <<EOF
15752 #line 15753 "configure" 15758 #line 15759 "configure"
15753 #include "confdefs.h" 15759 #include "confdefs.h"
15754 /* Override any gcc2 internal prototype to avoid an error. */ 15760 /* Override any gcc2 internal prototype to avoid an error. */
15755 /* We use char because int might match the return type of a gcc2 15761 /* We use char because int might match the return type of a gcc2
15756 builtin and then its argument prototype would still apply. */ 15762 builtin and then its argument prototype would still apply. */
15757 char $dbfunc(); 15763 char $dbfunc();
15758 15764
15759 int main() { 15765 int main() {
15760 $dbfunc() 15766 $dbfunc()
15761 ; return 0; } 15767 ; return 0; }
15762 EOF 15768 EOF
15763 if { (eval echo configure:15764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15769 if { (eval echo configure:15770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15764 rm -rf conftest* 15770 rm -rf conftest*
15765 eval "ac_cv_lib_$ac_lib_var=yes" 15771 eval "ac_cv_lib_$ac_lib_var=yes"
15766 else 15772 else
15767 echo "configure: failed program was:" >&5 15773 echo "configure: failed program was:" >&5
15768 cat conftest.$ac_ext >&5 15774 cat conftest.$ac_ext >&5
15792 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15798 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15793 rm -f $tempcname 15799 rm -f $tempcname
15794 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15800 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15795 15801
15796 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15802 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15797 echo "configure:15798: checking for $dbfunc in -ldb" >&5 15803 echo "configure:15804: checking for $dbfunc in -ldb" >&5
15798 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15804 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15799 15805
15800 xe_check_libs=" -ldb " 15806 xe_check_libs=" -ldb "
15801 cat > conftest.$ac_ext <<EOF 15807 cat > conftest.$ac_ext <<EOF
15802 #line 15803 "configure" 15808 #line 15809 "configure"
15803 #include "confdefs.h" 15809 #include "confdefs.h"
15804 /* Override any gcc2 internal prototype to avoid an error. */ 15810 /* Override any gcc2 internal prototype to avoid an error. */
15805 /* We use char because int might match the return type of a gcc2 15811 /* We use char because int might match the return type of a gcc2
15806 builtin and then its argument prototype would still apply. */ 15812 builtin and then its argument prototype would still apply. */
15807 char $dbfunc(); 15813 char $dbfunc();
15808 15814
15809 int main() { 15815 int main() {
15810 $dbfunc() 15816 $dbfunc()
15811 ; return 0; } 15817 ; return 0; }
15812 EOF 15818 EOF
15813 if { (eval echo configure:15814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15819 if { (eval echo configure:15820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15814 rm -rf conftest* 15820 rm -rf conftest*
15815 eval "ac_cv_lib_$ac_lib_var=yes" 15821 eval "ac_cv_lib_$ac_lib_var=yes"
15816 else 15822 else
15817 echo "configure: failed program was:" >&5 15823 echo "configure: failed program was:" >&5
15818 cat conftest.$ac_ext >&5 15824 cat conftest.$ac_ext >&5
15867 fi 15873 fi
15868 15874
15869 if test "$with_socks" = "yes"; then 15875 if test "$with_socks" = "yes"; then
15870 15876
15871 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15877 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15872 echo "configure:15873: checking for SOCKSinit in -lsocks" >&5 15878 echo "configure:15879: checking for SOCKSinit in -lsocks" >&5
15873 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15879 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15874 15880
15875 xe_check_libs=" -lsocks " 15881 xe_check_libs=" -lsocks "
15876 cat > conftest.$ac_ext <<EOF 15882 cat > conftest.$ac_ext <<EOF
15877 #line 15878 "configure" 15883 #line 15884 "configure"
15878 #include "confdefs.h" 15884 #include "confdefs.h"
15879 /* Override any gcc2 internal prototype to avoid an error. */ 15885 /* Override any gcc2 internal prototype to avoid an error. */
15880 /* We use char because int might match the return type of a gcc2 15886 /* We use char because int might match the return type of a gcc2
15881 builtin and then its argument prototype would still apply. */ 15887 builtin and then its argument prototype would still apply. */
15882 char SOCKSinit(); 15888 char SOCKSinit();
15883 15889
15884 int main() { 15890 int main() {
15885 SOCKSinit() 15891 SOCKSinit()
15886 ; return 0; } 15892 ; return 0; }
15887 EOF 15893 EOF
15888 if { (eval echo configure:15889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15894 if { (eval echo configure:15895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15889 rm -rf conftest* 15895 rm -rf conftest*
15890 eval "ac_cv_lib_$ac_lib_var=yes" 15896 eval "ac_cv_lib_$ac_lib_var=yes"
15891 else 15897 else
15892 echo "configure: failed program was:" >&5 15898 echo "configure: failed program was:" >&5
15893 cat conftest.$ac_ext >&5 15899 cat conftest.$ac_ext >&5
15939 fi 15945 fi
15940 15946
15941 if test "$use_number_lib" = "gmp"; then 15947 if test "$use_number_lib" = "gmp"; then
15942 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15948 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15943 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15949 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15944 echo "configure:15945: checking for gmp.h" >&5 15950 echo "configure:15951: checking for gmp.h" >&5
15945 15951
15946 cat > conftest.$ac_ext <<EOF 15952 cat > conftest.$ac_ext <<EOF
15947 #line 15948 "configure" 15953 #line 15954 "configure"
15948 #include "confdefs.h" 15954 #include "confdefs.h"
15949 #include <gmp.h> 15955 #include <gmp.h>
15950 EOF 15956 EOF
15951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15952 { (eval echo configure:15953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15958 { (eval echo configure:15959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15954 if test -z "$ac_err"; then 15960 if test -z "$ac_err"; then
15955 rm -rf conftest* 15961 rm -rf conftest*
15956 eval "ac_cv_header_$ac_safe=yes" 15962 eval "ac_cv_header_$ac_safe=yes"
15957 else 15963 else
15965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15966 echo "$ac_t""yes" 1>&6 15972 echo "$ac_t""yes" 1>&6
15967 15973
15968 15974
15969 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15975 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15970 echo "configure:15971: checking for __gmpz_init in -lgmp" >&5 15976 echo "configure:15977: checking for __gmpz_init in -lgmp" >&5
15971 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15977 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15972 15978
15973 xe_check_libs=" -lgmp " 15979 xe_check_libs=" -lgmp "
15974 cat > conftest.$ac_ext <<EOF 15980 cat > conftest.$ac_ext <<EOF
15975 #line 15976 "configure" 15981 #line 15982 "configure"
15976 #include "confdefs.h" 15982 #include "confdefs.h"
15977 /* Override any gcc2 internal prototype to avoid an error. */ 15983 /* Override any gcc2 internal prototype to avoid an error. */
15978 /* We use char because int might match the return type of a gcc2 15984 /* We use char because int might match the return type of a gcc2
15979 builtin and then its argument prototype would still apply. */ 15985 builtin and then its argument prototype would still apply. */
15980 char __gmpz_init(); 15986 char __gmpz_init();
15981 15987
15982 int main() { 15988 int main() {
15983 __gmpz_init() 15989 __gmpz_init()
15984 ; return 0; } 15990 ; return 0; }
15985 EOF 15991 EOF
15986 if { (eval echo configure:15987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15992 if { (eval echo configure:15993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15987 rm -rf conftest* 15993 rm -rf conftest*
15988 eval "ac_cv_lib_$ac_lib_var=yes" 15994 eval "ac_cv_lib_$ac_lib_var=yes"
15989 else 15995 else
15990 echo "configure: failed program was:" >&5 15996 echo "configure: failed program was:" >&5
15991 cat conftest.$ac_ext >&5 15997 cat conftest.$ac_ext >&5
16030 fi 16036 fi
16031 elif test "$use_number_lib" = "mp"; then 16037 elif test "$use_number_lib" = "mp"; then
16032 for library in "" "-lcrypto"; do 16038 for library in "" "-lcrypto"; do
16033 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 16039 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
16034 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 16040 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
16035 echo "configure:16036: checking for mp.h" >&5 16041 echo "configure:16042: checking for mp.h" >&5
16036 16042
16037 cat > conftest.$ac_ext <<EOF 16043 cat > conftest.$ac_ext <<EOF
16038 #line 16039 "configure" 16044 #line 16045 "configure"
16039 #include "confdefs.h" 16045 #include "confdefs.h"
16040 #include <mp.h> 16046 #include <mp.h>
16041 EOF 16047 EOF
16042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 16048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16043 { (eval echo configure:16044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 16049 { (eval echo configure:16050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 16050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16045 if test -z "$ac_err"; then 16051 if test -z "$ac_err"; then
16046 rm -rf conftest* 16052 rm -rf conftest*
16047 eval "ac_cv_header_$ac_safe=yes" 16053 eval "ac_cv_header_$ac_safe=yes"
16048 else 16054 else
16058 16064
16059 16065
16060 xe_msg_checking="for mp_mfree in -lmp" 16066 xe_msg_checking="for mp_mfree in -lmp"
16061 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 16067 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
16062 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 16068 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
16063 echo "configure:16064: checking "$xe_msg_checking"" >&5 16069 echo "configure:16070: checking "$xe_msg_checking"" >&5
16064 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 16070 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
16065 16071
16066 xe_check_libs=" -lmp $library" 16072 xe_check_libs=" -lmp $library"
16067 cat > conftest.$ac_ext <<EOF 16073 cat > conftest.$ac_ext <<EOF
16068 #line 16069 "configure" 16074 #line 16075 "configure"
16069 #include "confdefs.h" 16075 #include "confdefs.h"
16070 /* Override any gcc2 internal prototype to avoid an error. */ 16076 /* Override any gcc2 internal prototype to avoid an error. */
16071 /* We use char because int might match the return type of a gcc2 16077 /* We use char because int might match the return type of a gcc2
16072 builtin and then its argument prototype would still apply. */ 16078 builtin and then its argument prototype would still apply. */
16073 char mp_mfree(); 16079 char mp_mfree();
16074 16080
16075 int main() { 16081 int main() {
16076 mp_mfree() 16082 mp_mfree()
16077 ; return 0; } 16083 ; return 0; }
16078 EOF 16084 EOF
16079 if { (eval echo configure:16080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16085 if { (eval echo configure:16086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16080 rm -rf conftest* 16086 rm -rf conftest*
16081 eval "ac_cv_lib_$ac_lib_var=yes" 16087 eval "ac_cv_lib_$ac_lib_var=yes"
16082 else 16088 else
16083 echo "configure: failed program was:" >&5 16089 echo "configure: failed program was:" >&5
16084 cat conftest.$ac_ext >&5 16090 cat conftest.$ac_ext >&5
16095 echo "$ac_t""no" 1>&6 16101 echo "$ac_t""no" 1>&6
16096 16102
16097 xe_msg_checking="for mfree in -lmp" 16103 xe_msg_checking="for mfree in -lmp"
16098 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 16104 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
16099 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 16105 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
16100 echo "configure:16101: checking "$xe_msg_checking"" >&5 16106 echo "configure:16107: checking "$xe_msg_checking"" >&5
16101 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 16107 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
16102 16108
16103 xe_check_libs=" -lmp $library" 16109 xe_check_libs=" -lmp $library"
16104 cat > conftest.$ac_ext <<EOF 16110 cat > conftest.$ac_ext <<EOF
16105 #line 16106 "configure" 16111 #line 16112 "configure"
16106 #include "confdefs.h" 16112 #include "confdefs.h"
16107 /* Override any gcc2 internal prototype to avoid an error. */ 16113 /* Override any gcc2 internal prototype to avoid an error. */
16108 /* We use char because int might match the return type of a gcc2 16114 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */ 16115 builtin and then its argument prototype would still apply. */
16110 char mfree(); 16116 char mfree();
16111 16117
16112 int main() { 16118 int main() {
16113 mfree() 16119 mfree()
16114 ; return 0; } 16120 ; return 0; }
16115 EOF 16121 EOF
16116 if { (eval echo configure:16117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16122 if { (eval echo configure:16123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16117 rm -rf conftest* 16123 rm -rf conftest*
16118 eval "ac_cv_lib_$ac_lib_var=yes" 16124 eval "ac_cv_lib_$ac_lib_var=yes"
16119 else 16125 else
16120 echo "configure: failed program was:" >&5 16126 echo "configure: failed program was:" >&5
16121 cat conftest.$ac_ext >&5 16127 cat conftest.$ac_ext >&5
16153 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16159 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16154 if test "$library" != ""; then 16160 if test "$library" != ""; then
16155 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16161 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16156 fi 16162 fi
16157 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 16163 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
16158 echo "configure:16159: checking for mp_move" >&5 16164 echo "configure:16165: checking for mp_move" >&5
16159 16165
16160 cat > conftest.$ac_ext <<EOF 16166 cat > conftest.$ac_ext <<EOF
16161 #line 16162 "configure" 16167 #line 16168 "configure"
16162 #include "confdefs.h" 16168 #include "confdefs.h"
16163 /* System header to define __stub macros and hopefully few prototypes, 16169 /* System header to define __stub macros and hopefully few prototypes,
16164 which can conflict with char mp_move(); below. */ 16170 which can conflict with char mp_move(); below. */
16165 #include <assert.h> 16171 #include <assert.h>
16166 /* Override any gcc2 internal prototype to avoid an error. */ 16172 /* Override any gcc2 internal prototype to avoid an error. */
16179 mp_move(); 16185 mp_move();
16180 #endif 16186 #endif
16181 16187
16182 ; return 0; } 16188 ; return 0; }
16183 EOF 16189 EOF
16184 if { (eval echo configure:16185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16190 if { (eval echo configure:16191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16185 rm -rf conftest* 16191 rm -rf conftest*
16186 eval "ac_cv_func_mp_move=yes" 16192 eval "ac_cv_func_mp_move=yes"
16187 else 16193 else
16188 echo "configure: failed program was:" >&5 16194 echo "configure: failed program was:" >&5
16189 cat conftest.$ac_ext >&5 16195 cat conftest.$ac_ext >&5
16210 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16216 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16211 if test "$library" != ""; then 16217 if test "$library" != ""; then
16212 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16218 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16213 fi 16219 fi
16214 echo $ac_n "checking for move""... $ac_c" 1>&6 16220 echo $ac_n "checking for move""... $ac_c" 1>&6
16215 echo "configure:16216: checking for move" >&5 16221 echo "configure:16222: checking for move" >&5
16216 16222
16217 cat > conftest.$ac_ext <<EOF 16223 cat > conftest.$ac_ext <<EOF
16218 #line 16219 "configure" 16224 #line 16225 "configure"
16219 #include "confdefs.h" 16225 #include "confdefs.h"
16220 /* System header to define __stub macros and hopefully few prototypes, 16226 /* System header to define __stub macros and hopefully few prototypes,
16221 which can conflict with char move(); below. */ 16227 which can conflict with char move(); below. */
16222 #include <assert.h> 16228 #include <assert.h>
16223 /* Override any gcc2 internal prototype to avoid an error. */ 16229 /* Override any gcc2 internal prototype to avoid an error. */
16236 move(); 16242 move();
16237 #endif 16243 #endif
16238 16244
16239 ; return 0; } 16245 ; return 0; }
16240 EOF 16246 EOF
16241 if { (eval echo configure:16242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16247 if { (eval echo configure:16248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16242 rm -rf conftest* 16248 rm -rf conftest*
16243 eval "ac_cv_func_move=yes" 16249 eval "ac_cv_func_move=yes"
16244 else 16250 else
16245 echo "configure: failed program was:" >&5 16251 echo "configure: failed program was:" >&5
16246 cat conftest.$ac_ext >&5 16252 cat conftest.$ac_ext >&5
16283 } 16289 }
16284 16290
16285 fi 16291 fi
16286 16292
16287 cat > conftest.$ac_ext <<EOF 16293 cat > conftest.$ac_ext <<EOF
16288 #line 16289 "configure" 16294 #line 16295 "configure"
16289 #include "confdefs.h" 16295 #include "confdefs.h"
16290 int main(int c,char *v[]){return 0;} 16296 int main(int c,char *v[]){return 0;}
16291 EOF 16297 EOF
16292 if { (eval echo configure:16293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16298 if { (eval echo configure:16299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16293 then 16299 then
16294 : 16300 :
16295 else 16301 else
16296 conftest_rc="$?" 16302 conftest_rc="$?"
16297 echo "configure: failed program was:" >&5 16303 echo "configure: failed program was:" >&5