Mercurial > hg > xemacs-beta
comparison configure @ 2048:193e76abdf0f
[xemacs-hg @ 2004-04-29 03:04:56 by james]
Get version information for both icc and icpc.
author | james |
---|---|
date | Thu, 29 Apr 2004 03:04:56 +0000 |
parents | 7a9919388e87 |
children | a741f294362b |
comparison
equal
deleted
inserted
replaced
2047:d49778971704 | 2048:193e76abdf0f |
---|---|
2542 #define _XOPEN_SOURCE_EXTENDED 1 | 2542 #define _XOPEN_SOURCE_EXTENDED 1 |
2543 EOF | 2543 EOF |
2544 } | 2544 } |
2545 | 2545 |
2546 ;; | 2546 ;; |
2547 freebsd4.5-9) | 2547 freebsd4.9) |
2548 { test "$extra_verbose" = "yes" && cat << \EOF | 2548 { test "$extra_verbose" = "yes" && cat << \EOF |
2549 Defining _POSIX_C_SOURCE = 199506L | 2549 Defining _POSIX_C_SOURCE = 199506L |
2550 EOF | 2550 EOF |
2551 cat >> confdefs.h <<\EOF | 2551 cat >> confdefs.h <<\EOF |
2552 #define _POSIX_C_SOURCE 199506L | 2552 #define _POSIX_C_SOURCE 199506L |
3200 | 3200 |
3201 if test "$GCC" = "yes"; then | 3201 if test "$GCC" = "yes"; then |
3202 compiler_version=`$XEMACS_CC --version | head -1` | 3202 compiler_version=`$XEMACS_CC --version | head -1` |
3203 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3203 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3204 else case "$XEMACS_CC" in | 3204 else case "$XEMACS_CC" in |
3205 icc*) | 3205 ic*) |
3206 compiler_version=`icc -V 2>&1 | head -1` | 3206 compiler_version=`icc -V 2>&1 | head -1` |
3207 ;; | 3207 ;; |
3208 *) case "$canonical" in | 3208 *) case "$canonical" in |
3209 *-*-aix* ) | 3209 *-*-aix* ) |
3210 realcc=`which $XEMACS_CC` | 3210 realcc=`which $XEMACS_CC` |
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 |
5639 | 5633 |
5640 | 5634 |
5641 | 5635 |
5642 window_system=gtk | 5636 window_system=gtk |
5643 with_gtk=yes | 5637 with_gtk=yes |
5644 if test "$with_x11" != "no"; then | 5638 with_x11=no |
5645 echo "configure: warning: Configuring GTK, forcing with_x11 to no" 1>&2 | |
5646 with_x11=no | |
5647 fi | |
5648 | |
5649 for feature in scrollbars toolbars menubars dialogs widgets | |
5650 do | |
5651 eval "feature_value=\${with_${feature}}" | |
5652 case "${feature_value}" in | |
5653 yes|no|gtk|"" ) | |
5654 ;; | |
5655 * ) | |
5656 echo "configure: warning: ${feature_value} requested for ${feature}, forcing to gtk" 1>&2 ;; | |
5657 esac | |
5658 done | |
5659 | 5639 |
5660 test "${with_scrollbars}" != "no" && with_scrollbars=gtk | 5640 test "${with_scrollbars}" != "no" && with_scrollbars=gtk |
5661 test "${with_toolbars}" != "no" && with_toolbars=gtk | 5641 test "${with_toolbars}" != no && with_toolbars=gtk |
5662 test "${with_menubars}" != "no" && with_menubars=gtk | 5642 test "${with_menubars}" != "no" && with_menubars=gtk |
5663 test "${with_dialogs}" != "no" && with_dialogs=gtk | 5643 test "${with_dialogs}" != "no" && with_dialogs=gtk |
5664 test "${with_widgets}" != "no" && with_widgets=gtk | 5644 test "${with_widgets}" != "no" && with_widgets=gtk |
5665 | 5645 |
5666 OLD_CFLAGS="${CFLAGS}" | 5646 OLD_CFLAGS="${CFLAGS}" |
5671 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5651 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5672 for ac_hdr in glade/glade.h glade.h | 5652 for ac_hdr in glade/glade.h glade.h |
5673 do | 5653 do |
5674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5676 echo "configure:5677: checking for $ac_hdr" >&5 | 5656 echo "configure:5657: checking for $ac_hdr" >&5 |
5677 | 5657 |
5678 cat > conftest.$ac_ext <<EOF | 5658 cat > conftest.$ac_ext <<EOF |
5679 #line 5680 "configure" | 5659 #line 5660 "configure" |
5680 #include "confdefs.h" | 5660 #include "confdefs.h" |
5681 #include <$ac_hdr> | 5661 #include <$ac_hdr> |
5682 EOF | 5662 EOF |
5683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5684 { (eval echo configure:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5664 { (eval echo configure:5665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5686 if test -z "$ac_err"; then | 5666 if test -z "$ac_err"; then |
5687 rm -rf conftest* | 5667 rm -rf conftest* |
5688 eval "ac_cv_header_$ac_safe=yes" | 5668 eval "ac_cv_header_$ac_safe=yes" |
5689 else | 5669 else |
5710 fi | 5690 fi |
5711 done | 5691 done |
5712 | 5692 |
5713 | 5693 |
5714 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5694 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5715 echo "configure:5716: checking for main in -lxml" >&5 | 5695 echo "configure:5696: checking for main in -lxml" >&5 |
5716 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5696 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5717 | 5697 |
5718 xe_check_libs=" -lxml " | 5698 xe_check_libs=" -lxml " |
5719 cat > conftest.$ac_ext <<EOF | 5699 cat > conftest.$ac_ext <<EOF |
5720 #line 5721 "configure" | 5700 #line 5701 "configure" |
5721 #include "confdefs.h" | 5701 #include "confdefs.h" |
5722 | 5702 |
5723 int main() { | 5703 int main() { |
5724 main() | 5704 main() |
5725 ; return 0; } | 5705 ; return 0; } |
5726 EOF | 5706 EOF |
5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5728 rm -rf conftest* | 5708 rm -rf conftest* |
5729 eval "ac_cv_lib_$ac_lib_var=yes" | 5709 eval "ac_cv_lib_$ac_lib_var=yes" |
5730 else | 5710 else |
5731 echo "configure: failed program was:" >&5 | 5711 echo "configure: failed program was:" >&5 |
5732 cat conftest.$ac_ext >&5 | 5712 cat conftest.$ac_ext >&5 |
5744 fi | 5724 fi |
5745 | 5725 |
5746 | 5726 |
5747 | 5727 |
5748 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5728 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5749 echo "configure:5750: checking for main in -lglade" >&5 | 5729 echo "configure:5730: checking for main in -lglade" >&5 |
5750 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5730 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5751 | 5731 |
5752 xe_check_libs=" -lglade " | 5732 xe_check_libs=" -lglade " |
5753 cat > conftest.$ac_ext <<EOF | 5733 cat > conftest.$ac_ext <<EOF |
5754 #line 5755 "configure" | 5734 #line 5735 "configure" |
5755 #include "confdefs.h" | 5735 #include "confdefs.h" |
5756 | 5736 |
5757 int main() { | 5737 int main() { |
5758 main() | 5738 main() |
5759 ; return 0; } | 5739 ; return 0; } |
5760 EOF | 5740 EOF |
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5741 if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5762 rm -rf conftest* | 5742 rm -rf conftest* |
5763 eval "ac_cv_lib_$ac_lib_var=yes" | 5743 eval "ac_cv_lib_$ac_lib_var=yes" |
5764 else | 5744 else |
5765 echo "configure: failed program was:" >&5 | 5745 echo "configure: failed program was:" >&5 |
5766 cat conftest.$ac_ext >&5 | 5746 cat conftest.$ac_ext >&5 |
5778 fi | 5758 fi |
5779 | 5759 |
5780 | 5760 |
5781 | 5761 |
5782 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5762 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5783 echo "configure:5784: checking for main in -lglade-gnome" >&5 | 5763 echo "configure:5764: checking for main in -lglade-gnome" >&5 |
5784 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5764 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5785 | 5765 |
5786 xe_check_libs=" -lglade-gnome " | 5766 xe_check_libs=" -lglade-gnome " |
5787 cat > conftest.$ac_ext <<EOF | 5767 cat > conftest.$ac_ext <<EOF |
5788 #line 5789 "configure" | 5768 #line 5769 "configure" |
5789 #include "confdefs.h" | 5769 #include "confdefs.h" |
5790 | 5770 |
5791 int main() { | 5771 int main() { |
5792 main() | 5772 main() |
5793 ; return 0; } | 5773 ; return 0; } |
5794 EOF | 5774 EOF |
5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5796 rm -rf conftest* | 5776 rm -rf conftest* |
5797 eval "ac_cv_lib_$ac_lib_var=yes" | 5777 eval "ac_cv_lib_$ac_lib_var=yes" |
5798 else | 5778 else |
5799 echo "configure: failed program was:" >&5 | 5779 echo "configure: failed program was:" >&5 |
5800 cat conftest.$ac_ext >&5 | 5780 cat conftest.$ac_ext >&5 |
5811 echo "$ac_t""no" 1>&6 | 5791 echo "$ac_t""no" 1>&6 |
5812 fi | 5792 fi |
5813 | 5793 |
5814 | 5794 |
5815 cat > conftest.$ac_ext <<EOF | 5795 cat > conftest.$ac_ext <<EOF |
5816 #line 5817 "configure" | 5796 #line 5797 "configure" |
5817 #include "confdefs.h" | 5797 #include "confdefs.h" |
5818 #include <glade/glade-xml.h> | 5798 #include <glade/glade-xml.h> |
5819 EOF | 5799 EOF |
5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5821 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5801 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5870 # If we find X, set shell vars x_includes and x_libraries to the | 5850 # If we find X, set shell vars x_includes and x_libraries to the |
5871 # paths, otherwise set no_x=yes. | 5851 # paths, otherwise set no_x=yes. |
5872 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5852 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5873 # --without-x overrides everything else, but does not touch the cache. | 5853 # --without-x overrides everything else, but does not touch the cache. |
5874 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5854 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5875 echo "configure:5876: checking for X" >&5 | 5855 echo "configure:5856: checking for X" >&5 |
5876 | 5856 |
5877 # Check whether --with-x or --without-x was given. | 5857 # Check whether --with-x or --without-x was given. |
5878 if test "${with_x+set}" = set; then | 5858 if test "${with_x+set}" = set; then |
5879 withval="$with_x" | 5859 withval="$with_x" |
5880 : | 5860 : |
5930 # Guess where to find include files, by looking for this one X11 .h file. | 5910 # Guess where to find include files, by looking for this one X11 .h file. |
5931 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5911 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5932 | 5912 |
5933 # First, try using that file with no special directory specified. | 5913 # First, try using that file with no special directory specified. |
5934 cat > conftest.$ac_ext <<EOF | 5914 cat > conftest.$ac_ext <<EOF |
5935 #line 5936 "configure" | 5915 #line 5916 "configure" |
5936 #include "confdefs.h" | 5916 #include "confdefs.h" |
5937 #include <$x_direct_test_include> | 5917 #include <$x_direct_test_include> |
5938 EOF | 5918 EOF |
5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5920 { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5942 if test -z "$ac_err"; then | 5922 if test -z "$ac_err"; then |
5943 rm -rf conftest* | 5923 rm -rf conftest* |
5944 # We can compile using X headers with no special include directory. | 5924 # We can compile using X headers with no special include directory. |
5945 ac_x_includes= | 5925 ac_x_includes= |
6004 # See if we find them without any special options. | 5984 # See if we find them without any special options. |
6005 # Don't add to $LIBS permanently. | 5985 # Don't add to $LIBS permanently. |
6006 ac_save_LIBS="$LIBS" | 5986 ac_save_LIBS="$LIBS" |
6007 LIBS="-l$x_direct_test_library $LIBS" | 5987 LIBS="-l$x_direct_test_library $LIBS" |
6008 cat > conftest.$ac_ext <<EOF | 5988 cat > conftest.$ac_ext <<EOF |
6009 #line 6010 "configure" | 5989 #line 5990 "configure" |
6010 #include "confdefs.h" | 5990 #include "confdefs.h" |
6011 | 5991 |
6012 int main() { | 5992 int main() { |
6013 ${x_direct_test_function}() | 5993 ${x_direct_test_function}() |
6014 ; return 0; } | 5994 ; return 0; } |
6015 EOF | 5995 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5996 if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6017 rm -rf conftest* | 5997 rm -rf conftest* |
6018 LIBS="$ac_save_LIBS" | 5998 LIBS="$ac_save_LIBS" |
6019 # We can link X programs with no special library path. | 5999 # We can link X programs with no special library path. |
6020 ac_x_libraries= | 6000 ac_x_libraries= |
6021 else | 6001 else |
6120 # For Solaris; some versions of Sun CC require a space after -R and | 6100 # For Solaris; some versions of Sun CC require a space after -R and |
6121 # others require no space. Words are not sufficient . . . . | 6101 # others require no space. Words are not sufficient . . . . |
6122 case "`(uname -sr) 2>/dev/null`" in | 6102 case "`(uname -sr) 2>/dev/null`" in |
6123 "SunOS 5"*) | 6103 "SunOS 5"*) |
6124 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6104 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6125 echo "configure:6126: checking whether -R must be followed by a space" >&5 | 6105 echo "configure:6106: checking whether -R must be followed by a space" >&5 |
6126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6127 cat > conftest.$ac_ext <<EOF | 6107 cat > conftest.$ac_ext <<EOF |
6128 #line 6129 "configure" | 6108 #line 6109 "configure" |
6129 #include "confdefs.h" | 6109 #include "confdefs.h" |
6130 | 6110 |
6131 int main() { | 6111 int main() { |
6132 | 6112 |
6133 ; return 0; } | 6113 ; return 0; } |
6134 EOF | 6114 EOF |
6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6136 rm -rf conftest* | 6116 rm -rf conftest* |
6137 ac_R_nospace=yes | 6117 ac_R_nospace=yes |
6138 else | 6118 else |
6139 echo "configure: failed program was:" >&5 | 6119 echo "configure: failed program was:" >&5 |
6140 cat conftest.$ac_ext >&5 | 6120 cat conftest.$ac_ext >&5 |
6146 echo "$ac_t""no" 1>&6 | 6126 echo "$ac_t""no" 1>&6 |
6147 X_LIBS="$X_LIBS -R$x_libraries" | 6127 X_LIBS="$X_LIBS -R$x_libraries" |
6148 else | 6128 else |
6149 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6129 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6150 cat > conftest.$ac_ext <<EOF | 6130 cat > conftest.$ac_ext <<EOF |
6151 #line 6152 "configure" | 6131 #line 6132 "configure" |
6152 #include "confdefs.h" | 6132 #include "confdefs.h" |
6153 | 6133 |
6154 int main() { | 6134 int main() { |
6155 | 6135 |
6156 ; return 0; } | 6136 ; return 0; } |
6157 EOF | 6137 EOF |
6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6159 rm -rf conftest* | 6139 rm -rf conftest* |
6160 ac_R_space=yes | 6140 ac_R_space=yes |
6161 else | 6141 else |
6162 echo "configure: failed program was:" >&5 | 6142 echo "configure: failed program was:" >&5 |
6163 cat conftest.$ac_ext >&5 | 6143 cat conftest.$ac_ext >&5 |
6189 if test "$with_dnet" = "no" ; then | 6169 if test "$with_dnet" = "no" ; then |
6190 ac_cv_lib_dnet_dnet_ntoa=no | 6170 ac_cv_lib_dnet_dnet_ntoa=no |
6191 else | 6171 else |
6192 | 6172 |
6193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6173 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6194 echo "configure:6195: checking for dnet_ntoa in -ldnet" >&5 | 6174 echo "configure:6175: checking for dnet_ntoa in -ldnet" >&5 |
6195 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6175 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6196 | 6176 |
6197 xe_check_libs=" -ldnet " | 6177 xe_check_libs=" -ldnet " |
6198 cat > conftest.$ac_ext <<EOF | 6178 cat > conftest.$ac_ext <<EOF |
6199 #line 6200 "configure" | 6179 #line 6180 "configure" |
6200 #include "confdefs.h" | 6180 #include "confdefs.h" |
6201 /* Override any gcc2 internal prototype to avoid an error. */ | 6181 /* Override any gcc2 internal prototype to avoid an error. */ |
6202 /* We use char because int might match the return type of a gcc2 | 6182 /* We use char because int might match the return type of a gcc2 |
6203 builtin and then its argument prototype would still apply. */ | 6183 builtin and then its argument prototype would still apply. */ |
6204 char dnet_ntoa(); | 6184 char dnet_ntoa(); |
6205 | 6185 |
6206 int main() { | 6186 int main() { |
6207 dnet_ntoa() | 6187 dnet_ntoa() |
6208 ; return 0; } | 6188 ; return 0; } |
6209 EOF | 6189 EOF |
6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6190 if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6211 rm -rf conftest* | 6191 rm -rf conftest* |
6212 eval "ac_cv_lib_$ac_lib_var=yes" | 6192 eval "ac_cv_lib_$ac_lib_var=yes" |
6213 else | 6193 else |
6214 echo "configure: failed program was:" >&5 | 6194 echo "configure: failed program was:" >&5 |
6215 cat conftest.$ac_ext >&5 | 6195 cat conftest.$ac_ext >&5 |
6229 fi | 6209 fi |
6230 | 6210 |
6231 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6211 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6232 | 6212 |
6233 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6213 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6234 echo "configure:6235: checking for dnet_ntoa in -ldnet_stub" >&5 | 6214 echo "configure:6215: checking for dnet_ntoa in -ldnet_stub" >&5 |
6235 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6215 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6236 | 6216 |
6237 xe_check_libs=" -ldnet_stub " | 6217 xe_check_libs=" -ldnet_stub " |
6238 cat > conftest.$ac_ext <<EOF | 6218 cat > conftest.$ac_ext <<EOF |
6239 #line 6240 "configure" | 6219 #line 6220 "configure" |
6240 #include "confdefs.h" | 6220 #include "confdefs.h" |
6241 /* Override any gcc2 internal prototype to avoid an error. */ | 6221 /* Override any gcc2 internal prototype to avoid an error. */ |
6242 /* We use char because int might match the return type of a gcc2 | 6222 /* We use char because int might match the return type of a gcc2 |
6243 builtin and then its argument prototype would still apply. */ | 6223 builtin and then its argument prototype would still apply. */ |
6244 char dnet_ntoa(); | 6224 char dnet_ntoa(); |
6245 | 6225 |
6246 int main() { | 6226 int main() { |
6247 dnet_ntoa() | 6227 dnet_ntoa() |
6248 ; return 0; } | 6228 ; return 0; } |
6249 EOF | 6229 EOF |
6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6230 if { (eval echo configure:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6251 rm -rf conftest* | 6231 rm -rf conftest* |
6252 eval "ac_cv_lib_$ac_lib_var=yes" | 6232 eval "ac_cv_lib_$ac_lib_var=yes" |
6253 else | 6233 else |
6254 echo "configure: failed program was:" >&5 | 6234 echo "configure: failed program was:" >&5 |
6255 cat conftest.$ac_ext >&5 | 6235 cat conftest.$ac_ext >&5 |
6274 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6254 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6275 # needs -lnsl. | 6255 # needs -lnsl. |
6276 # The nsl library prevents programs from opening the X display | 6256 # The nsl library prevents programs from opening the X display |
6277 # on Irix 5.2, according to dickey@clark.net. | 6257 # on Irix 5.2, according to dickey@clark.net. |
6278 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6258 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6279 echo "configure:6280: checking for gethostbyname" >&5 | 6259 echo "configure:6260: checking for gethostbyname" >&5 |
6280 | 6260 |
6281 cat > conftest.$ac_ext <<EOF | 6261 cat > conftest.$ac_ext <<EOF |
6282 #line 6283 "configure" | 6262 #line 6263 "configure" |
6283 #include "confdefs.h" | 6263 #include "confdefs.h" |
6284 /* System header to define __stub macros and hopefully few prototypes, | 6264 /* System header to define __stub macros and hopefully few prototypes, |
6285 which can conflict with char gethostbyname(); below. */ | 6265 which can conflict with char gethostbyname(); below. */ |
6286 #include <assert.h> | 6266 #include <assert.h> |
6287 /* Override any gcc2 internal prototype to avoid an error. */ | 6267 /* Override any gcc2 internal prototype to avoid an error. */ |
6300 gethostbyname(); | 6280 gethostbyname(); |
6301 #endif | 6281 #endif |
6302 | 6282 |
6303 ; return 0; } | 6283 ; return 0; } |
6304 EOF | 6284 EOF |
6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6306 rm -rf conftest* | 6286 rm -rf conftest* |
6307 eval "ac_cv_func_gethostbyname=yes" | 6287 eval "ac_cv_func_gethostbyname=yes" |
6308 else | 6288 else |
6309 echo "configure: failed program was:" >&5 | 6289 echo "configure: failed program was:" >&5 |
6310 cat conftest.$ac_ext >&5 | 6290 cat conftest.$ac_ext >&5 |
6321 fi | 6301 fi |
6322 | 6302 |
6323 if test $ac_cv_func_gethostbyname = no; then | 6303 if test $ac_cv_func_gethostbyname = no; then |
6324 | 6304 |
6325 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6305 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6326 echo "configure:6327: checking for gethostbyname in -lnsl" >&5 | 6306 echo "configure:6307: checking for gethostbyname in -lnsl" >&5 |
6327 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6307 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6328 | 6308 |
6329 xe_check_libs=" -lnsl " | 6309 xe_check_libs=" -lnsl " |
6330 cat > conftest.$ac_ext <<EOF | 6310 cat > conftest.$ac_ext <<EOF |
6331 #line 6332 "configure" | 6311 #line 6312 "configure" |
6332 #include "confdefs.h" | 6312 #include "confdefs.h" |
6333 /* Override any gcc2 internal prototype to avoid an error. */ | 6313 /* Override any gcc2 internal prototype to avoid an error. */ |
6334 /* We use char because int might match the return type of a gcc2 | 6314 /* We use char because int might match the return type of a gcc2 |
6335 builtin and then its argument prototype would still apply. */ | 6315 builtin and then its argument prototype would still apply. */ |
6336 char gethostbyname(); | 6316 char gethostbyname(); |
6337 | 6317 |
6338 int main() { | 6318 int main() { |
6339 gethostbyname() | 6319 gethostbyname() |
6340 ; return 0; } | 6320 ; return 0; } |
6341 EOF | 6321 EOF |
6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6343 rm -rf conftest* | 6323 rm -rf conftest* |
6344 eval "ac_cv_lib_$ac_lib_var=yes" | 6324 eval "ac_cv_lib_$ac_lib_var=yes" |
6345 else | 6325 else |
6346 echo "configure: failed program was:" >&5 | 6326 echo "configure: failed program was:" >&5 |
6347 cat conftest.$ac_ext >&5 | 6327 cat conftest.$ac_ext >&5 |
6367 # on later versions), says simon@lia.di.epfl.ch: it contains | 6347 # on later versions), says simon@lia.di.epfl.ch: it contains |
6368 # gethostby* variants that don't use the nameserver (or something). | 6348 # gethostby* variants that don't use the nameserver (or something). |
6369 # -lsocket must be given before -lnsl if both are needed. | 6349 # -lsocket must be given before -lnsl if both are needed. |
6370 # We assume that if connect needs -lnsl, so does gethostbyname. | 6350 # We assume that if connect needs -lnsl, so does gethostbyname. |
6371 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6351 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6372 echo "configure:6373: checking for connect" >&5 | 6352 echo "configure:6353: checking for connect" >&5 |
6373 | 6353 |
6374 cat > conftest.$ac_ext <<EOF | 6354 cat > conftest.$ac_ext <<EOF |
6375 #line 6376 "configure" | 6355 #line 6356 "configure" |
6376 #include "confdefs.h" | 6356 #include "confdefs.h" |
6377 /* System header to define __stub macros and hopefully few prototypes, | 6357 /* System header to define __stub macros and hopefully few prototypes, |
6378 which can conflict with char connect(); below. */ | 6358 which can conflict with char connect(); below. */ |
6379 #include <assert.h> | 6359 #include <assert.h> |
6380 /* Override any gcc2 internal prototype to avoid an error. */ | 6360 /* Override any gcc2 internal prototype to avoid an error. */ |
6393 connect(); | 6373 connect(); |
6394 #endif | 6374 #endif |
6395 | 6375 |
6396 ; return 0; } | 6376 ; return 0; } |
6397 EOF | 6377 EOF |
6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6399 rm -rf conftest* | 6379 rm -rf conftest* |
6400 eval "ac_cv_func_connect=yes" | 6380 eval "ac_cv_func_connect=yes" |
6401 else | 6381 else |
6402 echo "configure: failed program was:" >&5 | 6382 echo "configure: failed program was:" >&5 |
6403 cat conftest.$ac_ext >&5 | 6383 cat conftest.$ac_ext >&5 |
6416 if test $ac_cv_func_connect = no; then | 6396 if test $ac_cv_func_connect = no; then |
6417 | 6397 |
6418 xe_msg_checking="for connect in -lsocket" | 6398 xe_msg_checking="for connect in -lsocket" |
6419 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6399 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6420 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6400 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6421 echo "configure:6422: checking "$xe_msg_checking"" >&5 | 6401 echo "configure:6402: checking "$xe_msg_checking"" >&5 |
6422 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6402 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6423 | 6403 |
6424 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6404 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6425 cat > conftest.$ac_ext <<EOF | 6405 cat > conftest.$ac_ext <<EOF |
6426 #line 6427 "configure" | 6406 #line 6407 "configure" |
6427 #include "confdefs.h" | 6407 #include "confdefs.h" |
6428 /* Override any gcc2 internal prototype to avoid an error. */ | 6408 /* Override any gcc2 internal prototype to avoid an error. */ |
6429 /* We use char because int might match the return type of a gcc2 | 6409 /* We use char because int might match the return type of a gcc2 |
6430 builtin and then its argument prototype would still apply. */ | 6410 builtin and then its argument prototype would still apply. */ |
6431 char connect(); | 6411 char connect(); |
6432 | 6412 |
6433 int main() { | 6413 int main() { |
6434 connect() | 6414 connect() |
6435 ; return 0; } | 6415 ; return 0; } |
6436 EOF | 6416 EOF |
6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6438 rm -rf conftest* | 6418 rm -rf conftest* |
6439 eval "ac_cv_lib_$ac_lib_var=yes" | 6419 eval "ac_cv_lib_$ac_lib_var=yes" |
6440 else | 6420 else |
6441 echo "configure: failed program was:" >&5 | 6421 echo "configure: failed program was:" >&5 |
6442 cat conftest.$ac_ext >&5 | 6422 cat conftest.$ac_ext >&5 |
6456 | 6436 |
6457 fi | 6437 fi |
6458 | 6438 |
6459 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6439 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6460 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6440 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6461 echo "configure:6462: checking for remove" >&5 | 6441 echo "configure:6442: checking for remove" >&5 |
6462 | 6442 |
6463 cat > conftest.$ac_ext <<EOF | 6443 cat > conftest.$ac_ext <<EOF |
6464 #line 6465 "configure" | 6444 #line 6445 "configure" |
6465 #include "confdefs.h" | 6445 #include "confdefs.h" |
6466 /* System header to define __stub macros and hopefully few prototypes, | 6446 /* System header to define __stub macros and hopefully few prototypes, |
6467 which can conflict with char remove(); below. */ | 6447 which can conflict with char remove(); below. */ |
6468 #include <assert.h> | 6448 #include <assert.h> |
6469 /* Override any gcc2 internal prototype to avoid an error. */ | 6449 /* Override any gcc2 internal prototype to avoid an error. */ |
6482 remove(); | 6462 remove(); |
6483 #endif | 6463 #endif |
6484 | 6464 |
6485 ; return 0; } | 6465 ; return 0; } |
6486 EOF | 6466 EOF |
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6488 rm -rf conftest* | 6468 rm -rf conftest* |
6489 eval "ac_cv_func_remove=yes" | 6469 eval "ac_cv_func_remove=yes" |
6490 else | 6470 else |
6491 echo "configure: failed program was:" >&5 | 6471 echo "configure: failed program was:" >&5 |
6492 cat conftest.$ac_ext >&5 | 6472 cat conftest.$ac_ext >&5 |
6503 fi | 6483 fi |
6504 | 6484 |
6505 if test $ac_cv_func_remove = no; then | 6485 if test $ac_cv_func_remove = no; then |
6506 | 6486 |
6507 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6487 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6508 echo "configure:6509: checking for remove in -lposix" >&5 | 6488 echo "configure:6489: checking for remove in -lposix" >&5 |
6509 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6489 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6510 | 6490 |
6511 xe_check_libs=" -lposix " | 6491 xe_check_libs=" -lposix " |
6512 cat > conftest.$ac_ext <<EOF | 6492 cat > conftest.$ac_ext <<EOF |
6513 #line 6514 "configure" | 6493 #line 6494 "configure" |
6514 #include "confdefs.h" | 6494 #include "confdefs.h" |
6515 /* Override any gcc2 internal prototype to avoid an error. */ | 6495 /* Override any gcc2 internal prototype to avoid an error. */ |
6516 /* We use char because int might match the return type of a gcc2 | 6496 /* We use char because int might match the return type of a gcc2 |
6517 builtin and then its argument prototype would still apply. */ | 6497 builtin and then its argument prototype would still apply. */ |
6518 char remove(); | 6498 char remove(); |
6519 | 6499 |
6520 int main() { | 6500 int main() { |
6521 remove() | 6501 remove() |
6522 ; return 0; } | 6502 ; return 0; } |
6523 EOF | 6503 EOF |
6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6504 if { (eval echo configure:6505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6525 rm -rf conftest* | 6505 rm -rf conftest* |
6526 eval "ac_cv_lib_$ac_lib_var=yes" | 6506 eval "ac_cv_lib_$ac_lib_var=yes" |
6527 else | 6507 else |
6528 echo "configure: failed program was:" >&5 | 6508 echo "configure: failed program was:" >&5 |
6529 cat conftest.$ac_ext >&5 | 6509 cat conftest.$ac_ext >&5 |
6543 | 6523 |
6544 fi | 6524 fi |
6545 | 6525 |
6546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6547 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6527 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6548 echo "configure:6549: checking for shmat" >&5 | 6528 echo "configure:6529: checking for shmat" >&5 |
6549 | 6529 |
6550 cat > conftest.$ac_ext <<EOF | 6530 cat > conftest.$ac_ext <<EOF |
6551 #line 6552 "configure" | 6531 #line 6532 "configure" |
6552 #include "confdefs.h" | 6532 #include "confdefs.h" |
6553 /* System header to define __stub macros and hopefully few prototypes, | 6533 /* System header to define __stub macros and hopefully few prototypes, |
6554 which can conflict with char shmat(); below. */ | 6534 which can conflict with char shmat(); below. */ |
6555 #include <assert.h> | 6535 #include <assert.h> |
6556 /* Override any gcc2 internal prototype to avoid an error. */ | 6536 /* Override any gcc2 internal prototype to avoid an error. */ |
6569 shmat(); | 6549 shmat(); |
6570 #endif | 6550 #endif |
6571 | 6551 |
6572 ; return 0; } | 6552 ; return 0; } |
6573 EOF | 6553 EOF |
6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6575 rm -rf conftest* | 6555 rm -rf conftest* |
6576 eval "ac_cv_func_shmat=yes" | 6556 eval "ac_cv_func_shmat=yes" |
6577 else | 6557 else |
6578 echo "configure: failed program was:" >&5 | 6558 echo "configure: failed program was:" >&5 |
6579 cat conftest.$ac_ext >&5 | 6559 cat conftest.$ac_ext >&5 |
6590 fi | 6570 fi |
6591 | 6571 |
6592 if test $ac_cv_func_shmat = no; then | 6572 if test $ac_cv_func_shmat = no; then |
6593 | 6573 |
6594 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6574 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6595 echo "configure:6596: checking for shmat in -lipc" >&5 | 6575 echo "configure:6576: checking for shmat in -lipc" >&5 |
6596 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6576 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6597 | 6577 |
6598 xe_check_libs=" -lipc " | 6578 xe_check_libs=" -lipc " |
6599 cat > conftest.$ac_ext <<EOF | 6579 cat > conftest.$ac_ext <<EOF |
6600 #line 6601 "configure" | 6580 #line 6581 "configure" |
6601 #include "confdefs.h" | 6581 #include "confdefs.h" |
6602 /* Override any gcc2 internal prototype to avoid an error. */ | 6582 /* Override any gcc2 internal prototype to avoid an error. */ |
6603 /* We use char because int might match the return type of a gcc2 | 6583 /* We use char because int might match the return type of a gcc2 |
6604 builtin and then its argument prototype would still apply. */ | 6584 builtin and then its argument prototype would still apply. */ |
6605 char shmat(); | 6585 char shmat(); |
6606 | 6586 |
6607 int main() { | 6587 int main() { |
6608 shmat() | 6588 shmat() |
6609 ; return 0; } | 6589 ; return 0; } |
6610 EOF | 6590 EOF |
6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6591 if { (eval echo configure:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6612 rm -rf conftest* | 6592 rm -rf conftest* |
6613 eval "ac_cv_lib_$ac_lib_var=yes" | 6593 eval "ac_cv_lib_$ac_lib_var=yes" |
6614 else | 6594 else |
6615 echo "configure: failed program was:" >&5 | 6595 echo "configure: failed program was:" >&5 |
6616 cat conftest.$ac_ext >&5 | 6596 cat conftest.$ac_ext >&5 |
6642 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6622 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6643 | 6623 |
6644 xe_msg_checking="for IceConnectionNumber in -lICE" | 6624 xe_msg_checking="for IceConnectionNumber in -lICE" |
6645 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6625 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6646 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6626 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6647 echo "configure:6648: checking "$xe_msg_checking"" >&5 | 6627 echo "configure:6628: checking "$xe_msg_checking"" >&5 |
6648 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6628 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6649 | 6629 |
6650 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6630 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6651 cat > conftest.$ac_ext <<EOF | 6631 cat > conftest.$ac_ext <<EOF |
6652 #line 6653 "configure" | 6632 #line 6633 "configure" |
6653 #include "confdefs.h" | 6633 #include "confdefs.h" |
6654 /* Override any gcc2 internal prototype to avoid an error. */ | 6634 /* Override any gcc2 internal prototype to avoid an error. */ |
6655 /* We use char because int might match the return type of a gcc2 | 6635 /* We use char because int might match the return type of a gcc2 |
6656 builtin and then its argument prototype would still apply. */ | 6636 builtin and then its argument prototype would still apply. */ |
6657 char IceConnectionNumber(); | 6637 char IceConnectionNumber(); |
6658 | 6638 |
6659 int main() { | 6639 int main() { |
6660 IceConnectionNumber() | 6640 IceConnectionNumber() |
6661 ; return 0; } | 6641 ; return 0; } |
6662 EOF | 6642 EOF |
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6664 rm -rf conftest* | 6644 rm -rf conftest* |
6665 eval "ac_cv_lib_$ac_lib_var=yes" | 6645 eval "ac_cv_lib_$ac_lib_var=yes" |
6666 else | 6646 else |
6667 echo "configure: failed program was:" >&5 | 6647 echo "configure: failed program was:" >&5 |
6668 cat conftest.$ac_ext >&5 | 6648 cat conftest.$ac_ext >&5 |
6704 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6684 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6705 | 6685 |
6706 | 6686 |
6707 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6687 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6708 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6688 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6709 echo "configure:6710: checking for Xm/Xm.h" >&5 | 6689 echo "configure:6690: checking for Xm/Xm.h" >&5 |
6710 | 6690 |
6711 cat > conftest.$ac_ext <<EOF | 6691 cat > conftest.$ac_ext <<EOF |
6712 #line 6713 "configure" | 6692 #line 6693 "configure" |
6713 #include "confdefs.h" | 6693 #include "confdefs.h" |
6714 #include <Xm/Xm.h> | 6694 #include <Xm/Xm.h> |
6715 EOF | 6695 EOF |
6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6697 { (eval echo configure:6698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6719 if test -z "$ac_err"; then | 6699 if test -z "$ac_err"; then |
6720 rm -rf conftest* | 6700 rm -rf conftest* |
6721 eval "ac_cv_header_$ac_safe=yes" | 6701 eval "ac_cv_header_$ac_safe=yes" |
6722 else | 6702 else |
6729 rm -f conftest* | 6709 rm -f conftest* |
6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6731 echo "$ac_t""yes" 1>&6 | 6711 echo "$ac_t""yes" 1>&6 |
6732 | 6712 |
6733 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6713 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6734 echo "configure:6735: checking for XmStringFree in -lXm" >&5 | 6714 echo "configure:6715: checking for XmStringFree in -lXm" >&5 |
6735 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6715 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6736 | 6716 |
6737 xe_check_libs=" -lXm " | 6717 xe_check_libs=" -lXm " |
6738 cat > conftest.$ac_ext <<EOF | 6718 cat > conftest.$ac_ext <<EOF |
6739 #line 6740 "configure" | 6719 #line 6720 "configure" |
6740 #include "confdefs.h" | 6720 #include "confdefs.h" |
6741 /* Override any gcc2 internal prototype to avoid an error. */ | 6721 /* Override any gcc2 internal prototype to avoid an error. */ |
6742 /* We use char because int might match the return type of a gcc2 | 6722 /* We use char because int might match the return type of a gcc2 |
6743 builtin and then its argument prototype would still apply. */ | 6723 builtin and then its argument prototype would still apply. */ |
6744 char XmStringFree(); | 6724 char XmStringFree(); |
6745 | 6725 |
6746 int main() { | 6726 int main() { |
6747 XmStringFree() | 6727 XmStringFree() |
6748 ; return 0; } | 6728 ; return 0; } |
6749 EOF | 6729 EOF |
6750 if { (eval echo configure:6751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6751 rm -rf conftest* | 6731 rm -rf conftest* |
6752 eval "ac_cv_lib_$ac_lib_var=yes" | 6732 eval "ac_cv_lib_$ac_lib_var=yes" |
6753 else | 6733 else |
6754 echo "configure: failed program was:" >&5 | 6734 echo "configure: failed program was:" >&5 |
6755 cat conftest.$ac_ext >&5 | 6735 cat conftest.$ac_ext >&5 |
6897 EOF | 6877 EOF |
6898 } | 6878 } |
6899 | 6879 |
6900 | 6880 |
6901 echo "checking for X defines extracted by xmkmf" 1>&6 | 6881 echo "checking for X defines extracted by xmkmf" 1>&6 |
6902 echo "configure:6903: checking for X defines extracted by xmkmf" >&5 | 6882 echo "configure:6883: checking for X defines extracted by xmkmf" >&5 |
6903 rm -fr conftestdir | 6883 rm -fr conftestdir |
6904 if mkdir conftestdir; then | 6884 if mkdir conftestdir; then |
6905 cd conftestdir | 6885 cd conftestdir |
6906 cat > Imakefile <<'EOF' | 6886 cat > Imakefile <<'EOF' |
6907 xetest: | 6887 xetest: |
6946 done | 6926 done |
6947 fi | 6927 fi |
6948 | 6928 |
6949 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6929 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6950 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6930 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6951 echo "configure:6952: checking for X11/Intrinsic.h" >&5 | 6931 echo "configure:6932: checking for X11/Intrinsic.h" >&5 |
6952 | 6932 |
6953 cat > conftest.$ac_ext <<EOF | 6933 cat > conftest.$ac_ext <<EOF |
6954 #line 6955 "configure" | 6934 #line 6935 "configure" |
6955 #include "confdefs.h" | 6935 #include "confdefs.h" |
6956 #include <X11/Intrinsic.h> | 6936 #include <X11/Intrinsic.h> |
6957 EOF | 6937 EOF |
6958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6959 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6961 if test -z "$ac_err"; then | 6941 if test -z "$ac_err"; then |
6962 rm -rf conftest* | 6942 rm -rf conftest* |
6963 eval "ac_cv_header_$ac_safe=yes" | 6943 eval "ac_cv_header_$ac_safe=yes" |
6964 else | 6944 else |
6978 fi | 6958 fi |
6979 | 6959 |
6980 | 6960 |
6981 | 6961 |
6982 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6962 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6983 echo "configure:6984: checking for XOpenDisplay in -lX11" >&5 | 6963 echo "configure:6964: checking for XOpenDisplay in -lX11" >&5 |
6984 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6964 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6985 | 6965 |
6986 xe_check_libs=" -lX11 " | 6966 xe_check_libs=" -lX11 " |
6987 cat > conftest.$ac_ext <<EOF | 6967 cat > conftest.$ac_ext <<EOF |
6988 #line 6989 "configure" | 6968 #line 6969 "configure" |
6989 #include "confdefs.h" | 6969 #include "confdefs.h" |
6990 /* Override any gcc2 internal prototype to avoid an error. */ | 6970 /* Override any gcc2 internal prototype to avoid an error. */ |
6991 /* We use char because int might match the return type of a gcc2 | 6971 /* We use char because int might match the return type of a gcc2 |
6992 builtin and then its argument prototype would still apply. */ | 6972 builtin and then its argument prototype would still apply. */ |
6993 char XOpenDisplay(); | 6973 char XOpenDisplay(); |
6994 | 6974 |
6995 int main() { | 6975 int main() { |
6996 XOpenDisplay() | 6976 XOpenDisplay() |
6997 ; return 0; } | 6977 ; return 0; } |
6998 EOF | 6978 EOF |
6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6979 if { (eval echo configure:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7000 rm -rf conftest* | 6980 rm -rf conftest* |
7001 eval "ac_cv_lib_$ac_lib_var=yes" | 6981 eval "ac_cv_lib_$ac_lib_var=yes" |
7002 else | 6982 else |
7003 echo "configure: failed program was:" >&5 | 6983 echo "configure: failed program was:" >&5 |
7004 cat conftest.$ac_ext >&5 | 6984 cat conftest.$ac_ext >&5 |
7019 if test "$have_lib_x11" != "yes"; then | 6999 if test "$have_lib_x11" != "yes"; then |
7020 | 7000 |
7021 xe_msg_checking="for XGetFontProperty in -lX11" | 7001 xe_msg_checking="for XGetFontProperty in -lX11" |
7022 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 7002 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
7023 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7003 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7024 echo "configure:7025: checking "$xe_msg_checking"" >&5 | 7004 echo "configure:7005: checking "$xe_msg_checking"" >&5 |
7025 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 7005 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
7026 | 7006 |
7027 xe_check_libs=" -lX11 -b i486-linuxaout" | 7007 xe_check_libs=" -lX11 -b i486-linuxaout" |
7028 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
7029 #line 7030 "configure" | 7009 #line 7010 "configure" |
7030 #include "confdefs.h" | 7010 #include "confdefs.h" |
7031 /* Override any gcc2 internal prototype to avoid an error. */ | 7011 /* Override any gcc2 internal prototype to avoid an error. */ |
7032 /* We use char because int might match the return type of a gcc2 | 7012 /* We use char because int might match the return type of a gcc2 |
7033 builtin and then its argument prototype would still apply. */ | 7013 builtin and then its argument prototype would still apply. */ |
7034 char XGetFontProperty(); | 7014 char XGetFontProperty(); |
7035 | 7015 |
7036 int main() { | 7016 int main() { |
7037 XGetFontProperty() | 7017 XGetFontProperty() |
7038 ; return 0; } | 7018 ; return 0; } |
7039 EOF | 7019 EOF |
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7041 rm -rf conftest* | 7021 rm -rf conftest* |
7042 eval "ac_cv_lib_$ac_lib_var=yes" | 7022 eval "ac_cv_lib_$ac_lib_var=yes" |
7043 else | 7023 else |
7044 echo "configure: failed program was:" >&5 | 7024 echo "configure: failed program was:" >&5 |
7045 cat conftest.$ac_ext >&5 | 7025 cat conftest.$ac_ext >&5 |
7062 libs_x="-lX11" | 7042 libs_x="-lX11" |
7063 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7043 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7064 | 7044 |
7065 | 7045 |
7066 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7046 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7067 echo "configure:7068: checking for XShapeSelectInput in -lXext" >&5 | 7047 echo "configure:7048: checking for XShapeSelectInput in -lXext" >&5 |
7068 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7048 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7069 | 7049 |
7070 xe_check_libs=" -lXext " | 7050 xe_check_libs=" -lXext " |
7071 cat > conftest.$ac_ext <<EOF | 7051 cat > conftest.$ac_ext <<EOF |
7072 #line 7073 "configure" | 7052 #line 7053 "configure" |
7073 #include "confdefs.h" | 7053 #include "confdefs.h" |
7074 /* Override any gcc2 internal prototype to avoid an error. */ | 7054 /* Override any gcc2 internal prototype to avoid an error. */ |
7075 /* We use char because int might match the return type of a gcc2 | 7055 /* We use char because int might match the return type of a gcc2 |
7076 builtin and then its argument prototype would still apply. */ | 7056 builtin and then its argument prototype would still apply. */ |
7077 char XShapeSelectInput(); | 7057 char XShapeSelectInput(); |
7078 | 7058 |
7079 int main() { | 7059 int main() { |
7080 XShapeSelectInput() | 7060 XShapeSelectInput() |
7081 ; return 0; } | 7061 ; return 0; } |
7082 EOF | 7062 EOF |
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7084 rm -rf conftest* | 7064 rm -rf conftest* |
7085 eval "ac_cv_lib_$ac_lib_var=yes" | 7065 eval "ac_cv_lib_$ac_lib_var=yes" |
7086 else | 7066 else |
7087 echo "configure: failed program was:" >&5 | 7067 echo "configure: failed program was:" >&5 |
7088 cat conftest.$ac_ext >&5 | 7068 cat conftest.$ac_ext >&5 |
7101 | 7081 |
7102 | 7082 |
7103 | 7083 |
7104 | 7084 |
7105 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7085 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7106 echo "configure:7107: checking for XtOpenDisplay in -lXt" >&5 | 7086 echo "configure:7087: checking for XtOpenDisplay in -lXt" >&5 |
7107 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7087 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7108 | 7088 |
7109 xe_check_libs=" -lXt " | 7089 xe_check_libs=" -lXt " |
7110 cat > conftest.$ac_ext <<EOF | 7090 cat > conftest.$ac_ext <<EOF |
7111 #line 7112 "configure" | 7091 #line 7092 "configure" |
7112 #include "confdefs.h" | 7092 #include "confdefs.h" |
7113 /* Override any gcc2 internal prototype to avoid an error. */ | 7093 /* Override any gcc2 internal prototype to avoid an error. */ |
7114 /* We use char because int might match the return type of a gcc2 | 7094 /* We use char because int might match the return type of a gcc2 |
7115 builtin and then its argument prototype would still apply. */ | 7095 builtin and then its argument prototype would still apply. */ |
7116 char XtOpenDisplay(); | 7096 char XtOpenDisplay(); |
7117 | 7097 |
7118 int main() { | 7098 int main() { |
7119 XtOpenDisplay() | 7099 XtOpenDisplay() |
7120 ; return 0; } | 7100 ; return 0; } |
7121 EOF | 7101 EOF |
7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7123 rm -rf conftest* | 7103 rm -rf conftest* |
7124 eval "ac_cv_lib_$ac_lib_var=yes" | 7104 eval "ac_cv_lib_$ac_lib_var=yes" |
7125 else | 7105 else |
7126 echo "configure: failed program was:" >&5 | 7106 echo "configure: failed program was:" >&5 |
7127 cat conftest.$ac_ext >&5 | 7107 cat conftest.$ac_ext >&5 |
7140 fi | 7120 fi |
7141 | 7121 |
7142 | 7122 |
7143 | 7123 |
7144 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7124 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7145 echo "configure:7146: checking the version of X11 being used" >&5 | 7125 echo "configure:7126: checking the version of X11 being used" >&5 |
7146 cat > conftest.$ac_ext <<EOF | 7126 cat > conftest.$ac_ext <<EOF |
7147 #line 7148 "configure" | 7127 #line 7128 "configure" |
7148 #include "confdefs.h" | 7128 #include "confdefs.h" |
7149 #include <X11/Intrinsic.h> | 7129 #include <X11/Intrinsic.h> |
7150 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7130 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7151 EOF | 7131 EOF |
7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7132 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7153 then | 7133 then |
7154 ./conftest foobar; x11_release=$? | 7134 ./conftest foobar; x11_release=$? |
7155 else | 7135 else |
7156 conftest_rc="$?" | 7136 conftest_rc="$?" |
7157 echo "configure: failed program was:" >&5 | 7137 echo "configure: failed program was:" >&5 |
7178 fi | 7158 fi |
7179 | 7159 |
7180 for ac_func in XConvertCase | 7160 for ac_func in XConvertCase |
7181 do | 7161 do |
7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7183 echo "configure:7184: checking for $ac_func" >&5 | 7163 echo "configure:7164: checking for $ac_func" >&5 |
7184 | 7164 |
7185 cat > conftest.$ac_ext <<EOF | 7165 cat > conftest.$ac_ext <<EOF |
7186 #line 7187 "configure" | 7166 #line 7167 "configure" |
7187 #include "confdefs.h" | 7167 #include "confdefs.h" |
7188 /* System header to define __stub macros and hopefully few prototypes, | 7168 /* System header to define __stub macros and hopefully few prototypes, |
7189 which can conflict with char $ac_func(); below. */ | 7169 which can conflict with char $ac_func(); below. */ |
7190 #include <assert.h> | 7170 #include <assert.h> |
7191 /* Override any gcc2 internal prototype to avoid an error. */ | 7171 /* Override any gcc2 internal prototype to avoid an error. */ |
7204 $ac_func(); | 7184 $ac_func(); |
7205 #endif | 7185 #endif |
7206 | 7186 |
7207 ; return 0; } | 7187 ; return 0; } |
7208 EOF | 7188 EOF |
7209 if { (eval echo configure:7210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7210 rm -rf conftest* | 7190 rm -rf conftest* |
7211 eval "ac_cv_func_$ac_func=yes" | 7191 eval "ac_cv_func_$ac_func=yes" |
7212 else | 7192 else |
7213 echo "configure: failed program was:" >&5 | 7193 echo "configure: failed program was:" >&5 |
7214 cat conftest.$ac_ext >&5 | 7194 cat conftest.$ac_ext >&5 |
7236 | 7216 |
7237 for ac_hdr in X11/Xlocale.h | 7217 for ac_hdr in X11/Xlocale.h |
7238 do | 7218 do |
7239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7241 echo "configure:7242: checking for $ac_hdr" >&5 | 7221 echo "configure:7222: checking for $ac_hdr" >&5 |
7242 | 7222 |
7243 cat > conftest.$ac_ext <<EOF | 7223 cat > conftest.$ac_ext <<EOF |
7244 #line 7245 "configure" | 7224 #line 7225 "configure" |
7245 #include "confdefs.h" | 7225 #include "confdefs.h" |
7246 #include <$ac_hdr> | 7226 #include <$ac_hdr> |
7247 EOF | 7227 EOF |
7248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7249 { (eval echo configure:7250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7229 { (eval echo configure:7230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7251 if test -z "$ac_err"; then | 7231 if test -z "$ac_err"; then |
7252 rm -rf conftest* | 7232 rm -rf conftest* |
7253 eval "ac_cv_header_$ac_safe=yes" | 7233 eval "ac_cv_header_$ac_safe=yes" |
7254 else | 7234 else |
7277 | 7257 |
7278 | 7258 |
7279 for ac_func in XRegisterIMInstantiateCallback | 7259 for ac_func in XRegisterIMInstantiateCallback |
7280 do | 7260 do |
7281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7282 echo "configure:7283: checking for $ac_func" >&5 | 7262 echo "configure:7263: checking for $ac_func" >&5 |
7283 | 7263 |
7284 cat > conftest.$ac_ext <<EOF | 7264 cat > conftest.$ac_ext <<EOF |
7285 #line 7286 "configure" | 7265 #line 7266 "configure" |
7286 #include "confdefs.h" | 7266 #include "confdefs.h" |
7287 /* System header to define __stub macros and hopefully few prototypes, | 7267 /* System header to define __stub macros and hopefully few prototypes, |
7288 which can conflict with char $ac_func(); below. */ | 7268 which can conflict with char $ac_func(); below. */ |
7289 #include <assert.h> | 7269 #include <assert.h> |
7290 /* Override any gcc2 internal prototype to avoid an error. */ | 7270 /* Override any gcc2 internal prototype to avoid an error. */ |
7303 $ac_func(); | 7283 $ac_func(); |
7304 #endif | 7284 #endif |
7305 | 7285 |
7306 ; return 0; } | 7286 ; return 0; } |
7307 EOF | 7287 EOF |
7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7288 if { (eval echo configure:7289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7309 rm -rf conftest* | 7289 rm -rf conftest* |
7310 eval "ac_cv_func_$ac_func=yes" | 7290 eval "ac_cv_func_$ac_func=yes" |
7311 else | 7291 else |
7312 echo "configure: failed program was:" >&5 | 7292 echo "configure: failed program was:" >&5 |
7313 cat conftest.$ac_ext >&5 | 7293 cat conftest.$ac_ext >&5 |
7331 echo "$ac_t""no" 1>&6 | 7311 echo "$ac_t""no" 1>&6 |
7332 fi | 7312 fi |
7333 done | 7313 done |
7334 | 7314 |
7335 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7315 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7336 echo "configure:7337: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7316 echo "configure:7317: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7337 cat > conftest.$ac_ext <<EOF | 7317 cat > conftest.$ac_ext <<EOF |
7338 #line 7339 "configure" | 7318 #line 7319 "configure" |
7339 #include "confdefs.h" | 7319 #include "confdefs.h" |
7340 | 7320 |
7341 #define NeedFunctionPrototypes 1 | 7321 #define NeedFunctionPrototypes 1 |
7342 #include <X11/Xlib.h> | 7322 #include <X11/Xlib.h> |
7343 extern Bool XRegisterIMInstantiateCallback( | 7323 extern Bool XRegisterIMInstantiateCallback( |
7345 | 7325 |
7346 int main() { | 7326 int main() { |
7347 | 7327 |
7348 ; return 0; } | 7328 ; return 0; } |
7349 EOF | 7329 EOF |
7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7330 if { (eval echo configure:7331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7351 rm -rf conftest* | 7331 rm -rf conftest* |
7352 echo "$ac_t""yes" 1>&6 | 7332 echo "$ac_t""yes" 1>&6 |
7353 else | 7333 else |
7354 echo "configure: failed program was:" >&5 | 7334 echo "configure: failed program was:" >&5 |
7355 cat conftest.$ac_ext >&5 | 7335 cat conftest.$ac_ext >&5 |
7366 fi | 7346 fi |
7367 rm -f conftest* | 7347 rm -f conftest* |
7368 | 7348 |
7369 test -z "$with_xmu" && { | 7349 test -z "$with_xmu" && { |
7370 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7350 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7371 echo "configure:7372: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7351 echo "configure:7352: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7372 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7352 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7373 | 7353 |
7374 xe_check_libs=" -lXmu " | 7354 xe_check_libs=" -lXmu " |
7375 cat > conftest.$ac_ext <<EOF | 7355 cat > conftest.$ac_ext <<EOF |
7376 #line 7377 "configure" | 7356 #line 7357 "configure" |
7377 #include "confdefs.h" | 7357 #include "confdefs.h" |
7378 /* Override any gcc2 internal prototype to avoid an error. */ | 7358 /* Override any gcc2 internal prototype to avoid an error. */ |
7379 /* We use char because int might match the return type of a gcc2 | 7359 /* We use char because int might match the return type of a gcc2 |
7380 builtin and then its argument prototype would still apply. */ | 7360 builtin and then its argument prototype would still apply. */ |
7381 char XmuReadBitmapDataFromFile(); | 7361 char XmuReadBitmapDataFromFile(); |
7382 | 7362 |
7383 int main() { | 7363 int main() { |
7384 XmuReadBitmapDataFromFile() | 7364 XmuReadBitmapDataFromFile() |
7385 ; return 0; } | 7365 ; return 0; } |
7386 EOF | 7366 EOF |
7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7388 rm -rf conftest* | 7368 rm -rf conftest* |
7389 eval "ac_cv_lib_$ac_lib_var=yes" | 7369 eval "ac_cv_lib_$ac_lib_var=yes" |
7390 else | 7370 else |
7391 echo "configure: failed program was:" >&5 | 7371 echo "configure: failed program was:" >&5 |
7392 cat conftest.$ac_ext >&5 | 7372 cat conftest.$ac_ext >&5 |
7421 | 7401 |
7422 fi | 7402 fi |
7423 | 7403 |
7424 | 7404 |
7425 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7405 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7426 echo "configure:7427: checking for main in -lXbsd" >&5 | 7406 echo "configure:7407: checking for main in -lXbsd" >&5 |
7427 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7407 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7428 | 7408 |
7429 xe_check_libs=" -lXbsd " | 7409 xe_check_libs=" -lXbsd " |
7430 cat > conftest.$ac_ext <<EOF | 7410 cat > conftest.$ac_ext <<EOF |
7431 #line 7432 "configure" | 7411 #line 7412 "configure" |
7432 #include "confdefs.h" | 7412 #include "confdefs.h" |
7433 | 7413 |
7434 int main() { | 7414 int main() { |
7435 main() | 7415 main() |
7436 ; return 0; } | 7416 ; return 0; } |
7437 EOF | 7417 EOF |
7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7418 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7439 rm -rf conftest* | 7419 rm -rf conftest* |
7440 eval "ac_cv_lib_$ac_lib_var=yes" | 7420 eval "ac_cv_lib_$ac_lib_var=yes" |
7441 else | 7421 else |
7442 echo "configure: failed program was:" >&5 | 7422 echo "configure: failed program was:" >&5 |
7443 cat conftest.$ac_ext >&5 | 7423 cat conftest.$ac_ext >&5 |
7470 fi | 7450 fi |
7471 | 7451 |
7472 fi | 7452 fi |
7473 if test "$with_msw" != "no"; then | 7453 if test "$with_msw" != "no"; then |
7474 echo "checking for MS-Windows" 1>&6 | 7454 echo "checking for MS-Windows" 1>&6 |
7475 echo "configure:7476: checking for MS-Windows" >&5 | 7455 echo "configure:7456: checking for MS-Windows" >&5 |
7476 | 7456 |
7477 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7457 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7478 echo "configure:7479: checking for main in -lgdi32" >&5 | 7458 echo "configure:7459: checking for main in -lgdi32" >&5 |
7479 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7459 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7480 | 7460 |
7481 xe_check_libs=" -lgdi32 " | 7461 xe_check_libs=" -lgdi32 " |
7482 cat > conftest.$ac_ext <<EOF | 7462 cat > conftest.$ac_ext <<EOF |
7483 #line 7484 "configure" | 7463 #line 7464 "configure" |
7484 #include "confdefs.h" | 7464 #include "confdefs.h" |
7485 | 7465 |
7486 int main() { | 7466 int main() { |
7487 main() | 7467 main() |
7488 ; return 0; } | 7468 ; return 0; } |
7489 EOF | 7469 EOF |
7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7491 rm -rf conftest* | 7471 rm -rf conftest* |
7492 eval "ac_cv_lib_$ac_lib_var=yes" | 7472 eval "ac_cv_lib_$ac_lib_var=yes" |
7493 else | 7473 else |
7494 echo "configure: failed program was:" >&5 | 7474 echo "configure: failed program was:" >&5 |
7495 cat conftest.$ac_ext >&5 | 7475 cat conftest.$ac_ext >&5 |
7536 test "$with_toolbars" != "no" && with_toolbars=msw | 7516 test "$with_toolbars" != "no" && with_toolbars=msw |
7537 test "$with_dialogs" != "no" && with_dialogs=msw | 7517 test "$with_dialogs" != "no" && with_dialogs=msw |
7538 test "$with_widgets" != "no" && with_widgets=msw | 7518 test "$with_widgets" != "no" && with_widgets=msw |
7539 fi | 7519 fi |
7540 cat > conftest.$ac_ext <<EOF | 7520 cat > conftest.$ac_ext <<EOF |
7541 #line 7542 "configure" | 7521 #line 7522 "configure" |
7542 #include "confdefs.h" | 7522 #include "confdefs.h" |
7543 #include <fcntl.h> | 7523 #include <fcntl.h> |
7544 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7524 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7545 EOF | 7525 EOF |
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7526 if { (eval echo configure:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7547 then | 7527 then |
7548 { test "$extra_verbose" = "yes" && cat << \EOF | 7528 { test "$extra_verbose" = "yes" && cat << \EOF |
7549 Defining HAVE_MSG_SELECT | 7529 Defining HAVE_MSG_SELECT |
7550 EOF | 7530 EOF |
7551 cat >> confdefs.h <<\EOF | 7531 cat >> confdefs.h <<\EOF |
7602 fi | 7582 fi |
7603 | 7583 |
7604 if test "$with_x11" = "yes"; then | 7584 if test "$with_x11" = "yes"; then |
7605 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7585 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7606 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7586 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7607 echo "configure:7608: checking for X11/extensions/shape.h" >&5 | 7587 echo "configure:7588: checking for X11/extensions/shape.h" >&5 |
7608 | 7588 |
7609 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7610 #line 7611 "configure" | 7590 #line 7591 "configure" |
7611 #include "confdefs.h" | 7591 #include "confdefs.h" |
7612 #include <X11/extensions/shape.h> | 7592 #include <X11/extensions/shape.h> |
7613 EOF | 7593 EOF |
7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7617 if test -z "$ac_err"; then | 7597 if test -z "$ac_err"; then |
7618 rm -rf conftest* | 7598 rm -rf conftest* |
7619 eval "ac_cv_header_$ac_safe=yes" | 7599 eval "ac_cv_header_$ac_safe=yes" |
7620 else | 7600 else |
7660 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7640 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7661 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7641 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7662 esac | 7642 esac |
7663 | 7643 |
7664 echo "checking for WM_COMMAND option" 1>&6 | 7644 echo "checking for WM_COMMAND option" 1>&6 |
7665 echo "configure:7666: checking for WM_COMMAND option" >&5; | 7645 echo "configure:7646: checking for WM_COMMAND option" >&5; |
7666 if test "$with_wmcommand" != "no"; then | 7646 if test "$with_wmcommand" != "no"; then |
7667 { test "$extra_verbose" = "yes" && cat << \EOF | 7647 { test "$extra_verbose" = "yes" && cat << \EOF |
7668 Defining HAVE_WMCOMMAND | 7648 Defining HAVE_WMCOMMAND |
7669 EOF | 7649 EOF |
7670 cat >> confdefs.h <<\EOF | 7650 cat >> confdefs.h <<\EOF |
7675 fi | 7655 fi |
7676 | 7656 |
7677 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7657 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7678 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7658 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7679 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7659 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7680 echo "configure:7681: checking for X11/Xauth.h" >&5 | 7660 echo "configure:7661: checking for X11/Xauth.h" >&5 |
7681 | 7661 |
7682 cat > conftest.$ac_ext <<EOF | 7662 cat > conftest.$ac_ext <<EOF |
7683 #line 7684 "configure" | 7663 #line 7664 "configure" |
7684 #include "confdefs.h" | 7664 #include "confdefs.h" |
7685 #include <X11/Xauth.h> | 7665 #include <X11/Xauth.h> |
7686 EOF | 7666 EOF |
7687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7688 { (eval echo configure:7689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7668 { (eval echo configure:7669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7669 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7690 if test -z "$ac_err"; then | 7670 if test -z "$ac_err"; then |
7691 rm -rf conftest* | 7671 rm -rf conftest* |
7692 eval "ac_cv_header_$ac_safe=yes" | 7672 eval "ac_cv_header_$ac_safe=yes" |
7693 else | 7673 else |
7706 with_xauth=no | 7686 with_xauth=no |
7707 fi | 7687 fi |
7708 } | 7688 } |
7709 test -z "$with_xauth" && { | 7689 test -z "$with_xauth" && { |
7710 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7690 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7711 echo "configure:7712: checking for XauGetAuthByAddr in -lXau" >&5 | 7691 echo "configure:7692: checking for XauGetAuthByAddr in -lXau" >&5 |
7712 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7692 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7713 | 7693 |
7714 xe_check_libs=" -lXau " | 7694 xe_check_libs=" -lXau " |
7715 cat > conftest.$ac_ext <<EOF | 7695 cat > conftest.$ac_ext <<EOF |
7716 #line 7717 "configure" | 7696 #line 7697 "configure" |
7717 #include "confdefs.h" | 7697 #include "confdefs.h" |
7718 /* Override any gcc2 internal prototype to avoid an error. */ | 7698 /* Override any gcc2 internal prototype to avoid an error. */ |
7719 /* We use char because int might match the return type of a gcc2 | 7699 /* We use char because int might match the return type of a gcc2 |
7720 builtin and then its argument prototype would still apply. */ | 7700 builtin and then its argument prototype would still apply. */ |
7721 char XauGetAuthByAddr(); | 7701 char XauGetAuthByAddr(); |
7722 | 7702 |
7723 int main() { | 7703 int main() { |
7724 XauGetAuthByAddr() | 7704 XauGetAuthByAddr() |
7725 ; return 0; } | 7705 ; return 0; } |
7726 EOF | 7706 EOF |
7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7728 rm -rf conftest* | 7708 rm -rf conftest* |
7729 eval "ac_cv_lib_$ac_lib_var=yes" | 7709 eval "ac_cv_lib_$ac_lib_var=yes" |
7730 else | 7710 else |
7731 echo "configure: failed program was:" >&5 | 7711 echo "configure: failed program was:" >&5 |
7732 cat conftest.$ac_ext >&5 | 7712 cat conftest.$ac_ext >&5 |
7773 fi | 7753 fi |
7774 | 7754 |
7775 | 7755 |
7776 if test "$with_modules" != "no"; then | 7756 if test "$with_modules" != "no"; then |
7777 echo "checking for module support" 1>&6 | 7757 echo "checking for module support" 1>&6 |
7778 echo "configure:7779: checking for module support" >&5 | 7758 echo "configure:7759: checking for module support" >&5 |
7779 | 7759 |
7780 if test "$with_msw" = "yes"; then | 7760 if test "$with_msw" = "yes"; then |
7781 have_dl=yes; | 7761 have_dl=yes; |
7782 else | 7762 else |
7783 case "$opsys" in | 7763 case "$opsys" in |
7790 } | 7770 } |
7791 ;; | 7771 ;; |
7792 * ) | 7772 * ) |
7793 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7773 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7794 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7774 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7795 echo "configure:7796: checking for dlfcn.h" >&5 | 7775 echo "configure:7776: checking for dlfcn.h" >&5 |
7796 | 7776 |
7797 cat > conftest.$ac_ext <<EOF | 7777 cat > conftest.$ac_ext <<EOF |
7798 #line 7799 "configure" | 7778 #line 7779 "configure" |
7799 #include "confdefs.h" | 7779 #include "confdefs.h" |
7800 #include <dlfcn.h> | 7780 #include <dlfcn.h> |
7801 EOF | 7781 EOF |
7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7783 { (eval echo configure:7784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7805 if test -z "$ac_err"; then | 7785 if test -z "$ac_err"; then |
7806 rm -rf conftest* | 7786 rm -rf conftest* |
7807 eval "ac_cv_header_$ac_safe=yes" | 7787 eval "ac_cv_header_$ac_safe=yes" |
7808 else | 7788 else |
7815 rm -f conftest* | 7795 rm -f conftest* |
7816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7817 echo "$ac_t""yes" 1>&6 | 7797 echo "$ac_t""yes" 1>&6 |
7818 | 7798 |
7819 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7799 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7820 echo "configure:7821: checking for dlopen in -lc" >&5 | 7800 echo "configure:7801: checking for dlopen in -lc" >&5 |
7821 cat > conftest.$ac_ext <<EOF | 7801 cat > conftest.$ac_ext <<EOF |
7822 #line 7823 "configure" | 7802 #line 7803 "configure" |
7823 #include "confdefs.h" | 7803 #include "confdefs.h" |
7824 #include <dlfcn.h> | 7804 #include <dlfcn.h> |
7825 int main() { | 7805 int main() { |
7826 dlopen ("", 0); | 7806 dlopen ("", 0); |
7827 ; return 0; } | 7807 ; return 0; } |
7828 EOF | 7808 EOF |
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7830 rm -rf conftest* | 7810 rm -rf conftest* |
7831 have_dl=yes | 7811 have_dl=yes |
7832 else | 7812 else |
7833 echo "configure: failed program was:" >&5 | 7813 echo "configure: failed program was:" >&5 |
7834 cat conftest.$ac_ext >&5 | 7814 cat conftest.$ac_ext >&5 |
7835 rm -rf conftest* | 7815 rm -rf conftest* |
7836 | 7816 |
7837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7817 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7838 echo "configure:7839: checking for dlopen in -ldl" >&5 | 7818 echo "configure:7819: checking for dlopen in -ldl" >&5 |
7839 ac_save_LIBS="$LIBS" | 7819 ac_save_LIBS="$LIBS" |
7840 LIBS="-ldl $LIBS" | 7820 LIBS="-ldl $LIBS" |
7841 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7842 #line 7843 "configure" | 7822 #line 7823 "configure" |
7843 #include "confdefs.h" | 7823 #include "confdefs.h" |
7844 #include <dlfcn.h> | 7824 #include <dlfcn.h> |
7845 int main() { | 7825 int main() { |
7846 dlopen ("", 0); | 7826 dlopen ("", 0); |
7847 ; return 0; } | 7827 ; return 0; } |
7848 EOF | 7828 EOF |
7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7850 rm -rf conftest* | 7830 rm -rf conftest* |
7851 have_dl=yes | 7831 have_dl=yes |
7852 else | 7832 else |
7853 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7854 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7884 ld_dynamic_link_flags= | 7864 ld_dynamic_link_flags= |
7885 xehost=$canonical | 7865 xehost=$canonical |
7886 xealias=$internal_configuration | 7866 xealias=$internal_configuration |
7887 | 7867 |
7888 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7868 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7889 echo "configure:7890: checking how to build dynamic libraries for ${xehost}" >&5 | 7869 echo "configure:7870: checking how to build dynamic libraries for ${xehost}" >&5 |
7890 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7870 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7891 case "$xehost" in | 7871 case "$xehost" in |
7892 *-*-linux-gnu*) ;; | 7872 *-*-linux-gnu*) ;; |
7893 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7873 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7894 esac | 7874 esac |
7912 # Now see if the compiler is really GCC. | 7892 # Now see if the compiler is really GCC. |
7913 if test "$GCC" = "yes"; then | 7893 if test "$GCC" = "yes"; then |
7914 XEGCC=yes | 7894 XEGCC=yes |
7915 else | 7895 else |
7916 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7896 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7917 echo "configure:7918: checking checking whether we are using GNU C" >&5 | 7897 echo "configure:7898: checking checking whether we are using GNU C" >&5 |
7918 cat > conftest.$ac_ext <<EOF | 7898 cat > conftest.$ac_ext <<EOF |
7919 #line 7920 "configure" | 7899 #line 7900 "configure" |
7920 #include "confdefs.h" | 7900 #include "confdefs.h" |
7921 | 7901 |
7922 #ifdef __GNUC__ | 7902 #ifdef __GNUC__ |
7923 yes; | 7903 yes; |
7924 #endif | 7904 #endif |
7936 | 7916 |
7937 echo "$ac_t""${XEGCC}" 1>&6 | 7917 echo "$ac_t""${XEGCC}" 1>&6 |
7938 fi | 7918 fi |
7939 | 7919 |
7940 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7920 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7941 echo "configure:7942: checking how to produce PIC code" >&5 | 7921 echo "configure:7922: checking how to produce PIC code" >&5 |
7942 wl= | 7922 wl= |
7943 | 7923 |
7944 can_build_shared=yes | 7924 can_build_shared=yes |
7945 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7925 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7946 wl='-Wl,' | 7926 wl='-Wl,' |
8040 if test -n "$dll_cflags"; then | 8020 if test -n "$dll_cflags"; then |
8041 echo "$ac_t""${dll_cflags}" 1>&6 | 8021 echo "$ac_t""${dll_cflags}" 1>&6 |
8042 | 8022 |
8043 # Check to make sure the dll_cflags actually works. | 8023 # Check to make sure the dll_cflags actually works. |
8044 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8024 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8045 echo "configure:8046: checking if PIC flag ${dll_cflags} really works" >&5 | 8025 echo "configure:8026: checking if PIC flag ${dll_cflags} really works" >&5 |
8046 save_CFLAGS="$CFLAGS" | 8026 save_CFLAGS="$CFLAGS" |
8047 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8027 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8048 cat > conftest.$ac_ext <<EOF | 8028 cat > conftest.$ac_ext <<EOF |
8049 #line 8050 "configure" | 8029 #line 8030 "configure" |
8050 #include "confdefs.h" | 8030 #include "confdefs.h" |
8051 | 8031 |
8052 int main() { | 8032 int main() { |
8053 int x=0; | 8033 int x=0; |
8054 ; return 0; } | 8034 ; return 0; } |
8055 EOF | 8035 EOF |
8056 if { (eval echo configure:8057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8036 if { (eval echo configure:8037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8057 rm -rf conftest* | 8037 rm -rf conftest* |
8058 | 8038 |
8059 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8039 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8060 # reports no error. So, we need to grep stderr for (Bundled). | 8040 # reports no error. So, we need to grep stderr for (Bundled). |
8061 if grep '(Bundled)' config.log >/dev/null; then | 8041 if grep '(Bundled)' config.log >/dev/null; then |
8082 if test "$can_build_shared" = "yes"; then | 8062 if test "$can_build_shared" = "yes"; then |
8083 cc_produces_so=no | 8063 cc_produces_so=no |
8084 xldf= | 8064 xldf= |
8085 xcldf= | 8065 xcldf= |
8086 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8066 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8087 echo "configure:8088: checking if C compiler can produce shared libraries" >&5 | 8067 echo "configure:8068: checking if C compiler can produce shared libraries" >&5 |
8088 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8068 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8089 case "$xehost_os" in | 8069 case "$xehost_os" in |
8090 *darwin*) | 8070 *darwin*) |
8091 xcldf='-bundle' | 8071 xcldf='-bundle' |
8092 xldf='-bundle -bundle_loader ../../src/xemacs' | 8072 xldf='-bundle -bundle_loader ../../src/xemacs' |
8141 LDFLAGS="$xcldf $LDFLAGS" | 8121 LDFLAGS="$xcldf $LDFLAGS" |
8142 LIBS= | 8122 LIBS= |
8143 xe_libs= | 8123 xe_libs= |
8144 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8124 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8145 cat > conftest.$ac_ext <<EOF | 8125 cat > conftest.$ac_ext <<EOF |
8146 #line 8147 "configure" | 8126 #line 8127 "configure" |
8147 #include "confdefs.h" | 8127 #include "confdefs.h" |
8148 | 8128 |
8149 int main() { | 8129 int main() { |
8150 int x=0; | 8130 int x=0; |
8151 ; return 0; } | 8131 ; return 0; } |
8152 EOF | 8132 EOF |
8153 if { (eval echo configure:8154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8154 rm -rf conftest* | 8134 rm -rf conftest* |
8155 cc_produces_so=yes | 8135 cc_produces_so=yes |
8156 else | 8136 else |
8157 echo "configure: failed program was:" >&5 | 8137 echo "configure: failed program was:" >&5 |
8158 cat conftest.$ac_ext >&5 | 8138 cat conftest.$ac_ext >&5 |
8173 if test -z "$LTLD"; then | 8153 if test -z "$LTLD"; then |
8174 ac_prog=ld | 8154 ac_prog=ld |
8175 if test "$XEGCC" = yes; then | 8155 if test "$XEGCC" = yes; then |
8176 # Check if gcc -print-prog-name=ld gives a path. | 8156 # Check if gcc -print-prog-name=ld gives a path. |
8177 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8157 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8178 echo "configure:8179: checking for ld used by GCC" >&5 | 8158 echo "configure:8159: checking for ld used by GCC" >&5 |
8179 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8159 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8180 case "$ac_prog" in | 8160 case "$ac_prog" in |
8181 # Accept absolute paths. | 8161 # Accept absolute paths. |
8182 /*) | 8162 /*) |
8183 if test -z "$LTLD"; then | 8163 if test -z "$LTLD"; then |
8199 with_gnu_ld=unknown | 8179 with_gnu_ld=unknown |
8200 ;; | 8180 ;; |
8201 esac | 8181 esac |
8202 else | 8182 else |
8203 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8183 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8204 echo "configure:8205: checking for GNU ld" >&5 | 8184 echo "configure:8185: checking for GNU ld" >&5 |
8205 fi | 8185 fi |
8206 | 8186 |
8207 if test -z "$LTLD"; then | 8187 if test -z "$LTLD"; then |
8208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8209 for ac_dir in $PATH; do | 8189 for ac_dir in $PATH; do |
8237 | 8217 |
8238 ld_dynamic_link_flags= | 8218 ld_dynamic_link_flags= |
8239 | 8219 |
8240 # Check to see if it really is or isn't GNU ld. | 8220 # Check to see if it really is or isn't GNU ld. |
8241 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8221 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8242 echo "configure:8243: checking if the linker is GNU ld" >&5 | 8222 echo "configure:8223: checking if the linker is GNU ld" >&5 |
8243 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8223 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8244 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8224 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8245 xe_gnu_ld=yes | 8225 xe_gnu_ld=yes |
8246 else | 8226 else |
8247 xe_gnu_ld=no | 8227 xe_gnu_ld=no |
8272 ld_shlibs=yes | 8252 ld_shlibs=yes |
8273 else | 8253 else |
8274 # OK - only NOW do we futz about with ld. | 8254 # OK - only NOW do we futz about with ld. |
8275 # See if the linker supports building shared libraries. | 8255 # See if the linker supports building shared libraries. |
8276 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8256 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8277 echo "configure:8278: checking whether the linker supports shared libraries" >&5 | 8257 echo "configure:8258: checking whether the linker supports shared libraries" >&5 |
8278 dll_ld=$CC | 8258 dll_ld=$CC |
8279 dll_ldflags=$LDFLAGS | 8259 dll_ldflags=$LDFLAGS |
8280 ld_shlibs=yes | 8260 ld_shlibs=yes |
8281 can_build_shared=yes | 8261 can_build_shared=yes |
8282 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8262 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8485 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8465 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8486 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8466 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8487 for ac_func in dlerror _dlerror | 8467 for ac_func in dlerror _dlerror |
8488 do | 8468 do |
8489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8490 echo "configure:8491: checking for $ac_func" >&5 | 8470 echo "configure:8471: checking for $ac_func" >&5 |
8491 | 8471 |
8492 cat > conftest.$ac_ext <<EOF | 8472 cat > conftest.$ac_ext <<EOF |
8493 #line 8494 "configure" | 8473 #line 8474 "configure" |
8494 #include "confdefs.h" | 8474 #include "confdefs.h" |
8495 /* System header to define __stub macros and hopefully few prototypes, | 8475 /* System header to define __stub macros and hopefully few prototypes, |
8496 which can conflict with char $ac_func(); below. */ | 8476 which can conflict with char $ac_func(); below. */ |
8497 #include <assert.h> | 8477 #include <assert.h> |
8498 /* Override any gcc2 internal prototype to avoid an error. */ | 8478 /* Override any gcc2 internal prototype to avoid an error. */ |
8511 $ac_func(); | 8491 $ac_func(); |
8512 #endif | 8492 #endif |
8513 | 8493 |
8514 ; return 0; } | 8494 ; return 0; } |
8515 EOF | 8495 EOF |
8516 if { (eval echo configure:8517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8496 if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8517 rm -rf conftest* | 8497 rm -rf conftest* |
8518 eval "ac_cv_func_$ac_func=yes" | 8498 eval "ac_cv_func_$ac_func=yes" |
8519 else | 8499 else |
8520 echo "configure: failed program was:" >&5 | 8500 echo "configure: failed program was:" >&5 |
8521 cat conftest.$ac_ext >&5 | 8501 cat conftest.$ac_ext >&5 |
8575 | 8555 |
8576 if test "$with_tooltalk" != "no" ; then | 8556 if test "$with_tooltalk" != "no" ; then |
8577 for dir in "" "Tt/" "desktop/" ; do | 8557 for dir in "" "Tt/" "desktop/" ; do |
8578 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8558 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8579 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8559 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8580 echo "configure:8581: checking for ${dir}tt_c.h" >&5 | 8560 echo "configure:8561: checking for ${dir}tt_c.h" >&5 |
8581 | 8561 |
8582 cat > conftest.$ac_ext <<EOF | 8562 cat > conftest.$ac_ext <<EOF |
8583 #line 8584 "configure" | 8563 #line 8564 "configure" |
8584 #include "confdefs.h" | 8564 #include "confdefs.h" |
8585 #include <${dir}tt_c.h> | 8565 #include <${dir}tt_c.h> |
8586 EOF | 8566 EOF |
8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8568 { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8590 if test -z "$ac_err"; then | 8570 if test -z "$ac_err"; then |
8591 rm -rf conftest* | 8571 rm -rf conftest* |
8592 eval "ac_cv_header_$ac_safe=yes" | 8572 eval "ac_cv_header_$ac_safe=yes" |
8593 else | 8573 else |
8619 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8599 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8620 | 8600 |
8621 xe_msg_checking="for tt_message_create in -ltt" | 8601 xe_msg_checking="for tt_message_create in -ltt" |
8622 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8602 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8623 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8603 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8624 echo "configure:8625: checking "$xe_msg_checking"" >&5 | 8604 echo "configure:8605: checking "$xe_msg_checking"" >&5 |
8625 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8605 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8626 | 8606 |
8627 xe_check_libs=" -ltt $extra_libs" | 8607 xe_check_libs=" -ltt $extra_libs" |
8628 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
8629 #line 8630 "configure" | 8609 #line 8610 "configure" |
8630 #include "confdefs.h" | 8610 #include "confdefs.h" |
8631 /* Override any gcc2 internal prototype to avoid an error. */ | 8611 /* Override any gcc2 internal prototype to avoid an error. */ |
8632 /* We use char because int might match the return type of a gcc2 | 8612 /* We use char because int might match the return type of a gcc2 |
8633 builtin and then its argument prototype would still apply. */ | 8613 builtin and then its argument prototype would still apply. */ |
8634 char tt_message_create(); | 8614 char tt_message_create(); |
8635 | 8615 |
8636 int main() { | 8616 int main() { |
8637 tt_message_create() | 8617 tt_message_create() |
8638 ; return 0; } | 8618 ; return 0; } |
8639 EOF | 8619 EOF |
8640 if { (eval echo configure:8641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8641 rm -rf conftest* | 8621 rm -rf conftest* |
8642 eval "ac_cv_lib_$ac_lib_var=yes" | 8622 eval "ac_cv_lib_$ac_lib_var=yes" |
8643 else | 8623 else |
8644 echo "configure: failed program was:" >&5 | 8624 echo "configure: failed program was:" >&5 |
8645 cat conftest.$ac_ext >&5 | 8625 cat conftest.$ac_ext >&5 |
8689 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8669 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8690 fi | 8670 fi |
8691 | 8671 |
8692 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8672 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8693 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8673 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8694 echo "configure:8695: checking for Dt/Dt.h" >&5 | 8674 echo "configure:8675: checking for Dt/Dt.h" >&5 |
8695 | 8675 |
8696 cat > conftest.$ac_ext <<EOF | 8676 cat > conftest.$ac_ext <<EOF |
8697 #line 8698 "configure" | 8677 #line 8678 "configure" |
8698 #include "confdefs.h" | 8678 #include "confdefs.h" |
8699 #include <Dt/Dt.h> | 8679 #include <Dt/Dt.h> |
8700 EOF | 8680 EOF |
8701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8702 { (eval echo configure:8703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8682 { (eval echo configure:8683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8704 if test -z "$ac_err"; then | 8684 if test -z "$ac_err"; then |
8705 rm -rf conftest* | 8685 rm -rf conftest* |
8706 eval "ac_cv_header_$ac_safe=yes" | 8686 eval "ac_cv_header_$ac_safe=yes" |
8707 else | 8687 else |
8720 with_cde=no | 8700 with_cde=no |
8721 fi | 8701 fi |
8722 } | 8702 } |
8723 test -z "$with_cde" && { | 8703 test -z "$with_cde" && { |
8724 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8704 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8725 echo "configure:8726: checking for DtDndDragStart in -lDtSvc" >&5 | 8705 echo "configure:8706: checking for DtDndDragStart in -lDtSvc" >&5 |
8726 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8706 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8727 | 8707 |
8728 xe_check_libs=" -lDtSvc " | 8708 xe_check_libs=" -lDtSvc " |
8729 cat > conftest.$ac_ext <<EOF | 8709 cat > conftest.$ac_ext <<EOF |
8730 #line 8731 "configure" | 8710 #line 8711 "configure" |
8731 #include "confdefs.h" | 8711 #include "confdefs.h" |
8732 /* Override any gcc2 internal prototype to avoid an error. */ | 8712 /* Override any gcc2 internal prototype to avoid an error. */ |
8733 /* We use char because int might match the return type of a gcc2 | 8713 /* We use char because int might match the return type of a gcc2 |
8734 builtin and then its argument prototype would still apply. */ | 8714 builtin and then its argument prototype would still apply. */ |
8735 char DtDndDragStart(); | 8715 char DtDndDragStart(); |
8736 | 8716 |
8737 int main() { | 8717 int main() { |
8738 DtDndDragStart() | 8718 DtDndDragStart() |
8739 ; return 0; } | 8719 ; return 0; } |
8740 EOF | 8720 EOF |
8741 if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8721 if { (eval echo configure:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8742 rm -rf conftest* | 8722 rm -rf conftest* |
8743 eval "ac_cv_lib_$ac_lib_var=yes" | 8723 eval "ac_cv_lib_$ac_lib_var=yes" |
8744 else | 8724 else |
8745 echo "configure: failed program was:" >&5 | 8725 echo "configure: failed program was:" >&5 |
8746 cat conftest.$ac_ext >&5 | 8726 cat conftest.$ac_ext >&5 |
8817 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8797 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8818 fi | 8798 fi |
8819 | 8799 |
8820 if test "$with_dragndrop" != "no" ; then | 8800 if test "$with_dragndrop" != "no" ; then |
8821 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8801 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8822 echo "configure:8823: checking if drag and drop API is needed" >&5 | 8802 echo "configure:8803: checking if drag and drop API is needed" >&5 |
8823 if test -n "$dragndrop_proto" ; then | 8803 if test -n "$dragndrop_proto" ; then |
8824 with_dragndrop=yes | 8804 with_dragndrop=yes |
8825 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8805 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8826 { test "$extra_verbose" = "yes" && cat << \EOF | 8806 { test "$extra_verbose" = "yes" && cat << \EOF |
8827 Defining HAVE_DRAGNDROP | 8807 Defining HAVE_DRAGNDROP |
8837 echo "$ac_t""no" 1>&6 | 8817 echo "$ac_t""no" 1>&6 |
8838 fi | 8818 fi |
8839 fi | 8819 fi |
8840 | 8820 |
8841 echo "checking for LDAP" 1>&6 | 8821 echo "checking for LDAP" 1>&6 |
8842 echo "configure:8843: checking for LDAP" >&5 | 8822 echo "configure:8823: checking for LDAP" >&5 |
8843 ldap_libs= | 8823 ldap_libs= |
8844 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8824 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8845 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8825 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8846 echo "configure:8847: checking for ldap.h" >&5 | 8826 echo "configure:8827: checking for ldap.h" >&5 |
8847 | 8827 |
8848 cat > conftest.$ac_ext <<EOF | 8828 cat > conftest.$ac_ext <<EOF |
8849 #line 8850 "configure" | 8829 #line 8830 "configure" |
8850 #include "confdefs.h" | 8830 #include "confdefs.h" |
8851 #include <ldap.h> | 8831 #include <ldap.h> |
8852 EOF | 8832 EOF |
8853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8854 { (eval echo configure:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8834 { (eval echo configure:8835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8856 if test -z "$ac_err"; then | 8836 if test -z "$ac_err"; then |
8857 rm -rf conftest* | 8837 rm -rf conftest* |
8858 eval "ac_cv_header_$ac_safe=yes" | 8838 eval "ac_cv_header_$ac_safe=yes" |
8859 else | 8839 else |
8872 with_ldap=no | 8852 with_ldap=no |
8873 fi | 8853 fi |
8874 } | 8854 } |
8875 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8855 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8876 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8856 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8877 echo "configure:8878: checking for lber.h" >&5 | 8857 echo "configure:8858: checking for lber.h" >&5 |
8878 | 8858 |
8879 cat > conftest.$ac_ext <<EOF | 8859 cat > conftest.$ac_ext <<EOF |
8880 #line 8881 "configure" | 8860 #line 8861 "configure" |
8881 #include "confdefs.h" | 8861 #include "confdefs.h" |
8882 #include <lber.h> | 8862 #include <lber.h> |
8883 EOF | 8863 EOF |
8884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8885 { (eval echo configure:8886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8865 { (eval echo configure:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8887 if test -z "$ac_err"; then | 8867 if test -z "$ac_err"; then |
8888 rm -rf conftest* | 8868 rm -rf conftest* |
8889 eval "ac_cv_header_$ac_safe=yes" | 8869 eval "ac_cv_header_$ac_safe=yes" |
8890 else | 8870 else |
8904 fi | 8884 fi |
8905 } | 8885 } |
8906 if test "$with_ldap" != "no"; then | 8886 if test "$with_ldap" != "no"; then |
8907 | 8887 |
8908 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8888 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8909 echo "configure:8910: checking for ldap_search in -lldap" >&5 | 8889 echo "configure:8890: checking for ldap_search in -lldap" >&5 |
8910 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8890 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8911 | 8891 |
8912 xe_check_libs=" -lldap " | 8892 xe_check_libs=" -lldap " |
8913 cat > conftest.$ac_ext <<EOF | 8893 cat > conftest.$ac_ext <<EOF |
8914 #line 8915 "configure" | 8894 #line 8895 "configure" |
8915 #include "confdefs.h" | 8895 #include "confdefs.h" |
8916 /* Override any gcc2 internal prototype to avoid an error. */ | 8896 /* Override any gcc2 internal prototype to avoid an error. */ |
8917 /* We use char because int might match the return type of a gcc2 | 8897 /* We use char because int might match the return type of a gcc2 |
8918 builtin and then its argument prototype would still apply. */ | 8898 builtin and then its argument prototype would still apply. */ |
8919 char ldap_search(); | 8899 char ldap_search(); |
8920 | 8900 |
8921 int main() { | 8901 int main() { |
8922 ldap_search() | 8902 ldap_search() |
8923 ; return 0; } | 8903 ; return 0; } |
8924 EOF | 8904 EOF |
8925 if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8926 rm -rf conftest* | 8906 rm -rf conftest* |
8927 eval "ac_cv_lib_$ac_lib_var=yes" | 8907 eval "ac_cv_lib_$ac_lib_var=yes" |
8928 else | 8908 else |
8929 echo "configure: failed program was:" >&5 | 8909 echo "configure: failed program was:" >&5 |
8930 cat conftest.$ac_ext >&5 | 8910 cat conftest.$ac_ext >&5 |
8945 | 8925 |
8946 test "$with_ldap_nolber" = "no" && { | 8926 test "$with_ldap_nolber" = "no" && { |
8947 xe_msg_checking="for ldap_open in -lldap" | 8927 xe_msg_checking="for ldap_open in -lldap" |
8948 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8928 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8950 echo "configure:8951: checking "$xe_msg_checking"" >&5 | 8930 echo "configure:8931: checking "$xe_msg_checking"" >&5 |
8951 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8931 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8952 | 8932 |
8953 xe_check_libs=" -lldap -llber" | 8933 xe_check_libs=" -lldap -llber" |
8954 cat > conftest.$ac_ext <<EOF | 8934 cat > conftest.$ac_ext <<EOF |
8955 #line 8956 "configure" | 8935 #line 8936 "configure" |
8956 #include "confdefs.h" | 8936 #include "confdefs.h" |
8957 /* Override any gcc2 internal prototype to avoid an error. */ | 8937 /* Override any gcc2 internal prototype to avoid an error. */ |
8958 /* We use char because int might match the return type of a gcc2 | 8938 /* We use char because int might match the return type of a gcc2 |
8959 builtin and then its argument prototype would still apply. */ | 8939 builtin and then its argument prototype would still apply. */ |
8960 char ldap_open(); | 8940 char ldap_open(); |
8961 | 8941 |
8962 int main() { | 8942 int main() { |
8963 ldap_open() | 8943 ldap_open() |
8964 ; return 0; } | 8944 ; return 0; } |
8965 EOF | 8945 EOF |
8966 if { (eval echo configure:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8946 if { (eval echo configure:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8967 rm -rf conftest* | 8947 rm -rf conftest* |
8968 eval "ac_cv_lib_$ac_lib_var=yes" | 8948 eval "ac_cv_lib_$ac_lib_var=yes" |
8969 else | 8949 else |
8970 echo "configure: failed program was:" >&5 | 8950 echo "configure: failed program was:" >&5 |
8971 cat conftest.$ac_ext >&5 | 8951 cat conftest.$ac_ext >&5 |
8986 } | 8966 } |
8987 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8967 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8988 xe_msg_checking="for ldap_open in -lldap" | 8968 xe_msg_checking="for ldap_open in -lldap" |
8989 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8969 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8990 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8991 echo "configure:8992: checking "$xe_msg_checking"" >&5 | 8971 echo "configure:8972: checking "$xe_msg_checking"" >&5 |
8992 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8993 | 8973 |
8994 xe_check_libs=" -lldap -llber -lkrb" | 8974 xe_check_libs=" -lldap -llber -lkrb" |
8995 cat > conftest.$ac_ext <<EOF | 8975 cat > conftest.$ac_ext <<EOF |
8996 #line 8997 "configure" | 8976 #line 8977 "configure" |
8997 #include "confdefs.h" | 8977 #include "confdefs.h" |
8998 /* Override any gcc2 internal prototype to avoid an error. */ | 8978 /* Override any gcc2 internal prototype to avoid an error. */ |
8999 /* We use char because int might match the return type of a gcc2 | 8979 /* We use char because int might match the return type of a gcc2 |
9000 builtin and then its argument prototype would still apply. */ | 8980 builtin and then its argument prototype would still apply. */ |
9001 char ldap_open(); | 8981 char ldap_open(); |
9002 | 8982 |
9003 int main() { | 8983 int main() { |
9004 ldap_open() | 8984 ldap_open() |
9005 ; return 0; } | 8985 ; return 0; } |
9006 EOF | 8986 EOF |
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9008 rm -rf conftest* | 8988 rm -rf conftest* |
9009 eval "ac_cv_lib_$ac_lib_var=yes" | 8989 eval "ac_cv_lib_$ac_lib_var=yes" |
9010 else | 8990 else |
9011 echo "configure: failed program was:" >&5 | 8991 echo "configure: failed program was:" >&5 |
9012 cat conftest.$ac_ext >&5 | 8992 cat conftest.$ac_ext >&5 |
9027 } | 9007 } |
9028 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 9008 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
9029 xe_msg_checking="for ldap_open in -lldap" | 9009 xe_msg_checking="for ldap_open in -lldap" |
9030 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9010 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9031 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9011 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9032 echo "configure:9033: checking "$xe_msg_checking"" >&5 | 9012 echo "configure:9013: checking "$xe_msg_checking"" >&5 |
9033 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9013 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9034 | 9014 |
9035 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9015 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9036 cat > conftest.$ac_ext <<EOF | 9016 cat > conftest.$ac_ext <<EOF |
9037 #line 9038 "configure" | 9017 #line 9018 "configure" |
9038 #include "confdefs.h" | 9018 #include "confdefs.h" |
9039 /* Override any gcc2 internal prototype to avoid an error. */ | 9019 /* Override any gcc2 internal prototype to avoid an error. */ |
9040 /* We use char because int might match the return type of a gcc2 | 9020 /* We use char because int might match the return type of a gcc2 |
9041 builtin and then its argument prototype would still apply. */ | 9021 builtin and then its argument prototype would still apply. */ |
9042 char ldap_open(); | 9022 char ldap_open(); |
9043 | 9023 |
9044 int main() { | 9024 int main() { |
9045 ldap_open() | 9025 ldap_open() |
9046 ; return 0; } | 9026 ; return 0; } |
9047 EOF | 9027 EOF |
9048 if { (eval echo configure:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9049 rm -rf conftest* | 9029 rm -rf conftest* |
9050 eval "ac_cv_lib_$ac_lib_var=yes" | 9030 eval "ac_cv_lib_$ac_lib_var=yes" |
9051 else | 9031 else |
9052 echo "configure: failed program was:" >&5 | 9032 echo "configure: failed program was:" >&5 |
9053 cat conftest.$ac_ext >&5 | 9033 cat conftest.$ac_ext >&5 |
9092 fi | 9072 fi |
9093 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9073 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9094 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9074 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9095 do | 9075 do |
9096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9097 echo "configure:9098: checking for $ac_func" >&5 | 9077 echo "configure:9078: checking for $ac_func" >&5 |
9098 | 9078 |
9099 cat > conftest.$ac_ext <<EOF | 9079 cat > conftest.$ac_ext <<EOF |
9100 #line 9101 "configure" | 9080 #line 9081 "configure" |
9101 #include "confdefs.h" | 9081 #include "confdefs.h" |
9102 /* System header to define __stub macros and hopefully few prototypes, | 9082 /* System header to define __stub macros and hopefully few prototypes, |
9103 which can conflict with char $ac_func(); below. */ | 9083 which can conflict with char $ac_func(); below. */ |
9104 #include <assert.h> | 9084 #include <assert.h> |
9105 /* Override any gcc2 internal prototype to avoid an error. */ | 9085 /* Override any gcc2 internal prototype to avoid an error. */ |
9118 $ac_func(); | 9098 $ac_func(); |
9119 #endif | 9099 #endif |
9120 | 9100 |
9121 ; return 0; } | 9101 ; return 0; } |
9122 EOF | 9102 EOF |
9123 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9103 if { (eval echo configure:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9124 rm -rf conftest* | 9104 rm -rf conftest* |
9125 eval "ac_cv_func_$ac_func=yes" | 9105 eval "ac_cv_func_$ac_func=yes" |
9126 else | 9106 else |
9127 echo "configure: failed program was:" >&5 | 9107 echo "configure: failed program was:" >&5 |
9128 cat conftest.$ac_ext >&5 | 9108 cat conftest.$ac_ext >&5 |
9157 | 9137 |
9158 | 9138 |
9159 postgresql_libs= | 9139 postgresql_libs= |
9160 if test "$with_postgresql" != "no"; then | 9140 if test "$with_postgresql" != "no"; then |
9161 echo "checking for PostgreSQL" 1>&6 | 9141 echo "checking for PostgreSQL" 1>&6 |
9162 echo "configure:9163: checking for PostgreSQL" >&5 | 9142 echo "configure:9143: checking for PostgreSQL" >&5 |
9163 | 9143 |
9164 for header_dir in "" "pgsql/" "postgresql/"; do | 9144 for header_dir in "" "pgsql/" "postgresql/"; do |
9165 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9145 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9166 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9146 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9167 echo "configure:9168: checking for ${header_dir}libpq-fe.h" >&5 | 9147 echo "configure:9148: checking for ${header_dir}libpq-fe.h" >&5 |
9168 | 9148 |
9169 cat > conftest.$ac_ext <<EOF | 9149 cat > conftest.$ac_ext <<EOF |
9170 #line 9171 "configure" | 9150 #line 9151 "configure" |
9171 #include "confdefs.h" | 9151 #include "confdefs.h" |
9172 #include <${header_dir}libpq-fe.h> | 9152 #include <${header_dir}libpq-fe.h> |
9173 EOF | 9153 EOF |
9174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9175 { (eval echo configure:9176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9155 { (eval echo configure:9156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9177 if test -z "$ac_err"; then | 9157 if test -z "$ac_err"; then |
9178 rm -rf conftest* | 9158 rm -rf conftest* |
9179 eval "ac_cv_header_$ac_safe=yes" | 9159 eval "ac_cv_header_$ac_safe=yes" |
9180 else | 9160 else |
9194 | 9174 |
9195 done | 9175 done |
9196 | 9176 |
9197 test -n "$libpq_fe_h_file" && { | 9177 test -n "$libpq_fe_h_file" && { |
9198 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9178 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9199 echo "configure:9200: checking for PQconnectdb in -lpq" >&5 | 9179 echo "configure:9180: checking for PQconnectdb in -lpq" >&5 |
9200 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9180 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9201 | 9181 |
9202 xe_check_libs=" -lpq " | 9182 xe_check_libs=" -lpq " |
9203 cat > conftest.$ac_ext <<EOF | 9183 cat > conftest.$ac_ext <<EOF |
9204 #line 9205 "configure" | 9184 #line 9185 "configure" |
9205 #include "confdefs.h" | 9185 #include "confdefs.h" |
9206 /* Override any gcc2 internal prototype to avoid an error. */ | 9186 /* Override any gcc2 internal prototype to avoid an error. */ |
9207 /* We use char because int might match the return type of a gcc2 | 9187 /* We use char because int might match the return type of a gcc2 |
9208 builtin and then its argument prototype would still apply. */ | 9188 builtin and then its argument prototype would still apply. */ |
9209 char PQconnectdb(); | 9189 char PQconnectdb(); |
9210 | 9190 |
9211 int main() { | 9191 int main() { |
9212 PQconnectdb() | 9192 PQconnectdb() |
9213 ; return 0; } | 9193 ; return 0; } |
9214 EOF | 9194 EOF |
9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9216 rm -rf conftest* | 9196 rm -rf conftest* |
9217 eval "ac_cv_lib_$ac_lib_var=yes" | 9197 eval "ac_cv_lib_$ac_lib_var=yes" |
9218 else | 9198 else |
9219 echo "configure: failed program was:" >&5 | 9199 echo "configure: failed program was:" >&5 |
9220 cat conftest.$ac_ext >&5 | 9200 cat conftest.$ac_ext >&5 |
9243 EOF | 9223 EOF |
9244 } | 9224 } |
9245 | 9225 |
9246 | 9226 |
9247 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9227 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9248 echo "configure:9249: checking for PQconnectStart in -lpq" >&5 | 9228 echo "configure:9229: checking for PQconnectStart in -lpq" >&5 |
9249 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9229 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9250 | 9230 |
9251 xe_check_libs=" -lpq " | 9231 xe_check_libs=" -lpq " |
9252 cat > conftest.$ac_ext <<EOF | 9232 cat > conftest.$ac_ext <<EOF |
9253 #line 9254 "configure" | 9233 #line 9234 "configure" |
9254 #include "confdefs.h" | 9234 #include "confdefs.h" |
9255 /* Override any gcc2 internal prototype to avoid an error. */ | 9235 /* Override any gcc2 internal prototype to avoid an error. */ |
9256 /* We use char because int might match the return type of a gcc2 | 9236 /* We use char because int might match the return type of a gcc2 |
9257 builtin and then its argument prototype would still apply. */ | 9237 builtin and then its argument prototype would still apply. */ |
9258 char PQconnectStart(); | 9238 char PQconnectStart(); |
9259 | 9239 |
9260 int main() { | 9240 int main() { |
9261 PQconnectStart() | 9241 PQconnectStart() |
9262 ; return 0; } | 9242 ; return 0; } |
9263 EOF | 9243 EOF |
9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9265 rm -rf conftest* | 9245 rm -rf conftest* |
9266 eval "ac_cv_lib_$ac_lib_var=yes" | 9246 eval "ac_cv_lib_$ac_lib_var=yes" |
9267 else | 9247 else |
9268 echo "configure: failed program was:" >&5 | 9248 echo "configure: failed program was:" >&5 |
9269 cat conftest.$ac_ext >&5 | 9249 cat conftest.$ac_ext >&5 |
9310 | 9290 |
9311 | 9291 |
9312 | 9292 |
9313 if test "$window_system" != "none"; then | 9293 if test "$window_system" != "none"; then |
9314 echo "checking for graphics libraries" 1>&6 | 9294 echo "checking for graphics libraries" 1>&6 |
9315 echo "configure:9316: checking for graphics libraries" >&5 | 9295 echo "configure:9296: checking for graphics libraries" >&5 |
9316 | 9296 |
9317 libpath_xpm= | 9297 libpath_xpm= |
9318 incpath_xpm= | 9298 incpath_xpm= |
9319 case "$opsys" in | 9299 case "$opsys" in |
9320 cygwin*) | 9300 cygwin*) |
9336 xpm_problem="" | 9316 xpm_problem="" |
9337 if test -z "$with_xpm"; then | 9317 if test -z "$with_xpm"; then |
9338 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9318 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9339 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9319 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9340 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9341 echo "configure:9342: checking for Xpm - no older than 3.4f" >&5 | 9321 echo "configure:9322: checking for Xpm - no older than 3.4f" >&5 |
9342 xe_check_libs=-lXpm | 9322 xe_check_libs=-lXpm |
9343 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9344 #line 9345 "configure" | 9324 #line 9325 "configure" |
9345 #include "confdefs.h" | 9325 #include "confdefs.h" |
9346 #define XPM_NUMBERS | 9326 #define XPM_NUMBERS |
9347 #include <X11/xpm.h> | 9327 #include <X11/xpm.h> |
9348 int main(int c, char **v) { | 9328 int main(int c, char **v) { |
9349 return c == 1 ? 0 : | 9329 return c == 1 ? 0 : |
9350 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9330 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9351 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9331 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9352 EOF | 9332 EOF |
9353 if { (eval echo configure:9354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9354 then | 9334 then |
9355 ./conftest dummy_arg; xpm_status=$?; | 9335 ./conftest dummy_arg; xpm_status=$?; |
9356 if test "$xpm_status" = "0"; then | 9336 if test "$xpm_status" = "0"; then |
9357 with_xpm=yes; | 9337 with_xpm=yes; |
9358 else | 9338 else |
9392 | 9372 |
9393 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9373 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9394 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9374 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9395 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9375 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9396 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9376 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9397 echo "configure:9398: checking for \"FOR_MSW\" xpm" >&5 | 9377 echo "configure:9378: checking for \"FOR_MSW\" xpm" >&5 |
9398 xe_check_libs=-lXpm | 9378 xe_check_libs=-lXpm |
9399 cat > conftest.$ac_ext <<EOF | 9379 cat > conftest.$ac_ext <<EOF |
9400 #line 9401 "configure" | 9380 #line 9381 "configure" |
9401 #include "confdefs.h" | 9381 #include "confdefs.h" |
9402 | 9382 |
9403 int main() { | 9383 int main() { |
9404 XpmCreatePixmapFromData() | 9384 XpmCreatePixmapFromData() |
9405 ; return 0; } | 9385 ; return 0; } |
9406 EOF | 9386 EOF |
9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9408 rm -rf conftest* | 9388 rm -rf conftest* |
9409 xpm_for_msw=no | 9389 xpm_for_msw=no |
9410 else | 9390 else |
9411 echo "configure: failed program was:" >&5 | 9391 echo "configure: failed program was:" >&5 |
9412 cat conftest.$ac_ext >&5 | 9392 cat conftest.$ac_ext >&5 |
9428 fi | 9408 fi |
9429 fi | 9409 fi |
9430 | 9410 |
9431 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9411 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9432 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9412 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9433 echo "configure:9434: checking for compface.h" >&5 | 9413 echo "configure:9414: checking for compface.h" >&5 |
9434 | 9414 |
9435 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9436 #line 9437 "configure" | 9416 #line 9417 "configure" |
9437 #include "confdefs.h" | 9417 #include "confdefs.h" |
9438 #include <compface.h> | 9418 #include <compface.h> |
9439 EOF | 9419 EOF |
9440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9441 { (eval echo configure:9442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9443 if test -z "$ac_err"; then | 9423 if test -z "$ac_err"; then |
9444 rm -rf conftest* | 9424 rm -rf conftest* |
9445 eval "ac_cv_header_$ac_safe=yes" | 9425 eval "ac_cv_header_$ac_safe=yes" |
9446 else | 9426 else |
9459 with_xface=no | 9439 with_xface=no |
9460 fi | 9440 fi |
9461 } | 9441 } |
9462 test -z "$with_xface" && { | 9442 test -z "$with_xface" && { |
9463 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9443 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9464 echo "configure:9465: checking for UnGenFace in -lcompface" >&5 | 9444 echo "configure:9445: checking for UnGenFace in -lcompface" >&5 |
9465 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9445 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9466 | 9446 |
9467 xe_check_libs=" -lcompface " | 9447 xe_check_libs=" -lcompface " |
9468 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
9469 #line 9470 "configure" | 9449 #line 9450 "configure" |
9470 #include "confdefs.h" | 9450 #include "confdefs.h" |
9471 /* Override any gcc2 internal prototype to avoid an error. */ | 9451 /* Override any gcc2 internal prototype to avoid an error. */ |
9472 /* We use char because int might match the return type of a gcc2 | 9452 /* We use char because int might match the return type of a gcc2 |
9473 builtin and then its argument prototype would still apply. */ | 9453 builtin and then its argument prototype would still apply. */ |
9474 char UnGenFace(); | 9454 char UnGenFace(); |
9475 | 9455 |
9476 int main() { | 9456 int main() { |
9477 UnGenFace() | 9457 UnGenFace() |
9478 ; return 0; } | 9458 ; return 0; } |
9479 EOF | 9459 EOF |
9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9481 rm -rf conftest* | 9461 rm -rf conftest* |
9482 eval "ac_cv_lib_$ac_lib_var=yes" | 9462 eval "ac_cv_lib_$ac_lib_var=yes" |
9483 else | 9463 else |
9484 echo "configure: failed program was:" >&5 | 9464 echo "configure: failed program was:" >&5 |
9485 cat conftest.$ac_ext >&5 | 9465 cat conftest.$ac_ext >&5 |
9524 fi | 9504 fi |
9525 | 9505 |
9526 if test "$with_png $with_tiff" != "no no"; then | 9506 if test "$with_png $with_tiff" != "no no"; then |
9527 | 9507 |
9528 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9508 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9529 echo "configure:9530: checking for inflate in -lc" >&5 | 9509 echo "configure:9510: checking for inflate in -lc" >&5 |
9530 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9510 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9531 | 9511 |
9532 xe_check_libs=" -lc " | 9512 xe_check_libs=" -lc " |
9533 cat > conftest.$ac_ext <<EOF | 9513 cat > conftest.$ac_ext <<EOF |
9534 #line 9535 "configure" | 9514 #line 9515 "configure" |
9535 #include "confdefs.h" | 9515 #include "confdefs.h" |
9536 /* Override any gcc2 internal prototype to avoid an error. */ | 9516 /* Override any gcc2 internal prototype to avoid an error. */ |
9537 /* We use char because int might match the return type of a gcc2 | 9517 /* We use char because int might match the return type of a gcc2 |
9538 builtin and then its argument prototype would still apply. */ | 9518 builtin and then its argument prototype would still apply. */ |
9539 char inflate(); | 9519 char inflate(); |
9540 | 9520 |
9541 int main() { | 9521 int main() { |
9542 inflate() | 9522 inflate() |
9543 ; return 0; } | 9523 ; return 0; } |
9544 EOF | 9524 EOF |
9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9546 rm -rf conftest* | 9526 rm -rf conftest* |
9547 eval "ac_cv_lib_$ac_lib_var=yes" | 9527 eval "ac_cv_lib_$ac_lib_var=yes" |
9548 else | 9528 else |
9549 echo "configure: failed program was:" >&5 | 9529 echo "configure: failed program was:" >&5 |
9550 cat conftest.$ac_ext >&5 | 9530 cat conftest.$ac_ext >&5 |
9559 : | 9539 : |
9560 else | 9540 else |
9561 echo "$ac_t""no" 1>&6 | 9541 echo "$ac_t""no" 1>&6 |
9562 | 9542 |
9563 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9543 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9564 echo "configure:9565: checking for inflate in -lz" >&5 | 9544 echo "configure:9545: checking for inflate in -lz" >&5 |
9565 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9545 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9566 | 9546 |
9567 xe_check_libs=" -lz " | 9547 xe_check_libs=" -lz " |
9568 cat > conftest.$ac_ext <<EOF | 9548 cat > conftest.$ac_ext <<EOF |
9569 #line 9570 "configure" | 9549 #line 9550 "configure" |
9570 #include "confdefs.h" | 9550 #include "confdefs.h" |
9571 /* Override any gcc2 internal prototype to avoid an error. */ | 9551 /* Override any gcc2 internal prototype to avoid an error. */ |
9572 /* We use char because int might match the return type of a gcc2 | 9552 /* We use char because int might match the return type of a gcc2 |
9573 builtin and then its argument prototype would still apply. */ | 9553 builtin and then its argument prototype would still apply. */ |
9574 char inflate(); | 9554 char inflate(); |
9575 | 9555 |
9576 int main() { | 9556 int main() { |
9577 inflate() | 9557 inflate() |
9578 ; return 0; } | 9558 ; return 0; } |
9579 EOF | 9559 EOF |
9580 if { (eval echo configure:9581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9581 rm -rf conftest* | 9561 rm -rf conftest* |
9582 eval "ac_cv_lib_$ac_lib_var=yes" | 9562 eval "ac_cv_lib_$ac_lib_var=yes" |
9583 else | 9563 else |
9584 echo "configure: failed program was:" >&5 | 9564 echo "configure: failed program was:" >&5 |
9585 cat conftest.$ac_ext >&5 | 9565 cat conftest.$ac_ext >&5 |
9594 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9574 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9595 else | 9575 else |
9596 echo "$ac_t""no" 1>&6 | 9576 echo "$ac_t""no" 1>&6 |
9597 | 9577 |
9598 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9578 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9599 echo "configure:9600: checking for inflate in -lgz" >&5 | 9579 echo "configure:9580: checking for inflate in -lgz" >&5 |
9600 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9580 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9601 | 9581 |
9602 xe_check_libs=" -lgz " | 9582 xe_check_libs=" -lgz " |
9603 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9604 #line 9605 "configure" | 9584 #line 9585 "configure" |
9605 #include "confdefs.h" | 9585 #include "confdefs.h" |
9606 /* Override any gcc2 internal prototype to avoid an error. */ | 9586 /* Override any gcc2 internal prototype to avoid an error. */ |
9607 /* We use char because int might match the return type of a gcc2 | 9587 /* We use char because int might match the return type of a gcc2 |
9608 builtin and then its argument prototype would still apply. */ | 9588 builtin and then its argument prototype would still apply. */ |
9609 char inflate(); | 9589 char inflate(); |
9610 | 9590 |
9611 int main() { | 9591 int main() { |
9612 inflate() | 9592 inflate() |
9613 ; return 0; } | 9593 ; return 0; } |
9614 EOF | 9594 EOF |
9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9616 rm -rf conftest* | 9596 rm -rf conftest* |
9617 eval "ac_cv_lib_$ac_lib_var=yes" | 9597 eval "ac_cv_lib_$ac_lib_var=yes" |
9618 else | 9598 else |
9619 echo "configure: failed program was:" >&5 | 9599 echo "configure: failed program was:" >&5 |
9620 cat conftest.$ac_ext >&5 | 9600 cat conftest.$ac_ext >&5 |
9640 | 9620 |
9641 fi | 9621 fi |
9642 | 9622 |
9643 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9623 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9644 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9645 echo "configure:9646: checking for jpeglib.h" >&5 | 9625 echo "configure:9626: checking for jpeglib.h" >&5 |
9646 | 9626 |
9647 cat > conftest.$ac_ext <<EOF | 9627 cat > conftest.$ac_ext <<EOF |
9648 #line 9649 "configure" | 9628 #line 9629 "configure" |
9649 #include "confdefs.h" | 9629 #include "confdefs.h" |
9650 #include <jpeglib.h> | 9630 #include <jpeglib.h> |
9651 EOF | 9631 EOF |
9652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9653 { (eval echo configure:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9655 if test -z "$ac_err"; then | 9635 if test -z "$ac_err"; then |
9656 rm -rf conftest* | 9636 rm -rf conftest* |
9657 eval "ac_cv_header_$ac_safe=yes" | 9637 eval "ac_cv_header_$ac_safe=yes" |
9658 else | 9638 else |
9671 with_jpeg=no | 9651 with_jpeg=no |
9672 fi | 9652 fi |
9673 } | 9653 } |
9674 test -z "$with_jpeg" && { | 9654 test -z "$with_jpeg" && { |
9675 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9655 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9676 echo "configure:9677: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9656 echo "configure:9657: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9677 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9657 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9678 | 9658 |
9679 xe_check_libs=" -ljpeg " | 9659 xe_check_libs=" -ljpeg " |
9680 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9681 #line 9682 "configure" | 9661 #line 9662 "configure" |
9682 #include "confdefs.h" | 9662 #include "confdefs.h" |
9683 /* Override any gcc2 internal prototype to avoid an error. */ | 9663 /* Override any gcc2 internal prototype to avoid an error. */ |
9684 /* We use char because int might match the return type of a gcc2 | 9664 /* We use char because int might match the return type of a gcc2 |
9685 builtin and then its argument prototype would still apply. */ | 9665 builtin and then its argument prototype would still apply. */ |
9686 char jpeg_destroy_decompress(); | 9666 char jpeg_destroy_decompress(); |
9687 | 9667 |
9688 int main() { | 9668 int main() { |
9689 jpeg_destroy_decompress() | 9669 jpeg_destroy_decompress() |
9690 ; return 0; } | 9670 ; return 0; } |
9691 EOF | 9671 EOF |
9692 if { (eval echo configure:9693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9693 rm -rf conftest* | 9673 rm -rf conftest* |
9694 eval "ac_cv_lib_$ac_lib_var=yes" | 9674 eval "ac_cv_lib_$ac_lib_var=yes" |
9695 else | 9675 else |
9696 echo "configure: failed program was:" >&5 | 9676 echo "configure: failed program was:" >&5 |
9697 cat conftest.$ac_ext >&5 | 9677 cat conftest.$ac_ext >&5 |
9723 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9703 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9724 fi | 9704 fi |
9725 | 9705 |
9726 png_problem="" | 9706 png_problem="" |
9727 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9707 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9728 echo "configure:9729: checking for pow" >&5 | 9708 echo "configure:9709: checking for pow" >&5 |
9729 | 9709 |
9730 cat > conftest.$ac_ext <<EOF | 9710 cat > conftest.$ac_ext <<EOF |
9731 #line 9732 "configure" | 9711 #line 9712 "configure" |
9732 #include "confdefs.h" | 9712 #include "confdefs.h" |
9733 /* System header to define __stub macros and hopefully few prototypes, | 9713 /* System header to define __stub macros and hopefully few prototypes, |
9734 which can conflict with char pow(); below. */ | 9714 which can conflict with char pow(); below. */ |
9735 #include <assert.h> | 9715 #include <assert.h> |
9736 /* Override any gcc2 internal prototype to avoid an error. */ | 9716 /* Override any gcc2 internal prototype to avoid an error. */ |
9749 pow(); | 9729 pow(); |
9750 #endif | 9730 #endif |
9751 | 9731 |
9752 ; return 0; } | 9732 ; return 0; } |
9753 EOF | 9733 EOF |
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9755 rm -rf conftest* | 9735 rm -rf conftest* |
9756 eval "ac_cv_func_pow=yes" | 9736 eval "ac_cv_func_pow=yes" |
9757 else | 9737 else |
9758 echo "configure: failed program was:" >&5 | 9738 echo "configure: failed program was:" >&5 |
9759 cat conftest.$ac_ext >&5 | 9739 cat conftest.$ac_ext >&5 |
9770 with_png=no | 9750 with_png=no |
9771 fi | 9751 fi |
9772 } | 9752 } |
9773 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9753 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9774 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9754 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9775 echo "configure:9776: checking for png.h" >&5 | 9755 echo "configure:9756: checking for png.h" >&5 |
9776 | 9756 |
9777 cat > conftest.$ac_ext <<EOF | 9757 cat > conftest.$ac_ext <<EOF |
9778 #line 9779 "configure" | 9758 #line 9759 "configure" |
9779 #include "confdefs.h" | 9759 #include "confdefs.h" |
9780 #include <png.h> | 9760 #include <png.h> |
9781 EOF | 9761 EOF |
9782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9783 { (eval echo configure:9784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9785 if test -z "$ac_err"; then | 9765 if test -z "$ac_err"; then |
9786 rm -rf conftest* | 9766 rm -rf conftest* |
9787 eval "ac_cv_header_$ac_safe=yes" | 9767 eval "ac_cv_header_$ac_safe=yes" |
9788 else | 9768 else |
9801 with_png=no | 9781 with_png=no |
9802 fi | 9782 fi |
9803 } | 9783 } |
9804 test -z "$with_png" && { | 9784 test -z "$with_png" && { |
9805 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9785 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9806 echo "configure:9807: checking for png_read_image in -lpng" >&5 | 9786 echo "configure:9787: checking for png_read_image in -lpng" >&5 |
9807 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9787 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9808 | 9788 |
9809 xe_check_libs=" -lpng " | 9789 xe_check_libs=" -lpng " |
9810 cat > conftest.$ac_ext <<EOF | 9790 cat > conftest.$ac_ext <<EOF |
9811 #line 9812 "configure" | 9791 #line 9792 "configure" |
9812 #include "confdefs.h" | 9792 #include "confdefs.h" |
9813 /* Override any gcc2 internal prototype to avoid an error. */ | 9793 /* Override any gcc2 internal prototype to avoid an error. */ |
9814 /* We use char because int might match the return type of a gcc2 | 9794 /* We use char because int might match the return type of a gcc2 |
9815 builtin and then its argument prototype would still apply. */ | 9795 builtin and then its argument prototype would still apply. */ |
9816 char png_read_image(); | 9796 char png_read_image(); |
9817 | 9797 |
9818 int main() { | 9798 int main() { |
9819 png_read_image() | 9799 png_read_image() |
9820 ; return 0; } | 9800 ; return 0; } |
9821 EOF | 9801 EOF |
9822 if { (eval echo configure:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9823 rm -rf conftest* | 9803 rm -rf conftest* |
9824 eval "ac_cv_lib_$ac_lib_var=yes" | 9804 eval "ac_cv_lib_$ac_lib_var=yes" |
9825 else | 9805 else |
9826 echo "configure: failed program was:" >&5 | 9806 echo "configure: failed program was:" >&5 |
9827 cat conftest.$ac_ext >&5 | 9807 cat conftest.$ac_ext >&5 |
9840 fi | 9820 fi |
9841 | 9821 |
9842 } | 9822 } |
9843 if test -z "$with_png"; then | 9823 if test -z "$with_png"; then |
9844 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9824 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9845 echo "configure:9846: checking for workable png version information" >&5 | 9825 echo "configure:9826: checking for workable png version information" >&5 |
9846 xe_check_libs="-lpng -lz" | 9826 xe_check_libs="-lpng -lz" |
9847 cat > conftest.$ac_ext <<EOF | 9827 cat > conftest.$ac_ext <<EOF |
9848 #line 9849 "configure" | 9828 #line 9829 "configure" |
9849 #include "confdefs.h" | 9829 #include "confdefs.h" |
9850 #include <png.h> | 9830 #include <png.h> |
9851 int main(int c, char **v) { | 9831 int main(int c, char **v) { |
9852 if (c == 1) return 0; | 9832 if (c == 1) return 0; |
9853 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9833 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9854 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9834 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9855 EOF | 9835 EOF |
9856 if { (eval echo configure:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9857 then | 9837 then |
9858 ./conftest dummy_arg; png_status=$?; | 9838 ./conftest dummy_arg; png_status=$?; |
9859 if test "$png_status" = "0"; then | 9839 if test "$png_status" = "0"; then |
9860 with_png=yes; | 9840 with_png=yes; |
9861 else | 9841 else |
9894 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9874 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9895 fi | 9875 fi |
9896 | 9876 |
9897 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9877 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9898 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9878 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9899 echo "configure:9900: checking for tiffio.h" >&5 | 9879 echo "configure:9880: checking for tiffio.h" >&5 |
9900 | 9880 |
9901 cat > conftest.$ac_ext <<EOF | 9881 cat > conftest.$ac_ext <<EOF |
9902 #line 9903 "configure" | 9882 #line 9883 "configure" |
9903 #include "confdefs.h" | 9883 #include "confdefs.h" |
9904 #include <tiffio.h> | 9884 #include <tiffio.h> |
9905 EOF | 9885 EOF |
9906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9907 { (eval echo configure:9908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9909 if test -z "$ac_err"; then | 9889 if test -z "$ac_err"; then |
9910 rm -rf conftest* | 9890 rm -rf conftest* |
9911 eval "ac_cv_header_$ac_safe=yes" | 9891 eval "ac_cv_header_$ac_safe=yes" |
9912 else | 9892 else |
9925 with_tiff=no | 9905 with_tiff=no |
9926 fi | 9906 fi |
9927 } | 9907 } |
9928 test -z "$with_tiff" && { | 9908 test -z "$with_tiff" && { |
9929 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9909 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9930 echo "configure:9931: checking for TIFFClientOpen in -ltiff" >&5 | 9910 echo "configure:9911: checking for TIFFClientOpen in -ltiff" >&5 |
9931 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9911 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9932 | 9912 |
9933 xe_check_libs=" -ltiff " | 9913 xe_check_libs=" -ltiff " |
9934 cat > conftest.$ac_ext <<EOF | 9914 cat > conftest.$ac_ext <<EOF |
9935 #line 9936 "configure" | 9915 #line 9916 "configure" |
9936 #include "confdefs.h" | 9916 #include "confdefs.h" |
9937 /* Override any gcc2 internal prototype to avoid an error. */ | 9917 /* Override any gcc2 internal prototype to avoid an error. */ |
9938 /* We use char because int might match the return type of a gcc2 | 9918 /* We use char because int might match the return type of a gcc2 |
9939 builtin and then its argument prototype would still apply. */ | 9919 builtin and then its argument prototype would still apply. */ |
9940 char TIFFClientOpen(); | 9920 char TIFFClientOpen(); |
9941 | 9921 |
9942 int main() { | 9922 int main() { |
9943 TIFFClientOpen() | 9923 TIFFClientOpen() |
9944 ; return 0; } | 9924 ; return 0; } |
9945 EOF | 9925 EOF |
9946 if { (eval echo configure:9947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9947 rm -rf conftest* | 9927 rm -rf conftest* |
9948 eval "ac_cv_lib_$ac_lib_var=yes" | 9928 eval "ac_cv_lib_$ac_lib_var=yes" |
9949 else | 9929 else |
9950 echo "configure: failed program was:" >&5 | 9930 echo "configure: failed program was:" >&5 |
9951 cat conftest.$ac_ext >&5 | 9931 cat conftest.$ac_ext >&5 |
9980 | 9960 |
9981 | 9961 |
9982 if test "$with_gtk" = "yes"; then | 9962 if test "$with_gtk" = "yes"; then |
9983 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9963 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9984 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9964 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9985 echo "configure:9986: checking for compface.h" >&5 | 9965 echo "configure:9966: checking for compface.h" >&5 |
9986 | 9966 |
9987 cat > conftest.$ac_ext <<EOF | 9967 cat > conftest.$ac_ext <<EOF |
9988 #line 9989 "configure" | 9968 #line 9969 "configure" |
9989 #include "confdefs.h" | 9969 #include "confdefs.h" |
9990 #include <compface.h> | 9970 #include <compface.h> |
9991 EOF | 9971 EOF |
9992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9993 { (eval echo configure:9994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9973 { (eval echo configure:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9995 if test -z "$ac_err"; then | 9975 if test -z "$ac_err"; then |
9996 rm -rf conftest* | 9976 rm -rf conftest* |
9997 eval "ac_cv_header_$ac_safe=yes" | 9977 eval "ac_cv_header_$ac_safe=yes" |
9998 else | 9978 else |
10011 with_xface=no | 9991 with_xface=no |
10012 fi | 9992 fi |
10013 } | 9993 } |
10014 test -z "$with_xface" && { | 9994 test -z "$with_xface" && { |
10015 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9995 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
10016 echo "configure:10017: checking for UnGenFace in -lcompface" >&5 | 9996 echo "configure:9997: checking for UnGenFace in -lcompface" >&5 |
10017 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9997 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
10018 | 9998 |
10019 xe_check_libs=" -lcompface " | 9999 xe_check_libs=" -lcompface " |
10020 cat > conftest.$ac_ext <<EOF | 10000 cat > conftest.$ac_ext <<EOF |
10021 #line 10022 "configure" | 10001 #line 10002 "configure" |
10022 #include "confdefs.h" | 10002 #include "confdefs.h" |
10023 /* Override any gcc2 internal prototype to avoid an error. */ | 10003 /* Override any gcc2 internal prototype to avoid an error. */ |
10024 /* We use char because int might match the return type of a gcc2 | 10004 /* We use char because int might match the return type of a gcc2 |
10025 builtin and then its argument prototype would still apply. */ | 10005 builtin and then its argument prototype would still apply. */ |
10026 char UnGenFace(); | 10006 char UnGenFace(); |
10027 | 10007 |
10028 int main() { | 10008 int main() { |
10029 UnGenFace() | 10009 UnGenFace() |
10030 ; return 0; } | 10010 ; return 0; } |
10031 EOF | 10011 EOF |
10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10033 rm -rf conftest* | 10013 rm -rf conftest* |
10034 eval "ac_cv_lib_$ac_lib_var=yes" | 10014 eval "ac_cv_lib_$ac_lib_var=yes" |
10035 else | 10015 else |
10036 echo "configure: failed program was:" >&5 | 10016 echo "configure: failed program was:" >&5 |
10037 cat conftest.$ac_ext >&5 | 10017 cat conftest.$ac_ext >&5 |
10066 | 10046 |
10067 | 10047 |
10068 | 10048 |
10069 if test "$with_x11" = "yes"; then | 10049 if test "$with_x11" = "yes"; then |
10070 echo "checking for X11 graphics libraries" 1>&6 | 10050 echo "checking for X11 graphics libraries" 1>&6 |
10071 echo "configure:10072: checking for X11 graphics libraries" >&5 | 10051 echo "configure:10052: checking for X11 graphics libraries" >&5 |
10072 fi | 10052 fi |
10073 | 10053 |
10074 case "$with_widgets" in | 10054 case "$with_widgets" in |
10075 "yes" | "athena") detect_athena=yes ;; | 10055 "yes" | "athena") detect_athena=yes ;; |
10076 *) detect_athena=no ;; | 10056 *) detect_athena=no ;; |
10077 esac | 10057 esac |
10078 | 10058 |
10079 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10059 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10080 echo "checking for the Athena widgets" 1>&6 | 10060 echo "checking for the Athena widgets" 1>&6 |
10081 echo "configure:10082: checking for the Athena widgets" >&5 | 10061 echo "configure:10062: checking for the Athena widgets" >&5 |
10082 | 10062 |
10083 case "$with_athena" in | 10063 case "$with_athena" in |
10084 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10064 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10085 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10065 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10086 "next") athena_variant=neXtaw athena_3d=yes ;; | 10066 "next") athena_variant=neXtaw athena_3d=yes ;; |
10090 esac | 10070 esac |
10091 | 10071 |
10092 if test "$athena_3d" = "no"; then | 10072 if test "$athena_3d" = "no"; then |
10093 | 10073 |
10094 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10074 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10095 echo "configure:10096: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10075 echo "configure:10076: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10096 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10076 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10097 | 10077 |
10098 xe_check_libs=" -l$athena_variant " | 10078 xe_check_libs=" -l$athena_variant " |
10099 cat > conftest.$ac_ext <<EOF | 10079 cat > conftest.$ac_ext <<EOF |
10100 #line 10101 "configure" | 10080 #line 10081 "configure" |
10101 #include "confdefs.h" | 10081 #include "confdefs.h" |
10102 /* Override any gcc2 internal prototype to avoid an error. */ | 10082 /* Override any gcc2 internal prototype to avoid an error. */ |
10103 /* We use char because int might match the return type of a gcc2 | 10083 /* We use char because int might match the return type of a gcc2 |
10104 builtin and then its argument prototype would still apply. */ | 10084 builtin and then its argument prototype would still apply. */ |
10105 char XawScrollbarSetThumb(); | 10085 char XawScrollbarSetThumb(); |
10106 | 10086 |
10107 int main() { | 10087 int main() { |
10108 XawScrollbarSetThumb() | 10088 XawScrollbarSetThumb() |
10109 ; return 0; } | 10089 ; return 0; } |
10110 EOF | 10090 EOF |
10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10091 if { (eval echo configure:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10112 rm -rf conftest* | 10092 rm -rf conftest* |
10113 eval "ac_cv_lib_$ac_lib_var=yes" | 10093 eval "ac_cv_lib_$ac_lib_var=yes" |
10114 else | 10094 else |
10115 echo "configure: failed program was:" >&5 | 10095 echo "configure: failed program was:" >&5 |
10116 cat conftest.$ac_ext >&5 | 10096 cat conftest.$ac_ext >&5 |
10122 | 10102 |
10123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10124 echo "$ac_t""yes" 1>&6 | 10104 echo "$ac_t""yes" 1>&6 |
10125 | 10105 |
10126 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10106 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10127 echo "configure:10128: checking for threeDClassRec in -l$athena_variant" >&5 | 10107 echo "configure:10108: checking for threeDClassRec in -l$athena_variant" >&5 |
10128 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10108 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10129 | 10109 |
10130 xe_check_libs=" -l$athena_variant " | 10110 xe_check_libs=" -l$athena_variant " |
10131 cat > conftest.$ac_ext <<EOF | 10111 cat > conftest.$ac_ext <<EOF |
10132 #line 10133 "configure" | 10112 #line 10113 "configure" |
10133 #include "confdefs.h" | 10113 #include "confdefs.h" |
10134 /* Override any gcc2 internal prototype to avoid an error. */ | 10114 /* Override any gcc2 internal prototype to avoid an error. */ |
10135 /* We use char because int might match the return type of a gcc2 | 10115 /* We use char because int might match the return type of a gcc2 |
10136 builtin and then its argument prototype would still apply. */ | 10116 builtin and then its argument prototype would still apply. */ |
10137 char threeDClassRec(); | 10117 char threeDClassRec(); |
10138 | 10118 |
10139 int main() { | 10119 int main() { |
10140 threeDClassRec() | 10120 threeDClassRec() |
10141 ; return 0; } | 10121 ; return 0; } |
10142 EOF | 10122 EOF |
10143 if { (eval echo configure:10144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10123 if { (eval echo configure:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10144 rm -rf conftest* | 10124 rm -rf conftest* |
10145 eval "ac_cv_lib_$ac_lib_var=yes" | 10125 eval "ac_cv_lib_$ac_lib_var=yes" |
10146 else | 10126 else |
10147 echo "configure: failed program was:" >&5 | 10127 echo "configure: failed program was:" >&5 |
10148 cat conftest.$ac_ext >&5 | 10128 cat conftest.$ac_ext >&5 |
10169 | 10149 |
10170 | 10150 |
10171 else | 10151 else |
10172 | 10152 |
10173 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10153 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10174 echo "configure:10175: checking for threeDClassRec in -l$athena_variant" >&5 | 10154 echo "configure:10155: checking for threeDClassRec in -l$athena_variant" >&5 |
10175 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10155 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10176 | 10156 |
10177 xe_check_libs=" -l$athena_variant " | 10157 xe_check_libs=" -l$athena_variant " |
10178 cat > conftest.$ac_ext <<EOF | 10158 cat > conftest.$ac_ext <<EOF |
10179 #line 10180 "configure" | 10159 #line 10160 "configure" |
10180 #include "confdefs.h" | 10160 #include "confdefs.h" |
10181 /* Override any gcc2 internal prototype to avoid an error. */ | 10161 /* Override any gcc2 internal prototype to avoid an error. */ |
10182 /* We use char because int might match the return type of a gcc2 | 10162 /* We use char because int might match the return type of a gcc2 |
10183 builtin and then its argument prototype would still apply. */ | 10163 builtin and then its argument prototype would still apply. */ |
10184 char threeDClassRec(); | 10164 char threeDClassRec(); |
10185 | 10165 |
10186 int main() { | 10166 int main() { |
10187 threeDClassRec() | 10167 threeDClassRec() |
10188 ; return 0; } | 10168 ; return 0; } |
10189 EOF | 10169 EOF |
10190 if { (eval echo configure:10191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10170 if { (eval echo configure:10171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10191 rm -rf conftest* | 10171 rm -rf conftest* |
10192 eval "ac_cv_lib_$ac_lib_var=yes" | 10172 eval "ac_cv_lib_$ac_lib_var=yes" |
10193 else | 10173 else |
10194 echo "configure: failed program was:" >&5 | 10174 echo "configure: failed program was:" >&5 |
10195 cat conftest.$ac_ext >&5 | 10175 cat conftest.$ac_ext >&5 |
10203 echo "$ac_t""yes" 1>&6 | 10183 echo "$ac_t""yes" 1>&6 |
10204 athena_lib=$athena_variant | 10184 athena_lib=$athena_variant |
10205 else | 10185 else |
10206 echo "$ac_t""no" 1>&6 | 10186 echo "$ac_t""no" 1>&6 |
10207 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10187 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10208 echo "configure:10209: checking for threeDClassRec in -lXaw" >&5 | 10188 echo "configure:10189: checking for threeDClassRec in -lXaw" >&5 |
10209 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10189 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10210 | 10190 |
10211 xe_check_libs=" -lXaw " | 10191 xe_check_libs=" -lXaw " |
10212 cat > conftest.$ac_ext <<EOF | 10192 cat > conftest.$ac_ext <<EOF |
10213 #line 10214 "configure" | 10193 #line 10194 "configure" |
10214 #include "confdefs.h" | 10194 #include "confdefs.h" |
10215 /* Override any gcc2 internal prototype to avoid an error. */ | 10195 /* Override any gcc2 internal prototype to avoid an error. */ |
10216 /* We use char because int might match the return type of a gcc2 | 10196 /* We use char because int might match the return type of a gcc2 |
10217 builtin and then its argument prototype would still apply. */ | 10197 builtin and then its argument prototype would still apply. */ |
10218 char threeDClassRec(); | 10198 char threeDClassRec(); |
10219 | 10199 |
10220 int main() { | 10200 int main() { |
10221 threeDClassRec() | 10201 threeDClassRec() |
10222 ; return 0; } | 10202 ; return 0; } |
10223 EOF | 10203 EOF |
10224 if { (eval echo configure:10225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10225 rm -rf conftest* | 10205 rm -rf conftest* |
10226 eval "ac_cv_lib_$ac_lib_var=yes" | 10206 eval "ac_cv_lib_$ac_lib_var=yes" |
10227 else | 10207 else |
10228 echo "configure: failed program was:" >&5 | 10208 echo "configure: failed program was:" >&5 |
10229 cat conftest.$ac_ext >&5 | 10209 cat conftest.$ac_ext >&5 |
10250 fi | 10230 fi |
10251 | 10231 |
10252 if test "$athena_3d" = "no"; then | 10232 if test "$athena_3d" = "no"; then |
10253 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10233 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10254 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10234 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10255 echo "configure:10256: checking for X11/Xaw/ThreeD.h" >&5 | 10235 echo "configure:10236: checking for X11/Xaw/ThreeD.h" >&5 |
10256 | 10236 |
10257 cat > conftest.$ac_ext <<EOF | 10237 cat > conftest.$ac_ext <<EOF |
10258 #line 10259 "configure" | 10238 #line 10239 "configure" |
10259 #include "confdefs.h" | 10239 #include "confdefs.h" |
10260 #include <X11/Xaw/ThreeD.h> | 10240 #include <X11/Xaw/ThreeD.h> |
10261 EOF | 10241 EOF |
10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10265 if test -z "$ac_err"; then | 10245 if test -z "$ac_err"; then |
10266 rm -rf conftest* | 10246 rm -rf conftest* |
10267 eval "ac_cv_header_$ac_safe=yes" | 10247 eval "ac_cv_header_$ac_safe=yes" |
10268 else | 10248 else |
10278 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10258 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10279 else | 10259 else |
10280 echo "$ac_t""no" 1>&6 | 10260 echo "$ac_t""no" 1>&6 |
10281 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10261 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10282 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10262 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10283 echo "configure:10284: checking for X11/Xaw/XawInit.h" >&5 | 10263 echo "configure:10264: checking for X11/Xaw/XawInit.h" >&5 |
10284 | 10264 |
10285 cat > conftest.$ac_ext <<EOF | 10265 cat > conftest.$ac_ext <<EOF |
10286 #line 10287 "configure" | 10266 #line 10267 "configure" |
10287 #include "confdefs.h" | 10267 #include "confdefs.h" |
10288 #include <X11/Xaw/XawInit.h> | 10268 #include <X11/Xaw/XawInit.h> |
10289 EOF | 10269 EOF |
10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10293 if test -z "$ac_err"; then | 10273 if test -z "$ac_err"; then |
10294 rm -rf conftest* | 10274 rm -rf conftest* |
10295 eval "ac_cv_header_$ac_safe=yes" | 10275 eval "ac_cv_header_$ac_safe=yes" |
10296 else | 10276 else |
10312 fi | 10292 fi |
10313 | 10293 |
10314 else | 10294 else |
10315 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10295 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10316 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10296 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10317 echo "configure:10318: checking for X11/$athena_variant/XawInit.h" >&5 | 10297 echo "configure:10298: checking for X11/$athena_variant/XawInit.h" >&5 |
10318 | 10298 |
10319 cat > conftest.$ac_ext <<EOF | 10299 cat > conftest.$ac_ext <<EOF |
10320 #line 10321 "configure" | 10300 #line 10301 "configure" |
10321 #include "confdefs.h" | 10301 #include "confdefs.h" |
10322 #include <X11/$athena_variant/XawInit.h> | 10302 #include <X11/$athena_variant/XawInit.h> |
10323 EOF | 10303 EOF |
10324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10325 { (eval echo configure:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10305 { (eval echo configure:10306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10327 if test -z "$ac_err"; then | 10307 if test -z "$ac_err"; then |
10328 rm -rf conftest* | 10308 rm -rf conftest* |
10329 eval "ac_cv_header_$ac_safe=yes" | 10309 eval "ac_cv_header_$ac_safe=yes" |
10330 else | 10310 else |
10337 rm -f conftest* | 10317 rm -f conftest* |
10338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10339 echo "$ac_t""yes" 1>&6 | 10319 echo "$ac_t""yes" 1>&6 |
10340 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10320 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10341 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10321 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10342 echo "configure:10343: checking for X11/$athena_variant/ThreeD.h" >&5 | 10322 echo "configure:10323: checking for X11/$athena_variant/ThreeD.h" >&5 |
10343 | 10323 |
10344 cat > conftest.$ac_ext <<EOF | 10324 cat > conftest.$ac_ext <<EOF |
10345 #line 10346 "configure" | 10325 #line 10326 "configure" |
10346 #include "confdefs.h" | 10326 #include "confdefs.h" |
10347 #include <X11/$athena_variant/ThreeD.h> | 10327 #include <X11/$athena_variant/ThreeD.h> |
10348 EOF | 10328 EOF |
10349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10350 { (eval echo configure:10351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10330 { (eval echo configure:10331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10352 if test -z "$ac_err"; then | 10332 if test -z "$ac_err"; then |
10353 rm -rf conftest* | 10333 rm -rf conftest* |
10354 eval "ac_cv_header_$ac_safe=yes" | 10334 eval "ac_cv_header_$ac_safe=yes" |
10355 else | 10335 else |
10373 | 10353 |
10374 | 10354 |
10375 if test -z "$athena_h_path"; then | 10355 if test -z "$athena_h_path"; then |
10376 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10356 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10377 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10357 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10378 echo "configure:10379: checking for $athena_variant/XawInit.h" >&5 | 10358 echo "configure:10359: checking for $athena_variant/XawInit.h" >&5 |
10379 | 10359 |
10380 cat > conftest.$ac_ext <<EOF | 10360 cat > conftest.$ac_ext <<EOF |
10381 #line 10382 "configure" | 10361 #line 10362 "configure" |
10382 #include "confdefs.h" | 10362 #include "confdefs.h" |
10383 #include <$athena_variant/XawInit.h> | 10363 #include <$athena_variant/XawInit.h> |
10384 EOF | 10364 EOF |
10385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10386 { (eval echo configure:10387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10366 { (eval echo configure:10367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10388 if test -z "$ac_err"; then | 10368 if test -z "$ac_err"; then |
10389 rm -rf conftest* | 10369 rm -rf conftest* |
10390 eval "ac_cv_header_$ac_safe=yes" | 10370 eval "ac_cv_header_$ac_safe=yes" |
10391 else | 10371 else |
10398 rm -f conftest* | 10378 rm -f conftest* |
10399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10400 echo "$ac_t""yes" 1>&6 | 10380 echo "$ac_t""yes" 1>&6 |
10401 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10381 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10402 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10382 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10403 echo "configure:10404: checking for $athena_variant/ThreeD.h" >&5 | 10383 echo "configure:10384: checking for $athena_variant/ThreeD.h" >&5 |
10404 | 10384 |
10405 cat > conftest.$ac_ext <<EOF | 10385 cat > conftest.$ac_ext <<EOF |
10406 #line 10407 "configure" | 10386 #line 10387 "configure" |
10407 #include "confdefs.h" | 10387 #include "confdefs.h" |
10408 #include <$athena_variant/ThreeD.h> | 10388 #include <$athena_variant/ThreeD.h> |
10409 EOF | 10389 EOF |
10410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10411 { (eval echo configure:10412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10413 if test -z "$ac_err"; then | 10393 if test -z "$ac_err"; then |
10414 rm -rf conftest* | 10394 rm -rf conftest* |
10415 eval "ac_cv_header_$ac_safe=yes" | 10395 eval "ac_cv_header_$ac_safe=yes" |
10416 else | 10396 else |
10435 fi | 10415 fi |
10436 | 10416 |
10437 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10417 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10438 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10418 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10439 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10419 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10440 echo "configure:10441: checking for X11/Xaw3d/XawInit.h" >&5 | 10420 echo "configure:10421: checking for X11/Xaw3d/XawInit.h" >&5 |
10441 | 10421 |
10442 cat > conftest.$ac_ext <<EOF | 10422 cat > conftest.$ac_ext <<EOF |
10443 #line 10444 "configure" | 10423 #line 10424 "configure" |
10444 #include "confdefs.h" | 10424 #include "confdefs.h" |
10445 #include <X11/Xaw3d/XawInit.h> | 10425 #include <X11/Xaw3d/XawInit.h> |
10446 EOF | 10426 EOF |
10447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10448 { (eval echo configure:10449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10428 { (eval echo configure:10429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10450 if test -z "$ac_err"; then | 10430 if test -z "$ac_err"; then |
10451 rm -rf conftest* | 10431 rm -rf conftest* |
10452 eval "ac_cv_header_$ac_safe=yes" | 10432 eval "ac_cv_header_$ac_safe=yes" |
10453 else | 10433 else |
10460 rm -f conftest* | 10440 rm -f conftest* |
10461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10462 echo "$ac_t""yes" 1>&6 | 10442 echo "$ac_t""yes" 1>&6 |
10463 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10443 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10464 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10444 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10465 echo "configure:10466: checking for X11/Xaw3d/ThreeD.h" >&5 | 10445 echo "configure:10446: checking for X11/Xaw3d/ThreeD.h" >&5 |
10466 | 10446 |
10467 cat > conftest.$ac_ext <<EOF | 10447 cat > conftest.$ac_ext <<EOF |
10468 #line 10469 "configure" | 10448 #line 10449 "configure" |
10469 #include "confdefs.h" | 10449 #include "confdefs.h" |
10470 #include <X11/Xaw3d/ThreeD.h> | 10450 #include <X11/Xaw3d/ThreeD.h> |
10471 EOF | 10451 EOF |
10472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10473 { (eval echo configure:10474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10475 if test -z "$ac_err"; then | 10455 if test -z "$ac_err"; then |
10476 rm -rf conftest* | 10456 rm -rf conftest* |
10477 eval "ac_cv_header_$ac_safe=yes" | 10457 eval "ac_cv_header_$ac_safe=yes" |
10478 else | 10458 else |
10500 fi | 10480 fi |
10501 | 10481 |
10502 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10482 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10503 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10483 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10504 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10484 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10505 echo "configure:10506: checking for Xaw3d/XawInit.h" >&5 | 10485 echo "configure:10486: checking for Xaw3d/XawInit.h" >&5 |
10506 | 10486 |
10507 cat > conftest.$ac_ext <<EOF | 10487 cat > conftest.$ac_ext <<EOF |
10508 #line 10509 "configure" | 10488 #line 10489 "configure" |
10509 #include "confdefs.h" | 10489 #include "confdefs.h" |
10510 #include <Xaw3d/XawInit.h> | 10490 #include <Xaw3d/XawInit.h> |
10511 EOF | 10491 EOF |
10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10515 if test -z "$ac_err"; then | 10495 if test -z "$ac_err"; then |
10516 rm -rf conftest* | 10496 rm -rf conftest* |
10517 eval "ac_cv_header_$ac_safe=yes" | 10497 eval "ac_cv_header_$ac_safe=yes" |
10518 else | 10498 else |
10525 rm -f conftest* | 10505 rm -f conftest* |
10526 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10527 echo "$ac_t""yes" 1>&6 | 10507 echo "$ac_t""yes" 1>&6 |
10528 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10508 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10529 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10509 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10530 echo "configure:10531: checking for Xaw3d/ThreeD.h" >&5 | 10510 echo "configure:10511: checking for Xaw3d/ThreeD.h" >&5 |
10531 | 10511 |
10532 cat > conftest.$ac_ext <<EOF | 10512 cat > conftest.$ac_ext <<EOF |
10533 #line 10534 "configure" | 10513 #line 10514 "configure" |
10534 #include "confdefs.h" | 10514 #include "confdefs.h" |
10535 #include <Xaw3d/ThreeD.h> | 10515 #include <Xaw3d/ThreeD.h> |
10536 EOF | 10516 EOF |
10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10540 if test -z "$ac_err"; then | 10520 if test -z "$ac_err"; then |
10541 rm -rf conftest* | 10521 rm -rf conftest* |
10542 eval "ac_cv_header_$ac_safe=yes" | 10522 eval "ac_cv_header_$ac_safe=yes" |
10543 else | 10523 else |
10565 fi | 10545 fi |
10566 | 10546 |
10567 if test -z "$athena_h_path"; then | 10547 if test -z "$athena_h_path"; then |
10568 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10548 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10569 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10549 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10570 echo "configure:10571: checking for X11/Xaw/ThreeD.h" >&5 | 10550 echo "configure:10551: checking for X11/Xaw/ThreeD.h" >&5 |
10571 | 10551 |
10572 cat > conftest.$ac_ext <<EOF | 10552 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10553 #line 10554 "configure" |
10574 #include "confdefs.h" | 10554 #include "confdefs.h" |
10575 #include <X11/Xaw/ThreeD.h> | 10555 #include <X11/Xaw/ThreeD.h> |
10576 EOF | 10556 EOF |
10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10580 if test -z "$ac_err"; then | 10560 if test -z "$ac_err"; then |
10581 rm -rf conftest* | 10561 rm -rf conftest* |
10582 eval "ac_cv_header_$ac_safe=yes" | 10562 eval "ac_cv_header_$ac_safe=yes" |
10583 else | 10563 else |
10612 have_xaw=no | 10592 have_xaw=no |
10613 fi | 10593 fi |
10614 if test "$with_x11" = "yes"; then | 10594 if test "$with_x11" = "yes"; then |
10615 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10595 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10616 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10596 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10617 echo "configure:10618: checking for Xm/Xm.h" >&5 | 10597 echo "configure:10598: checking for Xm/Xm.h" >&5 |
10618 | 10598 |
10619 cat > conftest.$ac_ext <<EOF | 10599 cat > conftest.$ac_ext <<EOF |
10620 #line 10621 "configure" | 10600 #line 10601 "configure" |
10621 #include "confdefs.h" | 10601 #include "confdefs.h" |
10622 #include <Xm/Xm.h> | 10602 #include <Xm/Xm.h> |
10623 EOF | 10603 EOF |
10624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10625 { (eval echo configure:10626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10627 if test -z "$ac_err"; then | 10607 if test -z "$ac_err"; then |
10628 rm -rf conftest* | 10608 rm -rf conftest* |
10629 eval "ac_cv_header_$ac_safe=yes" | 10609 eval "ac_cv_header_$ac_safe=yes" |
10630 else | 10610 else |
10637 rm -f conftest* | 10617 rm -f conftest* |
10638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10639 echo "$ac_t""yes" 1>&6 | 10619 echo "$ac_t""yes" 1>&6 |
10640 | 10620 |
10641 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10621 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10642 echo "configure:10643: checking for XmStringFree in -lXm" >&5 | 10622 echo "configure:10623: checking for XmStringFree in -lXm" >&5 |
10643 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10623 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10644 | 10624 |
10645 xe_check_libs=" -lXm " | 10625 xe_check_libs=" -lXm " |
10646 cat > conftest.$ac_ext <<EOF | 10626 cat > conftest.$ac_ext <<EOF |
10647 #line 10648 "configure" | 10627 #line 10628 "configure" |
10648 #include "confdefs.h" | 10628 #include "confdefs.h" |
10649 /* Override any gcc2 internal prototype to avoid an error. */ | 10629 /* Override any gcc2 internal prototype to avoid an error. */ |
10650 /* We use char because int might match the return type of a gcc2 | 10630 /* We use char because int might match the return type of a gcc2 |
10651 builtin and then its argument prototype would still apply. */ | 10631 builtin and then its argument prototype would still apply. */ |
10652 char XmStringFree(); | 10632 char XmStringFree(); |
10653 | 10633 |
10654 int main() { | 10634 int main() { |
10655 XmStringFree() | 10635 XmStringFree() |
10656 ; return 0; } | 10636 ; return 0; } |
10657 EOF | 10637 EOF |
10658 if { (eval echo configure:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10638 if { (eval echo configure:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10659 rm -rf conftest* | 10639 rm -rf conftest* |
10660 eval "ac_cv_lib_$ac_lib_var=yes" | 10640 eval "ac_cv_lib_$ac_lib_var=yes" |
10661 else | 10641 else |
10662 echo "configure: failed program was:" >&5 | 10642 echo "configure: failed program was:" >&5 |
10663 cat conftest.$ac_ext >&5 | 10643 cat conftest.$ac_ext >&5 |
10682 fi | 10662 fi |
10683 | 10663 |
10684 | 10664 |
10685 if test "$have_motif" = "yes"; then | 10665 if test "$have_motif" = "yes"; then |
10686 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10666 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10687 echo "configure:10688: checking for Lesstif" >&5 | 10667 echo "configure:10668: checking for Lesstif" >&5 |
10688 cat > conftest.$ac_ext <<EOF | 10668 cat > conftest.$ac_ext <<EOF |
10689 #line 10690 "configure" | 10669 #line 10670 "configure" |
10690 #include "confdefs.h" | 10670 #include "confdefs.h" |
10691 #include <Xm/Xm.h> | 10671 #include <Xm/Xm.h> |
10692 #ifdef LESSTIF_VERSION | 10672 #ifdef LESSTIF_VERSION |
10693 yes | 10673 yes |
10694 #endif | 10674 #endif |
11057 | 11037 |
11058 fi | 11038 fi |
11059 | 11039 |
11060 if test "$with_mule" = "yes" ; then | 11040 if test "$with_mule" = "yes" ; then |
11061 echo "checking for Mule-related features" 1>&6 | 11041 echo "checking for Mule-related features" 1>&6 |
11062 echo "configure:11063: checking for Mule-related features" >&5 | 11042 echo "configure:11043: checking for Mule-related features" >&5 |
11063 { test "$extra_verbose" = "yes" && cat << \EOF | 11043 { test "$extra_verbose" = "yes" && cat << \EOF |
11064 Defining MULE | 11044 Defining MULE |
11065 EOF | 11045 EOF |
11066 cat >> confdefs.h <<\EOF | 11046 cat >> confdefs.h <<\EOF |
11067 #define MULE 1 | 11047 #define MULE 1 |
11071 | 11051 |
11072 for ac_hdr in libintl.h | 11052 for ac_hdr in libintl.h |
11073 do | 11053 do |
11074 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11054 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11076 echo "configure:11077: checking for $ac_hdr" >&5 | 11056 echo "configure:11057: checking for $ac_hdr" >&5 |
11077 | 11057 |
11078 cat > conftest.$ac_ext <<EOF | 11058 cat > conftest.$ac_ext <<EOF |
11079 #line 11080 "configure" | 11059 #line 11060 "configure" |
11080 #include "confdefs.h" | 11060 #include "confdefs.h" |
11081 #include <$ac_hdr> | 11061 #include <$ac_hdr> |
11082 EOF | 11062 EOF |
11083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11084 { (eval echo configure:11085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11064 { (eval echo configure:11065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11086 if test -z "$ac_err"; then | 11066 if test -z "$ac_err"; then |
11087 rm -rf conftest* | 11067 rm -rf conftest* |
11088 eval "ac_cv_header_$ac_safe=yes" | 11068 eval "ac_cv_header_$ac_safe=yes" |
11089 else | 11069 else |
11110 fi | 11090 fi |
11111 done | 11091 done |
11112 | 11092 |
11113 | 11093 |
11114 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11094 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11115 echo "configure:11116: checking for strerror in -lintl" >&5 | 11095 echo "configure:11096: checking for strerror in -lintl" >&5 |
11116 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11096 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11117 | 11097 |
11118 xe_check_libs=" -lintl " | 11098 xe_check_libs=" -lintl " |
11119 cat > conftest.$ac_ext <<EOF | 11099 cat > conftest.$ac_ext <<EOF |
11120 #line 11121 "configure" | 11100 #line 11101 "configure" |
11121 #include "confdefs.h" | 11101 #include "confdefs.h" |
11122 /* Override any gcc2 internal prototype to avoid an error. */ | 11102 /* Override any gcc2 internal prototype to avoid an error. */ |
11123 /* We use char because int might match the return type of a gcc2 | 11103 /* We use char because int might match the return type of a gcc2 |
11124 builtin and then its argument prototype would still apply. */ | 11104 builtin and then its argument prototype would still apply. */ |
11125 char strerror(); | 11105 char strerror(); |
11126 | 11106 |
11127 int main() { | 11107 int main() { |
11128 strerror() | 11108 strerror() |
11129 ; return 0; } | 11109 ; return 0; } |
11130 EOF | 11110 EOF |
11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11132 rm -rf conftest* | 11112 rm -rf conftest* |
11133 eval "ac_cv_lib_$ac_lib_var=yes" | 11113 eval "ac_cv_lib_$ac_lib_var=yes" |
11134 else | 11114 else |
11135 echo "configure: failed program was:" >&5 | 11115 echo "configure: failed program was:" >&5 |
11136 cat conftest.$ac_ext >&5 | 11116 cat conftest.$ac_ext >&5 |
11159 fi | 11139 fi |
11160 | 11140 |
11161 | 11141 |
11162 | 11142 |
11163 echo "checking for Mule input methods" 1>&6 | 11143 echo "checking for Mule input methods" 1>&6 |
11164 echo "configure:11165: checking for Mule input methods" >&5 | 11144 echo "configure:11145: checking for Mule input methods" >&5 |
11165 case "$with_xim" in "" | "yes" ) | 11145 case "$with_xim" in "" | "yes" ) |
11166 echo "checking for XIM" 1>&6 | 11146 echo "checking for XIM" 1>&6 |
11167 echo "configure:11168: checking for XIM" >&5 | 11147 echo "configure:11148: checking for XIM" >&5 |
11168 | 11148 |
11169 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11149 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11170 echo "configure:11171: checking for XOpenIM in -lX11" >&5 | 11150 echo "configure:11151: checking for XOpenIM in -lX11" >&5 |
11171 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11151 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11172 | 11152 |
11173 xe_check_libs=" -lX11 " | 11153 xe_check_libs=" -lX11 " |
11174 cat > conftest.$ac_ext <<EOF | 11154 cat > conftest.$ac_ext <<EOF |
11175 #line 11176 "configure" | 11155 #line 11156 "configure" |
11176 #include "confdefs.h" | 11156 #include "confdefs.h" |
11177 /* Override any gcc2 internal prototype to avoid an error. */ | 11157 /* Override any gcc2 internal prototype to avoid an error. */ |
11178 /* We use char because int might match the return type of a gcc2 | 11158 /* We use char because int might match the return type of a gcc2 |
11179 builtin and then its argument prototype would still apply. */ | 11159 builtin and then its argument prototype would still apply. */ |
11180 char XOpenIM(); | 11160 char XOpenIM(); |
11181 | 11161 |
11182 int main() { | 11162 int main() { |
11183 XOpenIM() | 11163 XOpenIM() |
11184 ; return 0; } | 11164 ; return 0; } |
11185 EOF | 11165 EOF |
11186 if { (eval echo configure:11187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11166 if { (eval echo configure:11167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11187 rm -rf conftest* | 11167 rm -rf conftest* |
11188 eval "ac_cv_lib_$ac_lib_var=yes" | 11168 eval "ac_cv_lib_$ac_lib_var=yes" |
11189 else | 11169 else |
11190 echo "configure: failed program was:" >&5 | 11170 echo "configure: failed program was:" >&5 |
11191 cat conftest.$ac_ext >&5 | 11171 cat conftest.$ac_ext >&5 |
11205 | 11185 |
11206 | 11186 |
11207 if test "$have_motif $have_lesstif" = "yes no"; then | 11187 if test "$have_motif $have_lesstif" = "yes no"; then |
11208 | 11188 |
11209 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11189 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11210 echo "configure:11211: checking for XmImMbLookupString in -lXm" >&5 | 11190 echo "configure:11191: checking for XmImMbLookupString in -lXm" >&5 |
11211 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11191 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11212 | 11192 |
11213 xe_check_libs=" -lXm " | 11193 xe_check_libs=" -lXm " |
11214 cat > conftest.$ac_ext <<EOF | 11194 cat > conftest.$ac_ext <<EOF |
11215 #line 11216 "configure" | 11195 #line 11196 "configure" |
11216 #include "confdefs.h" | 11196 #include "confdefs.h" |
11217 /* Override any gcc2 internal prototype to avoid an error. */ | 11197 /* Override any gcc2 internal prototype to avoid an error. */ |
11218 /* We use char because int might match the return type of a gcc2 | 11198 /* We use char because int might match the return type of a gcc2 |
11219 builtin and then its argument prototype would still apply. */ | 11199 builtin and then its argument prototype would still apply. */ |
11220 char XmImMbLookupString(); | 11200 char XmImMbLookupString(); |
11221 | 11201 |
11222 int main() { | 11202 int main() { |
11223 XmImMbLookupString() | 11203 XmImMbLookupString() |
11224 ; return 0; } | 11204 ; return 0; } |
11225 EOF | 11205 EOF |
11226 if { (eval echo configure:11227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11227 rm -rf conftest* | 11207 rm -rf conftest* |
11228 eval "ac_cv_lib_$ac_lib_var=yes" | 11208 eval "ac_cv_lib_$ac_lib_var=yes" |
11229 else | 11209 else |
11230 echo "configure: failed program was:" >&5 | 11210 echo "configure: failed program was:" >&5 |
11231 cat conftest.$ac_ext >&5 | 11211 cat conftest.$ac_ext >&5 |
11286 fi | 11266 fi |
11287 fi | 11267 fi |
11288 | 11268 |
11289 if test "$with_xfs" = "yes" ; then | 11269 if test "$with_xfs" = "yes" ; then |
11290 echo "checking for XFontSet" 1>&6 | 11270 echo "checking for XFontSet" 1>&6 |
11291 echo "configure:11292: checking for XFontSet" >&5 | 11271 echo "configure:11272: checking for XFontSet" >&5 |
11292 | 11272 |
11293 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11273 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11294 echo "configure:11295: checking for XmbDrawString in -lX11" >&5 | 11274 echo "configure:11275: checking for XmbDrawString in -lX11" >&5 |
11295 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11275 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11296 | 11276 |
11297 xe_check_libs=" -lX11 " | 11277 xe_check_libs=" -lX11 " |
11298 cat > conftest.$ac_ext <<EOF | 11278 cat > conftest.$ac_ext <<EOF |
11299 #line 11300 "configure" | 11279 #line 11280 "configure" |
11300 #include "confdefs.h" | 11280 #include "confdefs.h" |
11301 /* Override any gcc2 internal prototype to avoid an error. */ | 11281 /* Override any gcc2 internal prototype to avoid an error. */ |
11302 /* We use char because int might match the return type of a gcc2 | 11282 /* We use char because int might match the return type of a gcc2 |
11303 builtin and then its argument prototype would still apply. */ | 11283 builtin and then its argument prototype would still apply. */ |
11304 char XmbDrawString(); | 11284 char XmbDrawString(); |
11305 | 11285 |
11306 int main() { | 11286 int main() { |
11307 XmbDrawString() | 11287 XmbDrawString() |
11308 ; return 0; } | 11288 ; return 0; } |
11309 EOF | 11289 EOF |
11310 if { (eval echo configure:11311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11311 rm -rf conftest* | 11291 rm -rf conftest* |
11312 eval "ac_cv_lib_$ac_lib_var=yes" | 11292 eval "ac_cv_lib_$ac_lib_var=yes" |
11313 else | 11293 else |
11314 echo "configure: failed program was:" >&5 | 11294 echo "configure: failed program was:" >&5 |
11315 cat conftest.$ac_ext >&5 | 11295 cat conftest.$ac_ext >&5 |
11345 fi | 11325 fi |
11346 fi | 11326 fi |
11347 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11327 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11348 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11328 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11349 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11329 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11350 echo "configure:11351: checking for wnn/jllib.h" >&5 | 11330 echo "configure:11331: checking for wnn/jllib.h" >&5 |
11351 | 11331 |
11352 cat > conftest.$ac_ext <<EOF | 11332 cat > conftest.$ac_ext <<EOF |
11353 #line 11354 "configure" | 11333 #line 11334 "configure" |
11354 #include "confdefs.h" | 11334 #include "confdefs.h" |
11355 #include <wnn/jllib.h> | 11335 #include <wnn/jllib.h> |
11356 EOF | 11336 EOF |
11357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11358 { (eval echo configure:11359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11338 { (eval echo configure:11339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11360 if test -z "$ac_err"; then | 11340 if test -z "$ac_err"; then |
11361 rm -rf conftest* | 11341 rm -rf conftest* |
11362 eval "ac_cv_header_$ac_safe=yes" | 11342 eval "ac_cv_header_$ac_safe=yes" |
11363 else | 11343 else |
11376 with_wnn=no | 11356 with_wnn=no |
11377 fi | 11357 fi |
11378 } | 11358 } |
11379 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11359 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11380 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11360 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11381 echo "configure:11382: checking for wnn/commonhd.h" >&5 | 11361 echo "configure:11362: checking for wnn/commonhd.h" >&5 |
11382 | 11362 |
11383 cat > conftest.$ac_ext <<EOF | 11363 cat > conftest.$ac_ext <<EOF |
11384 #line 11385 "configure" | 11364 #line 11365 "configure" |
11385 #include "confdefs.h" | 11365 #include "confdefs.h" |
11386 #include <wnn/commonhd.h> | 11366 #include <wnn/commonhd.h> |
11387 EOF | 11367 EOF |
11388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11389 { (eval echo configure:11390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11369 { (eval echo configure:11370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11391 if test -z "$ac_err"; then | 11371 if test -z "$ac_err"; then |
11392 rm -rf conftest* | 11372 rm -rf conftest* |
11393 eval "ac_cv_header_$ac_safe=yes" | 11373 eval "ac_cv_header_$ac_safe=yes" |
11394 else | 11374 else |
11409 } | 11389 } |
11410 if test "$with_wnn" != "no"; then | 11390 if test "$with_wnn" != "no"; then |
11411 for ac_func in crypt | 11391 for ac_func in crypt |
11412 do | 11392 do |
11413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11414 echo "configure:11415: checking for $ac_func" >&5 | 11394 echo "configure:11395: checking for $ac_func" >&5 |
11415 | 11395 |
11416 cat > conftest.$ac_ext <<EOF | 11396 cat > conftest.$ac_ext <<EOF |
11417 #line 11418 "configure" | 11397 #line 11398 "configure" |
11418 #include "confdefs.h" | 11398 #include "confdefs.h" |
11419 /* System header to define __stub macros and hopefully few prototypes, | 11399 /* System header to define __stub macros and hopefully few prototypes, |
11420 which can conflict with char $ac_func(); below. */ | 11400 which can conflict with char $ac_func(); below. */ |
11421 #include <assert.h> | 11401 #include <assert.h> |
11422 /* Override any gcc2 internal prototype to avoid an error. */ | 11402 /* Override any gcc2 internal prototype to avoid an error. */ |
11435 $ac_func(); | 11415 $ac_func(); |
11436 #endif | 11416 #endif |
11437 | 11417 |
11438 ; return 0; } | 11418 ; return 0; } |
11439 EOF | 11419 EOF |
11440 if { (eval echo configure:11441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11441 rm -rf conftest* | 11421 rm -rf conftest* |
11442 eval "ac_cv_func_$ac_func=yes" | 11422 eval "ac_cv_func_$ac_func=yes" |
11443 else | 11423 else |
11444 echo "configure: failed program was:" >&5 | 11424 echo "configure: failed program was:" >&5 |
11445 cat conftest.$ac_ext >&5 | 11425 cat conftest.$ac_ext >&5 |
11464 fi | 11444 fi |
11465 done | 11445 done |
11466 | 11446 |
11467 test "$ac_cv_func_crypt" != "yes" && { | 11447 test "$ac_cv_func_crypt" != "yes" && { |
11468 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11448 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11469 echo "configure:11470: checking for crypt in -lcrypt" >&5 | 11449 echo "configure:11450: checking for crypt in -lcrypt" >&5 |
11470 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11450 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11471 | 11451 |
11472 xe_check_libs=" -lcrypt " | 11452 xe_check_libs=" -lcrypt " |
11473 cat > conftest.$ac_ext <<EOF | 11453 cat > conftest.$ac_ext <<EOF |
11474 #line 11475 "configure" | 11454 #line 11455 "configure" |
11475 #include "confdefs.h" | 11455 #include "confdefs.h" |
11476 /* Override any gcc2 internal prototype to avoid an error. */ | 11456 /* Override any gcc2 internal prototype to avoid an error. */ |
11477 /* We use char because int might match the return type of a gcc2 | 11457 /* We use char because int might match the return type of a gcc2 |
11478 builtin and then its argument prototype would still apply. */ | 11458 builtin and then its argument prototype would still apply. */ |
11479 char crypt(); | 11459 char crypt(); |
11480 | 11460 |
11481 int main() { | 11461 int main() { |
11482 crypt() | 11462 crypt() |
11483 ; return 0; } | 11463 ; return 0; } |
11484 EOF | 11464 EOF |
11485 if { (eval echo configure:11486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11486 rm -rf conftest* | 11466 rm -rf conftest* |
11487 eval "ac_cv_lib_$ac_lib_var=yes" | 11467 eval "ac_cv_lib_$ac_lib_var=yes" |
11488 else | 11468 else |
11489 echo "configure: failed program was:" >&5 | 11469 echo "configure: failed program was:" >&5 |
11490 cat conftest.$ac_ext >&5 | 11470 cat conftest.$ac_ext >&5 |
11515 } | 11495 } |
11516 fi | 11496 fi |
11517 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11497 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11518 | 11498 |
11519 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11499 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11520 echo "configure:11521: checking for jl_dic_list_e in -lwnn" >&5 | 11500 echo "configure:11501: checking for jl_dic_list_e in -lwnn" >&5 |
11521 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11501 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11522 | 11502 |
11523 xe_check_libs=" -lwnn " | 11503 xe_check_libs=" -lwnn " |
11524 cat > conftest.$ac_ext <<EOF | 11504 cat > conftest.$ac_ext <<EOF |
11525 #line 11526 "configure" | 11505 #line 11506 "configure" |
11526 #include "confdefs.h" | 11506 #include "confdefs.h" |
11527 /* Override any gcc2 internal prototype to avoid an error. */ | 11507 /* Override any gcc2 internal prototype to avoid an error. */ |
11528 /* We use char because int might match the return type of a gcc2 | 11508 /* We use char because int might match the return type of a gcc2 |
11529 builtin and then its argument prototype would still apply. */ | 11509 builtin and then its argument prototype would still apply. */ |
11530 char jl_dic_list_e(); | 11510 char jl_dic_list_e(); |
11531 | 11511 |
11532 int main() { | 11512 int main() { |
11533 jl_dic_list_e() | 11513 jl_dic_list_e() |
11534 ; return 0; } | 11514 ; return 0; } |
11535 EOF | 11515 EOF |
11536 if { (eval echo configure:11537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11537 rm -rf conftest* | 11517 rm -rf conftest* |
11538 eval "ac_cv_lib_$ac_lib_var=yes" | 11518 eval "ac_cv_lib_$ac_lib_var=yes" |
11539 else | 11519 else |
11540 echo "configure: failed program was:" >&5 | 11520 echo "configure: failed program was:" >&5 |
11541 cat conftest.$ac_ext >&5 | 11521 cat conftest.$ac_ext >&5 |
11549 echo "$ac_t""yes" 1>&6 | 11529 echo "$ac_t""yes" 1>&6 |
11550 libwnn=wnn | 11530 libwnn=wnn |
11551 else | 11531 else |
11552 echo "$ac_t""no" 1>&6 | 11532 echo "$ac_t""no" 1>&6 |
11553 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11533 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11554 echo "configure:11555: checking for jl_dic_list_e in -lwnn4" >&5 | 11534 echo "configure:11535: checking for jl_dic_list_e in -lwnn4" >&5 |
11555 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11535 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11556 | 11536 |
11557 xe_check_libs=" -lwnn4 " | 11537 xe_check_libs=" -lwnn4 " |
11558 cat > conftest.$ac_ext <<EOF | 11538 cat > conftest.$ac_ext <<EOF |
11559 #line 11560 "configure" | 11539 #line 11540 "configure" |
11560 #include "confdefs.h" | 11540 #include "confdefs.h" |
11561 /* Override any gcc2 internal prototype to avoid an error. */ | 11541 /* Override any gcc2 internal prototype to avoid an error. */ |
11562 /* We use char because int might match the return type of a gcc2 | 11542 /* We use char because int might match the return type of a gcc2 |
11563 builtin and then its argument prototype would still apply. */ | 11543 builtin and then its argument prototype would still apply. */ |
11564 char jl_dic_list_e(); | 11544 char jl_dic_list_e(); |
11565 | 11545 |
11566 int main() { | 11546 int main() { |
11567 jl_dic_list_e() | 11547 jl_dic_list_e() |
11568 ; return 0; } | 11548 ; return 0; } |
11569 EOF | 11549 EOF |
11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11550 if { (eval echo configure:11551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11571 rm -rf conftest* | 11551 rm -rf conftest* |
11572 eval "ac_cv_lib_$ac_lib_var=yes" | 11552 eval "ac_cv_lib_$ac_lib_var=yes" |
11573 else | 11553 else |
11574 echo "configure: failed program was:" >&5 | 11554 echo "configure: failed program was:" >&5 |
11575 cat conftest.$ac_ext >&5 | 11555 cat conftest.$ac_ext >&5 |
11583 echo "$ac_t""yes" 1>&6 | 11563 echo "$ac_t""yes" 1>&6 |
11584 libwnn=wnn4 | 11564 libwnn=wnn4 |
11585 else | 11565 else |
11586 echo "$ac_t""no" 1>&6 | 11566 echo "$ac_t""no" 1>&6 |
11587 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11567 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for jl_dic_list_e in -lwnn6" >&5 | 11568 echo "configure:11569: checking for jl_dic_list_e in -lwnn6" >&5 |
11589 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11569 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11590 | 11570 |
11591 xe_check_libs=" -lwnn6 " | 11571 xe_check_libs=" -lwnn6 " |
11592 cat > conftest.$ac_ext <<EOF | 11572 cat > conftest.$ac_ext <<EOF |
11593 #line 11594 "configure" | 11573 #line 11574 "configure" |
11594 #include "confdefs.h" | 11574 #include "confdefs.h" |
11595 /* Override any gcc2 internal prototype to avoid an error. */ | 11575 /* Override any gcc2 internal prototype to avoid an error. */ |
11596 /* We use char because int might match the return type of a gcc2 | 11576 /* We use char because int might match the return type of a gcc2 |
11597 builtin and then its argument prototype would still apply. */ | 11577 builtin and then its argument prototype would still apply. */ |
11598 char jl_dic_list_e(); | 11578 char jl_dic_list_e(); |
11599 | 11579 |
11600 int main() { | 11580 int main() { |
11601 jl_dic_list_e() | 11581 jl_dic_list_e() |
11602 ; return 0; } | 11582 ; return 0; } |
11603 EOF | 11583 EOF |
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11605 rm -rf conftest* | 11585 rm -rf conftest* |
11606 eval "ac_cv_lib_$ac_lib_var=yes" | 11586 eval "ac_cv_lib_$ac_lib_var=yes" |
11607 else | 11587 else |
11608 echo "configure: failed program was:" >&5 | 11588 echo "configure: failed program was:" >&5 |
11609 cat conftest.$ac_ext >&5 | 11589 cat conftest.$ac_ext >&5 |
11617 echo "$ac_t""yes" 1>&6 | 11597 echo "$ac_t""yes" 1>&6 |
11618 libwnn=wnn6 | 11598 libwnn=wnn6 |
11619 else | 11599 else |
11620 echo "$ac_t""no" 1>&6 | 11600 echo "$ac_t""no" 1>&6 |
11621 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11601 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11622 echo "configure:11623: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11602 echo "configure:11603: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11623 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11603 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11624 | 11604 |
11625 xe_check_libs=" -lwnn6_fromsrc " | 11605 xe_check_libs=" -lwnn6_fromsrc " |
11626 cat > conftest.$ac_ext <<EOF | 11606 cat > conftest.$ac_ext <<EOF |
11627 #line 11628 "configure" | 11607 #line 11608 "configure" |
11628 #include "confdefs.h" | 11608 #include "confdefs.h" |
11629 /* Override any gcc2 internal prototype to avoid an error. */ | 11609 /* Override any gcc2 internal prototype to avoid an error. */ |
11630 /* We use char because int might match the return type of a gcc2 | 11610 /* We use char because int might match the return type of a gcc2 |
11631 builtin and then its argument prototype would still apply. */ | 11611 builtin and then its argument prototype would still apply. */ |
11632 char dic_list_e(); | 11612 char dic_list_e(); |
11633 | 11613 |
11634 int main() { | 11614 int main() { |
11635 dic_list_e() | 11615 dic_list_e() |
11636 ; return 0; } | 11616 ; return 0; } |
11637 EOF | 11617 EOF |
11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11639 rm -rf conftest* | 11619 rm -rf conftest* |
11640 eval "ac_cv_lib_$ac_lib_var=yes" | 11620 eval "ac_cv_lib_$ac_lib_var=yes" |
11641 else | 11621 else |
11642 echo "configure: failed program was:" >&5 | 11622 echo "configure: failed program was:" >&5 |
11643 cat conftest.$ac_ext >&5 | 11623 cat conftest.$ac_ext >&5 |
11678 | 11658 |
11679 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11659 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11680 if test "$with_wnn6" != "no"; then | 11660 if test "$with_wnn6" != "no"; then |
11681 | 11661 |
11682 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11662 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11683 echo "configure:11684: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11663 echo "configure:11664: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11684 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11664 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11685 | 11665 |
11686 xe_check_libs=" -l$libwnn " | 11666 xe_check_libs=" -l$libwnn " |
11687 cat > conftest.$ac_ext <<EOF | 11667 cat > conftest.$ac_ext <<EOF |
11688 #line 11689 "configure" | 11668 #line 11669 "configure" |
11689 #include "confdefs.h" | 11669 #include "confdefs.h" |
11690 /* Override any gcc2 internal prototype to avoid an error. */ | 11670 /* Override any gcc2 internal prototype to avoid an error. */ |
11691 /* We use char because int might match the return type of a gcc2 | 11671 /* We use char because int might match the return type of a gcc2 |
11692 builtin and then its argument prototype would still apply. */ | 11672 builtin and then its argument prototype would still apply. */ |
11693 char jl_fi_dic_list(); | 11673 char jl_fi_dic_list(); |
11694 | 11674 |
11695 int main() { | 11675 int main() { |
11696 jl_fi_dic_list() | 11676 jl_fi_dic_list() |
11697 ; return 0; } | 11677 ; return 0; } |
11698 EOF | 11678 EOF |
11699 if { (eval echo configure:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11700 rm -rf conftest* | 11680 rm -rf conftest* |
11701 eval "ac_cv_lib_$ac_lib_var=yes" | 11681 eval "ac_cv_lib_$ac_lib_var=yes" |
11702 else | 11682 else |
11703 echo "configure: failed program was:" >&5 | 11683 echo "configure: failed program was:" >&5 |
11704 cat conftest.$ac_ext >&5 | 11684 cat conftest.$ac_ext >&5 |
11729 | 11709 |
11730 canna_includes_found=no | 11710 canna_includes_found=no |
11731 if test "$with_canna" != "no"; then | 11711 if test "$with_canna" != "no"; then |
11732 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11712 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11733 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11713 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11734 echo "configure:11735: checking for canna/jrkanji.h" >&5 | 11714 echo "configure:11715: checking for canna/jrkanji.h" >&5 |
11735 | 11715 |
11736 cat > conftest.$ac_ext <<EOF | 11716 cat > conftest.$ac_ext <<EOF |
11737 #line 11738 "configure" | 11717 #line 11718 "configure" |
11738 #include "confdefs.h" | 11718 #include "confdefs.h" |
11739 #include <canna/jrkanji.h> | 11719 #include <canna/jrkanji.h> |
11740 EOF | 11720 EOF |
11741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11742 { (eval echo configure:11743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11722 { (eval echo configure:11723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11744 if test -z "$ac_err"; then | 11724 if test -z "$ac_err"; then |
11745 rm -rf conftest* | 11725 rm -rf conftest* |
11746 eval "ac_cv_header_$ac_safe=yes" | 11726 eval "ac_cv_header_$ac_safe=yes" |
11747 else | 11727 else |
11764 -d "/usr/local/canna/include"; then | 11744 -d "/usr/local/canna/include"; then |
11765 save_c_switch_site="$c_switch_site" | 11745 save_c_switch_site="$c_switch_site" |
11766 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11746 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11767 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11747 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11768 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11748 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11769 echo "configure:11770: checking for canna/jrkanji.h" >&5 | 11749 echo "configure:11750: checking for canna/jrkanji.h" >&5 |
11770 | 11750 |
11771 cat > conftest.$ac_ext <<EOF | 11751 cat > conftest.$ac_ext <<EOF |
11772 #line 11773 "configure" | 11752 #line 11753 "configure" |
11773 #include "confdefs.h" | 11753 #include "confdefs.h" |
11774 #include <canna/jrkanji.h> | 11754 #include <canna/jrkanji.h> |
11775 EOF | 11755 EOF |
11776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11777 { (eval echo configure:11778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11757 { (eval echo configure:11758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11779 if test -z "$ac_err"; then | 11759 if test -z "$ac_err"; then |
11780 rm -rf conftest* | 11760 rm -rf conftest* |
11781 eval "ac_cv_header_$ac_safe=yes" | 11761 eval "ac_cv_header_$ac_safe=yes" |
11782 else | 11762 else |
11800 fi | 11780 fi |
11801 fi | 11781 fi |
11802 | 11782 |
11803 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11783 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11804 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11784 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11805 echo "configure:11806: checking for canna/RK.h" >&5 | 11785 echo "configure:11786: checking for canna/RK.h" >&5 |
11806 | 11786 |
11807 cat > conftest.$ac_ext <<EOF | 11787 cat > conftest.$ac_ext <<EOF |
11808 #line 11809 "configure" | 11788 #line 11789 "configure" |
11809 #include "confdefs.h" | 11789 #include "confdefs.h" |
11810 #include <canna/RK.h> | 11790 #include <canna/RK.h> |
11811 EOF | 11791 EOF |
11812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11813 { (eval echo configure:11814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11815 if test -z "$ac_err"; then | 11795 if test -z "$ac_err"; then |
11816 rm -rf conftest* | 11796 rm -rf conftest* |
11817 eval "ac_cv_header_$ac_safe=yes" | 11797 eval "ac_cv_header_$ac_safe=yes" |
11818 else | 11798 else |
11831 with_canna=no | 11811 with_canna=no |
11832 fi | 11812 fi |
11833 } | 11813 } |
11834 test -z "$with_canna" && { | 11814 test -z "$with_canna" && { |
11835 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11815 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11836 echo "configure:11837: checking for RkBgnBun in -lRKC" >&5 | 11816 echo "configure:11817: checking for RkBgnBun in -lRKC" >&5 |
11837 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11817 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11838 | 11818 |
11839 xe_check_libs=" -lRKC " | 11819 xe_check_libs=" -lRKC " |
11840 cat > conftest.$ac_ext <<EOF | 11820 cat > conftest.$ac_ext <<EOF |
11841 #line 11842 "configure" | 11821 #line 11822 "configure" |
11842 #include "confdefs.h" | 11822 #include "confdefs.h" |
11843 /* Override any gcc2 internal prototype to avoid an error. */ | 11823 /* Override any gcc2 internal prototype to avoid an error. */ |
11844 /* We use char because int might match the return type of a gcc2 | 11824 /* We use char because int might match the return type of a gcc2 |
11845 builtin and then its argument prototype would still apply. */ | 11825 builtin and then its argument prototype would still apply. */ |
11846 char RkBgnBun(); | 11826 char RkBgnBun(); |
11847 | 11827 |
11848 int main() { | 11828 int main() { |
11849 RkBgnBun() | 11829 RkBgnBun() |
11850 ; return 0; } | 11830 ; return 0; } |
11851 EOF | 11831 EOF |
11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11853 rm -rf conftest* | 11833 rm -rf conftest* |
11854 eval "ac_cv_lib_$ac_lib_var=yes" | 11834 eval "ac_cv_lib_$ac_lib_var=yes" |
11855 else | 11835 else |
11856 echo "configure: failed program was:" >&5 | 11836 echo "configure: failed program was:" >&5 |
11857 cat conftest.$ac_ext >&5 | 11837 cat conftest.$ac_ext >&5 |
11870 fi | 11850 fi |
11871 | 11851 |
11872 } | 11852 } |
11873 test -z "$with_canna" && { | 11853 test -z "$with_canna" && { |
11874 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11854 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11875 echo "configure:11876: checking for jrKanjiControl in -lcanna" >&5 | 11855 echo "configure:11856: checking for jrKanjiControl in -lcanna" >&5 |
11876 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11856 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11877 | 11857 |
11878 xe_check_libs=" -lcanna " | 11858 xe_check_libs=" -lcanna " |
11879 cat > conftest.$ac_ext <<EOF | 11859 cat > conftest.$ac_ext <<EOF |
11880 #line 11881 "configure" | 11860 #line 11861 "configure" |
11881 #include "confdefs.h" | 11861 #include "confdefs.h" |
11882 /* Override any gcc2 internal prototype to avoid an error. */ | 11862 /* Override any gcc2 internal prototype to avoid an error. */ |
11883 /* We use char because int might match the return type of a gcc2 | 11863 /* We use char because int might match the return type of a gcc2 |
11884 builtin and then its argument prototype would still apply. */ | 11864 builtin and then its argument prototype would still apply. */ |
11885 char jrKanjiControl(); | 11865 char jrKanjiControl(); |
11886 | 11866 |
11887 int main() { | 11867 int main() { |
11888 jrKanjiControl() | 11868 jrKanjiControl() |
11889 ; return 0; } | 11869 ; return 0; } |
11890 EOF | 11870 EOF |
11891 if { (eval echo configure:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11892 rm -rf conftest* | 11872 rm -rf conftest* |
11893 eval "ac_cv_lib_$ac_lib_var=yes" | 11873 eval "ac_cv_lib_$ac_lib_var=yes" |
11894 else | 11874 else |
11895 echo "configure: failed program was:" >&5 | 11875 echo "configure: failed program was:" >&5 |
11896 cat conftest.$ac_ext >&5 | 11876 cat conftest.$ac_ext >&5 |
11932 | 11912 |
11933 if test "$need_motif" = "yes" ; then | 11913 if test "$need_motif" = "yes" ; then |
11934 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11914 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11935 | 11915 |
11936 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11916 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11937 echo "configure:11938: checking for layout_object_getvalue in -li18n" >&5 | 11917 echo "configure:11918: checking for layout_object_getvalue in -li18n" >&5 |
11938 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11918 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11939 | 11919 |
11940 xe_check_libs=" -li18n " | 11920 xe_check_libs=" -li18n " |
11941 cat > conftest.$ac_ext <<EOF | 11921 cat > conftest.$ac_ext <<EOF |
11942 #line 11943 "configure" | 11922 #line 11923 "configure" |
11943 #include "confdefs.h" | 11923 #include "confdefs.h" |
11944 /* Override any gcc2 internal prototype to avoid an error. */ | 11924 /* Override any gcc2 internal prototype to avoid an error. */ |
11945 /* We use char because int might match the return type of a gcc2 | 11925 /* We use char because int might match the return type of a gcc2 |
11946 builtin and then its argument prototype would still apply. */ | 11926 builtin and then its argument prototype would still apply. */ |
11947 char layout_object_getvalue(); | 11927 char layout_object_getvalue(); |
11948 | 11928 |
11949 int main() { | 11929 int main() { |
11950 layout_object_getvalue() | 11930 layout_object_getvalue() |
11951 ; return 0; } | 11931 ; return 0; } |
11952 EOF | 11932 EOF |
11953 if { (eval echo configure:11954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11954 rm -rf conftest* | 11934 rm -rf conftest* |
11955 eval "ac_cv_lib_$ac_lib_var=yes" | 11935 eval "ac_cv_lib_$ac_lib_var=yes" |
11956 else | 11936 else |
11957 echo "configure: failed program was:" >&5 | 11937 echo "configure: failed program was:" >&5 |
11958 cat conftest.$ac_ext >&5 | 11938 cat conftest.$ac_ext >&5 |
12035 | 12015 |
12036 | 12016 |
12037 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 12017 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
12038 do | 12018 do |
12039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12040 echo "configure:12041: checking for $ac_func" >&5 | 12020 echo "configure:12021: checking for $ac_func" >&5 |
12041 | 12021 |
12042 cat > conftest.$ac_ext <<EOF | 12022 cat > conftest.$ac_ext <<EOF |
12043 #line 12044 "configure" | 12023 #line 12024 "configure" |
12044 #include "confdefs.h" | 12024 #include "confdefs.h" |
12045 /* System header to define __stub macros and hopefully few prototypes, | 12025 /* System header to define __stub macros and hopefully few prototypes, |
12046 which can conflict with char $ac_func(); below. */ | 12026 which can conflict with char $ac_func(); below. */ |
12047 #include <assert.h> | 12027 #include <assert.h> |
12048 /* Override any gcc2 internal prototype to avoid an error. */ | 12028 /* Override any gcc2 internal prototype to avoid an error. */ |
12061 $ac_func(); | 12041 $ac_func(); |
12062 #endif | 12042 #endif |
12063 | 12043 |
12064 ; return 0; } | 12044 ; return 0; } |
12065 EOF | 12045 EOF |
12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12046 if { (eval echo configure:12047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12067 rm -rf conftest* | 12047 rm -rf conftest* |
12068 eval "ac_cv_func_$ac_func=yes" | 12048 eval "ac_cv_func_$ac_func=yes" |
12069 else | 12049 else |
12070 echo "configure: failed program was:" >&5 | 12050 echo "configure: failed program was:" >&5 |
12071 cat conftest.$ac_ext >&5 | 12051 cat conftest.$ac_ext >&5 |
12102 | 12082 |
12103 | 12083 |
12104 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12084 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12105 do | 12085 do |
12106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12107 echo "configure:12108: checking for $ac_func" >&5 | 12087 echo "configure:12088: checking for $ac_func" >&5 |
12108 | 12088 |
12109 cat > conftest.$ac_ext <<EOF | 12089 cat > conftest.$ac_ext <<EOF |
12110 #line 12111 "configure" | 12090 #line 12091 "configure" |
12111 #include "confdefs.h" | 12091 #include "confdefs.h" |
12112 /* System header to define __stub macros and hopefully few prototypes, | 12092 /* System header to define __stub macros and hopefully few prototypes, |
12113 which can conflict with char $ac_func(); below. */ | 12093 which can conflict with char $ac_func(); below. */ |
12114 #include <assert.h> | 12094 #include <assert.h> |
12115 /* Override any gcc2 internal prototype to avoid an error. */ | 12095 /* Override any gcc2 internal prototype to avoid an error. */ |
12128 $ac_func(); | 12108 $ac_func(); |
12129 #endif | 12109 #endif |
12130 | 12110 |
12131 ; return 0; } | 12111 ; return 0; } |
12132 EOF | 12112 EOF |
12133 if { (eval echo configure:12134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12134 rm -rf conftest* | 12114 rm -rf conftest* |
12135 eval "ac_cv_func_$ac_func=yes" | 12115 eval "ac_cv_func_$ac_func=yes" |
12136 else | 12116 else |
12137 echo "configure: failed program was:" >&5 | 12117 echo "configure: failed program was:" >&5 |
12138 cat conftest.$ac_ext >&5 | 12118 cat conftest.$ac_ext >&5 |
12157 fi | 12137 fi |
12158 done | 12138 done |
12159 | 12139 |
12160 | 12140 |
12161 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12141 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12162 echo "configure:12163: checking for openpty" >&5 | 12142 echo "configure:12143: checking for openpty" >&5 |
12163 | 12143 |
12164 cat > conftest.$ac_ext <<EOF | 12144 cat > conftest.$ac_ext <<EOF |
12165 #line 12166 "configure" | 12145 #line 12146 "configure" |
12166 #include "confdefs.h" | 12146 #include "confdefs.h" |
12167 /* System header to define __stub macros and hopefully few prototypes, | 12147 /* System header to define __stub macros and hopefully few prototypes, |
12168 which can conflict with char openpty(); below. */ | 12148 which can conflict with char openpty(); below. */ |
12169 #include <assert.h> | 12149 #include <assert.h> |
12170 /* Override any gcc2 internal prototype to avoid an error. */ | 12150 /* Override any gcc2 internal prototype to avoid an error. */ |
12183 openpty(); | 12163 openpty(); |
12184 #endif | 12164 #endif |
12185 | 12165 |
12186 ; return 0; } | 12166 ; return 0; } |
12187 EOF | 12167 EOF |
12188 if { (eval echo configure:12189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12189 rm -rf conftest* | 12169 rm -rf conftest* |
12190 eval "ac_cv_func_openpty=yes" | 12170 eval "ac_cv_func_openpty=yes" |
12191 else | 12171 else |
12192 echo "configure: failed program was:" >&5 | 12172 echo "configure: failed program was:" >&5 |
12193 cat conftest.$ac_ext >&5 | 12173 cat conftest.$ac_ext >&5 |
12202 else | 12182 else |
12203 echo "$ac_t""no" 1>&6 | 12183 echo "$ac_t""no" 1>&6 |
12204 | 12184 |
12205 | 12185 |
12206 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12186 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12207 echo "configure:12208: checking for openpty in -lutil" >&5 | 12187 echo "configure:12188: checking for openpty in -lutil" >&5 |
12208 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12188 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12209 | 12189 |
12210 xe_check_libs=" -lutil " | 12190 xe_check_libs=" -lutil " |
12211 cat > conftest.$ac_ext <<EOF | 12191 cat > conftest.$ac_ext <<EOF |
12212 #line 12213 "configure" | 12192 #line 12193 "configure" |
12213 #include "confdefs.h" | 12193 #include "confdefs.h" |
12214 /* Override any gcc2 internal prototype to avoid an error. */ | 12194 /* Override any gcc2 internal prototype to avoid an error. */ |
12215 /* We use char because int might match the return type of a gcc2 | 12195 /* We use char because int might match the return type of a gcc2 |
12216 builtin and then its argument prototype would still apply. */ | 12196 builtin and then its argument prototype would still apply. */ |
12217 char openpty(); | 12197 char openpty(); |
12218 | 12198 |
12219 int main() { | 12199 int main() { |
12220 openpty() | 12200 openpty() |
12221 ; return 0; } | 12201 ; return 0; } |
12222 EOF | 12202 EOF |
12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12224 rm -rf conftest* | 12204 rm -rf conftest* |
12225 eval "ac_cv_lib_$ac_lib_var=yes" | 12205 eval "ac_cv_lib_$ac_lib_var=yes" |
12226 else | 12206 else |
12227 echo "configure: failed program was:" >&5 | 12207 echo "configure: failed program was:" >&5 |
12228 cat conftest.$ac_ext >&5 | 12208 cat conftest.$ac_ext >&5 |
12253 | 12233 |
12254 for ac_hdr in libutil.h util.h | 12234 for ac_hdr in libutil.h util.h |
12255 do | 12235 do |
12256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12236 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12258 echo "configure:12259: checking for $ac_hdr" >&5 | 12238 echo "configure:12239: checking for $ac_hdr" >&5 |
12259 | 12239 |
12260 cat > conftest.$ac_ext <<EOF | 12240 cat > conftest.$ac_ext <<EOF |
12261 #line 12262 "configure" | 12241 #line 12242 "configure" |
12262 #include "confdefs.h" | 12242 #include "confdefs.h" |
12263 #include <$ac_hdr> | 12243 #include <$ac_hdr> |
12264 EOF | 12244 EOF |
12265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12266 { (eval echo configure:12267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12246 { (eval echo configure:12247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12268 if test -z "$ac_err"; then | 12248 if test -z "$ac_err"; then |
12269 rm -rf conftest* | 12249 rm -rf conftest* |
12270 eval "ac_cv_header_$ac_safe=yes" | 12250 eval "ac_cv_header_$ac_safe=yes" |
12271 else | 12251 else |
12298 case "$opsys" in | 12278 case "$opsys" in |
12299 hpux*) for ac_hdr in sys/ptyio.h | 12279 hpux*) for ac_hdr in sys/ptyio.h |
12300 do | 12280 do |
12301 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12302 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12303 echo "configure:12304: checking for $ac_hdr" >&5 | 12283 echo "configure:12284: checking for $ac_hdr" >&5 |
12304 | 12284 |
12305 cat > conftest.$ac_ext <<EOF | 12285 cat > conftest.$ac_ext <<EOF |
12306 #line 12307 "configure" | 12286 #line 12287 "configure" |
12307 #include "confdefs.h" | 12287 #include "confdefs.h" |
12308 #include <$ac_hdr> | 12288 #include <$ac_hdr> |
12309 EOF | 12289 EOF |
12310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12311 { (eval echo configure:12312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12291 { (eval echo configure:12292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12313 if test -z "$ac_err"; then | 12293 if test -z "$ac_err"; then |
12314 rm -rf conftest* | 12294 rm -rf conftest* |
12315 eval "ac_cv_header_$ac_safe=yes" | 12295 eval "ac_cv_header_$ac_safe=yes" |
12316 else | 12296 else |
12339 ;; | 12319 ;; |
12340 *) for ac_hdr in pty.h | 12320 *) for ac_hdr in pty.h |
12341 do | 12321 do |
12342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12344 echo "configure:12345: checking for $ac_hdr" >&5 | 12324 echo "configure:12325: checking for $ac_hdr" >&5 |
12345 | 12325 |
12346 cat > conftest.$ac_ext <<EOF | 12326 cat > conftest.$ac_ext <<EOF |
12347 #line 12348 "configure" | 12327 #line 12328 "configure" |
12348 #include "confdefs.h" | 12328 #include "confdefs.h" |
12349 #include <$ac_hdr> | 12329 #include <$ac_hdr> |
12350 EOF | 12330 EOF |
12351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12352 { (eval echo configure:12353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12332 { (eval echo configure:12333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12354 if test -z "$ac_err"; then | 12334 if test -z "$ac_err"; then |
12355 rm -rf conftest* | 12335 rm -rf conftest* |
12356 eval "ac_cv_header_$ac_safe=yes" | 12336 eval "ac_cv_header_$ac_safe=yes" |
12357 else | 12337 else |
12380 | 12360 |
12381 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12361 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12382 do | 12362 do |
12383 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12384 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12385 echo "configure:12386: checking for $ac_hdr" >&5 | 12365 echo "configure:12366: checking for $ac_hdr" >&5 |
12386 | 12366 |
12387 cat > conftest.$ac_ext <<EOF | 12367 cat > conftest.$ac_ext <<EOF |
12388 #line 12389 "configure" | 12368 #line 12369 "configure" |
12389 #include "confdefs.h" | 12369 #include "confdefs.h" |
12390 #include <$ac_hdr> | 12370 #include <$ac_hdr> |
12391 EOF | 12371 EOF |
12392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12393 { (eval echo configure:12394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12373 { (eval echo configure:12374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12395 if test -z "$ac_err"; then | 12375 if test -z "$ac_err"; then |
12396 rm -rf conftest* | 12376 rm -rf conftest* |
12397 eval "ac_cv_header_$ac_safe=yes" | 12377 eval "ac_cv_header_$ac_safe=yes" |
12398 else | 12378 else |
12424 | 12404 |
12425 for ac_hdr in stropts.h | 12405 for ac_hdr in stropts.h |
12426 do | 12406 do |
12427 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12428 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12429 echo "configure:12430: checking for $ac_hdr" >&5 | 12409 echo "configure:12410: checking for $ac_hdr" >&5 |
12430 | 12410 |
12431 cat > conftest.$ac_ext <<EOF | 12411 cat > conftest.$ac_ext <<EOF |
12432 #line 12433 "configure" | 12412 #line 12413 "configure" |
12433 #include "confdefs.h" | 12413 #include "confdefs.h" |
12434 #include <$ac_hdr> | 12414 #include <$ac_hdr> |
12435 EOF | 12415 EOF |
12436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12437 { (eval echo configure:12438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12417 { (eval echo configure:12418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12439 if test -z "$ac_err"; then | 12419 if test -z "$ac_err"; then |
12440 rm -rf conftest* | 12420 rm -rf conftest* |
12441 eval "ac_cv_header_$ac_safe=yes" | 12421 eval "ac_cv_header_$ac_safe=yes" |
12442 else | 12422 else |
12465 | 12445 |
12466 if test "$ac_cv_header_stropts_h" = "yes"; then | 12446 if test "$ac_cv_header_stropts_h" = "yes"; then |
12467 for ac_func in isastream | 12447 for ac_func in isastream |
12468 do | 12448 do |
12469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12470 echo "configure:12471: checking for $ac_func" >&5 | 12450 echo "configure:12451: checking for $ac_func" >&5 |
12471 | 12451 |
12472 cat > conftest.$ac_ext <<EOF | 12452 cat > conftest.$ac_ext <<EOF |
12473 #line 12474 "configure" | 12453 #line 12454 "configure" |
12474 #include "confdefs.h" | 12454 #include "confdefs.h" |
12475 /* System header to define __stub macros and hopefully few prototypes, | 12455 /* System header to define __stub macros and hopefully few prototypes, |
12476 which can conflict with char $ac_func(); below. */ | 12456 which can conflict with char $ac_func(); below. */ |
12477 #include <assert.h> | 12457 #include <assert.h> |
12478 /* Override any gcc2 internal prototype to avoid an error. */ | 12458 /* Override any gcc2 internal prototype to avoid an error. */ |
12491 $ac_func(); | 12471 $ac_func(); |
12492 #endif | 12472 #endif |
12493 | 12473 |
12494 ; return 0; } | 12474 ; return 0; } |
12495 EOF | 12475 EOF |
12496 if { (eval echo configure:12497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12476 if { (eval echo configure:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12497 rm -rf conftest* | 12477 rm -rf conftest* |
12498 eval "ac_cv_func_$ac_func=yes" | 12478 eval "ac_cv_func_$ac_func=yes" |
12499 else | 12479 else |
12500 echo "configure: failed program was:" >&5 | 12480 echo "configure: failed program was:" >&5 |
12501 cat conftest.$ac_ext >&5 | 12481 cat conftest.$ac_ext >&5 |
12522 | 12502 |
12523 for ac_hdr in strtio.h | 12503 for ac_hdr in strtio.h |
12524 do | 12504 do |
12525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12527 echo "configure:12528: checking for $ac_hdr" >&5 | 12507 echo "configure:12508: checking for $ac_hdr" >&5 |
12528 | 12508 |
12529 cat > conftest.$ac_ext <<EOF | 12509 cat > conftest.$ac_ext <<EOF |
12530 #line 12531 "configure" | 12510 #line 12511 "configure" |
12531 #include "confdefs.h" | 12511 #include "confdefs.h" |
12532 #include <$ac_hdr> | 12512 #include <$ac_hdr> |
12533 EOF | 12513 EOF |
12534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12535 { (eval echo configure:12536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12515 { (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12537 if test -z "$ac_err"; then | 12517 if test -z "$ac_err"; then |
12538 rm -rf conftest* | 12518 rm -rf conftest* |
12539 eval "ac_cv_header_$ac_safe=yes" | 12519 eval "ac_cv_header_$ac_safe=yes" |
12540 else | 12520 else |
12563 fi | 12543 fi |
12564 | 12544 |
12565 for ac_func in getloadavg | 12545 for ac_func in getloadavg |
12566 do | 12546 do |
12567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12568 echo "configure:12569: checking for $ac_func" >&5 | 12548 echo "configure:12549: checking for $ac_func" >&5 |
12569 | 12549 |
12570 cat > conftest.$ac_ext <<EOF | 12550 cat > conftest.$ac_ext <<EOF |
12571 #line 12572 "configure" | 12551 #line 12552 "configure" |
12572 #include "confdefs.h" | 12552 #include "confdefs.h" |
12573 /* System header to define __stub macros and hopefully few prototypes, | 12553 /* System header to define __stub macros and hopefully few prototypes, |
12574 which can conflict with char $ac_func(); below. */ | 12554 which can conflict with char $ac_func(); below. */ |
12575 #include <assert.h> | 12555 #include <assert.h> |
12576 /* Override any gcc2 internal prototype to avoid an error. */ | 12556 /* Override any gcc2 internal prototype to avoid an error. */ |
12589 $ac_func(); | 12569 $ac_func(); |
12590 #endif | 12570 #endif |
12591 | 12571 |
12592 ; return 0; } | 12572 ; return 0; } |
12593 EOF | 12573 EOF |
12594 if { (eval echo configure:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12595 rm -rf conftest* | 12575 rm -rf conftest* |
12596 eval "ac_cv_func_$ac_func=yes" | 12576 eval "ac_cv_func_$ac_func=yes" |
12597 else | 12577 else |
12598 echo "configure: failed program was:" >&5 | 12578 echo "configure: failed program was:" >&5 |
12599 cat conftest.$ac_ext >&5 | 12579 cat conftest.$ac_ext >&5 |
12622 if test "$ac_cv_func_getloadavg" = "yes"; then | 12602 if test "$ac_cv_func_getloadavg" = "yes"; then |
12623 for ac_hdr in sys/loadavg.h | 12603 for ac_hdr in sys/loadavg.h |
12624 do | 12604 do |
12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12627 echo "configure:12628: checking for $ac_hdr" >&5 | 12607 echo "configure:12608: checking for $ac_hdr" >&5 |
12628 | 12608 |
12629 cat > conftest.$ac_ext <<EOF | 12609 cat > conftest.$ac_ext <<EOF |
12630 #line 12631 "configure" | 12610 #line 12611 "configure" |
12631 #include "confdefs.h" | 12611 #include "confdefs.h" |
12632 #include <$ac_hdr> | 12612 #include <$ac_hdr> |
12633 EOF | 12613 EOF |
12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12637 if test -z "$ac_err"; then | 12617 if test -z "$ac_err"; then |
12638 rm -rf conftest* | 12618 rm -rf conftest* |
12639 eval "ac_cv_header_$ac_safe=yes" | 12619 eval "ac_cv_header_$ac_safe=yes" |
12640 else | 12620 else |
12666 echo " xemacs will be linked with \"getloadavg.o\"" | 12646 echo " xemacs will be linked with \"getloadavg.o\"" |
12667 fi | 12647 fi |
12668 | 12648 |
12669 | 12649 |
12670 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12650 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12671 echo "configure:12672: checking for kstat_open in -lkstat" >&5 | 12651 echo "configure:12652: checking for kstat_open in -lkstat" >&5 |
12672 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12652 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12673 | 12653 |
12674 xe_check_libs=" -lkstat " | 12654 xe_check_libs=" -lkstat " |
12675 cat > conftest.$ac_ext <<EOF | 12655 cat > conftest.$ac_ext <<EOF |
12676 #line 12677 "configure" | 12656 #line 12657 "configure" |
12677 #include "confdefs.h" | 12657 #include "confdefs.h" |
12678 /* Override any gcc2 internal prototype to avoid an error. */ | 12658 /* Override any gcc2 internal prototype to avoid an error. */ |
12679 /* We use char because int might match the return type of a gcc2 | 12659 /* We use char because int might match the return type of a gcc2 |
12680 builtin and then its argument prototype would still apply. */ | 12660 builtin and then its argument prototype would still apply. */ |
12681 char kstat_open(); | 12661 char kstat_open(); |
12682 | 12662 |
12683 int main() { | 12663 int main() { |
12684 kstat_open() | 12664 kstat_open() |
12685 ; return 0; } | 12665 ; return 0; } |
12686 EOF | 12666 EOF |
12687 if { (eval echo configure:12688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12688 rm -rf conftest* | 12668 rm -rf conftest* |
12689 eval "ac_cv_lib_$ac_lib_var=yes" | 12669 eval "ac_cv_lib_$ac_lib_var=yes" |
12690 else | 12670 else |
12691 echo "configure: failed program was:" >&5 | 12671 echo "configure: failed program was:" >&5 |
12692 cat conftest.$ac_ext >&5 | 12672 cat conftest.$ac_ext >&5 |
12717 | 12697 |
12718 for ac_hdr in kstat.h | 12698 for ac_hdr in kstat.h |
12719 do | 12699 do |
12720 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12721 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12722 echo "configure:12723: checking for $ac_hdr" >&5 | 12702 echo "configure:12703: checking for $ac_hdr" >&5 |
12723 | 12703 |
12724 cat > conftest.$ac_ext <<EOF | 12704 cat > conftest.$ac_ext <<EOF |
12725 #line 12726 "configure" | 12705 #line 12706 "configure" |
12726 #include "confdefs.h" | 12706 #include "confdefs.h" |
12727 #include <$ac_hdr> | 12707 #include <$ac_hdr> |
12728 EOF | 12708 EOF |
12729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12730 { (eval echo configure:12731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12732 if test -z "$ac_err"; then | 12712 if test -z "$ac_err"; then |
12733 rm -rf conftest* | 12713 rm -rf conftest* |
12734 eval "ac_cv_header_$ac_safe=yes" | 12714 eval "ac_cv_header_$ac_safe=yes" |
12735 else | 12715 else |
12757 done | 12737 done |
12758 | 12738 |
12759 | 12739 |
12760 | 12740 |
12761 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12741 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12762 echo "configure:12763: checking for kvm_read in -lkvm" >&5 | 12742 echo "configure:12743: checking for kvm_read in -lkvm" >&5 |
12763 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12743 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12764 | 12744 |
12765 xe_check_libs=" -lkvm " | 12745 xe_check_libs=" -lkvm " |
12766 cat > conftest.$ac_ext <<EOF | 12746 cat > conftest.$ac_ext <<EOF |
12767 #line 12768 "configure" | 12747 #line 12748 "configure" |
12768 #include "confdefs.h" | 12748 #include "confdefs.h" |
12769 /* Override any gcc2 internal prototype to avoid an error. */ | 12749 /* Override any gcc2 internal prototype to avoid an error. */ |
12770 /* We use char because int might match the return type of a gcc2 | 12750 /* We use char because int might match the return type of a gcc2 |
12771 builtin and then its argument prototype would still apply. */ | 12751 builtin and then its argument prototype would still apply. */ |
12772 char kvm_read(); | 12752 char kvm_read(); |
12773 | 12753 |
12774 int main() { | 12754 int main() { |
12775 kvm_read() | 12755 kvm_read() |
12776 ; return 0; } | 12756 ; return 0; } |
12777 EOF | 12757 EOF |
12778 if { (eval echo configure:12779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12758 if { (eval echo configure:12759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12779 rm -rf conftest* | 12759 rm -rf conftest* |
12780 eval "ac_cv_lib_$ac_lib_var=yes" | 12760 eval "ac_cv_lib_$ac_lib_var=yes" |
12781 else | 12761 else |
12782 echo "configure: failed program was:" >&5 | 12762 echo "configure: failed program was:" >&5 |
12783 cat conftest.$ac_ext >&5 | 12763 cat conftest.$ac_ext >&5 |
12807 | 12787 |
12808 | 12788 |
12809 fi | 12789 fi |
12810 | 12790 |
12811 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12791 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12812 echo "configure:12813: checking whether netdb declares h_errno" >&5 | 12792 echo "configure:12793: checking whether netdb declares h_errno" >&5 |
12813 cat > conftest.$ac_ext <<EOF | 12793 cat > conftest.$ac_ext <<EOF |
12814 #line 12815 "configure" | 12794 #line 12795 "configure" |
12815 #include "confdefs.h" | 12795 #include "confdefs.h" |
12816 #include <netdb.h> | 12796 #include <netdb.h> |
12817 int main() { | 12797 int main() { |
12818 return h_errno; | 12798 return h_errno; |
12819 ; return 0; } | 12799 ; return 0; } |
12820 EOF | 12800 EOF |
12821 if { (eval echo configure:12822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12801 if { (eval echo configure:12802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12822 rm -rf conftest* | 12802 rm -rf conftest* |
12823 echo "$ac_t""yes" 1>&6 | 12803 echo "$ac_t""yes" 1>&6 |
12824 { test "$extra_verbose" = "yes" && cat << \EOF | 12804 { test "$extra_verbose" = "yes" && cat << \EOF |
12825 Defining HAVE_H_ERRNO | 12805 Defining HAVE_H_ERRNO |
12826 EOF | 12806 EOF |
12836 echo "$ac_t""no" 1>&6 | 12816 echo "$ac_t""no" 1>&6 |
12837 fi | 12817 fi |
12838 rm -f conftest* | 12818 rm -f conftest* |
12839 | 12819 |
12840 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12820 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12841 echo "configure:12842: checking for sigsetjmp" >&5 | 12821 echo "configure:12822: checking for sigsetjmp" >&5 |
12842 cat > conftest.$ac_ext <<EOF | 12822 cat > conftest.$ac_ext <<EOF |
12843 #line 12844 "configure" | 12823 #line 12824 "configure" |
12844 #include "confdefs.h" | 12824 #include "confdefs.h" |
12845 #include <setjmp.h> | 12825 #include <setjmp.h> |
12846 int main() { | 12826 int main() { |
12847 sigjmp_buf bar; sigsetjmp (bar, 0); | 12827 sigjmp_buf bar; sigsetjmp (bar, 0); |
12848 ; return 0; } | 12828 ; return 0; } |
12849 EOF | 12829 EOF |
12850 if { (eval echo configure:12851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12830 if { (eval echo configure:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12851 rm -rf conftest* | 12831 rm -rf conftest* |
12852 echo "$ac_t""yes" 1>&6 | 12832 echo "$ac_t""yes" 1>&6 |
12853 { test "$extra_verbose" = "yes" && cat << \EOF | 12833 { test "$extra_verbose" = "yes" && cat << \EOF |
12854 Defining HAVE_SIGSETJMP | 12834 Defining HAVE_SIGSETJMP |
12855 EOF | 12835 EOF |
12865 echo "$ac_t""no" 1>&6 | 12845 echo "$ac_t""no" 1>&6 |
12866 fi | 12846 fi |
12867 rm -f conftest* | 12847 rm -f conftest* |
12868 | 12848 |
12869 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12849 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12870 echo "configure:12871: checking whether localtime caches TZ" >&5 | 12850 echo "configure:12851: checking whether localtime caches TZ" >&5 |
12871 | 12851 |
12872 if test "$ac_cv_func_tzset" = "yes"; then | 12852 if test "$ac_cv_func_tzset" = "yes"; then |
12873 cat > conftest.$ac_ext <<EOF | 12853 cat > conftest.$ac_ext <<EOF |
12874 #line 12875 "configure" | 12854 #line 12855 "configure" |
12875 #include "confdefs.h" | 12855 #include "confdefs.h" |
12876 #include <time.h> | 12856 #include <time.h> |
12877 #if STDC_HEADERS | 12857 #if STDC_HEADERS |
12878 # include <stdlib.h> | 12858 # include <stdlib.h> |
12879 #endif | 12859 #endif |
12904 if (localtime (&now)->tm_hour != hour_unset) | 12884 if (localtime (&now)->tm_hour != hour_unset) |
12905 exit (1); | 12885 exit (1); |
12906 exit (0); | 12886 exit (0); |
12907 } | 12887 } |
12908 EOF | 12888 EOF |
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12910 then | 12890 then |
12911 emacs_cv_localtime_cache=no | 12891 emacs_cv_localtime_cache=no |
12912 else | 12892 else |
12913 conftest_rc="$?" | 12893 conftest_rc="$?" |
12914 echo "configure: failed program was:" >&5 | 12894 echo "configure: failed program was:" >&5 |
12934 | 12914 |
12935 fi | 12915 fi |
12936 | 12916 |
12937 if test "$HAVE_TIMEVAL" = "yes"; then | 12917 if test "$HAVE_TIMEVAL" = "yes"; then |
12938 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12918 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12939 echo "configure:12940: checking whether gettimeofday accepts one or two arguments" >&5 | 12919 echo "configure:12920: checking whether gettimeofday accepts one or two arguments" >&5 |
12940 cat > conftest.$ac_ext <<EOF | 12920 cat > conftest.$ac_ext <<EOF |
12941 #line 12942 "configure" | 12921 #line 12922 "configure" |
12942 #include "confdefs.h" | 12922 #include "confdefs.h" |
12943 | 12923 |
12944 #ifdef TIME_WITH_SYS_TIME | 12924 #ifdef TIME_WITH_SYS_TIME |
12945 #include <sys/time.h> | 12925 #include <sys/time.h> |
12946 #include <time.h> | 12926 #include <time.h> |
12957 struct timeval time; | 12937 struct timeval time; |
12958 gettimeofday (&time, 0); | 12938 gettimeofday (&time, 0); |
12959 | 12939 |
12960 ; return 0; } | 12940 ; return 0; } |
12961 EOF | 12941 EOF |
12962 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12942 if { (eval echo configure:12943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12963 rm -rf conftest* | 12943 rm -rf conftest* |
12964 echo "$ac_t""two" 1>&6 | 12944 echo "$ac_t""two" 1>&6 |
12965 else | 12945 else |
12966 echo "configure: failed program was:" >&5 | 12946 echo "configure: failed program was:" >&5 |
12967 cat conftest.$ac_ext >&5 | 12947 cat conftest.$ac_ext >&5 |
12979 rm -f conftest* | 12959 rm -f conftest* |
12980 fi | 12960 fi |
12981 | 12961 |
12982 | 12962 |
12983 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12963 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12984 echo "configure:12985: checking for inline" >&5 | 12964 echo "configure:12965: checking for inline" >&5 |
12985 | 12965 |
12986 ac_cv_c_inline=no | 12966 ac_cv_c_inline=no |
12987 for ac_kw in inline __inline__ __inline; do | 12967 for ac_kw in inline __inline__ __inline; do |
12988 cat > conftest.$ac_ext <<EOF | 12968 cat > conftest.$ac_ext <<EOF |
12989 #line 12990 "configure" | 12969 #line 12970 "configure" |
12990 #include "confdefs.h" | 12970 #include "confdefs.h" |
12991 | 12971 |
12992 int main() { | 12972 int main() { |
12993 } $ac_kw foo() { | 12973 } $ac_kw foo() { |
12994 ; return 0; } | 12974 ; return 0; } |
12995 EOF | 12975 EOF |
12996 if { (eval echo configure:12997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12976 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12997 rm -rf conftest* | 12977 rm -rf conftest* |
12998 ac_cv_c_inline=$ac_kw; break | 12978 ac_cv_c_inline=$ac_kw; break |
12999 else | 12979 else |
13000 echo "configure: failed program was:" >&5 | 12980 echo "configure: failed program was:" >&5 |
13001 cat conftest.$ac_ext >&5 | 12981 cat conftest.$ac_ext >&5 |
13028 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13008 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13029 echo " xemacs will be linked with \"inline.o\"" | 13009 echo " xemacs will be linked with \"inline.o\"" |
13030 fi | 13010 fi |
13031 | 13011 |
13032 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13012 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13033 echo "configure:13034: checking for typeof" >&5 | 13013 echo "configure:13014: checking for typeof" >&5 |
13034 cat > conftest.$ac_ext <<EOF | 13014 cat > conftest.$ac_ext <<EOF |
13035 #line 13036 "configure" | 13015 #line 13016 "configure" |
13036 #include "confdefs.h" | 13016 #include "confdefs.h" |
13037 | 13017 |
13038 int main() { | 13018 int main() { |
13039 int i; __typeof__(i) j; | 13019 int i; __typeof__(i) j; |
13040 ; return 0; } | 13020 ; return 0; } |
13041 EOF | 13021 EOF |
13042 if { (eval echo configure:13043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13043 rm -rf conftest* | 13023 rm -rf conftest* |
13044 typeofname="__typeof__" | 13024 typeofname="__typeof__" |
13045 else | 13025 else |
13046 echo "configure: failed program was:" >&5 | 13026 echo "configure: failed program was:" >&5 |
13047 cat conftest.$ac_ext >&5 | 13027 cat conftest.$ac_ext >&5 |
13048 rm -rf conftest* | 13028 rm -rf conftest* |
13049 cat > conftest.$ac_ext <<EOF | 13029 cat > conftest.$ac_ext <<EOF |
13050 #line 13051 "configure" | 13030 #line 13031 "configure" |
13051 #include "confdefs.h" | 13031 #include "confdefs.h" |
13052 | 13032 |
13053 int main() { | 13033 int main() { |
13054 int i; typeof(i) j; | 13034 int i; typeof(i) j; |
13055 ; return 0; } | 13035 ; return 0; } |
13056 EOF | 13036 EOF |
13057 if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13058 rm -rf conftest* | 13038 rm -rf conftest* |
13059 typeofname="typeof" | 13039 typeofname="typeof" |
13060 else | 13040 else |
13061 echo "configure: failed program was:" >&5 | 13041 echo "configure: failed program was:" >&5 |
13062 cat conftest.$ac_ext >&5 | 13042 cat conftest.$ac_ext >&5 |
13081 | 13061 |
13082 if test "$__DECC" != "yes"; then | 13062 if test "$__DECC" != "yes"; then |
13083 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13063 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13084 # for constant arguments. Useless! | 13064 # for constant arguments. Useless! |
13085 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13065 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13086 echo "configure:13087: checking for working alloca.h" >&5 | 13066 echo "configure:13067: checking for working alloca.h" >&5 |
13087 | 13067 |
13088 cat > conftest.$ac_ext <<EOF | 13068 cat > conftest.$ac_ext <<EOF |
13089 #line 13090 "configure" | 13069 #line 13070 "configure" |
13090 #include "confdefs.h" | 13070 #include "confdefs.h" |
13091 #include <alloca.h> | 13071 #include <alloca.h> |
13092 int main() { | 13072 int main() { |
13093 char *p = alloca(2 * sizeof(int)); | 13073 char *p = alloca(2 * sizeof(int)); |
13094 ; return 0; } | 13074 ; return 0; } |
13095 EOF | 13075 EOF |
13096 if { (eval echo configure:13097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13097 rm -rf conftest* | 13077 rm -rf conftest* |
13098 ac_cv_header_alloca_h=yes | 13078 ac_cv_header_alloca_h=yes |
13099 else | 13079 else |
13100 echo "configure: failed program was:" >&5 | 13080 echo "configure: failed program was:" >&5 |
13101 cat conftest.$ac_ext >&5 | 13081 cat conftest.$ac_ext >&5 |
13115 } | 13095 } |
13116 | 13096 |
13117 fi | 13097 fi |
13118 | 13098 |
13119 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13099 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13120 echo "configure:13121: checking for alloca" >&5 | 13100 echo "configure:13101: checking for alloca" >&5 |
13121 | 13101 |
13122 cat > conftest.$ac_ext <<EOF | 13102 cat > conftest.$ac_ext <<EOF |
13123 #line 13124 "configure" | 13103 #line 13104 "configure" |
13124 #include "confdefs.h" | 13104 #include "confdefs.h" |
13125 | 13105 |
13126 #ifdef __GNUC__ | 13106 #ifdef __GNUC__ |
13127 # define alloca __builtin_alloca | 13107 # define alloca __builtin_alloca |
13128 #else | 13108 #else |
13146 | 13126 |
13147 int main() { | 13127 int main() { |
13148 char *p = (char *) alloca(1); | 13128 char *p = (char *) alloca(1); |
13149 ; return 0; } | 13129 ; return 0; } |
13150 EOF | 13130 EOF |
13151 if { (eval echo configure:13152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13131 if { (eval echo configure:13132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13152 rm -rf conftest* | 13132 rm -rf conftest* |
13153 ac_cv_func_alloca_works=yes | 13133 ac_cv_func_alloca_works=yes |
13154 else | 13134 else |
13155 echo "configure: failed program was:" >&5 | 13135 echo "configure: failed program was:" >&5 |
13156 cat conftest.$ac_ext >&5 | 13136 cat conftest.$ac_ext >&5 |
13185 EOF | 13165 EOF |
13186 } | 13166 } |
13187 | 13167 |
13188 | 13168 |
13189 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13169 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13190 echo "configure:13191: checking whether alloca needs Cray hooks" >&5 | 13170 echo "configure:13171: checking whether alloca needs Cray hooks" >&5 |
13191 | 13171 |
13192 cat > conftest.$ac_ext <<EOF | 13172 cat > conftest.$ac_ext <<EOF |
13193 #line 13194 "configure" | 13173 #line 13174 "configure" |
13194 #include "confdefs.h" | 13174 #include "confdefs.h" |
13195 #if defined(CRAY) && ! defined(CRAY2) | 13175 #if defined(CRAY) && ! defined(CRAY2) |
13196 webecray | 13176 webecray |
13197 #else | 13177 #else |
13198 wenotbecray | 13178 wenotbecray |
13212 | 13192 |
13213 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13193 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13214 if test $ac_cv_os_cray = yes; then | 13194 if test $ac_cv_os_cray = yes; then |
13215 for ac_func in _getb67 GETB67 getb67; do | 13195 for ac_func in _getb67 GETB67 getb67; do |
13216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13217 echo "configure:13218: checking for $ac_func" >&5 | 13197 echo "configure:13198: checking for $ac_func" >&5 |
13218 | 13198 |
13219 cat > conftest.$ac_ext <<EOF | 13199 cat > conftest.$ac_ext <<EOF |
13220 #line 13221 "configure" | 13200 #line 13201 "configure" |
13221 #include "confdefs.h" | 13201 #include "confdefs.h" |
13222 /* System header to define __stub macros and hopefully few prototypes, | 13202 /* System header to define __stub macros and hopefully few prototypes, |
13223 which can conflict with char $ac_func(); below. */ | 13203 which can conflict with char $ac_func(); below. */ |
13224 #include <assert.h> | 13204 #include <assert.h> |
13225 /* Override any gcc2 internal prototype to avoid an error. */ | 13205 /* Override any gcc2 internal prototype to avoid an error. */ |
13238 $ac_func(); | 13218 $ac_func(); |
13239 #endif | 13219 #endif |
13240 | 13220 |
13241 ; return 0; } | 13221 ; return 0; } |
13242 EOF | 13222 EOF |
13243 if { (eval echo configure:13244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13244 rm -rf conftest* | 13224 rm -rf conftest* |
13245 eval "ac_cv_func_$ac_func=yes" | 13225 eval "ac_cv_func_$ac_func=yes" |
13246 else | 13226 else |
13247 echo "configure: failed program was:" >&5 | 13227 echo "configure: failed program was:" >&5 |
13248 cat conftest.$ac_ext >&5 | 13228 cat conftest.$ac_ext >&5 |
13268 | 13248 |
13269 done | 13249 done |
13270 fi | 13250 fi |
13271 | 13251 |
13272 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13252 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13273 echo "configure:13274: checking stack direction for C alloca" >&5 | 13253 echo "configure:13254: checking stack direction for C alloca" >&5 |
13274 | 13254 |
13275 cat > conftest.$ac_ext <<EOF | 13255 cat > conftest.$ac_ext <<EOF |
13276 #line 13277 "configure" | 13256 #line 13257 "configure" |
13277 #include "confdefs.h" | 13257 #include "confdefs.h" |
13278 find_stack_direction () | 13258 find_stack_direction () |
13279 { | 13259 { |
13280 static char *addr = 0; | 13260 static char *addr = 0; |
13281 auto char dummy; | 13261 auto char dummy; |
13290 main () | 13270 main () |
13291 { | 13271 { |
13292 exit (find_stack_direction() < 0); | 13272 exit (find_stack_direction() < 0); |
13293 } | 13273 } |
13294 EOF | 13274 EOF |
13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13296 then | 13276 then |
13297 ac_cv_c_stack_direction=1 | 13277 ac_cv_c_stack_direction=1 |
13298 else | 13278 else |
13299 conftest_rc="$?" | 13279 conftest_rc="$?" |
13300 echo "configure: failed program was:" >&5 | 13280 echo "configure: failed program was:" >&5 |
13319 echo " xemacs will be linked with \"$ALLOCA\"" | 13299 echo " xemacs will be linked with \"$ALLOCA\"" |
13320 fi | 13300 fi |
13321 fi | 13301 fi |
13322 | 13302 |
13323 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13303 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13324 echo "configure:13325: checking for working alloca in function calls" >&5 | 13304 echo "configure:13305: checking for working alloca in function calls" >&5 |
13325 cat > conftest.$ac_ext <<EOF | 13305 cat > conftest.$ac_ext <<EOF |
13326 #line 13327 "configure" | 13306 #line 13307 "configure" |
13327 #include "confdefs.h" | 13307 #include "confdefs.h" |
13328 | 13308 |
13329 #if defined (__CYGWIN__) | 13309 #if defined (__CYGWIN__) |
13330 #include <alloca.h> | 13310 #include <alloca.h> |
13331 #elif defined (__GNUC__) | 13311 #elif defined (__GNUC__) |
13374 return 1; | 13354 return 1; |
13375 return 0; | 13355 return 0; |
13376 } | 13356 } |
13377 | 13357 |
13378 EOF | 13358 EOF |
13379 if { (eval echo configure:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13359 if { (eval echo configure:13360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13380 then | 13360 then |
13381 working_alloca_in_function_calls=yes | 13361 working_alloca_in_function_calls=yes |
13382 else | 13362 else |
13383 conftest_rc="$?" | 13363 conftest_rc="$?" |
13384 echo "configure: failed program was:" >&5 | 13364 echo "configure: failed program was:" >&5 |
13397 EOF | 13377 EOF |
13398 } | 13378 } |
13399 | 13379 |
13400 | 13380 |
13401 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13381 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13402 echo "configure:13403: checking for working strcoll" >&5 | 13382 echo "configure:13383: checking for working strcoll" >&5 |
13403 | 13383 |
13404 cat > conftest.$ac_ext <<EOF | 13384 cat > conftest.$ac_ext <<EOF |
13405 #line 13406 "configure" | 13385 #line 13386 "configure" |
13406 #include "confdefs.h" | 13386 #include "confdefs.h" |
13407 #include <string.h> | 13387 #include <string.h> |
13408 main () | 13388 main () |
13409 { | 13389 { |
13410 exit (strcoll ("abc", "def") >= 0 || | 13390 exit (strcoll ("abc", "def") >= 0 || |
13411 strcoll ("ABC", "DEF") >= 0 || | 13391 strcoll ("ABC", "DEF") >= 0 || |
13412 strcoll ("123", "456") >= 0); | 13392 strcoll ("123", "456") >= 0); |
13413 } | 13393 } |
13414 EOF | 13394 EOF |
13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13416 then | 13396 then |
13417 ac_cv_func_strcoll_works=yes | 13397 ac_cv_func_strcoll_works=yes |
13418 else | 13398 else |
13419 conftest_rc="$?" | 13399 conftest_rc="$?" |
13420 echo "configure: failed program was:" >&5 | 13400 echo "configure: failed program was:" >&5 |
13438 | 13418 |
13439 | 13419 |
13440 for ac_func in getpgrp | 13420 for ac_func in getpgrp |
13441 do | 13421 do |
13442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13443 echo "configure:13444: checking for $ac_func" >&5 | 13423 echo "configure:13424: checking for $ac_func" >&5 |
13444 | 13424 |
13445 cat > conftest.$ac_ext <<EOF | 13425 cat > conftest.$ac_ext <<EOF |
13446 #line 13447 "configure" | 13426 #line 13427 "configure" |
13447 #include "confdefs.h" | 13427 #include "confdefs.h" |
13448 /* System header to define __stub macros and hopefully few prototypes, | 13428 /* System header to define __stub macros and hopefully few prototypes, |
13449 which can conflict with char $ac_func(); below. */ | 13429 which can conflict with char $ac_func(); below. */ |
13450 #include <assert.h> | 13430 #include <assert.h> |
13451 /* Override any gcc2 internal prototype to avoid an error. */ | 13431 /* Override any gcc2 internal prototype to avoid an error. */ |
13464 $ac_func(); | 13444 $ac_func(); |
13465 #endif | 13445 #endif |
13466 | 13446 |
13467 ; return 0; } | 13447 ; return 0; } |
13468 EOF | 13448 EOF |
13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13470 rm -rf conftest* | 13450 rm -rf conftest* |
13471 eval "ac_cv_func_$ac_func=yes" | 13451 eval "ac_cv_func_$ac_func=yes" |
13472 else | 13452 else |
13473 echo "configure: failed program was:" >&5 | 13453 echo "configure: failed program was:" >&5 |
13474 cat conftest.$ac_ext >&5 | 13454 cat conftest.$ac_ext >&5 |
13492 echo "$ac_t""no" 1>&6 | 13472 echo "$ac_t""no" 1>&6 |
13493 fi | 13473 fi |
13494 done | 13474 done |
13495 | 13475 |
13496 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13476 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13497 echo "configure:13498: checking whether getpgrp takes no argument" >&5 | 13477 echo "configure:13478: checking whether getpgrp takes no argument" >&5 |
13498 | 13478 |
13499 cat > conftest.$ac_ext <<EOF | 13479 cat > conftest.$ac_ext <<EOF |
13500 #line 13501 "configure" | 13480 #line 13481 "configure" |
13501 #include "confdefs.h" | 13481 #include "confdefs.h" |
13502 | 13482 |
13503 /* | 13483 /* |
13504 * If this system has a BSD-style getpgrp(), | 13484 * If this system has a BSD-style getpgrp(), |
13505 * which takes a pid argument, exit unsuccessfully. | 13485 * which takes a pid argument, exit unsuccessfully. |
13550 exit(s>>8); | 13530 exit(s>>8); |
13551 } | 13531 } |
13552 } | 13532 } |
13553 | 13533 |
13554 EOF | 13534 EOF |
13555 if { (eval echo configure:13556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13535 if { (eval echo configure:13536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13556 then | 13536 then |
13557 ac_cv_func_getpgrp_void=yes | 13537 ac_cv_func_getpgrp_void=yes |
13558 else | 13538 else |
13559 conftest_rc="$?" | 13539 conftest_rc="$?" |
13560 echo "configure: failed program was:" >&5 | 13540 echo "configure: failed program was:" >&5 |
13577 | 13557 |
13578 fi | 13558 fi |
13579 | 13559 |
13580 | 13560 |
13581 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13561 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13582 echo "configure:13583: checking for working mmap" >&5 | 13562 echo "configure:13563: checking for working mmap" >&5 |
13583 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13563 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13584 cat > conftest.$ac_ext <<EOF | 13564 cat > conftest.$ac_ext <<EOF |
13585 #line 13586 "configure" | 13565 #line 13566 "configure" |
13586 #include "confdefs.h" | 13566 #include "confdefs.h" |
13587 #include <stdio.h> | 13567 #include <stdio.h> |
13588 #include <unistd.h> | 13568 #include <unistd.h> |
13589 #include <fcntl.h> | 13569 #include <fcntl.h> |
13590 #include <sys/mman.h> | 13570 #include <sys/mman.h> |
13613 return 0; | 13593 return 0; |
13614 perror ("conftest: mmap failed"); | 13594 perror ("conftest: mmap failed"); |
13615 return 1; | 13595 return 1; |
13616 } | 13596 } |
13617 EOF | 13597 EOF |
13618 if { (eval echo configure:13619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13598 if { (eval echo configure:13599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13619 then | 13599 then |
13620 have_mmap=yes | 13600 have_mmap=yes |
13621 else | 13601 else |
13622 conftest_rc="$?" | 13602 conftest_rc="$?" |
13623 echo "configure: failed program was:" >&5 | 13603 echo "configure: failed program was:" >&5 |
13642 esac | 13622 esac |
13643 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13623 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13644 if test "$rel_alloc $have_mmap" = "default yes"; then | 13624 if test "$rel_alloc $have_mmap" = "default yes"; then |
13645 if test "$doug_lea_malloc" = "yes"; then | 13625 if test "$doug_lea_malloc" = "yes"; then |
13646 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13626 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13647 echo "configure:13648: checking for M_MMAP_THRESHOLD" >&5 | 13627 echo "configure:13628: checking for M_MMAP_THRESHOLD" >&5 |
13648 cat > conftest.$ac_ext <<EOF | 13628 cat > conftest.$ac_ext <<EOF |
13649 #line 13650 "configure" | 13629 #line 13630 "configure" |
13650 #include "confdefs.h" | 13630 #include "confdefs.h" |
13651 #include <malloc.h> | 13631 #include <malloc.h> |
13652 int main() { | 13632 int main() { |
13653 | 13633 |
13654 #ifndef M_MMAP_THRESHOLD | 13634 #ifndef M_MMAP_THRESHOLD |
13656 !@+$%^&*_)(_ - unlikely to compile... | 13636 !@+$%^&*_)(_ - unlikely to compile... |
13657 #endif | 13637 #endif |
13658 | 13638 |
13659 ; return 0; } | 13639 ; return 0; } |
13660 EOF | 13640 EOF |
13661 if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13641 if { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13662 rm -rf conftest* | 13642 rm -rf conftest* |
13663 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13643 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13664 else | 13644 else |
13665 echo "configure: failed program was:" >&5 | 13645 echo "configure: failed program was:" >&5 |
13666 cat conftest.$ac_ext >&5 | 13646 cat conftest.$ac_ext >&5 |
13681 } | 13661 } |
13682 | 13662 |
13683 | 13663 |
13684 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13664 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13685 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13665 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13686 echo "configure:13687: checking for termios.h" >&5 | 13666 echo "configure:13667: checking for termios.h" >&5 |
13687 | 13667 |
13688 cat > conftest.$ac_ext <<EOF | 13668 cat > conftest.$ac_ext <<EOF |
13689 #line 13690 "configure" | 13669 #line 13670 "configure" |
13690 #include "confdefs.h" | 13670 #include "confdefs.h" |
13691 #include <termios.h> | 13671 #include <termios.h> |
13692 EOF | 13672 EOF |
13693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13694 { (eval echo configure:13695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13674 { (eval echo configure:13675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13696 if test -z "$ac_err"; then | 13676 if test -z "$ac_err"; then |
13697 rm -rf conftest* | 13677 rm -rf conftest* |
13698 eval "ac_cv_header_$ac_safe=yes" | 13678 eval "ac_cv_header_$ac_safe=yes" |
13699 else | 13679 else |
13732 | 13712 |
13733 else | 13713 else |
13734 echo "$ac_t""no" 1>&6 | 13714 echo "$ac_t""no" 1>&6 |
13735 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13715 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13736 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13716 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13737 echo "configure:13738: checking for termio.h" >&5 | 13717 echo "configure:13718: checking for termio.h" >&5 |
13738 | 13718 |
13739 cat > conftest.$ac_ext <<EOF | 13719 cat > conftest.$ac_ext <<EOF |
13740 #line 13741 "configure" | 13720 #line 13721 "configure" |
13741 #include "confdefs.h" | 13721 #include "confdefs.h" |
13742 #include <termio.h> | 13722 #include <termio.h> |
13743 EOF | 13723 EOF |
13744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13745 { (eval echo configure:13746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13725 { (eval echo configure:13726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13747 if test -z "$ac_err"; then | 13727 if test -z "$ac_err"; then |
13748 rm -rf conftest* | 13728 rm -rf conftest* |
13749 eval "ac_cv_header_$ac_safe=yes" | 13729 eval "ac_cv_header_$ac_safe=yes" |
13750 else | 13730 else |
13772 fi | 13752 fi |
13773 | 13753 |
13774 | 13754 |
13775 | 13755 |
13776 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13756 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13777 echo "configure:13778: checking for socket" >&5 | 13757 echo "configure:13758: checking for socket" >&5 |
13778 | 13758 |
13779 cat > conftest.$ac_ext <<EOF | 13759 cat > conftest.$ac_ext <<EOF |
13780 #line 13781 "configure" | 13760 #line 13761 "configure" |
13781 #include "confdefs.h" | 13761 #include "confdefs.h" |
13782 /* System header to define __stub macros and hopefully few prototypes, | 13762 /* System header to define __stub macros and hopefully few prototypes, |
13783 which can conflict with char socket(); below. */ | 13763 which can conflict with char socket(); below. */ |
13784 #include <assert.h> | 13764 #include <assert.h> |
13785 /* Override any gcc2 internal prototype to avoid an error. */ | 13765 /* Override any gcc2 internal prototype to avoid an error. */ |
13798 socket(); | 13778 socket(); |
13799 #endif | 13779 #endif |
13800 | 13780 |
13801 ; return 0; } | 13781 ; return 0; } |
13802 EOF | 13782 EOF |
13803 if { (eval echo configure:13804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13804 rm -rf conftest* | 13784 rm -rf conftest* |
13805 eval "ac_cv_func_socket=yes" | 13785 eval "ac_cv_func_socket=yes" |
13806 else | 13786 else |
13807 echo "configure: failed program was:" >&5 | 13787 echo "configure: failed program was:" >&5 |
13808 cat conftest.$ac_ext >&5 | 13788 cat conftest.$ac_ext >&5 |
13813 | 13793 |
13814 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13794 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13815 echo "$ac_t""yes" 1>&6 | 13795 echo "$ac_t""yes" 1>&6 |
13816 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13796 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13817 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13797 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13818 echo "configure:13819: checking for netinet/in.h" >&5 | 13798 echo "configure:13799: checking for netinet/in.h" >&5 |
13819 | 13799 |
13820 cat > conftest.$ac_ext <<EOF | 13800 cat > conftest.$ac_ext <<EOF |
13821 #line 13822 "configure" | 13801 #line 13802 "configure" |
13822 #include "confdefs.h" | 13802 #include "confdefs.h" |
13823 #include <netinet/in.h> | 13803 #include <netinet/in.h> |
13824 EOF | 13804 EOF |
13825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13826 { (eval echo configure:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13806 { (eval echo configure:13807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13828 if test -z "$ac_err"; then | 13808 if test -z "$ac_err"; then |
13829 rm -rf conftest* | 13809 rm -rf conftest* |
13830 eval "ac_cv_header_$ac_safe=yes" | 13810 eval "ac_cv_header_$ac_safe=yes" |
13831 else | 13811 else |
13838 rm -f conftest* | 13818 rm -f conftest* |
13839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13840 echo "$ac_t""yes" 1>&6 | 13820 echo "$ac_t""yes" 1>&6 |
13841 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13821 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13842 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13822 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13843 echo "configure:13844: checking for arpa/inet.h" >&5 | 13823 echo "configure:13824: checking for arpa/inet.h" >&5 |
13844 | 13824 |
13845 cat > conftest.$ac_ext <<EOF | 13825 cat > conftest.$ac_ext <<EOF |
13846 #line 13847 "configure" | 13826 #line 13827 "configure" |
13847 #include "confdefs.h" | 13827 #include "confdefs.h" |
13848 #include <arpa/inet.h> | 13828 #include <arpa/inet.h> |
13849 EOF | 13829 EOF |
13850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13851 { (eval echo configure:13852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13831 { (eval echo configure:13832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13853 if test -z "$ac_err"; then | 13833 if test -z "$ac_err"; then |
13854 rm -rf conftest* | 13834 rm -rf conftest* |
13855 eval "ac_cv_header_$ac_safe=yes" | 13835 eval "ac_cv_header_$ac_safe=yes" |
13856 else | 13836 else |
13871 #define HAVE_SOCKETS 1 | 13851 #define HAVE_SOCKETS 1 |
13872 EOF | 13852 EOF |
13873 } | 13853 } |
13874 | 13854 |
13875 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13855 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13876 echo "configure:13877: checking "for sun_len member in struct sockaddr_un"" >&5 | 13856 echo "configure:13857: checking "for sun_len member in struct sockaddr_un"" >&5 |
13877 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13878 #line 13879 "configure" | 13858 #line 13859 "configure" |
13879 #include "confdefs.h" | 13859 #include "confdefs.h" |
13880 | 13860 |
13881 #include <sys/types.h> | 13861 #include <sys/types.h> |
13882 #include <sys/socket.h> | 13862 #include <sys/socket.h> |
13883 #include <sys/un.h> | 13863 #include <sys/un.h> |
13884 | 13864 |
13885 int main() { | 13865 int main() { |
13886 static struct sockaddr_un x; x.sun_len = 1; | 13866 static struct sockaddr_un x; x.sun_len = 1; |
13887 ; return 0; } | 13867 ; return 0; } |
13888 EOF | 13868 EOF |
13889 if { (eval echo configure:13890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13890 rm -rf conftest* | 13870 rm -rf conftest* |
13891 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13871 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13892 Defining HAVE_SOCKADDR_SUN_LEN | 13872 Defining HAVE_SOCKADDR_SUN_LEN |
13893 EOF | 13873 EOF |
13894 cat >> confdefs.h <<\EOF | 13874 cat >> confdefs.h <<\EOF |
13902 rm -rf conftest* | 13882 rm -rf conftest* |
13903 echo "$ac_t""no" 1>&6 | 13883 echo "$ac_t""no" 1>&6 |
13904 fi | 13884 fi |
13905 rm -f conftest* | 13885 rm -f conftest* |
13906 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13886 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13907 echo "configure:13908: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13887 echo "configure:13888: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13908 cat > conftest.$ac_ext <<EOF | 13888 cat > conftest.$ac_ext <<EOF |
13909 #line 13910 "configure" | 13889 #line 13890 "configure" |
13910 #include "confdefs.h" | 13890 #include "confdefs.h" |
13911 | 13891 |
13912 #include <sys/types.h> | 13892 #include <sys/types.h> |
13913 #include <netinet/in.h> | 13893 #include <netinet/in.h> |
13914 | 13894 |
13915 int main() { | 13895 int main() { |
13916 static struct ip_mreq x; | 13896 static struct ip_mreq x; |
13917 ; return 0; } | 13897 ; return 0; } |
13918 EOF | 13898 EOF |
13919 if { (eval echo configure:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13920 rm -rf conftest* | 13900 rm -rf conftest* |
13921 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13901 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13922 Defining HAVE_MULTICAST | 13902 Defining HAVE_MULTICAST |
13923 EOF | 13903 EOF |
13924 cat >> confdefs.h <<\EOF | 13904 cat >> confdefs.h <<\EOF |
13945 echo "$ac_t""no" 1>&6 | 13925 echo "$ac_t""no" 1>&6 |
13946 fi | 13926 fi |
13947 | 13927 |
13948 | 13928 |
13949 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13929 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13950 echo "configure:13951: checking for msgget" >&5 | 13930 echo "configure:13931: checking for msgget" >&5 |
13951 | 13931 |
13952 cat > conftest.$ac_ext <<EOF | 13932 cat > conftest.$ac_ext <<EOF |
13953 #line 13954 "configure" | 13933 #line 13934 "configure" |
13954 #include "confdefs.h" | 13934 #include "confdefs.h" |
13955 /* System header to define __stub macros and hopefully few prototypes, | 13935 /* System header to define __stub macros and hopefully few prototypes, |
13956 which can conflict with char msgget(); below. */ | 13936 which can conflict with char msgget(); below. */ |
13957 #include <assert.h> | 13937 #include <assert.h> |
13958 /* Override any gcc2 internal prototype to avoid an error. */ | 13938 /* Override any gcc2 internal prototype to avoid an error. */ |
13971 msgget(); | 13951 msgget(); |
13972 #endif | 13952 #endif |
13973 | 13953 |
13974 ; return 0; } | 13954 ; return 0; } |
13975 EOF | 13955 EOF |
13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13956 if { (eval echo configure:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13977 rm -rf conftest* | 13957 rm -rf conftest* |
13978 eval "ac_cv_func_msgget=yes" | 13958 eval "ac_cv_func_msgget=yes" |
13979 else | 13959 else |
13980 echo "configure: failed program was:" >&5 | 13960 echo "configure: failed program was:" >&5 |
13981 cat conftest.$ac_ext >&5 | 13961 cat conftest.$ac_ext >&5 |
13986 | 13966 |
13987 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13967 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13988 echo "$ac_t""yes" 1>&6 | 13968 echo "$ac_t""yes" 1>&6 |
13989 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13969 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13990 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13970 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13991 echo "configure:13992: checking for sys/ipc.h" >&5 | 13971 echo "configure:13972: checking for sys/ipc.h" >&5 |
13992 | 13972 |
13993 cat > conftest.$ac_ext <<EOF | 13973 cat > conftest.$ac_ext <<EOF |
13994 #line 13995 "configure" | 13974 #line 13975 "configure" |
13995 #include "confdefs.h" | 13975 #include "confdefs.h" |
13996 #include <sys/ipc.h> | 13976 #include <sys/ipc.h> |
13997 EOF | 13977 EOF |
13998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13999 { (eval echo configure:14000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13979 { (eval echo configure:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14001 if test -z "$ac_err"; then | 13981 if test -z "$ac_err"; then |
14002 rm -rf conftest* | 13982 rm -rf conftest* |
14003 eval "ac_cv_header_$ac_safe=yes" | 13983 eval "ac_cv_header_$ac_safe=yes" |
14004 else | 13984 else |
14011 rm -f conftest* | 13991 rm -f conftest* |
14012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14013 echo "$ac_t""yes" 1>&6 | 13993 echo "$ac_t""yes" 1>&6 |
14014 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13994 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
14015 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13995 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
14016 echo "configure:14017: checking for sys/msg.h" >&5 | 13996 echo "configure:13997: checking for sys/msg.h" >&5 |
14017 | 13997 |
14018 cat > conftest.$ac_ext <<EOF | 13998 cat > conftest.$ac_ext <<EOF |
14019 #line 14020 "configure" | 13999 #line 14000 "configure" |
14020 #include "confdefs.h" | 14000 #include "confdefs.h" |
14021 #include <sys/msg.h> | 14001 #include <sys/msg.h> |
14022 EOF | 14002 EOF |
14023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14024 { (eval echo configure:14025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14004 { (eval echo configure:14005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14026 if test -z "$ac_err"; then | 14006 if test -z "$ac_err"; then |
14027 rm -rf conftest* | 14007 rm -rf conftest* |
14028 eval "ac_cv_header_$ac_safe=yes" | 14008 eval "ac_cv_header_$ac_safe=yes" |
14029 else | 14009 else |
14057 fi | 14037 fi |
14058 | 14038 |
14059 | 14039 |
14060 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14040 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14061 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14041 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14062 echo "configure:14063: checking for dirent.h" >&5 | 14042 echo "configure:14043: checking for dirent.h" >&5 |
14063 | 14043 |
14064 cat > conftest.$ac_ext <<EOF | 14044 cat > conftest.$ac_ext <<EOF |
14065 #line 14066 "configure" | 14045 #line 14046 "configure" |
14066 #include "confdefs.h" | 14046 #include "confdefs.h" |
14067 #include <dirent.h> | 14047 #include <dirent.h> |
14068 EOF | 14048 EOF |
14069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14070 { (eval echo configure:14071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14050 { (eval echo configure:14051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14072 if test -z "$ac_err"; then | 14052 if test -z "$ac_err"; then |
14073 rm -rf conftest* | 14053 rm -rf conftest* |
14074 eval "ac_cv_header_$ac_safe=yes" | 14054 eval "ac_cv_header_$ac_safe=yes" |
14075 else | 14055 else |
14092 | 14072 |
14093 else | 14073 else |
14094 echo "$ac_t""no" 1>&6 | 14074 echo "$ac_t""no" 1>&6 |
14095 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14075 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14096 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14076 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14097 echo "configure:14098: checking for sys/dir.h" >&5 | 14077 echo "configure:14078: checking for sys/dir.h" >&5 |
14098 | 14078 |
14099 cat > conftest.$ac_ext <<EOF | 14079 cat > conftest.$ac_ext <<EOF |
14100 #line 14101 "configure" | 14080 #line 14081 "configure" |
14101 #include "confdefs.h" | 14081 #include "confdefs.h" |
14102 #include <sys/dir.h> | 14082 #include <sys/dir.h> |
14103 EOF | 14083 EOF |
14104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14105 { (eval echo configure:14106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14085 { (eval echo configure:14086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14107 if test -z "$ac_err"; then | 14087 if test -z "$ac_err"; then |
14108 rm -rf conftest* | 14088 rm -rf conftest* |
14109 eval "ac_cv_header_$ac_safe=yes" | 14089 eval "ac_cv_header_$ac_safe=yes" |
14110 else | 14090 else |
14133 fi | 14113 fi |
14134 | 14114 |
14135 | 14115 |
14136 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14116 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14137 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14117 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14138 echo "configure:14139: checking for nlist.h" >&5 | 14118 echo "configure:14119: checking for nlist.h" >&5 |
14139 | 14119 |
14140 cat > conftest.$ac_ext <<EOF | 14120 cat > conftest.$ac_ext <<EOF |
14141 #line 14142 "configure" | 14121 #line 14122 "configure" |
14142 #include "confdefs.h" | 14122 #include "confdefs.h" |
14143 #include <nlist.h> | 14123 #include <nlist.h> |
14144 EOF | 14124 EOF |
14145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14146 { (eval echo configure:14147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14126 { (eval echo configure:14127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14148 if test -z "$ac_err"; then | 14128 if test -z "$ac_err"; then |
14149 rm -rf conftest* | 14129 rm -rf conftest* |
14150 eval "ac_cv_header_$ac_safe=yes" | 14130 eval "ac_cv_header_$ac_safe=yes" |
14151 else | 14131 else |
14171 fi | 14151 fi |
14172 | 14152 |
14173 | 14153 |
14174 | 14154 |
14175 echo "checking "for sound support"" 1>&6 | 14155 echo "checking "for sound support"" 1>&6 |
14176 echo "configure:14177: checking "for sound support"" >&5 | 14156 echo "configure:14157: checking "for sound support"" >&5 |
14177 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14157 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14178 | 14158 |
14179 if test "$with_native_sound" != "no"; then | 14159 if test "$with_native_sound" != "no"; then |
14180 if test -n "$native_sound_lib"; then | 14160 if test -n "$native_sound_lib"; then |
14181 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14161 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14182 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14162 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14183 echo "configure:14184: checking for multimedia/audio_device.h" >&5 | 14163 echo "configure:14164: checking for multimedia/audio_device.h" >&5 |
14184 | 14164 |
14185 cat > conftest.$ac_ext <<EOF | 14165 cat > conftest.$ac_ext <<EOF |
14186 #line 14187 "configure" | 14166 #line 14167 "configure" |
14187 #include "confdefs.h" | 14167 #include "confdefs.h" |
14188 #include <multimedia/audio_device.h> | 14168 #include <multimedia/audio_device.h> |
14189 EOF | 14169 EOF |
14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14193 if test -z "$ac_err"; then | 14173 if test -z "$ac_err"; then |
14194 rm -rf conftest* | 14174 rm -rf conftest* |
14195 eval "ac_cv_header_$ac_safe=yes" | 14175 eval "ac_cv_header_$ac_safe=yes" |
14196 else | 14176 else |
14242 case "$canonical" in | 14222 case "$canonical" in |
14243 *-sgi-* ) | 14223 *-sgi-* ) |
14244 if test -z "$native_sound_lib"; then | 14224 if test -z "$native_sound_lib"; then |
14245 | 14225 |
14246 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14226 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14247 echo "configure:14248: checking for ALopenport in -laudio" >&5 | 14227 echo "configure:14228: checking for ALopenport in -laudio" >&5 |
14248 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14228 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14249 | 14229 |
14250 xe_check_libs=" -laudio " | 14230 xe_check_libs=" -laudio " |
14251 cat > conftest.$ac_ext <<EOF | 14231 cat > conftest.$ac_ext <<EOF |
14252 #line 14253 "configure" | 14232 #line 14233 "configure" |
14253 #include "confdefs.h" | 14233 #include "confdefs.h" |
14254 /* Override any gcc2 internal prototype to avoid an error. */ | 14234 /* Override any gcc2 internal prototype to avoid an error. */ |
14255 /* We use char because int might match the return type of a gcc2 | 14235 /* We use char because int might match the return type of a gcc2 |
14256 builtin and then its argument prototype would still apply. */ | 14236 builtin and then its argument prototype would still apply. */ |
14257 char ALopenport(); | 14237 char ALopenport(); |
14258 | 14238 |
14259 int main() { | 14239 int main() { |
14260 ALopenport() | 14240 ALopenport() |
14261 ; return 0; } | 14241 ; return 0; } |
14262 EOF | 14242 EOF |
14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14264 rm -rf conftest* | 14244 rm -rf conftest* |
14265 eval "ac_cv_lib_$ac_lib_var=yes" | 14245 eval "ac_cv_lib_$ac_lib_var=yes" |
14266 else | 14246 else |
14267 echo "configure: failed program was:" >&5 | 14247 echo "configure: failed program was:" >&5 |
14268 cat conftest.$ac_ext >&5 | 14248 cat conftest.$ac_ext >&5 |
14289 fi ;; | 14269 fi ;; |
14290 hppa*-hp-hpux* ) | 14270 hppa*-hp-hpux* ) |
14291 if test -z "$native_sound_lib"; then | 14271 if test -z "$native_sound_lib"; then |
14292 | 14272 |
14293 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14273 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14294 echo "configure:14295: checking for AOpenAudio in -lAlib" >&5 | 14274 echo "configure:14275: checking for AOpenAudio in -lAlib" >&5 |
14295 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14275 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14296 | 14276 |
14297 xe_check_libs=" -lAlib " | 14277 xe_check_libs=" -lAlib " |
14298 cat > conftest.$ac_ext <<EOF | 14278 cat > conftest.$ac_ext <<EOF |
14299 #line 14300 "configure" | 14279 #line 14280 "configure" |
14300 #include "confdefs.h" | 14280 #include "confdefs.h" |
14301 /* Override any gcc2 internal prototype to avoid an error. */ | 14281 /* Override any gcc2 internal prototype to avoid an error. */ |
14302 /* We use char because int might match the return type of a gcc2 | 14282 /* We use char because int might match the return type of a gcc2 |
14303 builtin and then its argument prototype would still apply. */ | 14283 builtin and then its argument prototype would still apply. */ |
14304 char AOpenAudio(); | 14284 char AOpenAudio(); |
14305 | 14285 |
14306 int main() { | 14286 int main() { |
14307 AOpenAudio() | 14287 AOpenAudio() |
14308 ; return 0; } | 14288 ; return 0; } |
14309 EOF | 14289 EOF |
14310 if { (eval echo configure:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14290 if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14311 rm -rf conftest* | 14291 rm -rf conftest* |
14312 eval "ac_cv_lib_$ac_lib_var=yes" | 14292 eval "ac_cv_lib_$ac_lib_var=yes" |
14313 else | 14293 else |
14314 echo "configure: failed program was:" >&5 | 14294 echo "configure: failed program was:" >&5 |
14315 cat conftest.$ac_ext >&5 | 14295 cat conftest.$ac_ext >&5 |
14353 | 14333 |
14354 if test -z "$sound_found"; then | 14334 if test -z "$sound_found"; then |
14355 for dir in "machine" "sys" "linux"; do | 14335 for dir in "machine" "sys" "linux"; do |
14356 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14336 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14357 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14337 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14358 echo "configure:14359: checking for ${dir}/soundcard.h" >&5 | 14338 echo "configure:14339: checking for ${dir}/soundcard.h" >&5 |
14359 | 14339 |
14360 cat > conftest.$ac_ext <<EOF | 14340 cat > conftest.$ac_ext <<EOF |
14361 #line 14362 "configure" | 14341 #line 14342 "configure" |
14362 #include "confdefs.h" | 14342 #include "confdefs.h" |
14363 #include <${dir}/soundcard.h> | 14343 #include <${dir}/soundcard.h> |
14364 EOF | 14344 EOF |
14365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14366 { (eval echo configure:14367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14346 { (eval echo configure:14347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14368 if test -z "$ac_err"; then | 14348 if test -z "$ac_err"; then |
14369 rm -rf conftest* | 14349 rm -rf conftest* |
14370 eval "ac_cv_header_$ac_safe=yes" | 14350 eval "ac_cv_header_$ac_safe=yes" |
14371 else | 14351 else |
14415 fi | 14395 fi |
14416 | 14396 |
14417 if test "$with_nas_sound" != "no"; then | 14397 if test "$with_nas_sound" != "no"; then |
14418 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14398 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14419 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14399 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14420 echo "configure:14421: checking for audio/audiolib.h" >&5 | 14400 echo "configure:14401: checking for audio/audiolib.h" >&5 |
14421 | 14401 |
14422 cat > conftest.$ac_ext <<EOF | 14402 cat > conftest.$ac_ext <<EOF |
14423 #line 14424 "configure" | 14403 #line 14404 "configure" |
14424 #include "confdefs.h" | 14404 #include "confdefs.h" |
14425 #include <audio/audiolib.h> | 14405 #include <audio/audiolib.h> |
14426 EOF | 14406 EOF |
14427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14428 { (eval echo configure:14429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14408 { (eval echo configure:14409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14430 if test -z "$ac_err"; then | 14410 if test -z "$ac_err"; then |
14431 rm -rf conftest* | 14411 rm -rf conftest* |
14432 eval "ac_cv_header_$ac_safe=yes" | 14412 eval "ac_cv_header_$ac_safe=yes" |
14433 else | 14413 else |
14441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14442 echo "$ac_t""yes" 1>&6 | 14422 echo "$ac_t""yes" 1>&6 |
14443 | 14423 |
14444 | 14424 |
14445 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14425 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14446 echo "configure:14447: checking for AuOpenServer in -laudio" >&5 | 14426 echo "configure:14427: checking for AuOpenServer in -laudio" >&5 |
14447 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14427 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14448 | 14428 |
14449 xe_check_libs=" -laudio " | 14429 xe_check_libs=" -laudio " |
14450 cat > conftest.$ac_ext <<EOF | 14430 cat > conftest.$ac_ext <<EOF |
14451 #line 14452 "configure" | 14431 #line 14432 "configure" |
14452 #include "confdefs.h" | 14432 #include "confdefs.h" |
14453 /* Override any gcc2 internal prototype to avoid an error. */ | 14433 /* Override any gcc2 internal prototype to avoid an error. */ |
14454 /* We use char because int might match the return type of a gcc2 | 14434 /* We use char because int might match the return type of a gcc2 |
14455 builtin and then its argument prototype would still apply. */ | 14435 builtin and then its argument prototype would still apply. */ |
14456 char AuOpenServer(); | 14436 char AuOpenServer(); |
14457 | 14437 |
14458 int main() { | 14438 int main() { |
14459 AuOpenServer() | 14439 AuOpenServer() |
14460 ; return 0; } | 14440 ; return 0; } |
14461 EOF | 14441 EOF |
14462 if { (eval echo configure:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14442 if { (eval echo configure:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14463 rm -rf conftest* | 14443 rm -rf conftest* |
14464 eval "ac_cv_lib_$ac_lib_var=yes" | 14444 eval "ac_cv_lib_$ac_lib_var=yes" |
14465 else | 14445 else |
14466 echo "configure: failed program was:" >&5 | 14446 echo "configure: failed program was:" >&5 |
14467 cat conftest.$ac_ext >&5 | 14447 cat conftest.$ac_ext >&5 |
14496 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14476 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14497 echo " xemacs will be linked with \"nas.o\"" | 14477 echo " xemacs will be linked with \"nas.o\"" |
14498 fi | 14478 fi |
14499 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14479 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14500 cat > conftest.$ac_ext <<EOF | 14480 cat > conftest.$ac_ext <<EOF |
14501 #line 14502 "configure" | 14481 #line 14482 "configure" |
14502 #include "confdefs.h" | 14482 #include "confdefs.h" |
14503 #include <audio/Xtutil.h> | 14483 #include <audio/Xtutil.h> |
14504 EOF | 14484 EOF |
14505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14506 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14486 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14527 | 14507 |
14528 if test "$with_esd_sound" != "no"; then | 14508 if test "$with_esd_sound" != "no"; then |
14529 # Extract the first word of "esd-config", so it can be a program name with args. | 14509 # Extract the first word of "esd-config", so it can be a program name with args. |
14530 set dummy esd-config; ac_word=$2 | 14510 set dummy esd-config; ac_word=$2 |
14531 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14511 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14532 echo "configure:14533: checking for $ac_word" >&5 | 14512 echo "configure:14513: checking for $ac_word" >&5 |
14533 | 14513 |
14534 if test -n "$have_esd_config"; then | 14514 if test -n "$have_esd_config"; then |
14535 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14515 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14536 else | 14516 else |
14537 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14556 if test "$have_esd_config" = "yes"; then | 14536 if test "$have_esd_config" = "yes"; then |
14557 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14537 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14558 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 14538 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
14559 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14539 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14560 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14540 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14561 echo "configure:14562: checking for esd_play_stream" >&5 | 14541 echo "configure:14542: checking for esd_play_stream" >&5 |
14562 | 14542 |
14563 cat > conftest.$ac_ext <<EOF | 14543 cat > conftest.$ac_ext <<EOF |
14564 #line 14565 "configure" | 14544 #line 14545 "configure" |
14565 #include "confdefs.h" | 14545 #include "confdefs.h" |
14566 /* System header to define __stub macros and hopefully few prototypes, | 14546 /* System header to define __stub macros and hopefully few prototypes, |
14567 which can conflict with char esd_play_stream(); below. */ | 14547 which can conflict with char esd_play_stream(); below. */ |
14568 #include <assert.h> | 14548 #include <assert.h> |
14569 /* Override any gcc2 internal prototype to avoid an error. */ | 14549 /* Override any gcc2 internal prototype to avoid an error. */ |
14582 esd_play_stream(); | 14562 esd_play_stream(); |
14583 #endif | 14563 #endif |
14584 | 14564 |
14585 ; return 0; } | 14565 ; return 0; } |
14586 EOF | 14566 EOF |
14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14588 rm -rf conftest* | 14568 rm -rf conftest* |
14589 eval "ac_cv_func_esd_play_stream=yes" | 14569 eval "ac_cv_func_esd_play_stream=yes" |
14590 else | 14570 else |
14591 echo "configure: failed program was:" >&5 | 14571 echo "configure: failed program was:" >&5 |
14592 cat conftest.$ac_ext >&5 | 14572 cat conftest.$ac_ext >&5 |
14633 | 14613 |
14634 test -z "$with_tty" && with_tty=yes | 14614 test -z "$with_tty" && with_tty=yes |
14635 | 14615 |
14636 if test "$with_tty" = "yes" ; then | 14616 if test "$with_tty" = "yes" ; then |
14637 echo "checking for TTY-related features" 1>&6 | 14617 echo "checking for TTY-related features" 1>&6 |
14638 echo "configure:14639: checking for TTY-related features" >&5 | 14618 echo "configure:14619: checking for TTY-related features" >&5 |
14639 { test "$extra_verbose" = "yes" && cat << \EOF | 14619 { test "$extra_verbose" = "yes" && cat << \EOF |
14640 Defining HAVE_TTY | 14620 Defining HAVE_TTY |
14641 EOF | 14621 EOF |
14642 cat >> confdefs.h <<\EOF | 14622 cat >> confdefs.h <<\EOF |
14643 #define HAVE_TTY 1 | 14623 #define HAVE_TTY 1 |
14646 | 14626 |
14647 | 14627 |
14648 if test -z "$with_ncurses"; then | 14628 if test -z "$with_ncurses"; then |
14649 | 14629 |
14650 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14630 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14651 echo "configure:14652: checking for tgetent in -lncurses" >&5 | 14631 echo "configure:14632: checking for tgetent in -lncurses" >&5 |
14652 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14632 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14653 | 14633 |
14654 xe_check_libs=" -lncurses " | 14634 xe_check_libs=" -lncurses " |
14655 cat > conftest.$ac_ext <<EOF | 14635 cat > conftest.$ac_ext <<EOF |
14656 #line 14657 "configure" | 14636 #line 14637 "configure" |
14657 #include "confdefs.h" | 14637 #include "confdefs.h" |
14658 /* Override any gcc2 internal prototype to avoid an error. */ | 14638 /* Override any gcc2 internal prototype to avoid an error. */ |
14659 /* We use char because int might match the return type of a gcc2 | 14639 /* We use char because int might match the return type of a gcc2 |
14660 builtin and then its argument prototype would still apply. */ | 14640 builtin and then its argument prototype would still apply. */ |
14661 char tgetent(); | 14641 char tgetent(); |
14662 | 14642 |
14663 int main() { | 14643 int main() { |
14664 tgetent() | 14644 tgetent() |
14665 ; return 0; } | 14645 ; return 0; } |
14666 EOF | 14646 EOF |
14667 if { (eval echo configure:14668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14668 rm -rf conftest* | 14648 rm -rf conftest* |
14669 eval "ac_cv_lib_$ac_lib_var=yes" | 14649 eval "ac_cv_lib_$ac_lib_var=yes" |
14670 else | 14650 else |
14671 echo "configure: failed program was:" >&5 | 14651 echo "configure: failed program was:" >&5 |
14672 cat conftest.$ac_ext >&5 | 14652 cat conftest.$ac_ext >&5 |
14695 EOF | 14675 EOF |
14696 } | 14676 } |
14697 | 14677 |
14698 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14678 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14699 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14679 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14700 echo "configure:14701: checking for ncurses/curses.h" >&5 | 14680 echo "configure:14681: checking for ncurses/curses.h" >&5 |
14701 | 14681 |
14702 cat > conftest.$ac_ext <<EOF | 14682 cat > conftest.$ac_ext <<EOF |
14703 #line 14704 "configure" | 14683 #line 14684 "configure" |
14704 #include "confdefs.h" | 14684 #include "confdefs.h" |
14705 #include <ncurses/curses.h> | 14685 #include <ncurses/curses.h> |
14706 EOF | 14686 EOF |
14707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14708 { (eval echo configure:14709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14688 { (eval echo configure:14689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14710 if test -z "$ac_err"; then | 14690 if test -z "$ac_err"; then |
14711 rm -rf conftest* | 14691 rm -rf conftest* |
14712 eval "ac_cv_header_$ac_safe=yes" | 14692 eval "ac_cv_header_$ac_safe=yes" |
14713 else | 14693 else |
14725 echo "$ac_t""no" 1>&6 | 14705 echo "$ac_t""no" 1>&6 |
14726 fi | 14706 fi |
14727 | 14707 |
14728 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14708 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14729 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14709 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14730 echo "configure:14731: checking for ncurses/term.h" >&5 | 14710 echo "configure:14711: checking for ncurses/term.h" >&5 |
14731 | 14711 |
14732 cat > conftest.$ac_ext <<EOF | 14712 cat > conftest.$ac_ext <<EOF |
14733 #line 14734 "configure" | 14713 #line 14714 "configure" |
14734 #include "confdefs.h" | 14714 #include "confdefs.h" |
14735 #include <ncurses/term.h> | 14715 #include <ncurses/term.h> |
14736 EOF | 14716 EOF |
14737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14738 { (eval echo configure:14739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14718 { (eval echo configure:14719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14740 if test -z "$ac_err"; then | 14720 if test -z "$ac_err"; then |
14741 rm -rf conftest* | 14721 rm -rf conftest* |
14742 eval "ac_cv_header_$ac_safe=yes" | 14722 eval "ac_cv_header_$ac_safe=yes" |
14743 else | 14723 else |
14763 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14743 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14764 save_c_switch_site="$c_switch_site" | 14744 save_c_switch_site="$c_switch_site" |
14765 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14745 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14766 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14746 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14767 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14747 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14768 echo "configure:14769: checking for ncurses/curses.h" >&5 | 14748 echo "configure:14749: checking for ncurses/curses.h" >&5 |
14769 | 14749 |
14770 cat > conftest.$ac_ext <<EOF | 14750 cat > conftest.$ac_ext <<EOF |
14771 #line 14772 "configure" | 14751 #line 14752 "configure" |
14772 #include "confdefs.h" | 14752 #include "confdefs.h" |
14773 #include <ncurses/curses.h> | 14753 #include <ncurses/curses.h> |
14774 EOF | 14754 EOF |
14775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14776 { (eval echo configure:14777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14756 { (eval echo configure:14757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14778 if test -z "$ac_err"; then | 14758 if test -z "$ac_err"; then |
14779 rm -rf conftest* | 14759 rm -rf conftest* |
14780 eval "ac_cv_header_$ac_safe=yes" | 14760 eval "ac_cv_header_$ac_safe=yes" |
14781 else | 14761 else |
14806 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14786 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14807 else | 14787 else |
14808 for lib in curses termlib termcap; do | 14788 for lib in curses termlib termcap; do |
14809 | 14789 |
14810 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14790 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14811 echo "configure:14812: checking for tgetent in -l$lib" >&5 | 14791 echo "configure:14792: checking for tgetent in -l$lib" >&5 |
14812 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14792 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14813 | 14793 |
14814 xe_check_libs=" -l$lib " | 14794 xe_check_libs=" -l$lib " |
14815 cat > conftest.$ac_ext <<EOF | 14795 cat > conftest.$ac_ext <<EOF |
14816 #line 14817 "configure" | 14796 #line 14797 "configure" |
14817 #include "confdefs.h" | 14797 #include "confdefs.h" |
14818 /* Override any gcc2 internal prototype to avoid an error. */ | 14798 /* Override any gcc2 internal prototype to avoid an error. */ |
14819 /* We use char because int might match the return type of a gcc2 | 14799 /* We use char because int might match the return type of a gcc2 |
14820 builtin and then its argument prototype would still apply. */ | 14800 builtin and then its argument prototype would still apply. */ |
14821 char tgetent(); | 14801 char tgetent(); |
14822 | 14802 |
14823 int main() { | 14803 int main() { |
14824 tgetent() | 14804 tgetent() |
14825 ; return 0; } | 14805 ; return 0; } |
14826 EOF | 14806 EOF |
14827 if { (eval echo configure:14828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14807 if { (eval echo configure:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14828 rm -rf conftest* | 14808 rm -rf conftest* |
14829 eval "ac_cv_lib_$ac_lib_var=yes" | 14809 eval "ac_cv_lib_$ac_lib_var=yes" |
14830 else | 14810 else |
14831 echo "configure: failed program was:" >&5 | 14811 echo "configure: failed program was:" >&5 |
14832 cat conftest.$ac_ext >&5 | 14812 cat conftest.$ac_ext >&5 |
14853 if test -n "$libs_termcap"; then | 14833 if test -n "$libs_termcap"; then |
14854 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14834 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14855 else | 14835 else |
14856 | 14836 |
14857 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14837 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14858 echo "configure:14859: checking for tgetent in -lcurses" >&5 | 14838 echo "configure:14839: checking for tgetent in -lcurses" >&5 |
14859 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14839 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14860 | 14840 |
14861 xe_check_libs=" -lcurses " | 14841 xe_check_libs=" -lcurses " |
14862 cat > conftest.$ac_ext <<EOF | 14842 cat > conftest.$ac_ext <<EOF |
14863 #line 14864 "configure" | 14843 #line 14844 "configure" |
14864 #include "confdefs.h" | 14844 #include "confdefs.h" |
14865 /* Override any gcc2 internal prototype to avoid an error. */ | 14845 /* Override any gcc2 internal prototype to avoid an error. */ |
14866 /* We use char because int might match the return type of a gcc2 | 14846 /* We use char because int might match the return type of a gcc2 |
14867 builtin and then its argument prototype would still apply. */ | 14847 builtin and then its argument prototype would still apply. */ |
14868 char tgetent(); | 14848 char tgetent(); |
14869 | 14849 |
14870 int main() { | 14850 int main() { |
14871 tgetent() | 14851 tgetent() |
14872 ; return 0; } | 14852 ; return 0; } |
14873 EOF | 14853 EOF |
14874 if { (eval echo configure:14875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14854 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14875 rm -rf conftest* | 14855 rm -rf conftest* |
14876 eval "ac_cv_lib_$ac_lib_var=yes" | 14856 eval "ac_cv_lib_$ac_lib_var=yes" |
14877 else | 14857 else |
14878 echo "configure: failed program was:" >&5 | 14858 echo "configure: failed program was:" >&5 |
14879 cat conftest.$ac_ext >&5 | 14859 cat conftest.$ac_ext >&5 |
14887 echo "$ac_t""yes" 1>&6 | 14867 echo "$ac_t""yes" 1>&6 |
14888 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14868 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14889 else | 14869 else |
14890 echo "$ac_t""no" 1>&6 | 14870 echo "$ac_t""no" 1>&6 |
14891 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14871 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14892 echo "configure:14893: checking for tgetent in -ltermcap" >&5 | 14872 echo "configure:14873: checking for tgetent in -ltermcap" >&5 |
14893 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14873 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14894 | 14874 |
14895 xe_check_libs=" -ltermcap " | 14875 xe_check_libs=" -ltermcap " |
14896 cat > conftest.$ac_ext <<EOF | 14876 cat > conftest.$ac_ext <<EOF |
14897 #line 14898 "configure" | 14877 #line 14878 "configure" |
14898 #include "confdefs.h" | 14878 #include "confdefs.h" |
14899 /* Override any gcc2 internal prototype to avoid an error. */ | 14879 /* Override any gcc2 internal prototype to avoid an error. */ |
14900 /* We use char because int might match the return type of a gcc2 | 14880 /* We use char because int might match the return type of a gcc2 |
14901 builtin and then its argument prototype would still apply. */ | 14881 builtin and then its argument prototype would still apply. */ |
14902 char tgetent(); | 14882 char tgetent(); |
14903 | 14883 |
14904 int main() { | 14884 int main() { |
14905 tgetent() | 14885 tgetent() |
14906 ; return 0; } | 14886 ; return 0; } |
14907 EOF | 14887 EOF |
14908 if { (eval echo configure:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14888 if { (eval echo configure:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14909 rm -rf conftest* | 14889 rm -rf conftest* |
14910 eval "ac_cv_lib_$ac_lib_var=yes" | 14890 eval "ac_cv_lib_$ac_lib_var=yes" |
14911 else | 14891 else |
14912 echo "configure: failed program was:" >&5 | 14892 echo "configure: failed program was:" >&5 |
14913 cat conftest.$ac_ext >&5 | 14893 cat conftest.$ac_ext >&5 |
14951 } | 14931 } |
14952 | 14932 |
14953 | 14933 |
14954 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14934 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14955 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14935 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14956 echo "configure:14957: checking for gpm.h" >&5 | 14936 echo "configure:14937: checking for gpm.h" >&5 |
14957 | 14937 |
14958 cat > conftest.$ac_ext <<EOF | 14938 cat > conftest.$ac_ext <<EOF |
14959 #line 14960 "configure" | 14939 #line 14940 "configure" |
14960 #include "confdefs.h" | 14940 #include "confdefs.h" |
14961 #include <gpm.h> | 14941 #include <gpm.h> |
14962 EOF | 14942 EOF |
14963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14964 { (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14966 if test -z "$ac_err"; then | 14946 if test -z "$ac_err"; then |
14967 rm -rf conftest* | 14947 rm -rf conftest* |
14968 eval "ac_cv_header_$ac_safe=yes" | 14948 eval "ac_cv_header_$ac_safe=yes" |
14969 else | 14949 else |
14982 with_gpm=no | 14962 with_gpm=no |
14983 fi | 14963 fi |
14984 } | 14964 } |
14985 test -z "$with_gpm" && { | 14965 test -z "$with_gpm" && { |
14986 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14966 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14987 echo "configure:14988: checking for Gpm_Open in -lgpm" >&5 | 14967 echo "configure:14968: checking for Gpm_Open in -lgpm" >&5 |
14988 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14968 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14989 | 14969 |
14990 xe_check_libs=" -lgpm " | 14970 xe_check_libs=" -lgpm " |
14991 cat > conftest.$ac_ext <<EOF | 14971 cat > conftest.$ac_ext <<EOF |
14992 #line 14993 "configure" | 14972 #line 14973 "configure" |
14993 #include "confdefs.h" | 14973 #include "confdefs.h" |
14994 /* Override any gcc2 internal prototype to avoid an error. */ | 14974 /* Override any gcc2 internal prototype to avoid an error. */ |
14995 /* We use char because int might match the return type of a gcc2 | 14975 /* We use char because int might match the return type of a gcc2 |
14996 builtin and then its argument prototype would still apply. */ | 14976 builtin and then its argument prototype would still apply. */ |
14997 char Gpm_Open(); | 14977 char Gpm_Open(); |
14998 | 14978 |
14999 int main() { | 14979 int main() { |
15000 Gpm_Open() | 14980 Gpm_Open() |
15001 ; return 0; } | 14981 ; return 0; } |
15002 EOF | 14982 EOF |
15003 if { (eval echo configure:15004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14983 if { (eval echo configure:14984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15004 rm -rf conftest* | 14984 rm -rf conftest* |
15005 eval "ac_cv_lib_$ac_lib_var=yes" | 14985 eval "ac_cv_lib_$ac_lib_var=yes" |
15006 else | 14986 else |
15007 echo "configure: failed program was:" >&5 | 14987 echo "configure: failed program was:" >&5 |
15008 cat conftest.$ac_ext >&5 | 14988 cat conftest.$ac_ext >&5 |
15041 done | 15021 done |
15042 fi | 15022 fi |
15043 | 15023 |
15044 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15024 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15045 != "no no no" && echo "checking for database support" 1>&6 | 15025 != "no no no" && echo "checking for database support" 1>&6 |
15046 echo "configure:15047: checking for database support" >&5 | 15026 echo "configure:15027: checking for database support" >&5 |
15047 | 15027 |
15048 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15028 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15049 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15029 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15050 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15030 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15051 echo "configure:15052: checking for ndbm.h" >&5 | 15031 echo "configure:15032: checking for ndbm.h" >&5 |
15052 | 15032 |
15053 cat > conftest.$ac_ext <<EOF | 15033 cat > conftest.$ac_ext <<EOF |
15054 #line 15055 "configure" | 15034 #line 15035 "configure" |
15055 #include "confdefs.h" | 15035 #include "confdefs.h" |
15056 #include <ndbm.h> | 15036 #include <ndbm.h> |
15057 EOF | 15037 EOF |
15058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15059 { (eval echo configure:15060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15039 { (eval echo configure:15040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15061 if test -z "$ac_err"; then | 15041 if test -z "$ac_err"; then |
15062 rm -rf conftest* | 15042 rm -rf conftest* |
15063 eval "ac_cv_header_$ac_safe=yes" | 15043 eval "ac_cv_header_$ac_safe=yes" |
15064 else | 15044 else |
15084 fi | 15064 fi |
15085 | 15065 |
15086 if test "$with_database_gdbm" != "no"; then | 15066 if test "$with_database_gdbm" != "no"; then |
15087 | 15067 |
15088 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15068 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15089 echo "configure:15090: checking for dbm_open in -lgdbm" >&5 | 15069 echo "configure:15070: checking for dbm_open in -lgdbm" >&5 |
15090 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15070 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15091 | 15071 |
15092 xe_check_libs=" -lgdbm " | 15072 xe_check_libs=" -lgdbm " |
15093 cat > conftest.$ac_ext <<EOF | 15073 cat > conftest.$ac_ext <<EOF |
15094 #line 15095 "configure" | 15074 #line 15075 "configure" |
15095 #include "confdefs.h" | 15075 #include "confdefs.h" |
15096 /* Override any gcc2 internal prototype to avoid an error. */ | 15076 /* Override any gcc2 internal prototype to avoid an error. */ |
15097 /* We use char because int might match the return type of a gcc2 | 15077 /* We use char because int might match the return type of a gcc2 |
15098 builtin and then its argument prototype would still apply. */ | 15078 builtin and then its argument prototype would still apply. */ |
15099 char dbm_open(); | 15079 char dbm_open(); |
15100 | 15080 |
15101 int main() { | 15081 int main() { |
15102 dbm_open() | 15082 dbm_open() |
15103 ; return 0; } | 15083 ; return 0; } |
15104 EOF | 15084 EOF |
15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15106 rm -rf conftest* | 15086 rm -rf conftest* |
15107 eval "ac_cv_lib_$ac_lib_var=yes" | 15087 eval "ac_cv_lib_$ac_lib_var=yes" |
15108 else | 15088 else |
15109 echo "configure: failed program was:" >&5 | 15089 echo "configure: failed program was:" >&5 |
15110 cat conftest.$ac_ext >&5 | 15090 cat conftest.$ac_ext >&5 |
15128 | 15108 |
15129 fi | 15109 fi |
15130 | 15110 |
15131 if test "$with_database_dbm" != "no"; then | 15111 if test "$with_database_dbm" != "no"; then |
15132 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15112 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15133 echo "configure:15134: checking for dbm_open" >&5 | 15113 echo "configure:15114: checking for dbm_open" >&5 |
15134 | 15114 |
15135 cat > conftest.$ac_ext <<EOF | 15115 cat > conftest.$ac_ext <<EOF |
15136 #line 15137 "configure" | 15116 #line 15117 "configure" |
15137 #include "confdefs.h" | 15117 #include "confdefs.h" |
15138 /* System header to define __stub macros and hopefully few prototypes, | 15118 /* System header to define __stub macros and hopefully few prototypes, |
15139 which can conflict with char dbm_open(); below. */ | 15119 which can conflict with char dbm_open(); below. */ |
15140 #include <assert.h> | 15120 #include <assert.h> |
15141 /* Override any gcc2 internal prototype to avoid an error. */ | 15121 /* Override any gcc2 internal prototype to avoid an error. */ |
15154 dbm_open(); | 15134 dbm_open(); |
15155 #endif | 15135 #endif |
15156 | 15136 |
15157 ; return 0; } | 15137 ; return 0; } |
15158 EOF | 15138 EOF |
15159 if { (eval echo configure:15160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15160 rm -rf conftest* | 15140 rm -rf conftest* |
15161 eval "ac_cv_func_dbm_open=yes" | 15141 eval "ac_cv_func_dbm_open=yes" |
15162 else | 15142 else |
15163 echo "configure: failed program was:" >&5 | 15143 echo "configure: failed program was:" >&5 |
15164 cat conftest.$ac_ext >&5 | 15144 cat conftest.$ac_ext >&5 |
15173 else | 15153 else |
15174 echo "$ac_t""no" 1>&6 | 15154 echo "$ac_t""no" 1>&6 |
15175 | 15155 |
15176 | 15156 |
15177 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15157 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15178 echo "configure:15179: checking for dbm_open in -ldbm" >&5 | 15158 echo "configure:15159: checking for dbm_open in -ldbm" >&5 |
15179 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15159 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15180 | 15160 |
15181 xe_check_libs=" -ldbm " | 15161 xe_check_libs=" -ldbm " |
15182 cat > conftest.$ac_ext <<EOF | 15162 cat > conftest.$ac_ext <<EOF |
15183 #line 15184 "configure" | 15163 #line 15164 "configure" |
15184 #include "confdefs.h" | 15164 #include "confdefs.h" |
15185 /* Override any gcc2 internal prototype to avoid an error. */ | 15165 /* Override any gcc2 internal prototype to avoid an error. */ |
15186 /* We use char because int might match the return type of a gcc2 | 15166 /* We use char because int might match the return type of a gcc2 |
15187 builtin and then its argument prototype would still apply. */ | 15167 builtin and then its argument prototype would still apply. */ |
15188 char dbm_open(); | 15168 char dbm_open(); |
15189 | 15169 |
15190 int main() { | 15170 int main() { |
15191 dbm_open() | 15171 dbm_open() |
15192 ; return 0; } | 15172 ; return 0; } |
15193 EOF | 15173 EOF |
15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15174 if { (eval echo configure:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15195 rm -rf conftest* | 15175 rm -rf conftest* |
15196 eval "ac_cv_lib_$ac_lib_var=yes" | 15176 eval "ac_cv_lib_$ac_lib_var=yes" |
15197 else | 15177 else |
15198 echo "configure: failed program was:" >&5 | 15178 echo "configure: failed program was:" >&5 |
15199 cat conftest.$ac_ext >&5 | 15179 cat conftest.$ac_ext >&5 |
15230 } | 15210 } |
15231 | 15211 |
15232 | 15212 |
15233 if test "$with_database_berkdb" != "no"; then | 15213 if test "$with_database_berkdb" != "no"; then |
15234 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15214 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15235 echo "configure:15236: checking for Berkeley db.h" >&5 | 15215 echo "configure:15216: checking for Berkeley db.h" >&5 |
15236 for header in "db/db.h" "db.h"; do | 15216 for header in "db/db.h" "db.h"; do |
15237 cat > conftest.$ac_ext <<EOF | 15217 cat > conftest.$ac_ext <<EOF |
15238 #line 15239 "configure" | 15218 #line 15219 "configure" |
15239 #include "confdefs.h" | 15219 #include "confdefs.h" |
15240 | 15220 |
15241 #include <stdlib.h> | 15221 #include <stdlib.h> |
15242 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15222 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15243 #ifdef HAVE_INTTYPES_H | 15223 #ifdef HAVE_INTTYPES_H |
15255 | 15235 |
15256 int main() { | 15236 int main() { |
15257 | 15237 |
15258 ; return 0; } | 15238 ; return 0; } |
15259 EOF | 15239 EOF |
15260 if { (eval echo configure:15261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15240 if { (eval echo configure:15241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15261 rm -rf conftest* | 15241 rm -rf conftest* |
15262 db_h_file="$header"; break | 15242 db_h_file="$header"; break |
15263 else | 15243 else |
15264 echo "configure: failed program was:" >&5 | 15244 echo "configure: failed program was:" >&5 |
15265 cat conftest.$ac_ext >&5 | 15245 cat conftest.$ac_ext >&5 |
15271 else echo "$ac_t""$db_h_file" 1>&6 | 15251 else echo "$ac_t""$db_h_file" 1>&6 |
15272 fi | 15252 fi |
15273 | 15253 |
15274 if test "$with_database_berkdb" != "no"; then | 15254 if test "$with_database_berkdb" != "no"; then |
15275 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15255 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15276 echo "configure:15277: checking for Berkeley DB version" >&5 | 15256 echo "configure:15257: checking for Berkeley DB version" >&5 |
15277 cat > conftest.$ac_ext <<EOF | 15257 cat > conftest.$ac_ext <<EOF |
15278 #line 15279 "configure" | 15258 #line 15259 "configure" |
15279 #include "confdefs.h" | 15259 #include "confdefs.h" |
15280 #include <$db_h_file> | 15260 #include <$db_h_file> |
15281 #if DB_VERSION_MAJOR > 1 | 15261 #if DB_VERSION_MAJOR > 1 |
15282 yes | 15262 yes |
15283 #endif | 15263 #endif |
15285 EOF | 15265 EOF |
15286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15287 egrep "yes" >/dev/null 2>&1; then | 15267 egrep "yes" >/dev/null 2>&1; then |
15288 rm -rf conftest* | 15268 rm -rf conftest* |
15289 cat > conftest.$ac_ext <<EOF | 15269 cat > conftest.$ac_ext <<EOF |
15290 #line 15291 "configure" | 15270 #line 15271 "configure" |
15291 #include "confdefs.h" | 15271 #include "confdefs.h" |
15292 #include <$db_h_file> | 15272 #include <$db_h_file> |
15293 #if DB_VERSION_MAJOR > 2 | 15273 #if DB_VERSION_MAJOR > 2 |
15294 yes | 15274 yes |
15295 #endif | 15275 #endif |
15297 EOF | 15277 EOF |
15298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15299 egrep "yes" >/dev/null 2>&1; then | 15279 egrep "yes" >/dev/null 2>&1; then |
15300 rm -rf conftest* | 15280 rm -rf conftest* |
15301 cat > conftest.$ac_ext <<EOF | 15281 cat > conftest.$ac_ext <<EOF |
15302 #line 15303 "configure" | 15282 #line 15283 "configure" |
15303 #include "confdefs.h" | 15283 #include "confdefs.h" |
15304 #include <$db_h_file> | 15284 #include <$db_h_file> |
15305 #if DB_VERSION_MAJOR > 3 | 15285 #if DB_VERSION_MAJOR > 3 |
15306 yes | 15286 yes |
15307 #endif | 15287 #endif |
15331 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15311 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15332 fi | 15312 fi |
15333 rm -f conftest* | 15313 rm -f conftest* |
15334 | 15314 |
15335 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15315 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15336 echo "configure:15337: checking for $dbfunc" >&5 | 15316 echo "configure:15317: checking for $dbfunc" >&5 |
15337 | 15317 |
15338 cat > conftest.$ac_ext <<EOF | 15318 cat > conftest.$ac_ext <<EOF |
15339 #line 15340 "configure" | 15319 #line 15320 "configure" |
15340 #include "confdefs.h" | 15320 #include "confdefs.h" |
15341 /* System header to define __stub macros and hopefully few prototypes, | 15321 /* System header to define __stub macros and hopefully few prototypes, |
15342 which can conflict with char $dbfunc(); below. */ | 15322 which can conflict with char $dbfunc(); below. */ |
15343 #include <assert.h> | 15323 #include <assert.h> |
15344 /* Override any gcc2 internal prototype to avoid an error. */ | 15324 /* Override any gcc2 internal prototype to avoid an error. */ |
15357 $dbfunc(); | 15337 $dbfunc(); |
15358 #endif | 15338 #endif |
15359 | 15339 |
15360 ; return 0; } | 15340 ; return 0; } |
15361 EOF | 15341 EOF |
15362 if { (eval echo configure:15363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15363 rm -rf conftest* | 15343 rm -rf conftest* |
15364 eval "ac_cv_func_$dbfunc=yes" | 15344 eval "ac_cv_func_$dbfunc=yes" |
15365 else | 15345 else |
15366 echo "configure: failed program was:" >&5 | 15346 echo "configure: failed program was:" >&5 |
15367 cat conftest.$ac_ext >&5 | 15347 cat conftest.$ac_ext >&5 |
15376 else | 15356 else |
15377 echo "$ac_t""no" 1>&6 | 15357 echo "$ac_t""no" 1>&6 |
15378 | 15358 |
15379 | 15359 |
15380 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15360 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15381 echo "configure:15382: checking for $dbfunc in -ldb" >&5 | 15361 echo "configure:15362: checking for $dbfunc in -ldb" >&5 |
15382 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15362 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15383 | 15363 |
15384 xe_check_libs=" -ldb " | 15364 xe_check_libs=" -ldb " |
15385 cat > conftest.$ac_ext <<EOF | 15365 cat > conftest.$ac_ext <<EOF |
15386 #line 15387 "configure" | 15366 #line 15367 "configure" |
15387 #include "confdefs.h" | 15367 #include "confdefs.h" |
15388 /* Override any gcc2 internal prototype to avoid an error. */ | 15368 /* Override any gcc2 internal prototype to avoid an error. */ |
15389 /* We use char because int might match the return type of a gcc2 | 15369 /* We use char because int might match the return type of a gcc2 |
15390 builtin and then its argument prototype would still apply. */ | 15370 builtin and then its argument prototype would still apply. */ |
15391 char $dbfunc(); | 15371 char $dbfunc(); |
15392 | 15372 |
15393 int main() { | 15373 int main() { |
15394 $dbfunc() | 15374 $dbfunc() |
15395 ; return 0; } | 15375 ; return 0; } |
15396 EOF | 15376 EOF |
15397 if { (eval echo configure:15398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15377 if { (eval echo configure:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15398 rm -rf conftest* | 15378 rm -rf conftest* |
15399 eval "ac_cv_lib_$ac_lib_var=yes" | 15379 eval "ac_cv_lib_$ac_lib_var=yes" |
15400 else | 15380 else |
15401 echo "configure: failed program was:" >&5 | 15381 echo "configure: failed program was:" >&5 |
15402 cat conftest.$ac_ext >&5 | 15382 cat conftest.$ac_ext >&5 |
15426 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15406 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15427 rm -f $tempcname | 15407 rm -f $tempcname |
15428 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15408 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15429 | 15409 |
15430 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15410 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15431 echo "configure:15432: checking for $dbfunc in -ldb" >&5 | 15411 echo "configure:15412: checking for $dbfunc in -ldb" >&5 |
15432 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15412 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15433 | 15413 |
15434 xe_check_libs=" -ldb " | 15414 xe_check_libs=" -ldb " |
15435 cat > conftest.$ac_ext <<EOF | 15415 cat > conftest.$ac_ext <<EOF |
15436 #line 15437 "configure" | 15416 #line 15417 "configure" |
15437 #include "confdefs.h" | 15417 #include "confdefs.h" |
15438 /* Override any gcc2 internal prototype to avoid an error. */ | 15418 /* Override any gcc2 internal prototype to avoid an error. */ |
15439 /* We use char because int might match the return type of a gcc2 | 15419 /* We use char because int might match the return type of a gcc2 |
15440 builtin and then its argument prototype would still apply. */ | 15420 builtin and then its argument prototype would still apply. */ |
15441 char $dbfunc(); | 15421 char $dbfunc(); |
15442 | 15422 |
15443 int main() { | 15423 int main() { |
15444 $dbfunc() | 15424 $dbfunc() |
15445 ; return 0; } | 15425 ; return 0; } |
15446 EOF | 15426 EOF |
15447 if { (eval echo configure:15448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15448 rm -rf conftest* | 15428 rm -rf conftest* |
15449 eval "ac_cv_lib_$ac_lib_var=yes" | 15429 eval "ac_cv_lib_$ac_lib_var=yes" |
15450 else | 15430 else |
15451 echo "configure: failed program was:" >&5 | 15431 echo "configure: failed program was:" >&5 |
15452 cat conftest.$ac_ext >&5 | 15432 cat conftest.$ac_ext >&5 |
15501 fi | 15481 fi |
15502 | 15482 |
15503 if test "$with_socks" = "yes"; then | 15483 if test "$with_socks" = "yes"; then |
15504 | 15484 |
15505 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15485 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15506 echo "configure:15507: checking for SOCKSinit in -lsocks" >&5 | 15486 echo "configure:15487: checking for SOCKSinit in -lsocks" >&5 |
15507 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15487 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15508 | 15488 |
15509 xe_check_libs=" -lsocks " | 15489 xe_check_libs=" -lsocks " |
15510 cat > conftest.$ac_ext <<EOF | 15490 cat > conftest.$ac_ext <<EOF |
15511 #line 15512 "configure" | 15491 #line 15492 "configure" |
15512 #include "confdefs.h" | 15492 #include "confdefs.h" |
15513 /* Override any gcc2 internal prototype to avoid an error. */ | 15493 /* Override any gcc2 internal prototype to avoid an error. */ |
15514 /* We use char because int might match the return type of a gcc2 | 15494 /* We use char because int might match the return type of a gcc2 |
15515 builtin and then its argument prototype would still apply. */ | 15495 builtin and then its argument prototype would still apply. */ |
15516 char SOCKSinit(); | 15496 char SOCKSinit(); |
15517 | 15497 |
15518 int main() { | 15498 int main() { |
15519 SOCKSinit() | 15499 SOCKSinit() |
15520 ; return 0; } | 15500 ; return 0; } |
15521 EOF | 15501 EOF |
15522 if { (eval echo configure:15523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15502 if { (eval echo configure:15503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15523 rm -rf conftest* | 15503 rm -rf conftest* |
15524 eval "ac_cv_lib_$ac_lib_var=yes" | 15504 eval "ac_cv_lib_$ac_lib_var=yes" |
15525 else | 15505 else |
15526 echo "configure: failed program was:" >&5 | 15506 echo "configure: failed program was:" >&5 |
15527 cat conftest.$ac_ext >&5 | 15507 cat conftest.$ac_ext >&5 |
15573 fi | 15553 fi |
15574 | 15554 |
15575 if test "$use_number_lib" = "gmp"; then | 15555 if test "$use_number_lib" = "gmp"; then |
15576 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15556 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15577 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15557 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15578 echo "configure:15579: checking for gmp.h" >&5 | 15558 echo "configure:15559: checking for gmp.h" >&5 |
15579 | 15559 |
15580 cat > conftest.$ac_ext <<EOF | 15560 cat > conftest.$ac_ext <<EOF |
15581 #line 15582 "configure" | 15561 #line 15562 "configure" |
15582 #include "confdefs.h" | 15562 #include "confdefs.h" |
15583 #include <gmp.h> | 15563 #include <gmp.h> |
15584 EOF | 15564 EOF |
15585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15586 { (eval echo configure:15587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15566 { (eval echo configure:15567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15588 if test -z "$ac_err"; then | 15568 if test -z "$ac_err"; then |
15589 rm -rf conftest* | 15569 rm -rf conftest* |
15590 eval "ac_cv_header_$ac_safe=yes" | 15570 eval "ac_cv_header_$ac_safe=yes" |
15591 else | 15571 else |
15599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15600 echo "$ac_t""yes" 1>&6 | 15580 echo "$ac_t""yes" 1>&6 |
15601 | 15581 |
15602 | 15582 |
15603 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15583 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15604 echo "configure:15605: checking for __gmpz_init in -lgmp" >&5 | 15584 echo "configure:15585: checking for __gmpz_init in -lgmp" >&5 |
15605 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15585 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15606 | 15586 |
15607 xe_check_libs=" -lgmp " | 15587 xe_check_libs=" -lgmp " |
15608 cat > conftest.$ac_ext <<EOF | 15588 cat > conftest.$ac_ext <<EOF |
15609 #line 15610 "configure" | 15589 #line 15590 "configure" |
15610 #include "confdefs.h" | 15590 #include "confdefs.h" |
15611 /* Override any gcc2 internal prototype to avoid an error. */ | 15591 /* Override any gcc2 internal prototype to avoid an error. */ |
15612 /* We use char because int might match the return type of a gcc2 | 15592 /* We use char because int might match the return type of a gcc2 |
15613 builtin and then its argument prototype would still apply. */ | 15593 builtin and then its argument prototype would still apply. */ |
15614 char __gmpz_init(); | 15594 char __gmpz_init(); |
15615 | 15595 |
15616 int main() { | 15596 int main() { |
15617 __gmpz_init() | 15597 __gmpz_init() |
15618 ; return 0; } | 15598 ; return 0; } |
15619 EOF | 15599 EOF |
15620 if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15600 if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15621 rm -rf conftest* | 15601 rm -rf conftest* |
15622 eval "ac_cv_lib_$ac_lib_var=yes" | 15602 eval "ac_cv_lib_$ac_lib_var=yes" |
15623 else | 15603 else |
15624 echo "configure: failed program was:" >&5 | 15604 echo "configure: failed program was:" >&5 |
15625 cat conftest.$ac_ext >&5 | 15605 cat conftest.$ac_ext >&5 |
15664 fi | 15644 fi |
15665 elif test "$use_number_lib" = "mp"; then | 15645 elif test "$use_number_lib" = "mp"; then |
15666 for library in "" "-lcrypto"; do | 15646 for library in "" "-lcrypto"; do |
15667 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15647 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15668 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15648 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15669 echo "configure:15670: checking for mp.h" >&5 | 15649 echo "configure:15650: checking for mp.h" >&5 |
15670 | 15650 |
15671 cat > conftest.$ac_ext <<EOF | 15651 cat > conftest.$ac_ext <<EOF |
15672 #line 15673 "configure" | 15652 #line 15653 "configure" |
15673 #include "confdefs.h" | 15653 #include "confdefs.h" |
15674 #include <mp.h> | 15654 #include <mp.h> |
15675 EOF | 15655 EOF |
15676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15677 { (eval echo configure:15678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15657 { (eval echo configure:15658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15679 if test -z "$ac_err"; then | 15659 if test -z "$ac_err"; then |
15680 rm -rf conftest* | 15660 rm -rf conftest* |
15681 eval "ac_cv_header_$ac_safe=yes" | 15661 eval "ac_cv_header_$ac_safe=yes" |
15682 else | 15662 else |
15692 | 15672 |
15693 | 15673 |
15694 xe_msg_checking="for mp_mfree in -lmp" | 15674 xe_msg_checking="for mp_mfree in -lmp" |
15695 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15675 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15676 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15697 echo "configure:15698: checking "$xe_msg_checking"" >&5 | 15677 echo "configure:15678: checking "$xe_msg_checking"" >&5 |
15698 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15678 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15699 | 15679 |
15700 xe_check_libs=" -lmp $library" | 15680 xe_check_libs=" -lmp $library" |
15701 cat > conftest.$ac_ext <<EOF | 15681 cat > conftest.$ac_ext <<EOF |
15702 #line 15703 "configure" | 15682 #line 15683 "configure" |
15703 #include "confdefs.h" | 15683 #include "confdefs.h" |
15704 /* Override any gcc2 internal prototype to avoid an error. */ | 15684 /* Override any gcc2 internal prototype to avoid an error. */ |
15705 /* 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 |
15706 builtin and then its argument prototype would still apply. */ | 15686 builtin and then its argument prototype would still apply. */ |
15707 char mp_mfree(); | 15687 char mp_mfree(); |
15708 | 15688 |
15709 int main() { | 15689 int main() { |
15710 mp_mfree() | 15690 mp_mfree() |
15711 ; return 0; } | 15691 ; return 0; } |
15712 EOF | 15692 EOF |
15713 if { (eval echo configure:15714: \"$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 |
15714 rm -rf conftest* | 15694 rm -rf conftest* |
15715 eval "ac_cv_lib_$ac_lib_var=yes" | 15695 eval "ac_cv_lib_$ac_lib_var=yes" |
15716 else | 15696 else |
15717 echo "configure: failed program was:" >&5 | 15697 echo "configure: failed program was:" >&5 |
15718 cat conftest.$ac_ext >&5 | 15698 cat conftest.$ac_ext >&5 |
15729 echo "$ac_t""no" 1>&6 | 15709 echo "$ac_t""no" 1>&6 |
15730 | 15710 |
15731 xe_msg_checking="for mfree in -lmp" | 15711 xe_msg_checking="for mfree in -lmp" |
15732 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15712 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15733 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15734 echo "configure:15735: checking "$xe_msg_checking"" >&5 | 15714 echo "configure:15715: checking "$xe_msg_checking"" >&5 |
15735 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15715 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15736 | 15716 |
15737 xe_check_libs=" -lmp $library" | 15717 xe_check_libs=" -lmp $library" |
15738 cat > conftest.$ac_ext <<EOF | 15718 cat > conftest.$ac_ext <<EOF |
15739 #line 15740 "configure" | 15719 #line 15720 "configure" |
15740 #include "confdefs.h" | 15720 #include "confdefs.h" |
15741 /* Override any gcc2 internal prototype to avoid an error. */ | 15721 /* Override any gcc2 internal prototype to avoid an error. */ |
15742 /* We use char because int might match the return type of a gcc2 | 15722 /* We use char because int might match the return type of a gcc2 |
15743 builtin and then its argument prototype would still apply. */ | 15723 builtin and then its argument prototype would still apply. */ |
15744 char mfree(); | 15724 char mfree(); |
15745 | 15725 |
15746 int main() { | 15726 int main() { |
15747 mfree() | 15727 mfree() |
15748 ; return 0; } | 15728 ; return 0; } |
15749 EOF | 15729 EOF |
15750 if { (eval echo configure:15751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15751 rm -rf conftest* | 15731 rm -rf conftest* |
15752 eval "ac_cv_lib_$ac_lib_var=yes" | 15732 eval "ac_cv_lib_$ac_lib_var=yes" |
15753 else | 15733 else |
15754 echo "configure: failed program was:" >&5 | 15734 echo "configure: failed program was:" >&5 |
15755 cat conftest.$ac_ext >&5 | 15735 cat conftest.$ac_ext >&5 |
15787 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15767 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15788 if test "$library" != ""; then | 15768 if test "$library" != ""; then |
15789 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15769 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15790 fi | 15770 fi |
15791 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15771 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15792 echo "configure:15793: checking for mp_move" >&5 | 15772 echo "configure:15773: checking for mp_move" >&5 |
15793 | 15773 |
15794 cat > conftest.$ac_ext <<EOF | 15774 cat > conftest.$ac_ext <<EOF |
15795 #line 15796 "configure" | 15775 #line 15776 "configure" |
15796 #include "confdefs.h" | 15776 #include "confdefs.h" |
15797 /* System header to define __stub macros and hopefully few prototypes, | 15777 /* System header to define __stub macros and hopefully few prototypes, |
15798 which can conflict with char mp_move(); below. */ | 15778 which can conflict with char mp_move(); below. */ |
15799 #include <assert.h> | 15779 #include <assert.h> |
15800 /* Override any gcc2 internal prototype to avoid an error. */ | 15780 /* Override any gcc2 internal prototype to avoid an error. */ |
15813 mp_move(); | 15793 mp_move(); |
15814 #endif | 15794 #endif |
15815 | 15795 |
15816 ; return 0; } | 15796 ; return 0; } |
15817 EOF | 15797 EOF |
15818 if { (eval echo configure:15819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15798 if { (eval echo configure:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15819 rm -rf conftest* | 15799 rm -rf conftest* |
15820 eval "ac_cv_func_mp_move=yes" | 15800 eval "ac_cv_func_mp_move=yes" |
15821 else | 15801 else |
15822 echo "configure: failed program was:" >&5 | 15802 echo "configure: failed program was:" >&5 |
15823 cat conftest.$ac_ext >&5 | 15803 cat conftest.$ac_ext >&5 |
15844 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15824 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15845 if test "$library" != ""; then | 15825 if test "$library" != ""; then |
15846 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15826 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15847 fi | 15827 fi |
15848 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15828 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15849 echo "configure:15850: checking for move" >&5 | 15829 echo "configure:15830: checking for move" >&5 |
15850 | 15830 |
15851 cat > conftest.$ac_ext <<EOF | 15831 cat > conftest.$ac_ext <<EOF |
15852 #line 15853 "configure" | 15832 #line 15833 "configure" |
15853 #include "confdefs.h" | 15833 #include "confdefs.h" |
15854 /* System header to define __stub macros and hopefully few prototypes, | 15834 /* System header to define __stub macros and hopefully few prototypes, |
15855 which can conflict with char move(); below. */ | 15835 which can conflict with char move(); below. */ |
15856 #include <assert.h> | 15836 #include <assert.h> |
15857 /* Override any gcc2 internal prototype to avoid an error. */ | 15837 /* Override any gcc2 internal prototype to avoid an error. */ |
15870 move(); | 15850 move(); |
15871 #endif | 15851 #endif |
15872 | 15852 |
15873 ; return 0; } | 15853 ; return 0; } |
15874 EOF | 15854 EOF |
15875 if { (eval echo configure:15876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15876 rm -rf conftest* | 15856 rm -rf conftest* |
15877 eval "ac_cv_func_move=yes" | 15857 eval "ac_cv_func_move=yes" |
15878 else | 15858 else |
15879 echo "configure: failed program was:" >&5 | 15859 echo "configure: failed program was:" >&5 |
15880 cat conftest.$ac_ext >&5 | 15860 cat conftest.$ac_ext >&5 |
15917 } | 15897 } |
15918 | 15898 |
15919 fi | 15899 fi |
15920 | 15900 |
15921 cat > conftest.$ac_ext <<EOF | 15901 cat > conftest.$ac_ext <<EOF |
15922 #line 15923 "configure" | 15902 #line 15903 "configure" |
15923 #include "confdefs.h" | 15903 #include "confdefs.h" |
15924 int main(int c,char *v[]){return 0;} | 15904 int main(int c,char *v[]){return 0;} |
15925 EOF | 15905 EOF |
15926 if { (eval echo configure:15927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15906 if { (eval echo configure:15907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15927 then | 15907 then |
15928 : | 15908 : |
15929 else | 15909 else |
15930 conftest_rc="$?" | 15910 conftest_rc="$?" |
15931 echo "configure: failed program was:" >&5 | 15911 echo "configure: failed program was:" >&5 |