comparison configure @ 2263:702b5727498a

[xemacs-hg @ 2004-09-11 05:28:11 by malcolmp] mem-limits.h: Use configure to check for OS specific functions.
author malcolmp
date Sat, 11 Sep 2004 05:28:41 +0000
parents 646a9dd3e204
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
2262:09e68196904a 2263:702b5727498a
3735 test -n "$YACC" && break 3735 test -n "$YACC" && break
3736 done 3736 done
3737 test -n "$YACC" || YACC="yacc" 3737 test -n "$YACC" || YACC="yacc"
3738 3738
3739 3739
3740 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h 3740 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h
3741 do 3741 do
3742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3744 echo "configure:3745: checking for $ac_hdr" >&5 3744 echo "configure:3745: checking for $ac_hdr" >&5
3745 3745
4777 4777
4778 cat > conftest.$ac_ext <<EOF 4778 cat > conftest.$ac_ext <<EOF
4779 #line 4780 "configure" 4779 #line 4780 "configure"
4780 #include "confdefs.h" 4780 #include "confdefs.h"
4781 #include <stdio.h> 4781 #include <stdio.h>
4782 #include <sys/types.h> 4782 int main()
4783 main()
4784 { 4783 {
4785 FILE *f=fopen("conftestval", "w"); 4784 FILE *f=fopen("conftestval", "w");
4786 if (!f) exit(1); 4785 if (!f) return(1);
4787 fprintf(f, "%d\n", sizeof(short)); 4786 fprintf(f, "%d\n", sizeof(short));
4788 exit(0); 4787 return(0);
4789 } 4788 }
4790 EOF 4789 EOF
4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4792 then 4791 then
4793 ac_cv_sizeof_short=`cat conftestval` 4792 ac_cv_sizeof_short=`cat conftestval`
4794 else 4793 else
4795 conftest_rc="$?" 4794 conftest_rc="$?"
4796 echo "configure: failed program was:" >&5 4795 echo "configure: failed program was:" >&5
4814 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4813 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4815 echo "*** PANIC *** Please examine config.log for compilation errors." 4814 echo "*** PANIC *** Please examine config.log for compilation errors."
4816 exit 1 4815 exit 1
4817 fi 4816 fi
4818 echo $ac_n "checking size of int""... $ac_c" 1>&6 4817 echo $ac_n "checking size of int""... $ac_c" 1>&6
4819 echo "configure:4820: checking size of int" >&5 4818 echo "configure:4819: checking size of int" >&5
4820 4819
4821 cat > conftest.$ac_ext <<EOF 4820 cat > conftest.$ac_ext <<EOF
4822 #line 4823 "configure" 4821 #line 4822 "configure"
4823 #include "confdefs.h" 4822 #include "confdefs.h"
4824 #include <stdio.h> 4823 #include <stdio.h>
4825 #include <sys/types.h> 4824 int main()
4826 main()
4827 { 4825 {
4828 FILE *f=fopen("conftestval", "w"); 4826 FILE *f=fopen("conftestval", "w");
4829 if (!f) exit(1); 4827 if (!f) return(1);
4830 fprintf(f, "%d\n", sizeof(int)); 4828 fprintf(f, "%d\n", sizeof(int));
4831 exit(0); 4829 return(0);
4832 } 4830 }
4833 EOF 4831 EOF
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4832 if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4835 then 4833 then
4836 ac_cv_sizeof_int=`cat conftestval` 4834 ac_cv_sizeof_int=`cat conftestval`
4837 else 4835 else
4838 conftest_rc="$?" 4836 conftest_rc="$?"
4839 echo "configure: failed program was:" >&5 4837 echo "configure: failed program was:" >&5
4851 EOF 4849 EOF
4852 } 4850 }
4853 4851
4854 4852
4855 echo $ac_n "checking size of long""... $ac_c" 1>&6 4853 echo $ac_n "checking size of long""... $ac_c" 1>&6
4856 echo "configure:4857: checking size of long" >&5 4854 echo "configure:4855: checking size of long" >&5
4857 4855
4858 cat > conftest.$ac_ext <<EOF 4856 cat > conftest.$ac_ext <<EOF
4859 #line 4860 "configure" 4857 #line 4858 "configure"
4860 #include "confdefs.h" 4858 #include "confdefs.h"
4861 #include <stdio.h> 4859 #include <stdio.h>
4862 #include <sys/types.h> 4860 int main()
4863 main()
4864 { 4861 {
4865 FILE *f=fopen("conftestval", "w"); 4862 FILE *f=fopen("conftestval", "w");
4866 if (!f) exit(1); 4863 if (!f) return(1);
4867 fprintf(f, "%d\n", sizeof(long)); 4864 fprintf(f, "%d\n", sizeof(long));
4868 exit(0); 4865 return(0);
4869 } 4866 }
4870 EOF 4867 EOF
4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4872 then 4869 then
4873 ac_cv_sizeof_long=`cat conftestval` 4870 ac_cv_sizeof_long=`cat conftestval`
4874 else 4871 else
4875 conftest_rc="$?" 4872 conftest_rc="$?"
4876 echo "configure: failed program was:" >&5 4873 echo "configure: failed program was:" >&5
4888 EOF 4885 EOF
4889 } 4886 }
4890 4887
4891 4888
4892 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4889 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4893 echo "configure:4894: checking size of long long" >&5 4890 echo "configure:4891: checking size of long long" >&5
4894 4891
4895 cat > conftest.$ac_ext <<EOF 4892 cat > conftest.$ac_ext <<EOF
4896 #line 4897 "configure" 4893 #line 4894 "configure"
4897 #include "confdefs.h" 4894 #include "confdefs.h"
4898 #include <stdio.h> 4895 #include <stdio.h>
4899 #include <sys/types.h> 4896 int main()
4900 main()
4901 { 4897 {
4902 FILE *f=fopen("conftestval", "w"); 4898 FILE *f=fopen("conftestval", "w");
4903 if (!f) exit(1); 4899 if (!f) return(1);
4904 fprintf(f, "%d\n", sizeof(long long)); 4900 fprintf(f, "%d\n", sizeof(long long));
4905 exit(0); 4901 return(0);
4906 } 4902 }
4907 EOF 4903 EOF
4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4909 then 4905 then
4910 ac_cv_sizeof_long_long=`cat conftestval` 4906 ac_cv_sizeof_long_long=`cat conftestval`
4911 else 4907 else
4912 conftest_rc="$?" 4908 conftest_rc="$?"
4913 echo "configure: failed program was:" >&5 4909 echo "configure: failed program was:" >&5
4925 EOF 4921 EOF
4926 } 4922 }
4927 4923
4928 4924
4929 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4925 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4930 echo "configure:4931: checking size of void *" >&5 4926 echo "configure:4927: checking size of void *" >&5
4931 4927
4932 cat > conftest.$ac_ext <<EOF 4928 cat > conftest.$ac_ext <<EOF
4933 #line 4934 "configure" 4929 #line 4930 "configure"
4934 #include "confdefs.h" 4930 #include "confdefs.h"
4935 #include <stdio.h> 4931 #include <stdio.h>
4936 #include <sys/types.h> 4932 int main()
4937 main()
4938 { 4933 {
4939 FILE *f=fopen("conftestval", "w"); 4934 FILE *f=fopen("conftestval", "w");
4940 if (!f) exit(1); 4935 if (!f) return(1);
4941 fprintf(f, "%d\n", sizeof(void *)); 4936 fprintf(f, "%d\n", sizeof(void *));
4942 exit(0); 4937 return(0);
4943 } 4938 }
4944 EOF 4939 EOF
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4946 then 4941 then
4947 ac_cv_sizeof_void_p=`cat conftestval` 4942 ac_cv_sizeof_void_p=`cat conftestval`
4948 else 4943 else
4949 conftest_rc="$?" 4944 conftest_rc="$?"
4950 echo "configure: failed program was:" >&5 4945 echo "configure: failed program was:" >&5
4962 EOF 4957 EOF
4963 } 4958 }
4964 4959
4965 4960
4966 echo $ac_n "checking size of double""... $ac_c" 1>&6 4961 echo $ac_n "checking size of double""... $ac_c" 1>&6
4967 echo "configure:4968: checking size of double" >&5 4962 echo "configure:4963: checking size of double" >&5
4968 4963
4969 cat > conftest.$ac_ext <<EOF 4964 cat > conftest.$ac_ext <<EOF
4970 #line 4971 "configure" 4965 #line 4966 "configure"
4971 #include "confdefs.h" 4966 #include "confdefs.h"
4972 #include <stdio.h> 4967 #include <stdio.h>
4973 #include <sys/types.h> 4968 int main()
4974 main()
4975 { 4969 {
4976 FILE *f=fopen("conftestval", "w"); 4970 FILE *f=fopen("conftestval", "w");
4977 if (!f) exit(1); 4971 if (!f) return(1);
4978 fprintf(f, "%d\n", sizeof(double)); 4972 fprintf(f, "%d\n", sizeof(double));
4979 exit(0); 4973 return(0);
4980 } 4974 }
4981 EOF 4975 EOF
4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4983 then 4977 then
4984 ac_cv_sizeof_double=`cat conftestval` 4978 ac_cv_sizeof_double=`cat conftestval`
4985 else 4979 else
4986 conftest_rc="$?" 4980 conftest_rc="$?"
4987 echo "configure: failed program was:" >&5 4981 echo "configure: failed program was:" >&5
5000 } 4994 }
5001 4995
5002 4996
5003 4997
5004 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4998 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5005 echo "configure:5006: checking for long file names" >&5 4999 echo "configure:5000: checking for long file names" >&5
5006 5000
5007 ac_cv_sys_long_file_names=yes 5001 ac_cv_sys_long_file_names=yes
5008 # Test for long file names in all the places we know might matter: 5002 # Test for long file names in all the places we know might matter:
5009 # . the current directory, where building will happen 5003 # . the current directory, where building will happen
5010 # $prefix/lib where we will be installing things 5004 # $prefix/lib where we will be installing things
5046 5040
5047 fi 5041 fi
5048 5042
5049 5043
5050 echo $ac_n "checking for sin""... $ac_c" 1>&6 5044 echo $ac_n "checking for sin""... $ac_c" 1>&6
5051 echo "configure:5052: checking for sin" >&5 5045 echo "configure:5046: checking for sin" >&5
5052 5046
5053 cat > conftest.$ac_ext <<EOF 5047 cat > conftest.$ac_ext <<EOF
5054 #line 5055 "configure" 5048 #line 5049 "configure"
5055 #include "confdefs.h" 5049 #include "confdefs.h"
5056 /* System header to define __stub macros and hopefully few prototypes, 5050 /* System header to define __stub macros and hopefully few prototypes,
5057 which can conflict with char sin(); below. */ 5051 which can conflict with char sin(); below. */
5058 #include <assert.h> 5052 #include <assert.h>
5059 /* Override any gcc2 internal prototype to avoid an error. */ 5053 /* Override any gcc2 internal prototype to avoid an error. */
5072 sin(); 5066 sin();
5073 #endif 5067 #endif
5074 5068
5075 ; return 0; } 5069 ; return 0; }
5076 EOF 5070 EOF
5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5078 rm -rf conftest* 5072 rm -rf conftest*
5079 eval "ac_cv_func_sin=yes" 5073 eval "ac_cv_func_sin=yes"
5080 else 5074 else
5081 echo "configure: failed program was:" >&5 5075 echo "configure: failed program was:" >&5
5082 cat conftest.$ac_ext >&5 5076 cat conftest.$ac_ext >&5
5090 : 5084 :
5091 else 5085 else
5092 echo "$ac_t""no" 1>&6 5086 echo "$ac_t""no" 1>&6
5093 5087
5094 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5088 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5095 echo "configure:5096: checking for sin in -lm" >&5 5089 echo "configure:5090: checking for sin in -lm" >&5
5096 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5090 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5097 5091
5098 xe_check_libs=" -lm " 5092 xe_check_libs=" -lm "
5099 cat > conftest.$ac_ext <<EOF 5093 cat > conftest.$ac_ext <<EOF
5100 #line 5101 "configure" 5094 #line 5095 "configure"
5101 #include "confdefs.h" 5095 #include "confdefs.h"
5102 /* Override any gcc2 internal prototype to avoid an error. */ 5096 /* Override any gcc2 internal prototype to avoid an error. */
5103 /* We use char because int might match the return type of a gcc2 5097 /* We use char because int might match the return type of a gcc2
5104 builtin and then its argument prototype would still apply. */ 5098 builtin and then its argument prototype would still apply. */
5105 char sin(); 5099 char sin();
5106 5100
5107 int main() { 5101 int main() {
5108 sin() 5102 sin()
5109 ; return 0; } 5103 ; return 0; }
5110 EOF 5104 EOF
5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5112 rm -rf conftest* 5106 rm -rf conftest*
5113 eval "ac_cv_lib_$ac_lib_var=yes" 5107 eval "ac_cv_lib_$ac_lib_var=yes"
5114 else 5108 else
5115 echo "configure: failed program was:" >&5 5109 echo "configure: failed program was:" >&5
5116 cat conftest.$ac_ext >&5 5110 cat conftest.$ac_ext >&5
5141 5135
5142 fi 5136 fi
5143 5137
5144 5138
5145 cat > conftest.$ac_ext <<EOF 5139 cat > conftest.$ac_ext <<EOF
5146 #line 5147 "configure" 5140 #line 5141 "configure"
5147 #include "confdefs.h" 5141 #include "confdefs.h"
5148 #include <math.h> 5142 #include <math.h>
5149 int main() { 5143 int main() {
5150 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5144 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5151 ; return 0; } 5145 ; return 0; }
5152 EOF 5146 EOF
5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5147 if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5154 rm -rf conftest* 5148 rm -rf conftest*
5155 { test "$extra_verbose" = "yes" && cat << \EOF 5149 { test "$extra_verbose" = "yes" && cat << \EOF
5156 Defining HAVE_INVERSE_HYPERBOLIC 5150 Defining HAVE_INVERSE_HYPERBOLIC
5157 EOF 5151 EOF
5158 cat >> confdefs.h <<\EOF 5152 cat >> confdefs.h <<\EOF
5167 rm -f conftest* 5161 rm -f conftest*
5168 5162
5169 for ac_func in mkstemp 5163 for ac_func in mkstemp
5170 do 5164 do
5171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5172 echo "configure:5173: checking for $ac_func" >&5 5166 echo "configure:5167: checking for $ac_func" >&5
5173 5167
5174 cat > conftest.$ac_ext <<EOF 5168 cat > conftest.$ac_ext <<EOF
5175 #line 5176 "configure" 5169 #line 5170 "configure"
5176 #include "confdefs.h" 5170 #include "confdefs.h"
5177 /* System header to define __stub macros and hopefully few prototypes, 5171 /* System header to define __stub macros and hopefully few prototypes,
5178 which can conflict with char $ac_func(); below. */ 5172 which can conflict with char $ac_func(); below. */
5179 #include <assert.h> 5173 #include <assert.h>
5180 /* Override any gcc2 internal prototype to avoid an error. */ 5174 /* Override any gcc2 internal prototype to avoid an error. */
5193 $ac_func(); 5187 $ac_func();
5194 #endif 5188 #endif
5195 5189
5196 ; return 0; } 5190 ; return 0; }
5197 EOF 5191 EOF
5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5199 rm -rf conftest* 5193 rm -rf conftest*
5200 eval "ac_cv_func_$ac_func=yes" 5194 eval "ac_cv_func_$ac_func=yes"
5201 else 5195 else
5202 echo "configure: failed program was:" >&5 5196 echo "configure: failed program was:" >&5
5203 cat conftest.$ac_ext >&5 5197 cat conftest.$ac_ext >&5
5222 fi 5216 fi
5223 done 5217 done
5224 5218
5225 5219
5226 echo "checking type of mail spool file locking" 1>&6 5220 echo "checking type of mail spool file locking" 1>&6
5227 echo "configure:5228: checking type of mail spool file locking" >&5 5221 echo "configure:5222: checking type of mail spool file locking" >&5
5228 for ac_func in lockf flock 5222 for ac_func in lockf flock
5229 do 5223 do
5230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5231 echo "configure:5232: checking for $ac_func" >&5 5225 echo "configure:5226: checking for $ac_func" >&5
5232 5226
5233 cat > conftest.$ac_ext <<EOF 5227 cat > conftest.$ac_ext <<EOF
5234 #line 5235 "configure" 5228 #line 5229 "configure"
5235 #include "confdefs.h" 5229 #include "confdefs.h"
5236 /* System header to define __stub macros and hopefully few prototypes, 5230 /* System header to define __stub macros and hopefully few prototypes,
5237 which can conflict with char $ac_func(); below. */ 5231 which can conflict with char $ac_func(); below. */
5238 #include <assert.h> 5232 #include <assert.h>
5239 /* Override any gcc2 internal prototype to avoid an error. */ 5233 /* Override any gcc2 internal prototype to avoid an error. */
5252 $ac_func(); 5246 $ac_func();
5253 #endif 5247 #endif
5254 5248
5255 ; return 0; } 5249 ; return 0; }
5256 EOF 5250 EOF
5257 if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5258 rm -rf conftest* 5252 rm -rf conftest*
5259 eval "ac_cv_func_$ac_func=yes" 5253 eval "ac_cv_func_$ac_func=yes"
5260 else 5254 else
5261 echo "configure: failed program was:" >&5 5255 echo "configure: failed program was:" >&5
5262 cat conftest.$ac_ext >&5 5256 cat conftest.$ac_ext >&5
5334 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5328 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5335 5329
5336 case "$opsys" in decosf*) 5330 case "$opsys" in decosf*)
5337 5331
5338 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5332 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5339 echo "configure:5340: checking for cma_open in -lpthreads" >&5 5333 echo "configure:5334: checking for cma_open in -lpthreads" >&5
5340 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5334 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5341 5335
5342 xe_check_libs=" -lpthreads " 5336 xe_check_libs=" -lpthreads "
5343 cat > conftest.$ac_ext <<EOF 5337 cat > conftest.$ac_ext <<EOF
5344 #line 5345 "configure" 5338 #line 5339 "configure"
5345 #include "confdefs.h" 5339 #include "confdefs.h"
5346 /* Override any gcc2 internal prototype to avoid an error. */ 5340 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2 5341 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */ 5342 builtin and then its argument prototype would still apply. */
5349 char cma_open(); 5343 char cma_open();
5350 5344
5351 int main() { 5345 int main() {
5352 cma_open() 5346 cma_open()
5353 ; return 0; } 5347 ; return 0; }
5354 EOF 5348 EOF
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5356 rm -rf conftest* 5350 rm -rf conftest*
5357 eval "ac_cv_lib_$ac_lib_var=yes" 5351 eval "ac_cv_lib_$ac_lib_var=yes"
5358 else 5352 else
5359 echo "configure: failed program was:" >&5 5353 echo "configure: failed program was:" >&5
5360 cat conftest.$ac_ext >&5 5354 cat conftest.$ac_ext >&5
5387 c_switch_site="$c_switch_site -threads" ;; 5381 c_switch_site="$c_switch_site -threads" ;;
5388 esac 5382 esac
5389 5383
5390 5384
5391 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5385 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5392 echo "configure:5393: checking whether the -xildoff compiler flag is required" >&5 5386 echo "configure:5387: checking whether the -xildoff compiler flag is required" >&5
5393 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5387 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5394 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5388 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5395 then echo "$ac_t""no" 1>&6; 5389 then echo "$ac_t""no" 1>&6;
5396 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi 5390 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi
5397 fi 5391 fi
5399 fi 5393 fi
5400 5394
5401 if test "$opsys" = "sol2"; then 5395 if test "$opsys" = "sol2"; then
5402 if test "$os_release" -ge 506; then 5396 if test "$os_release" -ge 506; then
5403 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5397 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5404 echo "configure:5405: checking for \"-z ignore\" linker flag" >&5 5398 echo "configure:5399: checking for \"-z ignore\" linker flag" >&5
5405 case "`ld -h 2>&1`" in 5399 case "`ld -h 2>&1`" in
5406 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5400 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5407 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5401 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5408 *) echo "$ac_t""no" 1>&6 ;; 5402 *) echo "$ac_t""no" 1>&6 ;;
5409 esac 5403 esac
5410 fi 5404 fi
5411 fi 5405 fi
5412 5406
5413 5407
5414 echo "checking "for specified window system"" 1>&6 5408 echo "checking "for specified window system"" 1>&6
5415 echo "configure:5416: checking "for specified window system"" >&5 5409 echo "configure:5410: checking "for specified window system"" >&5
5416 5410
5417 5411
5418 GNOME_CONFIG=no 5412 GNOME_CONFIG=no
5419 GTK_CONFIG=no 5413 GTK_CONFIG=no
5420 5414
5421 if test "$with_gnome" != "no"; then 5415 if test "$with_gnome" != "no"; then
5422 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5416 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5423 echo "configure:5424: checking for GNOME configuration script" >&5 5417 echo "configure:5418: checking for GNOME configuration script" >&5
5424 for possible in gnome-config 5418 for possible in gnome-config
5425 do 5419 do
5426 possible_version=`${possible} --version 2> /dev/null` 5420 possible_version=`${possible} --version 2> /dev/null`
5427 if test "x${possible_version}" != "x"; then 5421 if test "x${possible_version}" != "x"; then
5428 GNOME_CONFIG="${possible}" 5422 GNOME_CONFIG="${possible}"
5449 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5443 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5450 fi 5444 fi
5451 5445
5452 if test "$with_gtk" != "no";then 5446 if test "$with_gtk" != "no";then
5453 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5447 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5454 echo "configure:5455: checking for GTK configuration script" >&5 5448 echo "configure:5449: checking for GTK configuration script" >&5
5455 for possible in gtk12-config gtk14-config gtk-config 5449 for possible in gtk12-config gtk14-config gtk-config
5456 do 5450 do
5457 possible_version=`${possible} --version 2> /dev/null` 5451 possible_version=`${possible} --version 2> /dev/null`
5458 if test "x${possible_version}" != "x"; then 5452 if test "x${possible_version}" != "x"; then
5459 GTK_CONFIG="${possible}" 5453 GTK_CONFIG="${possible}"
5471 echo "$ac_t""${GTK_CONFIG}" 1>&6 5465 echo "$ac_t""${GTK_CONFIG}" 1>&6
5472 fi 5466 fi
5473 5467
5474 if test "${GTK_CONFIG}" != "no"; then 5468 if test "${GTK_CONFIG}" != "no"; then
5475 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5469 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5476 echo "configure:5477: checking gtk version" >&5 5470 echo "configure:5471: checking gtk version" >&5
5477 GTK_VERSION=`${GTK_CONFIG} --version` 5471 GTK_VERSION=`${GTK_CONFIG} --version`
5478 echo "$ac_t""${GTK_VERSION}" 1>&6 5472 echo "$ac_t""${GTK_VERSION}" 1>&6
5479 5473
5480 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5474 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5481 echo "configure:5482: checking gtk libs" >&5 5475 echo "configure:5476: checking gtk libs" >&5
5482 GTK_LIBS=`${GTK_CONFIG} --libs` 5476 GTK_LIBS=`${GTK_CONFIG} --libs`
5483 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5477 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5484 echo "$ac_t""${GTK_LIBS}" 1>&6 5478 echo "$ac_t""${GTK_LIBS}" 1>&6
5485 5479
5486 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5480 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5487 echo "configure:5488: checking gtk cflags" >&5 5481 echo "configure:5482: checking gtk cflags" >&5
5488 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5482 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5489 if test "$GCC" = "yes"; then 5483 if test "$GCC" = "yes"; then
5490 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5484 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5491 fi 5485 fi
5492 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5486 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5493 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5487 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5494 5488
5495 5489
5496 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5490 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5497 echo "configure:5498: checking for main in -lgdk_imlib" >&5 5491 echo "configure:5492: checking for main in -lgdk_imlib" >&5
5498 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5492 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5499 5493
5500 xe_check_libs=" -lgdk_imlib " 5494 xe_check_libs=" -lgdk_imlib "
5501 cat > conftest.$ac_ext <<EOF 5495 cat > conftest.$ac_ext <<EOF
5502 #line 5503 "configure" 5496 #line 5497 "configure"
5503 #include "confdefs.h" 5497 #include "confdefs.h"
5504 5498
5505 int main() { 5499 int main() {
5506 main() 5500 main()
5507 ; return 0; } 5501 ; return 0; }
5508 EOF 5502 EOF
5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5503 if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5510 rm -rf conftest* 5504 rm -rf conftest*
5511 eval "ac_cv_lib_$ac_lib_var=yes" 5505 eval "ac_cv_lib_$ac_lib_var=yes"
5512 else 5506 else
5513 echo "configure: failed program was:" >&5 5507 echo "configure: failed program was:" >&5
5514 cat conftest.$ac_ext >&5 5508 cat conftest.$ac_ext >&5
5526 fi 5520 fi
5527 5521
5528 5522
5529 5523
5530 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5524 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5531 echo "configure:5532: checking for Imlib_init in -lImlib" >&5 5525 echo "configure:5526: checking for Imlib_init in -lImlib" >&5
5532 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5526 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5533 5527
5534 xe_check_libs=" -lImlib " 5528 xe_check_libs=" -lImlib "
5535 cat > conftest.$ac_ext <<EOF 5529 cat > conftest.$ac_ext <<EOF
5536 #line 5537 "configure" 5530 #line 5531 "configure"
5537 #include "confdefs.h" 5531 #include "confdefs.h"
5538 /* Override any gcc2 internal prototype to avoid an error. */ 5532 /* Override any gcc2 internal prototype to avoid an error. */
5539 /* We use char because int might match the return type of a gcc2 5533 /* We use char because int might match the return type of a gcc2
5540 builtin and then its argument prototype would still apply. */ 5534 builtin and then its argument prototype would still apply. */
5541 char Imlib_init(); 5535 char Imlib_init();
5542 5536
5543 int main() { 5537 int main() {
5544 Imlib_init() 5538 Imlib_init()
5545 ; return 0; } 5539 ; return 0; }
5546 EOF 5540 EOF
5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5548 rm -rf conftest* 5542 rm -rf conftest*
5549 eval "ac_cv_lib_$ac_lib_var=yes" 5543 eval "ac_cv_lib_$ac_lib_var=yes"
5550 else 5544 else
5551 echo "configure: failed program was:" >&5 5545 echo "configure: failed program was:" >&5
5552 cat conftest.$ac_ext >&5 5546 cat conftest.$ac_ext >&5
5565 5559
5566 5560
5567 for ac_func in gdk_imlib_init 5561 for ac_func in gdk_imlib_init
5568 do 5562 do
5569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5570 echo "configure:5571: checking for $ac_func" >&5 5564 echo "configure:5565: checking for $ac_func" >&5
5571 5565
5572 cat > conftest.$ac_ext <<EOF 5566 cat > conftest.$ac_ext <<EOF
5573 #line 5574 "configure" 5567 #line 5568 "configure"
5574 #include "confdefs.h" 5568 #include "confdefs.h"
5575 /* System header to define __stub macros and hopefully few prototypes, 5569 /* System header to define __stub macros and hopefully few prototypes,
5576 which can conflict with char $ac_func(); below. */ 5570 which can conflict with char $ac_func(); below. */
5577 #include <assert.h> 5571 #include <assert.h>
5578 /* Override any gcc2 internal prototype to avoid an error. */ 5572 /* Override any gcc2 internal prototype to avoid an error. */
5591 $ac_func(); 5585 $ac_func();
5592 #endif 5586 #endif
5593 5587
5594 ; return 0; } 5588 ; return 0; }
5595 EOF 5589 EOF
5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5590 if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5597 rm -rf conftest* 5591 rm -rf conftest*
5598 eval "ac_cv_func_$ac_func=yes" 5592 eval "ac_cv_func_$ac_func=yes"
5599 else 5593 else
5600 echo "configure: failed program was:" >&5 5594 echo "configure: failed program was:" >&5
5601 cat conftest.$ac_ext >&5 5595 cat conftest.$ac_ext >&5
5656 feature_conflict_with_gtk=yes 5650 feature_conflict_with_gtk=yes
5657 echo "configure: warning: --with-${feature}=${feature_value} is incompatible with --with-gtk" 1>&2 ;; 5651 echo "configure: warning: --with-${feature}=${feature_value} is incompatible with --with-gtk" 1>&2 ;;
5658 esac 5652 esac
5659 done 5653 done
5660 if test "${feature_conflict_with_gtk}" = "yes"; then 5654 if test "${feature_conflict_with_gtk}" = "yes"; then
5661 { echo "Error:" One or more GUI toolkit features conflict with GTK >&2; exit 1; } 5655 { echo "Error:" "One or more GUI toolkit features conflict with GTK" >&2; exit 1; }
5662 fi 5656 fi
5663 5657
5664 test "${with_scrollbars}" != "no" && with_scrollbars=gtk 5658 test "${with_scrollbars}" != "no" && with_scrollbars=gtk
5665 test "${with_toolbars}" != "no" && with_toolbars=gtk 5659 test "${with_toolbars}" != "no" && with_toolbars=gtk
5666 test "${with_menubars}" != "no" && with_menubars=gtk 5660 test "${with_menubars}" != "no" && with_menubars=gtk
5675 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5669 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5676 for ac_hdr in glade/glade.h glade.h 5670 for ac_hdr in glade/glade.h glade.h
5677 do 5671 do
5678 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5672 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5680 echo "configure:5681: checking for $ac_hdr" >&5 5674 echo "configure:5675: checking for $ac_hdr" >&5
5681 5675
5682 cat > conftest.$ac_ext <<EOF 5676 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure" 5677 #line 5678 "configure"
5684 #include "confdefs.h" 5678 #include "confdefs.h"
5685 #include <$ac_hdr> 5679 #include <$ac_hdr>
5686 EOF 5680 EOF
5687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5688 { (eval echo configure:5689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5682 { (eval echo configure:5683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5690 if test -z "$ac_err"; then 5684 if test -z "$ac_err"; then
5691 rm -rf conftest* 5685 rm -rf conftest*
5692 eval "ac_cv_header_$ac_safe=yes" 5686 eval "ac_cv_header_$ac_safe=yes"
5693 else 5687 else
5714 fi 5708 fi
5715 done 5709 done
5716 5710
5717 5711
5718 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5712 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5719 echo "configure:5720: checking for main in -lxml" >&5 5713 echo "configure:5714: checking for main in -lxml" >&5
5720 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5714 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5721 5715
5722 xe_check_libs=" -lxml " 5716 xe_check_libs=" -lxml "
5723 cat > conftest.$ac_ext <<EOF 5717 cat > conftest.$ac_ext <<EOF
5724 #line 5725 "configure" 5718 #line 5719 "configure"
5725 #include "confdefs.h" 5719 #include "confdefs.h"
5726 5720
5727 int main() { 5721 int main() {
5728 main() 5722 main()
5729 ; return 0; } 5723 ; return 0; }
5730 EOF 5724 EOF
5731 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5725 if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5732 rm -rf conftest* 5726 rm -rf conftest*
5733 eval "ac_cv_lib_$ac_lib_var=yes" 5727 eval "ac_cv_lib_$ac_lib_var=yes"
5734 else 5728 else
5735 echo "configure: failed program was:" >&5 5729 echo "configure: failed program was:" >&5
5736 cat conftest.$ac_ext >&5 5730 cat conftest.$ac_ext >&5
5748 fi 5742 fi
5749 5743
5750 5744
5751 5745
5752 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5746 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5753 echo "configure:5754: checking for main in -lglade" >&5 5747 echo "configure:5748: checking for main in -lglade" >&5
5754 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5748 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5755 5749
5756 xe_check_libs=" -lglade " 5750 xe_check_libs=" -lglade "
5757 cat > conftest.$ac_ext <<EOF 5751 cat > conftest.$ac_ext <<EOF
5758 #line 5759 "configure" 5752 #line 5753 "configure"
5759 #include "confdefs.h" 5753 #include "confdefs.h"
5760 5754
5761 int main() { 5755 int main() {
5762 main() 5756 main()
5763 ; return 0; } 5757 ; return 0; }
5764 EOF 5758 EOF
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5759 if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5766 rm -rf conftest* 5760 rm -rf conftest*
5767 eval "ac_cv_lib_$ac_lib_var=yes" 5761 eval "ac_cv_lib_$ac_lib_var=yes"
5768 else 5762 else
5769 echo "configure: failed program was:" >&5 5763 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5 5764 cat conftest.$ac_ext >&5
5782 fi 5776 fi
5783 5777
5784 5778
5785 5779
5786 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5780 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5787 echo "configure:5788: checking for main in -lglade-gnome" >&5 5781 echo "configure:5782: checking for main in -lglade-gnome" >&5
5788 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5782 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5789 5783
5790 xe_check_libs=" -lglade-gnome " 5784 xe_check_libs=" -lglade-gnome "
5791 cat > conftest.$ac_ext <<EOF 5785 cat > conftest.$ac_ext <<EOF
5792 #line 5793 "configure" 5786 #line 5787 "configure"
5793 #include "confdefs.h" 5787 #include "confdefs.h"
5794 5788
5795 int main() { 5789 int main() {
5796 main() 5790 main()
5797 ; return 0; } 5791 ; return 0; }
5798 EOF 5792 EOF
5799 if { (eval echo configure:5800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5793 if { (eval echo configure:5794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5800 rm -rf conftest* 5794 rm -rf conftest*
5801 eval "ac_cv_lib_$ac_lib_var=yes" 5795 eval "ac_cv_lib_$ac_lib_var=yes"
5802 else 5796 else
5803 echo "configure: failed program was:" >&5 5797 echo "configure: failed program was:" >&5
5804 cat conftest.$ac_ext >&5 5798 cat conftest.$ac_ext >&5
5815 echo "$ac_t""no" 1>&6 5809 echo "$ac_t""no" 1>&6
5816 fi 5810 fi
5817 5811
5818 5812
5819 cat > conftest.$ac_ext <<EOF 5813 cat > conftest.$ac_ext <<EOF
5820 #line 5821 "configure" 5814 #line 5815 "configure"
5821 #include "confdefs.h" 5815 #include "confdefs.h"
5822 #include <glade/glade-xml.h> 5816 #include <glade/glade-xml.h>
5823 EOF 5817 EOF
5824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5825 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5819 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5874 # If we find X, set shell vars x_includes and x_libraries to the 5868 # If we find X, set shell vars x_includes and x_libraries to the
5875 # paths, otherwise set no_x=yes. 5869 # paths, otherwise set no_x=yes.
5876 # Uses ac_ vars as temps to allow command line to override cache and checks. 5870 # Uses ac_ vars as temps to allow command line to override cache and checks.
5877 # --without-x overrides everything else, but does not touch the cache. 5871 # --without-x overrides everything else, but does not touch the cache.
5878 echo $ac_n "checking for X""... $ac_c" 1>&6 5872 echo $ac_n "checking for X""... $ac_c" 1>&6
5879 echo "configure:5880: checking for X" >&5 5873 echo "configure:5874: checking for X" >&5
5880 5874
5881 # Check whether --with-x or --without-x was given. 5875 # Check whether --with-x or --without-x was given.
5882 if test "${with_x+set}" = set; then 5876 if test "${with_x+set}" = set; then
5883 withval="$with_x" 5877 withval="$with_x"
5884 : 5878 :
5934 # Guess where to find include files, by looking for this one X11 .h file. 5928 # Guess where to find include files, by looking for this one X11 .h file.
5935 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5929 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5936 5930
5937 # First, try using that file with no special directory specified. 5931 # First, try using that file with no special directory specified.
5938 cat > conftest.$ac_ext <<EOF 5932 cat > conftest.$ac_ext <<EOF
5939 #line 5940 "configure" 5933 #line 5934 "configure"
5940 #include "confdefs.h" 5934 #include "confdefs.h"
5941 #include <$x_direct_test_include> 5935 #include <$x_direct_test_include>
5942 EOF 5936 EOF
5943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5944 { (eval echo configure:5945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5938 { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5946 if test -z "$ac_err"; then 5940 if test -z "$ac_err"; then
5947 rm -rf conftest* 5941 rm -rf conftest*
5948 # We can compile using X headers with no special include directory. 5942 # We can compile using X headers with no special include directory.
5949 ac_x_includes= 5943 ac_x_includes=
6008 # See if we find them without any special options. 6002 # See if we find them without any special options.
6009 # Don't add to $LIBS permanently. 6003 # Don't add to $LIBS permanently.
6010 ac_save_LIBS="$LIBS" 6004 ac_save_LIBS="$LIBS"
6011 LIBS="-l$x_direct_test_library $LIBS" 6005 LIBS="-l$x_direct_test_library $LIBS"
6012 cat > conftest.$ac_ext <<EOF 6006 cat > conftest.$ac_ext <<EOF
6013 #line 6014 "configure" 6007 #line 6008 "configure"
6014 #include "confdefs.h" 6008 #include "confdefs.h"
6015 6009
6016 int main() { 6010 int main() {
6017 ${x_direct_test_function}() 6011 ${x_direct_test_function}()
6018 ; return 0; } 6012 ; return 0; }
6019 EOF 6013 EOF
6020 if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6014 if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6021 rm -rf conftest* 6015 rm -rf conftest*
6022 LIBS="$ac_save_LIBS" 6016 LIBS="$ac_save_LIBS"
6023 # We can link X programs with no special library path. 6017 # We can link X programs with no special library path.
6024 ac_x_libraries= 6018 ac_x_libraries=
6025 else 6019 else
6124 # For Solaris; some versions of Sun CC require a space after -R and 6118 # For Solaris; some versions of Sun CC require a space after -R and
6125 # others require no space. Words are not sufficient . . . . 6119 # others require no space. Words are not sufficient . . . .
6126 case "`(uname -sr) 2>/dev/null`" in 6120 case "`(uname -sr) 2>/dev/null`" in
6127 "SunOS 5"*) 6121 "SunOS 5"*)
6128 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6122 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6129 echo "configure:6130: checking whether -R must be followed by a space" >&5 6123 echo "configure:6124: checking whether -R must be followed by a space" >&5
6130 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6124 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6131 cat > conftest.$ac_ext <<EOF 6125 cat > conftest.$ac_ext <<EOF
6132 #line 6133 "configure" 6126 #line 6127 "configure"
6133 #include "confdefs.h" 6127 #include "confdefs.h"
6134 6128
6135 int main() { 6129 int main() {
6136 6130
6137 ; return 0; } 6131 ; return 0; }
6138 EOF 6132 EOF
6139 if { (eval echo configure:6140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6133 if { (eval echo configure:6134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6140 rm -rf conftest* 6134 rm -rf conftest*
6141 ac_R_nospace=yes 6135 ac_R_nospace=yes
6142 else 6136 else
6143 echo "configure: failed program was:" >&5 6137 echo "configure: failed program was:" >&5
6144 cat conftest.$ac_ext >&5 6138 cat conftest.$ac_ext >&5
6150 echo "$ac_t""no" 1>&6 6144 echo "$ac_t""no" 1>&6
6151 X_LIBS="$X_LIBS -R$x_libraries" 6145 X_LIBS="$X_LIBS -R$x_libraries"
6152 else 6146 else
6153 LIBS="$ac_xsave_LIBS -R $x_libraries" 6147 LIBS="$ac_xsave_LIBS -R $x_libraries"
6154 cat > conftest.$ac_ext <<EOF 6148 cat > conftest.$ac_ext <<EOF
6155 #line 6156 "configure" 6149 #line 6150 "configure"
6156 #include "confdefs.h" 6150 #include "confdefs.h"
6157 6151
6158 int main() { 6152 int main() {
6159 6153
6160 ; return 0; } 6154 ; return 0; }
6161 EOF 6155 EOF
6162 if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6163 rm -rf conftest* 6157 rm -rf conftest*
6164 ac_R_space=yes 6158 ac_R_space=yes
6165 else 6159 else
6166 echo "configure: failed program was:" >&5 6160 echo "configure: failed program was:" >&5
6167 cat conftest.$ac_ext >&5 6161 cat conftest.$ac_ext >&5
6193 if test "$with_dnet" = "no" ; then 6187 if test "$with_dnet" = "no" ; then
6194 ac_cv_lib_dnet_dnet_ntoa=no 6188 ac_cv_lib_dnet_dnet_ntoa=no
6195 else 6189 else
6196 6190
6197 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6191 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6198 echo "configure:6199: checking for dnet_ntoa in -ldnet" >&5 6192 echo "configure:6193: checking for dnet_ntoa in -ldnet" >&5
6199 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6193 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6200 6194
6201 xe_check_libs=" -ldnet " 6195 xe_check_libs=" -ldnet "
6202 cat > conftest.$ac_ext <<EOF 6196 cat > conftest.$ac_ext <<EOF
6203 #line 6204 "configure" 6197 #line 6198 "configure"
6204 #include "confdefs.h" 6198 #include "confdefs.h"
6205 /* Override any gcc2 internal prototype to avoid an error. */ 6199 /* Override any gcc2 internal prototype to avoid an error. */
6206 /* We use char because int might match the return type of a gcc2 6200 /* We use char because int might match the return type of a gcc2
6207 builtin and then its argument prototype would still apply. */ 6201 builtin and then its argument prototype would still apply. */
6208 char dnet_ntoa(); 6202 char dnet_ntoa();
6209 6203
6210 int main() { 6204 int main() {
6211 dnet_ntoa() 6205 dnet_ntoa()
6212 ; return 0; } 6206 ; return 0; }
6213 EOF 6207 EOF
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6215 rm -rf conftest* 6209 rm -rf conftest*
6216 eval "ac_cv_lib_$ac_lib_var=yes" 6210 eval "ac_cv_lib_$ac_lib_var=yes"
6217 else 6211 else
6218 echo "configure: failed program was:" >&5 6212 echo "configure: failed program was:" >&5
6219 cat conftest.$ac_ext >&5 6213 cat conftest.$ac_ext >&5
6233 fi 6227 fi
6234 6228
6235 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6229 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6236 6230
6237 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6231 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6238 echo "configure:6239: checking for dnet_ntoa in -ldnet_stub" >&5 6232 echo "configure:6233: checking for dnet_ntoa in -ldnet_stub" >&5
6239 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6233 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6240 6234
6241 xe_check_libs=" -ldnet_stub " 6235 xe_check_libs=" -ldnet_stub "
6242 cat > conftest.$ac_ext <<EOF 6236 cat > conftest.$ac_ext <<EOF
6243 #line 6244 "configure" 6237 #line 6238 "configure"
6244 #include "confdefs.h" 6238 #include "confdefs.h"
6245 /* Override any gcc2 internal prototype to avoid an error. */ 6239 /* Override any gcc2 internal prototype to avoid an error. */
6246 /* We use char because int might match the return type of a gcc2 6240 /* We use char because int might match the return type of a gcc2
6247 builtin and then its argument prototype would still apply. */ 6241 builtin and then its argument prototype would still apply. */
6248 char dnet_ntoa(); 6242 char dnet_ntoa();
6249 6243
6250 int main() { 6244 int main() {
6251 dnet_ntoa() 6245 dnet_ntoa()
6252 ; return 0; } 6246 ; return 0; }
6253 EOF 6247 EOF
6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6255 rm -rf conftest* 6249 rm -rf conftest*
6256 eval "ac_cv_lib_$ac_lib_var=yes" 6250 eval "ac_cv_lib_$ac_lib_var=yes"
6257 else 6251 else
6258 echo "configure: failed program was:" >&5 6252 echo "configure: failed program was:" >&5
6259 cat conftest.$ac_ext >&5 6253 cat conftest.$ac_ext >&5
6278 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6272 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6279 # needs -lnsl. 6273 # needs -lnsl.
6280 # The nsl library prevents programs from opening the X display 6274 # The nsl library prevents programs from opening the X display
6281 # on Irix 5.2, according to dickey@clark.net. 6275 # on Irix 5.2, according to dickey@clark.net.
6282 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6276 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6283 echo "configure:6284: checking for gethostbyname" >&5 6277 echo "configure:6278: checking for gethostbyname" >&5
6284 6278
6285 cat > conftest.$ac_ext <<EOF 6279 cat > conftest.$ac_ext <<EOF
6286 #line 6287 "configure" 6280 #line 6281 "configure"
6287 #include "confdefs.h" 6281 #include "confdefs.h"
6288 /* System header to define __stub macros and hopefully few prototypes, 6282 /* System header to define __stub macros and hopefully few prototypes,
6289 which can conflict with char gethostbyname(); below. */ 6283 which can conflict with char gethostbyname(); below. */
6290 #include <assert.h> 6284 #include <assert.h>
6291 /* Override any gcc2 internal prototype to avoid an error. */ 6285 /* Override any gcc2 internal prototype to avoid an error. */
6304 gethostbyname(); 6298 gethostbyname();
6305 #endif 6299 #endif
6306 6300
6307 ; return 0; } 6301 ; return 0; }
6308 EOF 6302 EOF
6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6310 rm -rf conftest* 6304 rm -rf conftest*
6311 eval "ac_cv_func_gethostbyname=yes" 6305 eval "ac_cv_func_gethostbyname=yes"
6312 else 6306 else
6313 echo "configure: failed program was:" >&5 6307 echo "configure: failed program was:" >&5
6314 cat conftest.$ac_ext >&5 6308 cat conftest.$ac_ext >&5
6325 fi 6319 fi
6326 6320
6327 if test $ac_cv_func_gethostbyname = no; then 6321 if test $ac_cv_func_gethostbyname = no; then
6328 6322
6329 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6323 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6330 echo "configure:6331: checking for gethostbyname in -lnsl" >&5 6324 echo "configure:6325: checking for gethostbyname in -lnsl" >&5
6331 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6325 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6332 6326
6333 xe_check_libs=" -lnsl " 6327 xe_check_libs=" -lnsl "
6334 cat > conftest.$ac_ext <<EOF 6328 cat > conftest.$ac_ext <<EOF
6335 #line 6336 "configure" 6329 #line 6330 "configure"
6336 #include "confdefs.h" 6330 #include "confdefs.h"
6337 /* Override any gcc2 internal prototype to avoid an error. */ 6331 /* Override any gcc2 internal prototype to avoid an error. */
6338 /* We use char because int might match the return type of a gcc2 6332 /* We use char because int might match the return type of a gcc2
6339 builtin and then its argument prototype would still apply. */ 6333 builtin and then its argument prototype would still apply. */
6340 char gethostbyname(); 6334 char gethostbyname();
6341 6335
6342 int main() { 6336 int main() {
6343 gethostbyname() 6337 gethostbyname()
6344 ; return 0; } 6338 ; return 0; }
6345 EOF 6339 EOF
6346 if { (eval echo configure:6347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6347 rm -rf conftest* 6341 rm -rf conftest*
6348 eval "ac_cv_lib_$ac_lib_var=yes" 6342 eval "ac_cv_lib_$ac_lib_var=yes"
6349 else 6343 else
6350 echo "configure: failed program was:" >&5 6344 echo "configure: failed program was:" >&5
6351 cat conftest.$ac_ext >&5 6345 cat conftest.$ac_ext >&5
6371 # on later versions), says simon@lia.di.epfl.ch: it contains 6365 # on later versions), says simon@lia.di.epfl.ch: it contains
6372 # gethostby* variants that don't use the nameserver (or something). 6366 # gethostby* variants that don't use the nameserver (or something).
6373 # -lsocket must be given before -lnsl if both are needed. 6367 # -lsocket must be given before -lnsl if both are needed.
6374 # We assume that if connect needs -lnsl, so does gethostbyname. 6368 # We assume that if connect needs -lnsl, so does gethostbyname.
6375 echo $ac_n "checking for connect""... $ac_c" 1>&6 6369 echo $ac_n "checking for connect""... $ac_c" 1>&6
6376 echo "configure:6377: checking for connect" >&5 6370 echo "configure:6371: checking for connect" >&5
6377 6371
6378 cat > conftest.$ac_ext <<EOF 6372 cat > conftest.$ac_ext <<EOF
6379 #line 6380 "configure" 6373 #line 6374 "configure"
6380 #include "confdefs.h" 6374 #include "confdefs.h"
6381 /* System header to define __stub macros and hopefully few prototypes, 6375 /* System header to define __stub macros and hopefully few prototypes,
6382 which can conflict with char connect(); below. */ 6376 which can conflict with char connect(); below. */
6383 #include <assert.h> 6377 #include <assert.h>
6384 /* Override any gcc2 internal prototype to avoid an error. */ 6378 /* Override any gcc2 internal prototype to avoid an error. */
6397 connect(); 6391 connect();
6398 #endif 6392 #endif
6399 6393
6400 ; return 0; } 6394 ; return 0; }
6401 EOF 6395 EOF
6402 if { (eval echo configure:6403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6396 if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6403 rm -rf conftest* 6397 rm -rf conftest*
6404 eval "ac_cv_func_connect=yes" 6398 eval "ac_cv_func_connect=yes"
6405 else 6399 else
6406 echo "configure: failed program was:" >&5 6400 echo "configure: failed program was:" >&5
6407 cat conftest.$ac_ext >&5 6401 cat conftest.$ac_ext >&5
6420 if test $ac_cv_func_connect = no; then 6414 if test $ac_cv_func_connect = no; then
6421 6415
6422 xe_msg_checking="for connect in -lsocket" 6416 xe_msg_checking="for connect in -lsocket"
6423 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6417 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6424 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6418 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6425 echo "configure:6426: checking "$xe_msg_checking"" >&5 6419 echo "configure:6420: checking "$xe_msg_checking"" >&5
6426 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6420 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6427 6421
6428 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6422 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6429 cat > conftest.$ac_ext <<EOF 6423 cat > conftest.$ac_ext <<EOF
6430 #line 6431 "configure" 6424 #line 6425 "configure"
6431 #include "confdefs.h" 6425 #include "confdefs.h"
6432 /* Override any gcc2 internal prototype to avoid an error. */ 6426 /* Override any gcc2 internal prototype to avoid an error. */
6433 /* We use char because int might match the return type of a gcc2 6427 /* We use char because int might match the return type of a gcc2
6434 builtin and then its argument prototype would still apply. */ 6428 builtin and then its argument prototype would still apply. */
6435 char connect(); 6429 char connect();
6436 6430
6437 int main() { 6431 int main() {
6438 connect() 6432 connect()
6439 ; return 0; } 6433 ; return 0; }
6440 EOF 6434 EOF
6441 if { (eval echo configure:6442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6435 if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6442 rm -rf conftest* 6436 rm -rf conftest*
6443 eval "ac_cv_lib_$ac_lib_var=yes" 6437 eval "ac_cv_lib_$ac_lib_var=yes"
6444 else 6438 else
6445 echo "configure: failed program was:" >&5 6439 echo "configure: failed program was:" >&5
6446 cat conftest.$ac_ext >&5 6440 cat conftest.$ac_ext >&5
6460 6454
6461 fi 6455 fi
6462 6456
6463 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6457 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6464 echo $ac_n "checking for remove""... $ac_c" 1>&6 6458 echo $ac_n "checking for remove""... $ac_c" 1>&6
6465 echo "configure:6466: checking for remove" >&5 6459 echo "configure:6460: checking for remove" >&5
6466 6460
6467 cat > conftest.$ac_ext <<EOF 6461 cat > conftest.$ac_ext <<EOF
6468 #line 6469 "configure" 6462 #line 6463 "configure"
6469 #include "confdefs.h" 6463 #include "confdefs.h"
6470 /* System header to define __stub macros and hopefully few prototypes, 6464 /* System header to define __stub macros and hopefully few prototypes,
6471 which can conflict with char remove(); below. */ 6465 which can conflict with char remove(); below. */
6472 #include <assert.h> 6466 #include <assert.h>
6473 /* Override any gcc2 internal prototype to avoid an error. */ 6467 /* Override any gcc2 internal prototype to avoid an error. */
6486 remove(); 6480 remove();
6487 #endif 6481 #endif
6488 6482
6489 ; return 0; } 6483 ; return 0; }
6490 EOF 6484 EOF
6491 if { (eval echo configure:6492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6485 if { (eval echo configure:6486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6492 rm -rf conftest* 6486 rm -rf conftest*
6493 eval "ac_cv_func_remove=yes" 6487 eval "ac_cv_func_remove=yes"
6494 else 6488 else
6495 echo "configure: failed program was:" >&5 6489 echo "configure: failed program was:" >&5
6496 cat conftest.$ac_ext >&5 6490 cat conftest.$ac_ext >&5
6507 fi 6501 fi
6508 6502
6509 if test $ac_cv_func_remove = no; then 6503 if test $ac_cv_func_remove = no; then
6510 6504
6511 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6505 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6512 echo "configure:6513: checking for remove in -lposix" >&5 6506 echo "configure:6507: checking for remove in -lposix" >&5
6513 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6507 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6514 6508
6515 xe_check_libs=" -lposix " 6509 xe_check_libs=" -lposix "
6516 cat > conftest.$ac_ext <<EOF 6510 cat > conftest.$ac_ext <<EOF
6517 #line 6518 "configure" 6511 #line 6512 "configure"
6518 #include "confdefs.h" 6512 #include "confdefs.h"
6519 /* Override any gcc2 internal prototype to avoid an error. */ 6513 /* Override any gcc2 internal prototype to avoid an error. */
6520 /* We use char because int might match the return type of a gcc2 6514 /* We use char because int might match the return type of a gcc2
6521 builtin and then its argument prototype would still apply. */ 6515 builtin and then its argument prototype would still apply. */
6522 char remove(); 6516 char remove();
6523 6517
6524 int main() { 6518 int main() {
6525 remove() 6519 remove()
6526 ; return 0; } 6520 ; return 0; }
6527 EOF 6521 EOF
6528 if { (eval echo configure:6529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6522 if { (eval echo configure:6523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6529 rm -rf conftest* 6523 rm -rf conftest*
6530 eval "ac_cv_lib_$ac_lib_var=yes" 6524 eval "ac_cv_lib_$ac_lib_var=yes"
6531 else 6525 else
6532 echo "configure: failed program was:" >&5 6526 echo "configure: failed program was:" >&5
6533 cat conftest.$ac_ext >&5 6527 cat conftest.$ac_ext >&5
6547 6541
6548 fi 6542 fi
6549 6543
6550 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6544 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6551 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6545 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6552 echo "configure:6553: checking for shmat" >&5 6546 echo "configure:6547: checking for shmat" >&5
6553 6547
6554 cat > conftest.$ac_ext <<EOF 6548 cat > conftest.$ac_ext <<EOF
6555 #line 6556 "configure" 6549 #line 6550 "configure"
6556 #include "confdefs.h" 6550 #include "confdefs.h"
6557 /* System header to define __stub macros and hopefully few prototypes, 6551 /* System header to define __stub macros and hopefully few prototypes,
6558 which can conflict with char shmat(); below. */ 6552 which can conflict with char shmat(); below. */
6559 #include <assert.h> 6553 #include <assert.h>
6560 /* Override any gcc2 internal prototype to avoid an error. */ 6554 /* Override any gcc2 internal prototype to avoid an error. */
6573 shmat(); 6567 shmat();
6574 #endif 6568 #endif
6575 6569
6576 ; return 0; } 6570 ; return 0; }
6577 EOF 6571 EOF
6578 if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6579 rm -rf conftest* 6573 rm -rf conftest*
6580 eval "ac_cv_func_shmat=yes" 6574 eval "ac_cv_func_shmat=yes"
6581 else 6575 else
6582 echo "configure: failed program was:" >&5 6576 echo "configure: failed program was:" >&5
6583 cat conftest.$ac_ext >&5 6577 cat conftest.$ac_ext >&5
6594 fi 6588 fi
6595 6589
6596 if test $ac_cv_func_shmat = no; then 6590 if test $ac_cv_func_shmat = no; then
6597 6591
6598 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6592 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6599 echo "configure:6600: checking for shmat in -lipc" >&5 6593 echo "configure:6594: checking for shmat in -lipc" >&5
6600 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6594 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6601 6595
6602 xe_check_libs=" -lipc " 6596 xe_check_libs=" -lipc "
6603 cat > conftest.$ac_ext <<EOF 6597 cat > conftest.$ac_ext <<EOF
6604 #line 6605 "configure" 6598 #line 6599 "configure"
6605 #include "confdefs.h" 6599 #include "confdefs.h"
6606 /* Override any gcc2 internal prototype to avoid an error. */ 6600 /* Override any gcc2 internal prototype to avoid an error. */
6607 /* We use char because int might match the return type of a gcc2 6601 /* We use char because int might match the return type of a gcc2
6608 builtin and then its argument prototype would still apply. */ 6602 builtin and then its argument prototype would still apply. */
6609 char shmat(); 6603 char shmat();
6610 6604
6611 int main() { 6605 int main() {
6612 shmat() 6606 shmat()
6613 ; return 0; } 6607 ; return 0; }
6614 EOF 6608 EOF
6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6609 if { (eval echo configure:6610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6616 rm -rf conftest* 6610 rm -rf conftest*
6617 eval "ac_cv_lib_$ac_lib_var=yes" 6611 eval "ac_cv_lib_$ac_lib_var=yes"
6618 else 6612 else
6619 echo "configure: failed program was:" >&5 6613 echo "configure: failed program was:" >&5
6620 cat conftest.$ac_ext >&5 6614 cat conftest.$ac_ext >&5
6646 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6640 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6647 6641
6648 xe_msg_checking="for IceConnectionNumber in -lICE" 6642 xe_msg_checking="for IceConnectionNumber in -lICE"
6649 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6643 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6650 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6644 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6651 echo "configure:6652: checking "$xe_msg_checking"" >&5 6645 echo "configure:6646: checking "$xe_msg_checking"" >&5
6652 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6646 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6653 6647
6654 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6648 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6655 cat > conftest.$ac_ext <<EOF 6649 cat > conftest.$ac_ext <<EOF
6656 #line 6657 "configure" 6650 #line 6651 "configure"
6657 #include "confdefs.h" 6651 #include "confdefs.h"
6658 /* Override any gcc2 internal prototype to avoid an error. */ 6652 /* Override any gcc2 internal prototype to avoid an error. */
6659 /* We use char because int might match the return type of a gcc2 6653 /* We use char because int might match the return type of a gcc2
6660 builtin and then its argument prototype would still apply. */ 6654 builtin and then its argument prototype would still apply. */
6661 char IceConnectionNumber(); 6655 char IceConnectionNumber();
6662 6656
6663 int main() { 6657 int main() {
6664 IceConnectionNumber() 6658 IceConnectionNumber()
6665 ; return 0; } 6659 ; return 0; }
6666 EOF 6660 EOF
6667 if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6661 if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6668 rm -rf conftest* 6662 rm -rf conftest*
6669 eval "ac_cv_lib_$ac_lib_var=yes" 6663 eval "ac_cv_lib_$ac_lib_var=yes"
6670 else 6664 else
6671 echo "configure: failed program was:" >&5 6665 echo "configure: failed program was:" >&5
6672 cat conftest.$ac_ext >&5 6666 cat conftest.$ac_ext >&5
6708 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6702 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6709 6703
6710 6704
6711 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6705 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6712 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6706 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6713 echo "configure:6714: checking for Xm/Xm.h" >&5 6707 echo "configure:6708: checking for Xm/Xm.h" >&5
6714 6708
6715 cat > conftest.$ac_ext <<EOF 6709 cat > conftest.$ac_ext <<EOF
6716 #line 6717 "configure" 6710 #line 6711 "configure"
6717 #include "confdefs.h" 6711 #include "confdefs.h"
6718 #include <Xm/Xm.h> 6712 #include <Xm/Xm.h>
6719 EOF 6713 EOF
6720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6721 { (eval echo configure:6722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6715 { (eval echo configure:6716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6723 if test -z "$ac_err"; then 6717 if test -z "$ac_err"; then
6724 rm -rf conftest* 6718 rm -rf conftest*
6725 eval "ac_cv_header_$ac_safe=yes" 6719 eval "ac_cv_header_$ac_safe=yes"
6726 else 6720 else
6733 rm -f conftest* 6727 rm -f conftest*
6734 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6735 echo "$ac_t""yes" 1>&6 6729 echo "$ac_t""yes" 1>&6
6736 6730
6737 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6731 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6738 echo "configure:6739: checking for XmStringFree in -lXm" >&5 6732 echo "configure:6733: checking for XmStringFree in -lXm" >&5
6739 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6733 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6740 6734
6741 xe_check_libs=" -lXm " 6735 xe_check_libs=" -lXm "
6742 cat > conftest.$ac_ext <<EOF 6736 cat > conftest.$ac_ext <<EOF
6743 #line 6744 "configure" 6737 #line 6738 "configure"
6744 #include "confdefs.h" 6738 #include "confdefs.h"
6745 /* Override any gcc2 internal prototype to avoid an error. */ 6739 /* Override any gcc2 internal prototype to avoid an error. */
6746 /* We use char because int might match the return type of a gcc2 6740 /* We use char because int might match the return type of a gcc2
6747 builtin and then its argument prototype would still apply. */ 6741 builtin and then its argument prototype would still apply. */
6748 char XmStringFree(); 6742 char XmStringFree();
6749 6743
6750 int main() { 6744 int main() {
6751 XmStringFree() 6745 XmStringFree()
6752 ; return 0; } 6746 ; return 0; }
6753 EOF 6747 EOF
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6748 if { (eval echo configure:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6755 rm -rf conftest* 6749 rm -rf conftest*
6756 eval "ac_cv_lib_$ac_lib_var=yes" 6750 eval "ac_cv_lib_$ac_lib_var=yes"
6757 else 6751 else
6758 echo "configure: failed program was:" >&5 6752 echo "configure: failed program was:" >&5
6759 cat conftest.$ac_ext >&5 6753 cat conftest.$ac_ext >&5
6901 EOF 6895 EOF
6902 } 6896 }
6903 6897
6904 6898
6905 echo "checking for X defines extracted by xmkmf" 1>&6 6899 echo "checking for X defines extracted by xmkmf" 1>&6
6906 echo "configure:6907: checking for X defines extracted by xmkmf" >&5 6900 echo "configure:6901: checking for X defines extracted by xmkmf" >&5
6907 rm -fr conftestdir 6901 rm -fr conftestdir
6908 if mkdir conftestdir; then 6902 if mkdir conftestdir; then
6909 cd conftestdir 6903 cd conftestdir
6910 cat > Imakefile <<'EOF' 6904 cat > Imakefile <<'EOF'
6911 xetest: 6905 xetest:
6950 done 6944 done
6951 fi 6945 fi
6952 6946
6953 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6947 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6954 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6948 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6955 echo "configure:6956: checking for X11/Intrinsic.h" >&5 6949 echo "configure:6950: checking for X11/Intrinsic.h" >&5
6956 6950
6957 cat > conftest.$ac_ext <<EOF 6951 cat > conftest.$ac_ext <<EOF
6958 #line 6959 "configure" 6952 #line 6953 "configure"
6959 #include "confdefs.h" 6953 #include "confdefs.h"
6960 #include <X11/Intrinsic.h> 6954 #include <X11/Intrinsic.h>
6961 EOF 6955 EOF
6962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6963 { (eval echo configure:6964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6957 { (eval echo configure:6958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6964 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6965 if test -z "$ac_err"; then 6959 if test -z "$ac_err"; then
6966 rm -rf conftest* 6960 rm -rf conftest*
6967 eval "ac_cv_header_$ac_safe=yes" 6961 eval "ac_cv_header_$ac_safe=yes"
6968 else 6962 else
6982 fi 6976 fi
6983 6977
6984 6978
6985 6979
6986 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6980 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6987 echo "configure:6988: checking for XOpenDisplay in -lX11" >&5 6981 echo "configure:6982: checking for XOpenDisplay in -lX11" >&5
6988 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6982 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6989 6983
6990 xe_check_libs=" -lX11 " 6984 xe_check_libs=" -lX11 "
6991 cat > conftest.$ac_ext <<EOF 6985 cat > conftest.$ac_ext <<EOF
6992 #line 6993 "configure" 6986 #line 6987 "configure"
6993 #include "confdefs.h" 6987 #include "confdefs.h"
6994 /* Override any gcc2 internal prototype to avoid an error. */ 6988 /* Override any gcc2 internal prototype to avoid an error. */
6995 /* We use char because int might match the return type of a gcc2 6989 /* We use char because int might match the return type of a gcc2
6996 builtin and then its argument prototype would still apply. */ 6990 builtin and then its argument prototype would still apply. */
6997 char XOpenDisplay(); 6991 char XOpenDisplay();
6998 6992
6999 int main() { 6993 int main() {
7000 XOpenDisplay() 6994 XOpenDisplay()
7001 ; return 0; } 6995 ; return 0; }
7002 EOF 6996 EOF
7003 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6997 if { (eval echo configure:6998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7004 rm -rf conftest* 6998 rm -rf conftest*
7005 eval "ac_cv_lib_$ac_lib_var=yes" 6999 eval "ac_cv_lib_$ac_lib_var=yes"
7006 else 7000 else
7007 echo "configure: failed program was:" >&5 7001 echo "configure: failed program was:" >&5
7008 cat conftest.$ac_ext >&5 7002 cat conftest.$ac_ext >&5
7023 if test "$have_lib_x11" != "yes"; then 7017 if test "$have_lib_x11" != "yes"; then
7024 7018
7025 xe_msg_checking="for XGetFontProperty in -lX11" 7019 xe_msg_checking="for XGetFontProperty in -lX11"
7026 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7020 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7027 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7021 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7028 echo "configure:7029: checking "$xe_msg_checking"" >&5 7022 echo "configure:7023: checking "$xe_msg_checking"" >&5
7029 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7023 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7030 7024
7031 xe_check_libs=" -lX11 -b i486-linuxaout" 7025 xe_check_libs=" -lX11 -b i486-linuxaout"
7032 cat > conftest.$ac_ext <<EOF 7026 cat > conftest.$ac_ext <<EOF
7033 #line 7034 "configure" 7027 #line 7028 "configure"
7034 #include "confdefs.h" 7028 #include "confdefs.h"
7035 /* Override any gcc2 internal prototype to avoid an error. */ 7029 /* Override any gcc2 internal prototype to avoid an error. */
7036 /* We use char because int might match the return type of a gcc2 7030 /* We use char because int might match the return type of a gcc2
7037 builtin and then its argument prototype would still apply. */ 7031 builtin and then its argument prototype would still apply. */
7038 char XGetFontProperty(); 7032 char XGetFontProperty();
7039 7033
7040 int main() { 7034 int main() {
7041 XGetFontProperty() 7035 XGetFontProperty()
7042 ; return 0; } 7036 ; return 0; }
7043 EOF 7037 EOF
7044 if { (eval echo configure:7045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7038 if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7045 rm -rf conftest* 7039 rm -rf conftest*
7046 eval "ac_cv_lib_$ac_lib_var=yes" 7040 eval "ac_cv_lib_$ac_lib_var=yes"
7047 else 7041 else
7048 echo "configure: failed program was:" >&5 7042 echo "configure: failed program was:" >&5
7049 cat conftest.$ac_ext >&5 7043 cat conftest.$ac_ext >&5
7066 libs_x="-lX11" 7060 libs_x="-lX11"
7067 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7061 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7068 7062
7069 7063
7070 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7064 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7071 echo "configure:7072: checking for XShapeSelectInput in -lXext" >&5 7065 echo "configure:7066: checking for XShapeSelectInput in -lXext" >&5
7072 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7066 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7073 7067
7074 xe_check_libs=" -lXext " 7068 xe_check_libs=" -lXext "
7075 cat > conftest.$ac_ext <<EOF 7069 cat > conftest.$ac_ext <<EOF
7076 #line 7077 "configure" 7070 #line 7071 "configure"
7077 #include "confdefs.h" 7071 #include "confdefs.h"
7078 /* Override any gcc2 internal prototype to avoid an error. */ 7072 /* Override any gcc2 internal prototype to avoid an error. */
7079 /* We use char because int might match the return type of a gcc2 7073 /* We use char because int might match the return type of a gcc2
7080 builtin and then its argument prototype would still apply. */ 7074 builtin and then its argument prototype would still apply. */
7081 char XShapeSelectInput(); 7075 char XShapeSelectInput();
7082 7076
7083 int main() { 7077 int main() {
7084 XShapeSelectInput() 7078 XShapeSelectInput()
7085 ; return 0; } 7079 ; return 0; }
7086 EOF 7080 EOF
7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7081 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7088 rm -rf conftest* 7082 rm -rf conftest*
7089 eval "ac_cv_lib_$ac_lib_var=yes" 7083 eval "ac_cv_lib_$ac_lib_var=yes"
7090 else 7084 else
7091 echo "configure: failed program was:" >&5 7085 echo "configure: failed program was:" >&5
7092 cat conftest.$ac_ext >&5 7086 cat conftest.$ac_ext >&5
7105 7099
7106 7100
7107 7101
7108 7102
7109 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7103 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7110 echo "configure:7111: checking for XtOpenDisplay in -lXt" >&5 7104 echo "configure:7105: checking for XtOpenDisplay in -lXt" >&5
7111 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7105 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7112 7106
7113 xe_check_libs=" -lXt " 7107 xe_check_libs=" -lXt "
7114 cat > conftest.$ac_ext <<EOF 7108 cat > conftest.$ac_ext <<EOF
7115 #line 7116 "configure" 7109 #line 7110 "configure"
7116 #include "confdefs.h" 7110 #include "confdefs.h"
7117 /* Override any gcc2 internal prototype to avoid an error. */ 7111 /* Override any gcc2 internal prototype to avoid an error. */
7118 /* We use char because int might match the return type of a gcc2 7112 /* We use char because int might match the return type of a gcc2
7119 builtin and then its argument prototype would still apply. */ 7113 builtin and then its argument prototype would still apply. */
7120 char XtOpenDisplay(); 7114 char XtOpenDisplay();
7121 7115
7122 int main() { 7116 int main() {
7123 XtOpenDisplay() 7117 XtOpenDisplay()
7124 ; return 0; } 7118 ; return 0; }
7125 EOF 7119 EOF
7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7127 rm -rf conftest* 7121 rm -rf conftest*
7128 eval "ac_cv_lib_$ac_lib_var=yes" 7122 eval "ac_cv_lib_$ac_lib_var=yes"
7129 else 7123 else
7130 echo "configure: failed program was:" >&5 7124 echo "configure: failed program was:" >&5
7131 cat conftest.$ac_ext >&5 7125 cat conftest.$ac_ext >&5
7144 fi 7138 fi
7145 7139
7146 7140
7147 7141
7148 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7142 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7149 echo "configure:7150: checking the version of X11 being used" >&5 7143 echo "configure:7144: checking the version of X11 being used" >&5
7150 cat > conftest.$ac_ext <<EOF 7144 cat > conftest.$ac_ext <<EOF
7151 #line 7152 "configure" 7145 #line 7146 "configure"
7152 #include "confdefs.h" 7146 #include "confdefs.h"
7153 #include <X11/Intrinsic.h> 7147 #include <X11/Intrinsic.h>
7154 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7148 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7155 EOF 7149 EOF
7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7150 if { (eval echo configure:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7157 then 7151 then
7158 ./conftest foobar; x11_release=$? 7152 ./conftest foobar; x11_release=$?
7159 else 7153 else
7160 conftest_rc="$?" 7154 conftest_rc="$?"
7161 echo "configure: failed program was:" >&5 7155 echo "configure: failed program was:" >&5
7182 fi 7176 fi
7183 7177
7184 for ac_func in XConvertCase 7178 for ac_func in XConvertCase
7185 do 7179 do
7186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7187 echo "configure:7188: checking for $ac_func" >&5 7181 echo "configure:7182: checking for $ac_func" >&5
7188 7182
7189 cat > conftest.$ac_ext <<EOF 7183 cat > conftest.$ac_ext <<EOF
7190 #line 7191 "configure" 7184 #line 7185 "configure"
7191 #include "confdefs.h" 7185 #include "confdefs.h"
7192 /* System header to define __stub macros and hopefully few prototypes, 7186 /* System header to define __stub macros and hopefully few prototypes,
7193 which can conflict with char $ac_func(); below. */ 7187 which can conflict with char $ac_func(); below. */
7194 #include <assert.h> 7188 #include <assert.h>
7195 /* Override any gcc2 internal prototype to avoid an error. */ 7189 /* Override any gcc2 internal prototype to avoid an error. */
7208 $ac_func(); 7202 $ac_func();
7209 #endif 7203 #endif
7210 7204
7211 ; return 0; } 7205 ; return 0; }
7212 EOF 7206 EOF
7213 if { (eval echo configure:7214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7214 rm -rf conftest* 7208 rm -rf conftest*
7215 eval "ac_cv_func_$ac_func=yes" 7209 eval "ac_cv_func_$ac_func=yes"
7216 else 7210 else
7217 echo "configure: failed program was:" >&5 7211 echo "configure: failed program was:" >&5
7218 cat conftest.$ac_ext >&5 7212 cat conftest.$ac_ext >&5
7240 7234
7241 for ac_hdr in X11/Xlocale.h 7235 for ac_hdr in X11/Xlocale.h
7242 do 7236 do
7243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7237 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7238 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7245 echo "configure:7246: checking for $ac_hdr" >&5 7239 echo "configure:7240: checking for $ac_hdr" >&5
7246 7240
7247 cat > conftest.$ac_ext <<EOF 7241 cat > conftest.$ac_ext <<EOF
7248 #line 7249 "configure" 7242 #line 7243 "configure"
7249 #include "confdefs.h" 7243 #include "confdefs.h"
7250 #include <$ac_hdr> 7244 #include <$ac_hdr>
7251 EOF 7245 EOF
7252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7253 { (eval echo configure:7254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7247 { (eval echo configure:7248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7255 if test -z "$ac_err"; then 7249 if test -z "$ac_err"; then
7256 rm -rf conftest* 7250 rm -rf conftest*
7257 eval "ac_cv_header_$ac_safe=yes" 7251 eval "ac_cv_header_$ac_safe=yes"
7258 else 7252 else
7281 7275
7282 7276
7283 for ac_func in XRegisterIMInstantiateCallback 7277 for ac_func in XRegisterIMInstantiateCallback
7284 do 7278 do
7285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7286 echo "configure:7287: checking for $ac_func" >&5 7280 echo "configure:7281: checking for $ac_func" >&5
7287 7281
7288 cat > conftest.$ac_ext <<EOF 7282 cat > conftest.$ac_ext <<EOF
7289 #line 7290 "configure" 7283 #line 7284 "configure"
7290 #include "confdefs.h" 7284 #include "confdefs.h"
7291 /* System header to define __stub macros and hopefully few prototypes, 7285 /* System header to define __stub macros and hopefully few prototypes,
7292 which can conflict with char $ac_func(); below. */ 7286 which can conflict with char $ac_func(); below. */
7293 #include <assert.h> 7287 #include <assert.h>
7294 /* Override any gcc2 internal prototype to avoid an error. */ 7288 /* Override any gcc2 internal prototype to avoid an error. */
7307 $ac_func(); 7301 $ac_func();
7308 #endif 7302 #endif
7309 7303
7310 ; return 0; } 7304 ; return 0; }
7311 EOF 7305 EOF
7312 if { (eval echo configure:7313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7306 if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7313 rm -rf conftest* 7307 rm -rf conftest*
7314 eval "ac_cv_func_$ac_func=yes" 7308 eval "ac_cv_func_$ac_func=yes"
7315 else 7309 else
7316 echo "configure: failed program was:" >&5 7310 echo "configure: failed program was:" >&5
7317 cat conftest.$ac_ext >&5 7311 cat conftest.$ac_ext >&5
7335 echo "$ac_t""no" 1>&6 7329 echo "$ac_t""no" 1>&6
7336 fi 7330 fi
7337 done 7331 done
7338 7332
7339 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7333 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7340 echo "configure:7341: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7334 echo "configure:7335: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7341 cat > conftest.$ac_ext <<EOF 7335 cat > conftest.$ac_ext <<EOF
7342 #line 7343 "configure" 7336 #line 7337 "configure"
7343 #include "confdefs.h" 7337 #include "confdefs.h"
7344 7338
7345 #define NeedFunctionPrototypes 1 7339 #define NeedFunctionPrototypes 1
7346 #include <X11/Xlib.h> 7340 #include <X11/Xlib.h>
7347 extern Bool XRegisterIMInstantiateCallback( 7341 extern Bool XRegisterIMInstantiateCallback(
7349 7343
7350 int main() { 7344 int main() {
7351 7345
7352 ; return 0; } 7346 ; return 0; }
7353 EOF 7347 EOF
7354 if { (eval echo configure:7355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7348 if { (eval echo configure:7349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7355 rm -rf conftest* 7349 rm -rf conftest*
7356 echo "$ac_t""yes" 1>&6 7350 echo "$ac_t""yes" 1>&6
7357 else 7351 else
7358 echo "configure: failed program was:" >&5 7352 echo "configure: failed program was:" >&5
7359 cat conftest.$ac_ext >&5 7353 cat conftest.$ac_ext >&5
7370 fi 7364 fi
7371 rm -f conftest* 7365 rm -f conftest*
7372 7366
7373 test -z "$with_xmu" && { 7367 test -z "$with_xmu" && {
7374 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7368 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7375 echo "configure:7376: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7369 echo "configure:7370: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7376 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7370 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7377 7371
7378 xe_check_libs=" -lXmu " 7372 xe_check_libs=" -lXmu "
7379 cat > conftest.$ac_ext <<EOF 7373 cat > conftest.$ac_ext <<EOF
7380 #line 7381 "configure" 7374 #line 7375 "configure"
7381 #include "confdefs.h" 7375 #include "confdefs.h"
7382 /* Override any gcc2 internal prototype to avoid an error. */ 7376 /* Override any gcc2 internal prototype to avoid an error. */
7383 /* We use char because int might match the return type of a gcc2 7377 /* We use char because int might match the return type of a gcc2
7384 builtin and then its argument prototype would still apply. */ 7378 builtin and then its argument prototype would still apply. */
7385 char XmuReadBitmapDataFromFile(); 7379 char XmuReadBitmapDataFromFile();
7386 7380
7387 int main() { 7381 int main() {
7388 XmuReadBitmapDataFromFile() 7382 XmuReadBitmapDataFromFile()
7389 ; return 0; } 7383 ; return 0; }
7390 EOF 7384 EOF
7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7385 if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7392 rm -rf conftest* 7386 rm -rf conftest*
7393 eval "ac_cv_lib_$ac_lib_var=yes" 7387 eval "ac_cv_lib_$ac_lib_var=yes"
7394 else 7388 else
7395 echo "configure: failed program was:" >&5 7389 echo "configure: failed program was:" >&5
7396 cat conftest.$ac_ext >&5 7390 cat conftest.$ac_ext >&5
7425 7419
7426 fi 7420 fi
7427 7421
7428 7422
7429 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7423 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7430 echo "configure:7431: checking for main in -lXbsd" >&5 7424 echo "configure:7425: checking for main in -lXbsd" >&5
7431 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7425 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7432 7426
7433 xe_check_libs=" -lXbsd " 7427 xe_check_libs=" -lXbsd "
7434 cat > conftest.$ac_ext <<EOF 7428 cat > conftest.$ac_ext <<EOF
7435 #line 7436 "configure" 7429 #line 7430 "configure"
7436 #include "confdefs.h" 7430 #include "confdefs.h"
7437 7431
7438 int main() { 7432 int main() {
7439 main() 7433 main()
7440 ; return 0; } 7434 ; return 0; }
7441 EOF 7435 EOF
7442 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7436 if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7443 rm -rf conftest* 7437 rm -rf conftest*
7444 eval "ac_cv_lib_$ac_lib_var=yes" 7438 eval "ac_cv_lib_$ac_lib_var=yes"
7445 else 7439 else
7446 echo "configure: failed program was:" >&5 7440 echo "configure: failed program was:" >&5
7447 cat conftest.$ac_ext >&5 7441 cat conftest.$ac_ext >&5
7474 fi 7468 fi
7475 7469
7476 fi 7470 fi
7477 if test "$with_msw" != "no"; then 7471 if test "$with_msw" != "no"; then
7478 echo "checking for MS-Windows" 1>&6 7472 echo "checking for MS-Windows" 1>&6
7479 echo "configure:7480: checking for MS-Windows" >&5 7473 echo "configure:7474: checking for MS-Windows" >&5
7480 7474
7481 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7475 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7482 echo "configure:7483: checking for main in -lgdi32" >&5 7476 echo "configure:7477: checking for main in -lgdi32" >&5
7483 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7477 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7484 7478
7485 xe_check_libs=" -lgdi32 " 7479 xe_check_libs=" -lgdi32 "
7486 cat > conftest.$ac_ext <<EOF 7480 cat > conftest.$ac_ext <<EOF
7487 #line 7488 "configure" 7481 #line 7482 "configure"
7488 #include "confdefs.h" 7482 #include "confdefs.h"
7489 7483
7490 int main() { 7484 int main() {
7491 main() 7485 main()
7492 ; return 0; } 7486 ; return 0; }
7493 EOF 7487 EOF
7494 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7488 if { (eval echo configure:7489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7495 rm -rf conftest* 7489 rm -rf conftest*
7496 eval "ac_cv_lib_$ac_lib_var=yes" 7490 eval "ac_cv_lib_$ac_lib_var=yes"
7497 else 7491 else
7498 echo "configure: failed program was:" >&5 7492 echo "configure: failed program was:" >&5
7499 cat conftest.$ac_ext >&5 7493 cat conftest.$ac_ext >&5
7540 test "$with_toolbars" != "no" && with_toolbars=msw 7534 test "$with_toolbars" != "no" && with_toolbars=msw
7541 test "$with_dialogs" != "no" && with_dialogs=msw 7535 test "$with_dialogs" != "no" && with_dialogs=msw
7542 test "$with_widgets" != "no" && with_widgets=msw 7536 test "$with_widgets" != "no" && with_widgets=msw
7543 fi 7537 fi
7544 cat > conftest.$ac_ext <<EOF 7538 cat > conftest.$ac_ext <<EOF
7545 #line 7546 "configure" 7539 #line 7540 "configure"
7546 #include "confdefs.h" 7540 #include "confdefs.h"
7547 #include <fcntl.h> 7541 #include <fcntl.h>
7548 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7542 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7549 EOF 7543 EOF
7550 if { (eval echo configure:7551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7551 then 7545 then
7552 { test "$extra_verbose" = "yes" && cat << \EOF 7546 { test "$extra_verbose" = "yes" && cat << \EOF
7553 Defining HAVE_MSG_SELECT 7547 Defining HAVE_MSG_SELECT
7554 EOF 7548 EOF
7555 cat >> confdefs.h <<\EOF 7549 cat >> confdefs.h <<\EOF
7606 fi 7600 fi
7607 7601
7608 if test "$with_x11" = "yes"; then 7602 if test "$with_x11" = "yes"; then
7609 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7603 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7610 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7604 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7611 echo "configure:7612: checking for X11/extensions/shape.h" >&5 7605 echo "configure:7606: checking for X11/extensions/shape.h" >&5
7612 7606
7613 cat > conftest.$ac_ext <<EOF 7607 cat > conftest.$ac_ext <<EOF
7614 #line 7615 "configure" 7608 #line 7609 "configure"
7615 #include "confdefs.h" 7609 #include "confdefs.h"
7616 #include <X11/extensions/shape.h> 7610 #include <X11/extensions/shape.h>
7617 EOF 7611 EOF
7618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7619 { (eval echo configure:7620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7621 if test -z "$ac_err"; then 7615 if test -z "$ac_err"; then
7622 rm -rf conftest* 7616 rm -rf conftest*
7623 eval "ac_cv_header_$ac_safe=yes" 7617 eval "ac_cv_header_$ac_safe=yes"
7624 else 7618 else
7664 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7658 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7665 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7659 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7666 esac 7660 esac
7667 7661
7668 echo "checking for WM_COMMAND option" 1>&6 7662 echo "checking for WM_COMMAND option" 1>&6
7669 echo "configure:7670: checking for WM_COMMAND option" >&5; 7663 echo "configure:7664: checking for WM_COMMAND option" >&5;
7670 if test "$with_wmcommand" != "no"; then 7664 if test "$with_wmcommand" != "no"; then
7671 { test "$extra_verbose" = "yes" && cat << \EOF 7665 { test "$extra_verbose" = "yes" && cat << \EOF
7672 Defining HAVE_WMCOMMAND 7666 Defining HAVE_WMCOMMAND
7673 EOF 7667 EOF
7674 cat >> confdefs.h <<\EOF 7668 cat >> confdefs.h <<\EOF
7679 fi 7673 fi
7680 7674
7681 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7675 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7682 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7676 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7683 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7677 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7684 echo "configure:7685: checking for X11/Xauth.h" >&5 7678 echo "configure:7679: checking for X11/Xauth.h" >&5
7685 7679
7686 cat > conftest.$ac_ext <<EOF 7680 cat > conftest.$ac_ext <<EOF
7687 #line 7688 "configure" 7681 #line 7682 "configure"
7688 #include "confdefs.h" 7682 #include "confdefs.h"
7689 #include <X11/Xauth.h> 7683 #include <X11/Xauth.h>
7690 EOF 7684 EOF
7691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7692 { (eval echo configure:7693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7686 { (eval echo configure:7687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7694 if test -z "$ac_err"; then 7688 if test -z "$ac_err"; then
7695 rm -rf conftest* 7689 rm -rf conftest*
7696 eval "ac_cv_header_$ac_safe=yes" 7690 eval "ac_cv_header_$ac_safe=yes"
7697 else 7691 else
7710 with_xauth=no 7704 with_xauth=no
7711 fi 7705 fi
7712 } 7706 }
7713 test -z "$with_xauth" && { 7707 test -z "$with_xauth" && {
7714 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7708 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7715 echo "configure:7716: checking for XauGetAuthByAddr in -lXau" >&5 7709 echo "configure:7710: checking for XauGetAuthByAddr in -lXau" >&5
7716 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7710 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7717 7711
7718 xe_check_libs=" -lXau " 7712 xe_check_libs=" -lXau "
7719 cat > conftest.$ac_ext <<EOF 7713 cat > conftest.$ac_ext <<EOF
7720 #line 7721 "configure" 7714 #line 7715 "configure"
7721 #include "confdefs.h" 7715 #include "confdefs.h"
7722 /* Override any gcc2 internal prototype to avoid an error. */ 7716 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2 7717 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */ 7718 builtin and then its argument prototype would still apply. */
7725 char XauGetAuthByAddr(); 7719 char XauGetAuthByAddr();
7726 7720
7727 int main() { 7721 int main() {
7728 XauGetAuthByAddr() 7722 XauGetAuthByAddr()
7729 ; return 0; } 7723 ; return 0; }
7730 EOF 7724 EOF
7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7725 if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7732 rm -rf conftest* 7726 rm -rf conftest*
7733 eval "ac_cv_lib_$ac_lib_var=yes" 7727 eval "ac_cv_lib_$ac_lib_var=yes"
7734 else 7728 else
7735 echo "configure: failed program was:" >&5 7729 echo "configure: failed program was:" >&5
7736 cat conftest.$ac_ext >&5 7730 cat conftest.$ac_ext >&5
7777 fi 7771 fi
7778 7772
7779 7773
7780 if test "$with_modules" != "no"; then 7774 if test "$with_modules" != "no"; then
7781 echo "checking for module support" 1>&6 7775 echo "checking for module support" 1>&6
7782 echo "configure:7783: checking for module support" >&5 7776 echo "configure:7777: checking for module support" >&5
7783 7777
7784 case "$opsys" in 7778 case "$opsys" in
7785 mingw* | cygwin* ) have_dl=yes ;; 7779 mingw* | cygwin* ) have_dl=yes ;;
7786 darwin ) have_dl=yes 7780 darwin ) have_dl=yes
7787 { test "$extra_verbose" = "yes" && cat << \EOF 7781 { test "$extra_verbose" = "yes" && cat << \EOF
7794 7788
7795 ;; 7789 ;;
7796 * ) 7790 * )
7797 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7791 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7798 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7792 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7799 echo "configure:7800: checking for dlfcn.h" >&5 7793 echo "configure:7794: checking for dlfcn.h" >&5
7800 7794
7801 cat > conftest.$ac_ext <<EOF 7795 cat > conftest.$ac_ext <<EOF
7802 #line 7803 "configure" 7796 #line 7797 "configure"
7803 #include "confdefs.h" 7797 #include "confdefs.h"
7804 #include <dlfcn.h> 7798 #include <dlfcn.h>
7805 EOF 7799 EOF
7806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7807 { (eval echo configure:7808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7801 { (eval echo configure:7802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7809 if test -z "$ac_err"; then 7803 if test -z "$ac_err"; then
7810 rm -rf conftest* 7804 rm -rf conftest*
7811 eval "ac_cv_header_$ac_safe=yes" 7805 eval "ac_cv_header_$ac_safe=yes"
7812 else 7806 else
7819 rm -f conftest* 7813 rm -f conftest*
7820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7821 echo "$ac_t""yes" 1>&6 7815 echo "$ac_t""yes" 1>&6
7822 7816
7823 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7817 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7824 echo "configure:7825: checking for dlopen in -lc" >&5 7818 echo "configure:7819: checking for dlopen in -lc" >&5
7825 cat > conftest.$ac_ext <<EOF 7819 cat > conftest.$ac_ext <<EOF
7826 #line 7827 "configure" 7820 #line 7821 "configure"
7827 #include "confdefs.h" 7821 #include "confdefs.h"
7828 #include <dlfcn.h> 7822 #include <dlfcn.h>
7829 int main() { 7823 int main() {
7830 dlopen ("", 0); 7824 dlopen ("", 0);
7831 ; return 0; } 7825 ; return 0; }
7832 EOF 7826 EOF
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7827 if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7834 rm -rf conftest* 7828 rm -rf conftest*
7835 have_dl=yes 7829 have_dl=yes
7836 else 7830 else
7837 echo "configure: failed program was:" >&5 7831 echo "configure: failed program was:" >&5
7838 cat conftest.$ac_ext >&5 7832 cat conftest.$ac_ext >&5
7839 rm -rf conftest* 7833 rm -rf conftest*
7840 7834
7841 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7835 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7842 echo "configure:7843: checking for dlopen in -ldl" >&5 7836 echo "configure:7837: checking for dlopen in -ldl" >&5
7843 ac_save_LIBS="$LIBS" 7837 ac_save_LIBS="$LIBS"
7844 LIBS="$LIBS -ldl" 7838 LIBS="$LIBS -ldl"
7845 cat > conftest.$ac_ext <<EOF 7839 cat > conftest.$ac_ext <<EOF
7846 #line 7847 "configure" 7840 #line 7841 "configure"
7847 #include "confdefs.h" 7841 #include "confdefs.h"
7848 #include <dlfcn.h> 7842 #include <dlfcn.h>
7849 int main() { 7843 int main() {
7850 dlopen ("", 0); 7844 dlopen ("", 0);
7851 ; return 0; } 7845 ; return 0; }
7852 EOF 7846 EOF
7853 if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7854 rm -rf conftest* 7848 rm -rf conftest*
7855 have_dl=yes 7849 have_dl=yes
7856 else 7850 else
7857 echo "configure: failed program was:" >&5 7851 echo "configure: failed program was:" >&5
7858 cat conftest.$ac_ext >&5 7852 cat conftest.$ac_ext >&5
7859 rm -rf conftest* 7853 rm -rf conftest*
7860 7854
7861 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7855 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7862 echo "configure:7863: checking for dlopen in -lsvld" >&5 7856 echo "configure:7857: checking for dlopen in -lsvld" >&5
7863 LIBS="$ac_save_LIBS -lsvld" 7857 LIBS="$ac_save_LIBS -lsvld"
7864 cat > conftest.$ac_ext <<EOF 7858 cat > conftest.$ac_ext <<EOF
7865 #line 7866 "configure" 7859 #line 7860 "configure"
7866 #include "confdefs.h" 7860 #include "confdefs.h"
7867 #include <dlfcn.h> 7861 #include <dlfcn.h>
7868 int main() { 7862 int main() {
7869 dlopen ("", 0); 7863 dlopen ("", 0);
7870 ; return 0; } 7864 ; return 0; }
7871 EOF 7865 EOF
7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7866 if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7873 rm -rf conftest* 7867 rm -rf conftest*
7874 have_dl=yes 7868 have_dl=yes
7875 else 7869 else
7876 echo "configure: failed program was:" >&5 7870 echo "configure: failed program was:" >&5
7877 cat conftest.$ac_ext >&5 7871 cat conftest.$ac_ext >&5
7897 } 7891 }
7898 7892
7899 else 7893 else
7900 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7894 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7901 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7895 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7902 echo "configure:7903: checking for dl.h" >&5 7896 echo "configure:7897: checking for dl.h" >&5
7903 7897
7904 cat > conftest.$ac_ext <<EOF 7898 cat > conftest.$ac_ext <<EOF
7905 #line 7906 "configure" 7899 #line 7900 "configure"
7906 #include "confdefs.h" 7900 #include "confdefs.h"
7907 #include <dl.h> 7901 #include <dl.h>
7908 EOF 7902 EOF
7909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7910 { (eval echo configure:7911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7904 { (eval echo configure:7905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7912 if test -z "$ac_err"; then 7906 if test -z "$ac_err"; then
7913 rm -rf conftest* 7907 rm -rf conftest*
7914 eval "ac_cv_header_$ac_safe=yes" 7908 eval "ac_cv_header_$ac_safe=yes"
7915 else 7909 else
7922 rm -f conftest* 7916 rm -f conftest*
7923 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7924 echo "$ac_t""yes" 1>&6 7918 echo "$ac_t""yes" 1>&6
7925 7919
7926 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 7920 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
7927 echo "configure:7928: checking for shl_load in -lc" >&5 7921 echo "configure:7922: checking for shl_load in -lc" >&5
7928 cat > conftest.$ac_ext <<EOF 7922 cat > conftest.$ac_ext <<EOF
7929 #line 7930 "configure" 7923 #line 7924 "configure"
7930 #include "confdefs.h" 7924 #include "confdefs.h"
7931 #include <dl.h> 7925 #include <dl.h>
7932 int main() { 7926 int main() {
7933 shl_load ("", 0, 0); 7927 shl_load ("", 0, 0);
7934 ; return 0; } 7928 ; return 0; }
7935 EOF 7929 EOF
7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7930 if { (eval echo configure:7931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7937 rm -rf conftest* 7931 rm -rf conftest*
7938 have_dl=yes 7932 have_dl=yes
7939 else 7933 else
7940 echo "configure: failed program was:" >&5 7934 echo "configure: failed program was:" >&5
7941 cat conftest.$ac_ext >&5 7935 cat conftest.$ac_ext >&5
7942 rm -rf conftest* 7936 rm -rf conftest*
7943 7937
7944 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 7938 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
7945 echo "configure:7946: checking for shl_load in -ldl" >&5 7939 echo "configure:7940: checking for shl_load in -ldl" >&5
7946 ac_save_LIBS="$LIBS" 7940 ac_save_LIBS="$LIBS"
7947 LIBS="$LIBS -ldld" 7941 LIBS="$LIBS -ldld"
7948 cat > conftest.$ac_ext <<EOF 7942 cat > conftest.$ac_ext <<EOF
7949 #line 7950 "configure" 7943 #line 7944 "configure"
7950 #include "confdefs.h" 7944 #include "confdefs.h"
7951 #include <dl.h> 7945 #include <dl.h>
7952 int main() { 7946 int main() {
7953 shl_load ("", 0, 0); 7947 shl_load ("", 0, 0);
7954 ; return 0; } 7948 ; return 0; }
7955 EOF 7949 EOF
7956 if { (eval echo configure:7957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7950 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7957 rm -rf conftest* 7951 rm -rf conftest*
7958 have_dl=yes 7952 have_dl=yes
7959 else 7953 else
7960 echo "configure: failed program was:" >&5 7954 echo "configure: failed program was:" >&5
7961 cat conftest.$ac_ext >&5 7955 cat conftest.$ac_ext >&5
7979 } 7973 }
7980 7974
7981 else 7975 else
7982 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 7976 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7983 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 7977 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7984 echo "configure:7985: checking for ltdl.h" >&5 7978 echo "configure:7979: checking for ltdl.h" >&5
7985 7979
7986 cat > conftest.$ac_ext <<EOF 7980 cat > conftest.$ac_ext <<EOF
7987 #line 7988 "configure" 7981 #line 7982 "configure"
7988 #include "confdefs.h" 7982 #include "confdefs.h"
7989 #include <ltdl.h> 7983 #include <ltdl.h>
7990 EOF 7984 EOF
7991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7992 { (eval echo configure:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7986 { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7994 if test -z "$ac_err"; then 7988 if test -z "$ac_err"; then
7995 rm -rf conftest* 7989 rm -rf conftest*
7996 eval "ac_cv_header_$ac_safe=yes" 7990 eval "ac_cv_header_$ac_safe=yes"
7997 else 7991 else
8004 rm -f conftest* 7998 rm -f conftest*
8005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8006 echo "$ac_t""yes" 1>&6 8000 echo "$ac_t""yes" 1>&6
8007 8001
8008 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8002 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8009 echo "configure:8010: checking for lt_dlinit in -lltdl" >&5 8003 echo "configure:8004: checking for lt_dlinit in -lltdl" >&5
8010 ac_save_LIBS="$LIBS" 8004 ac_save_LIBS="$LIBS"
8011 LIBS="$LIBS -lltdl" 8005 LIBS="$LIBS -lltdl"
8012 cat > conftest.$ac_ext <<EOF 8006 cat > conftest.$ac_ext <<EOF
8013 #line 8014 "configure" 8007 #line 8008 "configure"
8014 #include "confdefs.h" 8008 #include "confdefs.h"
8015 #include <ltdl.h> 8009 #include <ltdl.h>
8016 int main() { 8010 int main() {
8017 lt_dlinit (); 8011 lt_dlinit ();
8018 ; return 0; } 8012 ; return 0; }
8019 EOF 8013 EOF
8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8014 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8021 rm -rf conftest* 8015 rm -rf conftest*
8022 have_dl=yes 8016 have_dl=yes
8023 else 8017 else
8024 echo "configure: failed program was:" >&5 8018 echo "configure: failed program was:" >&5
8025 cat conftest.$ac_ext >&5 8019 cat conftest.$ac_ext >&5
8056 ld_dynamic_link_flags= 8050 ld_dynamic_link_flags=
8057 xehost=$canonical 8051 xehost=$canonical
8058 xealias=$internal_configuration 8052 xealias=$internal_configuration
8059 8053
8060 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8054 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8061 echo "configure:8062: checking how to build dynamic libraries for ${xehost}" >&5 8055 echo "configure:8056: checking how to build dynamic libraries for ${xehost}" >&5
8062 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8056 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8063 case "$xehost" in 8057 case "$xehost" in
8064 *-*-linux-gnu*) ;; 8058 *-*-linux-gnu*) ;;
8065 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8059 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8066 esac 8060 esac
8084 # Now see if the compiler is really GCC. 8078 # Now see if the compiler is really GCC.
8085 if test "$GCC" = "yes"; then 8079 if test "$GCC" = "yes"; then
8086 XEGCC=yes 8080 XEGCC=yes
8087 else 8081 else
8088 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8082 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8089 echo "configure:8090: checking checking whether we are using GNU C" >&5 8083 echo "configure:8084: checking checking whether we are using GNU C" >&5
8090 cat > conftest.$ac_ext <<EOF 8084 cat > conftest.$ac_ext <<EOF
8091 #line 8092 "configure" 8085 #line 8086 "configure"
8092 #include "confdefs.h" 8086 #include "confdefs.h"
8093 8087
8094 #ifdef __GNUC__ 8088 #ifdef __GNUC__
8095 yes; 8089 yes;
8096 #endif 8090 #endif
8108 8102
8109 echo "$ac_t""${XEGCC}" 1>&6 8103 echo "$ac_t""${XEGCC}" 1>&6
8110 fi 8104 fi
8111 8105
8112 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8106 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8113 echo "configure:8114: checking how to produce PIC code" >&5 8107 echo "configure:8108: checking how to produce PIC code" >&5
8114 wl= 8108 wl=
8115 8109
8116 can_build_shared=yes 8110 can_build_shared=yes
8117 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8111 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8118 wl='-Wl,' 8112 wl='-Wl,'
8212 if test -n "$dll_cflags"; then 8206 if test -n "$dll_cflags"; then
8213 echo "$ac_t""${dll_cflags}" 1>&6 8207 echo "$ac_t""${dll_cflags}" 1>&6
8214 8208
8215 # Check to make sure the dll_cflags actually works. 8209 # Check to make sure the dll_cflags actually works.
8216 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8210 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8217 echo "configure:8218: checking if PIC flag ${dll_cflags} really works" >&5 8211 echo "configure:8212: checking if PIC flag ${dll_cflags} really works" >&5
8218 save_CFLAGS="$CFLAGS" 8212 save_CFLAGS="$CFLAGS"
8219 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8213 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8220 cat > conftest.$ac_ext <<EOF 8214 cat > conftest.$ac_ext <<EOF
8221 #line 8222 "configure" 8215 #line 8216 "configure"
8222 #include "confdefs.h" 8216 #include "confdefs.h"
8223 8217
8224 int main() { 8218 int main() {
8225 int x=0; 8219 int x=0;
8226 ; return 0; } 8220 ; return 0; }
8227 EOF 8221 EOF
8228 if { (eval echo configure:8229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8222 if { (eval echo configure:8223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8229 rm -rf conftest* 8223 rm -rf conftest*
8230 8224
8231 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8225 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8232 # reports no error. So, we need to grep stderr for (Bundled). 8226 # reports no error. So, we need to grep stderr for (Bundled).
8233 if grep '(Bundled)' config.log >/dev/null; then 8227 if grep '(Bundled)' config.log >/dev/null; then
8254 if test "$can_build_shared" = "yes"; then 8248 if test "$can_build_shared" = "yes"; then
8255 cc_produces_so=no 8249 cc_produces_so=no
8256 xldf= 8250 xldf=
8257 xcldf= 8251 xcldf=
8258 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8252 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8259 echo "configure:8260: checking if C compiler can produce shared libraries" >&5 8253 echo "configure:8254: checking if C compiler can produce shared libraries" >&5
8260 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8254 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8261 case "$xehost_os" in 8255 case "$xehost_os" in
8262 *darwin*) 8256 *darwin*)
8263 xcldf='-bundle' 8257 xcldf='-bundle'
8264 xldf='-bundle -bundle_loader ../../src/xemacs' 8258 xldf='-bundle -bundle_loader ../../src/xemacs'
8313 LDFLAGS="$xcldf $LDFLAGS" 8307 LDFLAGS="$xcldf $LDFLAGS"
8314 LIBS= 8308 LIBS=
8315 xe_libs= 8309 xe_libs=
8316 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8310 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8317 cat > conftest.$ac_ext <<EOF 8311 cat > conftest.$ac_ext <<EOF
8318 #line 8319 "configure" 8312 #line 8313 "configure"
8319 #include "confdefs.h" 8313 #include "confdefs.h"
8320 8314
8321 int main() { 8315 int main() {
8322 int x=0; 8316 int x=0;
8323 ; return 0; } 8317 ; return 0; }
8324 EOF 8318 EOF
8325 if { (eval echo configure:8326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8319 if { (eval echo configure:8320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8326 rm -rf conftest* 8320 rm -rf conftest*
8327 cc_produces_so=yes 8321 cc_produces_so=yes
8328 else 8322 else
8329 echo "configure: failed program was:" >&5 8323 echo "configure: failed program was:" >&5
8330 cat conftest.$ac_ext >&5 8324 cat conftest.$ac_ext >&5
8345 if test -z "$LTLD"; then 8339 if test -z "$LTLD"; then
8346 ac_prog=ld 8340 ac_prog=ld
8347 if test "$XEGCC" = yes; then 8341 if test "$XEGCC" = yes; then
8348 # Check if gcc -print-prog-name=ld gives a path. 8342 # Check if gcc -print-prog-name=ld gives a path.
8349 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8343 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8350 echo "configure:8351: checking for ld used by GCC" >&5 8344 echo "configure:8345: checking for ld used by GCC" >&5
8351 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8345 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8352 case "$ac_prog" in 8346 case "$ac_prog" in
8353 # Accept absolute paths. 8347 # Accept absolute paths.
8354 /*) 8348 /*)
8355 if test -z "$LTLD"; then 8349 if test -z "$LTLD"; then
8371 with_gnu_ld=unknown 8365 with_gnu_ld=unknown
8372 ;; 8366 ;;
8373 esac 8367 esac
8374 else 8368 else
8375 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8369 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8376 echo "configure:8377: checking for GNU ld" >&5 8370 echo "configure:8371: checking for GNU ld" >&5
8377 fi 8371 fi
8378 8372
8379 if test -z "$LTLD"; then 8373 if test -z "$LTLD"; then
8380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8374 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8381 for ac_dir in $PATH; do 8375 for ac_dir in $PATH; do
8409 8403
8410 ld_dynamic_link_flags= 8404 ld_dynamic_link_flags=
8411 8405
8412 # Check to see if it really is or isn't GNU ld. 8406 # Check to see if it really is or isn't GNU ld.
8413 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8407 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8414 echo "configure:8415: checking if the linker is GNU ld" >&5 8408 echo "configure:8409: checking if the linker is GNU ld" >&5
8415 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8409 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8416 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8410 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8417 xe_gnu_ld=yes 8411 xe_gnu_ld=yes
8418 else 8412 else
8419 xe_gnu_ld=no 8413 xe_gnu_ld=no
8444 ld_shlibs=yes 8438 ld_shlibs=yes
8445 else 8439 else
8446 # OK - only NOW do we futz about with ld. 8440 # OK - only NOW do we futz about with ld.
8447 # See if the linker supports building shared libraries. 8441 # See if the linker supports building shared libraries.
8448 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8442 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8449 echo "configure:8450: checking whether the linker supports shared libraries" >&5 8443 echo "configure:8444: checking whether the linker supports shared libraries" >&5
8450 dll_ld=$CC 8444 dll_ld=$CC
8451 dll_ldflags=$LDFLAGS 8445 dll_ldflags=$LDFLAGS
8452 ld_shlibs=yes 8446 ld_shlibs=yes
8453 can_build_shared=yes 8447 can_build_shared=yes
8454 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8448 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8657 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8651 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8658 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8652 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8659 for ac_func in dlerror _dlerror 8653 for ac_func in dlerror _dlerror
8660 do 8654 do
8661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8662 echo "configure:8663: checking for $ac_func" >&5 8656 echo "configure:8657: checking for $ac_func" >&5
8663 8657
8664 cat > conftest.$ac_ext <<EOF 8658 cat > conftest.$ac_ext <<EOF
8665 #line 8666 "configure" 8659 #line 8660 "configure"
8666 #include "confdefs.h" 8660 #include "confdefs.h"
8667 /* System header to define __stub macros and hopefully few prototypes, 8661 /* System header to define __stub macros and hopefully few prototypes,
8668 which can conflict with char $ac_func(); below. */ 8662 which can conflict with char $ac_func(); below. */
8669 #include <assert.h> 8663 #include <assert.h>
8670 /* Override any gcc2 internal prototype to avoid an error. */ 8664 /* Override any gcc2 internal prototype to avoid an error. */
8683 $ac_func(); 8677 $ac_func();
8684 #endif 8678 #endif
8685 8679
8686 ; return 0; } 8680 ; return 0; }
8687 EOF 8681 EOF
8688 if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8682 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8689 rm -rf conftest* 8683 rm -rf conftest*
8690 eval "ac_cv_func_$ac_func=yes" 8684 eval "ac_cv_func_$ac_func=yes"
8691 else 8685 else
8692 echo "configure: failed program was:" >&5 8686 echo "configure: failed program was:" >&5
8693 cat conftest.$ac_ext >&5 8687 cat conftest.$ac_ext >&5
8747 8741
8748 if test "$with_tooltalk" != "no" ; then 8742 if test "$with_tooltalk" != "no" ; then
8749 for dir in "" "Tt/" "desktop/" ; do 8743 for dir in "" "Tt/" "desktop/" ; do
8750 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8744 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8751 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8745 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8752 echo "configure:8753: checking for ${dir}tt_c.h" >&5 8746 echo "configure:8747: checking for ${dir}tt_c.h" >&5
8753 8747
8754 cat > conftest.$ac_ext <<EOF 8748 cat > conftest.$ac_ext <<EOF
8755 #line 8756 "configure" 8749 #line 8750 "configure"
8756 #include "confdefs.h" 8750 #include "confdefs.h"
8757 #include <${dir}tt_c.h> 8751 #include <${dir}tt_c.h>
8758 EOF 8752 EOF
8759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8760 { (eval echo configure:8761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8754 { (eval echo configure:8755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8762 if test -z "$ac_err"; then 8756 if test -z "$ac_err"; then
8763 rm -rf conftest* 8757 rm -rf conftest*
8764 eval "ac_cv_header_$ac_safe=yes" 8758 eval "ac_cv_header_$ac_safe=yes"
8765 else 8759 else
8791 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8785 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8792 8786
8793 xe_msg_checking="for tt_message_create in -ltt" 8787 xe_msg_checking="for tt_message_create in -ltt"
8794 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8788 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8795 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8789 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8796 echo "configure:8797: checking "$xe_msg_checking"" >&5 8790 echo "configure:8791: checking "$xe_msg_checking"" >&5
8797 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8791 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8798 8792
8799 xe_check_libs=" -ltt $extra_libs" 8793 xe_check_libs=" -ltt $extra_libs"
8800 cat > conftest.$ac_ext <<EOF 8794 cat > conftest.$ac_ext <<EOF
8801 #line 8802 "configure" 8795 #line 8796 "configure"
8802 #include "confdefs.h" 8796 #include "confdefs.h"
8803 /* Override any gcc2 internal prototype to avoid an error. */ 8797 /* Override any gcc2 internal prototype to avoid an error. */
8804 /* We use char because int might match the return type of a gcc2 8798 /* We use char because int might match the return type of a gcc2
8805 builtin and then its argument prototype would still apply. */ 8799 builtin and then its argument prototype would still apply. */
8806 char tt_message_create(); 8800 char tt_message_create();
8807 8801
8808 int main() { 8802 int main() {
8809 tt_message_create() 8803 tt_message_create()
8810 ; return 0; } 8804 ; return 0; }
8811 EOF 8805 EOF
8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8806 if { (eval echo configure:8807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8813 rm -rf conftest* 8807 rm -rf conftest*
8814 eval "ac_cv_lib_$ac_lib_var=yes" 8808 eval "ac_cv_lib_$ac_lib_var=yes"
8815 else 8809 else
8816 echo "configure: failed program was:" >&5 8810 echo "configure: failed program was:" >&5
8817 cat conftest.$ac_ext >&5 8811 cat conftest.$ac_ext >&5
8861 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8855 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8862 fi 8856 fi
8863 8857
8864 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8858 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8865 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8859 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8866 echo "configure:8867: checking for Dt/Dt.h" >&5 8860 echo "configure:8861: checking for Dt/Dt.h" >&5
8867 8861
8868 cat > conftest.$ac_ext <<EOF 8862 cat > conftest.$ac_ext <<EOF
8869 #line 8870 "configure" 8863 #line 8864 "configure"
8870 #include "confdefs.h" 8864 #include "confdefs.h"
8871 #include <Dt/Dt.h> 8865 #include <Dt/Dt.h>
8872 EOF 8866 EOF
8873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8874 { (eval echo configure:8875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8868 { (eval echo configure:8869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8876 if test -z "$ac_err"; then 8870 if test -z "$ac_err"; then
8877 rm -rf conftest* 8871 rm -rf conftest*
8878 eval "ac_cv_header_$ac_safe=yes" 8872 eval "ac_cv_header_$ac_safe=yes"
8879 else 8873 else
8892 with_cde=no 8886 with_cde=no
8893 fi 8887 fi
8894 } 8888 }
8895 test -z "$with_cde" && { 8889 test -z "$with_cde" && {
8896 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8890 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8897 echo "configure:8898: checking for DtDndDragStart in -lDtSvc" >&5 8891 echo "configure:8892: checking for DtDndDragStart in -lDtSvc" >&5
8898 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8892 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8899 8893
8900 xe_check_libs=" -lDtSvc " 8894 xe_check_libs=" -lDtSvc "
8901 cat > conftest.$ac_ext <<EOF 8895 cat > conftest.$ac_ext <<EOF
8902 #line 8903 "configure" 8896 #line 8897 "configure"
8903 #include "confdefs.h" 8897 #include "confdefs.h"
8904 /* Override any gcc2 internal prototype to avoid an error. */ 8898 /* Override any gcc2 internal prototype to avoid an error. */
8905 /* We use char because int might match the return type of a gcc2 8899 /* We use char because int might match the return type of a gcc2
8906 builtin and then its argument prototype would still apply. */ 8900 builtin and then its argument prototype would still apply. */
8907 char DtDndDragStart(); 8901 char DtDndDragStart();
8908 8902
8909 int main() { 8903 int main() {
8910 DtDndDragStart() 8904 DtDndDragStart()
8911 ; return 0; } 8905 ; return 0; }
8912 EOF 8906 EOF
8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8914 rm -rf conftest* 8908 rm -rf conftest*
8915 eval "ac_cv_lib_$ac_lib_var=yes" 8909 eval "ac_cv_lib_$ac_lib_var=yes"
8916 else 8910 else
8917 echo "configure: failed program was:" >&5 8911 echo "configure: failed program was:" >&5
8918 cat conftest.$ac_ext >&5 8912 cat conftest.$ac_ext >&5
8989 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 8983 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
8990 fi 8984 fi
8991 8985
8992 if test "$with_dragndrop" != "no" ; then 8986 if test "$with_dragndrop" != "no" ; then
8993 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 8987 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
8994 echo "configure:8995: checking if drag and drop API is needed" >&5 8988 echo "configure:8989: checking if drag and drop API is needed" >&5
8995 if test -n "$dragndrop_proto" ; then 8989 if test -n "$dragndrop_proto" ; then
8996 with_dragndrop=yes 8990 with_dragndrop=yes
8997 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 8991 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
8998 { test "$extra_verbose" = "yes" && cat << \EOF 8992 { test "$extra_verbose" = "yes" && cat << \EOF
8999 Defining HAVE_DRAGNDROP 8993 Defining HAVE_DRAGNDROP
9009 echo "$ac_t""no" 1>&6 9003 echo "$ac_t""no" 1>&6
9010 fi 9004 fi
9011 fi 9005 fi
9012 9006
9013 echo "checking for LDAP" 1>&6 9007 echo "checking for LDAP" 1>&6
9014 echo "configure:9015: checking for LDAP" >&5 9008 echo "configure:9009: checking for LDAP" >&5
9015 ldap_libs= 9009 ldap_libs=
9016 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9010 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9017 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9011 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9018 echo "configure:9019: checking for ldap.h" >&5 9012 echo "configure:9013: checking for ldap.h" >&5
9019 9013
9020 cat > conftest.$ac_ext <<EOF 9014 cat > conftest.$ac_ext <<EOF
9021 #line 9022 "configure" 9015 #line 9016 "configure"
9022 #include "confdefs.h" 9016 #include "confdefs.h"
9023 #include <ldap.h> 9017 #include <ldap.h>
9024 EOF 9018 EOF
9025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9026 { (eval echo configure:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9020 { (eval echo configure:9021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9028 if test -z "$ac_err"; then 9022 if test -z "$ac_err"; then
9029 rm -rf conftest* 9023 rm -rf conftest*
9030 eval "ac_cv_header_$ac_safe=yes" 9024 eval "ac_cv_header_$ac_safe=yes"
9031 else 9025 else
9044 with_ldap=no 9038 with_ldap=no
9045 fi 9039 fi
9046 } 9040 }
9047 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9041 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9048 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9042 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9049 echo "configure:9050: checking for lber.h" >&5 9043 echo "configure:9044: checking for lber.h" >&5
9050 9044
9051 cat > conftest.$ac_ext <<EOF 9045 cat > conftest.$ac_ext <<EOF
9052 #line 9053 "configure" 9046 #line 9047 "configure"
9053 #include "confdefs.h" 9047 #include "confdefs.h"
9054 #include <lber.h> 9048 #include <lber.h>
9055 EOF 9049 EOF
9056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9057 { (eval echo configure:9058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9051 { (eval echo configure:9052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9059 if test -z "$ac_err"; then 9053 if test -z "$ac_err"; then
9060 rm -rf conftest* 9054 rm -rf conftest*
9061 eval "ac_cv_header_$ac_safe=yes" 9055 eval "ac_cv_header_$ac_safe=yes"
9062 else 9056 else
9076 fi 9070 fi
9077 } 9071 }
9078 if test "$with_ldap" != "no"; then 9072 if test "$with_ldap" != "no"; then
9079 9073
9080 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9074 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9081 echo "configure:9082: checking for ldap_search in -lldap" >&5 9075 echo "configure:9076: checking for ldap_search in -lldap" >&5
9082 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9076 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9083 9077
9084 xe_check_libs=" -lldap " 9078 xe_check_libs=" -lldap "
9085 cat > conftest.$ac_ext <<EOF 9079 cat > conftest.$ac_ext <<EOF
9086 #line 9087 "configure" 9080 #line 9081 "configure"
9087 #include "confdefs.h" 9081 #include "confdefs.h"
9088 /* Override any gcc2 internal prototype to avoid an error. */ 9082 /* Override any gcc2 internal prototype to avoid an error. */
9089 /* We use char because int might match the return type of a gcc2 9083 /* We use char because int might match the return type of a gcc2
9090 builtin and then its argument prototype would still apply. */ 9084 builtin and then its argument prototype would still apply. */
9091 char ldap_search(); 9085 char ldap_search();
9092 9086
9093 int main() { 9087 int main() {
9094 ldap_search() 9088 ldap_search()
9095 ; return 0; } 9089 ; return 0; }
9096 EOF 9090 EOF
9097 if { (eval echo configure:9098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9091 if { (eval echo configure:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9098 rm -rf conftest* 9092 rm -rf conftest*
9099 eval "ac_cv_lib_$ac_lib_var=yes" 9093 eval "ac_cv_lib_$ac_lib_var=yes"
9100 else 9094 else
9101 echo "configure: failed program was:" >&5 9095 echo "configure: failed program was:" >&5
9102 cat conftest.$ac_ext >&5 9096 cat conftest.$ac_ext >&5
9117 9111
9118 test "$with_ldap_nolber" = "no" && { 9112 test "$with_ldap_nolber" = "no" && {
9119 xe_msg_checking="for ldap_open in -lldap" 9113 xe_msg_checking="for ldap_open in -lldap"
9120 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9114 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9121 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9115 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9122 echo "configure:9123: checking "$xe_msg_checking"" >&5 9116 echo "configure:9117: checking "$xe_msg_checking"" >&5
9123 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9117 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9124 9118
9125 xe_check_libs=" -lldap -llber" 9119 xe_check_libs=" -lldap -llber"
9126 cat > conftest.$ac_ext <<EOF 9120 cat > conftest.$ac_ext <<EOF
9127 #line 9128 "configure" 9121 #line 9122 "configure"
9128 #include "confdefs.h" 9122 #include "confdefs.h"
9129 /* Override any gcc2 internal prototype to avoid an error. */ 9123 /* Override any gcc2 internal prototype to avoid an error. */
9130 /* We use char because int might match the return type of a gcc2 9124 /* We use char because int might match the return type of a gcc2
9131 builtin and then its argument prototype would still apply. */ 9125 builtin and then its argument prototype would still apply. */
9132 char ldap_open(); 9126 char ldap_open();
9133 9127
9134 int main() { 9128 int main() {
9135 ldap_open() 9129 ldap_open()
9136 ; return 0; } 9130 ; return 0; }
9137 EOF 9131 EOF
9138 if { (eval echo configure:9139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9132 if { (eval echo configure:9133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9139 rm -rf conftest* 9133 rm -rf conftest*
9140 eval "ac_cv_lib_$ac_lib_var=yes" 9134 eval "ac_cv_lib_$ac_lib_var=yes"
9141 else 9135 else
9142 echo "configure: failed program was:" >&5 9136 echo "configure: failed program was:" >&5
9143 cat conftest.$ac_ext >&5 9137 cat conftest.$ac_ext >&5
9158 } 9152 }
9159 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 9153 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
9160 xe_msg_checking="for ldap_open in -lldap" 9154 xe_msg_checking="for ldap_open in -lldap"
9161 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9155 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9162 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9156 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9163 echo "configure:9164: checking "$xe_msg_checking"" >&5 9157 echo "configure:9158: checking "$xe_msg_checking"" >&5
9164 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9158 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9165 9159
9166 xe_check_libs=" -lldap -llber -lkrb" 9160 xe_check_libs=" -lldap -llber -lkrb"
9167 cat > conftest.$ac_ext <<EOF 9161 cat > conftest.$ac_ext <<EOF
9168 #line 9169 "configure" 9162 #line 9163 "configure"
9169 #include "confdefs.h" 9163 #include "confdefs.h"
9170 /* Override any gcc2 internal prototype to avoid an error. */ 9164 /* Override any gcc2 internal prototype to avoid an error. */
9171 /* We use char because int might match the return type of a gcc2 9165 /* We use char because int might match the return type of a gcc2
9172 builtin and then its argument prototype would still apply. */ 9166 builtin and then its argument prototype would still apply. */
9173 char ldap_open(); 9167 char ldap_open();
9174 9168
9175 int main() { 9169 int main() {
9176 ldap_open() 9170 ldap_open()
9177 ; return 0; } 9171 ; return 0; }
9178 EOF 9172 EOF
9179 if { (eval echo configure:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9180 rm -rf conftest* 9174 rm -rf conftest*
9181 eval "ac_cv_lib_$ac_lib_var=yes" 9175 eval "ac_cv_lib_$ac_lib_var=yes"
9182 else 9176 else
9183 echo "configure: failed program was:" >&5 9177 echo "configure: failed program was:" >&5
9184 cat conftest.$ac_ext >&5 9178 cat conftest.$ac_ext >&5
9199 } 9193 }
9200 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 9194 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
9201 xe_msg_checking="for ldap_open in -lldap" 9195 xe_msg_checking="for ldap_open in -lldap"
9202 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9196 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9203 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9197 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9204 echo "configure:9205: checking "$xe_msg_checking"" >&5 9198 echo "configure:9199: checking "$xe_msg_checking"" >&5
9205 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9199 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9206 9200
9207 xe_check_libs=" -lldap -llber -lkrb -ldes" 9201 xe_check_libs=" -lldap -llber -lkrb -ldes"
9208 cat > conftest.$ac_ext <<EOF 9202 cat > conftest.$ac_ext <<EOF
9209 #line 9210 "configure" 9203 #line 9204 "configure"
9210 #include "confdefs.h" 9204 #include "confdefs.h"
9211 /* Override any gcc2 internal prototype to avoid an error. */ 9205 /* Override any gcc2 internal prototype to avoid an error. */
9212 /* We use char because int might match the return type of a gcc2 9206 /* We use char because int might match the return type of a gcc2
9213 builtin and then its argument prototype would still apply. */ 9207 builtin and then its argument prototype would still apply. */
9214 char ldap_open(); 9208 char ldap_open();
9215 9209
9216 int main() { 9210 int main() {
9217 ldap_open() 9211 ldap_open()
9218 ; return 0; } 9212 ; return 0; }
9219 EOF 9213 EOF
9220 if { (eval echo configure:9221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9221 rm -rf conftest* 9215 rm -rf conftest*
9222 eval "ac_cv_lib_$ac_lib_var=yes" 9216 eval "ac_cv_lib_$ac_lib_var=yes"
9223 else 9217 else
9224 echo "configure: failed program was:" >&5 9218 echo "configure: failed program was:" >&5
9225 cat conftest.$ac_ext >&5 9219 cat conftest.$ac_ext >&5
9264 fi 9258 fi
9265 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9259 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9266 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9260 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9267 do 9261 do
9268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9269 echo "configure:9270: checking for $ac_func" >&5 9263 echo "configure:9264: checking for $ac_func" >&5
9270 9264
9271 cat > conftest.$ac_ext <<EOF 9265 cat > conftest.$ac_ext <<EOF
9272 #line 9273 "configure" 9266 #line 9267 "configure"
9273 #include "confdefs.h" 9267 #include "confdefs.h"
9274 /* System header to define __stub macros and hopefully few prototypes, 9268 /* System header to define __stub macros and hopefully few prototypes,
9275 which can conflict with char $ac_func(); below. */ 9269 which can conflict with char $ac_func(); below. */
9276 #include <assert.h> 9270 #include <assert.h>
9277 /* Override any gcc2 internal prototype to avoid an error. */ 9271 /* Override any gcc2 internal prototype to avoid an error. */
9290 $ac_func(); 9284 $ac_func();
9291 #endif 9285 #endif
9292 9286
9293 ; return 0; } 9287 ; return 0; }
9294 EOF 9288 EOF
9295 if { (eval echo configure:9296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9296 rm -rf conftest* 9290 rm -rf conftest*
9297 eval "ac_cv_func_$ac_func=yes" 9291 eval "ac_cv_func_$ac_func=yes"
9298 else 9292 else
9299 echo "configure: failed program was:" >&5 9293 echo "configure: failed program was:" >&5
9300 cat conftest.$ac_ext >&5 9294 cat conftest.$ac_ext >&5
9329 9323
9330 9324
9331 postgresql_libs= 9325 postgresql_libs=
9332 if test "$with_postgresql" != "no"; then 9326 if test "$with_postgresql" != "no"; then
9333 echo "checking for PostgreSQL" 1>&6 9327 echo "checking for PostgreSQL" 1>&6
9334 echo "configure:9335: checking for PostgreSQL" >&5 9328 echo "configure:9329: checking for PostgreSQL" >&5
9335 9329
9336 for header_dir in "" "pgsql/" "postgresql/"; do 9330 for header_dir in "" "pgsql/" "postgresql/"; do
9337 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9331 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9338 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9332 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9339 echo "configure:9340: checking for ${header_dir}libpq-fe.h" >&5 9333 echo "configure:9334: checking for ${header_dir}libpq-fe.h" >&5
9340 9334
9341 cat > conftest.$ac_ext <<EOF 9335 cat > conftest.$ac_ext <<EOF
9342 #line 9343 "configure" 9336 #line 9337 "configure"
9343 #include "confdefs.h" 9337 #include "confdefs.h"
9344 #include <${header_dir}libpq-fe.h> 9338 #include <${header_dir}libpq-fe.h>
9345 EOF 9339 EOF
9346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9347 { (eval echo configure:9348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9341 { (eval echo configure:9342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9349 if test -z "$ac_err"; then 9343 if test -z "$ac_err"; then
9350 rm -rf conftest* 9344 rm -rf conftest*
9351 eval "ac_cv_header_$ac_safe=yes" 9345 eval "ac_cv_header_$ac_safe=yes"
9352 else 9346 else
9366 9360
9367 done 9361 done
9368 9362
9369 test -n "$libpq_fe_h_file" && { 9363 test -n "$libpq_fe_h_file" && {
9370 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9364 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9371 echo "configure:9372: checking for PQconnectdb in -lpq" >&5 9365 echo "configure:9366: checking for PQconnectdb in -lpq" >&5
9372 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9366 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9373 9367
9374 xe_check_libs=" -lpq " 9368 xe_check_libs=" -lpq "
9375 cat > conftest.$ac_ext <<EOF 9369 cat > conftest.$ac_ext <<EOF
9376 #line 9377 "configure" 9370 #line 9371 "configure"
9377 #include "confdefs.h" 9371 #include "confdefs.h"
9378 /* Override any gcc2 internal prototype to avoid an error. */ 9372 /* Override any gcc2 internal prototype to avoid an error. */
9379 /* We use char because int might match the return type of a gcc2 9373 /* We use char because int might match the return type of a gcc2
9380 builtin and then its argument prototype would still apply. */ 9374 builtin and then its argument prototype would still apply. */
9381 char PQconnectdb(); 9375 char PQconnectdb();
9382 9376
9383 int main() { 9377 int main() {
9384 PQconnectdb() 9378 PQconnectdb()
9385 ; return 0; } 9379 ; return 0; }
9386 EOF 9380 EOF
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9388 rm -rf conftest* 9382 rm -rf conftest*
9389 eval "ac_cv_lib_$ac_lib_var=yes" 9383 eval "ac_cv_lib_$ac_lib_var=yes"
9390 else 9384 else
9391 echo "configure: failed program was:" >&5 9385 echo "configure: failed program was:" >&5
9392 cat conftest.$ac_ext >&5 9386 cat conftest.$ac_ext >&5
9415 EOF 9409 EOF
9416 } 9410 }
9417 9411
9418 9412
9419 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9413 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9420 echo "configure:9421: checking for PQconnectStart in -lpq" >&5 9414 echo "configure:9415: checking for PQconnectStart in -lpq" >&5
9421 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9415 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9422 9416
9423 xe_check_libs=" -lpq " 9417 xe_check_libs=" -lpq "
9424 cat > conftest.$ac_ext <<EOF 9418 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure" 9419 #line 9420 "configure"
9426 #include "confdefs.h" 9420 #include "confdefs.h"
9427 /* Override any gcc2 internal prototype to avoid an error. */ 9421 /* Override any gcc2 internal prototype to avoid an error. */
9428 /* We use char because int might match the return type of a gcc2 9422 /* We use char because int might match the return type of a gcc2
9429 builtin and then its argument prototype would still apply. */ 9423 builtin and then its argument prototype would still apply. */
9430 char PQconnectStart(); 9424 char PQconnectStart();
9431 9425
9432 int main() { 9426 int main() {
9433 PQconnectStart() 9427 PQconnectStart()
9434 ; return 0; } 9428 ; return 0; }
9435 EOF 9429 EOF
9436 if { (eval echo configure:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9437 rm -rf conftest* 9431 rm -rf conftest*
9438 eval "ac_cv_lib_$ac_lib_var=yes" 9432 eval "ac_cv_lib_$ac_lib_var=yes"
9439 else 9433 else
9440 echo "configure: failed program was:" >&5 9434 echo "configure: failed program was:" >&5
9441 cat conftest.$ac_ext >&5 9435 cat conftest.$ac_ext >&5
9482 9476
9483 9477
9484 9478
9485 if test "$window_system" != "none"; then 9479 if test "$window_system" != "none"; then
9486 echo "checking for graphics libraries" 1>&6 9480 echo "checking for graphics libraries" 1>&6
9487 echo "configure:9488: checking for graphics libraries" >&5 9481 echo "configure:9482: checking for graphics libraries" >&5
9488 9482
9489 libpath_xpm= 9483 libpath_xpm=
9490 incpath_xpm= 9484 incpath_xpm=
9491 case "$opsys" in 9485 case "$opsys" in
9492 cygwin*) 9486 cygwin*)
9508 xpm_problem="" 9502 xpm_problem=""
9509 if test -z "$with_xpm"; then 9503 if test -z "$with_xpm"; then
9510 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9504 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9511 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9505 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9512 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9506 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9513 echo "configure:9514: checking for Xpm - no older than 3.4f" >&5 9507 echo "configure:9508: checking for Xpm - no older than 3.4f" >&5
9514 xe_check_libs=-lXpm 9508 xe_check_libs=-lXpm
9515 cat > conftest.$ac_ext <<EOF 9509 cat > conftest.$ac_ext <<EOF
9516 #line 9517 "configure" 9510 #line 9511 "configure"
9517 #include "confdefs.h" 9511 #include "confdefs.h"
9518 #define XPM_NUMBERS 9512 #define XPM_NUMBERS
9519 #include <X11/xpm.h> 9513 #include <X11/xpm.h>
9520 int main(int c, char **v) { 9514 int main(int c, char **v) {
9521 return c == 1 ? 0 : 9515 return c == 1 ? 0 :
9522 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9516 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9523 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9517 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9524 EOF 9518 EOF
9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9526 then 9520 then
9527 ./conftest dummy_arg; xpm_status=$?; 9521 ./conftest dummy_arg; xpm_status=$?;
9528 if test "$xpm_status" = "0"; then 9522 if test "$xpm_status" = "0"; then
9529 with_xpm=yes; 9523 with_xpm=yes;
9530 else 9524 else
9564 9558
9565 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9559 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9566 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9560 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9567 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9561 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9562 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9569 echo "configure:9570: checking for \"FOR_MSW\" xpm" >&5 9563 echo "configure:9564: checking for \"FOR_MSW\" xpm" >&5
9570 xe_check_libs=-lXpm 9564 xe_check_libs=-lXpm
9571 cat > conftest.$ac_ext <<EOF 9565 cat > conftest.$ac_ext <<EOF
9572 #line 9573 "configure" 9566 #line 9567 "configure"
9573 #include "confdefs.h" 9567 #include "confdefs.h"
9574 9568
9575 int main() { 9569 int main() {
9576 XpmCreatePixmapFromData() 9570 XpmCreatePixmapFromData()
9577 ; return 0; } 9571 ; return 0; }
9578 EOF 9572 EOF
9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9580 rm -rf conftest* 9574 rm -rf conftest*
9581 xpm_for_msw=no 9575 xpm_for_msw=no
9582 else 9576 else
9583 echo "configure: failed program was:" >&5 9577 echo "configure: failed program was:" >&5
9584 cat conftest.$ac_ext >&5 9578 cat conftest.$ac_ext >&5
9600 fi 9594 fi
9601 fi 9595 fi
9602 9596
9603 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9597 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9604 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9598 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9605 echo "configure:9606: checking for compface.h" >&5 9599 echo "configure:9600: checking for compface.h" >&5
9606 9600
9607 cat > conftest.$ac_ext <<EOF 9601 cat > conftest.$ac_ext <<EOF
9608 #line 9609 "configure" 9602 #line 9603 "configure"
9609 #include "confdefs.h" 9603 #include "confdefs.h"
9610 #include <compface.h> 9604 #include <compface.h>
9611 EOF 9605 EOF
9612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9613 { (eval echo configure:9614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9607 { (eval echo configure:9608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9615 if test -z "$ac_err"; then 9609 if test -z "$ac_err"; then
9616 rm -rf conftest* 9610 rm -rf conftest*
9617 eval "ac_cv_header_$ac_safe=yes" 9611 eval "ac_cv_header_$ac_safe=yes"
9618 else 9612 else
9631 with_xface=no 9625 with_xface=no
9632 fi 9626 fi
9633 } 9627 }
9634 test -z "$with_xface" && { 9628 test -z "$with_xface" && {
9635 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9629 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9636 echo "configure:9637: checking for UnGenFace in -lcompface" >&5 9630 echo "configure:9631: checking for UnGenFace in -lcompface" >&5
9637 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9631 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9638 9632
9639 xe_check_libs=" -lcompface " 9633 xe_check_libs=" -lcompface "
9640 cat > conftest.$ac_ext <<EOF 9634 cat > conftest.$ac_ext <<EOF
9641 #line 9642 "configure" 9635 #line 9636 "configure"
9642 #include "confdefs.h" 9636 #include "confdefs.h"
9643 /* Override any gcc2 internal prototype to avoid an error. */ 9637 /* Override any gcc2 internal prototype to avoid an error. */
9644 /* We use char because int might match the return type of a gcc2 9638 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */ 9639 builtin and then its argument prototype would still apply. */
9646 char UnGenFace(); 9640 char UnGenFace();
9647 9641
9648 int main() { 9642 int main() {
9649 UnGenFace() 9643 UnGenFace()
9650 ; return 0; } 9644 ; return 0; }
9651 EOF 9645 EOF
9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9646 if { (eval echo configure:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9653 rm -rf conftest* 9647 rm -rf conftest*
9654 eval "ac_cv_lib_$ac_lib_var=yes" 9648 eval "ac_cv_lib_$ac_lib_var=yes"
9655 else 9649 else
9656 echo "configure: failed program was:" >&5 9650 echo "configure: failed program was:" >&5
9657 cat conftest.$ac_ext >&5 9651 cat conftest.$ac_ext >&5
9696 fi 9690 fi
9697 9691
9698 if test "$with_png $with_tiff" != "no no"; then 9692 if test "$with_png $with_tiff" != "no no"; then
9699 9693
9700 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9694 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9701 echo "configure:9702: checking for inflate in -lc" >&5 9695 echo "configure:9696: checking for inflate in -lc" >&5
9702 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9696 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9703 9697
9704 xe_check_libs=" -lc " 9698 xe_check_libs=" -lc "
9705 cat > conftest.$ac_ext <<EOF 9699 cat > conftest.$ac_ext <<EOF
9706 #line 9707 "configure" 9700 #line 9701 "configure"
9707 #include "confdefs.h" 9701 #include "confdefs.h"
9708 /* Override any gcc2 internal prototype to avoid an error. */ 9702 /* Override any gcc2 internal prototype to avoid an error. */
9709 /* We use char because int might match the return type of a gcc2 9703 /* We use char because int might match the return type of a gcc2
9710 builtin and then its argument prototype would still apply. */ 9704 builtin and then its argument prototype would still apply. */
9711 char inflate(); 9705 char inflate();
9712 9706
9713 int main() { 9707 int main() {
9714 inflate() 9708 inflate()
9715 ; return 0; } 9709 ; return 0; }
9716 EOF 9710 EOF
9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9711 if { (eval echo configure:9712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9718 rm -rf conftest* 9712 rm -rf conftest*
9719 eval "ac_cv_lib_$ac_lib_var=yes" 9713 eval "ac_cv_lib_$ac_lib_var=yes"
9720 else 9714 else
9721 echo "configure: failed program was:" >&5 9715 echo "configure: failed program was:" >&5
9722 cat conftest.$ac_ext >&5 9716 cat conftest.$ac_ext >&5
9731 : 9725 :
9732 else 9726 else
9733 echo "$ac_t""no" 1>&6 9727 echo "$ac_t""no" 1>&6
9734 9728
9735 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9729 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9736 echo "configure:9737: checking for inflate in -lz" >&5 9730 echo "configure:9731: checking for inflate in -lz" >&5
9737 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9731 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9738 9732
9739 xe_check_libs=" -lz " 9733 xe_check_libs=" -lz "
9740 cat > conftest.$ac_ext <<EOF 9734 cat > conftest.$ac_ext <<EOF
9741 #line 9742 "configure" 9735 #line 9736 "configure"
9742 #include "confdefs.h" 9736 #include "confdefs.h"
9743 /* Override any gcc2 internal prototype to avoid an error. */ 9737 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2 9738 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */ 9739 builtin and then its argument prototype would still apply. */
9746 char inflate(); 9740 char inflate();
9747 9741
9748 int main() { 9742 int main() {
9749 inflate() 9743 inflate()
9750 ; return 0; } 9744 ; return 0; }
9751 EOF 9745 EOF
9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9753 rm -rf conftest* 9747 rm -rf conftest*
9754 eval "ac_cv_lib_$ac_lib_var=yes" 9748 eval "ac_cv_lib_$ac_lib_var=yes"
9755 else 9749 else
9756 echo "configure: failed program was:" >&5 9750 echo "configure: failed program was:" >&5
9757 cat conftest.$ac_ext >&5 9751 cat conftest.$ac_ext >&5
9766 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9760 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9767 else 9761 else
9768 echo "$ac_t""no" 1>&6 9762 echo "$ac_t""no" 1>&6
9769 9763
9770 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9764 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9771 echo "configure:9772: checking for inflate in -lgz" >&5 9765 echo "configure:9766: checking for inflate in -lgz" >&5
9772 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9766 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9773 9767
9774 xe_check_libs=" -lgz " 9768 xe_check_libs=" -lgz "
9775 cat > conftest.$ac_ext <<EOF 9769 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure" 9770 #line 9771 "configure"
9777 #include "confdefs.h" 9771 #include "confdefs.h"
9778 /* Override any gcc2 internal prototype to avoid an error. */ 9772 /* Override any gcc2 internal prototype to avoid an error. */
9779 /* We use char because int might match the return type of a gcc2 9773 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */ 9774 builtin and then its argument prototype would still apply. */
9781 char inflate(); 9775 char inflate();
9782 9776
9783 int main() { 9777 int main() {
9784 inflate() 9778 inflate()
9785 ; return 0; } 9779 ; return 0; }
9786 EOF 9780 EOF
9787 if { (eval echo configure:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9781 if { (eval echo configure:9782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9788 rm -rf conftest* 9782 rm -rf conftest*
9789 eval "ac_cv_lib_$ac_lib_var=yes" 9783 eval "ac_cv_lib_$ac_lib_var=yes"
9790 else 9784 else
9791 echo "configure: failed program was:" >&5 9785 echo "configure: failed program was:" >&5
9792 cat conftest.$ac_ext >&5 9786 cat conftest.$ac_ext >&5
9812 9806
9813 fi 9807 fi
9814 9808
9815 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9809 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9816 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9810 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9817 echo "configure:9818: checking for jpeglib.h" >&5 9811 echo "configure:9812: checking for jpeglib.h" >&5
9818 9812
9819 cat > conftest.$ac_ext <<EOF 9813 cat > conftest.$ac_ext <<EOF
9820 #line 9821 "configure" 9814 #line 9815 "configure"
9821 #include "confdefs.h" 9815 #include "confdefs.h"
9822 #include <jpeglib.h> 9816 #include <jpeglib.h>
9823 EOF 9817 EOF
9824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9825 { (eval echo configure:9826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9819 { (eval echo configure:9820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9827 if test -z "$ac_err"; then 9821 if test -z "$ac_err"; then
9828 rm -rf conftest* 9822 rm -rf conftest*
9829 eval "ac_cv_header_$ac_safe=yes" 9823 eval "ac_cv_header_$ac_safe=yes"
9830 else 9824 else
9843 with_jpeg=no 9837 with_jpeg=no
9844 fi 9838 fi
9845 } 9839 }
9846 test -z "$with_jpeg" && { 9840 test -z "$with_jpeg" && {
9847 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9841 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9848 echo "configure:9849: checking for jpeg_destroy_decompress in -ljpeg" >&5 9842 echo "configure:9843: checking for jpeg_destroy_decompress in -ljpeg" >&5
9849 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9843 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9850 9844
9851 xe_check_libs=" -ljpeg " 9845 xe_check_libs=" -ljpeg "
9852 cat > conftest.$ac_ext <<EOF 9846 cat > conftest.$ac_ext <<EOF
9853 #line 9854 "configure" 9847 #line 9848 "configure"
9854 #include "confdefs.h" 9848 #include "confdefs.h"
9855 /* Override any gcc2 internal prototype to avoid an error. */ 9849 /* Override any gcc2 internal prototype to avoid an error. */
9856 /* We use char because int might match the return type of a gcc2 9850 /* We use char because int might match the return type of a gcc2
9857 builtin and then its argument prototype would still apply. */ 9851 builtin and then its argument prototype would still apply. */
9858 char jpeg_destroy_decompress(); 9852 char jpeg_destroy_decompress();
9859 9853
9860 int main() { 9854 int main() {
9861 jpeg_destroy_decompress() 9855 jpeg_destroy_decompress()
9862 ; return 0; } 9856 ; return 0; }
9863 EOF 9857 EOF
9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9865 rm -rf conftest* 9859 rm -rf conftest*
9866 eval "ac_cv_lib_$ac_lib_var=yes" 9860 eval "ac_cv_lib_$ac_lib_var=yes"
9867 else 9861 else
9868 echo "configure: failed program was:" >&5 9862 echo "configure: failed program was:" >&5
9869 cat conftest.$ac_ext >&5 9863 cat conftest.$ac_ext >&5
9895 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 9889 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9896 fi 9890 fi
9897 9891
9898 png_problem="" 9892 png_problem=""
9899 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 9893 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9900 echo "configure:9901: checking for pow" >&5 9894 echo "configure:9895: checking for pow" >&5
9901 9895
9902 cat > conftest.$ac_ext <<EOF 9896 cat > conftest.$ac_ext <<EOF
9903 #line 9904 "configure" 9897 #line 9898 "configure"
9904 #include "confdefs.h" 9898 #include "confdefs.h"
9905 /* System header to define __stub macros and hopefully few prototypes, 9899 /* System header to define __stub macros and hopefully few prototypes,
9906 which can conflict with char pow(); below. */ 9900 which can conflict with char pow(); below. */
9907 #include <assert.h> 9901 #include <assert.h>
9908 /* Override any gcc2 internal prototype to avoid an error. */ 9902 /* Override any gcc2 internal prototype to avoid an error. */
9921 pow(); 9915 pow();
9922 #endif 9916 #endif
9923 9917
9924 ; return 0; } 9918 ; return 0; }
9925 EOF 9919 EOF
9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9920 if { (eval echo configure:9921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9927 rm -rf conftest* 9921 rm -rf conftest*
9928 eval "ac_cv_func_pow=yes" 9922 eval "ac_cv_func_pow=yes"
9929 else 9923 else
9930 echo "configure: failed program was:" >&5 9924 echo "configure: failed program was:" >&5
9931 cat conftest.$ac_ext >&5 9925 cat conftest.$ac_ext >&5
9942 with_png=no 9936 with_png=no
9943 fi 9937 fi
9944 } 9938 }
9945 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 9939 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9946 echo $ac_n "checking for png.h""... $ac_c" 1>&6 9940 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9947 echo "configure:9948: checking for png.h" >&5 9941 echo "configure:9942: checking for png.h" >&5
9948 9942
9949 cat > conftest.$ac_ext <<EOF 9943 cat > conftest.$ac_ext <<EOF
9950 #line 9951 "configure" 9944 #line 9945 "configure"
9951 #include "confdefs.h" 9945 #include "confdefs.h"
9952 #include <png.h> 9946 #include <png.h>
9953 EOF 9947 EOF
9954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9955 { (eval echo configure:9956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9949 { (eval echo configure:9950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9957 if test -z "$ac_err"; then 9951 if test -z "$ac_err"; then
9958 rm -rf conftest* 9952 rm -rf conftest*
9959 eval "ac_cv_header_$ac_safe=yes" 9953 eval "ac_cv_header_$ac_safe=yes"
9960 else 9954 else
9973 with_png=no 9967 with_png=no
9974 fi 9968 fi
9975 } 9969 }
9976 test -z "$with_png" && { 9970 test -z "$with_png" && {
9977 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 9971 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
9978 echo "configure:9979: checking for png_read_image in -lpng" >&5 9972 echo "configure:9973: checking for png_read_image in -lpng" >&5
9979 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 9973 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
9980 9974
9981 xe_check_libs=" -lpng " 9975 xe_check_libs=" -lpng "
9982 cat > conftest.$ac_ext <<EOF 9976 cat > conftest.$ac_ext <<EOF
9983 #line 9984 "configure" 9977 #line 9978 "configure"
9984 #include "confdefs.h" 9978 #include "confdefs.h"
9985 /* Override any gcc2 internal prototype to avoid an error. */ 9979 /* Override any gcc2 internal prototype to avoid an error. */
9986 /* We use char because int might match the return type of a gcc2 9980 /* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */ 9981 builtin and then its argument prototype would still apply. */
9988 char png_read_image(); 9982 char png_read_image();
9989 9983
9990 int main() { 9984 int main() {
9991 png_read_image() 9985 png_read_image()
9992 ; return 0; } 9986 ; return 0; }
9993 EOF 9987 EOF
9994 if { (eval echo configure:9995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9995 rm -rf conftest* 9989 rm -rf conftest*
9996 eval "ac_cv_lib_$ac_lib_var=yes" 9990 eval "ac_cv_lib_$ac_lib_var=yes"
9997 else 9991 else
9998 echo "configure: failed program was:" >&5 9992 echo "configure: failed program was:" >&5
9999 cat conftest.$ac_ext >&5 9993 cat conftest.$ac_ext >&5
10012 fi 10006 fi
10013 10007
10014 } 10008 }
10015 if test -z "$with_png"; then 10009 if test -z "$with_png"; then
10016 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10010 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10017 echo "configure:10018: checking for workable png version information" >&5 10011 echo "configure:10012: checking for workable png version information" >&5
10018 xe_check_libs="-lpng -lz" 10012 xe_check_libs="-lpng -lz"
10019 cat > conftest.$ac_ext <<EOF 10013 cat > conftest.$ac_ext <<EOF
10020 #line 10021 "configure" 10014 #line 10015 "configure"
10021 #include "confdefs.h" 10015 #include "confdefs.h"
10022 #include <png.h> 10016 #include <png.h>
10023 int main(int c, char **v) { 10017 int main(int c, char **v) {
10024 if (c == 1) return 0; 10018 if (c == 1) return 0;
10025 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10019 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10026 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10020 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10027 EOF 10021 EOF
10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10029 then 10023 then
10030 ./conftest dummy_arg; png_status=$?; 10024 ./conftest dummy_arg; png_status=$?;
10031 if test "$png_status" = "0"; then 10025 if test "$png_status" = "0"; then
10032 with_png=yes; 10026 with_png=yes;
10033 else 10027 else
10066 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10060 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10067 fi 10061 fi
10068 10062
10069 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10063 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10070 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10064 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10071 echo "configure:10072: checking for tiffio.h" >&5 10065 echo "configure:10066: checking for tiffio.h" >&5
10072 10066
10073 cat > conftest.$ac_ext <<EOF 10067 cat > conftest.$ac_ext <<EOF
10074 #line 10075 "configure" 10068 #line 10069 "configure"
10075 #include "confdefs.h" 10069 #include "confdefs.h"
10076 #include <tiffio.h> 10070 #include <tiffio.h>
10077 EOF 10071 EOF
10078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10079 { (eval echo configure:10080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10073 { (eval echo configure:10074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10081 if test -z "$ac_err"; then 10075 if test -z "$ac_err"; then
10082 rm -rf conftest* 10076 rm -rf conftest*
10083 eval "ac_cv_header_$ac_safe=yes" 10077 eval "ac_cv_header_$ac_safe=yes"
10084 else 10078 else
10097 with_tiff=no 10091 with_tiff=no
10098 fi 10092 fi
10099 } 10093 }
10100 test -z "$with_tiff" && { 10094 test -z "$with_tiff" && {
10101 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10095 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10102 echo "configure:10103: checking for TIFFClientOpen in -ltiff" >&5 10096 echo "configure:10097: checking for TIFFClientOpen in -ltiff" >&5
10103 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10097 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10104 10098
10105 xe_check_libs=" -ltiff " 10099 xe_check_libs=" -ltiff "
10106 cat > conftest.$ac_ext <<EOF 10100 cat > conftest.$ac_ext <<EOF
10107 #line 10108 "configure" 10101 #line 10102 "configure"
10108 #include "confdefs.h" 10102 #include "confdefs.h"
10109 /* Override any gcc2 internal prototype to avoid an error. */ 10103 /* Override any gcc2 internal prototype to avoid an error. */
10110 /* We use char because int might match the return type of a gcc2 10104 /* We use char because int might match the return type of a gcc2
10111 builtin and then its argument prototype would still apply. */ 10105 builtin and then its argument prototype would still apply. */
10112 char TIFFClientOpen(); 10106 char TIFFClientOpen();
10113 10107
10114 int main() { 10108 int main() {
10115 TIFFClientOpen() 10109 TIFFClientOpen()
10116 ; return 0; } 10110 ; return 0; }
10117 EOF 10111 EOF
10118 if { (eval echo configure:10119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10119 rm -rf conftest* 10113 rm -rf conftest*
10120 eval "ac_cv_lib_$ac_lib_var=yes" 10114 eval "ac_cv_lib_$ac_lib_var=yes"
10121 else 10115 else
10122 echo "configure: failed program was:" >&5 10116 echo "configure: failed program was:" >&5
10123 cat conftest.$ac_ext >&5 10117 cat conftest.$ac_ext >&5
10152 10146
10153 10147
10154 if test "$with_gtk" = "yes"; then 10148 if test "$with_gtk" = "yes"; then
10155 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10149 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10156 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10150 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10157 echo "configure:10158: checking for compface.h" >&5 10151 echo "configure:10152: checking for compface.h" >&5
10158 10152
10159 cat > conftest.$ac_ext <<EOF 10153 cat > conftest.$ac_ext <<EOF
10160 #line 10161 "configure" 10154 #line 10155 "configure"
10161 #include "confdefs.h" 10155 #include "confdefs.h"
10162 #include <compface.h> 10156 #include <compface.h>
10163 EOF 10157 EOF
10164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10165 { (eval echo configure:10166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10159 { (eval echo configure:10160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10167 if test -z "$ac_err"; then 10161 if test -z "$ac_err"; then
10168 rm -rf conftest* 10162 rm -rf conftest*
10169 eval "ac_cv_header_$ac_safe=yes" 10163 eval "ac_cv_header_$ac_safe=yes"
10170 else 10164 else
10183 with_xface=no 10177 with_xface=no
10184 fi 10178 fi
10185 } 10179 }
10186 test -z "$with_xface" && { 10180 test -z "$with_xface" && {
10187 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10181 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10188 echo "configure:10189: checking for UnGenFace in -lcompface" >&5 10182 echo "configure:10183: checking for UnGenFace in -lcompface" >&5
10189 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10183 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10190 10184
10191 xe_check_libs=" -lcompface " 10185 xe_check_libs=" -lcompface "
10192 cat > conftest.$ac_ext <<EOF 10186 cat > conftest.$ac_ext <<EOF
10193 #line 10194 "configure" 10187 #line 10188 "configure"
10194 #include "confdefs.h" 10188 #include "confdefs.h"
10195 /* Override any gcc2 internal prototype to avoid an error. */ 10189 /* Override any gcc2 internal prototype to avoid an error. */
10196 /* We use char because int might match the return type of a gcc2 10190 /* We use char because int might match the return type of a gcc2
10197 builtin and then its argument prototype would still apply. */ 10191 builtin and then its argument prototype would still apply. */
10198 char UnGenFace(); 10192 char UnGenFace();
10199 10193
10200 int main() { 10194 int main() {
10201 UnGenFace() 10195 UnGenFace()
10202 ; return 0; } 10196 ; return 0; }
10203 EOF 10197 EOF
10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10198 if { (eval echo configure:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10205 rm -rf conftest* 10199 rm -rf conftest*
10206 eval "ac_cv_lib_$ac_lib_var=yes" 10200 eval "ac_cv_lib_$ac_lib_var=yes"
10207 else 10201 else
10208 echo "configure: failed program was:" >&5 10202 echo "configure: failed program was:" >&5
10209 cat conftest.$ac_ext >&5 10203 cat conftest.$ac_ext >&5
10238 10232
10239 10233
10240 10234
10241 if test "$with_x11" = "yes"; then 10235 if test "$with_x11" = "yes"; then
10242 echo "checking for X11 graphics libraries" 1>&6 10236 echo "checking for X11 graphics libraries" 1>&6
10243 echo "configure:10244: checking for X11 graphics libraries" >&5 10237 echo "configure:10238: checking for X11 graphics libraries" >&5
10244 fi 10238 fi
10245 10239
10246 case "$with_widgets" in 10240 case "$with_widgets" in
10247 "yes" | "athena") detect_athena=yes ;; 10241 "yes" | "athena") detect_athena=yes ;;
10248 *) detect_athena=no ;; 10242 *) detect_athena=no ;;
10249 esac 10243 esac
10250 10244
10251 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10245 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10252 echo "checking for the Athena widgets" 1>&6 10246 echo "checking for the Athena widgets" 1>&6
10253 echo "configure:10254: checking for the Athena widgets" >&5 10247 echo "configure:10248: checking for the Athena widgets" >&5
10254 10248
10255 case "$with_athena" in 10249 case "$with_athena" in
10256 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10250 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10257 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10251 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10258 "next") athena_variant=neXtaw athena_3d=yes ;; 10252 "next") athena_variant=neXtaw athena_3d=yes ;;
10262 esac 10256 esac
10263 10257
10264 if test "$athena_3d" = "no"; then 10258 if test "$athena_3d" = "no"; then
10265 10259
10266 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10260 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10267 echo "configure:10268: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10261 echo "configure:10262: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10268 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10262 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10269 10263
10270 xe_check_libs=" -l$athena_variant " 10264 xe_check_libs=" -l$athena_variant "
10271 cat > conftest.$ac_ext <<EOF 10265 cat > conftest.$ac_ext <<EOF
10272 #line 10273 "configure" 10266 #line 10267 "configure"
10273 #include "confdefs.h" 10267 #include "confdefs.h"
10274 /* Override any gcc2 internal prototype to avoid an error. */ 10268 /* Override any gcc2 internal prototype to avoid an error. */
10275 /* We use char because int might match the return type of a gcc2 10269 /* We use char because int might match the return type of a gcc2
10276 builtin and then its argument prototype would still apply. */ 10270 builtin and then its argument prototype would still apply. */
10277 char XawScrollbarSetThumb(); 10271 char XawScrollbarSetThumb();
10278 10272
10279 int main() { 10273 int main() {
10280 XawScrollbarSetThumb() 10274 XawScrollbarSetThumb()
10281 ; return 0; } 10275 ; return 0; }
10282 EOF 10276 EOF
10283 if { (eval echo configure:10284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10277 if { (eval echo configure:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10284 rm -rf conftest* 10278 rm -rf conftest*
10285 eval "ac_cv_lib_$ac_lib_var=yes" 10279 eval "ac_cv_lib_$ac_lib_var=yes"
10286 else 10280 else
10287 echo "configure: failed program was:" >&5 10281 echo "configure: failed program was:" >&5
10288 cat conftest.$ac_ext >&5 10282 cat conftest.$ac_ext >&5
10294 10288
10295 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10289 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10296 echo "$ac_t""yes" 1>&6 10290 echo "$ac_t""yes" 1>&6
10297 10291
10298 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10292 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10299 echo "configure:10300: checking for threeDClassRec in -l$athena_variant" >&5 10293 echo "configure:10294: checking for threeDClassRec in -l$athena_variant" >&5
10300 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10294 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10301 10295
10302 xe_check_libs=" -l$athena_variant " 10296 xe_check_libs=" -l$athena_variant "
10303 cat > conftest.$ac_ext <<EOF 10297 cat > conftest.$ac_ext <<EOF
10304 #line 10305 "configure" 10298 #line 10299 "configure"
10305 #include "confdefs.h" 10299 #include "confdefs.h"
10306 /* Override any gcc2 internal prototype to avoid an error. */ 10300 /* Override any gcc2 internal prototype to avoid an error. */
10307 /* We use char because int might match the return type of a gcc2 10301 /* We use char because int might match the return type of a gcc2
10308 builtin and then its argument prototype would still apply. */ 10302 builtin and then its argument prototype would still apply. */
10309 char threeDClassRec(); 10303 char threeDClassRec();
10310 10304
10311 int main() { 10305 int main() {
10312 threeDClassRec() 10306 threeDClassRec()
10313 ; return 0; } 10307 ; return 0; }
10314 EOF 10308 EOF
10315 if { (eval echo configure:10316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10309 if { (eval echo configure:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10316 rm -rf conftest* 10310 rm -rf conftest*
10317 eval "ac_cv_lib_$ac_lib_var=yes" 10311 eval "ac_cv_lib_$ac_lib_var=yes"
10318 else 10312 else
10319 echo "configure: failed program was:" >&5 10313 echo "configure: failed program was:" >&5
10320 cat conftest.$ac_ext >&5 10314 cat conftest.$ac_ext >&5
10341 10335
10342 10336
10343 else 10337 else
10344 10338
10345 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10339 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10346 echo "configure:10347: checking for threeDClassRec in -l$athena_variant" >&5 10340 echo "configure:10341: checking for threeDClassRec in -l$athena_variant" >&5
10347 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10341 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10348 10342
10349 xe_check_libs=" -l$athena_variant " 10343 xe_check_libs=" -l$athena_variant "
10350 cat > conftest.$ac_ext <<EOF 10344 cat > conftest.$ac_ext <<EOF
10351 #line 10352 "configure" 10345 #line 10346 "configure"
10352 #include "confdefs.h" 10346 #include "confdefs.h"
10353 /* Override any gcc2 internal prototype to avoid an error. */ 10347 /* Override any gcc2 internal prototype to avoid an error. */
10354 /* We use char because int might match the return type of a gcc2 10348 /* We use char because int might match the return type of a gcc2
10355 builtin and then its argument prototype would still apply. */ 10349 builtin and then its argument prototype would still apply. */
10356 char threeDClassRec(); 10350 char threeDClassRec();
10357 10351
10358 int main() { 10352 int main() {
10359 threeDClassRec() 10353 threeDClassRec()
10360 ; return 0; } 10354 ; return 0; }
10361 EOF 10355 EOF
10362 if { (eval echo configure:10363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10356 if { (eval echo configure:10357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10363 rm -rf conftest* 10357 rm -rf conftest*
10364 eval "ac_cv_lib_$ac_lib_var=yes" 10358 eval "ac_cv_lib_$ac_lib_var=yes"
10365 else 10359 else
10366 echo "configure: failed program was:" >&5 10360 echo "configure: failed program was:" >&5
10367 cat conftest.$ac_ext >&5 10361 cat conftest.$ac_ext >&5
10375 echo "$ac_t""yes" 1>&6 10369 echo "$ac_t""yes" 1>&6
10376 athena_lib=$athena_variant 10370 athena_lib=$athena_variant
10377 else 10371 else
10378 echo "$ac_t""no" 1>&6 10372 echo "$ac_t""no" 1>&6
10379 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10373 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10380 echo "configure:10381: checking for threeDClassRec in -lXaw" >&5 10374 echo "configure:10375: checking for threeDClassRec in -lXaw" >&5
10381 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10375 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10382 10376
10383 xe_check_libs=" -lXaw " 10377 xe_check_libs=" -lXaw "
10384 cat > conftest.$ac_ext <<EOF 10378 cat > conftest.$ac_ext <<EOF
10385 #line 10386 "configure" 10379 #line 10380 "configure"
10386 #include "confdefs.h" 10380 #include "confdefs.h"
10387 /* Override any gcc2 internal prototype to avoid an error. */ 10381 /* Override any gcc2 internal prototype to avoid an error. */
10388 /* We use char because int might match the return type of a gcc2 10382 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */ 10383 builtin and then its argument prototype would still apply. */
10390 char threeDClassRec(); 10384 char threeDClassRec();
10391 10385
10392 int main() { 10386 int main() {
10393 threeDClassRec() 10387 threeDClassRec()
10394 ; return 0; } 10388 ; return 0; }
10395 EOF 10389 EOF
10396 if { (eval echo configure:10397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10390 if { (eval echo configure:10391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10397 rm -rf conftest* 10391 rm -rf conftest*
10398 eval "ac_cv_lib_$ac_lib_var=yes" 10392 eval "ac_cv_lib_$ac_lib_var=yes"
10399 else 10393 else
10400 echo "configure: failed program was:" >&5 10394 echo "configure: failed program was:" >&5
10401 cat conftest.$ac_ext >&5 10395 cat conftest.$ac_ext >&5
10422 fi 10416 fi
10423 10417
10424 if test "$athena_3d" = "no"; then 10418 if test "$athena_3d" = "no"; then
10425 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10419 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10426 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10420 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10427 echo "configure:10428: checking for X11/Xaw/ThreeD.h" >&5 10421 echo "configure:10422: checking for X11/Xaw/ThreeD.h" >&5
10428 10422
10429 cat > conftest.$ac_ext <<EOF 10423 cat > conftest.$ac_ext <<EOF
10430 #line 10431 "configure" 10424 #line 10425 "configure"
10431 #include "confdefs.h" 10425 #include "confdefs.h"
10432 #include <X11/Xaw/ThreeD.h> 10426 #include <X11/Xaw/ThreeD.h>
10433 EOF 10427 EOF
10434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10435 { (eval echo configure:10436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10429 { (eval echo configure:10430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10437 if test -z "$ac_err"; then 10431 if test -z "$ac_err"; then
10438 rm -rf conftest* 10432 rm -rf conftest*
10439 eval "ac_cv_header_$ac_safe=yes" 10433 eval "ac_cv_header_$ac_safe=yes"
10440 else 10434 else
10450 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 10444 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10451 else 10445 else
10452 echo "$ac_t""no" 1>&6 10446 echo "$ac_t""no" 1>&6
10453 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 10447 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10454 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 10448 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10455 echo "configure:10456: checking for X11/Xaw/XawInit.h" >&5 10449 echo "configure:10450: checking for X11/Xaw/XawInit.h" >&5
10456 10450
10457 cat > conftest.$ac_ext <<EOF 10451 cat > conftest.$ac_ext <<EOF
10458 #line 10459 "configure" 10452 #line 10453 "configure"
10459 #include "confdefs.h" 10453 #include "confdefs.h"
10460 #include <X11/Xaw/XawInit.h> 10454 #include <X11/Xaw/XawInit.h>
10461 EOF 10455 EOF
10462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10463 { (eval echo configure:10464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10457 { (eval echo configure:10458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10465 if test -z "$ac_err"; then 10459 if test -z "$ac_err"; then
10466 rm -rf conftest* 10460 rm -rf conftest*
10467 eval "ac_cv_header_$ac_safe=yes" 10461 eval "ac_cv_header_$ac_safe=yes"
10468 else 10462 else
10484 fi 10478 fi
10485 10479
10486 else 10480 else
10487 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10481 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10488 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 10482 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10489 echo "configure:10490: checking for X11/$athena_variant/XawInit.h" >&5 10483 echo "configure:10484: checking for X11/$athena_variant/XawInit.h" >&5
10490 10484
10491 cat > conftest.$ac_ext <<EOF 10485 cat > conftest.$ac_ext <<EOF
10492 #line 10493 "configure" 10486 #line 10487 "configure"
10493 #include "confdefs.h" 10487 #include "confdefs.h"
10494 #include <X11/$athena_variant/XawInit.h> 10488 #include <X11/$athena_variant/XawInit.h>
10495 EOF 10489 EOF
10496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10497 { (eval echo configure:10498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10491 { (eval echo configure:10492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10499 if test -z "$ac_err"; then 10493 if test -z "$ac_err"; then
10500 rm -rf conftest* 10494 rm -rf conftest*
10501 eval "ac_cv_header_$ac_safe=yes" 10495 eval "ac_cv_header_$ac_safe=yes"
10502 else 10496 else
10509 rm -f conftest* 10503 rm -f conftest*
10510 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10511 echo "$ac_t""yes" 1>&6 10505 echo "$ac_t""yes" 1>&6
10512 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10506 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10513 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10507 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10514 echo "configure:10515: checking for X11/$athena_variant/ThreeD.h" >&5 10508 echo "configure:10509: checking for X11/$athena_variant/ThreeD.h" >&5
10515 10509
10516 cat > conftest.$ac_ext <<EOF 10510 cat > conftest.$ac_ext <<EOF
10517 #line 10518 "configure" 10511 #line 10512 "configure"
10518 #include "confdefs.h" 10512 #include "confdefs.h"
10519 #include <X11/$athena_variant/ThreeD.h> 10513 #include <X11/$athena_variant/ThreeD.h>
10520 EOF 10514 EOF
10521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10522 { (eval echo configure:10523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10516 { (eval echo configure:10517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10524 if test -z "$ac_err"; then 10518 if test -z "$ac_err"; then
10525 rm -rf conftest* 10519 rm -rf conftest*
10526 eval "ac_cv_header_$ac_safe=yes" 10520 eval "ac_cv_header_$ac_safe=yes"
10527 else 10521 else
10545 10539
10546 10540
10547 if test -z "$athena_h_path"; then 10541 if test -z "$athena_h_path"; then
10548 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10542 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10549 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10543 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10550 echo "configure:10551: checking for $athena_variant/XawInit.h" >&5 10544 echo "configure:10545: checking for $athena_variant/XawInit.h" >&5
10551 10545
10552 cat > conftest.$ac_ext <<EOF 10546 cat > conftest.$ac_ext <<EOF
10553 #line 10554 "configure" 10547 #line 10548 "configure"
10554 #include "confdefs.h" 10548 #include "confdefs.h"
10555 #include <$athena_variant/XawInit.h> 10549 #include <$athena_variant/XawInit.h>
10556 EOF 10550 EOF
10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10552 { (eval echo configure:10553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10560 if test -z "$ac_err"; then 10554 if test -z "$ac_err"; then
10561 rm -rf conftest* 10555 rm -rf conftest*
10562 eval "ac_cv_header_$ac_safe=yes" 10556 eval "ac_cv_header_$ac_safe=yes"
10563 else 10557 else
10570 rm -f conftest* 10564 rm -f conftest*
10571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10572 echo "$ac_t""yes" 1>&6 10566 echo "$ac_t""yes" 1>&6
10573 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10567 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10574 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 10568 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10575 echo "configure:10576: checking for $athena_variant/ThreeD.h" >&5 10569 echo "configure:10570: checking for $athena_variant/ThreeD.h" >&5
10576 10570
10577 cat > conftest.$ac_ext <<EOF 10571 cat > conftest.$ac_ext <<EOF
10578 #line 10579 "configure" 10572 #line 10573 "configure"
10579 #include "confdefs.h" 10573 #include "confdefs.h"
10580 #include <$athena_variant/ThreeD.h> 10574 #include <$athena_variant/ThreeD.h>
10581 EOF 10575 EOF
10582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10583 { (eval echo configure:10584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10577 { (eval echo configure:10578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10585 if test -z "$ac_err"; then 10579 if test -z "$ac_err"; then
10586 rm -rf conftest* 10580 rm -rf conftest*
10587 eval "ac_cv_header_$ac_safe=yes" 10581 eval "ac_cv_header_$ac_safe=yes"
10588 else 10582 else
10607 fi 10601 fi
10608 10602
10609 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10603 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10610 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10604 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10611 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 10605 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10612 echo "configure:10613: checking for X11/Xaw3d/XawInit.h" >&5 10606 echo "configure:10607: checking for X11/Xaw3d/XawInit.h" >&5
10613 10607
10614 cat > conftest.$ac_ext <<EOF 10608 cat > conftest.$ac_ext <<EOF
10615 #line 10616 "configure" 10609 #line 10610 "configure"
10616 #include "confdefs.h" 10610 #include "confdefs.h"
10617 #include <X11/Xaw3d/XawInit.h> 10611 #include <X11/Xaw3d/XawInit.h>
10618 EOF 10612 EOF
10619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10620 { (eval echo configure:10621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10614 { (eval echo configure:10615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10622 if test -z "$ac_err"; then 10616 if test -z "$ac_err"; then
10623 rm -rf conftest* 10617 rm -rf conftest*
10624 eval "ac_cv_header_$ac_safe=yes" 10618 eval "ac_cv_header_$ac_safe=yes"
10625 else 10619 else
10632 rm -f conftest* 10626 rm -f conftest*
10633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10634 echo "$ac_t""yes" 1>&6 10628 echo "$ac_t""yes" 1>&6
10635 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10629 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10636 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10630 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10637 echo "configure:10638: checking for X11/Xaw3d/ThreeD.h" >&5 10631 echo "configure:10632: checking for X11/Xaw3d/ThreeD.h" >&5
10638 10632
10639 cat > conftest.$ac_ext <<EOF 10633 cat > conftest.$ac_ext <<EOF
10640 #line 10641 "configure" 10634 #line 10635 "configure"
10641 #include "confdefs.h" 10635 #include "confdefs.h"
10642 #include <X11/Xaw3d/ThreeD.h> 10636 #include <X11/Xaw3d/ThreeD.h>
10643 EOF 10637 EOF
10644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10645 { (eval echo configure:10646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10639 { (eval echo configure:10640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10647 if test -z "$ac_err"; then 10641 if test -z "$ac_err"; then
10648 rm -rf conftest* 10642 rm -rf conftest*
10649 eval "ac_cv_header_$ac_safe=yes" 10643 eval "ac_cv_header_$ac_safe=yes"
10650 else 10644 else
10672 fi 10666 fi
10673 10667
10674 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10668 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10675 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10669 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10676 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10670 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10677 echo "configure:10678: checking for Xaw3d/XawInit.h" >&5 10671 echo "configure:10672: checking for Xaw3d/XawInit.h" >&5
10678 10672
10679 cat > conftest.$ac_ext <<EOF 10673 cat > conftest.$ac_ext <<EOF
10680 #line 10681 "configure" 10674 #line 10675 "configure"
10681 #include "confdefs.h" 10675 #include "confdefs.h"
10682 #include <Xaw3d/XawInit.h> 10676 #include <Xaw3d/XawInit.h>
10683 EOF 10677 EOF
10684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10685 { (eval echo configure:10686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10679 { (eval echo configure:10680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10687 if test -z "$ac_err"; then 10681 if test -z "$ac_err"; then
10688 rm -rf conftest* 10682 rm -rf conftest*
10689 eval "ac_cv_header_$ac_safe=yes" 10683 eval "ac_cv_header_$ac_safe=yes"
10690 else 10684 else
10697 rm -f conftest* 10691 rm -f conftest*
10698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10699 echo "$ac_t""yes" 1>&6 10693 echo "$ac_t""yes" 1>&6
10700 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10694 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10701 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10695 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10702 echo "configure:10703: checking for Xaw3d/ThreeD.h" >&5 10696 echo "configure:10697: checking for Xaw3d/ThreeD.h" >&5
10703 10697
10704 cat > conftest.$ac_ext <<EOF 10698 cat > conftest.$ac_ext <<EOF
10705 #line 10706 "configure" 10699 #line 10700 "configure"
10706 #include "confdefs.h" 10700 #include "confdefs.h"
10707 #include <Xaw3d/ThreeD.h> 10701 #include <Xaw3d/ThreeD.h>
10708 EOF 10702 EOF
10709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10710 { (eval echo configure:10711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10704 { (eval echo configure:10705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10712 if test -z "$ac_err"; then 10706 if test -z "$ac_err"; then
10713 rm -rf conftest* 10707 rm -rf conftest*
10714 eval "ac_cv_header_$ac_safe=yes" 10708 eval "ac_cv_header_$ac_safe=yes"
10715 else 10709 else
10737 fi 10731 fi
10738 10732
10739 if test -z "$athena_h_path"; then 10733 if test -z "$athena_h_path"; then
10740 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10734 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10741 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10735 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10742 echo "configure:10743: checking for X11/Xaw/ThreeD.h" >&5 10736 echo "configure:10737: checking for X11/Xaw/ThreeD.h" >&5
10743 10737
10744 cat > conftest.$ac_ext <<EOF 10738 cat > conftest.$ac_ext <<EOF
10745 #line 10746 "configure" 10739 #line 10740 "configure"
10746 #include "confdefs.h" 10740 #include "confdefs.h"
10747 #include <X11/Xaw/ThreeD.h> 10741 #include <X11/Xaw/ThreeD.h>
10748 EOF 10742 EOF
10749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10750 { (eval echo configure:10751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10744 { (eval echo configure:10745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10752 if test -z "$ac_err"; then 10746 if test -z "$ac_err"; then
10753 rm -rf conftest* 10747 rm -rf conftest*
10754 eval "ac_cv_header_$ac_safe=yes" 10748 eval "ac_cv_header_$ac_safe=yes"
10755 else 10749 else
10784 have_xaw=no 10778 have_xaw=no
10785 fi 10779 fi
10786 if test "$with_x11" = "yes"; then 10780 if test "$with_x11" = "yes"; then
10787 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10781 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10788 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10782 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10789 echo "configure:10790: checking for Xm/Xm.h" >&5 10783 echo "configure:10784: checking for Xm/Xm.h" >&5
10790 10784
10791 cat > conftest.$ac_ext <<EOF 10785 cat > conftest.$ac_ext <<EOF
10792 #line 10793 "configure" 10786 #line 10787 "configure"
10793 #include "confdefs.h" 10787 #include "confdefs.h"
10794 #include <Xm/Xm.h> 10788 #include <Xm/Xm.h>
10795 EOF 10789 EOF
10796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10797 { (eval echo configure:10798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10791 { (eval echo configure:10792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10799 if test -z "$ac_err"; then 10793 if test -z "$ac_err"; then
10800 rm -rf conftest* 10794 rm -rf conftest*
10801 eval "ac_cv_header_$ac_safe=yes" 10795 eval "ac_cv_header_$ac_safe=yes"
10802 else 10796 else
10809 rm -f conftest* 10803 rm -f conftest*
10810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10811 echo "$ac_t""yes" 1>&6 10805 echo "$ac_t""yes" 1>&6
10812 10806
10813 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10807 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10814 echo "configure:10815: checking for XmStringFree in -lXm" >&5 10808 echo "configure:10809: checking for XmStringFree in -lXm" >&5
10815 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10809 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10816 10810
10817 xe_check_libs=" -lXm " 10811 xe_check_libs=" -lXm "
10818 cat > conftest.$ac_ext <<EOF 10812 cat > conftest.$ac_ext <<EOF
10819 #line 10820 "configure" 10813 #line 10814 "configure"
10820 #include "confdefs.h" 10814 #include "confdefs.h"
10821 /* Override any gcc2 internal prototype to avoid an error. */ 10815 /* Override any gcc2 internal prototype to avoid an error. */
10822 /* We use char because int might match the return type of a gcc2 10816 /* We use char because int might match the return type of a gcc2
10823 builtin and then its argument prototype would still apply. */ 10817 builtin and then its argument prototype would still apply. */
10824 char XmStringFree(); 10818 char XmStringFree();
10825 10819
10826 int main() { 10820 int main() {
10827 XmStringFree() 10821 XmStringFree()
10828 ; return 0; } 10822 ; return 0; }
10829 EOF 10823 EOF
10830 if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10824 if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10831 rm -rf conftest* 10825 rm -rf conftest*
10832 eval "ac_cv_lib_$ac_lib_var=yes" 10826 eval "ac_cv_lib_$ac_lib_var=yes"
10833 else 10827 else
10834 echo "configure: failed program was:" >&5 10828 echo "configure: failed program was:" >&5
10835 cat conftest.$ac_ext >&5 10829 cat conftest.$ac_ext >&5
10854 fi 10848 fi
10855 10849
10856 10850
10857 if test "$have_motif" = "yes"; then 10851 if test "$have_motif" = "yes"; then
10858 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10852 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10859 echo "configure:10860: checking for Lesstif" >&5 10853 echo "configure:10854: checking for Lesstif" >&5
10860 cat > conftest.$ac_ext <<EOF 10854 cat > conftest.$ac_ext <<EOF
10861 #line 10862 "configure" 10855 #line 10856 "configure"
10862 #include "confdefs.h" 10856 #include "confdefs.h"
10863 #include <Xm/Xm.h> 10857 #include <Xm/Xm.h>
10864 #ifdef LESSTIF_VERSION 10858 #ifdef LESSTIF_VERSION
10865 yes 10859 yes
10866 #endif 10860 #endif
11229 11223
11230 fi 11224 fi
11231 11225
11232 if test "$with_mule" = "yes" ; then 11226 if test "$with_mule" = "yes" ; then
11233 echo "checking for Mule-related features" 1>&6 11227 echo "checking for Mule-related features" 1>&6
11234 echo "configure:11235: checking for Mule-related features" >&5 11228 echo "configure:11229: checking for Mule-related features" >&5
11235 { test "$extra_verbose" = "yes" && cat << \EOF 11229 { test "$extra_verbose" = "yes" && cat << \EOF
11236 Defining MULE 11230 Defining MULE
11237 EOF 11231 EOF
11238 cat >> confdefs.h <<\EOF 11232 cat >> confdefs.h <<\EOF
11239 #define MULE 1 11233 #define MULE 1
11243 11237
11244 for ac_hdr in libintl.h 11238 for ac_hdr in libintl.h
11245 do 11239 do
11246 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11240 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11248 echo "configure:11249: checking for $ac_hdr" >&5 11242 echo "configure:11243: checking for $ac_hdr" >&5
11249 11243
11250 cat > conftest.$ac_ext <<EOF 11244 cat > conftest.$ac_ext <<EOF
11251 #line 11252 "configure" 11245 #line 11246 "configure"
11252 #include "confdefs.h" 11246 #include "confdefs.h"
11253 #include <$ac_hdr> 11247 #include <$ac_hdr>
11254 EOF 11248 EOF
11255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11256 { (eval echo configure:11257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11250 { (eval echo configure:11251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11258 if test -z "$ac_err"; then 11252 if test -z "$ac_err"; then
11259 rm -rf conftest* 11253 rm -rf conftest*
11260 eval "ac_cv_header_$ac_safe=yes" 11254 eval "ac_cv_header_$ac_safe=yes"
11261 else 11255 else
11282 fi 11276 fi
11283 done 11277 done
11284 11278
11285 11279
11286 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11280 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11287 echo "configure:11288: checking for strerror in -lintl" >&5 11281 echo "configure:11282: checking for strerror in -lintl" >&5
11288 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11282 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11289 11283
11290 xe_check_libs=" -lintl " 11284 xe_check_libs=" -lintl "
11291 cat > conftest.$ac_ext <<EOF 11285 cat > conftest.$ac_ext <<EOF
11292 #line 11293 "configure" 11286 #line 11287 "configure"
11293 #include "confdefs.h" 11287 #include "confdefs.h"
11294 /* Override any gcc2 internal prototype to avoid an error. */ 11288 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2 11289 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */ 11290 builtin and then its argument prototype would still apply. */
11297 char strerror(); 11291 char strerror();
11298 11292
11299 int main() { 11293 int main() {
11300 strerror() 11294 strerror()
11301 ; return 0; } 11295 ; return 0; }
11302 EOF 11296 EOF
11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11297 if { (eval echo configure:11298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11304 rm -rf conftest* 11298 rm -rf conftest*
11305 eval "ac_cv_lib_$ac_lib_var=yes" 11299 eval "ac_cv_lib_$ac_lib_var=yes"
11306 else 11300 else
11307 echo "configure: failed program was:" >&5 11301 echo "configure: failed program was:" >&5
11308 cat conftest.$ac_ext >&5 11302 cat conftest.$ac_ext >&5
11331 fi 11325 fi
11332 11326
11333 11327
11334 11328
11335 echo "checking for Mule input methods" 1>&6 11329 echo "checking for Mule input methods" 1>&6
11336 echo "configure:11337: checking for Mule input methods" >&5 11330 echo "configure:11331: checking for Mule input methods" >&5
11337 case "$with_xim" in "" | "yes" ) 11331 case "$with_xim" in "" | "yes" )
11338 echo "checking for XIM" 1>&6 11332 echo "checking for XIM" 1>&6
11339 echo "configure:11340: checking for XIM" >&5 11333 echo "configure:11334: checking for XIM" >&5
11340 11334
11341 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11335 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11342 echo "configure:11343: checking for XOpenIM in -lX11" >&5 11336 echo "configure:11337: checking for XOpenIM in -lX11" >&5
11343 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11337 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11344 11338
11345 xe_check_libs=" -lX11 " 11339 xe_check_libs=" -lX11 "
11346 cat > conftest.$ac_ext <<EOF 11340 cat > conftest.$ac_ext <<EOF
11347 #line 11348 "configure" 11341 #line 11342 "configure"
11348 #include "confdefs.h" 11342 #include "confdefs.h"
11349 /* Override any gcc2 internal prototype to avoid an error. */ 11343 /* Override any gcc2 internal prototype to avoid an error. */
11350 /* We use char because int might match the return type of a gcc2 11344 /* We use char because int might match the return type of a gcc2
11351 builtin and then its argument prototype would still apply. */ 11345 builtin and then its argument prototype would still apply. */
11352 char XOpenIM(); 11346 char XOpenIM();
11353 11347
11354 int main() { 11348 int main() {
11355 XOpenIM() 11349 XOpenIM()
11356 ; return 0; } 11350 ; return 0; }
11357 EOF 11351 EOF
11358 if { (eval echo configure:11359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11352 if { (eval echo configure:11353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11359 rm -rf conftest* 11353 rm -rf conftest*
11360 eval "ac_cv_lib_$ac_lib_var=yes" 11354 eval "ac_cv_lib_$ac_lib_var=yes"
11361 else 11355 else
11362 echo "configure: failed program was:" >&5 11356 echo "configure: failed program was:" >&5
11363 cat conftest.$ac_ext >&5 11357 cat conftest.$ac_ext >&5
11377 11371
11378 11372
11379 if test "$have_motif $have_lesstif" = "yes no"; then 11373 if test "$have_motif $have_lesstif" = "yes no"; then
11380 11374
11381 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11375 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11382 echo "configure:11383: checking for XmImMbLookupString in -lXm" >&5 11376 echo "configure:11377: checking for XmImMbLookupString in -lXm" >&5
11383 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11377 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11384 11378
11385 xe_check_libs=" -lXm " 11379 xe_check_libs=" -lXm "
11386 cat > conftest.$ac_ext <<EOF 11380 cat > conftest.$ac_ext <<EOF
11387 #line 11388 "configure" 11381 #line 11382 "configure"
11388 #include "confdefs.h" 11382 #include "confdefs.h"
11389 /* Override any gcc2 internal prototype to avoid an error. */ 11383 /* Override any gcc2 internal prototype to avoid an error. */
11390 /* We use char because int might match the return type of a gcc2 11384 /* We use char because int might match the return type of a gcc2
11391 builtin and then its argument prototype would still apply. */ 11385 builtin and then its argument prototype would still apply. */
11392 char XmImMbLookupString(); 11386 char XmImMbLookupString();
11393 11387
11394 int main() { 11388 int main() {
11395 XmImMbLookupString() 11389 XmImMbLookupString()
11396 ; return 0; } 11390 ; return 0; }
11397 EOF 11391 EOF
11398 if { (eval echo configure:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11392 if { (eval echo configure:11393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11399 rm -rf conftest* 11393 rm -rf conftest*
11400 eval "ac_cv_lib_$ac_lib_var=yes" 11394 eval "ac_cv_lib_$ac_lib_var=yes"
11401 else 11395 else
11402 echo "configure: failed program was:" >&5 11396 echo "configure: failed program was:" >&5
11403 cat conftest.$ac_ext >&5 11397 cat conftest.$ac_ext >&5
11458 fi 11452 fi
11459 fi 11453 fi
11460 11454
11461 if test "$with_xfs" = "yes" ; then 11455 if test "$with_xfs" = "yes" ; then
11462 echo "checking for XFontSet" 1>&6 11456 echo "checking for XFontSet" 1>&6
11463 echo "configure:11464: checking for XFontSet" >&5 11457 echo "configure:11458: checking for XFontSet" >&5
11464 11458
11465 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11459 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11466 echo "configure:11467: checking for XmbDrawString in -lX11" >&5 11460 echo "configure:11461: checking for XmbDrawString in -lX11" >&5
11467 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11461 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11468 11462
11469 xe_check_libs=" -lX11 " 11463 xe_check_libs=" -lX11 "
11470 cat > conftest.$ac_ext <<EOF 11464 cat > conftest.$ac_ext <<EOF
11471 #line 11472 "configure" 11465 #line 11466 "configure"
11472 #include "confdefs.h" 11466 #include "confdefs.h"
11473 /* Override any gcc2 internal prototype to avoid an error. */ 11467 /* Override any gcc2 internal prototype to avoid an error. */
11474 /* We use char because int might match the return type of a gcc2 11468 /* We use char because int might match the return type of a gcc2
11475 builtin and then its argument prototype would still apply. */ 11469 builtin and then its argument prototype would still apply. */
11476 char XmbDrawString(); 11470 char XmbDrawString();
11477 11471
11478 int main() { 11472 int main() {
11479 XmbDrawString() 11473 XmbDrawString()
11480 ; return 0; } 11474 ; return 0; }
11481 EOF 11475 EOF
11482 if { (eval echo configure:11483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11476 if { (eval echo configure:11477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11483 rm -rf conftest* 11477 rm -rf conftest*
11484 eval "ac_cv_lib_$ac_lib_var=yes" 11478 eval "ac_cv_lib_$ac_lib_var=yes"
11485 else 11479 else
11486 echo "configure: failed program was:" >&5 11480 echo "configure: failed program was:" >&5
11487 cat conftest.$ac_ext >&5 11481 cat conftest.$ac_ext >&5
11517 fi 11511 fi
11518 fi 11512 fi
11519 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11513 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11520 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11514 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11521 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11515 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11522 echo "configure:11523: checking for wnn/jllib.h" >&5 11516 echo "configure:11517: checking for wnn/jllib.h" >&5
11523 11517
11524 cat > conftest.$ac_ext <<EOF 11518 cat > conftest.$ac_ext <<EOF
11525 #line 11526 "configure" 11519 #line 11520 "configure"
11526 #include "confdefs.h" 11520 #include "confdefs.h"
11527 #include <wnn/jllib.h> 11521 #include <wnn/jllib.h>
11528 EOF 11522 EOF
11529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11530 { (eval echo configure:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11524 { (eval echo configure:11525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11532 if test -z "$ac_err"; then 11526 if test -z "$ac_err"; then
11533 rm -rf conftest* 11527 rm -rf conftest*
11534 eval "ac_cv_header_$ac_safe=yes" 11528 eval "ac_cv_header_$ac_safe=yes"
11535 else 11529 else
11548 with_wnn=no 11542 with_wnn=no
11549 fi 11543 fi
11550 } 11544 }
11551 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11545 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11552 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11546 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11553 echo "configure:11554: checking for wnn/commonhd.h" >&5 11547 echo "configure:11548: checking for wnn/commonhd.h" >&5
11554 11548
11555 cat > conftest.$ac_ext <<EOF 11549 cat > conftest.$ac_ext <<EOF
11556 #line 11557 "configure" 11550 #line 11551 "configure"
11557 #include "confdefs.h" 11551 #include "confdefs.h"
11558 #include <wnn/commonhd.h> 11552 #include <wnn/commonhd.h>
11559 EOF 11553 EOF
11560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11561 { (eval echo configure:11562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11555 { (eval echo configure:11556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11563 if test -z "$ac_err"; then 11557 if test -z "$ac_err"; then
11564 rm -rf conftest* 11558 rm -rf conftest*
11565 eval "ac_cv_header_$ac_safe=yes" 11559 eval "ac_cv_header_$ac_safe=yes"
11566 else 11560 else
11581 } 11575 }
11582 if test "$with_wnn" != "no"; then 11576 if test "$with_wnn" != "no"; then
11583 for ac_func in crypt 11577 for ac_func in crypt
11584 do 11578 do
11585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11586 echo "configure:11587: checking for $ac_func" >&5 11580 echo "configure:11581: checking for $ac_func" >&5
11587 11581
11588 cat > conftest.$ac_ext <<EOF 11582 cat > conftest.$ac_ext <<EOF
11589 #line 11590 "configure" 11583 #line 11584 "configure"
11590 #include "confdefs.h" 11584 #include "confdefs.h"
11591 /* System header to define __stub macros and hopefully few prototypes, 11585 /* System header to define __stub macros and hopefully few prototypes,
11592 which can conflict with char $ac_func(); below. */ 11586 which can conflict with char $ac_func(); below. */
11593 #include <assert.h> 11587 #include <assert.h>
11594 /* Override any gcc2 internal prototype to avoid an error. */ 11588 /* Override any gcc2 internal prototype to avoid an error. */
11607 $ac_func(); 11601 $ac_func();
11608 #endif 11602 #endif
11609 11603
11610 ; return 0; } 11604 ; return 0; }
11611 EOF 11605 EOF
11612 if { (eval echo configure:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11613 rm -rf conftest* 11607 rm -rf conftest*
11614 eval "ac_cv_func_$ac_func=yes" 11608 eval "ac_cv_func_$ac_func=yes"
11615 else 11609 else
11616 echo "configure: failed program was:" >&5 11610 echo "configure: failed program was:" >&5
11617 cat conftest.$ac_ext >&5 11611 cat conftest.$ac_ext >&5
11636 fi 11630 fi
11637 done 11631 done
11638 11632
11639 test "$ac_cv_func_crypt" != "yes" && { 11633 test "$ac_cv_func_crypt" != "yes" && {
11640 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11634 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11641 echo "configure:11642: checking for crypt in -lcrypt" >&5 11635 echo "configure:11636: checking for crypt in -lcrypt" >&5
11642 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11636 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11643 11637
11644 xe_check_libs=" -lcrypt " 11638 xe_check_libs=" -lcrypt "
11645 cat > conftest.$ac_ext <<EOF 11639 cat > conftest.$ac_ext <<EOF
11646 #line 11647 "configure" 11640 #line 11641 "configure"
11647 #include "confdefs.h" 11641 #include "confdefs.h"
11648 /* Override any gcc2 internal prototype to avoid an error. */ 11642 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2 11643 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */ 11644 builtin and then its argument prototype would still apply. */
11651 char crypt(); 11645 char crypt();
11652 11646
11653 int main() { 11647 int main() {
11654 crypt() 11648 crypt()
11655 ; return 0; } 11649 ; return 0; }
11656 EOF 11650 EOF
11657 if { (eval echo configure:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11651 if { (eval echo configure:11652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11658 rm -rf conftest* 11652 rm -rf conftest*
11659 eval "ac_cv_lib_$ac_lib_var=yes" 11653 eval "ac_cv_lib_$ac_lib_var=yes"
11660 else 11654 else
11661 echo "configure: failed program was:" >&5 11655 echo "configure: failed program was:" >&5
11662 cat conftest.$ac_ext >&5 11656 cat conftest.$ac_ext >&5
11687 } 11681 }
11688 fi 11682 fi
11689 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11683 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11690 11684
11691 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11685 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11692 echo "configure:11693: checking for jl_dic_list_e in -lwnn" >&5 11686 echo "configure:11687: checking for jl_dic_list_e in -lwnn" >&5
11693 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11687 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11694 11688
11695 xe_check_libs=" -lwnn " 11689 xe_check_libs=" -lwnn "
11696 cat > conftest.$ac_ext <<EOF 11690 cat > conftest.$ac_ext <<EOF
11697 #line 11698 "configure" 11691 #line 11692 "configure"
11698 #include "confdefs.h" 11692 #include "confdefs.h"
11699 /* Override any gcc2 internal prototype to avoid an error. */ 11693 /* Override any gcc2 internal prototype to avoid an error. */
11700 /* We use char because int might match the return type of a gcc2 11694 /* We use char because int might match the return type of a gcc2
11701 builtin and then its argument prototype would still apply. */ 11695 builtin and then its argument prototype would still apply. */
11702 char jl_dic_list_e(); 11696 char jl_dic_list_e();
11703 11697
11704 int main() { 11698 int main() {
11705 jl_dic_list_e() 11699 jl_dic_list_e()
11706 ; return 0; } 11700 ; return 0; }
11707 EOF 11701 EOF
11708 if { (eval echo configure:11709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11702 if { (eval echo configure:11703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11709 rm -rf conftest* 11703 rm -rf conftest*
11710 eval "ac_cv_lib_$ac_lib_var=yes" 11704 eval "ac_cv_lib_$ac_lib_var=yes"
11711 else 11705 else
11712 echo "configure: failed program was:" >&5 11706 echo "configure: failed program was:" >&5
11713 cat conftest.$ac_ext >&5 11707 cat conftest.$ac_ext >&5
11721 echo "$ac_t""yes" 1>&6 11715 echo "$ac_t""yes" 1>&6
11722 libwnn=wnn 11716 libwnn=wnn
11723 else 11717 else
11724 echo "$ac_t""no" 1>&6 11718 echo "$ac_t""no" 1>&6
11725 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11719 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11726 echo "configure:11727: checking for jl_dic_list_e in -lwnn4" >&5 11720 echo "configure:11721: checking for jl_dic_list_e in -lwnn4" >&5
11727 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11721 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11728 11722
11729 xe_check_libs=" -lwnn4 " 11723 xe_check_libs=" -lwnn4 "
11730 cat > conftest.$ac_ext <<EOF 11724 cat > conftest.$ac_ext <<EOF
11731 #line 11732 "configure" 11725 #line 11726 "configure"
11732 #include "confdefs.h" 11726 #include "confdefs.h"
11733 /* Override any gcc2 internal prototype to avoid an error. */ 11727 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2 11728 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */ 11729 builtin and then its argument prototype would still apply. */
11736 char jl_dic_list_e(); 11730 char jl_dic_list_e();
11737 11731
11738 int main() { 11732 int main() {
11739 jl_dic_list_e() 11733 jl_dic_list_e()
11740 ; return 0; } 11734 ; return 0; }
11741 EOF 11735 EOF
11742 if { (eval echo configure:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11736 if { (eval echo configure:11737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11743 rm -rf conftest* 11737 rm -rf conftest*
11744 eval "ac_cv_lib_$ac_lib_var=yes" 11738 eval "ac_cv_lib_$ac_lib_var=yes"
11745 else 11739 else
11746 echo "configure: failed program was:" >&5 11740 echo "configure: failed program was:" >&5
11747 cat conftest.$ac_ext >&5 11741 cat conftest.$ac_ext >&5
11755 echo "$ac_t""yes" 1>&6 11749 echo "$ac_t""yes" 1>&6
11756 libwnn=wnn4 11750 libwnn=wnn4
11757 else 11751 else
11758 echo "$ac_t""no" 1>&6 11752 echo "$ac_t""no" 1>&6
11759 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11753 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11760 echo "configure:11761: checking for jl_dic_list_e in -lwnn6" >&5 11754 echo "configure:11755: checking for jl_dic_list_e in -lwnn6" >&5
11761 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11755 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11762 11756
11763 xe_check_libs=" -lwnn6 " 11757 xe_check_libs=" -lwnn6 "
11764 cat > conftest.$ac_ext <<EOF 11758 cat > conftest.$ac_ext <<EOF
11765 #line 11766 "configure" 11759 #line 11760 "configure"
11766 #include "confdefs.h" 11760 #include "confdefs.h"
11767 /* Override any gcc2 internal prototype to avoid an error. */ 11761 /* Override any gcc2 internal prototype to avoid an error. */
11768 /* We use char because int might match the return type of a gcc2 11762 /* We use char because int might match the return type of a gcc2
11769 builtin and then its argument prototype would still apply. */ 11763 builtin and then its argument prototype would still apply. */
11770 char jl_dic_list_e(); 11764 char jl_dic_list_e();
11771 11765
11772 int main() { 11766 int main() {
11773 jl_dic_list_e() 11767 jl_dic_list_e()
11774 ; return 0; } 11768 ; return 0; }
11775 EOF 11769 EOF
11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11770 if { (eval echo configure:11771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11777 rm -rf conftest* 11771 rm -rf conftest*
11778 eval "ac_cv_lib_$ac_lib_var=yes" 11772 eval "ac_cv_lib_$ac_lib_var=yes"
11779 else 11773 else
11780 echo "configure: failed program was:" >&5 11774 echo "configure: failed program was:" >&5
11781 cat conftest.$ac_ext >&5 11775 cat conftest.$ac_ext >&5
11789 echo "$ac_t""yes" 1>&6 11783 echo "$ac_t""yes" 1>&6
11790 libwnn=wnn6 11784 libwnn=wnn6
11791 else 11785 else
11792 echo "$ac_t""no" 1>&6 11786 echo "$ac_t""no" 1>&6
11793 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11787 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11794 echo "configure:11795: checking for dic_list_e in -lwnn6_fromsrc" >&5 11788 echo "configure:11789: checking for dic_list_e in -lwnn6_fromsrc" >&5
11795 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11789 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11796 11790
11797 xe_check_libs=" -lwnn6_fromsrc " 11791 xe_check_libs=" -lwnn6_fromsrc "
11798 cat > conftest.$ac_ext <<EOF 11792 cat > conftest.$ac_ext <<EOF
11799 #line 11800 "configure" 11793 #line 11794 "configure"
11800 #include "confdefs.h" 11794 #include "confdefs.h"
11801 /* Override any gcc2 internal prototype to avoid an error. */ 11795 /* Override any gcc2 internal prototype to avoid an error. */
11802 /* We use char because int might match the return type of a gcc2 11796 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */ 11797 builtin and then its argument prototype would still apply. */
11804 char dic_list_e(); 11798 char dic_list_e();
11805 11799
11806 int main() { 11800 int main() {
11807 dic_list_e() 11801 dic_list_e()
11808 ; return 0; } 11802 ; return 0; }
11809 EOF 11803 EOF
11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11804 if { (eval echo configure:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11811 rm -rf conftest* 11805 rm -rf conftest*
11812 eval "ac_cv_lib_$ac_lib_var=yes" 11806 eval "ac_cv_lib_$ac_lib_var=yes"
11813 else 11807 else
11814 echo "configure: failed program was:" >&5 11808 echo "configure: failed program was:" >&5
11815 cat conftest.$ac_ext >&5 11809 cat conftest.$ac_ext >&5
11850 11844
11851 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11845 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11852 if test "$with_wnn6" != "no"; then 11846 if test "$with_wnn6" != "no"; then
11853 11847
11854 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11848 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11855 echo "configure:11856: checking for jl_fi_dic_list in -l$libwnn" >&5 11849 echo "configure:11850: checking for jl_fi_dic_list in -l$libwnn" >&5
11856 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11850 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11857 11851
11858 xe_check_libs=" -l$libwnn " 11852 xe_check_libs=" -l$libwnn "
11859 cat > conftest.$ac_ext <<EOF 11853 cat > conftest.$ac_ext <<EOF
11860 #line 11861 "configure" 11854 #line 11855 "configure"
11861 #include "confdefs.h" 11855 #include "confdefs.h"
11862 /* Override any gcc2 internal prototype to avoid an error. */ 11856 /* Override any gcc2 internal prototype to avoid an error. */
11863 /* We use char because int might match the return type of a gcc2 11857 /* We use char because int might match the return type of a gcc2
11864 builtin and then its argument prototype would still apply. */ 11858 builtin and then its argument prototype would still apply. */
11865 char jl_fi_dic_list(); 11859 char jl_fi_dic_list();
11866 11860
11867 int main() { 11861 int main() {
11868 jl_fi_dic_list() 11862 jl_fi_dic_list()
11869 ; return 0; } 11863 ; return 0; }
11870 EOF 11864 EOF
11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11865 if { (eval echo configure:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11872 rm -rf conftest* 11866 rm -rf conftest*
11873 eval "ac_cv_lib_$ac_lib_var=yes" 11867 eval "ac_cv_lib_$ac_lib_var=yes"
11874 else 11868 else
11875 echo "configure: failed program was:" >&5 11869 echo "configure: failed program was:" >&5
11876 cat conftest.$ac_ext >&5 11870 cat conftest.$ac_ext >&5
11901 11895
11902 canna_includes_found=no 11896 canna_includes_found=no
11903 if test "$with_canna" != "no"; then 11897 if test "$with_canna" != "no"; then
11904 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11898 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11905 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11899 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11906 echo "configure:11907: checking for canna/jrkanji.h" >&5 11900 echo "configure:11901: checking for canna/jrkanji.h" >&5
11907 11901
11908 cat > conftest.$ac_ext <<EOF 11902 cat > conftest.$ac_ext <<EOF
11909 #line 11910 "configure" 11903 #line 11904 "configure"
11910 #include "confdefs.h" 11904 #include "confdefs.h"
11911 #include <canna/jrkanji.h> 11905 #include <canna/jrkanji.h>
11912 EOF 11906 EOF
11913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11914 { (eval echo configure:11915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11908 { (eval echo configure:11909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11916 if test -z "$ac_err"; then 11910 if test -z "$ac_err"; then
11917 rm -rf conftest* 11911 rm -rf conftest*
11918 eval "ac_cv_header_$ac_safe=yes" 11912 eval "ac_cv_header_$ac_safe=yes"
11919 else 11913 else
11936 -d "/usr/local/canna/include"; then 11930 -d "/usr/local/canna/include"; then
11937 save_c_switch_site="$c_switch_site" 11931 save_c_switch_site="$c_switch_site"
11938 c_switch_site="$c_switch_site -I/usr/local/canna/include" 11932 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11939 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 11933 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11940 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 11934 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11941 echo "configure:11942: checking for canna/jrkanji.h" >&5 11935 echo "configure:11936: checking for canna/jrkanji.h" >&5
11942 11936
11943 cat > conftest.$ac_ext <<EOF 11937 cat > conftest.$ac_ext <<EOF
11944 #line 11945 "configure" 11938 #line 11939 "configure"
11945 #include "confdefs.h" 11939 #include "confdefs.h"
11946 #include <canna/jrkanji.h> 11940 #include <canna/jrkanji.h>
11947 EOF 11941 EOF
11948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11949 { (eval echo configure:11950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11943 { (eval echo configure:11944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11951 if test -z "$ac_err"; then 11945 if test -z "$ac_err"; then
11952 rm -rf conftest* 11946 rm -rf conftest*
11953 eval "ac_cv_header_$ac_safe=yes" 11947 eval "ac_cv_header_$ac_safe=yes"
11954 else 11948 else
11972 fi 11966 fi
11973 fi 11967 fi
11974 11968
11975 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 11969 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
11976 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 11970 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
11977 echo "configure:11978: checking for canna/RK.h" >&5 11971 echo "configure:11972: checking for canna/RK.h" >&5
11978 11972
11979 cat > conftest.$ac_ext <<EOF 11973 cat > conftest.$ac_ext <<EOF
11980 #line 11981 "configure" 11974 #line 11975 "configure"
11981 #include "confdefs.h" 11975 #include "confdefs.h"
11982 #include <canna/RK.h> 11976 #include <canna/RK.h>
11983 EOF 11977 EOF
11984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11985 { (eval echo configure:11986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11979 { (eval echo configure:11980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11987 if test -z "$ac_err"; then 11981 if test -z "$ac_err"; then
11988 rm -rf conftest* 11982 rm -rf conftest*
11989 eval "ac_cv_header_$ac_safe=yes" 11983 eval "ac_cv_header_$ac_safe=yes"
11990 else 11984 else
12003 with_canna=no 11997 with_canna=no
12004 fi 11998 fi
12005 } 11999 }
12006 test -z "$with_canna" && { 12000 test -z "$with_canna" && {
12007 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12001 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12008 echo "configure:12009: checking for RkBgnBun in -lRKC" >&5 12002 echo "configure:12003: checking for RkBgnBun in -lRKC" >&5
12009 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12003 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12010 12004
12011 xe_check_libs=" -lRKC " 12005 xe_check_libs=" -lRKC "
12012 cat > conftest.$ac_ext <<EOF 12006 cat > conftest.$ac_ext <<EOF
12013 #line 12014 "configure" 12007 #line 12008 "configure"
12014 #include "confdefs.h" 12008 #include "confdefs.h"
12015 /* Override any gcc2 internal prototype to avoid an error. */ 12009 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2 12010 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */ 12011 builtin and then its argument prototype would still apply. */
12018 char RkBgnBun(); 12012 char RkBgnBun();
12019 12013
12020 int main() { 12014 int main() {
12021 RkBgnBun() 12015 RkBgnBun()
12022 ; return 0; } 12016 ; return 0; }
12023 EOF 12017 EOF
12024 if { (eval echo configure:12025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12018 if { (eval echo configure:12019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12025 rm -rf conftest* 12019 rm -rf conftest*
12026 eval "ac_cv_lib_$ac_lib_var=yes" 12020 eval "ac_cv_lib_$ac_lib_var=yes"
12027 else 12021 else
12028 echo "configure: failed program was:" >&5 12022 echo "configure: failed program was:" >&5
12029 cat conftest.$ac_ext >&5 12023 cat conftest.$ac_ext >&5
12042 fi 12036 fi
12043 12037
12044 } 12038 }
12045 test -z "$with_canna" && { 12039 test -z "$with_canna" && {
12046 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12040 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12047 echo "configure:12048: checking for jrKanjiControl in -lcanna" >&5 12041 echo "configure:12042: checking for jrKanjiControl in -lcanna" >&5
12048 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12042 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12049 12043
12050 xe_check_libs=" -lcanna " 12044 xe_check_libs=" -lcanna "
12051 cat > conftest.$ac_ext <<EOF 12045 cat > conftest.$ac_ext <<EOF
12052 #line 12053 "configure" 12046 #line 12047 "configure"
12053 #include "confdefs.h" 12047 #include "confdefs.h"
12054 /* Override any gcc2 internal prototype to avoid an error. */ 12048 /* Override any gcc2 internal prototype to avoid an error. */
12055 /* We use char because int might match the return type of a gcc2 12049 /* We use char because int might match the return type of a gcc2
12056 builtin and then its argument prototype would still apply. */ 12050 builtin and then its argument prototype would still apply. */
12057 char jrKanjiControl(); 12051 char jrKanjiControl();
12058 12052
12059 int main() { 12053 int main() {
12060 jrKanjiControl() 12054 jrKanjiControl()
12061 ; return 0; } 12055 ; return 0; }
12062 EOF 12056 EOF
12063 if { (eval echo configure:12064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12057 if { (eval echo configure:12058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12064 rm -rf conftest* 12058 rm -rf conftest*
12065 eval "ac_cv_lib_$ac_lib_var=yes" 12059 eval "ac_cv_lib_$ac_lib_var=yes"
12066 else 12060 else
12067 echo "configure: failed program was:" >&5 12061 echo "configure: failed program was:" >&5
12068 cat conftest.$ac_ext >&5 12062 cat conftest.$ac_ext >&5
12104 12098
12105 if test "$need_motif" = "yes" ; then 12099 if test "$need_motif" = "yes" ; then
12106 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12100 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12107 12101
12108 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12102 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12109 echo "configure:12110: checking for layout_object_getvalue in -li18n" >&5 12103 echo "configure:12104: checking for layout_object_getvalue in -li18n" >&5
12110 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12104 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12111 12105
12112 xe_check_libs=" -li18n " 12106 xe_check_libs=" -li18n "
12113 cat > conftest.$ac_ext <<EOF 12107 cat > conftest.$ac_ext <<EOF
12114 #line 12115 "configure" 12108 #line 12109 "configure"
12115 #include "confdefs.h" 12109 #include "confdefs.h"
12116 /* Override any gcc2 internal prototype to avoid an error. */ 12110 /* Override any gcc2 internal prototype to avoid an error. */
12117 /* We use char because int might match the return type of a gcc2 12111 /* We use char because int might match the return type of a gcc2
12118 builtin and then its argument prototype would still apply. */ 12112 builtin and then its argument prototype would still apply. */
12119 char layout_object_getvalue(); 12113 char layout_object_getvalue();
12120 12114
12121 int main() { 12115 int main() {
12122 layout_object_getvalue() 12116 layout_object_getvalue()
12123 ; return 0; } 12117 ; return 0; }
12124 EOF 12118 EOF
12125 if { (eval echo configure:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12126 rm -rf conftest* 12120 rm -rf conftest*
12127 eval "ac_cv_lib_$ac_lib_var=yes" 12121 eval "ac_cv_lib_$ac_lib_var=yes"
12128 else 12122 else
12129 echo "configure: failed program was:" >&5 12123 echo "configure: failed program was:" >&5
12130 cat conftest.$ac_ext >&5 12124 cat conftest.$ac_ext >&5
12204 fi 12198 fi
12205 12199
12206 fi 12200 fi
12207 12201
12208 12202
12209 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp 12203 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp vlimit
12210 do 12204 do
12211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12212 echo "configure:12213: checking for $ac_func" >&5 12206 echo "configure:12207: checking for $ac_func" >&5
12213 12207
12214 cat > conftest.$ac_ext <<EOF 12208 cat > conftest.$ac_ext <<EOF
12215 #line 12216 "configure" 12209 #line 12210 "configure"
12216 #include "confdefs.h" 12210 #include "confdefs.h"
12217 /* System header to define __stub macros and hopefully few prototypes, 12211 /* System header to define __stub macros and hopefully few prototypes,
12218 which can conflict with char $ac_func(); below. */ 12212 which can conflict with char $ac_func(); below. */
12219 #include <assert.h> 12213 #include <assert.h>
12220 /* Override any gcc2 internal prototype to avoid an error. */ 12214 /* Override any gcc2 internal prototype to avoid an error. */
12233 $ac_func(); 12227 $ac_func();
12234 #endif 12228 #endif
12235 12229
12236 ; return 0; } 12230 ; return 0; }
12237 EOF 12231 EOF
12238 if { (eval echo configure:12239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12232 if { (eval echo configure:12233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12239 rm -rf conftest* 12233 rm -rf conftest*
12240 eval "ac_cv_func_$ac_func=yes" 12234 eval "ac_cv_func_$ac_func=yes"
12241 else 12235 else
12242 echo "configure: failed program was:" >&5 12236 echo "configure: failed program was:" >&5
12243 cat conftest.$ac_ext >&5 12237 cat conftest.$ac_ext >&5
12274 12268
12275 12269
12276 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12270 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12277 do 12271 do
12278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12279 echo "configure:12280: checking for $ac_func" >&5 12273 echo "configure:12274: checking for $ac_func" >&5
12280 12274
12281 cat > conftest.$ac_ext <<EOF 12275 cat > conftest.$ac_ext <<EOF
12282 #line 12283 "configure" 12276 #line 12277 "configure"
12283 #include "confdefs.h" 12277 #include "confdefs.h"
12284 /* System header to define __stub macros and hopefully few prototypes, 12278 /* System header to define __stub macros and hopefully few prototypes,
12285 which can conflict with char $ac_func(); below. */ 12279 which can conflict with char $ac_func(); below. */
12286 #include <assert.h> 12280 #include <assert.h>
12287 /* Override any gcc2 internal prototype to avoid an error. */ 12281 /* Override any gcc2 internal prototype to avoid an error. */
12300 $ac_func(); 12294 $ac_func();
12301 #endif 12295 #endif
12302 12296
12303 ; return 0; } 12297 ; return 0; }
12304 EOF 12298 EOF
12305 if { (eval echo configure:12306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12299 if { (eval echo configure:12300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12306 rm -rf conftest* 12300 rm -rf conftest*
12307 eval "ac_cv_func_$ac_func=yes" 12301 eval "ac_cv_func_$ac_func=yes"
12308 else 12302 else
12309 echo "configure: failed program was:" >&5 12303 echo "configure: failed program was:" >&5
12310 cat conftest.$ac_ext >&5 12304 cat conftest.$ac_ext >&5
12329 fi 12323 fi
12330 done 12324 done
12331 12325
12332 12326
12333 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12327 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12334 echo "configure:12335: checking for openpty" >&5 12328 echo "configure:12329: checking for openpty" >&5
12335 12329
12336 cat > conftest.$ac_ext <<EOF 12330 cat > conftest.$ac_ext <<EOF
12337 #line 12338 "configure" 12331 #line 12332 "configure"
12338 #include "confdefs.h" 12332 #include "confdefs.h"
12339 /* System header to define __stub macros and hopefully few prototypes, 12333 /* System header to define __stub macros and hopefully few prototypes,
12340 which can conflict with char openpty(); below. */ 12334 which can conflict with char openpty(); below. */
12341 #include <assert.h> 12335 #include <assert.h>
12342 /* Override any gcc2 internal prototype to avoid an error. */ 12336 /* Override any gcc2 internal prototype to avoid an error. */
12355 openpty(); 12349 openpty();
12356 #endif 12350 #endif
12357 12351
12358 ; return 0; } 12352 ; return 0; }
12359 EOF 12353 EOF
12360 if { (eval echo configure:12361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12354 if { (eval echo configure:12355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12361 rm -rf conftest* 12355 rm -rf conftest*
12362 eval "ac_cv_func_openpty=yes" 12356 eval "ac_cv_func_openpty=yes"
12363 else 12357 else
12364 echo "configure: failed program was:" >&5 12358 echo "configure: failed program was:" >&5
12365 cat conftest.$ac_ext >&5 12359 cat conftest.$ac_ext >&5
12374 else 12368 else
12375 echo "$ac_t""no" 1>&6 12369 echo "$ac_t""no" 1>&6
12376 12370
12377 12371
12378 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12372 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12379 echo "configure:12380: checking for openpty in -lutil" >&5 12373 echo "configure:12374: checking for openpty in -lutil" >&5
12380 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12374 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12381 12375
12382 xe_check_libs=" -lutil " 12376 xe_check_libs=" -lutil "
12383 cat > conftest.$ac_ext <<EOF 12377 cat > conftest.$ac_ext <<EOF
12384 #line 12385 "configure" 12378 #line 12379 "configure"
12385 #include "confdefs.h" 12379 #include "confdefs.h"
12386 /* Override any gcc2 internal prototype to avoid an error. */ 12380 /* Override any gcc2 internal prototype to avoid an error. */
12387 /* We use char because int might match the return type of a gcc2 12381 /* We use char because int might match the return type of a gcc2
12388 builtin and then its argument prototype would still apply. */ 12382 builtin and then its argument prototype would still apply. */
12389 char openpty(); 12383 char openpty();
12390 12384
12391 int main() { 12385 int main() {
12392 openpty() 12386 openpty()
12393 ; return 0; } 12387 ; return 0; }
12394 EOF 12388 EOF
12395 if { (eval echo configure:12396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12389 if { (eval echo configure:12390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12396 rm -rf conftest* 12390 rm -rf conftest*
12397 eval "ac_cv_lib_$ac_lib_var=yes" 12391 eval "ac_cv_lib_$ac_lib_var=yes"
12398 else 12392 else
12399 echo "configure: failed program was:" >&5 12393 echo "configure: failed program was:" >&5
12400 cat conftest.$ac_ext >&5 12394 cat conftest.$ac_ext >&5
12425 12419
12426 for ac_hdr in libutil.h util.h 12420 for ac_hdr in libutil.h util.h
12427 do 12421 do
12428 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12422 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12429 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12430 echo "configure:12431: checking for $ac_hdr" >&5 12424 echo "configure:12425: checking for $ac_hdr" >&5
12431 12425
12432 cat > conftest.$ac_ext <<EOF 12426 cat > conftest.$ac_ext <<EOF
12433 #line 12434 "configure" 12427 #line 12428 "configure"
12434 #include "confdefs.h" 12428 #include "confdefs.h"
12435 #include <$ac_hdr> 12429 #include <$ac_hdr>
12436 EOF 12430 EOF
12437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12438 { (eval echo configure:12439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12432 { (eval echo configure:12433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12440 if test -z "$ac_err"; then 12434 if test -z "$ac_err"; then
12441 rm -rf conftest* 12435 rm -rf conftest*
12442 eval "ac_cv_header_$ac_safe=yes" 12436 eval "ac_cv_header_$ac_safe=yes"
12443 else 12437 else
12470 case "$opsys" in 12464 case "$opsys" in
12471 hpux*) for ac_hdr in sys/ptyio.h 12465 hpux*) for ac_hdr in sys/ptyio.h
12472 do 12466 do
12473 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12467 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12474 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12468 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12475 echo "configure:12476: checking for $ac_hdr" >&5 12469 echo "configure:12470: checking for $ac_hdr" >&5
12476 12470
12477 cat > conftest.$ac_ext <<EOF 12471 cat > conftest.$ac_ext <<EOF
12478 #line 12479 "configure" 12472 #line 12473 "configure"
12479 #include "confdefs.h" 12473 #include "confdefs.h"
12480 #include <$ac_hdr> 12474 #include <$ac_hdr>
12481 EOF 12475 EOF
12482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12483 { (eval echo configure:12484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12477 { (eval echo configure:12478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12485 if test -z "$ac_err"; then 12479 if test -z "$ac_err"; then
12486 rm -rf conftest* 12480 rm -rf conftest*
12487 eval "ac_cv_header_$ac_safe=yes" 12481 eval "ac_cv_header_$ac_safe=yes"
12488 else 12482 else
12511 ;; 12505 ;;
12512 *) for ac_hdr in pty.h 12506 *) for ac_hdr in pty.h
12513 do 12507 do
12514 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12508 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12515 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12509 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12516 echo "configure:12517: checking for $ac_hdr" >&5 12510 echo "configure:12511: checking for $ac_hdr" >&5
12517 12511
12518 cat > conftest.$ac_ext <<EOF 12512 cat > conftest.$ac_ext <<EOF
12519 #line 12520 "configure" 12513 #line 12514 "configure"
12520 #include "confdefs.h" 12514 #include "confdefs.h"
12521 #include <$ac_hdr> 12515 #include <$ac_hdr>
12522 EOF 12516 EOF
12523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12524 { (eval echo configure:12525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12518 { (eval echo configure:12519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12526 if test -z "$ac_err"; then 12520 if test -z "$ac_err"; then
12527 rm -rf conftest* 12521 rm -rf conftest*
12528 eval "ac_cv_header_$ac_safe=yes" 12522 eval "ac_cv_header_$ac_safe=yes"
12529 else 12523 else
12552 12546
12553 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12547 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12554 do 12548 do
12555 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12557 echo "configure:12558: checking for $ac_hdr" >&5 12551 echo "configure:12552: checking for $ac_hdr" >&5
12558 12552
12559 cat > conftest.$ac_ext <<EOF 12553 cat > conftest.$ac_ext <<EOF
12560 #line 12561 "configure" 12554 #line 12555 "configure"
12561 #include "confdefs.h" 12555 #include "confdefs.h"
12562 #include <$ac_hdr> 12556 #include <$ac_hdr>
12563 EOF 12557 EOF
12564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12565 { (eval echo configure:12566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12559 { (eval echo configure:12560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12567 if test -z "$ac_err"; then 12561 if test -z "$ac_err"; then
12568 rm -rf conftest* 12562 rm -rf conftest*
12569 eval "ac_cv_header_$ac_safe=yes" 12563 eval "ac_cv_header_$ac_safe=yes"
12570 else 12564 else
12596 12590
12597 for ac_hdr in stropts.h 12591 for ac_hdr in stropts.h
12598 do 12592 do
12599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12601 echo "configure:12602: checking for $ac_hdr" >&5 12595 echo "configure:12596: checking for $ac_hdr" >&5
12602 12596
12603 cat > conftest.$ac_ext <<EOF 12597 cat > conftest.$ac_ext <<EOF
12604 #line 12605 "configure" 12598 #line 12599 "configure"
12605 #include "confdefs.h" 12599 #include "confdefs.h"
12606 #include <$ac_hdr> 12600 #include <$ac_hdr>
12607 EOF 12601 EOF
12608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12609 { (eval echo configure:12610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12603 { (eval echo configure:12604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12611 if test -z "$ac_err"; then 12605 if test -z "$ac_err"; then
12612 rm -rf conftest* 12606 rm -rf conftest*
12613 eval "ac_cv_header_$ac_safe=yes" 12607 eval "ac_cv_header_$ac_safe=yes"
12614 else 12608 else
12637 12631
12638 if test "$ac_cv_header_stropts_h" = "yes"; then 12632 if test "$ac_cv_header_stropts_h" = "yes"; then
12639 for ac_func in isastream 12633 for ac_func in isastream
12640 do 12634 do
12641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12642 echo "configure:12643: checking for $ac_func" >&5 12636 echo "configure:12637: checking for $ac_func" >&5
12643 12637
12644 cat > conftest.$ac_ext <<EOF 12638 cat > conftest.$ac_ext <<EOF
12645 #line 12646 "configure" 12639 #line 12640 "configure"
12646 #include "confdefs.h" 12640 #include "confdefs.h"
12647 /* System header to define __stub macros and hopefully few prototypes, 12641 /* System header to define __stub macros and hopefully few prototypes,
12648 which can conflict with char $ac_func(); below. */ 12642 which can conflict with char $ac_func(); below. */
12649 #include <assert.h> 12643 #include <assert.h>
12650 /* Override any gcc2 internal prototype to avoid an error. */ 12644 /* Override any gcc2 internal prototype to avoid an error. */
12663 $ac_func(); 12657 $ac_func();
12664 #endif 12658 #endif
12665 12659
12666 ; return 0; } 12660 ; return 0; }
12667 EOF 12661 EOF
12668 if { (eval echo configure:12669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12662 if { (eval echo configure:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12669 rm -rf conftest* 12663 rm -rf conftest*
12670 eval "ac_cv_func_$ac_func=yes" 12664 eval "ac_cv_func_$ac_func=yes"
12671 else 12665 else
12672 echo "configure: failed program was:" >&5 12666 echo "configure: failed program was:" >&5
12673 cat conftest.$ac_ext >&5 12667 cat conftest.$ac_ext >&5
12694 12688
12695 for ac_hdr in strtio.h 12689 for ac_hdr in strtio.h
12696 do 12690 do
12697 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12698 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12699 echo "configure:12700: checking for $ac_hdr" >&5 12693 echo "configure:12694: checking for $ac_hdr" >&5
12700 12694
12701 cat > conftest.$ac_ext <<EOF 12695 cat > conftest.$ac_ext <<EOF
12702 #line 12703 "configure" 12696 #line 12697 "configure"
12703 #include "confdefs.h" 12697 #include "confdefs.h"
12704 #include <$ac_hdr> 12698 #include <$ac_hdr>
12705 EOF 12699 EOF
12706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12707 { (eval echo configure:12708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12701 { (eval echo configure:12702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12709 if test -z "$ac_err"; then 12703 if test -z "$ac_err"; then
12710 rm -rf conftest* 12704 rm -rf conftest*
12711 eval "ac_cv_header_$ac_safe=yes" 12705 eval "ac_cv_header_$ac_safe=yes"
12712 else 12706 else
12735 fi 12729 fi
12736 12730
12737 for ac_func in getloadavg 12731 for ac_func in getloadavg
12738 do 12732 do
12739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12740 echo "configure:12741: checking for $ac_func" >&5 12734 echo "configure:12735: checking for $ac_func" >&5
12741 12735
12742 cat > conftest.$ac_ext <<EOF 12736 cat > conftest.$ac_ext <<EOF
12743 #line 12744 "configure" 12737 #line 12738 "configure"
12744 #include "confdefs.h" 12738 #include "confdefs.h"
12745 /* System header to define __stub macros and hopefully few prototypes, 12739 /* System header to define __stub macros and hopefully few prototypes,
12746 which can conflict with char $ac_func(); below. */ 12740 which can conflict with char $ac_func(); below. */
12747 #include <assert.h> 12741 #include <assert.h>
12748 /* Override any gcc2 internal prototype to avoid an error. */ 12742 /* Override any gcc2 internal prototype to avoid an error. */
12761 $ac_func(); 12755 $ac_func();
12762 #endif 12756 #endif
12763 12757
12764 ; return 0; } 12758 ; return 0; }
12765 EOF 12759 EOF
12766 if { (eval echo configure:12767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12767 rm -rf conftest* 12761 rm -rf conftest*
12768 eval "ac_cv_func_$ac_func=yes" 12762 eval "ac_cv_func_$ac_func=yes"
12769 else 12763 else
12770 echo "configure: failed program was:" >&5 12764 echo "configure: failed program was:" >&5
12771 cat conftest.$ac_ext >&5 12765 cat conftest.$ac_ext >&5
12794 if test "$ac_cv_func_getloadavg" = "yes"; then 12788 if test "$ac_cv_func_getloadavg" = "yes"; then
12795 for ac_hdr in sys/loadavg.h 12789 for ac_hdr in sys/loadavg.h
12796 do 12790 do
12797 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12791 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12798 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12792 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12799 echo "configure:12800: checking for $ac_hdr" >&5 12793 echo "configure:12794: checking for $ac_hdr" >&5
12800 12794
12801 cat > conftest.$ac_ext <<EOF 12795 cat > conftest.$ac_ext <<EOF
12802 #line 12803 "configure" 12796 #line 12797 "configure"
12803 #include "confdefs.h" 12797 #include "confdefs.h"
12804 #include <$ac_hdr> 12798 #include <$ac_hdr>
12805 EOF 12799 EOF
12806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12807 { (eval echo configure:12808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12801 { (eval echo configure:12802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12809 if test -z "$ac_err"; then 12803 if test -z "$ac_err"; then
12810 rm -rf conftest* 12804 rm -rf conftest*
12811 eval "ac_cv_header_$ac_safe=yes" 12805 eval "ac_cv_header_$ac_safe=yes"
12812 else 12806 else
12838 echo " xemacs will be linked with \"getloadavg.o\"" 12832 echo " xemacs will be linked with \"getloadavg.o\""
12839 fi 12833 fi
12840 12834
12841 12835
12842 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12836 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12843 echo "configure:12844: checking for kstat_open in -lkstat" >&5 12837 echo "configure:12838: checking for kstat_open in -lkstat" >&5
12844 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12838 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12845 12839
12846 xe_check_libs=" -lkstat " 12840 xe_check_libs=" -lkstat "
12847 cat > conftest.$ac_ext <<EOF 12841 cat > conftest.$ac_ext <<EOF
12848 #line 12849 "configure" 12842 #line 12843 "configure"
12849 #include "confdefs.h" 12843 #include "confdefs.h"
12850 /* Override any gcc2 internal prototype to avoid an error. */ 12844 /* Override any gcc2 internal prototype to avoid an error. */
12851 /* We use char because int might match the return type of a gcc2 12845 /* We use char because int might match the return type of a gcc2
12852 builtin and then its argument prototype would still apply. */ 12846 builtin and then its argument prototype would still apply. */
12853 char kstat_open(); 12847 char kstat_open();
12854 12848
12855 int main() { 12849 int main() {
12856 kstat_open() 12850 kstat_open()
12857 ; return 0; } 12851 ; return 0; }
12858 EOF 12852 EOF
12859 if { (eval echo configure:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12853 if { (eval echo configure:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12860 rm -rf conftest* 12854 rm -rf conftest*
12861 eval "ac_cv_lib_$ac_lib_var=yes" 12855 eval "ac_cv_lib_$ac_lib_var=yes"
12862 else 12856 else
12863 echo "configure: failed program was:" >&5 12857 echo "configure: failed program was:" >&5
12864 cat conftest.$ac_ext >&5 12858 cat conftest.$ac_ext >&5
12889 12883
12890 for ac_hdr in kstat.h 12884 for ac_hdr in kstat.h
12891 do 12885 do
12892 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12894 echo "configure:12895: checking for $ac_hdr" >&5 12888 echo "configure:12889: checking for $ac_hdr" >&5
12895 12889
12896 cat > conftest.$ac_ext <<EOF 12890 cat > conftest.$ac_ext <<EOF
12897 #line 12898 "configure" 12891 #line 12892 "configure"
12898 #include "confdefs.h" 12892 #include "confdefs.h"
12899 #include <$ac_hdr> 12893 #include <$ac_hdr>
12900 EOF 12894 EOF
12901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12902 { (eval echo configure:12903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12896 { (eval echo configure:12897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12904 if test -z "$ac_err"; then 12898 if test -z "$ac_err"; then
12905 rm -rf conftest* 12899 rm -rf conftest*
12906 eval "ac_cv_header_$ac_safe=yes" 12900 eval "ac_cv_header_$ac_safe=yes"
12907 else 12901 else
12929 done 12923 done
12930 12924
12931 12925
12932 12926
12933 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 12927 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12934 echo "configure:12935: checking for kvm_read in -lkvm" >&5 12928 echo "configure:12929: checking for kvm_read in -lkvm" >&5
12935 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 12929 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12936 12930
12937 xe_check_libs=" -lkvm " 12931 xe_check_libs=" -lkvm "
12938 cat > conftest.$ac_ext <<EOF 12932 cat > conftest.$ac_ext <<EOF
12939 #line 12940 "configure" 12933 #line 12934 "configure"
12940 #include "confdefs.h" 12934 #include "confdefs.h"
12941 /* Override any gcc2 internal prototype to avoid an error. */ 12935 /* Override any gcc2 internal prototype to avoid an error. */
12942 /* We use char because int might match the return type of a gcc2 12936 /* We use char because int might match the return type of a gcc2
12943 builtin and then its argument prototype would still apply. */ 12937 builtin and then its argument prototype would still apply. */
12944 char kvm_read(); 12938 char kvm_read();
12945 12939
12946 int main() { 12940 int main() {
12947 kvm_read() 12941 kvm_read()
12948 ; return 0; } 12942 ; return 0; }
12949 EOF 12943 EOF
12950 if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12944 if { (eval echo configure:12945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12951 rm -rf conftest* 12945 rm -rf conftest*
12952 eval "ac_cv_lib_$ac_lib_var=yes" 12946 eval "ac_cv_lib_$ac_lib_var=yes"
12953 else 12947 else
12954 echo "configure: failed program was:" >&5 12948 echo "configure: failed program was:" >&5
12955 cat conftest.$ac_ext >&5 12949 cat conftest.$ac_ext >&5
12979 12973
12980 12974
12981 fi 12975 fi
12982 12976
12983 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 12977 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
12984 echo "configure:12985: checking whether netdb declares h_errno" >&5 12978 echo "configure:12979: checking whether netdb declares h_errno" >&5
12985 cat > conftest.$ac_ext <<EOF 12979 cat > conftest.$ac_ext <<EOF
12986 #line 12987 "configure" 12980 #line 12981 "configure"
12987 #include "confdefs.h" 12981 #include "confdefs.h"
12988 #include <netdb.h> 12982 #include <netdb.h>
12989 int main() { 12983 int main() {
12990 return h_errno; 12984 return h_errno;
12991 ; return 0; } 12985 ; return 0; }
12992 EOF 12986 EOF
12993 if { (eval echo configure:12994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12987 if { (eval echo configure:12988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12994 rm -rf conftest* 12988 rm -rf conftest*
12995 echo "$ac_t""yes" 1>&6 12989 echo "$ac_t""yes" 1>&6
12996 { test "$extra_verbose" = "yes" && cat << \EOF 12990 { test "$extra_verbose" = "yes" && cat << \EOF
12997 Defining HAVE_H_ERRNO 12991 Defining HAVE_H_ERRNO
12998 EOF 12992 EOF
13008 echo "$ac_t""no" 1>&6 13002 echo "$ac_t""no" 1>&6
13009 fi 13003 fi
13010 rm -f conftest* 13004 rm -f conftest*
13011 13005
13012 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13006 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13013 echo "configure:13014: checking for sigsetjmp" >&5 13007 echo "configure:13008: checking for sigsetjmp" >&5
13014 cat > conftest.$ac_ext <<EOF 13008 cat > conftest.$ac_ext <<EOF
13015 #line 13016 "configure" 13009 #line 13010 "configure"
13016 #include "confdefs.h" 13010 #include "confdefs.h"
13017 #include <setjmp.h> 13011 #include <setjmp.h>
13018 int main() { 13012 int main() {
13019 sigjmp_buf bar; sigsetjmp (bar, 0); 13013 sigjmp_buf bar; sigsetjmp (bar, 0);
13020 ; return 0; } 13014 ; return 0; }
13021 EOF 13015 EOF
13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13016 if { (eval echo configure:13017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13023 rm -rf conftest* 13017 rm -rf conftest*
13024 echo "$ac_t""yes" 1>&6 13018 echo "$ac_t""yes" 1>&6
13025 { test "$extra_verbose" = "yes" && cat << \EOF 13019 { test "$extra_verbose" = "yes" && cat << \EOF
13026 Defining HAVE_SIGSETJMP 13020 Defining HAVE_SIGSETJMP
13027 EOF 13021 EOF
13037 echo "$ac_t""no" 1>&6 13031 echo "$ac_t""no" 1>&6
13038 fi 13032 fi
13039 rm -f conftest* 13033 rm -f conftest*
13040 13034
13041 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13035 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13042 echo "configure:13043: checking whether localtime caches TZ" >&5 13036 echo "configure:13037: checking whether localtime caches TZ" >&5
13043 13037
13044 if test "$ac_cv_func_tzset" = "yes"; then 13038 if test "$ac_cv_func_tzset" = "yes"; then
13045 cat > conftest.$ac_ext <<EOF 13039 cat > conftest.$ac_ext <<EOF
13046 #line 13047 "configure" 13040 #line 13041 "configure"
13047 #include "confdefs.h" 13041 #include "confdefs.h"
13048 #include <time.h> 13042 #include <time.h>
13049 #if STDC_HEADERS 13043 #if STDC_HEADERS
13050 # include <stdlib.h> 13044 # include <stdlib.h>
13051 #endif 13045 #endif
13076 if (localtime (&now)->tm_hour != hour_unset) 13070 if (localtime (&now)->tm_hour != hour_unset)
13077 exit (1); 13071 exit (1);
13078 exit (0); 13072 exit (0);
13079 } 13073 }
13080 EOF 13074 EOF
13081 if { (eval echo configure:13082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13075 if { (eval echo configure:13076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13082 then 13076 then
13083 emacs_cv_localtime_cache=no 13077 emacs_cv_localtime_cache=no
13084 else 13078 else
13085 conftest_rc="$?" 13079 conftest_rc="$?"
13086 echo "configure: failed program was:" >&5 13080 echo "configure: failed program was:" >&5
13106 13100
13107 fi 13101 fi
13108 13102
13109 if test "$HAVE_TIMEVAL" = "yes"; then 13103 if test "$HAVE_TIMEVAL" = "yes"; then
13110 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13104 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13111 echo "configure:13112: checking whether gettimeofday accepts one or two arguments" >&5 13105 echo "configure:13106: checking whether gettimeofday accepts one or two arguments" >&5
13112 cat > conftest.$ac_ext <<EOF 13106 cat > conftest.$ac_ext <<EOF
13113 #line 13114 "configure" 13107 #line 13108 "configure"
13114 #include "confdefs.h" 13108 #include "confdefs.h"
13115 13109
13116 #ifdef TIME_WITH_SYS_TIME 13110 #ifdef TIME_WITH_SYS_TIME
13117 #include <sys/time.h> 13111 #include <sys/time.h>
13118 #include <time.h> 13112 #include <time.h>
13129 struct timeval time; 13123 struct timeval time;
13130 gettimeofday (&time, 0); 13124 gettimeofday (&time, 0);
13131 13125
13132 ; return 0; } 13126 ; return 0; }
13133 EOF 13127 EOF
13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13128 if { (eval echo configure:13129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13135 rm -rf conftest* 13129 rm -rf conftest*
13136 echo "$ac_t""two" 1>&6 13130 echo "$ac_t""two" 1>&6
13137 else 13131 else
13138 echo "configure: failed program was:" >&5 13132 echo "configure: failed program was:" >&5
13139 cat conftest.$ac_ext >&5 13133 cat conftest.$ac_ext >&5
13151 rm -f conftest* 13145 rm -f conftest*
13152 fi 13146 fi
13153 13147
13154 13148
13155 echo $ac_n "checking for inline""... $ac_c" 1>&6 13149 echo $ac_n "checking for inline""... $ac_c" 1>&6
13156 echo "configure:13157: checking for inline" >&5 13150 echo "configure:13151: checking for inline" >&5
13157 13151
13158 ac_cv_c_inline=no 13152 ac_cv_c_inline=no
13159 for ac_kw in inline __inline__ __inline; do 13153 for ac_kw in inline __inline__ __inline; do
13160 cat > conftest.$ac_ext <<EOF 13154 cat > conftest.$ac_ext <<EOF
13161 #line 13162 "configure" 13155 #line 13156 "configure"
13162 #include "confdefs.h" 13156 #include "confdefs.h"
13163 13157
13164 int main() { 13158 int main() {
13165 } $ac_kw foo() { 13159 } $ac_kw foo() {
13166 ; return 0; } 13160 ; return 0; }
13167 EOF 13161 EOF
13168 if { (eval echo configure:13169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13162 if { (eval echo configure:13163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13169 rm -rf conftest* 13163 rm -rf conftest*
13170 ac_cv_c_inline=$ac_kw; break 13164 ac_cv_c_inline=$ac_kw; break
13171 else 13165 else
13172 echo "configure: failed program was:" >&5 13166 echo "configure: failed program was:" >&5
13173 cat conftest.$ac_ext >&5 13167 cat conftest.$ac_ext >&5
13200 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13194 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13201 echo " xemacs will be linked with \"inline.o\"" 13195 echo " xemacs will be linked with \"inline.o\""
13202 fi 13196 fi
13203 13197
13204 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13198 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13205 echo "configure:13206: checking for typeof" >&5 13199 echo "configure:13200: checking for typeof" >&5
13206 cat > conftest.$ac_ext <<EOF 13200 cat > conftest.$ac_ext <<EOF
13207 #line 13208 "configure" 13201 #line 13202 "configure"
13208 #include "confdefs.h" 13202 #include "confdefs.h"
13209 13203
13210 int main() { 13204 int main() {
13211 int i; __typeof__(i) j; 13205 int i; __typeof__(i) j;
13212 ; return 0; } 13206 ; return 0; }
13213 EOF 13207 EOF
13214 if { (eval echo configure:13215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13208 if { (eval echo configure:13209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13215 rm -rf conftest* 13209 rm -rf conftest*
13216 typeofname="__typeof__" 13210 typeofname="__typeof__"
13217 else 13211 else
13218 echo "configure: failed program was:" >&5 13212 echo "configure: failed program was:" >&5
13219 cat conftest.$ac_ext >&5 13213 cat conftest.$ac_ext >&5
13220 rm -rf conftest* 13214 rm -rf conftest*
13221 cat > conftest.$ac_ext <<EOF 13215 cat > conftest.$ac_ext <<EOF
13222 #line 13223 "configure" 13216 #line 13217 "configure"
13223 #include "confdefs.h" 13217 #include "confdefs.h"
13224 13218
13225 int main() { 13219 int main() {
13226 int i; typeof(i) j; 13220 int i; typeof(i) j;
13227 ; return 0; } 13221 ; return 0; }
13228 EOF 13222 EOF
13229 if { (eval echo configure:13230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13223 if { (eval echo configure:13224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13230 rm -rf conftest* 13224 rm -rf conftest*
13231 typeofname="typeof" 13225 typeofname="typeof"
13232 else 13226 else
13233 echo "configure: failed program was:" >&5 13227 echo "configure: failed program was:" >&5
13234 cat conftest.$ac_ext >&5 13228 cat conftest.$ac_ext >&5
13253 13247
13254 if test "$__DECC" != "yes"; then 13248 if test "$__DECC" != "yes"; then
13255 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13249 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13256 # for constant arguments. Useless! 13250 # for constant arguments. Useless!
13257 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13251 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13258 echo "configure:13259: checking for working alloca.h" >&5 13252 echo "configure:13253: checking for working alloca.h" >&5
13259 13253
13260 cat > conftest.$ac_ext <<EOF 13254 cat > conftest.$ac_ext <<EOF
13261 #line 13262 "configure" 13255 #line 13256 "configure"
13262 #include "confdefs.h" 13256 #include "confdefs.h"
13263 #include <alloca.h> 13257 #include <alloca.h>
13264 int main() { 13258 int main() {
13265 char *p = alloca(2 * sizeof(int)); 13259 char *p = alloca(2 * sizeof(int));
13266 ; return 0; } 13260 ; return 0; }
13267 EOF 13261 EOF
13268 if { (eval echo configure:13269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13262 if { (eval echo configure:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13269 rm -rf conftest* 13263 rm -rf conftest*
13270 ac_cv_header_alloca_h=yes 13264 ac_cv_header_alloca_h=yes
13271 else 13265 else
13272 echo "configure: failed program was:" >&5 13266 echo "configure: failed program was:" >&5
13273 cat conftest.$ac_ext >&5 13267 cat conftest.$ac_ext >&5
13287 } 13281 }
13288 13282
13289 fi 13283 fi
13290 13284
13291 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13285 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13292 echo "configure:13293: checking for alloca" >&5 13286 echo "configure:13287: checking for alloca" >&5
13293 13287
13294 cat > conftest.$ac_ext <<EOF 13288 cat > conftest.$ac_ext <<EOF
13295 #line 13296 "configure" 13289 #line 13290 "configure"
13296 #include "confdefs.h" 13290 #include "confdefs.h"
13297 13291
13298 #ifdef __GNUC__ 13292 #ifdef __GNUC__
13299 # define alloca __builtin_alloca 13293 # define alloca __builtin_alloca
13300 #else 13294 #else
13318 13312
13319 int main() { 13313 int main() {
13320 char *p = (char *) alloca(1); 13314 char *p = (char *) alloca(1);
13321 ; return 0; } 13315 ; return 0; }
13322 EOF 13316 EOF
13323 if { (eval echo configure:13324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13317 if { (eval echo configure:13318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13324 rm -rf conftest* 13318 rm -rf conftest*
13325 ac_cv_func_alloca_works=yes 13319 ac_cv_func_alloca_works=yes
13326 else 13320 else
13327 echo "configure: failed program was:" >&5 13321 echo "configure: failed program was:" >&5
13328 cat conftest.$ac_ext >&5 13322 cat conftest.$ac_ext >&5
13357 EOF 13351 EOF
13358 } 13352 }
13359 13353
13360 13354
13361 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13355 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13362 echo "configure:13363: checking whether alloca needs Cray hooks" >&5 13356 echo "configure:13357: checking whether alloca needs Cray hooks" >&5
13363 13357
13364 cat > conftest.$ac_ext <<EOF 13358 cat > conftest.$ac_ext <<EOF
13365 #line 13366 "configure" 13359 #line 13360 "configure"
13366 #include "confdefs.h" 13360 #include "confdefs.h"
13367 #if defined(CRAY) && ! defined(CRAY2) 13361 #if defined(CRAY) && ! defined(CRAY2)
13368 webecray 13362 webecray
13369 #else 13363 #else
13370 wenotbecray 13364 wenotbecray
13384 13378
13385 echo "$ac_t""$ac_cv_os_cray" 1>&6 13379 echo "$ac_t""$ac_cv_os_cray" 1>&6
13386 if test $ac_cv_os_cray = yes; then 13380 if test $ac_cv_os_cray = yes; then
13387 for ac_func in _getb67 GETB67 getb67; do 13381 for ac_func in _getb67 GETB67 getb67; do
13388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13389 echo "configure:13390: checking for $ac_func" >&5 13383 echo "configure:13384: checking for $ac_func" >&5
13390 13384
13391 cat > conftest.$ac_ext <<EOF 13385 cat > conftest.$ac_ext <<EOF
13392 #line 13393 "configure" 13386 #line 13387 "configure"
13393 #include "confdefs.h" 13387 #include "confdefs.h"
13394 /* System header to define __stub macros and hopefully few prototypes, 13388 /* System header to define __stub macros and hopefully few prototypes,
13395 which can conflict with char $ac_func(); below. */ 13389 which can conflict with char $ac_func(); below. */
13396 #include <assert.h> 13390 #include <assert.h>
13397 /* Override any gcc2 internal prototype to avoid an error. */ 13391 /* Override any gcc2 internal prototype to avoid an error. */
13410 $ac_func(); 13404 $ac_func();
13411 #endif 13405 #endif
13412 13406
13413 ; return 0; } 13407 ; return 0; }
13414 EOF 13408 EOF
13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13409 if { (eval echo configure:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13416 rm -rf conftest* 13410 rm -rf conftest*
13417 eval "ac_cv_func_$ac_func=yes" 13411 eval "ac_cv_func_$ac_func=yes"
13418 else 13412 else
13419 echo "configure: failed program was:" >&5 13413 echo "configure: failed program was:" >&5
13420 cat conftest.$ac_ext >&5 13414 cat conftest.$ac_ext >&5
13440 13434
13441 done 13435 done
13442 fi 13436 fi
13443 13437
13444 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13438 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13445 echo "configure:13446: checking stack direction for C alloca" >&5 13439 echo "configure:13440: checking stack direction for C alloca" >&5
13446 13440
13447 cat > conftest.$ac_ext <<EOF 13441 cat > conftest.$ac_ext <<EOF
13448 #line 13449 "configure" 13442 #line 13443 "configure"
13449 #include "confdefs.h" 13443 #include "confdefs.h"
13450 find_stack_direction () 13444 find_stack_direction ()
13451 { 13445 {
13452 static char *addr = 0; 13446 static char *addr = 0;
13453 auto char dummy; 13447 auto char dummy;
13462 main () 13456 main ()
13463 { 13457 {
13464 exit (find_stack_direction() < 0); 13458 exit (find_stack_direction() < 0);
13465 } 13459 }
13466 EOF 13460 EOF
13467 if { (eval echo configure:13468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13468 then 13462 then
13469 ac_cv_c_stack_direction=1 13463 ac_cv_c_stack_direction=1
13470 else 13464 else
13471 conftest_rc="$?" 13465 conftest_rc="$?"
13472 echo "configure: failed program was:" >&5 13466 echo "configure: failed program was:" >&5
13491 echo " xemacs will be linked with \"$ALLOCA\"" 13485 echo " xemacs will be linked with \"$ALLOCA\""
13492 fi 13486 fi
13493 fi 13487 fi
13494 13488
13495 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13489 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13496 echo "configure:13497: checking for working alloca in function calls" >&5 13490 echo "configure:13491: checking for working alloca in function calls" >&5
13497 cat > conftest.$ac_ext <<EOF 13491 cat > conftest.$ac_ext <<EOF
13498 #line 13499 "configure" 13492 #line 13493 "configure"
13499 #include "confdefs.h" 13493 #include "confdefs.h"
13500 13494
13501 #if defined (__CYGWIN__) 13495 #if defined (__CYGWIN__)
13502 #include <alloca.h> 13496 #include <alloca.h>
13503 #elif defined (__GNUC__) 13497 #elif defined (__GNUC__)
13546 return 1; 13540 return 1;
13547 return 0; 13541 return 0;
13548 } 13542 }
13549 13543
13550 EOF 13544 EOF
13551 if { (eval echo configure:13552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13545 if { (eval echo configure:13546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13552 then 13546 then
13553 working_alloca_in_function_calls=yes 13547 working_alloca_in_function_calls=yes
13554 else 13548 else
13555 conftest_rc="$?" 13549 conftest_rc="$?"
13556 echo "configure: failed program was:" >&5 13550 echo "configure: failed program was:" >&5
13569 EOF 13563 EOF
13570 } 13564 }
13571 13565
13572 13566
13573 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13567 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13574 echo "configure:13575: checking for working strcoll" >&5 13568 echo "configure:13569: checking for working strcoll" >&5
13575 13569
13576 cat > conftest.$ac_ext <<EOF 13570 cat > conftest.$ac_ext <<EOF
13577 #line 13578 "configure" 13571 #line 13572 "configure"
13578 #include "confdefs.h" 13572 #include "confdefs.h"
13579 #include <string.h> 13573 #include <string.h>
13580 main () 13574 main ()
13581 { 13575 {
13582 exit (strcoll ("abc", "def") >= 0 || 13576 exit (strcoll ("abc", "def") >= 0 ||
13583 strcoll ("ABC", "DEF") >= 0 || 13577 strcoll ("ABC", "DEF") >= 0 ||
13584 strcoll ("123", "456") >= 0); 13578 strcoll ("123", "456") >= 0);
13585 } 13579 }
13586 EOF 13580 EOF
13587 if { (eval echo configure:13588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13581 if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13588 then 13582 then
13589 ac_cv_func_strcoll_works=yes 13583 ac_cv_func_strcoll_works=yes
13590 else 13584 else
13591 conftest_rc="$?" 13585 conftest_rc="$?"
13592 echo "configure: failed program was:" >&5 13586 echo "configure: failed program was:" >&5
13610 13604
13611 13605
13612 for ac_func in getpgrp 13606 for ac_func in getpgrp
13613 do 13607 do
13614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13615 echo "configure:13616: checking for $ac_func" >&5 13609 echo "configure:13610: checking for $ac_func" >&5
13616 13610
13617 cat > conftest.$ac_ext <<EOF 13611 cat > conftest.$ac_ext <<EOF
13618 #line 13619 "configure" 13612 #line 13613 "configure"
13619 #include "confdefs.h" 13613 #include "confdefs.h"
13620 /* System header to define __stub macros and hopefully few prototypes, 13614 /* System header to define __stub macros and hopefully few prototypes,
13621 which can conflict with char $ac_func(); below. */ 13615 which can conflict with char $ac_func(); below. */
13622 #include <assert.h> 13616 #include <assert.h>
13623 /* Override any gcc2 internal prototype to avoid an error. */ 13617 /* Override any gcc2 internal prototype to avoid an error. */
13636 $ac_func(); 13630 $ac_func();
13637 #endif 13631 #endif
13638 13632
13639 ; return 0; } 13633 ; return 0; }
13640 EOF 13634 EOF
13641 if { (eval echo configure:13642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13635 if { (eval echo configure:13636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13642 rm -rf conftest* 13636 rm -rf conftest*
13643 eval "ac_cv_func_$ac_func=yes" 13637 eval "ac_cv_func_$ac_func=yes"
13644 else 13638 else
13645 echo "configure: failed program was:" >&5 13639 echo "configure: failed program was:" >&5
13646 cat conftest.$ac_ext >&5 13640 cat conftest.$ac_ext >&5
13664 echo "$ac_t""no" 1>&6 13658 echo "$ac_t""no" 1>&6
13665 fi 13659 fi
13666 done 13660 done
13667 13661
13668 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13662 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13669 echo "configure:13670: checking whether getpgrp takes no argument" >&5 13663 echo "configure:13664: checking whether getpgrp takes no argument" >&5
13670 13664
13671 cat > conftest.$ac_ext <<EOF 13665 cat > conftest.$ac_ext <<EOF
13672 #line 13673 "configure" 13666 #line 13667 "configure"
13673 #include "confdefs.h" 13667 #include "confdefs.h"
13674 13668
13675 /* 13669 /*
13676 * If this system has a BSD-style getpgrp(), 13670 * If this system has a BSD-style getpgrp(),
13677 * which takes a pid argument, exit unsuccessfully. 13671 * which takes a pid argument, exit unsuccessfully.
13722 exit(s>>8); 13716 exit(s>>8);
13723 } 13717 }
13724 } 13718 }
13725 13719
13726 EOF 13720 EOF
13727 if { (eval echo configure:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13721 if { (eval echo configure:13722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13728 then 13722 then
13729 ac_cv_func_getpgrp_void=yes 13723 ac_cv_func_getpgrp_void=yes
13730 else 13724 else
13731 conftest_rc="$?" 13725 conftest_rc="$?"
13732 echo "configure: failed program was:" >&5 13726 echo "configure: failed program was:" >&5
13749 13743
13750 fi 13744 fi
13751 13745
13752 13746
13753 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13747 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13754 echo "configure:13755: checking for working mmap" >&5 13748 echo "configure:13749: checking for working mmap" >&5
13755 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13749 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13756 cat > conftest.$ac_ext <<EOF 13750 cat > conftest.$ac_ext <<EOF
13757 #line 13758 "configure" 13751 #line 13752 "configure"
13758 #include "confdefs.h" 13752 #include "confdefs.h"
13759 #include <stdio.h> 13753 #include <stdio.h>
13760 #include <unistd.h> 13754 #include <unistd.h>
13761 #include <fcntl.h> 13755 #include <fcntl.h>
13762 #include <sys/mman.h> 13756 #include <sys/mman.h>
13785 return 0; 13779 return 0;
13786 perror ("conftest: mmap failed"); 13780 perror ("conftest: mmap failed");
13787 return 1; 13781 return 1;
13788 } 13782 }
13789 EOF 13783 EOF
13790 if { (eval echo configure:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13784 if { (eval echo configure:13785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13791 then 13785 then
13792 have_mmap=yes 13786 have_mmap=yes
13793 else 13787 else
13794 conftest_rc="$?" 13788 conftest_rc="$?"
13795 echo "configure: failed program was:" >&5 13789 echo "configure: failed program was:" >&5
13814 esac 13808 esac
13815 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13809 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13816 if test "$rel_alloc $have_mmap" = "default yes"; then 13810 if test "$rel_alloc $have_mmap" = "default yes"; then
13817 if test "$doug_lea_malloc" = "yes"; then 13811 if test "$doug_lea_malloc" = "yes"; then
13818 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13812 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13819 echo "configure:13820: checking for M_MMAP_THRESHOLD" >&5 13813 echo "configure:13814: checking for M_MMAP_THRESHOLD" >&5
13820 cat > conftest.$ac_ext <<EOF 13814 cat > conftest.$ac_ext <<EOF
13821 #line 13822 "configure" 13815 #line 13816 "configure"
13822 #include "confdefs.h" 13816 #include "confdefs.h"
13823 #include <malloc.h> 13817 #include <malloc.h>
13824 int main() { 13818 int main() {
13825 13819
13826 #ifndef M_MMAP_THRESHOLD 13820 #ifndef M_MMAP_THRESHOLD
13828 !@+$%^&*_)(_ - unlikely to compile... 13822 !@+$%^&*_)(_ - unlikely to compile...
13829 #endif 13823 #endif
13830 13824
13831 ; return 0; } 13825 ; return 0; }
13832 EOF 13826 EOF
13833 if { (eval echo configure:13834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13827 if { (eval echo configure:13828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13834 rm -rf conftest* 13828 rm -rf conftest*
13835 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13829 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13836 else 13830 else
13837 echo "configure: failed program was:" >&5 13831 echo "configure: failed program was:" >&5
13838 cat conftest.$ac_ext >&5 13832 cat conftest.$ac_ext >&5
13853 } 13847 }
13854 13848
13855 13849
13856 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13850 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13857 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13851 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13858 echo "configure:13859: checking for termios.h" >&5 13852 echo "configure:13853: checking for termios.h" >&5
13859 13853
13860 cat > conftest.$ac_ext <<EOF 13854 cat > conftest.$ac_ext <<EOF
13861 #line 13862 "configure" 13855 #line 13856 "configure"
13862 #include "confdefs.h" 13856 #include "confdefs.h"
13863 #include <termios.h> 13857 #include <termios.h>
13864 EOF 13858 EOF
13865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13866 { (eval echo configure:13867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13860 { (eval echo configure:13861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13868 if test -z "$ac_err"; then 13862 if test -z "$ac_err"; then
13869 rm -rf conftest* 13863 rm -rf conftest*
13870 eval "ac_cv_header_$ac_safe=yes" 13864 eval "ac_cv_header_$ac_safe=yes"
13871 else 13865 else
13904 13898
13905 else 13899 else
13906 echo "$ac_t""no" 1>&6 13900 echo "$ac_t""no" 1>&6
13907 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13901 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13908 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13902 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13909 echo "configure:13910: checking for termio.h" >&5 13903 echo "configure:13904: checking for termio.h" >&5
13910 13904
13911 cat > conftest.$ac_ext <<EOF 13905 cat > conftest.$ac_ext <<EOF
13912 #line 13913 "configure" 13906 #line 13907 "configure"
13913 #include "confdefs.h" 13907 #include "confdefs.h"
13914 #include <termio.h> 13908 #include <termio.h>
13915 EOF 13909 EOF
13916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13917 { (eval echo configure:13918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13911 { (eval echo configure:13912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13919 if test -z "$ac_err"; then 13913 if test -z "$ac_err"; then
13920 rm -rf conftest* 13914 rm -rf conftest*
13921 eval "ac_cv_header_$ac_safe=yes" 13915 eval "ac_cv_header_$ac_safe=yes"
13922 else 13916 else
13944 fi 13938 fi
13945 13939
13946 13940
13947 13941
13948 echo $ac_n "checking for socket""... $ac_c" 1>&6 13942 echo $ac_n "checking for socket""... $ac_c" 1>&6
13949 echo "configure:13950: checking for socket" >&5 13943 echo "configure:13944: checking for socket" >&5
13950 13944
13951 cat > conftest.$ac_ext <<EOF 13945 cat > conftest.$ac_ext <<EOF
13952 #line 13953 "configure" 13946 #line 13947 "configure"
13953 #include "confdefs.h" 13947 #include "confdefs.h"
13954 /* System header to define __stub macros and hopefully few prototypes, 13948 /* System header to define __stub macros and hopefully few prototypes,
13955 which can conflict with char socket(); below. */ 13949 which can conflict with char socket(); below. */
13956 #include <assert.h> 13950 #include <assert.h>
13957 /* Override any gcc2 internal prototype to avoid an error. */ 13951 /* Override any gcc2 internal prototype to avoid an error. */
13970 socket(); 13964 socket();
13971 #endif 13965 #endif
13972 13966
13973 ; return 0; } 13967 ; return 0; }
13974 EOF 13968 EOF
13975 if { (eval echo configure:13976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13969 if { (eval echo configure:13970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13976 rm -rf conftest* 13970 rm -rf conftest*
13977 eval "ac_cv_func_socket=yes" 13971 eval "ac_cv_func_socket=yes"
13978 else 13972 else
13979 echo "configure: failed program was:" >&5 13973 echo "configure: failed program was:" >&5
13980 cat conftest.$ac_ext >&5 13974 cat conftest.$ac_ext >&5
13985 13979
13986 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13980 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13987 echo "$ac_t""yes" 1>&6 13981 echo "$ac_t""yes" 1>&6
13988 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13982 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13989 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13983 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13990 echo "configure:13991: checking for netinet/in.h" >&5 13984 echo "configure:13985: checking for netinet/in.h" >&5
13991 13985
13992 cat > conftest.$ac_ext <<EOF 13986 cat > conftest.$ac_ext <<EOF
13993 #line 13994 "configure" 13987 #line 13988 "configure"
13994 #include "confdefs.h" 13988 #include "confdefs.h"
13995 #include <netinet/in.h> 13989 #include <netinet/in.h>
13996 EOF 13990 EOF
13997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13998 { (eval echo configure:13999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13992 { (eval echo configure:13993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14000 if test -z "$ac_err"; then 13994 if test -z "$ac_err"; then
14001 rm -rf conftest* 13995 rm -rf conftest*
14002 eval "ac_cv_header_$ac_safe=yes" 13996 eval "ac_cv_header_$ac_safe=yes"
14003 else 13997 else
14010 rm -f conftest* 14004 rm -f conftest*
14011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14012 echo "$ac_t""yes" 1>&6 14006 echo "$ac_t""yes" 1>&6
14013 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14007 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14014 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14008 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14015 echo "configure:14016: checking for arpa/inet.h" >&5 14009 echo "configure:14010: checking for arpa/inet.h" >&5
14016 14010
14017 cat > conftest.$ac_ext <<EOF 14011 cat > conftest.$ac_ext <<EOF
14018 #line 14019 "configure" 14012 #line 14013 "configure"
14019 #include "confdefs.h" 14013 #include "confdefs.h"
14020 #include <arpa/inet.h> 14014 #include <arpa/inet.h>
14021 EOF 14015 EOF
14022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14023 { (eval echo configure:14024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14017 { (eval echo configure:14018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14025 if test -z "$ac_err"; then 14019 if test -z "$ac_err"; then
14026 rm -rf conftest* 14020 rm -rf conftest*
14027 eval "ac_cv_header_$ac_safe=yes" 14021 eval "ac_cv_header_$ac_safe=yes"
14028 else 14022 else
14043 #define HAVE_SOCKETS 1 14037 #define HAVE_SOCKETS 1
14044 EOF 14038 EOF
14045 } 14039 }
14046 14040
14047 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14041 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14048 echo "configure:14049: checking "for sun_len member in struct sockaddr_un"" >&5 14042 echo "configure:14043: checking "for sun_len member in struct sockaddr_un"" >&5
14049 cat > conftest.$ac_ext <<EOF 14043 cat > conftest.$ac_ext <<EOF
14050 #line 14051 "configure" 14044 #line 14045 "configure"
14051 #include "confdefs.h" 14045 #include "confdefs.h"
14052 14046
14053 #include <sys/types.h> 14047 #include <sys/types.h>
14054 #include <sys/socket.h> 14048 #include <sys/socket.h>
14055 #include <sys/un.h> 14049 #include <sys/un.h>
14056 14050
14057 int main() { 14051 int main() {
14058 static struct sockaddr_un x; x.sun_len = 1; 14052 static struct sockaddr_un x; x.sun_len = 1;
14059 ; return 0; } 14053 ; return 0; }
14060 EOF 14054 EOF
14061 if { (eval echo configure:14062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14055 if { (eval echo configure:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14062 rm -rf conftest* 14056 rm -rf conftest*
14063 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14057 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14064 Defining HAVE_SOCKADDR_SUN_LEN 14058 Defining HAVE_SOCKADDR_SUN_LEN
14065 EOF 14059 EOF
14066 cat >> confdefs.h <<\EOF 14060 cat >> confdefs.h <<\EOF
14074 rm -rf conftest* 14068 rm -rf conftest*
14075 echo "$ac_t""no" 1>&6 14069 echo "$ac_t""no" 1>&6
14076 fi 14070 fi
14077 rm -f conftest* 14071 rm -f conftest*
14078 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14072 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14079 echo "configure:14080: checking "for ip_mreq struct in netinet/in.h"" >&5 14073 echo "configure:14074: checking "for ip_mreq struct in netinet/in.h"" >&5
14080 cat > conftest.$ac_ext <<EOF 14074 cat > conftest.$ac_ext <<EOF
14081 #line 14082 "configure" 14075 #line 14076 "configure"
14082 #include "confdefs.h" 14076 #include "confdefs.h"
14083 14077
14084 #include <sys/types.h> 14078 #include <sys/types.h>
14085 #include <netinet/in.h> 14079 #include <netinet/in.h>
14086 14080
14087 int main() { 14081 int main() {
14088 static struct ip_mreq x; 14082 static struct ip_mreq x;
14089 ; return 0; } 14083 ; return 0; }
14090 EOF 14084 EOF
14091 if { (eval echo configure:14092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14085 if { (eval echo configure:14086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14092 rm -rf conftest* 14086 rm -rf conftest*
14093 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14087 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14094 Defining HAVE_MULTICAST 14088 Defining HAVE_MULTICAST
14095 EOF 14089 EOF
14096 cat >> confdefs.h <<\EOF 14090 cat >> confdefs.h <<\EOF
14117 echo "$ac_t""no" 1>&6 14111 echo "$ac_t""no" 1>&6
14118 fi 14112 fi
14119 14113
14120 14114
14121 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14115 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14122 echo "configure:14123: checking for msgget" >&5 14116 echo "configure:14117: checking for msgget" >&5
14123 14117
14124 cat > conftest.$ac_ext <<EOF 14118 cat > conftest.$ac_ext <<EOF
14125 #line 14126 "configure" 14119 #line 14120 "configure"
14126 #include "confdefs.h" 14120 #include "confdefs.h"
14127 /* System header to define __stub macros and hopefully few prototypes, 14121 /* System header to define __stub macros and hopefully few prototypes,
14128 which can conflict with char msgget(); below. */ 14122 which can conflict with char msgget(); below. */
14129 #include <assert.h> 14123 #include <assert.h>
14130 /* Override any gcc2 internal prototype to avoid an error. */ 14124 /* Override any gcc2 internal prototype to avoid an error. */
14143 msgget(); 14137 msgget();
14144 #endif 14138 #endif
14145 14139
14146 ; return 0; } 14140 ; return 0; }
14147 EOF 14141 EOF
14148 if { (eval echo configure:14149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14142 if { (eval echo configure:14143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14149 rm -rf conftest* 14143 rm -rf conftest*
14150 eval "ac_cv_func_msgget=yes" 14144 eval "ac_cv_func_msgget=yes"
14151 else 14145 else
14152 echo "configure: failed program was:" >&5 14146 echo "configure: failed program was:" >&5
14153 cat conftest.$ac_ext >&5 14147 cat conftest.$ac_ext >&5
14158 14152
14159 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14153 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14160 echo "$ac_t""yes" 1>&6 14154 echo "$ac_t""yes" 1>&6
14161 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14155 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14162 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14156 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14163 echo "configure:14164: checking for sys/ipc.h" >&5 14157 echo "configure:14158: checking for sys/ipc.h" >&5
14164 14158
14165 cat > conftest.$ac_ext <<EOF 14159 cat > conftest.$ac_ext <<EOF
14166 #line 14167 "configure" 14160 #line 14161 "configure"
14167 #include "confdefs.h" 14161 #include "confdefs.h"
14168 #include <sys/ipc.h> 14162 #include <sys/ipc.h>
14169 EOF 14163 EOF
14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14165 { (eval echo configure:14166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14173 if test -z "$ac_err"; then 14167 if test -z "$ac_err"; then
14174 rm -rf conftest* 14168 rm -rf conftest*
14175 eval "ac_cv_header_$ac_safe=yes" 14169 eval "ac_cv_header_$ac_safe=yes"
14176 else 14170 else
14183 rm -f conftest* 14177 rm -f conftest*
14184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14178 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14185 echo "$ac_t""yes" 1>&6 14179 echo "$ac_t""yes" 1>&6
14186 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14180 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14187 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14181 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14188 echo "configure:14189: checking for sys/msg.h" >&5 14182 echo "configure:14183: checking for sys/msg.h" >&5
14189 14183
14190 cat > conftest.$ac_ext <<EOF 14184 cat > conftest.$ac_ext <<EOF
14191 #line 14192 "configure" 14185 #line 14186 "configure"
14192 #include "confdefs.h" 14186 #include "confdefs.h"
14193 #include <sys/msg.h> 14187 #include <sys/msg.h>
14194 EOF 14188 EOF
14195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14196 { (eval echo configure:14197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14190 { (eval echo configure:14191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14198 if test -z "$ac_err"; then 14192 if test -z "$ac_err"; then
14199 rm -rf conftest* 14193 rm -rf conftest*
14200 eval "ac_cv_header_$ac_safe=yes" 14194 eval "ac_cv_header_$ac_safe=yes"
14201 else 14195 else
14229 fi 14223 fi
14230 14224
14231 14225
14232 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14226 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14233 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14227 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14234 echo "configure:14235: checking for dirent.h" >&5 14228 echo "configure:14229: checking for dirent.h" >&5
14235 14229
14236 cat > conftest.$ac_ext <<EOF 14230 cat > conftest.$ac_ext <<EOF
14237 #line 14238 "configure" 14231 #line 14232 "configure"
14238 #include "confdefs.h" 14232 #include "confdefs.h"
14239 #include <dirent.h> 14233 #include <dirent.h>
14240 EOF 14234 EOF
14241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14242 { (eval echo configure:14243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14236 { (eval echo configure:14237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14244 if test -z "$ac_err"; then 14238 if test -z "$ac_err"; then
14245 rm -rf conftest* 14239 rm -rf conftest*
14246 eval "ac_cv_header_$ac_safe=yes" 14240 eval "ac_cv_header_$ac_safe=yes"
14247 else 14241 else
14264 14258
14265 else 14259 else
14266 echo "$ac_t""no" 1>&6 14260 echo "$ac_t""no" 1>&6
14267 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14261 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14268 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14262 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14269 echo "configure:14270: checking for sys/dir.h" >&5 14263 echo "configure:14264: checking for sys/dir.h" >&5
14270 14264
14271 cat > conftest.$ac_ext <<EOF 14265 cat > conftest.$ac_ext <<EOF
14272 #line 14273 "configure" 14266 #line 14267 "configure"
14273 #include "confdefs.h" 14267 #include "confdefs.h"
14274 #include <sys/dir.h> 14268 #include <sys/dir.h>
14275 EOF 14269 EOF
14276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14277 { (eval echo configure:14278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14271 { (eval echo configure:14272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14279 if test -z "$ac_err"; then 14273 if test -z "$ac_err"; then
14280 rm -rf conftest* 14274 rm -rf conftest*
14281 eval "ac_cv_header_$ac_safe=yes" 14275 eval "ac_cv_header_$ac_safe=yes"
14282 else 14276 else
14305 fi 14299 fi
14306 14300
14307 14301
14308 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14302 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14309 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14303 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14310 echo "configure:14311: checking for nlist.h" >&5 14304 echo "configure:14305: checking for nlist.h" >&5
14311 14305
14312 cat > conftest.$ac_ext <<EOF 14306 cat > conftest.$ac_ext <<EOF
14313 #line 14314 "configure" 14307 #line 14308 "configure"
14314 #include "confdefs.h" 14308 #include "confdefs.h"
14315 #include <nlist.h> 14309 #include <nlist.h>
14316 EOF 14310 EOF
14317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14318 { (eval echo configure:14319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14312 { (eval echo configure:14313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14320 if test -z "$ac_err"; then 14314 if test -z "$ac_err"; then
14321 rm -rf conftest* 14315 rm -rf conftest*
14322 eval "ac_cv_header_$ac_safe=yes" 14316 eval "ac_cv_header_$ac_safe=yes"
14323 else 14317 else
14343 fi 14337 fi
14344 14338
14345 14339
14346 14340
14347 echo "checking "for sound support"" 1>&6 14341 echo "checking "for sound support"" 1>&6
14348 echo "configure:14349: checking "for sound support"" >&5 14342 echo "configure:14343: checking "for sound support"" >&5
14349 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14343 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14350 14344
14351 if test "$with_native_sound" != "no"; then 14345 if test "$with_native_sound" != "no"; then
14352 if test -n "$native_sound_lib"; then 14346 if test -n "$native_sound_lib"; then
14353 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14347 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14354 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14348 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14355 echo "configure:14356: checking for multimedia/audio_device.h" >&5 14349 echo "configure:14350: checking for multimedia/audio_device.h" >&5
14356 14350
14357 cat > conftest.$ac_ext <<EOF 14351 cat > conftest.$ac_ext <<EOF
14358 #line 14359 "configure" 14352 #line 14353 "configure"
14359 #include "confdefs.h" 14353 #include "confdefs.h"
14360 #include <multimedia/audio_device.h> 14354 #include <multimedia/audio_device.h>
14361 EOF 14355 EOF
14362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14363 { (eval echo configure:14364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14357 { (eval echo configure:14358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14365 if test -z "$ac_err"; then 14359 if test -z "$ac_err"; then
14366 rm -rf conftest* 14360 rm -rf conftest*
14367 eval "ac_cv_header_$ac_safe=yes" 14361 eval "ac_cv_header_$ac_safe=yes"
14368 else 14362 else
14414 case "$canonical" in 14408 case "$canonical" in
14415 *-sgi-* ) 14409 *-sgi-* )
14416 if test -z "$native_sound_lib"; then 14410 if test -z "$native_sound_lib"; then
14417 14411
14418 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14412 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14419 echo "configure:14420: checking for ALopenport in -laudio" >&5 14413 echo "configure:14414: checking for ALopenport in -laudio" >&5
14420 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14414 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14421 14415
14422 xe_check_libs=" -laudio " 14416 xe_check_libs=" -laudio "
14423 cat > conftest.$ac_ext <<EOF 14417 cat > conftest.$ac_ext <<EOF
14424 #line 14425 "configure" 14418 #line 14419 "configure"
14425 #include "confdefs.h" 14419 #include "confdefs.h"
14426 /* Override any gcc2 internal prototype to avoid an error. */ 14420 /* Override any gcc2 internal prototype to avoid an error. */
14427 /* We use char because int might match the return type of a gcc2 14421 /* We use char because int might match the return type of a gcc2
14428 builtin and then its argument prototype would still apply. */ 14422 builtin and then its argument prototype would still apply. */
14429 char ALopenport(); 14423 char ALopenport();
14430 14424
14431 int main() { 14425 int main() {
14432 ALopenport() 14426 ALopenport()
14433 ; return 0; } 14427 ; return 0; }
14434 EOF 14428 EOF
14435 if { (eval echo configure:14436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14429 if { (eval echo configure:14430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14436 rm -rf conftest* 14430 rm -rf conftest*
14437 eval "ac_cv_lib_$ac_lib_var=yes" 14431 eval "ac_cv_lib_$ac_lib_var=yes"
14438 else 14432 else
14439 echo "configure: failed program was:" >&5 14433 echo "configure: failed program was:" >&5
14440 cat conftest.$ac_ext >&5 14434 cat conftest.$ac_ext >&5
14461 fi ;; 14455 fi ;;
14462 hppa*-hp-hpux* ) 14456 hppa*-hp-hpux* )
14463 if test -z "$native_sound_lib"; then 14457 if test -z "$native_sound_lib"; then
14464 14458
14465 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14459 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14466 echo "configure:14467: checking for AOpenAudio in -lAlib" >&5 14460 echo "configure:14461: checking for AOpenAudio in -lAlib" >&5
14467 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14461 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14468 14462
14469 xe_check_libs=" -lAlib " 14463 xe_check_libs=" -lAlib "
14470 cat > conftest.$ac_ext <<EOF 14464 cat > conftest.$ac_ext <<EOF
14471 #line 14472 "configure" 14465 #line 14466 "configure"
14472 #include "confdefs.h" 14466 #include "confdefs.h"
14473 /* Override any gcc2 internal prototype to avoid an error. */ 14467 /* Override any gcc2 internal prototype to avoid an error. */
14474 /* We use char because int might match the return type of a gcc2 14468 /* We use char because int might match the return type of a gcc2
14475 builtin and then its argument prototype would still apply. */ 14469 builtin and then its argument prototype would still apply. */
14476 char AOpenAudio(); 14470 char AOpenAudio();
14477 14471
14478 int main() { 14472 int main() {
14479 AOpenAudio() 14473 AOpenAudio()
14480 ; return 0; } 14474 ; return 0; }
14481 EOF 14475 EOF
14482 if { (eval echo configure:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14476 if { (eval echo configure:14477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14483 rm -rf conftest* 14477 rm -rf conftest*
14484 eval "ac_cv_lib_$ac_lib_var=yes" 14478 eval "ac_cv_lib_$ac_lib_var=yes"
14485 else 14479 else
14486 echo "configure: failed program was:" >&5 14480 echo "configure: failed program was:" >&5
14487 cat conftest.$ac_ext >&5 14481 cat conftest.$ac_ext >&5
14525 14519
14526 if test -z "$sound_found"; then 14520 if test -z "$sound_found"; then
14527 for dir in "machine" "sys" "linux"; do 14521 for dir in "machine" "sys" "linux"; do
14528 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14522 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14529 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14523 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14530 echo "configure:14531: checking for ${dir}/soundcard.h" >&5 14524 echo "configure:14525: checking for ${dir}/soundcard.h" >&5
14531 14525
14532 cat > conftest.$ac_ext <<EOF 14526 cat > conftest.$ac_ext <<EOF
14533 #line 14534 "configure" 14527 #line 14528 "configure"
14534 #include "confdefs.h" 14528 #include "confdefs.h"
14535 #include <${dir}/soundcard.h> 14529 #include <${dir}/soundcard.h>
14536 EOF 14530 EOF
14537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14538 { (eval echo configure:14539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14532 { (eval echo configure:14533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14540 if test -z "$ac_err"; then 14534 if test -z "$ac_err"; then
14541 rm -rf conftest* 14535 rm -rf conftest*
14542 eval "ac_cv_header_$ac_safe=yes" 14536 eval "ac_cv_header_$ac_safe=yes"
14543 else 14537 else
14587 fi 14581 fi
14588 14582
14589 if test "$with_nas_sound" != "no"; then 14583 if test "$with_nas_sound" != "no"; then
14590 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14584 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14591 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14585 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14592 echo "configure:14593: checking for audio/audiolib.h" >&5 14586 echo "configure:14587: checking for audio/audiolib.h" >&5
14593 14587
14594 cat > conftest.$ac_ext <<EOF 14588 cat > conftest.$ac_ext <<EOF
14595 #line 14596 "configure" 14589 #line 14590 "configure"
14596 #include "confdefs.h" 14590 #include "confdefs.h"
14597 #include <audio/audiolib.h> 14591 #include <audio/audiolib.h>
14598 EOF 14592 EOF
14599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14600 { (eval echo configure:14601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14594 { (eval echo configure:14595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14602 if test -z "$ac_err"; then 14596 if test -z "$ac_err"; then
14603 rm -rf conftest* 14597 rm -rf conftest*
14604 eval "ac_cv_header_$ac_safe=yes" 14598 eval "ac_cv_header_$ac_safe=yes"
14605 else 14599 else
14613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14607 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14614 echo "$ac_t""yes" 1>&6 14608 echo "$ac_t""yes" 1>&6
14615 14609
14616 14610
14617 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14611 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14618 echo "configure:14619: checking for AuOpenServer in -laudio" >&5 14612 echo "configure:14613: checking for AuOpenServer in -laudio" >&5
14619 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14613 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14620 14614
14621 xe_check_libs=" -laudio " 14615 xe_check_libs=" -laudio "
14622 cat > conftest.$ac_ext <<EOF 14616 cat > conftest.$ac_ext <<EOF
14623 #line 14624 "configure" 14617 #line 14618 "configure"
14624 #include "confdefs.h" 14618 #include "confdefs.h"
14625 /* Override any gcc2 internal prototype to avoid an error. */ 14619 /* Override any gcc2 internal prototype to avoid an error. */
14626 /* We use char because int might match the return type of a gcc2 14620 /* We use char because int might match the return type of a gcc2
14627 builtin and then its argument prototype would still apply. */ 14621 builtin and then its argument prototype would still apply. */
14628 char AuOpenServer(); 14622 char AuOpenServer();
14629 14623
14630 int main() { 14624 int main() {
14631 AuOpenServer() 14625 AuOpenServer()
14632 ; return 0; } 14626 ; return 0; }
14633 EOF 14627 EOF
14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14628 if { (eval echo configure:14629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14635 rm -rf conftest* 14629 rm -rf conftest*
14636 eval "ac_cv_lib_$ac_lib_var=yes" 14630 eval "ac_cv_lib_$ac_lib_var=yes"
14637 else 14631 else
14638 echo "configure: failed program was:" >&5 14632 echo "configure: failed program was:" >&5
14639 cat conftest.$ac_ext >&5 14633 cat conftest.$ac_ext >&5
14668 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14662 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14669 echo " xemacs will be linked with \"nas.o\"" 14663 echo " xemacs will be linked with \"nas.o\""
14670 fi 14664 fi
14671 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14665 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14672 cat > conftest.$ac_ext <<EOF 14666 cat > conftest.$ac_ext <<EOF
14673 #line 14674 "configure" 14667 #line 14668 "configure"
14674 #include "confdefs.h" 14668 #include "confdefs.h"
14675 #include <audio/Xtutil.h> 14669 #include <audio/Xtutil.h>
14676 EOF 14670 EOF
14677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14678 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14672 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14699 14693
14700 if test "$with_esd_sound" != "no"; then 14694 if test "$with_esd_sound" != "no"; then
14701 # Extract the first word of "esd-config", so it can be a program name with args. 14695 # Extract the first word of "esd-config", so it can be a program name with args.
14702 set dummy esd-config; ac_word=$2 14696 set dummy esd-config; ac_word=$2
14703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14704 echo "configure:14705: checking for $ac_word" >&5 14698 echo "configure:14699: checking for $ac_word" >&5
14705 14699
14706 if test -n "$have_esd_config"; then 14700 if test -n "$have_esd_config"; then
14707 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14701 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14708 else 14702 else
14709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14703 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14728 if test "$have_esd_config" = "yes"; then 14722 if test "$have_esd_config" = "yes"; then
14729 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14723 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14730 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 14724 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
14731 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14725 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14732 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14726 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14733 echo "configure:14734: checking for esd_play_stream" >&5 14727 echo "configure:14728: checking for esd_play_stream" >&5
14734 14728
14735 cat > conftest.$ac_ext <<EOF 14729 cat > conftest.$ac_ext <<EOF
14736 #line 14737 "configure" 14730 #line 14731 "configure"
14737 #include "confdefs.h" 14731 #include "confdefs.h"
14738 /* System header to define __stub macros and hopefully few prototypes, 14732 /* System header to define __stub macros and hopefully few prototypes,
14739 which can conflict with char esd_play_stream(); below. */ 14733 which can conflict with char esd_play_stream(); below. */
14740 #include <assert.h> 14734 #include <assert.h>
14741 /* Override any gcc2 internal prototype to avoid an error. */ 14735 /* Override any gcc2 internal prototype to avoid an error. */
14754 esd_play_stream(); 14748 esd_play_stream();
14755 #endif 14749 #endif
14756 14750
14757 ; return 0; } 14751 ; return 0; }
14758 EOF 14752 EOF
14759 if { (eval echo configure:14760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14753 if { (eval echo configure:14754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14760 rm -rf conftest* 14754 rm -rf conftest*
14761 eval "ac_cv_func_esd_play_stream=yes" 14755 eval "ac_cv_func_esd_play_stream=yes"
14762 else 14756 else
14763 echo "configure: failed program was:" >&5 14757 echo "configure: failed program was:" >&5
14764 cat conftest.$ac_ext >&5 14758 cat conftest.$ac_ext >&5
14805 14799
14806 test -z "$with_tty" && with_tty=yes 14800 test -z "$with_tty" && with_tty=yes
14807 14801
14808 if test "$with_tty" = "yes" ; then 14802 if test "$with_tty" = "yes" ; then
14809 echo "checking for TTY-related features" 1>&6 14803 echo "checking for TTY-related features" 1>&6
14810 echo "configure:14811: checking for TTY-related features" >&5 14804 echo "configure:14805: checking for TTY-related features" >&5
14811 { test "$extra_verbose" = "yes" && cat << \EOF 14805 { test "$extra_verbose" = "yes" && cat << \EOF
14812 Defining HAVE_TTY 14806 Defining HAVE_TTY
14813 EOF 14807 EOF
14814 cat >> confdefs.h <<\EOF 14808 cat >> confdefs.h <<\EOF
14815 #define HAVE_TTY 1 14809 #define HAVE_TTY 1
14818 14812
14819 14813
14820 if test -z "$with_ncurses"; then 14814 if test -z "$with_ncurses"; then
14821 14815
14822 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14816 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14823 echo "configure:14824: checking for tgetent in -lncurses" >&5 14817 echo "configure:14818: checking for tgetent in -lncurses" >&5
14824 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14818 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14825 14819
14826 xe_check_libs=" -lncurses " 14820 xe_check_libs=" -lncurses "
14827 cat > conftest.$ac_ext <<EOF 14821 cat > conftest.$ac_ext <<EOF
14828 #line 14829 "configure" 14822 #line 14823 "configure"
14829 #include "confdefs.h" 14823 #include "confdefs.h"
14830 /* Override any gcc2 internal prototype to avoid an error. */ 14824 /* Override any gcc2 internal prototype to avoid an error. */
14831 /* We use char because int might match the return type of a gcc2 14825 /* We use char because int might match the return type of a gcc2
14832 builtin and then its argument prototype would still apply. */ 14826 builtin and then its argument prototype would still apply. */
14833 char tgetent(); 14827 char tgetent();
14834 14828
14835 int main() { 14829 int main() {
14836 tgetent() 14830 tgetent()
14837 ; return 0; } 14831 ; return 0; }
14838 EOF 14832 EOF
14839 if { (eval echo configure:14840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14833 if { (eval echo configure:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14840 rm -rf conftest* 14834 rm -rf conftest*
14841 eval "ac_cv_lib_$ac_lib_var=yes" 14835 eval "ac_cv_lib_$ac_lib_var=yes"
14842 else 14836 else
14843 echo "configure: failed program was:" >&5 14837 echo "configure: failed program was:" >&5
14844 cat conftest.$ac_ext >&5 14838 cat conftest.$ac_ext >&5
14867 EOF 14861 EOF
14868 } 14862 }
14869 14863
14870 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14864 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14871 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14865 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14872 echo "configure:14873: checking for ncurses/curses.h" >&5 14866 echo "configure:14867: checking for ncurses/curses.h" >&5
14873 14867
14874 cat > conftest.$ac_ext <<EOF 14868 cat > conftest.$ac_ext <<EOF
14875 #line 14876 "configure" 14869 #line 14870 "configure"
14876 #include "confdefs.h" 14870 #include "confdefs.h"
14877 #include <ncurses/curses.h> 14871 #include <ncurses/curses.h>
14878 EOF 14872 EOF
14879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14880 { (eval echo configure:14881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14874 { (eval echo configure:14875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14882 if test -z "$ac_err"; then 14876 if test -z "$ac_err"; then
14883 rm -rf conftest* 14877 rm -rf conftest*
14884 eval "ac_cv_header_$ac_safe=yes" 14878 eval "ac_cv_header_$ac_safe=yes"
14885 else 14879 else
14897 echo "$ac_t""no" 1>&6 14891 echo "$ac_t""no" 1>&6
14898 fi 14892 fi
14899 14893
14900 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14894 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14901 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14895 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14902 echo "configure:14903: checking for ncurses/term.h" >&5 14896 echo "configure:14897: checking for ncurses/term.h" >&5
14903 14897
14904 cat > conftest.$ac_ext <<EOF 14898 cat > conftest.$ac_ext <<EOF
14905 #line 14906 "configure" 14899 #line 14900 "configure"
14906 #include "confdefs.h" 14900 #include "confdefs.h"
14907 #include <ncurses/term.h> 14901 #include <ncurses/term.h>
14908 EOF 14902 EOF
14909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14910 { (eval echo configure:14911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14904 { (eval echo configure:14905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14912 if test -z "$ac_err"; then 14906 if test -z "$ac_err"; then
14913 rm -rf conftest* 14907 rm -rf conftest*
14914 eval "ac_cv_header_$ac_safe=yes" 14908 eval "ac_cv_header_$ac_safe=yes"
14915 else 14909 else
14935 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14929 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14936 save_c_switch_site="$c_switch_site" 14930 save_c_switch_site="$c_switch_site"
14937 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14931 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14938 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14932 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14939 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14933 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14940 echo "configure:14941: checking for ncurses/curses.h" >&5 14934 echo "configure:14935: checking for ncurses/curses.h" >&5
14941 14935
14942 cat > conftest.$ac_ext <<EOF 14936 cat > conftest.$ac_ext <<EOF
14943 #line 14944 "configure" 14937 #line 14938 "configure"
14944 #include "confdefs.h" 14938 #include "confdefs.h"
14945 #include <ncurses/curses.h> 14939 #include <ncurses/curses.h>
14946 EOF 14940 EOF
14947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14948 { (eval echo configure:14949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14942 { (eval echo configure:14943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14950 if test -z "$ac_err"; then 14944 if test -z "$ac_err"; then
14951 rm -rf conftest* 14945 rm -rf conftest*
14952 eval "ac_cv_header_$ac_safe=yes" 14946 eval "ac_cv_header_$ac_safe=yes"
14953 else 14947 else
14978 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14972 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14979 else 14973 else
14980 for lib in curses termlib termcap; do 14974 for lib in curses termlib termcap; do
14981 14975
14982 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14976 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14983 echo "configure:14984: checking for tgetent in -l$lib" >&5 14977 echo "configure:14978: checking for tgetent in -l$lib" >&5
14984 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14978 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14985 14979
14986 xe_check_libs=" -l$lib " 14980 xe_check_libs=" -l$lib "
14987 cat > conftest.$ac_ext <<EOF 14981 cat > conftest.$ac_ext <<EOF
14988 #line 14989 "configure" 14982 #line 14983 "configure"
14989 #include "confdefs.h" 14983 #include "confdefs.h"
14990 /* Override any gcc2 internal prototype to avoid an error. */ 14984 /* Override any gcc2 internal prototype to avoid an error. */
14991 /* We use char because int might match the return type of a gcc2 14985 /* We use char because int might match the return type of a gcc2
14992 builtin and then its argument prototype would still apply. */ 14986 builtin and then its argument prototype would still apply. */
14993 char tgetent(); 14987 char tgetent();
14994 14988
14995 int main() { 14989 int main() {
14996 tgetent() 14990 tgetent()
14997 ; return 0; } 14991 ; return 0; }
14998 EOF 14992 EOF
14999 if { (eval echo configure:15000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15000 rm -rf conftest* 14994 rm -rf conftest*
15001 eval "ac_cv_lib_$ac_lib_var=yes" 14995 eval "ac_cv_lib_$ac_lib_var=yes"
15002 else 14996 else
15003 echo "configure: failed program was:" >&5 14997 echo "configure: failed program was:" >&5
15004 cat conftest.$ac_ext >&5 14998 cat conftest.$ac_ext >&5
15025 if test -n "$libs_termcap"; then 15019 if test -n "$libs_termcap"; then
15026 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15020 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15027 else 15021 else
15028 15022
15029 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15023 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15030 echo "configure:15031: checking for tgetent in -lcurses" >&5 15024 echo "configure:15025: checking for tgetent in -lcurses" >&5
15031 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15025 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15032 15026
15033 xe_check_libs=" -lcurses " 15027 xe_check_libs=" -lcurses "
15034 cat > conftest.$ac_ext <<EOF 15028 cat > conftest.$ac_ext <<EOF
15035 #line 15036 "configure" 15029 #line 15030 "configure"
15036 #include "confdefs.h" 15030 #include "confdefs.h"
15037 /* Override any gcc2 internal prototype to avoid an error. */ 15031 /* Override any gcc2 internal prototype to avoid an error. */
15038 /* We use char because int might match the return type of a gcc2 15032 /* We use char because int might match the return type of a gcc2
15039 builtin and then its argument prototype would still apply. */ 15033 builtin and then its argument prototype would still apply. */
15040 char tgetent(); 15034 char tgetent();
15041 15035
15042 int main() { 15036 int main() {
15043 tgetent() 15037 tgetent()
15044 ; return 0; } 15038 ; return 0; }
15045 EOF 15039 EOF
15046 if { (eval echo configure:15047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15040 if { (eval echo configure:15041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15047 rm -rf conftest* 15041 rm -rf conftest*
15048 eval "ac_cv_lib_$ac_lib_var=yes" 15042 eval "ac_cv_lib_$ac_lib_var=yes"
15049 else 15043 else
15050 echo "configure: failed program was:" >&5 15044 echo "configure: failed program was:" >&5
15051 cat conftest.$ac_ext >&5 15045 cat conftest.$ac_ext >&5
15059 echo "$ac_t""yes" 1>&6 15053 echo "$ac_t""yes" 1>&6
15060 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15054 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15061 else 15055 else
15062 echo "$ac_t""no" 1>&6 15056 echo "$ac_t""no" 1>&6
15063 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15057 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15064 echo "configure:15065: checking for tgetent in -ltermcap" >&5 15058 echo "configure:15059: checking for tgetent in -ltermcap" >&5
15065 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15059 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15066 15060
15067 xe_check_libs=" -ltermcap " 15061 xe_check_libs=" -ltermcap "
15068 cat > conftest.$ac_ext <<EOF 15062 cat > conftest.$ac_ext <<EOF
15069 #line 15070 "configure" 15063 #line 15064 "configure"
15070 #include "confdefs.h" 15064 #include "confdefs.h"
15071 /* Override any gcc2 internal prototype to avoid an error. */ 15065 /* Override any gcc2 internal prototype to avoid an error. */
15072 /* We use char because int might match the return type of a gcc2 15066 /* We use char because int might match the return type of a gcc2
15073 builtin and then its argument prototype would still apply. */ 15067 builtin and then its argument prototype would still apply. */
15074 char tgetent(); 15068 char tgetent();
15075 15069
15076 int main() { 15070 int main() {
15077 tgetent() 15071 tgetent()
15078 ; return 0; } 15072 ; return 0; }
15079 EOF 15073 EOF
15080 if { (eval echo configure:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15074 if { (eval echo configure:15075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15081 rm -rf conftest* 15075 rm -rf conftest*
15082 eval "ac_cv_lib_$ac_lib_var=yes" 15076 eval "ac_cv_lib_$ac_lib_var=yes"
15083 else 15077 else
15084 echo "configure: failed program was:" >&5 15078 echo "configure: failed program was:" >&5
15085 cat conftest.$ac_ext >&5 15079 cat conftest.$ac_ext >&5
15124 15118
15125 15119
15126 if test "$with_gpm" != "no"; then 15120 if test "$with_gpm" != "no"; then
15127 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15121 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15128 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15122 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15129 echo "configure:15130: checking for gpm.h" >&5 15123 echo "configure:15124: checking for gpm.h" >&5
15130 15124
15131 cat > conftest.$ac_ext <<EOF 15125 cat > conftest.$ac_ext <<EOF
15132 #line 15133 "configure" 15126 #line 15127 "configure"
15133 #include "confdefs.h" 15127 #include "confdefs.h"
15134 #include <gpm.h> 15128 #include <gpm.h>
15135 EOF 15129 EOF
15136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15130 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; } 15131 { (eval echo configure:15132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15139 if test -z "$ac_err"; then 15133 if test -z "$ac_err"; then
15140 rm -rf conftest* 15134 rm -rf conftest*
15141 eval "ac_cv_header_$ac_safe=yes" 15135 eval "ac_cv_header_$ac_safe=yes"
15142 else 15136 else
15150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15144 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15151 echo "$ac_t""yes" 1>&6 15145 echo "$ac_t""yes" 1>&6
15152 15146
15153 15147
15154 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15148 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15155 echo "configure:15156: checking for Gpm_Open in -lgpm" >&5 15149 echo "configure:15150: checking for Gpm_Open in -lgpm" >&5
15156 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15150 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15157 15151
15158 xe_check_libs=" -lgpm " 15152 xe_check_libs=" -lgpm "
15159 cat > conftest.$ac_ext <<EOF 15153 cat > conftest.$ac_ext <<EOF
15160 #line 15161 "configure" 15154 #line 15155 "configure"
15161 #include "confdefs.h" 15155 #include "confdefs.h"
15162 /* Override any gcc2 internal prototype to avoid an error. */ 15156 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2 15157 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */ 15158 builtin and then its argument prototype would still apply. */
15165 char Gpm_Open(); 15159 char Gpm_Open();
15166 15160
15167 int main() { 15161 int main() {
15168 Gpm_Open() 15162 Gpm_Open()
15169 ; return 0; } 15163 ; return 0; }
15170 EOF 15164 EOF
15171 if { (eval echo configure:15172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15165 if { (eval echo configure:15166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15172 rm -rf conftest* 15166 rm -rf conftest*
15173 eval "ac_cv_lib_$ac_lib_var=yes" 15167 eval "ac_cv_lib_$ac_lib_var=yes"
15174 else 15168 else
15175 echo "configure: failed program was:" >&5 15169 echo "configure: failed program was:" >&5
15176 cat conftest.$ac_ext >&5 15170 cat conftest.$ac_ext >&5
15218 done 15212 done
15219 fi 15213 fi
15220 15214
15221 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15215 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15222 != "no no no" && echo "checking for database support" 1>&6 15216 != "no no no" && echo "checking for database support" 1>&6
15223 echo "configure:15224: checking for database support" >&5 15217 echo "configure:15218: checking for database support" >&5
15224 15218
15225 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15219 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15226 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15220 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15227 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15221 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15228 echo "configure:15229: checking for ndbm.h" >&5 15222 echo "configure:15223: checking for ndbm.h" >&5
15229 15223
15230 cat > conftest.$ac_ext <<EOF 15224 cat > conftest.$ac_ext <<EOF
15231 #line 15232 "configure" 15225 #line 15226 "configure"
15232 #include "confdefs.h" 15226 #include "confdefs.h"
15233 #include <ndbm.h> 15227 #include <ndbm.h>
15234 EOF 15228 EOF
15235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15236 { (eval echo configure:15237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15230 { (eval echo configure:15231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15238 if test -z "$ac_err"; then 15232 if test -z "$ac_err"; then
15239 rm -rf conftest* 15233 rm -rf conftest*
15240 eval "ac_cv_header_$ac_safe=yes" 15234 eval "ac_cv_header_$ac_safe=yes"
15241 else 15235 else
15261 fi 15255 fi
15262 15256
15263 if test "$with_database_gdbm" != "no"; then 15257 if test "$with_database_gdbm" != "no"; then
15264 15258
15265 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15259 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15266 echo "configure:15267: checking for dbm_open in -lgdbm" >&5 15260 echo "configure:15261: checking for dbm_open in -lgdbm" >&5
15267 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15261 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15268 15262
15269 xe_check_libs=" -lgdbm " 15263 xe_check_libs=" -lgdbm "
15270 cat > conftest.$ac_ext <<EOF 15264 cat > conftest.$ac_ext <<EOF
15271 #line 15272 "configure" 15265 #line 15266 "configure"
15272 #include "confdefs.h" 15266 #include "confdefs.h"
15273 /* Override any gcc2 internal prototype to avoid an error. */ 15267 /* Override any gcc2 internal prototype to avoid an error. */
15274 /* We use char because int might match the return type of a gcc2 15268 /* We use char because int might match the return type of a gcc2
15275 builtin and then its argument prototype would still apply. */ 15269 builtin and then its argument prototype would still apply. */
15276 char dbm_open(); 15270 char dbm_open();
15277 15271
15278 int main() { 15272 int main() {
15279 dbm_open() 15273 dbm_open()
15280 ; return 0; } 15274 ; return 0; }
15281 EOF 15275 EOF
15282 if { (eval echo configure:15283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15276 if { (eval echo configure:15277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15283 rm -rf conftest* 15277 rm -rf conftest*
15284 eval "ac_cv_lib_$ac_lib_var=yes" 15278 eval "ac_cv_lib_$ac_lib_var=yes"
15285 else 15279 else
15286 echo "configure: failed program was:" >&5 15280 echo "configure: failed program was:" >&5
15287 cat conftest.$ac_ext >&5 15281 cat conftest.$ac_ext >&5
15305 15299
15306 fi 15300 fi
15307 15301
15308 if test "$with_database_dbm" != "no"; then 15302 if test "$with_database_dbm" != "no"; then
15309 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15303 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15310 echo "configure:15311: checking for dbm_open" >&5 15304 echo "configure:15305: checking for dbm_open" >&5
15311 15305
15312 cat > conftest.$ac_ext <<EOF 15306 cat > conftest.$ac_ext <<EOF
15313 #line 15314 "configure" 15307 #line 15308 "configure"
15314 #include "confdefs.h" 15308 #include "confdefs.h"
15315 /* System header to define __stub macros and hopefully few prototypes, 15309 /* System header to define __stub macros and hopefully few prototypes,
15316 which can conflict with char dbm_open(); below. */ 15310 which can conflict with char dbm_open(); below. */
15317 #include <assert.h> 15311 #include <assert.h>
15318 /* Override any gcc2 internal prototype to avoid an error. */ 15312 /* Override any gcc2 internal prototype to avoid an error. */
15331 dbm_open(); 15325 dbm_open();
15332 #endif 15326 #endif
15333 15327
15334 ; return 0; } 15328 ; return 0; }
15335 EOF 15329 EOF
15336 if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15330 if { (eval echo configure:15331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15337 rm -rf conftest* 15331 rm -rf conftest*
15338 eval "ac_cv_func_dbm_open=yes" 15332 eval "ac_cv_func_dbm_open=yes"
15339 else 15333 else
15340 echo "configure: failed program was:" >&5 15334 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5 15335 cat conftest.$ac_ext >&5
15350 else 15344 else
15351 echo "$ac_t""no" 1>&6 15345 echo "$ac_t""no" 1>&6
15352 15346
15353 15347
15354 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15348 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15355 echo "configure:15356: checking for dbm_open in -ldbm" >&5 15349 echo "configure:15350: checking for dbm_open in -ldbm" >&5
15356 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15350 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15357 15351
15358 xe_check_libs=" -ldbm " 15352 xe_check_libs=" -ldbm "
15359 cat > conftest.$ac_ext <<EOF 15353 cat > conftest.$ac_ext <<EOF
15360 #line 15361 "configure" 15354 #line 15355 "configure"
15361 #include "confdefs.h" 15355 #include "confdefs.h"
15362 /* Override any gcc2 internal prototype to avoid an error. */ 15356 /* Override any gcc2 internal prototype to avoid an error. */
15363 /* We use char because int might match the return type of a gcc2 15357 /* We use char because int might match the return type of a gcc2
15364 builtin and then its argument prototype would still apply. */ 15358 builtin and then its argument prototype would still apply. */
15365 char dbm_open(); 15359 char dbm_open();
15366 15360
15367 int main() { 15361 int main() {
15368 dbm_open() 15362 dbm_open()
15369 ; return 0; } 15363 ; return 0; }
15370 EOF 15364 EOF
15371 if { (eval echo configure:15372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15365 if { (eval echo configure:15366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15372 rm -rf conftest* 15366 rm -rf conftest*
15373 eval "ac_cv_lib_$ac_lib_var=yes" 15367 eval "ac_cv_lib_$ac_lib_var=yes"
15374 else 15368 else
15375 echo "configure: failed program was:" >&5 15369 echo "configure: failed program was:" >&5
15376 cat conftest.$ac_ext >&5 15370 cat conftest.$ac_ext >&5
15407 } 15401 }
15408 15402
15409 15403
15410 if test "$with_database_berkdb" != "no"; then 15404 if test "$with_database_berkdb" != "no"; then
15411 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15405 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15412 echo "configure:15413: checking for Berkeley db.h" >&5 15406 echo "configure:15407: checking for Berkeley db.h" >&5
15413 for header in "db/db.h" "db.h"; do 15407 for header in "db/db.h" "db.h"; do
15414 cat > conftest.$ac_ext <<EOF 15408 cat > conftest.$ac_ext <<EOF
15415 #line 15416 "configure" 15409 #line 15410 "configure"
15416 #include "confdefs.h" 15410 #include "confdefs.h"
15417 15411
15418 #include <stdlib.h> 15412 #include <stdlib.h>
15419 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15413 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15420 #ifdef HAVE_INTTYPES_H 15414 #ifdef HAVE_INTTYPES_H
15432 15426
15433 int main() { 15427 int main() {
15434 15428
15435 ; return 0; } 15429 ; return 0; }
15436 EOF 15430 EOF
15437 if { (eval echo configure:15438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15431 if { (eval echo configure:15432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15438 rm -rf conftest* 15432 rm -rf conftest*
15439 db_h_file="$header"; break 15433 db_h_file="$header"; break
15440 else 15434 else
15441 echo "configure: failed program was:" >&5 15435 echo "configure: failed program was:" >&5
15442 cat conftest.$ac_ext >&5 15436 cat conftest.$ac_ext >&5
15448 else echo "$ac_t""$db_h_file" 1>&6 15442 else echo "$ac_t""$db_h_file" 1>&6
15449 fi 15443 fi
15450 15444
15451 if test "$with_database_berkdb" != "no"; then 15445 if test "$with_database_berkdb" != "no"; then
15452 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15446 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15453 echo "configure:15454: checking for Berkeley DB version" >&5 15447 echo "configure:15448: checking for Berkeley DB version" >&5
15454 cat > conftest.$ac_ext <<EOF 15448 cat > conftest.$ac_ext <<EOF
15455 #line 15456 "configure" 15449 #line 15450 "configure"
15456 #include "confdefs.h" 15450 #include "confdefs.h"
15457 #include <$db_h_file> 15451 #include <$db_h_file>
15458 #if DB_VERSION_MAJOR > 1 15452 #if DB_VERSION_MAJOR > 1
15459 yes 15453 yes
15460 #endif 15454 #endif
15462 EOF 15456 EOF
15463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15464 egrep "yes" >/dev/null 2>&1; then 15458 egrep "yes" >/dev/null 2>&1; then
15465 rm -rf conftest* 15459 rm -rf conftest*
15466 cat > conftest.$ac_ext <<EOF 15460 cat > conftest.$ac_ext <<EOF
15467 #line 15468 "configure" 15461 #line 15462 "configure"
15468 #include "confdefs.h" 15462 #include "confdefs.h"
15469 #include <$db_h_file> 15463 #include <$db_h_file>
15470 #if DB_VERSION_MAJOR > 2 15464 #if DB_VERSION_MAJOR > 2
15471 yes 15465 yes
15472 #endif 15466 #endif
15474 EOF 15468 EOF
15475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15476 egrep "yes" >/dev/null 2>&1; then 15470 egrep "yes" >/dev/null 2>&1; then
15477 rm -rf conftest* 15471 rm -rf conftest*
15478 cat > conftest.$ac_ext <<EOF 15472 cat > conftest.$ac_ext <<EOF
15479 #line 15480 "configure" 15473 #line 15474 "configure"
15480 #include "confdefs.h" 15474 #include "confdefs.h"
15481 #include <$db_h_file> 15475 #include <$db_h_file>
15482 #if DB_VERSION_MAJOR > 3 15476 #if DB_VERSION_MAJOR > 3
15483 yes 15477 yes
15484 #endif 15478 #endif
15508 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15502 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15509 fi 15503 fi
15510 rm -f conftest* 15504 rm -f conftest*
15511 15505
15512 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15506 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15513 echo "configure:15514: checking for $dbfunc" >&5 15507 echo "configure:15508: checking for $dbfunc" >&5
15514 15508
15515 cat > conftest.$ac_ext <<EOF 15509 cat > conftest.$ac_ext <<EOF
15516 #line 15517 "configure" 15510 #line 15511 "configure"
15517 #include "confdefs.h" 15511 #include "confdefs.h"
15518 /* System header to define __stub macros and hopefully few prototypes, 15512 /* System header to define __stub macros and hopefully few prototypes,
15519 which can conflict with char $dbfunc(); below. */ 15513 which can conflict with char $dbfunc(); below. */
15520 #include <assert.h> 15514 #include <assert.h>
15521 /* Override any gcc2 internal prototype to avoid an error. */ 15515 /* Override any gcc2 internal prototype to avoid an error. */
15534 $dbfunc(); 15528 $dbfunc();
15535 #endif 15529 #endif
15536 15530
15537 ; return 0; } 15531 ; return 0; }
15538 EOF 15532 EOF
15539 if { (eval echo configure:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15533 if { (eval echo configure:15534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15540 rm -rf conftest* 15534 rm -rf conftest*
15541 eval "ac_cv_func_$dbfunc=yes" 15535 eval "ac_cv_func_$dbfunc=yes"
15542 else 15536 else
15543 echo "configure: failed program was:" >&5 15537 echo "configure: failed program was:" >&5
15544 cat conftest.$ac_ext >&5 15538 cat conftest.$ac_ext >&5
15553 else 15547 else
15554 echo "$ac_t""no" 1>&6 15548 echo "$ac_t""no" 1>&6
15555 15549
15556 15550
15557 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15551 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15558 echo "configure:15559: checking for $dbfunc in -ldb" >&5 15552 echo "configure:15553: checking for $dbfunc in -ldb" >&5
15559 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15553 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15560 15554
15561 xe_check_libs=" -ldb " 15555 xe_check_libs=" -ldb "
15562 cat > conftest.$ac_ext <<EOF 15556 cat > conftest.$ac_ext <<EOF
15563 #line 15564 "configure" 15557 #line 15558 "configure"
15564 #include "confdefs.h" 15558 #include "confdefs.h"
15565 /* Override any gcc2 internal prototype to avoid an error. */ 15559 /* Override any gcc2 internal prototype to avoid an error. */
15566 /* We use char because int might match the return type of a gcc2 15560 /* We use char because int might match the return type of a gcc2
15567 builtin and then its argument prototype would still apply. */ 15561 builtin and then its argument prototype would still apply. */
15568 char $dbfunc(); 15562 char $dbfunc();
15569 15563
15570 int main() { 15564 int main() {
15571 $dbfunc() 15565 $dbfunc()
15572 ; return 0; } 15566 ; return 0; }
15573 EOF 15567 EOF
15574 if { (eval echo configure:15575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15568 if { (eval echo configure:15569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15575 rm -rf conftest* 15569 rm -rf conftest*
15576 eval "ac_cv_lib_$ac_lib_var=yes" 15570 eval "ac_cv_lib_$ac_lib_var=yes"
15577 else 15571 else
15578 echo "configure: failed program was:" >&5 15572 echo "configure: failed program was:" >&5
15579 cat conftest.$ac_ext >&5 15573 cat conftest.$ac_ext >&5
15603 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15597 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15604 rm -f $tempcname 15598 rm -f $tempcname
15605 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15599 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15606 15600
15607 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15601 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15608 echo "configure:15609: checking for $dbfunc in -ldb" >&5 15602 echo "configure:15603: checking for $dbfunc in -ldb" >&5
15609 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15603 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15610 15604
15611 xe_check_libs=" -ldb " 15605 xe_check_libs=" -ldb "
15612 cat > conftest.$ac_ext <<EOF 15606 cat > conftest.$ac_ext <<EOF
15613 #line 15614 "configure" 15607 #line 15608 "configure"
15614 #include "confdefs.h" 15608 #include "confdefs.h"
15615 /* Override any gcc2 internal prototype to avoid an error. */ 15609 /* Override any gcc2 internal prototype to avoid an error. */
15616 /* We use char because int might match the return type of a gcc2 15610 /* We use char because int might match the return type of a gcc2
15617 builtin and then its argument prototype would still apply. */ 15611 builtin and then its argument prototype would still apply. */
15618 char $dbfunc(); 15612 char $dbfunc();
15619 15613
15620 int main() { 15614 int main() {
15621 $dbfunc() 15615 $dbfunc()
15622 ; return 0; } 15616 ; return 0; }
15623 EOF 15617 EOF
15624 if { (eval echo configure:15625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15618 if { (eval echo configure:15619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15625 rm -rf conftest* 15619 rm -rf conftest*
15626 eval "ac_cv_lib_$ac_lib_var=yes" 15620 eval "ac_cv_lib_$ac_lib_var=yes"
15627 else 15621 else
15628 echo "configure: failed program was:" >&5 15622 echo "configure: failed program was:" >&5
15629 cat conftest.$ac_ext >&5 15623 cat conftest.$ac_ext >&5
15678 fi 15672 fi
15679 15673
15680 if test "$with_socks" = "yes"; then 15674 if test "$with_socks" = "yes"; then
15681 15675
15682 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15676 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15683 echo "configure:15684: checking for SOCKSinit in -lsocks" >&5 15677 echo "configure:15678: checking for SOCKSinit in -lsocks" >&5
15684 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15678 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15685 15679
15686 xe_check_libs=" -lsocks " 15680 xe_check_libs=" -lsocks "
15687 cat > conftest.$ac_ext <<EOF 15681 cat > conftest.$ac_ext <<EOF
15688 #line 15689 "configure" 15682 #line 15683 "configure"
15689 #include "confdefs.h" 15683 #include "confdefs.h"
15690 /* Override any gcc2 internal prototype to avoid an error. */ 15684 /* Override any gcc2 internal prototype to avoid an error. */
15691 /* We use char because int might match the return type of a gcc2 15685 /* We use char because int might match the return type of a gcc2
15692 builtin and then its argument prototype would still apply. */ 15686 builtin and then its argument prototype would still apply. */
15693 char SOCKSinit(); 15687 char SOCKSinit();
15694 15688
15695 int main() { 15689 int main() {
15696 SOCKSinit() 15690 SOCKSinit()
15697 ; return 0; } 15691 ; return 0; }
15698 EOF 15692 EOF
15699 if { (eval echo configure:15700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15693 if { (eval echo configure:15694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15700 rm -rf conftest* 15694 rm -rf conftest*
15701 eval "ac_cv_lib_$ac_lib_var=yes" 15695 eval "ac_cv_lib_$ac_lib_var=yes"
15702 else 15696 else
15703 echo "configure: failed program was:" >&5 15697 echo "configure: failed program was:" >&5
15704 cat conftest.$ac_ext >&5 15698 cat conftest.$ac_ext >&5
15750 fi 15744 fi
15751 15745
15752 if test "$use_number_lib" = "gmp"; then 15746 if test "$use_number_lib" = "gmp"; then
15753 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15747 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15754 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15748 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15755 echo "configure:15756: checking for gmp.h" >&5 15749 echo "configure:15750: checking for gmp.h" >&5
15756 15750
15757 cat > conftest.$ac_ext <<EOF 15751 cat > conftest.$ac_ext <<EOF
15758 #line 15759 "configure" 15752 #line 15753 "configure"
15759 #include "confdefs.h" 15753 #include "confdefs.h"
15760 #include <gmp.h> 15754 #include <gmp.h>
15761 EOF 15755 EOF
15762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15763 { (eval echo configure:15764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15757 { (eval echo configure:15758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15765 if test -z "$ac_err"; then 15759 if test -z "$ac_err"; then
15766 rm -rf conftest* 15760 rm -rf conftest*
15767 eval "ac_cv_header_$ac_safe=yes" 15761 eval "ac_cv_header_$ac_safe=yes"
15768 else 15762 else
15776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15777 echo "$ac_t""yes" 1>&6 15771 echo "$ac_t""yes" 1>&6
15778 15772
15779 15773
15780 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15774 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15781 echo "configure:15782: checking for __gmpz_init in -lgmp" >&5 15775 echo "configure:15776: checking for __gmpz_init in -lgmp" >&5
15782 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15776 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15783 15777
15784 xe_check_libs=" -lgmp " 15778 xe_check_libs=" -lgmp "
15785 cat > conftest.$ac_ext <<EOF 15779 cat > conftest.$ac_ext <<EOF
15786 #line 15787 "configure" 15780 #line 15781 "configure"
15787 #include "confdefs.h" 15781 #include "confdefs.h"
15788 /* Override any gcc2 internal prototype to avoid an error. */ 15782 /* Override any gcc2 internal prototype to avoid an error. */
15789 /* We use char because int might match the return type of a gcc2 15783 /* We use char because int might match the return type of a gcc2
15790 builtin and then its argument prototype would still apply. */ 15784 builtin and then its argument prototype would still apply. */
15791 char __gmpz_init(); 15785 char __gmpz_init();
15792 15786
15793 int main() { 15787 int main() {
15794 __gmpz_init() 15788 __gmpz_init()
15795 ; return 0; } 15789 ; return 0; }
15796 EOF 15790 EOF
15797 if { (eval echo configure:15798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15791 if { (eval echo configure:15792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15798 rm -rf conftest* 15792 rm -rf conftest*
15799 eval "ac_cv_lib_$ac_lib_var=yes" 15793 eval "ac_cv_lib_$ac_lib_var=yes"
15800 else 15794 else
15801 echo "configure: failed program was:" >&5 15795 echo "configure: failed program was:" >&5
15802 cat conftest.$ac_ext >&5 15796 cat conftest.$ac_ext >&5
15841 fi 15835 fi
15842 elif test "$use_number_lib" = "mp"; then 15836 elif test "$use_number_lib" = "mp"; then
15843 for library in "" "-lcrypto"; do 15837 for library in "" "-lcrypto"; do
15844 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 15838 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15845 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 15839 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15846 echo "configure:15847: checking for mp.h" >&5 15840 echo "configure:15841: checking for mp.h" >&5
15847 15841
15848 cat > conftest.$ac_ext <<EOF 15842 cat > conftest.$ac_ext <<EOF
15849 #line 15850 "configure" 15843 #line 15844 "configure"
15850 #include "confdefs.h" 15844 #include "confdefs.h"
15851 #include <mp.h> 15845 #include <mp.h>
15852 EOF 15846 EOF
15853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15854 { (eval echo configure:15855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15848 { (eval echo configure:15849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15856 if test -z "$ac_err"; then 15850 if test -z "$ac_err"; then
15857 rm -rf conftest* 15851 rm -rf conftest*
15858 eval "ac_cv_header_$ac_safe=yes" 15852 eval "ac_cv_header_$ac_safe=yes"
15859 else 15853 else
15869 15863
15870 15864
15871 xe_msg_checking="for mp_mfree in -lmp" 15865 xe_msg_checking="for mp_mfree in -lmp"
15872 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15866 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15873 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15867 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15874 echo "configure:15875: checking "$xe_msg_checking"" >&5 15868 echo "configure:15869: checking "$xe_msg_checking"" >&5
15875 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 15869 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
15876 15870
15877 xe_check_libs=" -lmp $library" 15871 xe_check_libs=" -lmp $library"
15878 cat > conftest.$ac_ext <<EOF 15872 cat > conftest.$ac_ext <<EOF
15879 #line 15880 "configure" 15873 #line 15874 "configure"
15880 #include "confdefs.h" 15874 #include "confdefs.h"
15881 /* Override any gcc2 internal prototype to avoid an error. */ 15875 /* Override any gcc2 internal prototype to avoid an error. */
15882 /* We use char because int might match the return type of a gcc2 15876 /* We use char because int might match the return type of a gcc2
15883 builtin and then its argument prototype would still apply. */ 15877 builtin and then its argument prototype would still apply. */
15884 char mp_mfree(); 15878 char mp_mfree();
15885 15879
15886 int main() { 15880 int main() {
15887 mp_mfree() 15881 mp_mfree()
15888 ; return 0; } 15882 ; return 0; }
15889 EOF 15883 EOF
15890 if { (eval echo configure:15891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15884 if { (eval echo configure:15885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15891 rm -rf conftest* 15885 rm -rf conftest*
15892 eval "ac_cv_lib_$ac_lib_var=yes" 15886 eval "ac_cv_lib_$ac_lib_var=yes"
15893 else 15887 else
15894 echo "configure: failed program was:" >&5 15888 echo "configure: failed program was:" >&5
15895 cat conftest.$ac_ext >&5 15889 cat conftest.$ac_ext >&5
15906 echo "$ac_t""no" 1>&6 15900 echo "$ac_t""no" 1>&6
15907 15901
15908 xe_msg_checking="for mfree in -lmp" 15902 xe_msg_checking="for mfree in -lmp"
15909 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 15903 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
15910 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 15904 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
15911 echo "configure:15912: checking "$xe_msg_checking"" >&5 15905 echo "configure:15906: checking "$xe_msg_checking"" >&5
15912 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 15906 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
15913 15907
15914 xe_check_libs=" -lmp $library" 15908 xe_check_libs=" -lmp $library"
15915 cat > conftest.$ac_ext <<EOF 15909 cat > conftest.$ac_ext <<EOF
15916 #line 15917 "configure" 15910 #line 15911 "configure"
15917 #include "confdefs.h" 15911 #include "confdefs.h"
15918 /* Override any gcc2 internal prototype to avoid an error. */ 15912 /* Override any gcc2 internal prototype to avoid an error. */
15919 /* We use char because int might match the return type of a gcc2 15913 /* We use char because int might match the return type of a gcc2
15920 builtin and then its argument prototype would still apply. */ 15914 builtin and then its argument prototype would still apply. */
15921 char mfree(); 15915 char mfree();
15922 15916
15923 int main() { 15917 int main() {
15924 mfree() 15918 mfree()
15925 ; return 0; } 15919 ; return 0; }
15926 EOF 15920 EOF
15927 if { (eval echo configure:15928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15921 if { (eval echo configure:15922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15928 rm -rf conftest* 15922 rm -rf conftest*
15929 eval "ac_cv_lib_$ac_lib_var=yes" 15923 eval "ac_cv_lib_$ac_lib_var=yes"
15930 else 15924 else
15931 echo "configure: failed program was:" >&5 15925 echo "configure: failed program was:" >&5
15932 cat conftest.$ac_ext >&5 15926 cat conftest.$ac_ext >&5
15964 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 15958 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
15965 if test "$library" != ""; then 15959 if test "$library" != ""; then
15966 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 15960 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
15967 fi 15961 fi
15968 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 15962 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
15969 echo "configure:15970: checking for mp_move" >&5 15963 echo "configure:15964: checking for mp_move" >&5
15970 15964
15971 cat > conftest.$ac_ext <<EOF 15965 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure" 15966 #line 15967 "configure"
15973 #include "confdefs.h" 15967 #include "confdefs.h"
15974 /* System header to define __stub macros and hopefully few prototypes, 15968 /* System header to define __stub macros and hopefully few prototypes,
15975 which can conflict with char mp_move(); below. */ 15969 which can conflict with char mp_move(); below. */
15976 #include <assert.h> 15970 #include <assert.h>
15977 /* Override any gcc2 internal prototype to avoid an error. */ 15971 /* Override any gcc2 internal prototype to avoid an error. */
15990 mp_move(); 15984 mp_move();
15991 #endif 15985 #endif
15992 15986
15993 ; return 0; } 15987 ; return 0; }
15994 EOF 15988 EOF
15995 if { (eval echo configure:15996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15989 if { (eval echo configure:15990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15996 rm -rf conftest* 15990 rm -rf conftest*
15997 eval "ac_cv_func_mp_move=yes" 15991 eval "ac_cv_func_mp_move=yes"
15998 else 15992 else
15999 echo "configure: failed program was:" >&5 15993 echo "configure: failed program was:" >&5
16000 cat conftest.$ac_ext >&5 15994 cat conftest.$ac_ext >&5
16021 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16015 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16022 if test "$library" != ""; then 16016 if test "$library" != ""; then
16023 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16017 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16024 fi 16018 fi
16025 echo $ac_n "checking for move""... $ac_c" 1>&6 16019 echo $ac_n "checking for move""... $ac_c" 1>&6
16026 echo "configure:16027: checking for move" >&5 16020 echo "configure:16021: checking for move" >&5
16027 16021
16028 cat > conftest.$ac_ext <<EOF 16022 cat > conftest.$ac_ext <<EOF
16029 #line 16030 "configure" 16023 #line 16024 "configure"
16030 #include "confdefs.h" 16024 #include "confdefs.h"
16031 /* System header to define __stub macros and hopefully few prototypes, 16025 /* System header to define __stub macros and hopefully few prototypes,
16032 which can conflict with char move(); below. */ 16026 which can conflict with char move(); below. */
16033 #include <assert.h> 16027 #include <assert.h>
16034 /* Override any gcc2 internal prototype to avoid an error. */ 16028 /* Override any gcc2 internal prototype to avoid an error. */
16047 move(); 16041 move();
16048 #endif 16042 #endif
16049 16043
16050 ; return 0; } 16044 ; return 0; }
16051 EOF 16045 EOF
16052 if { (eval echo configure:16053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16046 if { (eval echo configure:16047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16053 rm -rf conftest* 16047 rm -rf conftest*
16054 eval "ac_cv_func_move=yes" 16048 eval "ac_cv_func_move=yes"
16055 else 16049 else
16056 echo "configure: failed program was:" >&5 16050 echo "configure: failed program was:" >&5
16057 cat conftest.$ac_ext >&5 16051 cat conftest.$ac_ext >&5
16094 } 16088 }
16095 16089
16096 fi 16090 fi
16097 16091
16098 cat > conftest.$ac_ext <<EOF 16092 cat > conftest.$ac_ext <<EOF
16099 #line 16100 "configure" 16093 #line 16094 "configure"
16100 #include "confdefs.h" 16094 #include "confdefs.h"
16101 int main(int c,char *v[]){return 0;} 16095 int main(int c,char *v[]){return 0;}
16102 EOF 16096 EOF
16103 if { (eval echo configure:16104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16097 if { (eval echo configure:16098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16104 then 16098 then
16105 : 16099 :
16106 else 16100 else
16107 conftest_rc="$?" 16101 conftest_rc="$?"
16108 echo "configure: failed program was:" >&5 16102 echo "configure: failed program was:" >&5