Mercurial > hg > xemacs-beta
comparison configure @ 567:4a2749e56f92
[xemacs-hg @ 2001-05-24 11:21:32 by yoshiki]
Karl M. Hegbloom)s patch "[configure.in,config.h.in,movemail.c] Use mkstemp if possible (warning suppression, "security")",
<87g0ea77tc.fsf@bittersweet.intra.hegbloom.net>
| author | yoshiki |
|---|---|
| date | Thu, 24 May 2001 11:22:26 +0000 |
| parents | 1dac8639fe3f |
| children | 0dcc097685c7 |
comparison
equal
deleted
inserted
replaced
| 566:e62e90435c57 | 567:4a2749e56f92 |
|---|---|
| 4816 echo "configure: failed program was:" >&5 | 4816 echo "configure: failed program was:" >&5 |
| 4817 cat conftest.$ac_ext >&5 | 4817 cat conftest.$ac_ext >&5 |
| 4818 fi | 4818 fi |
| 4819 rm -f conftest* | 4819 rm -f conftest* |
| 4820 | 4820 |
| 4821 echo "checking type of mail spool file locking" 1>&6 | 4821 for ac_func in mkstemp |
| 4822 echo "configure:4823: checking type of mail spool file locking" >&5 | |
| 4823 for ac_func in lockf flock | |
| 4824 do | 4822 do |
| 4825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4826 echo "configure:4827: checking for $ac_func" >&5 | 4824 echo "configure:4825: checking for $ac_func" >&5 |
| 4827 | 4825 |
| 4828 cat > conftest.$ac_ext <<EOF | 4826 cat > conftest.$ac_ext <<EOF |
| 4829 #line 4830 "configure" | 4827 #line 4828 "configure" |
| 4830 #include "confdefs.h" | 4828 #include "confdefs.h" |
| 4831 /* System header to define __stub macros and hopefully few prototypes, | 4829 /* System header to define __stub macros and hopefully few prototypes, |
| 4832 which can conflict with char $ac_func(); below. */ | 4830 which can conflict with char $ac_func(); below. */ |
| 4833 #include <assert.h> | 4831 #include <assert.h> |
| 4834 /* Override any gcc2 internal prototype to avoid an error. */ | 4832 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4847 $ac_func(); | 4845 $ac_func(); |
| 4848 #endif | 4846 #endif |
| 4849 | 4847 |
| 4850 ; return 0; } | 4848 ; return 0; } |
| 4851 EOF | 4849 EOF |
| 4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4851 rm -rf conftest* | |
| 4852 eval "ac_cv_func_$ac_func=yes" | |
| 4853 else | |
| 4854 echo "configure: failed program was:" >&5 | |
| 4855 cat conftest.$ac_ext >&5 | |
| 4856 rm -rf conftest* | |
| 4857 eval "ac_cv_func_$ac_func=no" | |
| 4858 fi | |
| 4859 rm -f conftest* | |
| 4860 | |
| 4861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 4862 echo "$ac_t""yes" 1>&6 | |
| 4863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 4864 { test "$extra_verbose" = "yes" && cat << EOF | |
| 4865 Defining $ac_tr_func | |
| 4866 EOF | |
| 4867 cat >> confdefs.h <<EOF | |
| 4868 #define $ac_tr_func 1 | |
| 4869 EOF | |
| 4870 } | |
| 4871 | |
| 4872 else | |
| 4873 echo "$ac_t""no" 1>&6 | |
| 4874 fi | |
| 4875 done | |
| 4876 | |
| 4877 | |
| 4878 echo "checking type of mail spool file locking" 1>&6 | |
| 4879 echo "configure:4880: checking type of mail spool file locking" >&5 | |
| 4880 for ac_func in lockf flock | |
| 4881 do | |
| 4882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 4883 echo "configure:4884: checking for $ac_func" >&5 | |
| 4884 | |
| 4885 cat > conftest.$ac_ext <<EOF | |
| 4886 #line 4887 "configure" | |
| 4887 #include "confdefs.h" | |
| 4888 /* System header to define __stub macros and hopefully few prototypes, | |
| 4889 which can conflict with char $ac_func(); below. */ | |
| 4890 #include <assert.h> | |
| 4891 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 4892 /* We use char because int might match the return type of a gcc2 | |
| 4893 builtin and then its argument prototype would still apply. */ | |
| 4894 char $ac_func(); | |
| 4895 | |
| 4896 int main() { | |
| 4897 | |
| 4898 /* The GNU C library defines this for functions which it implements | |
| 4899 to always fail with ENOSYS. Some functions are actually named | |
| 4900 something starting with __ and the normal name is an alias. */ | |
| 4901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 4902 choke me | |
| 4903 #else | |
| 4904 $ac_func(); | |
| 4905 #endif | |
| 4906 | |
| 4907 ; return 0; } | |
| 4908 EOF | |
| 4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 4853 rm -rf conftest* | 4910 rm -rf conftest* |
| 4854 eval "ac_cv_func_$ac_func=yes" | 4911 eval "ac_cv_func_$ac_func=yes" |
| 4855 else | 4912 else |
| 4856 echo "configure: failed program was:" >&5 | 4913 echo "configure: failed program was:" >&5 |
| 4857 cat conftest.$ac_ext >&5 | 4914 cat conftest.$ac_ext >&5 |
| 4929 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4986 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
| 4930 | 4987 |
| 4931 case "$opsys" in decosf*) | 4988 case "$opsys" in decosf*) |
| 4932 | 4989 |
| 4933 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4990 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4934 echo "configure:4935: checking for cma_open in -lpthreads" >&5 | 4991 echo "configure:4992: checking for cma_open in -lpthreads" >&5 |
| 4935 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4992 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4936 | 4993 |
| 4937 xe_check_libs=" -lpthreads " | 4994 xe_check_libs=" -lpthreads " |
| 4938 cat > conftest.$ac_ext <<EOF | 4995 cat > conftest.$ac_ext <<EOF |
| 4939 #line 4940 "configure" | 4996 #line 4997 "configure" |
| 4940 #include "confdefs.h" | 4997 #include "confdefs.h" |
| 4941 /* Override any gcc2 internal prototype to avoid an error. */ | 4998 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4942 /* We use char because int might match the return type of a gcc2 | 4999 /* We use char because int might match the return type of a gcc2 |
| 4943 builtin and then its argument prototype would still apply. */ | 5000 builtin and then its argument prototype would still apply. */ |
| 4944 char cma_open(); | 5001 char cma_open(); |
| 4945 | 5002 |
| 4946 int main() { | 5003 int main() { |
| 4947 cma_open() | 5004 cma_open() |
| 4948 ; return 0; } | 5005 ; return 0; } |
| 4949 EOF | 5006 EOF |
| 4950 if { (eval echo configure:4951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5007 if { (eval echo configure:5008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4951 rm -rf conftest* | 5008 rm -rf conftest* |
| 4952 eval "ac_cv_lib_$ac_lib_var=yes" | 5009 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4953 else | 5010 else |
| 4954 echo "configure: failed program was:" >&5 | 5011 echo "configure: failed program was:" >&5 |
| 4955 cat conftest.$ac_ext >&5 | 5012 cat conftest.$ac_ext >&5 |
| 4981 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 5038 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4982 c_switch_site="$c_switch_site -threads" ;; | 5039 c_switch_site="$c_switch_site -threads" ;; |
| 4983 esac | 5040 esac |
| 4984 | 5041 |
| 4985 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5042 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4986 echo "configure:4987: checking whether the -xildoff compiler flag is required" >&5 | 5043 echo "configure:5044: checking whether the -xildoff compiler flag is required" >&5 |
| 4987 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5044 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4988 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5045 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4989 then echo "$ac_t""no" 1>&6; | 5046 then echo "$ac_t""no" 1>&6; |
| 4990 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 | 5047 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 |
| 4991 fi | 5048 fi |
| 4993 fi | 5050 fi |
| 4994 | 5051 |
| 4995 if test "$opsys" = "sol2"; then | 5052 if test "$opsys" = "sol2"; then |
| 4996 if test "$os_release" -ge 56; then | 5053 if test "$os_release" -ge 56; then |
| 4997 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5054 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4998 echo "configure:4999: checking for \"-z ignore\" linker flag" >&5 | 5055 echo "configure:5056: checking for \"-z ignore\" linker flag" >&5 |
| 4999 case "`ld -h 2>&1`" in | 5056 case "`ld -h 2>&1`" in |
| 5000 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5057 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 5001 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5058 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 5002 *) echo "$ac_t""no" 1>&6 ;; | 5059 *) echo "$ac_t""no" 1>&6 ;; |
| 5003 esac | 5060 esac |
| 5004 fi | 5061 fi |
| 5005 fi | 5062 fi |
| 5006 | 5063 |
| 5007 | 5064 |
| 5008 echo "checking "for specified window system"" 1>&6 | 5065 echo "checking "for specified window system"" 1>&6 |
| 5009 echo "configure:5010: checking "for specified window system"" >&5 | 5066 echo "configure:5067: checking "for specified window system"" >&5 |
| 5010 | 5067 |
| 5011 | 5068 |
| 5012 GNOME_CONFIG=no | 5069 GNOME_CONFIG=no |
| 5013 GTK_CONFIG=no | 5070 GTK_CONFIG=no |
| 5014 | 5071 |
| 5015 if test "$with_gnome" != "no"; then | 5072 if test "$with_gnome" != "no"; then |
| 5016 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5073 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
| 5017 echo "configure:5018: checking for GNOME configuration script" >&5 | 5074 echo "configure:5075: checking for GNOME configuration script" >&5 |
| 5018 for possible in gnome-config | 5075 for possible in gnome-config |
| 5019 do | 5076 do |
| 5020 possible_version=`${possible} --version 2> /dev/null` | 5077 possible_version=`${possible} --version 2> /dev/null` |
| 5021 if test "x${possible_version}" != "x"; then | 5078 if test "x${possible_version}" != "x"; then |
| 5022 GNOME_CONFIG="${possible}" | 5079 GNOME_CONFIG="${possible}" |
| 5043 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5100 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5044 fi | 5101 fi |
| 5045 | 5102 |
| 5046 if test "$with_gtk" != "no";then | 5103 if test "$with_gtk" != "no";then |
| 5047 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5104 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
| 5048 echo "configure:5049: checking for GTK configuration script" >&5 | 5105 echo "configure:5106: checking for GTK configuration script" >&5 |
| 5049 for possible in gtk12-config gtk14-config gtk-config | 5106 for possible in gtk12-config gtk14-config gtk-config |
| 5050 do | 5107 do |
| 5051 possible_version=`${possible} --version 2> /dev/null` | 5108 possible_version=`${possible} --version 2> /dev/null` |
| 5052 if test "x${possible_version}" != "x"; then | 5109 if test "x${possible_version}" != "x"; then |
| 5053 GTK_CONFIG="${possible}" | 5110 GTK_CONFIG="${possible}" |
| 5065 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5122 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
| 5066 fi | 5123 fi |
| 5067 | 5124 |
| 5068 if test "${GTK_CONFIG}" != "no"; then | 5125 if test "${GTK_CONFIG}" != "no"; then |
| 5069 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5126 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
| 5070 echo "configure:5071: checking gtk version" >&5 | 5127 echo "configure:5128: checking gtk version" >&5 |
| 5071 GTK_VERSION=`${GTK_CONFIG} --version` | 5128 GTK_VERSION=`${GTK_CONFIG} --version` |
| 5072 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5129 echo "$ac_t""${GTK_VERSION}" 1>&6 |
| 5073 | 5130 |
| 5074 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5131 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
| 5075 echo "configure:5076: checking gtk libs" >&5 | 5132 echo "configure:5133: checking gtk libs" >&5 |
| 5076 GTK_LIBS=`${GTK_CONFIG} --libs` | 5133 GTK_LIBS=`${GTK_CONFIG} --libs` |
| 5077 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5134 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
| 5078 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5135 echo "$ac_t""${GTK_LIBS}" 1>&6 |
| 5079 | 5136 |
| 5080 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5137 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
| 5081 echo "configure:5082: checking gtk cflags" >&5 | 5138 echo "configure:5139: checking gtk cflags" >&5 |
| 5082 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5139 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
| 5083 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5140 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5084 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5141 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
| 5085 | 5142 |
| 5086 | 5143 |
| 5087 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5144 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
| 5088 echo "configure:5089: checking for main in -lgdk_imlib" >&5 | 5145 echo "configure:5146: checking for main in -lgdk_imlib" >&5 |
| 5089 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5146 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
| 5090 | 5147 |
| 5091 xe_check_libs=" -lgdk_imlib " | 5148 xe_check_libs=" -lgdk_imlib " |
| 5092 cat > conftest.$ac_ext <<EOF | 5149 cat > conftest.$ac_ext <<EOF |
| 5093 #line 5094 "configure" | 5150 #line 5151 "configure" |
| 5094 #include "confdefs.h" | 5151 #include "confdefs.h" |
| 5095 | 5152 |
| 5096 int main() { | 5153 int main() { |
| 5097 main() | 5154 main() |
| 5098 ; return 0; } | 5155 ; return 0; } |
| 5099 EOF | 5156 EOF |
| 5100 if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5101 rm -rf conftest* | 5158 rm -rf conftest* |
| 5102 eval "ac_cv_lib_$ac_lib_var=yes" | 5159 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5103 else | 5160 else |
| 5104 echo "configure: failed program was:" >&5 | 5161 echo "configure: failed program was:" >&5 |
| 5105 cat conftest.$ac_ext >&5 | 5162 cat conftest.$ac_ext >&5 |
| 5117 fi | 5174 fi |
| 5118 | 5175 |
| 5119 | 5176 |
| 5120 | 5177 |
| 5121 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5178 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
| 5122 echo "configure:5123: checking for Imlib_init in -lImlib" >&5 | 5179 echo "configure:5180: checking for Imlib_init in -lImlib" >&5 |
| 5123 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5180 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
| 5124 | 5181 |
| 5125 xe_check_libs=" -lImlib " | 5182 xe_check_libs=" -lImlib " |
| 5126 cat > conftest.$ac_ext <<EOF | 5183 cat > conftest.$ac_ext <<EOF |
| 5127 #line 5128 "configure" | 5184 #line 5185 "configure" |
| 5128 #include "confdefs.h" | 5185 #include "confdefs.h" |
| 5129 /* Override any gcc2 internal prototype to avoid an error. */ | 5186 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5130 /* We use char because int might match the return type of a gcc2 | 5187 /* We use char because int might match the return type of a gcc2 |
| 5131 builtin and then its argument prototype would still apply. */ | 5188 builtin and then its argument prototype would still apply. */ |
| 5132 char Imlib_init(); | 5189 char Imlib_init(); |
| 5133 | 5190 |
| 5134 int main() { | 5191 int main() { |
| 5135 Imlib_init() | 5192 Imlib_init() |
| 5136 ; return 0; } | 5193 ; return 0; } |
| 5137 EOF | 5194 EOF |
| 5138 if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5139 rm -rf conftest* | 5196 rm -rf conftest* |
| 5140 eval "ac_cv_lib_$ac_lib_var=yes" | 5197 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5141 else | 5198 else |
| 5142 echo "configure: failed program was:" >&5 | 5199 echo "configure: failed program was:" >&5 |
| 5143 cat conftest.$ac_ext >&5 | 5200 cat conftest.$ac_ext >&5 |
| 5156 | 5213 |
| 5157 | 5214 |
| 5158 for ac_func in gdk_imlib_init | 5215 for ac_func in gdk_imlib_init |
| 5159 do | 5216 do |
| 5160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5161 echo "configure:5162: checking for $ac_func" >&5 | 5218 echo "configure:5219: checking for $ac_func" >&5 |
| 5162 | 5219 |
| 5163 cat > conftest.$ac_ext <<EOF | 5220 cat > conftest.$ac_ext <<EOF |
| 5164 #line 5165 "configure" | 5221 #line 5222 "configure" |
| 5165 #include "confdefs.h" | 5222 #include "confdefs.h" |
| 5166 /* System header to define __stub macros and hopefully few prototypes, | 5223 /* System header to define __stub macros and hopefully few prototypes, |
| 5167 which can conflict with char $ac_func(); below. */ | 5224 which can conflict with char $ac_func(); below. */ |
| 5168 #include <assert.h> | 5225 #include <assert.h> |
| 5169 /* Override any gcc2 internal prototype to avoid an error. */ | 5226 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5182 $ac_func(); | 5239 $ac_func(); |
| 5183 #endif | 5240 #endif |
| 5184 | 5241 |
| 5185 ; return 0; } | 5242 ; return 0; } |
| 5186 EOF | 5243 EOF |
| 5187 if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5188 rm -rf conftest* | 5245 rm -rf conftest* |
| 5189 eval "ac_cv_func_$ac_func=yes" | 5246 eval "ac_cv_func_$ac_func=yes" |
| 5190 else | 5247 else |
| 5191 echo "configure: failed program was:" >&5 | 5248 echo "configure: failed program was:" >&5 |
| 5192 cat conftest.$ac_ext >&5 | 5249 cat conftest.$ac_ext >&5 |
| 5259 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5316 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
| 5260 for ac_hdr in glade/glade.h glade.h | 5317 for ac_hdr in glade/glade.h glade.h |
| 5261 do | 5318 do |
| 5262 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5263 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5264 echo "configure:5265: checking for $ac_hdr" >&5 | 5321 echo "configure:5322: checking for $ac_hdr" >&5 |
| 5265 | 5322 |
| 5266 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
| 5267 #line 5268 "configure" | 5324 #line 5325 "configure" |
| 5268 #include "confdefs.h" | 5325 #include "confdefs.h" |
| 5269 #include <$ac_hdr> | 5326 #include <$ac_hdr> |
| 5270 EOF | 5327 EOF |
| 5271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5272 { (eval echo configure:5273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5329 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5274 if test -z "$ac_err"; then | 5331 if test -z "$ac_err"; then |
| 5275 rm -rf conftest* | 5332 rm -rf conftest* |
| 5276 eval "ac_cv_header_$ac_safe=yes" | 5333 eval "ac_cv_header_$ac_safe=yes" |
| 5277 else | 5334 else |
| 5298 fi | 5355 fi |
| 5299 done | 5356 done |
| 5300 | 5357 |
| 5301 | 5358 |
| 5302 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5359 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
| 5303 echo "configure:5304: checking for main in -lxml" >&5 | 5360 echo "configure:5361: checking for main in -lxml" >&5 |
| 5304 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5361 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
| 5305 | 5362 |
| 5306 xe_check_libs=" -lxml " | 5363 xe_check_libs=" -lxml " |
| 5307 cat > conftest.$ac_ext <<EOF | 5364 cat > conftest.$ac_ext <<EOF |
| 5308 #line 5309 "configure" | 5365 #line 5366 "configure" |
| 5309 #include "confdefs.h" | 5366 #include "confdefs.h" |
| 5310 | 5367 |
| 5311 int main() { | 5368 int main() { |
| 5312 main() | 5369 main() |
| 5313 ; return 0; } | 5370 ; return 0; } |
| 5314 EOF | 5371 EOF |
| 5315 if { (eval echo configure:5316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5372 if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5316 rm -rf conftest* | 5373 rm -rf conftest* |
| 5317 eval "ac_cv_lib_$ac_lib_var=yes" | 5374 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5318 else | 5375 else |
| 5319 echo "configure: failed program was:" >&5 | 5376 echo "configure: failed program was:" >&5 |
| 5320 cat conftest.$ac_ext >&5 | 5377 cat conftest.$ac_ext >&5 |
| 5332 fi | 5389 fi |
| 5333 | 5390 |
| 5334 | 5391 |
| 5335 | 5392 |
| 5336 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5393 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
| 5337 echo "configure:5338: checking for main in -lglade" >&5 | 5394 echo "configure:5395: checking for main in -lglade" >&5 |
| 5338 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5395 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
| 5339 | 5396 |
| 5340 xe_check_libs=" -lglade " | 5397 xe_check_libs=" -lglade " |
| 5341 cat > conftest.$ac_ext <<EOF | 5398 cat > conftest.$ac_ext <<EOF |
| 5342 #line 5343 "configure" | 5399 #line 5400 "configure" |
| 5343 #include "confdefs.h" | 5400 #include "confdefs.h" |
| 5344 | 5401 |
| 5345 int main() { | 5402 int main() { |
| 5346 main() | 5403 main() |
| 5347 ; return 0; } | 5404 ; return 0; } |
| 5348 EOF | 5405 EOF |
| 5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5350 rm -rf conftest* | 5407 rm -rf conftest* |
| 5351 eval "ac_cv_lib_$ac_lib_var=yes" | 5408 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5352 else | 5409 else |
| 5353 echo "configure: failed program was:" >&5 | 5410 echo "configure: failed program was:" >&5 |
| 5354 cat conftest.$ac_ext >&5 | 5411 cat conftest.$ac_ext >&5 |
| 5366 fi | 5423 fi |
| 5367 | 5424 |
| 5368 | 5425 |
| 5369 | 5426 |
| 5370 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5427 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
| 5371 echo "configure:5372: checking for main in -lglade-gnome" >&5 | 5428 echo "configure:5429: checking for main in -lglade-gnome" >&5 |
| 5372 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5429 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
| 5373 | 5430 |
| 5374 xe_check_libs=" -lglade-gnome " | 5431 xe_check_libs=" -lglade-gnome " |
| 5375 cat > conftest.$ac_ext <<EOF | 5432 cat > conftest.$ac_ext <<EOF |
| 5376 #line 5377 "configure" | 5433 #line 5434 "configure" |
| 5377 #include "confdefs.h" | 5434 #include "confdefs.h" |
| 5378 | 5435 |
| 5379 int main() { | 5436 int main() { |
| 5380 main() | 5437 main() |
| 5381 ; return 0; } | 5438 ; return 0; } |
| 5382 EOF | 5439 EOF |
| 5383 if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5384 rm -rf conftest* | 5441 rm -rf conftest* |
| 5385 eval "ac_cv_lib_$ac_lib_var=yes" | 5442 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5386 else | 5443 else |
| 5387 echo "configure: failed program was:" >&5 | 5444 echo "configure: failed program was:" >&5 |
| 5388 cat conftest.$ac_ext >&5 | 5445 cat conftest.$ac_ext >&5 |
| 5399 echo "$ac_t""no" 1>&6 | 5456 echo "$ac_t""no" 1>&6 |
| 5400 fi | 5457 fi |
| 5401 | 5458 |
| 5402 | 5459 |
| 5403 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
| 5404 #line 5405 "configure" | 5461 #line 5462 "configure" |
| 5405 #include "confdefs.h" | 5462 #include "confdefs.h" |
| 5406 #include <glade/glade-xml.h> | 5463 #include <glade/glade-xml.h> |
| 5407 EOF | 5464 EOF |
| 5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5409 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5466 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
| 5457 # If we find X, set shell vars x_includes and x_libraries to the | 5514 # If we find X, set shell vars x_includes and x_libraries to the |
| 5458 # paths, otherwise set no_x=yes. | 5515 # paths, otherwise set no_x=yes. |
| 5459 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5516 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 5460 # --without-x overrides everything else, but does not touch the cache. | 5517 # --without-x overrides everything else, but does not touch the cache. |
| 5461 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5518 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 5462 echo "configure:5463: checking for X" >&5 | 5519 echo "configure:5520: checking for X" >&5 |
| 5463 | 5520 |
| 5464 # Check whether --with-x or --without-x was given. | 5521 # Check whether --with-x or --without-x was given. |
| 5465 if test "${with_x+set}" = set; then | 5522 if test "${with_x+set}" = set; then |
| 5466 withval="$with_x" | 5523 withval="$with_x" |
| 5467 : | 5524 : |
| 5517 # Guess where to find include files, by looking for this one X11 .h file. | 5574 # Guess where to find include files, by looking for this one X11 .h file. |
| 5518 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5575 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 5519 | 5576 |
| 5520 # First, try using that file with no special directory specified. | 5577 # First, try using that file with no special directory specified. |
| 5521 cat > conftest.$ac_ext <<EOF | 5578 cat > conftest.$ac_ext <<EOF |
| 5522 #line 5523 "configure" | 5579 #line 5580 "configure" |
| 5523 #include "confdefs.h" | 5580 #include "confdefs.h" |
| 5524 #include <$x_direct_test_include> | 5581 #include <$x_direct_test_include> |
| 5525 EOF | 5582 EOF |
| 5526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5527 { (eval echo configure:5528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5584 { (eval echo configure:5585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5529 if test -z "$ac_err"; then | 5586 if test -z "$ac_err"; then |
| 5530 rm -rf conftest* | 5587 rm -rf conftest* |
| 5531 # We can compile using X headers with no special include directory. | 5588 # We can compile using X headers with no special include directory. |
| 5532 ac_x_includes= | 5589 ac_x_includes= |
| 5591 # See if we find them without any special options. | 5648 # See if we find them without any special options. |
| 5592 # Don't add to $LIBS permanently. | 5649 # Don't add to $LIBS permanently. |
| 5593 ac_save_LIBS="$LIBS" | 5650 ac_save_LIBS="$LIBS" |
| 5594 LIBS="-l$x_direct_test_library $LIBS" | 5651 LIBS="-l$x_direct_test_library $LIBS" |
| 5595 cat > conftest.$ac_ext <<EOF | 5652 cat > conftest.$ac_ext <<EOF |
| 5596 #line 5597 "configure" | 5653 #line 5654 "configure" |
| 5597 #include "confdefs.h" | 5654 #include "confdefs.h" |
| 5598 | 5655 |
| 5599 int main() { | 5656 int main() { |
| 5600 ${x_direct_test_function}() | 5657 ${x_direct_test_function}() |
| 5601 ; return 0; } | 5658 ; return 0; } |
| 5602 EOF | 5659 EOF |
| 5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5660 if { (eval echo configure:5661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5604 rm -rf conftest* | 5661 rm -rf conftest* |
| 5605 LIBS="$ac_save_LIBS" | 5662 LIBS="$ac_save_LIBS" |
| 5606 # We can link X programs with no special library path. | 5663 # We can link X programs with no special library path. |
| 5607 ac_x_libraries= | 5664 ac_x_libraries= |
| 5608 else | 5665 else |
| 5707 # For Solaris; some versions of Sun CC require a space after -R and | 5764 # For Solaris; some versions of Sun CC require a space after -R and |
| 5708 # others require no space. Words are not sufficient . . . . | 5765 # others require no space. Words are not sufficient . . . . |
| 5709 case "`(uname -sr) 2>/dev/null`" in | 5766 case "`(uname -sr) 2>/dev/null`" in |
| 5710 "SunOS 5"*) | 5767 "SunOS 5"*) |
| 5711 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5768 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 5712 echo "configure:5713: checking whether -R must be followed by a space" >&5 | 5769 echo "configure:5770: checking whether -R must be followed by a space" >&5 |
| 5713 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5770 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 5714 cat > conftest.$ac_ext <<EOF | 5771 cat > conftest.$ac_ext <<EOF |
| 5715 #line 5716 "configure" | 5772 #line 5773 "configure" |
| 5716 #include "confdefs.h" | 5773 #include "confdefs.h" |
| 5717 | 5774 |
| 5718 int main() { | 5775 int main() { |
| 5719 | 5776 |
| 5720 ; return 0; } | 5777 ; return 0; } |
| 5721 EOF | 5778 EOF |
| 5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5723 rm -rf conftest* | 5780 rm -rf conftest* |
| 5724 ac_R_nospace=yes | 5781 ac_R_nospace=yes |
| 5725 else | 5782 else |
| 5726 echo "configure: failed program was:" >&5 | 5783 echo "configure: failed program was:" >&5 |
| 5727 cat conftest.$ac_ext >&5 | 5784 cat conftest.$ac_ext >&5 |
| 5733 echo "$ac_t""no" 1>&6 | 5790 echo "$ac_t""no" 1>&6 |
| 5734 X_LIBS="$X_LIBS -R$x_libraries" | 5791 X_LIBS="$X_LIBS -R$x_libraries" |
| 5735 else | 5792 else |
| 5736 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5793 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 5737 cat > conftest.$ac_ext <<EOF | 5794 cat > conftest.$ac_ext <<EOF |
| 5738 #line 5739 "configure" | 5795 #line 5796 "configure" |
| 5739 #include "confdefs.h" | 5796 #include "confdefs.h" |
| 5740 | 5797 |
| 5741 int main() { | 5798 int main() { |
| 5742 | 5799 |
| 5743 ; return 0; } | 5800 ; return 0; } |
| 5744 EOF | 5801 EOF |
| 5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5746 rm -rf conftest* | 5803 rm -rf conftest* |
| 5747 ac_R_space=yes | 5804 ac_R_space=yes |
| 5748 else | 5805 else |
| 5749 echo "configure: failed program was:" >&5 | 5806 echo "configure: failed program was:" >&5 |
| 5750 cat conftest.$ac_ext >&5 | 5807 cat conftest.$ac_ext >&5 |
| 5776 if test "$with_dnet" = "no" ; then | 5833 if test "$with_dnet" = "no" ; then |
| 5777 ac_cv_lib_dnet_dnet_ntoa=no | 5834 ac_cv_lib_dnet_dnet_ntoa=no |
| 5778 else | 5835 else |
| 5779 | 5836 |
| 5780 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5837 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 5781 echo "configure:5782: checking for dnet_ntoa in -ldnet" >&5 | 5838 echo "configure:5839: checking for dnet_ntoa in -ldnet" >&5 |
| 5782 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5839 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5783 | 5840 |
| 5784 xe_check_libs=" -ldnet " | 5841 xe_check_libs=" -ldnet " |
| 5785 cat > conftest.$ac_ext <<EOF | 5842 cat > conftest.$ac_ext <<EOF |
| 5786 #line 5787 "configure" | 5843 #line 5844 "configure" |
| 5787 #include "confdefs.h" | 5844 #include "confdefs.h" |
| 5788 /* Override any gcc2 internal prototype to avoid an error. */ | 5845 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5789 /* We use char because int might match the return type of a gcc2 | 5846 /* We use char because int might match the return type of a gcc2 |
| 5790 builtin and then its argument prototype would still apply. */ | 5847 builtin and then its argument prototype would still apply. */ |
| 5791 char dnet_ntoa(); | 5848 char dnet_ntoa(); |
| 5792 | 5849 |
| 5793 int main() { | 5850 int main() { |
| 5794 dnet_ntoa() | 5851 dnet_ntoa() |
| 5795 ; return 0; } | 5852 ; return 0; } |
| 5796 EOF | 5853 EOF |
| 5797 if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5854 if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5798 rm -rf conftest* | 5855 rm -rf conftest* |
| 5799 eval "ac_cv_lib_$ac_lib_var=yes" | 5856 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5800 else | 5857 else |
| 5801 echo "configure: failed program was:" >&5 | 5858 echo "configure: failed program was:" >&5 |
| 5802 cat conftest.$ac_ext >&5 | 5859 cat conftest.$ac_ext >&5 |
| 5816 fi | 5873 fi |
| 5817 | 5874 |
| 5818 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5875 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 5819 | 5876 |
| 5820 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5877 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 5821 echo "configure:5822: checking for dnet_ntoa in -ldnet_stub" >&5 | 5878 echo "configure:5879: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 5822 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5879 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5823 | 5880 |
| 5824 xe_check_libs=" -ldnet_stub " | 5881 xe_check_libs=" -ldnet_stub " |
| 5825 cat > conftest.$ac_ext <<EOF | 5882 cat > conftest.$ac_ext <<EOF |
| 5826 #line 5827 "configure" | 5883 #line 5884 "configure" |
| 5827 #include "confdefs.h" | 5884 #include "confdefs.h" |
| 5828 /* Override any gcc2 internal prototype to avoid an error. */ | 5885 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5829 /* We use char because int might match the return type of a gcc2 | 5886 /* We use char because int might match the return type of a gcc2 |
| 5830 builtin and then its argument prototype would still apply. */ | 5887 builtin and then its argument prototype would still apply. */ |
| 5831 char dnet_ntoa(); | 5888 char dnet_ntoa(); |
| 5832 | 5889 |
| 5833 int main() { | 5890 int main() { |
| 5834 dnet_ntoa() | 5891 dnet_ntoa() |
| 5835 ; return 0; } | 5892 ; return 0; } |
| 5836 EOF | 5893 EOF |
| 5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5894 if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5838 rm -rf conftest* | 5895 rm -rf conftest* |
| 5839 eval "ac_cv_lib_$ac_lib_var=yes" | 5896 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5840 else | 5897 else |
| 5841 echo "configure: failed program was:" >&5 | 5898 echo "configure: failed program was:" >&5 |
| 5842 cat conftest.$ac_ext >&5 | 5899 cat conftest.$ac_ext >&5 |
| 5861 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5918 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 5862 # needs -lnsl. | 5919 # needs -lnsl. |
| 5863 # The nsl library prevents programs from opening the X display | 5920 # The nsl library prevents programs from opening the X display |
| 5864 # on Irix 5.2, according to dickey@clark.net. | 5921 # on Irix 5.2, according to dickey@clark.net. |
| 5865 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5922 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 5866 echo "configure:5867: checking for gethostbyname" >&5 | 5923 echo "configure:5924: checking for gethostbyname" >&5 |
| 5867 | 5924 |
| 5868 cat > conftest.$ac_ext <<EOF | 5925 cat > conftest.$ac_ext <<EOF |
| 5869 #line 5870 "configure" | 5926 #line 5927 "configure" |
| 5870 #include "confdefs.h" | 5927 #include "confdefs.h" |
| 5871 /* System header to define __stub macros and hopefully few prototypes, | 5928 /* System header to define __stub macros and hopefully few prototypes, |
| 5872 which can conflict with char gethostbyname(); below. */ | 5929 which can conflict with char gethostbyname(); below. */ |
| 5873 #include <assert.h> | 5930 #include <assert.h> |
| 5874 /* Override any gcc2 internal prototype to avoid an error. */ | 5931 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5887 gethostbyname(); | 5944 gethostbyname(); |
| 5888 #endif | 5945 #endif |
| 5889 | 5946 |
| 5890 ; return 0; } | 5947 ; return 0; } |
| 5891 EOF | 5948 EOF |
| 5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5949 if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5893 rm -rf conftest* | 5950 rm -rf conftest* |
| 5894 eval "ac_cv_func_gethostbyname=yes" | 5951 eval "ac_cv_func_gethostbyname=yes" |
| 5895 else | 5952 else |
| 5896 echo "configure: failed program was:" >&5 | 5953 echo "configure: failed program was:" >&5 |
| 5897 cat conftest.$ac_ext >&5 | 5954 cat conftest.$ac_ext >&5 |
| 5908 fi | 5965 fi |
| 5909 | 5966 |
| 5910 if test $ac_cv_func_gethostbyname = no; then | 5967 if test $ac_cv_func_gethostbyname = no; then |
| 5911 | 5968 |
| 5912 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5969 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 5913 echo "configure:5914: checking for gethostbyname in -lnsl" >&5 | 5970 echo "configure:5971: checking for gethostbyname in -lnsl" >&5 |
| 5914 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5971 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 5915 | 5972 |
| 5916 xe_check_libs=" -lnsl " | 5973 xe_check_libs=" -lnsl " |
| 5917 cat > conftest.$ac_ext <<EOF | 5974 cat > conftest.$ac_ext <<EOF |
| 5918 #line 5919 "configure" | 5975 #line 5976 "configure" |
| 5919 #include "confdefs.h" | 5976 #include "confdefs.h" |
| 5920 /* Override any gcc2 internal prototype to avoid an error. */ | 5977 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5921 /* We use char because int might match the return type of a gcc2 | 5978 /* We use char because int might match the return type of a gcc2 |
| 5922 builtin and then its argument prototype would still apply. */ | 5979 builtin and then its argument prototype would still apply. */ |
| 5923 char gethostbyname(); | 5980 char gethostbyname(); |
| 5924 | 5981 |
| 5925 int main() { | 5982 int main() { |
| 5926 gethostbyname() | 5983 gethostbyname() |
| 5927 ; return 0; } | 5984 ; return 0; } |
| 5928 EOF | 5985 EOF |
| 5929 if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5986 if { (eval echo configure:5987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5930 rm -rf conftest* | 5987 rm -rf conftest* |
| 5931 eval "ac_cv_lib_$ac_lib_var=yes" | 5988 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5932 else | 5989 else |
| 5933 echo "configure: failed program was:" >&5 | 5990 echo "configure: failed program was:" >&5 |
| 5934 cat conftest.$ac_ext >&5 | 5991 cat conftest.$ac_ext >&5 |
| 5954 # on later versions), says simon@lia.di.epfl.ch: it contains | 6011 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 5955 # gethostby* variants that don't use the nameserver (or something). | 6012 # gethostby* variants that don't use the nameserver (or something). |
| 5956 # -lsocket must be given before -lnsl if both are needed. | 6013 # -lsocket must be given before -lnsl if both are needed. |
| 5957 # We assume that if connect needs -lnsl, so does gethostbyname. | 6014 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 5958 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6015 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 5959 echo "configure:5960: checking for connect" >&5 | 6016 echo "configure:6017: checking for connect" >&5 |
| 5960 | 6017 |
| 5961 cat > conftest.$ac_ext <<EOF | 6018 cat > conftest.$ac_ext <<EOF |
| 5962 #line 5963 "configure" | 6019 #line 6020 "configure" |
| 5963 #include "confdefs.h" | 6020 #include "confdefs.h" |
| 5964 /* System header to define __stub macros and hopefully few prototypes, | 6021 /* System header to define __stub macros and hopefully few prototypes, |
| 5965 which can conflict with char connect(); below. */ | 6022 which can conflict with char connect(); below. */ |
| 5966 #include <assert.h> | 6023 #include <assert.h> |
| 5967 /* Override any gcc2 internal prototype to avoid an error. */ | 6024 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5980 connect(); | 6037 connect(); |
| 5981 #endif | 6038 #endif |
| 5982 | 6039 |
| 5983 ; return 0; } | 6040 ; return 0; } |
| 5984 EOF | 6041 EOF |
| 5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6042 if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5986 rm -rf conftest* | 6043 rm -rf conftest* |
| 5987 eval "ac_cv_func_connect=yes" | 6044 eval "ac_cv_func_connect=yes" |
| 5988 else | 6045 else |
| 5989 echo "configure: failed program was:" >&5 | 6046 echo "configure: failed program was:" >&5 |
| 5990 cat conftest.$ac_ext >&5 | 6047 cat conftest.$ac_ext >&5 |
| 6003 if test $ac_cv_func_connect = no; then | 6060 if test $ac_cv_func_connect = no; then |
| 6004 | 6061 |
| 6005 xe_msg_checking="for connect in -lsocket" | 6062 xe_msg_checking="for connect in -lsocket" |
| 6006 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6063 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6007 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6064 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6008 echo "configure:6009: checking "$xe_msg_checking"" >&5 | 6065 echo "configure:6066: checking "$xe_msg_checking"" >&5 |
| 6009 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6066 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 6010 | 6067 |
| 6011 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6068 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 6012 cat > conftest.$ac_ext <<EOF | 6069 cat > conftest.$ac_ext <<EOF |
| 6013 #line 6014 "configure" | 6070 #line 6071 "configure" |
| 6014 #include "confdefs.h" | 6071 #include "confdefs.h" |
| 6015 /* Override any gcc2 internal prototype to avoid an error. */ | 6072 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6016 /* We use char because int might match the return type of a gcc2 | 6073 /* We use char because int might match the return type of a gcc2 |
| 6017 builtin and then its argument prototype would still apply. */ | 6074 builtin and then its argument prototype would still apply. */ |
| 6018 char connect(); | 6075 char connect(); |
| 6019 | 6076 |
| 6020 int main() { | 6077 int main() { |
| 6021 connect() | 6078 connect() |
| 6022 ; return 0; } | 6079 ; return 0; } |
| 6023 EOF | 6080 EOF |
| 6024 if { (eval echo configure:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6025 rm -rf conftest* | 6082 rm -rf conftest* |
| 6026 eval "ac_cv_lib_$ac_lib_var=yes" | 6083 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6027 else | 6084 else |
| 6028 echo "configure: failed program was:" >&5 | 6085 echo "configure: failed program was:" >&5 |
| 6029 cat conftest.$ac_ext >&5 | 6086 cat conftest.$ac_ext >&5 |
| 6043 | 6100 |
| 6044 fi | 6101 fi |
| 6045 | 6102 |
| 6046 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6103 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 6047 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6104 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 6048 echo "configure:6049: checking for remove" >&5 | 6105 echo "configure:6106: checking for remove" >&5 |
| 6049 | 6106 |
| 6050 cat > conftest.$ac_ext <<EOF | 6107 cat > conftest.$ac_ext <<EOF |
| 6051 #line 6052 "configure" | 6108 #line 6109 "configure" |
| 6052 #include "confdefs.h" | 6109 #include "confdefs.h" |
| 6053 /* System header to define __stub macros and hopefully few prototypes, | 6110 /* System header to define __stub macros and hopefully few prototypes, |
| 6054 which can conflict with char remove(); below. */ | 6111 which can conflict with char remove(); below. */ |
| 6055 #include <assert.h> | 6112 #include <assert.h> |
| 6056 /* Override any gcc2 internal prototype to avoid an error. */ | 6113 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6069 remove(); | 6126 remove(); |
| 6070 #endif | 6127 #endif |
| 6071 | 6128 |
| 6072 ; return 0; } | 6129 ; return 0; } |
| 6073 EOF | 6130 EOF |
| 6074 if { (eval echo configure:6075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6131 if { (eval echo configure:6132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6075 rm -rf conftest* | 6132 rm -rf conftest* |
| 6076 eval "ac_cv_func_remove=yes" | 6133 eval "ac_cv_func_remove=yes" |
| 6077 else | 6134 else |
| 6078 echo "configure: failed program was:" >&5 | 6135 echo "configure: failed program was:" >&5 |
| 6079 cat conftest.$ac_ext >&5 | 6136 cat conftest.$ac_ext >&5 |
| 6090 fi | 6147 fi |
| 6091 | 6148 |
| 6092 if test $ac_cv_func_remove = no; then | 6149 if test $ac_cv_func_remove = no; then |
| 6093 | 6150 |
| 6094 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6151 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 6095 echo "configure:6096: checking for remove in -lposix" >&5 | 6152 echo "configure:6153: checking for remove in -lposix" >&5 |
| 6096 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6153 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 6097 | 6154 |
| 6098 xe_check_libs=" -lposix " | 6155 xe_check_libs=" -lposix " |
| 6099 cat > conftest.$ac_ext <<EOF | 6156 cat > conftest.$ac_ext <<EOF |
| 6100 #line 6101 "configure" | 6157 #line 6158 "configure" |
| 6101 #include "confdefs.h" | 6158 #include "confdefs.h" |
| 6102 /* Override any gcc2 internal prototype to avoid an error. */ | 6159 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6103 /* We use char because int might match the return type of a gcc2 | 6160 /* We use char because int might match the return type of a gcc2 |
| 6104 builtin and then its argument prototype would still apply. */ | 6161 builtin and then its argument prototype would still apply. */ |
| 6105 char remove(); | 6162 char remove(); |
| 6106 | 6163 |
| 6107 int main() { | 6164 int main() { |
| 6108 remove() | 6165 remove() |
| 6109 ; return 0; } | 6166 ; return 0; } |
| 6110 EOF | 6167 EOF |
| 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6168 if { (eval echo configure:6169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6112 rm -rf conftest* | 6169 rm -rf conftest* |
| 6113 eval "ac_cv_lib_$ac_lib_var=yes" | 6170 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6114 else | 6171 else |
| 6115 echo "configure: failed program was:" >&5 | 6172 echo "configure: failed program was:" >&5 |
| 6116 cat conftest.$ac_ext >&5 | 6173 cat conftest.$ac_ext >&5 |
| 6130 | 6187 |
| 6131 fi | 6188 fi |
| 6132 | 6189 |
| 6133 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6190 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 6134 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6191 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 6135 echo "configure:6136: checking for shmat" >&5 | 6192 echo "configure:6193: checking for shmat" >&5 |
| 6136 | 6193 |
| 6137 cat > conftest.$ac_ext <<EOF | 6194 cat > conftest.$ac_ext <<EOF |
| 6138 #line 6139 "configure" | 6195 #line 6196 "configure" |
| 6139 #include "confdefs.h" | 6196 #include "confdefs.h" |
| 6140 /* System header to define __stub macros and hopefully few prototypes, | 6197 /* System header to define __stub macros and hopefully few prototypes, |
| 6141 which can conflict with char shmat(); below. */ | 6198 which can conflict with char shmat(); below. */ |
| 6142 #include <assert.h> | 6199 #include <assert.h> |
| 6143 /* Override any gcc2 internal prototype to avoid an error. */ | 6200 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6156 shmat(); | 6213 shmat(); |
| 6157 #endif | 6214 #endif |
| 6158 | 6215 |
| 6159 ; return 0; } | 6216 ; return 0; } |
| 6160 EOF | 6217 EOF |
| 6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6162 rm -rf conftest* | 6219 rm -rf conftest* |
| 6163 eval "ac_cv_func_shmat=yes" | 6220 eval "ac_cv_func_shmat=yes" |
| 6164 else | 6221 else |
| 6165 echo "configure: failed program was:" >&5 | 6222 echo "configure: failed program was:" >&5 |
| 6166 cat conftest.$ac_ext >&5 | 6223 cat conftest.$ac_ext >&5 |
| 6177 fi | 6234 fi |
| 6178 | 6235 |
| 6179 if test $ac_cv_func_shmat = no; then | 6236 if test $ac_cv_func_shmat = no; then |
| 6180 | 6237 |
| 6181 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6238 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 6182 echo "configure:6183: checking for shmat in -lipc" >&5 | 6239 echo "configure:6240: checking for shmat in -lipc" >&5 |
| 6183 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6240 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 6184 | 6241 |
| 6185 xe_check_libs=" -lipc " | 6242 xe_check_libs=" -lipc " |
| 6186 cat > conftest.$ac_ext <<EOF | 6243 cat > conftest.$ac_ext <<EOF |
| 6187 #line 6188 "configure" | 6244 #line 6245 "configure" |
| 6188 #include "confdefs.h" | 6245 #include "confdefs.h" |
| 6189 /* Override any gcc2 internal prototype to avoid an error. */ | 6246 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6190 /* We use char because int might match the return type of a gcc2 | 6247 /* We use char because int might match the return type of a gcc2 |
| 6191 builtin and then its argument prototype would still apply. */ | 6248 builtin and then its argument prototype would still apply. */ |
| 6192 char shmat(); | 6249 char shmat(); |
| 6193 | 6250 |
| 6194 int main() { | 6251 int main() { |
| 6195 shmat() | 6252 shmat() |
| 6196 ; return 0; } | 6253 ; return 0; } |
| 6197 EOF | 6254 EOF |
| 6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6199 rm -rf conftest* | 6256 rm -rf conftest* |
| 6200 eval "ac_cv_lib_$ac_lib_var=yes" | 6257 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6201 else | 6258 else |
| 6202 echo "configure: failed program was:" >&5 | 6259 echo "configure: failed program was:" >&5 |
| 6203 cat conftest.$ac_ext >&5 | 6260 cat conftest.$ac_ext >&5 |
| 6229 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6286 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 6230 | 6287 |
| 6231 xe_msg_checking="for IceConnectionNumber in -lICE" | 6288 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 6232 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6289 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6233 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6290 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6234 echo "configure:6235: checking "$xe_msg_checking"" >&5 | 6291 echo "configure:6292: checking "$xe_msg_checking"" >&5 |
| 6235 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6292 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 6236 | 6293 |
| 6237 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6294 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 6238 cat > conftest.$ac_ext <<EOF | 6295 cat > conftest.$ac_ext <<EOF |
| 6239 #line 6240 "configure" | 6296 #line 6297 "configure" |
| 6240 #include "confdefs.h" | 6297 #include "confdefs.h" |
| 6241 /* Override any gcc2 internal prototype to avoid an error. */ | 6298 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6242 /* We use char because int might match the return type of a gcc2 | 6299 /* We use char because int might match the return type of a gcc2 |
| 6243 builtin and then its argument prototype would still apply. */ | 6300 builtin and then its argument prototype would still apply. */ |
| 6244 char IceConnectionNumber(); | 6301 char IceConnectionNumber(); |
| 6245 | 6302 |
| 6246 int main() { | 6303 int main() { |
| 6247 IceConnectionNumber() | 6304 IceConnectionNumber() |
| 6248 ; return 0; } | 6305 ; return 0; } |
| 6249 EOF | 6306 EOF |
| 6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6307 if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6251 rm -rf conftest* | 6308 rm -rf conftest* |
| 6252 eval "ac_cv_lib_$ac_lib_var=yes" | 6309 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6253 else | 6310 else |
| 6254 echo "configure: failed program was:" >&5 | 6311 echo "configure: failed program was:" >&5 |
| 6255 cat conftest.$ac_ext >&5 | 6312 cat conftest.$ac_ext >&5 |
| 6412 EOF | 6469 EOF |
| 6413 } | 6470 } |
| 6414 | 6471 |
| 6415 | 6472 |
| 6416 echo "checking for X defines extracted by xmkmf" 1>&6 | 6473 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 6417 echo "configure:6418: checking for X defines extracted by xmkmf" >&5 | 6474 echo "configure:6475: checking for X defines extracted by xmkmf" >&5 |
| 6418 rm -fr conftestdir | 6475 rm -fr conftestdir |
| 6419 if mkdir conftestdir; then | 6476 if mkdir conftestdir; then |
| 6420 cd conftestdir | 6477 cd conftestdir |
| 6421 cat > Imakefile <<'EOF' | 6478 cat > Imakefile <<'EOF' |
| 6422 xetest: | 6479 xetest: |
| 6461 done | 6518 done |
| 6462 fi | 6519 fi |
| 6463 | 6520 |
| 6464 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6521 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 6465 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6522 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 6466 echo "configure:6467: checking for X11/Intrinsic.h" >&5 | 6523 echo "configure:6524: checking for X11/Intrinsic.h" >&5 |
| 6467 | 6524 |
| 6468 cat > conftest.$ac_ext <<EOF | 6525 cat > conftest.$ac_ext <<EOF |
| 6469 #line 6470 "configure" | 6526 #line 6527 "configure" |
| 6470 #include "confdefs.h" | 6527 #include "confdefs.h" |
| 6471 #include <X11/Intrinsic.h> | 6528 #include <X11/Intrinsic.h> |
| 6472 EOF | 6529 EOF |
| 6473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6474 { (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6531 { (eval echo configure:6532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6476 if test -z "$ac_err"; then | 6533 if test -z "$ac_err"; then |
| 6477 rm -rf conftest* | 6534 rm -rf conftest* |
| 6478 eval "ac_cv_header_$ac_safe=yes" | 6535 eval "ac_cv_header_$ac_safe=yes" |
| 6479 else | 6536 else |
| 6493 fi | 6550 fi |
| 6494 | 6551 |
| 6495 | 6552 |
| 6496 | 6553 |
| 6497 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6554 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 6498 echo "configure:6499: checking for XOpenDisplay in -lX11" >&5 | 6555 echo "configure:6556: checking for XOpenDisplay in -lX11" >&5 |
| 6499 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6556 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 6500 | 6557 |
| 6501 xe_check_libs=" -lX11 " | 6558 xe_check_libs=" -lX11 " |
| 6502 cat > conftest.$ac_ext <<EOF | 6559 cat > conftest.$ac_ext <<EOF |
| 6503 #line 6504 "configure" | 6560 #line 6561 "configure" |
| 6504 #include "confdefs.h" | 6561 #include "confdefs.h" |
| 6505 /* Override any gcc2 internal prototype to avoid an error. */ | 6562 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6506 /* We use char because int might match the return type of a gcc2 | 6563 /* We use char because int might match the return type of a gcc2 |
| 6507 builtin and then its argument prototype would still apply. */ | 6564 builtin and then its argument prototype would still apply. */ |
| 6508 char XOpenDisplay(); | 6565 char XOpenDisplay(); |
| 6509 | 6566 |
| 6510 int main() { | 6567 int main() { |
| 6511 XOpenDisplay() | 6568 XOpenDisplay() |
| 6512 ; return 0; } | 6569 ; return 0; } |
| 6513 EOF | 6570 EOF |
| 6514 if { (eval echo configure:6515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6515 rm -rf conftest* | 6572 rm -rf conftest* |
| 6516 eval "ac_cv_lib_$ac_lib_var=yes" | 6573 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6517 else | 6574 else |
| 6518 echo "configure: failed program was:" >&5 | 6575 echo "configure: failed program was:" >&5 |
| 6519 cat conftest.$ac_ext >&5 | 6576 cat conftest.$ac_ext >&5 |
| 6534 if test "$have_lib_x11" != "yes"; then | 6591 if test "$have_lib_x11" != "yes"; then |
| 6535 | 6592 |
| 6536 xe_msg_checking="for XGetFontProperty in -lX11" | 6593 xe_msg_checking="for XGetFontProperty in -lX11" |
| 6537 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6594 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 6538 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6595 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6539 echo "configure:6540: checking "$xe_msg_checking"" >&5 | 6596 echo "configure:6597: checking "$xe_msg_checking"" >&5 |
| 6540 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6597 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 6541 | 6598 |
| 6542 xe_check_libs=" -lX11 -b i486-linuxaout" | 6599 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 6543 cat > conftest.$ac_ext <<EOF | 6600 cat > conftest.$ac_ext <<EOF |
| 6544 #line 6545 "configure" | 6601 #line 6602 "configure" |
| 6545 #include "confdefs.h" | 6602 #include "confdefs.h" |
| 6546 /* Override any gcc2 internal prototype to avoid an error. */ | 6603 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6547 /* We use char because int might match the return type of a gcc2 | 6604 /* We use char because int might match the return type of a gcc2 |
| 6548 builtin and then its argument prototype would still apply. */ | 6605 builtin and then its argument prototype would still apply. */ |
| 6549 char XGetFontProperty(); | 6606 char XGetFontProperty(); |
| 6550 | 6607 |
| 6551 int main() { | 6608 int main() { |
| 6552 XGetFontProperty() | 6609 XGetFontProperty() |
| 6553 ; return 0; } | 6610 ; return 0; } |
| 6554 EOF | 6611 EOF |
| 6555 if { (eval echo configure:6556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6612 if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6556 rm -rf conftest* | 6613 rm -rf conftest* |
| 6557 eval "ac_cv_lib_$ac_lib_var=yes" | 6614 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6558 else | 6615 else |
| 6559 echo "configure: failed program was:" >&5 | 6616 echo "configure: failed program was:" >&5 |
| 6560 cat conftest.$ac_ext >&5 | 6617 cat conftest.$ac_ext >&5 |
| 6577 libs_x="-lX11" | 6634 libs_x="-lX11" |
| 6578 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6635 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 6579 | 6636 |
| 6580 | 6637 |
| 6581 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6638 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 6582 echo "configure:6583: checking for XShapeSelectInput in -lXext" >&5 | 6639 echo "configure:6640: checking for XShapeSelectInput in -lXext" >&5 |
| 6583 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6640 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 6584 | 6641 |
| 6585 xe_check_libs=" -lXext " | 6642 xe_check_libs=" -lXext " |
| 6586 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
| 6587 #line 6588 "configure" | 6644 #line 6645 "configure" |
| 6588 #include "confdefs.h" | 6645 #include "confdefs.h" |
| 6589 /* Override any gcc2 internal prototype to avoid an error. */ | 6646 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6590 /* We use char because int might match the return type of a gcc2 | 6647 /* We use char because int might match the return type of a gcc2 |
| 6591 builtin and then its argument prototype would still apply. */ | 6648 builtin and then its argument prototype would still apply. */ |
| 6592 char XShapeSelectInput(); | 6649 char XShapeSelectInput(); |
| 6593 | 6650 |
| 6594 int main() { | 6651 int main() { |
| 6595 XShapeSelectInput() | 6652 XShapeSelectInput() |
| 6596 ; return 0; } | 6653 ; return 0; } |
| 6597 EOF | 6654 EOF |
| 6598 if { (eval echo configure:6599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6599 rm -rf conftest* | 6656 rm -rf conftest* |
| 6600 eval "ac_cv_lib_$ac_lib_var=yes" | 6657 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6601 else | 6658 else |
| 6602 echo "configure: failed program was:" >&5 | 6659 echo "configure: failed program was:" >&5 |
| 6603 cat conftest.$ac_ext >&5 | 6660 cat conftest.$ac_ext >&5 |
| 6616 | 6673 |
| 6617 | 6674 |
| 6618 | 6675 |
| 6619 | 6676 |
| 6620 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6677 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 6621 echo "configure:6622: checking for XtOpenDisplay in -lXt" >&5 | 6678 echo "configure:6679: checking for XtOpenDisplay in -lXt" >&5 |
| 6622 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6679 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 6623 | 6680 |
| 6624 xe_check_libs=" -lXt " | 6681 xe_check_libs=" -lXt " |
| 6625 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
| 6626 #line 6627 "configure" | 6683 #line 6684 "configure" |
| 6627 #include "confdefs.h" | 6684 #include "confdefs.h" |
| 6628 /* Override any gcc2 internal prototype to avoid an error. */ | 6685 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6629 /* We use char because int might match the return type of a gcc2 | 6686 /* We use char because int might match the return type of a gcc2 |
| 6630 builtin and then its argument prototype would still apply. */ | 6687 builtin and then its argument prototype would still apply. */ |
| 6631 char XtOpenDisplay(); | 6688 char XtOpenDisplay(); |
| 6632 | 6689 |
| 6633 int main() { | 6690 int main() { |
| 6634 XtOpenDisplay() | 6691 XtOpenDisplay() |
| 6635 ; return 0; } | 6692 ; return 0; } |
| 6636 EOF | 6693 EOF |
| 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6638 rm -rf conftest* | 6695 rm -rf conftest* |
| 6639 eval "ac_cv_lib_$ac_lib_var=yes" | 6696 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6640 else | 6697 else |
| 6641 echo "configure: failed program was:" >&5 | 6698 echo "configure: failed program was:" >&5 |
| 6642 cat conftest.$ac_ext >&5 | 6699 cat conftest.$ac_ext >&5 |
| 6655 fi | 6712 fi |
| 6656 | 6713 |
| 6657 | 6714 |
| 6658 | 6715 |
| 6659 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6716 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 6660 echo "configure:6661: checking the version of X11 being used" >&5 | 6717 echo "configure:6718: checking the version of X11 being used" >&5 |
| 6661 cat > conftest.$ac_ext <<EOF | 6718 cat > conftest.$ac_ext <<EOF |
| 6662 #line 6663 "configure" | 6719 #line 6720 "configure" |
| 6663 #include "confdefs.h" | 6720 #include "confdefs.h" |
| 6664 #include <X11/Intrinsic.h> | 6721 #include <X11/Intrinsic.h> |
| 6665 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6722 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 6666 EOF | 6723 EOF |
| 6667 if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6668 then | 6725 then |
| 6669 ./conftest foobar; x11_release=$? | 6726 ./conftest foobar; x11_release=$? |
| 6670 else | 6727 else |
| 6671 conftest_rc="$?" | 6728 conftest_rc="$?" |
| 6672 echo "configure: failed program was:" >&5 | 6729 echo "configure: failed program was:" >&5 |
| 6693 fi | 6750 fi |
| 6694 | 6751 |
| 6695 for ac_func in XConvertCase | 6752 for ac_func in XConvertCase |
| 6696 do | 6753 do |
| 6697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6698 echo "configure:6699: checking for $ac_func" >&5 | 6755 echo "configure:6756: checking for $ac_func" >&5 |
| 6699 | 6756 |
| 6700 cat > conftest.$ac_ext <<EOF | 6757 cat > conftest.$ac_ext <<EOF |
| 6701 #line 6702 "configure" | 6758 #line 6759 "configure" |
| 6702 #include "confdefs.h" | 6759 #include "confdefs.h" |
| 6703 /* System header to define __stub macros and hopefully few prototypes, | 6760 /* System header to define __stub macros and hopefully few prototypes, |
| 6704 which can conflict with char $ac_func(); below. */ | 6761 which can conflict with char $ac_func(); below. */ |
| 6705 #include <assert.h> | 6762 #include <assert.h> |
| 6706 /* Override any gcc2 internal prototype to avoid an error. */ | 6763 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6719 $ac_func(); | 6776 $ac_func(); |
| 6720 #endif | 6777 #endif |
| 6721 | 6778 |
| 6722 ; return 0; } | 6779 ; return 0; } |
| 6723 EOF | 6780 EOF |
| 6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6781 if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6725 rm -rf conftest* | 6782 rm -rf conftest* |
| 6726 eval "ac_cv_func_$ac_func=yes" | 6783 eval "ac_cv_func_$ac_func=yes" |
| 6727 else | 6784 else |
| 6728 echo "configure: failed program was:" >&5 | 6785 echo "configure: failed program was:" >&5 |
| 6729 cat conftest.$ac_ext >&5 | 6786 cat conftest.$ac_ext >&5 |
| 6751 | 6808 |
| 6752 for ac_hdr in X11/Xlocale.h | 6809 for ac_hdr in X11/Xlocale.h |
| 6753 do | 6810 do |
| 6754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6811 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6756 echo "configure:6757: checking for $ac_hdr" >&5 | 6813 echo "configure:6814: checking for $ac_hdr" >&5 |
| 6757 | 6814 |
| 6758 cat > conftest.$ac_ext <<EOF | 6815 cat > conftest.$ac_ext <<EOF |
| 6759 #line 6760 "configure" | 6816 #line 6817 "configure" |
| 6760 #include "confdefs.h" | 6817 #include "confdefs.h" |
| 6761 #include <$ac_hdr> | 6818 #include <$ac_hdr> |
| 6762 EOF | 6819 EOF |
| 6763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6764 { (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6821 { (eval echo configure:6822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6766 if test -z "$ac_err"; then | 6823 if test -z "$ac_err"; then |
| 6767 rm -rf conftest* | 6824 rm -rf conftest* |
| 6768 eval "ac_cv_header_$ac_safe=yes" | 6825 eval "ac_cv_header_$ac_safe=yes" |
| 6769 else | 6826 else |
| 6792 | 6849 |
| 6793 | 6850 |
| 6794 for ac_func in XRegisterIMInstantiateCallback | 6851 for ac_func in XRegisterIMInstantiateCallback |
| 6795 do | 6852 do |
| 6796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6797 echo "configure:6798: checking for $ac_func" >&5 | 6854 echo "configure:6855: checking for $ac_func" >&5 |
| 6798 | 6855 |
| 6799 cat > conftest.$ac_ext <<EOF | 6856 cat > conftest.$ac_ext <<EOF |
| 6800 #line 6801 "configure" | 6857 #line 6858 "configure" |
| 6801 #include "confdefs.h" | 6858 #include "confdefs.h" |
| 6802 /* System header to define __stub macros and hopefully few prototypes, | 6859 /* System header to define __stub macros and hopefully few prototypes, |
| 6803 which can conflict with char $ac_func(); below. */ | 6860 which can conflict with char $ac_func(); below. */ |
| 6804 #include <assert.h> | 6861 #include <assert.h> |
| 6805 /* Override any gcc2 internal prototype to avoid an error. */ | 6862 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6818 $ac_func(); | 6875 $ac_func(); |
| 6819 #endif | 6876 #endif |
| 6820 | 6877 |
| 6821 ; return 0; } | 6878 ; return 0; } |
| 6822 EOF | 6879 EOF |
| 6823 if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6824 rm -rf conftest* | 6881 rm -rf conftest* |
| 6825 eval "ac_cv_func_$ac_func=yes" | 6882 eval "ac_cv_func_$ac_func=yes" |
| 6826 else | 6883 else |
| 6827 echo "configure: failed program was:" >&5 | 6884 echo "configure: failed program was:" >&5 |
| 6828 cat conftest.$ac_ext >&5 | 6885 cat conftest.$ac_ext >&5 |
| 6846 echo "$ac_t""no" 1>&6 | 6903 echo "$ac_t""no" 1>&6 |
| 6847 fi | 6904 fi |
| 6848 done | 6905 done |
| 6849 | 6906 |
| 6850 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6907 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
| 6851 echo "configure:6852: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6908 echo "configure:6909: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
| 6852 cat > conftest.$ac_ext <<EOF | 6909 cat > conftest.$ac_ext <<EOF |
| 6853 #line 6854 "configure" | 6910 #line 6911 "configure" |
| 6854 #include "confdefs.h" | 6911 #include "confdefs.h" |
| 6855 | 6912 |
| 6856 #define NeedFunctionPrototypes 1 | 6913 #define NeedFunctionPrototypes 1 |
| 6857 #include <X11/Xlib.h> | 6914 #include <X11/Xlib.h> |
| 6858 extern Bool XRegisterIMInstantiateCallback( | 6915 extern Bool XRegisterIMInstantiateCallback( |
| 6860 | 6917 |
| 6861 int main() { | 6918 int main() { |
| 6862 | 6919 |
| 6863 ; return 0; } | 6920 ; return 0; } |
| 6864 EOF | 6921 EOF |
| 6865 if { (eval echo configure:6866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6922 if { (eval echo configure:6923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 6866 rm -rf conftest* | 6923 rm -rf conftest* |
| 6867 echo "$ac_t""yes" 1>&6 | 6924 echo "$ac_t""yes" 1>&6 |
| 6868 else | 6925 else |
| 6869 echo "configure: failed program was:" >&5 | 6926 echo "configure: failed program was:" >&5 |
| 6870 cat conftest.$ac_ext >&5 | 6927 cat conftest.$ac_ext >&5 |
| 6881 fi | 6938 fi |
| 6882 rm -f conftest* | 6939 rm -f conftest* |
| 6883 | 6940 |
| 6884 test -z "$with_xmu" && { | 6941 test -z "$with_xmu" && { |
| 6885 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6942 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 6886 echo "configure:6887: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6943 echo "configure:6944: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 6887 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6944 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 6888 | 6945 |
| 6889 xe_check_libs=" -lXmu " | 6946 xe_check_libs=" -lXmu " |
| 6890 cat > conftest.$ac_ext <<EOF | 6947 cat > conftest.$ac_ext <<EOF |
| 6891 #line 6892 "configure" | 6948 #line 6949 "configure" |
| 6892 #include "confdefs.h" | 6949 #include "confdefs.h" |
| 6893 /* Override any gcc2 internal prototype to avoid an error. */ | 6950 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6894 /* We use char because int might match the return type of a gcc2 | 6951 /* We use char because int might match the return type of a gcc2 |
| 6895 builtin and then its argument prototype would still apply. */ | 6952 builtin and then its argument prototype would still apply. */ |
| 6896 char XmuReadBitmapDataFromFile(); | 6953 char XmuReadBitmapDataFromFile(); |
| 6897 | 6954 |
| 6898 int main() { | 6955 int main() { |
| 6899 XmuReadBitmapDataFromFile() | 6956 XmuReadBitmapDataFromFile() |
| 6900 ; return 0; } | 6957 ; return 0; } |
| 6901 EOF | 6958 EOF |
| 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6903 rm -rf conftest* | 6960 rm -rf conftest* |
| 6904 eval "ac_cv_lib_$ac_lib_var=yes" | 6961 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6905 else | 6962 else |
| 6906 echo "configure: failed program was:" >&5 | 6963 echo "configure: failed program was:" >&5 |
| 6907 cat conftest.$ac_ext >&5 | 6964 cat conftest.$ac_ext >&5 |
| 6936 | 6993 |
| 6937 fi | 6994 fi |
| 6938 | 6995 |
| 6939 | 6996 |
| 6940 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6997 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 6941 echo "configure:6942: checking for main in -lXbsd" >&5 | 6998 echo "configure:6999: checking for main in -lXbsd" >&5 |
| 6942 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6999 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 6943 | 7000 |
| 6944 xe_check_libs=" -lXbsd " | 7001 xe_check_libs=" -lXbsd " |
| 6945 cat > conftest.$ac_ext <<EOF | 7002 cat > conftest.$ac_ext <<EOF |
| 6946 #line 6947 "configure" | 7003 #line 7004 "configure" |
| 6947 #include "confdefs.h" | 7004 #include "confdefs.h" |
| 6948 | 7005 |
| 6949 int main() { | 7006 int main() { |
| 6950 main() | 7007 main() |
| 6951 ; return 0; } | 7008 ; return 0; } |
| 6952 EOF | 7009 EOF |
| 6953 if { (eval echo configure:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6954 rm -rf conftest* | 7011 rm -rf conftest* |
| 6955 eval "ac_cv_lib_$ac_lib_var=yes" | 7012 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6956 else | 7013 else |
| 6957 echo "configure: failed program was:" >&5 | 7014 echo "configure: failed program was:" >&5 |
| 6958 cat conftest.$ac_ext >&5 | 7015 cat conftest.$ac_ext >&5 |
| 6985 fi | 7042 fi |
| 6986 | 7043 |
| 6987 fi | 7044 fi |
| 6988 if test "$with_msw" != "no"; then | 7045 if test "$with_msw" != "no"; then |
| 6989 echo "checking for MS-Windows" 1>&6 | 7046 echo "checking for MS-Windows" 1>&6 |
| 6990 echo "configure:6991: checking for MS-Windows" >&5 | 7047 echo "configure:7048: checking for MS-Windows" >&5 |
| 6991 | 7048 |
| 6992 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7049 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 6993 echo "configure:6994: checking for main in -lgdi32" >&5 | 7050 echo "configure:7051: checking for main in -lgdi32" >&5 |
| 6994 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7051 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 6995 | 7052 |
| 6996 xe_check_libs=" -lgdi32 " | 7053 xe_check_libs=" -lgdi32 " |
| 6997 cat > conftest.$ac_ext <<EOF | 7054 cat > conftest.$ac_ext <<EOF |
| 6998 #line 6999 "configure" | 7055 #line 7056 "configure" |
| 6999 #include "confdefs.h" | 7056 #include "confdefs.h" |
| 7000 | 7057 |
| 7001 int main() { | 7058 int main() { |
| 7002 main() | 7059 main() |
| 7003 ; return 0; } | 7060 ; return 0; } |
| 7004 EOF | 7061 EOF |
| 7005 if { (eval echo configure:7006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7062 if { (eval echo configure:7063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7006 rm -rf conftest* | 7063 rm -rf conftest* |
| 7007 eval "ac_cv_lib_$ac_lib_var=yes" | 7064 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7008 else | 7065 else |
| 7009 echo "configure: failed program was:" >&5 | 7066 echo "configure: failed program was:" >&5 |
| 7010 cat conftest.$ac_ext >&5 | 7067 cat conftest.$ac_ext >&5 |
| 7073 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7130 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 7074 echo " xemacs will be linked with \"dialog-msw.o\"" | 7131 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 7075 fi | 7132 fi |
| 7076 fi | 7133 fi |
| 7077 cat > conftest.$ac_ext <<EOF | 7134 cat > conftest.$ac_ext <<EOF |
| 7078 #line 7079 "configure" | 7135 #line 7136 "configure" |
| 7079 #include "confdefs.h" | 7136 #include "confdefs.h" |
| 7080 #include <fcntl.h> | 7137 #include <fcntl.h> |
| 7081 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7138 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 7082 EOF | 7139 EOF |
| 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7140 if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7084 then | 7141 then |
| 7085 { test "$extra_verbose" = "yes" && cat << \EOF | 7142 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7086 Defining HAVE_MSG_SELECT | 7143 Defining HAVE_MSG_SELECT |
| 7087 EOF | 7144 EOF |
| 7088 cat >> confdefs.h <<\EOF | 7145 cat >> confdefs.h <<\EOF |
| 7142 fi | 7199 fi |
| 7143 | 7200 |
| 7144 if test "$with_x11" = "yes"; then | 7201 if test "$with_x11" = "yes"; then |
| 7145 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
| 7146 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
| 7147 echo "configure:7148: checking for X11/extensions/shape.h" >&5 | 7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5 |
| 7148 | 7205 |
| 7149 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
| 7150 #line 7151 "configure" | 7207 #line 7208 "configure" |
| 7151 #include "confdefs.h" | 7208 #include "confdefs.h" |
| 7152 #include <X11/extensions/shape.h> | 7209 #include <X11/extensions/shape.h> |
| 7153 EOF | 7210 EOF |
| 7154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7155 { (eval echo configure:7156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7157 if test -z "$ac_err"; then | 7214 if test -z "$ac_err"; then |
| 7158 rm -rf conftest* | 7215 rm -rf conftest* |
| 7159 eval "ac_cv_header_$ac_safe=yes" | 7216 eval "ac_cv_header_$ac_safe=yes" |
| 7160 else | 7217 else |
| 7202 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7259 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 7203 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7260 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 7204 esac | 7261 esac |
| 7205 | 7262 |
| 7206 echo "checking for WM_COMMAND option" 1>&6 | 7263 echo "checking for WM_COMMAND option" 1>&6 |
| 7207 echo "configure:7208: checking for WM_COMMAND option" >&5; | 7264 echo "configure:7265: checking for WM_COMMAND option" >&5; |
| 7208 if test "$with_wmcommand" != "no"; then | 7265 if test "$with_wmcommand" != "no"; then |
| 7209 { test "$extra_verbose" = "yes" && cat << \EOF | 7266 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7210 Defining HAVE_WMCOMMAND | 7267 Defining HAVE_WMCOMMAND |
| 7211 EOF | 7268 EOF |
| 7212 cat >> confdefs.h <<\EOF | 7269 cat >> confdefs.h <<\EOF |
| 7217 fi | 7274 fi |
| 7218 | 7275 |
| 7219 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7276 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 7220 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7277 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 7221 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7278 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 7222 echo "configure:7223: checking for X11/Xauth.h" >&5 | 7279 echo "configure:7280: checking for X11/Xauth.h" >&5 |
| 7223 | 7280 |
| 7224 cat > conftest.$ac_ext <<EOF | 7281 cat > conftest.$ac_ext <<EOF |
| 7225 #line 7226 "configure" | 7282 #line 7283 "configure" |
| 7226 #include "confdefs.h" | 7283 #include "confdefs.h" |
| 7227 #include <X11/Xauth.h> | 7284 #include <X11/Xauth.h> |
| 7228 EOF | 7285 EOF |
| 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7287 { (eval echo configure:7288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7232 if test -z "$ac_err"; then | 7289 if test -z "$ac_err"; then |
| 7233 rm -rf conftest* | 7290 rm -rf conftest* |
| 7234 eval "ac_cv_header_$ac_safe=yes" | 7291 eval "ac_cv_header_$ac_safe=yes" |
| 7235 else | 7292 else |
| 7248 with_xauth=no | 7305 with_xauth=no |
| 7249 fi | 7306 fi |
| 7250 } | 7307 } |
| 7251 test -z "$with_xauth" && { | 7308 test -z "$with_xauth" && { |
| 7252 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7309 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 7253 echo "configure:7254: checking for XauGetAuthByAddr in -lXau" >&5 | 7310 echo "configure:7311: checking for XauGetAuthByAddr in -lXau" >&5 |
| 7254 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7311 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 7255 | 7312 |
| 7256 xe_check_libs=" -lXau " | 7313 xe_check_libs=" -lXau " |
| 7257 cat > conftest.$ac_ext <<EOF | 7314 cat > conftest.$ac_ext <<EOF |
| 7258 #line 7259 "configure" | 7315 #line 7316 "configure" |
| 7259 #include "confdefs.h" | 7316 #include "confdefs.h" |
| 7260 /* Override any gcc2 internal prototype to avoid an error. */ | 7317 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7261 /* We use char because int might match the return type of a gcc2 | 7318 /* We use char because int might match the return type of a gcc2 |
| 7262 builtin and then its argument prototype would still apply. */ | 7319 builtin and then its argument prototype would still apply. */ |
| 7263 char XauGetAuthByAddr(); | 7320 char XauGetAuthByAddr(); |
| 7264 | 7321 |
| 7265 int main() { | 7322 int main() { |
| 7266 XauGetAuthByAddr() | 7323 XauGetAuthByAddr() |
| 7267 ; return 0; } | 7324 ; return 0; } |
| 7268 EOF | 7325 EOF |
| 7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7326 if { (eval echo configure:7327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7270 rm -rf conftest* | 7327 rm -rf conftest* |
| 7271 eval "ac_cv_lib_$ac_lib_var=yes" | 7328 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7272 else | 7329 else |
| 7273 echo "configure: failed program was:" >&5 | 7330 echo "configure: failed program was:" >&5 |
| 7274 cat conftest.$ac_ext >&5 | 7331 cat conftest.$ac_ext >&5 |
| 7309 | 7366 |
| 7310 if test "$with_tooltalk" != "no" ; then | 7367 if test "$with_tooltalk" != "no" ; then |
| 7311 for dir in "" "Tt/" "desktop/" ; do | 7368 for dir in "" "Tt/" "desktop/" ; do |
| 7312 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7369 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 7313 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7370 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 7314 echo "configure:7315: checking for ${dir}tt_c.h" >&5 | 7371 echo "configure:7372: checking for ${dir}tt_c.h" >&5 |
| 7315 | 7372 |
| 7316 cat > conftest.$ac_ext <<EOF | 7373 cat > conftest.$ac_ext <<EOF |
| 7317 #line 7318 "configure" | 7374 #line 7375 "configure" |
| 7318 #include "confdefs.h" | 7375 #include "confdefs.h" |
| 7319 #include <${dir}tt_c.h> | 7376 #include <${dir}tt_c.h> |
| 7320 EOF | 7377 EOF |
| 7321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7322 { (eval echo configure:7323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7379 { (eval echo configure:7380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7324 if test -z "$ac_err"; then | 7381 if test -z "$ac_err"; then |
| 7325 rm -rf conftest* | 7382 rm -rf conftest* |
| 7326 eval "ac_cv_header_$ac_safe=yes" | 7383 eval "ac_cv_header_$ac_safe=yes" |
| 7327 else | 7384 else |
| 7353 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7410 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 7354 | 7411 |
| 7355 xe_msg_checking="for tt_message_create in -ltt" | 7412 xe_msg_checking="for tt_message_create in -ltt" |
| 7356 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7413 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 7357 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7414 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7358 echo "configure:7359: checking "$xe_msg_checking"" >&5 | 7415 echo "configure:7416: checking "$xe_msg_checking"" >&5 |
| 7359 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7416 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 7360 | 7417 |
| 7361 xe_check_libs=" -ltt $extra_libs" | 7418 xe_check_libs=" -ltt $extra_libs" |
| 7362 cat > conftest.$ac_ext <<EOF | 7419 cat > conftest.$ac_ext <<EOF |
| 7363 #line 7364 "configure" | 7420 #line 7421 "configure" |
| 7364 #include "confdefs.h" | 7421 #include "confdefs.h" |
| 7365 /* Override any gcc2 internal prototype to avoid an error. */ | 7422 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7366 /* We use char because int might match the return type of a gcc2 | 7423 /* We use char because int might match the return type of a gcc2 |
| 7367 builtin and then its argument prototype would still apply. */ | 7424 builtin and then its argument prototype would still apply. */ |
| 7368 char tt_message_create(); | 7425 char tt_message_create(); |
| 7369 | 7426 |
| 7370 int main() { | 7427 int main() { |
| 7371 tt_message_create() | 7428 tt_message_create() |
| 7372 ; return 0; } | 7429 ; return 0; } |
| 7373 EOF | 7430 EOF |
| 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7431 if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7375 rm -rf conftest* | 7432 rm -rf conftest* |
| 7376 eval "ac_cv_lib_$ac_lib_var=yes" | 7433 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7377 else | 7434 else |
| 7378 echo "configure: failed program was:" >&5 | 7435 echo "configure: failed program was:" >&5 |
| 7379 cat conftest.$ac_ext >&5 | 7436 cat conftest.$ac_ext >&5 |
| 7426 fi | 7483 fi |
| 7427 fi | 7484 fi |
| 7428 | 7485 |
| 7429 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7486 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 7430 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7487 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 7431 echo "configure:7432: checking for Dt/Dt.h" >&5 | 7488 echo "configure:7489: checking for Dt/Dt.h" >&5 |
| 7432 | 7489 |
| 7433 cat > conftest.$ac_ext <<EOF | 7490 cat > conftest.$ac_ext <<EOF |
| 7434 #line 7435 "configure" | 7491 #line 7492 "configure" |
| 7435 #include "confdefs.h" | 7492 #include "confdefs.h" |
| 7436 #include <Dt/Dt.h> | 7493 #include <Dt/Dt.h> |
| 7437 EOF | 7494 EOF |
| 7438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7439 { (eval echo configure:7440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7496 { (eval echo configure:7497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7441 if test -z "$ac_err"; then | 7498 if test -z "$ac_err"; then |
| 7442 rm -rf conftest* | 7499 rm -rf conftest* |
| 7443 eval "ac_cv_header_$ac_safe=yes" | 7500 eval "ac_cv_header_$ac_safe=yes" |
| 7444 else | 7501 else |
| 7457 with_cde=no | 7514 with_cde=no |
| 7458 fi | 7515 fi |
| 7459 } | 7516 } |
| 7460 test -z "$with_cde" && { | 7517 test -z "$with_cde" && { |
| 7461 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7518 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 7462 echo "configure:7463: checking for DtDndDragStart in -lDtSvc" >&5 | 7519 echo "configure:7520: checking for DtDndDragStart in -lDtSvc" >&5 |
| 7463 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7520 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 7464 | 7521 |
| 7465 xe_check_libs=" -lDtSvc " | 7522 xe_check_libs=" -lDtSvc " |
| 7466 cat > conftest.$ac_ext <<EOF | 7523 cat > conftest.$ac_ext <<EOF |
| 7467 #line 7468 "configure" | 7524 #line 7525 "configure" |
| 7468 #include "confdefs.h" | 7525 #include "confdefs.h" |
| 7469 /* Override any gcc2 internal prototype to avoid an error. */ | 7526 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7470 /* We use char because int might match the return type of a gcc2 | 7527 /* We use char because int might match the return type of a gcc2 |
| 7471 builtin and then its argument prototype would still apply. */ | 7528 builtin and then its argument prototype would still apply. */ |
| 7472 char DtDndDragStart(); | 7529 char DtDndDragStart(); |
| 7473 | 7530 |
| 7474 int main() { | 7531 int main() { |
| 7475 DtDndDragStart() | 7532 DtDndDragStart() |
| 7476 ; return 0; } | 7533 ; return 0; } |
| 7477 EOF | 7534 EOF |
| 7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7479 rm -rf conftest* | 7536 rm -rf conftest* |
| 7480 eval "ac_cv_lib_$ac_lib_var=yes" | 7537 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7481 else | 7538 else |
| 7482 echo "configure: failed program was:" >&5 | 7539 echo "configure: failed program was:" >&5 |
| 7483 cat conftest.$ac_ext >&5 | 7540 cat conftest.$ac_ext >&5 |
| 7546 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7603 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
| 7547 fi | 7604 fi |
| 7548 | 7605 |
| 7549 if test "$with_dragndrop" != "no" ; then | 7606 if test "$with_dragndrop" != "no" ; then |
| 7550 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7607 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 7551 echo "configure:7552: checking if drag and drop API is needed" >&5 | 7608 echo "configure:7609: checking if drag and drop API is needed" >&5 |
| 7552 if test -n "$dragndrop_proto" ; then | 7609 if test -n "$dragndrop_proto" ; then |
| 7553 with_dragndrop=yes | 7610 with_dragndrop=yes |
| 7554 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7611 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 7555 { test "$extra_verbose" = "yes" && cat << \EOF | 7612 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7556 Defining HAVE_DRAGNDROP | 7613 Defining HAVE_DRAGNDROP |
| 7566 echo "$ac_t""no" 1>&6 | 7623 echo "$ac_t""no" 1>&6 |
| 7567 fi | 7624 fi |
| 7568 fi | 7625 fi |
| 7569 | 7626 |
| 7570 echo "checking for LDAP" 1>&6 | 7627 echo "checking for LDAP" 1>&6 |
| 7571 echo "configure:7572: checking for LDAP" >&5 | 7628 echo "configure:7629: checking for LDAP" >&5 |
| 7572 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7629 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 7573 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7630 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 7574 echo "configure:7575: checking for ldap.h" >&5 | 7631 echo "configure:7632: checking for ldap.h" >&5 |
| 7575 | 7632 |
| 7576 cat > conftest.$ac_ext <<EOF | 7633 cat > conftest.$ac_ext <<EOF |
| 7577 #line 7578 "configure" | 7634 #line 7635 "configure" |
| 7578 #include "confdefs.h" | 7635 #include "confdefs.h" |
| 7579 #include <ldap.h> | 7636 #include <ldap.h> |
| 7580 EOF | 7637 EOF |
| 7581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7582 { (eval echo configure:7583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7639 { (eval echo configure:7640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7584 if test -z "$ac_err"; then | 7641 if test -z "$ac_err"; then |
| 7585 rm -rf conftest* | 7642 rm -rf conftest* |
| 7586 eval "ac_cv_header_$ac_safe=yes" | 7643 eval "ac_cv_header_$ac_safe=yes" |
| 7587 else | 7644 else |
| 7600 with_ldap=no | 7657 with_ldap=no |
| 7601 fi | 7658 fi |
| 7602 } | 7659 } |
| 7603 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7660 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 7604 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7661 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 7605 echo "configure:7606: checking for lber.h" >&5 | 7662 echo "configure:7663: checking for lber.h" >&5 |
| 7606 | 7663 |
| 7607 cat > conftest.$ac_ext <<EOF | 7664 cat > conftest.$ac_ext <<EOF |
| 7608 #line 7609 "configure" | 7665 #line 7666 "configure" |
| 7609 #include "confdefs.h" | 7666 #include "confdefs.h" |
| 7610 #include <lber.h> | 7667 #include <lber.h> |
| 7611 EOF | 7668 EOF |
| 7612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7670 { (eval echo configure:7671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7615 if test -z "$ac_err"; then | 7672 if test -z "$ac_err"; then |
| 7616 rm -rf conftest* | 7673 rm -rf conftest* |
| 7617 eval "ac_cv_header_$ac_safe=yes" | 7674 eval "ac_cv_header_$ac_safe=yes" |
| 7618 else | 7675 else |
| 7632 fi | 7689 fi |
| 7633 } | 7690 } |
| 7634 if test "$with_ldap" != "no"; then | 7691 if test "$with_ldap" != "no"; then |
| 7635 | 7692 |
| 7636 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7693 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 7637 echo "configure:7638: checking for ldap_search in -lldap" >&5 | 7694 echo "configure:7695: checking for ldap_search in -lldap" >&5 |
| 7638 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7695 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 7639 | 7696 |
| 7640 xe_check_libs=" -lldap " | 7697 xe_check_libs=" -lldap " |
| 7641 cat > conftest.$ac_ext <<EOF | 7698 cat > conftest.$ac_ext <<EOF |
| 7642 #line 7643 "configure" | 7699 #line 7700 "configure" |
| 7643 #include "confdefs.h" | 7700 #include "confdefs.h" |
| 7644 /* Override any gcc2 internal prototype to avoid an error. */ | 7701 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7645 /* We use char because int might match the return type of a gcc2 | 7702 /* We use char because int might match the return type of a gcc2 |
| 7646 builtin and then its argument prototype would still apply. */ | 7703 builtin and then its argument prototype would still apply. */ |
| 7647 char ldap_search(); | 7704 char ldap_search(); |
| 7648 | 7705 |
| 7649 int main() { | 7706 int main() { |
| 7650 ldap_search() | 7707 ldap_search() |
| 7651 ; return 0; } | 7708 ; return 0; } |
| 7652 EOF | 7709 EOF |
| 7653 if { (eval echo configure:7654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7710 if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7654 rm -rf conftest* | 7711 rm -rf conftest* |
| 7655 eval "ac_cv_lib_$ac_lib_var=yes" | 7712 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7656 else | 7713 else |
| 7657 echo "configure: failed program was:" >&5 | 7714 echo "configure: failed program was:" >&5 |
| 7658 cat conftest.$ac_ext >&5 | 7715 cat conftest.$ac_ext >&5 |
| 7673 | 7730 |
| 7674 test "$with_ldap_nolber" = "no" && { | 7731 test "$with_ldap_nolber" = "no" && { |
| 7675 xe_msg_checking="for ldap_open in -lldap" | 7732 xe_msg_checking="for ldap_open in -lldap" |
| 7676 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7733 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 7677 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7734 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7678 echo "configure:7679: checking "$xe_msg_checking"" >&5 | 7735 echo "configure:7736: checking "$xe_msg_checking"" >&5 |
| 7679 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7736 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7680 | 7737 |
| 7681 xe_check_libs=" -lldap -llber" | 7738 xe_check_libs=" -lldap -llber" |
| 7682 cat > conftest.$ac_ext <<EOF | 7739 cat > conftest.$ac_ext <<EOF |
| 7683 #line 7684 "configure" | 7740 #line 7741 "configure" |
| 7684 #include "confdefs.h" | 7741 #include "confdefs.h" |
| 7685 /* Override any gcc2 internal prototype to avoid an error. */ | 7742 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7686 /* We use char because int might match the return type of a gcc2 | 7743 /* We use char because int might match the return type of a gcc2 |
| 7687 builtin and then its argument prototype would still apply. */ | 7744 builtin and then its argument prototype would still apply. */ |
| 7688 char ldap_open(); | 7745 char ldap_open(); |
| 7689 | 7746 |
| 7690 int main() { | 7747 int main() { |
| 7691 ldap_open() | 7748 ldap_open() |
| 7692 ; return 0; } | 7749 ; return 0; } |
| 7693 EOF | 7750 EOF |
| 7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7751 if { (eval echo configure:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7695 rm -rf conftest* | 7752 rm -rf conftest* |
| 7696 eval "ac_cv_lib_$ac_lib_var=yes" | 7753 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7697 else | 7754 else |
| 7698 echo "configure: failed program was:" >&5 | 7755 echo "configure: failed program was:" >&5 |
| 7699 cat conftest.$ac_ext >&5 | 7756 cat conftest.$ac_ext >&5 |
| 7714 } | 7771 } |
| 7715 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7772 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 7716 xe_msg_checking="for ldap_open in -lldap" | 7773 xe_msg_checking="for ldap_open in -lldap" |
| 7717 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7774 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 7718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7775 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7719 echo "configure:7720: checking "$xe_msg_checking"" >&5 | 7776 echo "configure:7777: checking "$xe_msg_checking"" >&5 |
| 7720 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7777 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7721 | 7778 |
| 7722 xe_check_libs=" -lldap -llber -lkrb" | 7779 xe_check_libs=" -lldap -llber -lkrb" |
| 7723 cat > conftest.$ac_ext <<EOF | 7780 cat > conftest.$ac_ext <<EOF |
| 7724 #line 7725 "configure" | 7781 #line 7782 "configure" |
| 7725 #include "confdefs.h" | 7782 #include "confdefs.h" |
| 7726 /* Override any gcc2 internal prototype to avoid an error. */ | 7783 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7727 /* We use char because int might match the return type of a gcc2 | 7784 /* We use char because int might match the return type of a gcc2 |
| 7728 builtin and then its argument prototype would still apply. */ | 7785 builtin and then its argument prototype would still apply. */ |
| 7729 char ldap_open(); | 7786 char ldap_open(); |
| 7730 | 7787 |
| 7731 int main() { | 7788 int main() { |
| 7732 ldap_open() | 7789 ldap_open() |
| 7733 ; return 0; } | 7790 ; return 0; } |
| 7734 EOF | 7791 EOF |
| 7735 if { (eval echo configure:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7792 if { (eval echo configure:7793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7736 rm -rf conftest* | 7793 rm -rf conftest* |
| 7737 eval "ac_cv_lib_$ac_lib_var=yes" | 7794 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7738 else | 7795 else |
| 7739 echo "configure: failed program was:" >&5 | 7796 echo "configure: failed program was:" >&5 |
| 7740 cat conftest.$ac_ext >&5 | 7797 cat conftest.$ac_ext >&5 |
| 7755 } | 7812 } |
| 7756 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7813 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 7757 xe_msg_checking="for ldap_open in -lldap" | 7814 xe_msg_checking="for ldap_open in -lldap" |
| 7758 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7815 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 7759 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7816 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7760 echo "configure:7761: checking "$xe_msg_checking"" >&5 | 7817 echo "configure:7818: checking "$xe_msg_checking"" >&5 |
| 7761 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7818 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7762 | 7819 |
| 7763 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7820 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 7764 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
| 7765 #line 7766 "configure" | 7822 #line 7823 "configure" |
| 7766 #include "confdefs.h" | 7823 #include "confdefs.h" |
| 7767 /* Override any gcc2 internal prototype to avoid an error. */ | 7824 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7768 /* We use char because int might match the return type of a gcc2 | 7825 /* We use char because int might match the return type of a gcc2 |
| 7769 builtin and then its argument prototype would still apply. */ | 7826 builtin and then its argument prototype would still apply. */ |
| 7770 char ldap_open(); | 7827 char ldap_open(); |
| 7771 | 7828 |
| 7772 int main() { | 7829 int main() { |
| 7773 ldap_open() | 7830 ldap_open() |
| 7774 ; return 0; } | 7831 ; return 0; } |
| 7775 EOF | 7832 EOF |
| 7776 if { (eval echo configure:7777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7777 rm -rf conftest* | 7834 rm -rf conftest* |
| 7778 eval "ac_cv_lib_$ac_lib_var=yes" | 7835 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7779 else | 7836 else |
| 7780 echo "configure: failed program was:" >&5 | 7837 echo "configure: failed program was:" >&5 |
| 7781 cat conftest.$ac_ext >&5 | 7838 cat conftest.$ac_ext >&5 |
| 7822 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
| 7823 fi | 7880 fi |
| 7824 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 7825 do | 7882 do |
| 7826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7827 echo "configure:7828: checking for $ac_func" >&5 | 7884 echo "configure:7885: checking for $ac_func" >&5 |
| 7828 | 7885 |
| 7829 cat > conftest.$ac_ext <<EOF | 7886 cat > conftest.$ac_ext <<EOF |
| 7830 #line 7831 "configure" | 7887 #line 7888 "configure" |
| 7831 #include "confdefs.h" | 7888 #include "confdefs.h" |
| 7832 /* System header to define __stub macros and hopefully few prototypes, | 7889 /* System header to define __stub macros and hopefully few prototypes, |
| 7833 which can conflict with char $ac_func(); below. */ | 7890 which can conflict with char $ac_func(); below. */ |
| 7834 #include <assert.h> | 7891 #include <assert.h> |
| 7835 /* Override any gcc2 internal prototype to avoid an error. */ | 7892 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7848 $ac_func(); | 7905 $ac_func(); |
| 7849 #endif | 7906 #endif |
| 7850 | 7907 |
| 7851 ; return 0; } | 7908 ; return 0; } |
| 7852 EOF | 7909 EOF |
| 7853 if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7854 rm -rf conftest* | 7911 rm -rf conftest* |
| 7855 eval "ac_cv_func_$ac_func=yes" | 7912 eval "ac_cv_func_$ac_func=yes" |
| 7856 else | 7913 else |
| 7857 echo "configure: failed program was:" >&5 | 7914 echo "configure: failed program was:" >&5 |
| 7858 cat conftest.$ac_ext >&5 | 7915 cat conftest.$ac_ext >&5 |
| 7879 | 7936 |
| 7880 fi | 7937 fi |
| 7881 | 7938 |
| 7882 if test "$with_postgresql" != "no"; then | 7939 if test "$with_postgresql" != "no"; then |
| 7883 echo "checking for PostgreSQL" 1>&6 | 7940 echo "checking for PostgreSQL" 1>&6 |
| 7884 echo "configure:7885: checking for PostgreSQL" >&5 | 7941 echo "configure:7942: checking for PostgreSQL" >&5 |
| 7885 | 7942 |
| 7886 for header_dir in "" "pgsql/" "postgresql/"; do | 7943 for header_dir in "" "pgsql/" "postgresql/"; do |
| 7887 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
| 7888 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
| 7889 echo "configure:7890: checking for ${header_dir}libpq-fe.h" >&5 | 7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5 |
| 7890 | 7947 |
| 7891 cat > conftest.$ac_ext <<EOF | 7948 cat > conftest.$ac_ext <<EOF |
| 7892 #line 7893 "configure" | 7949 #line 7950 "configure" |
| 7893 #include "confdefs.h" | 7950 #include "confdefs.h" |
| 7894 #include <${header_dir}libpq-fe.h> | 7951 #include <${header_dir}libpq-fe.h> |
| 7895 EOF | 7952 EOF |
| 7896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7897 { (eval echo configure:7898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7899 if test -z "$ac_err"; then | 7956 if test -z "$ac_err"; then |
| 7900 rm -rf conftest* | 7957 rm -rf conftest* |
| 7901 eval "ac_cv_header_$ac_safe=yes" | 7958 eval "ac_cv_header_$ac_safe=yes" |
| 7902 else | 7959 else |
| 7916 | 7973 |
| 7917 done | 7974 done |
| 7918 | 7975 |
| 7919 test -n "$libpq_fe_h_file" && { | 7976 test -n "$libpq_fe_h_file" && { |
| 7920 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
| 7921 echo "configure:7922: checking for PQconnectdb in -lpq" >&5 | 7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5 |
| 7922 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
| 7923 | 7980 |
| 7924 xe_check_libs=" -lpq " | 7981 xe_check_libs=" -lpq " |
| 7925 cat > conftest.$ac_ext <<EOF | 7982 cat > conftest.$ac_ext <<EOF |
| 7926 #line 7927 "configure" | 7983 #line 7984 "configure" |
| 7927 #include "confdefs.h" | 7984 #include "confdefs.h" |
| 7928 /* Override any gcc2 internal prototype to avoid an error. */ | 7985 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7929 /* We use char because int might match the return type of a gcc2 | 7986 /* We use char because int might match the return type of a gcc2 |
| 7930 builtin and then its argument prototype would still apply. */ | 7987 builtin and then its argument prototype would still apply. */ |
| 7931 char PQconnectdb(); | 7988 char PQconnectdb(); |
| 7932 | 7989 |
| 7933 int main() { | 7990 int main() { |
| 7934 PQconnectdb() | 7991 PQconnectdb() |
| 7935 ; return 0; } | 7992 ; return 0; } |
| 7936 EOF | 7993 EOF |
| 7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7938 rm -rf conftest* | 7995 rm -rf conftest* |
| 7939 eval "ac_cv_lib_$ac_lib_var=yes" | 7996 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7940 else | 7997 else |
| 7941 echo "configure: failed program was:" >&5 | 7998 echo "configure: failed program was:" >&5 |
| 7942 cat conftest.$ac_ext >&5 | 7999 cat conftest.$ac_ext >&5 |
| 7965 EOF | 8022 EOF |
| 7966 } | 8023 } |
| 7967 | 8024 |
| 7968 | 8025 |
| 7969 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
| 7970 echo "configure:7971: checking for PQconnectStart in -lpq" >&5 | 8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5 |
| 7971 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
| 7972 | 8029 |
| 7973 xe_check_libs=" -lpq " | 8030 xe_check_libs=" -lpq " |
| 7974 cat > conftest.$ac_ext <<EOF | 8031 cat > conftest.$ac_ext <<EOF |
| 7975 #line 7976 "configure" | 8032 #line 8033 "configure" |
| 7976 #include "confdefs.h" | 8033 #include "confdefs.h" |
| 7977 /* Override any gcc2 internal prototype to avoid an error. */ | 8034 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7978 /* We use char because int might match the return type of a gcc2 | 8035 /* We use char because int might match the return type of a gcc2 |
| 7979 builtin and then its argument prototype would still apply. */ | 8036 builtin and then its argument prototype would still apply. */ |
| 7980 char PQconnectStart(); | 8037 char PQconnectStart(); |
| 7981 | 8038 |
| 7982 int main() { | 8039 int main() { |
| 7983 PQconnectStart() | 8040 PQconnectStart() |
| 7984 ; return 0; } | 8041 ; return 0; } |
| 7985 EOF | 8042 EOF |
| 7986 if { (eval echo configure:7987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7987 rm -rf conftest* | 8044 rm -rf conftest* |
| 7988 eval "ac_cv_lib_$ac_lib_var=yes" | 8045 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7989 else | 8046 else |
| 7990 echo "configure: failed program was:" >&5 | 8047 echo "configure: failed program was:" >&5 |
| 7991 cat conftest.$ac_ext >&5 | 8048 cat conftest.$ac_ext >&5 |
| 8029 fi | 8086 fi |
| 8030 | 8087 |
| 8031 | 8088 |
| 8032 if test "$window_system" != "none"; then | 8089 if test "$window_system" != "none"; then |
| 8033 echo "checking for graphics libraries" 1>&6 | 8090 echo "checking for graphics libraries" 1>&6 |
| 8034 echo "configure:8035: checking for graphics libraries" >&5 | 8091 echo "configure:8092: checking for graphics libraries" >&5 |
| 8035 | 8092 |
| 8036 xpm_problem="" | 8093 xpm_problem="" |
| 8037 if test -z "$with_xpm"; then | 8094 if test -z "$with_xpm"; then |
| 8038 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8095 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 8039 echo "configure:8040: checking for Xpm - no older than 3.4f" >&5 | 8096 echo "configure:8097: checking for Xpm - no older than 3.4f" >&5 |
| 8040 xe_check_libs=-lXpm | 8097 xe_check_libs=-lXpm |
| 8041 cat > conftest.$ac_ext <<EOF | 8098 cat > conftest.$ac_ext <<EOF |
| 8042 #line 8043 "configure" | 8099 #line 8100 "configure" |
| 8043 #include "confdefs.h" | 8100 #include "confdefs.h" |
| 8044 #define XPM_NUMBERS | 8101 #define XPM_NUMBERS |
| 8045 #include <X11/xpm.h> | 8102 #include <X11/xpm.h> |
| 8046 int main(int c, char **v) { | 8103 int main(int c, char **v) { |
| 8047 return c == 1 ? 0 : | 8104 return c == 1 ? 0 : |
| 8048 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8105 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 8049 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8106 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 8050 EOF | 8107 EOF |
| 8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8108 if { (eval echo configure:8109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8052 then | 8109 then |
| 8053 ./conftest dummy_arg; xpm_status=$?; | 8110 ./conftest dummy_arg; xpm_status=$?; |
| 8054 if test "$xpm_status" = "0"; then | 8111 if test "$xpm_status" = "0"; then |
| 8055 with_xpm=yes; | 8112 with_xpm=yes; |
| 8056 else | 8113 else |
| 8088 EOF | 8145 EOF |
| 8089 } | 8146 } |
| 8090 | 8147 |
| 8091 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8148 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 8092 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8149 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 8093 echo "configure:8094: checking for \"FOR_MSW\" xpm" >&5 | 8150 echo "configure:8151: checking for \"FOR_MSW\" xpm" >&5 |
| 8094 xe_check_libs=-lXpm | 8151 xe_check_libs=-lXpm |
| 8095 cat > conftest.$ac_ext <<EOF | 8152 cat > conftest.$ac_ext <<EOF |
| 8096 #line 8097 "configure" | 8153 #line 8154 "configure" |
| 8097 #include "confdefs.h" | 8154 #include "confdefs.h" |
| 8098 | 8155 |
| 8099 int main() { | 8156 int main() { |
| 8100 XpmCreatePixmapFromData() | 8157 XpmCreatePixmapFromData() |
| 8101 ; return 0; } | 8158 ; return 0; } |
| 8102 EOF | 8159 EOF |
| 8103 if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8160 if { (eval echo configure:8161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8104 rm -rf conftest* | 8161 rm -rf conftest* |
| 8105 xpm_for_msw=no | 8162 xpm_for_msw=no |
| 8106 else | 8163 else |
| 8107 echo "configure: failed program was:" >&5 | 8164 echo "configure: failed program was:" >&5 |
| 8108 cat conftest.$ac_ext >&5 | 8165 cat conftest.$ac_ext >&5 |
| 8124 fi | 8181 fi |
| 8125 fi | 8182 fi |
| 8126 | 8183 |
| 8127 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8184 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 8128 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8185 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 8129 echo "configure:8130: checking for compface.h" >&5 | 8186 echo "configure:8187: checking for compface.h" >&5 |
| 8130 | 8187 |
| 8131 cat > conftest.$ac_ext <<EOF | 8188 cat > conftest.$ac_ext <<EOF |
| 8132 #line 8133 "configure" | 8189 #line 8190 "configure" |
| 8133 #include "confdefs.h" | 8190 #include "confdefs.h" |
| 8134 #include <compface.h> | 8191 #include <compface.h> |
| 8135 EOF | 8192 EOF |
| 8136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8137 { (eval echo configure:8138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8194 { (eval echo configure:8195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8139 if test -z "$ac_err"; then | 8196 if test -z "$ac_err"; then |
| 8140 rm -rf conftest* | 8197 rm -rf conftest* |
| 8141 eval "ac_cv_header_$ac_safe=yes" | 8198 eval "ac_cv_header_$ac_safe=yes" |
| 8142 else | 8199 else |
| 8155 with_xface=no | 8212 with_xface=no |
| 8156 fi | 8213 fi |
| 8157 } | 8214 } |
| 8158 test -z "$with_xface" && { | 8215 test -z "$with_xface" && { |
| 8159 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8216 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 8160 echo "configure:8161: checking for UnGenFace in -lcompface" >&5 | 8217 echo "configure:8218: checking for UnGenFace in -lcompface" >&5 |
| 8161 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8218 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 8162 | 8219 |
| 8163 xe_check_libs=" -lcompface " | 8220 xe_check_libs=" -lcompface " |
| 8164 cat > conftest.$ac_ext <<EOF | 8221 cat > conftest.$ac_ext <<EOF |
| 8165 #line 8166 "configure" | 8222 #line 8223 "configure" |
| 8166 #include "confdefs.h" | 8223 #include "confdefs.h" |
| 8167 /* Override any gcc2 internal prototype to avoid an error. */ | 8224 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8168 /* We use char because int might match the return type of a gcc2 | 8225 /* We use char because int might match the return type of a gcc2 |
| 8169 builtin and then its argument prototype would still apply. */ | 8226 builtin and then its argument prototype would still apply. */ |
| 8170 char UnGenFace(); | 8227 char UnGenFace(); |
| 8171 | 8228 |
| 8172 int main() { | 8229 int main() { |
| 8173 UnGenFace() | 8230 UnGenFace() |
| 8174 ; return 0; } | 8231 ; return 0; } |
| 8175 EOF | 8232 EOF |
| 8176 if { (eval echo configure:8177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8177 rm -rf conftest* | 8234 rm -rf conftest* |
| 8178 eval "ac_cv_lib_$ac_lib_var=yes" | 8235 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8179 else | 8236 else |
| 8180 echo "configure: failed program was:" >&5 | 8237 echo "configure: failed program was:" >&5 |
| 8181 cat conftest.$ac_ext >&5 | 8238 cat conftest.$ac_ext >&5 |
| 8223 fi | 8280 fi |
| 8224 | 8281 |
| 8225 if test "$with_png $with_tiff" != "no no"; then | 8282 if test "$with_png $with_tiff" != "no no"; then |
| 8226 | 8283 |
| 8227 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8284 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 8228 echo "configure:8229: checking for inflate in -lc" >&5 | 8285 echo "configure:8286: checking for inflate in -lc" >&5 |
| 8229 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8286 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 8230 | 8287 |
| 8231 xe_check_libs=" -lc " | 8288 xe_check_libs=" -lc " |
| 8232 cat > conftest.$ac_ext <<EOF | 8289 cat > conftest.$ac_ext <<EOF |
| 8233 #line 8234 "configure" | 8290 #line 8291 "configure" |
| 8234 #include "confdefs.h" | 8291 #include "confdefs.h" |
| 8235 /* Override any gcc2 internal prototype to avoid an error. */ | 8292 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8236 /* We use char because int might match the return type of a gcc2 | 8293 /* We use char because int might match the return type of a gcc2 |
| 8237 builtin and then its argument prototype would still apply. */ | 8294 builtin and then its argument prototype would still apply. */ |
| 8238 char inflate(); | 8295 char inflate(); |
| 8239 | 8296 |
| 8240 int main() { | 8297 int main() { |
| 8241 inflate() | 8298 inflate() |
| 8242 ; return 0; } | 8299 ; return 0; } |
| 8243 EOF | 8300 EOF |
| 8244 if { (eval echo configure:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8245 rm -rf conftest* | 8302 rm -rf conftest* |
| 8246 eval "ac_cv_lib_$ac_lib_var=yes" | 8303 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8247 else | 8304 else |
| 8248 echo "configure: failed program was:" >&5 | 8305 echo "configure: failed program was:" >&5 |
| 8249 cat conftest.$ac_ext >&5 | 8306 cat conftest.$ac_ext >&5 |
| 8258 : | 8315 : |
| 8259 else | 8316 else |
| 8260 echo "$ac_t""no" 1>&6 | 8317 echo "$ac_t""no" 1>&6 |
| 8261 | 8318 |
| 8262 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8319 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 8263 echo "configure:8264: checking for inflate in -lz" >&5 | 8320 echo "configure:8321: checking for inflate in -lz" >&5 |
| 8264 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8321 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 8265 | 8322 |
| 8266 xe_check_libs=" -lz " | 8323 xe_check_libs=" -lz " |
| 8267 cat > conftest.$ac_ext <<EOF | 8324 cat > conftest.$ac_ext <<EOF |
| 8268 #line 8269 "configure" | 8325 #line 8326 "configure" |
| 8269 #include "confdefs.h" | 8326 #include "confdefs.h" |
| 8270 /* Override any gcc2 internal prototype to avoid an error. */ | 8327 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8271 /* We use char because int might match the return type of a gcc2 | 8328 /* We use char because int might match the return type of a gcc2 |
| 8272 builtin and then its argument prototype would still apply. */ | 8329 builtin and then its argument prototype would still apply. */ |
| 8273 char inflate(); | 8330 char inflate(); |
| 8274 | 8331 |
| 8275 int main() { | 8332 int main() { |
| 8276 inflate() | 8333 inflate() |
| 8277 ; return 0; } | 8334 ; return 0; } |
| 8278 EOF | 8335 EOF |
| 8279 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8280 rm -rf conftest* | 8337 rm -rf conftest* |
| 8281 eval "ac_cv_lib_$ac_lib_var=yes" | 8338 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8282 else | 8339 else |
| 8283 echo "configure: failed program was:" >&5 | 8340 echo "configure: failed program was:" >&5 |
| 8284 cat conftest.$ac_ext >&5 | 8341 cat conftest.$ac_ext >&5 |
| 8293 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8350 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 8294 else | 8351 else |
| 8295 echo "$ac_t""no" 1>&6 | 8352 echo "$ac_t""no" 1>&6 |
| 8296 | 8353 |
| 8297 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8354 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 8298 echo "configure:8299: checking for inflate in -lgz" >&5 | 8355 echo "configure:8356: checking for inflate in -lgz" >&5 |
| 8299 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8356 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 8300 | 8357 |
| 8301 xe_check_libs=" -lgz " | 8358 xe_check_libs=" -lgz " |
| 8302 cat > conftest.$ac_ext <<EOF | 8359 cat > conftest.$ac_ext <<EOF |
| 8303 #line 8304 "configure" | 8360 #line 8361 "configure" |
| 8304 #include "confdefs.h" | 8361 #include "confdefs.h" |
| 8305 /* Override any gcc2 internal prototype to avoid an error. */ | 8362 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8306 /* We use char because int might match the return type of a gcc2 | 8363 /* We use char because int might match the return type of a gcc2 |
| 8307 builtin and then its argument prototype would still apply. */ | 8364 builtin and then its argument prototype would still apply. */ |
| 8308 char inflate(); | 8365 char inflate(); |
| 8309 | 8366 |
| 8310 int main() { | 8367 int main() { |
| 8311 inflate() | 8368 inflate() |
| 8312 ; return 0; } | 8369 ; return 0; } |
| 8313 EOF | 8370 EOF |
| 8314 if { (eval echo configure:8315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8315 rm -rf conftest* | 8372 rm -rf conftest* |
| 8316 eval "ac_cv_lib_$ac_lib_var=yes" | 8373 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8317 else | 8374 else |
| 8318 echo "configure: failed program was:" >&5 | 8375 echo "configure: failed program was:" >&5 |
| 8319 cat conftest.$ac_ext >&5 | 8376 cat conftest.$ac_ext >&5 |
| 8339 | 8396 |
| 8340 fi | 8397 fi |
| 8341 | 8398 |
| 8342 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8399 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 8343 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8400 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 8344 echo "configure:8345: checking for jpeglib.h" >&5 | 8401 echo "configure:8402: checking for jpeglib.h" >&5 |
| 8345 | 8402 |
| 8346 cat > conftest.$ac_ext <<EOF | 8403 cat > conftest.$ac_ext <<EOF |
| 8347 #line 8348 "configure" | 8404 #line 8405 "configure" |
| 8348 #include "confdefs.h" | 8405 #include "confdefs.h" |
| 8349 #include <jpeglib.h> | 8406 #include <jpeglib.h> |
| 8350 EOF | 8407 EOF |
| 8351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8352 { (eval echo configure:8353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8409 { (eval echo configure:8410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8354 if test -z "$ac_err"; then | 8411 if test -z "$ac_err"; then |
| 8355 rm -rf conftest* | 8412 rm -rf conftest* |
| 8356 eval "ac_cv_header_$ac_safe=yes" | 8413 eval "ac_cv_header_$ac_safe=yes" |
| 8357 else | 8414 else |
| 8370 with_jpeg=no | 8427 with_jpeg=no |
| 8371 fi | 8428 fi |
| 8372 } | 8429 } |
| 8373 test -z "$with_jpeg" && { | 8430 test -z "$with_jpeg" && { |
| 8374 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 8375 echo "configure:8376: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8432 echo "configure:8433: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 8376 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8433 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 8377 | 8434 |
| 8378 xe_check_libs=" -ljpeg " | 8435 xe_check_libs=" -ljpeg " |
| 8379 cat > conftest.$ac_ext <<EOF | 8436 cat > conftest.$ac_ext <<EOF |
| 8380 #line 8381 "configure" | 8437 #line 8438 "configure" |
| 8381 #include "confdefs.h" | 8438 #include "confdefs.h" |
| 8382 /* Override any gcc2 internal prototype to avoid an error. */ | 8439 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8383 /* We use char because int might match the return type of a gcc2 | 8440 /* We use char because int might match the return type of a gcc2 |
| 8384 builtin and then its argument prototype would still apply. */ | 8441 builtin and then its argument prototype would still apply. */ |
| 8385 char jpeg_destroy_decompress(); | 8442 char jpeg_destroy_decompress(); |
| 8386 | 8443 |
| 8387 int main() { | 8444 int main() { |
| 8388 jpeg_destroy_decompress() | 8445 jpeg_destroy_decompress() |
| 8389 ; return 0; } | 8446 ; return 0; } |
| 8390 EOF | 8447 EOF |
| 8391 if { (eval echo configure:8392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8448 if { (eval echo configure:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8392 rm -rf conftest* | 8449 rm -rf conftest* |
| 8393 eval "ac_cv_lib_$ac_lib_var=yes" | 8450 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8394 else | 8451 else |
| 8395 echo "configure: failed program was:" >&5 | 8452 echo "configure: failed program was:" >&5 |
| 8396 cat conftest.$ac_ext >&5 | 8453 cat conftest.$ac_ext >&5 |
| 8422 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8479 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 8423 fi | 8480 fi |
| 8424 | 8481 |
| 8425 png_problem="" | 8482 png_problem="" |
| 8426 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8483 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 8427 echo "configure:8428: checking for pow" >&5 | 8484 echo "configure:8485: checking for pow" >&5 |
| 8428 | 8485 |
| 8429 cat > conftest.$ac_ext <<EOF | 8486 cat > conftest.$ac_ext <<EOF |
| 8430 #line 8431 "configure" | 8487 #line 8488 "configure" |
| 8431 #include "confdefs.h" | 8488 #include "confdefs.h" |
| 8432 /* System header to define __stub macros and hopefully few prototypes, | 8489 /* System header to define __stub macros and hopefully few prototypes, |
| 8433 which can conflict with char pow(); below. */ | 8490 which can conflict with char pow(); below. */ |
| 8434 #include <assert.h> | 8491 #include <assert.h> |
| 8435 /* Override any gcc2 internal prototype to avoid an error. */ | 8492 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8448 pow(); | 8505 pow(); |
| 8449 #endif | 8506 #endif |
| 8450 | 8507 |
| 8451 ; return 0; } | 8508 ; return 0; } |
| 8452 EOF | 8509 EOF |
| 8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8454 rm -rf conftest* | 8511 rm -rf conftest* |
| 8455 eval "ac_cv_func_pow=yes" | 8512 eval "ac_cv_func_pow=yes" |
| 8456 else | 8513 else |
| 8457 echo "configure: failed program was:" >&5 | 8514 echo "configure: failed program was:" >&5 |
| 8458 cat conftest.$ac_ext >&5 | 8515 cat conftest.$ac_ext >&5 |
| 8469 with_png=no | 8526 with_png=no |
| 8470 fi | 8527 fi |
| 8471 } | 8528 } |
| 8472 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8529 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 8473 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8530 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 8474 echo "configure:8475: checking for png.h" >&5 | 8531 echo "configure:8532: checking for png.h" >&5 |
| 8475 | 8532 |
| 8476 cat > conftest.$ac_ext <<EOF | 8533 cat > conftest.$ac_ext <<EOF |
| 8477 #line 8478 "configure" | 8534 #line 8535 "configure" |
| 8478 #include "confdefs.h" | 8535 #include "confdefs.h" |
| 8479 #include <png.h> | 8536 #include <png.h> |
| 8480 EOF | 8537 EOF |
| 8481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8482 { (eval echo configure:8483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8539 { (eval echo configure:8540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8484 if test -z "$ac_err"; then | 8541 if test -z "$ac_err"; then |
| 8485 rm -rf conftest* | 8542 rm -rf conftest* |
| 8486 eval "ac_cv_header_$ac_safe=yes" | 8543 eval "ac_cv_header_$ac_safe=yes" |
| 8487 else | 8544 else |
| 8500 with_png=no | 8557 with_png=no |
| 8501 fi | 8558 fi |
| 8502 } | 8559 } |
| 8503 test -z "$with_png" && { | 8560 test -z "$with_png" && { |
| 8504 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8561 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 8505 echo "configure:8506: checking for png_read_image in -lpng" >&5 | 8562 echo "configure:8563: checking for png_read_image in -lpng" >&5 |
| 8506 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8563 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 8507 | 8564 |
| 8508 xe_check_libs=" -lpng " | 8565 xe_check_libs=" -lpng " |
| 8509 cat > conftest.$ac_ext <<EOF | 8566 cat > conftest.$ac_ext <<EOF |
| 8510 #line 8511 "configure" | 8567 #line 8568 "configure" |
| 8511 #include "confdefs.h" | 8568 #include "confdefs.h" |
| 8512 /* Override any gcc2 internal prototype to avoid an error. */ | 8569 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8513 /* We use char because int might match the return type of a gcc2 | 8570 /* We use char because int might match the return type of a gcc2 |
| 8514 builtin and then its argument prototype would still apply. */ | 8571 builtin and then its argument prototype would still apply. */ |
| 8515 char png_read_image(); | 8572 char png_read_image(); |
| 8516 | 8573 |
| 8517 int main() { | 8574 int main() { |
| 8518 png_read_image() | 8575 png_read_image() |
| 8519 ; return 0; } | 8576 ; return 0; } |
| 8520 EOF | 8577 EOF |
| 8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8522 rm -rf conftest* | 8579 rm -rf conftest* |
| 8523 eval "ac_cv_lib_$ac_lib_var=yes" | 8580 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8524 else | 8581 else |
| 8525 echo "configure: failed program was:" >&5 | 8582 echo "configure: failed program was:" >&5 |
| 8526 cat conftest.$ac_ext >&5 | 8583 cat conftest.$ac_ext >&5 |
| 8539 fi | 8596 fi |
| 8540 | 8597 |
| 8541 } | 8598 } |
| 8542 if test -z "$with_png"; then | 8599 if test -z "$with_png"; then |
| 8543 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 8544 echo "configure:8545: checking for workable png version information" >&5 | 8601 echo "configure:8602: checking for workable png version information" >&5 |
| 8545 xe_check_libs="-lpng -lz" | 8602 xe_check_libs="-lpng -lz" |
| 8546 cat > conftest.$ac_ext <<EOF | 8603 cat > conftest.$ac_ext <<EOF |
| 8547 #line 8548 "configure" | 8604 #line 8605 "configure" |
| 8548 #include "confdefs.h" | 8605 #include "confdefs.h" |
| 8549 #include <png.h> | 8606 #include <png.h> |
| 8550 int main(int c, char **v) { | 8607 int main(int c, char **v) { |
| 8551 if (c == 1) return 0; | 8608 if (c == 1) return 0; |
| 8552 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8609 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 8553 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8610 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 8554 EOF | 8611 EOF |
| 8555 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8612 if { (eval echo configure:8613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8556 then | 8613 then |
| 8557 ./conftest dummy_arg; png_status=$?; | 8614 ./conftest dummy_arg; png_status=$?; |
| 8558 if test "$png_status" = "0"; then | 8615 if test "$png_status" = "0"; then |
| 8559 with_png=yes; | 8616 with_png=yes; |
| 8560 else | 8617 else |
| 8593 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8650 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 8594 fi | 8651 fi |
| 8595 | 8652 |
| 8596 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8653 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 8597 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8654 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 8598 echo "configure:8599: checking for tiffio.h" >&5 | 8655 echo "configure:8656: checking for tiffio.h" >&5 |
| 8599 | 8656 |
| 8600 cat > conftest.$ac_ext <<EOF | 8657 cat > conftest.$ac_ext <<EOF |
| 8601 #line 8602 "configure" | 8658 #line 8659 "configure" |
| 8602 #include "confdefs.h" | 8659 #include "confdefs.h" |
| 8603 #include <tiffio.h> | 8660 #include <tiffio.h> |
| 8604 EOF | 8661 EOF |
| 8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8663 { (eval echo configure:8664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8608 if test -z "$ac_err"; then | 8665 if test -z "$ac_err"; then |
| 8609 rm -rf conftest* | 8666 rm -rf conftest* |
| 8610 eval "ac_cv_header_$ac_safe=yes" | 8667 eval "ac_cv_header_$ac_safe=yes" |
| 8611 else | 8668 else |
| 8624 with_tiff=no | 8681 with_tiff=no |
| 8625 fi | 8682 fi |
| 8626 } | 8683 } |
| 8627 test -z "$with_tiff" && { | 8684 test -z "$with_tiff" && { |
| 8628 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8685 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 8629 echo "configure:8630: checking for TIFFClientOpen in -ltiff" >&5 | 8686 echo "configure:8687: checking for TIFFClientOpen in -ltiff" >&5 |
| 8630 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8687 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 8631 | 8688 |
| 8632 xe_check_libs=" -ltiff " | 8689 xe_check_libs=" -ltiff " |
| 8633 cat > conftest.$ac_ext <<EOF | 8690 cat > conftest.$ac_ext <<EOF |
| 8634 #line 8635 "configure" | 8691 #line 8692 "configure" |
| 8635 #include "confdefs.h" | 8692 #include "confdefs.h" |
| 8636 /* Override any gcc2 internal prototype to avoid an error. */ | 8693 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8637 /* We use char because int might match the return type of a gcc2 | 8694 /* We use char because int might match the return type of a gcc2 |
| 8638 builtin and then its argument prototype would still apply. */ | 8695 builtin and then its argument prototype would still apply. */ |
| 8639 char TIFFClientOpen(); | 8696 char TIFFClientOpen(); |
| 8640 | 8697 |
| 8641 int main() { | 8698 int main() { |
| 8642 TIFFClientOpen() | 8699 TIFFClientOpen() |
| 8643 ; return 0; } | 8700 ; return 0; } |
| 8644 EOF | 8701 EOF |
| 8645 if { (eval echo configure:8646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8702 if { (eval echo configure:8703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8646 rm -rf conftest* | 8703 rm -rf conftest* |
| 8647 eval "ac_cv_lib_$ac_lib_var=yes" | 8704 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8648 else | 8705 else |
| 8649 echo "configure: failed program was:" >&5 | 8706 echo "configure: failed program was:" >&5 |
| 8650 cat conftest.$ac_ext >&5 | 8707 cat conftest.$ac_ext >&5 |
| 8679 | 8736 |
| 8680 | 8737 |
| 8681 if test "$with_gtk" = "yes"; then | 8738 if test "$with_gtk" = "yes"; then |
| 8682 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8739 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 8683 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8740 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 8684 echo "configure:8685: checking for compface.h" >&5 | 8741 echo "configure:8742: checking for compface.h" >&5 |
| 8685 | 8742 |
| 8686 cat > conftest.$ac_ext <<EOF | 8743 cat > conftest.$ac_ext <<EOF |
| 8687 #line 8688 "configure" | 8744 #line 8745 "configure" |
| 8688 #include "confdefs.h" | 8745 #include "confdefs.h" |
| 8689 #include <compface.h> | 8746 #include <compface.h> |
| 8690 EOF | 8747 EOF |
| 8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8749 { (eval echo configure:8750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8694 if test -z "$ac_err"; then | 8751 if test -z "$ac_err"; then |
| 8695 rm -rf conftest* | 8752 rm -rf conftest* |
| 8696 eval "ac_cv_header_$ac_safe=yes" | 8753 eval "ac_cv_header_$ac_safe=yes" |
| 8697 else | 8754 else |
| 8710 with_xface=no | 8767 with_xface=no |
| 8711 fi | 8768 fi |
| 8712 } | 8769 } |
| 8713 test -z "$with_xface" && { | 8770 test -z "$with_xface" && { |
| 8714 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8771 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 8715 echo "configure:8716: checking for UnGenFace in -lcompface" >&5 | 8772 echo "configure:8773: checking for UnGenFace in -lcompface" >&5 |
| 8716 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8773 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 8717 | 8774 |
| 8718 xe_check_libs=" -lcompface " | 8775 xe_check_libs=" -lcompface " |
| 8719 cat > conftest.$ac_ext <<EOF | 8776 cat > conftest.$ac_ext <<EOF |
| 8720 #line 8721 "configure" | 8777 #line 8778 "configure" |
| 8721 #include "confdefs.h" | 8778 #include "confdefs.h" |
| 8722 /* Override any gcc2 internal prototype to avoid an error. */ | 8779 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8723 /* We use char because int might match the return type of a gcc2 | 8780 /* We use char because int might match the return type of a gcc2 |
| 8724 builtin and then its argument prototype would still apply. */ | 8781 builtin and then its argument prototype would still apply. */ |
| 8725 char UnGenFace(); | 8782 char UnGenFace(); |
| 8726 | 8783 |
| 8727 int main() { | 8784 int main() { |
| 8728 UnGenFace() | 8785 UnGenFace() |
| 8729 ; return 0; } | 8786 ; return 0; } |
| 8730 EOF | 8787 EOF |
| 8731 if { (eval echo configure:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8788 if { (eval echo configure:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8732 rm -rf conftest* | 8789 rm -rf conftest* |
| 8733 eval "ac_cv_lib_$ac_lib_var=yes" | 8790 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8734 else | 8791 else |
| 8735 echo "configure: failed program was:" >&5 | 8792 echo "configure: failed program was:" >&5 |
| 8736 cat conftest.$ac_ext >&5 | 8793 cat conftest.$ac_ext >&5 |
| 8766 | 8823 |
| 8767 | 8824 |
| 8768 if test "$with_x11" = "yes"; then | 8825 if test "$with_x11" = "yes"; then |
| 8769 | 8826 |
| 8770 echo "checking for X11 graphics libraries" 1>&6 | 8827 echo "checking for X11 graphics libraries" 1>&6 |
| 8771 echo "configure:8772: checking for X11 graphics libraries" >&5 | 8828 echo "configure:8829: checking for X11 graphics libraries" >&5 |
| 8772 | 8829 |
| 8773 echo "checking for the Athena widgets" 1>&6 | 8830 echo "checking for the Athena widgets" 1>&6 |
| 8774 echo "configure:8775: checking for the Athena widgets" >&5 | 8831 echo "configure:8832: checking for the Athena widgets" >&5 |
| 8775 | 8832 |
| 8776 case "$with_athena" in | 8833 case "$with_athena" in |
| 8777 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8834 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
| 8778 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8835 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
| 8779 "next") athena_variant=neXtaw athena_3d=yes ;; | 8836 "next") athena_variant=neXtaw athena_3d=yes ;; |
| 8783 esac | 8840 esac |
| 8784 | 8841 |
| 8785 if test "$athena_3d" = "no"; then | 8842 if test "$athena_3d" = "no"; then |
| 8786 | 8843 |
| 8787 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8844 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
| 8788 echo "configure:8789: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8845 echo "configure:8846: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
| 8789 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8846 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 8790 | 8847 |
| 8791 xe_check_libs=" -l$athena_variant " | 8848 xe_check_libs=" -l$athena_variant " |
| 8792 cat > conftest.$ac_ext <<EOF | 8849 cat > conftest.$ac_ext <<EOF |
| 8793 #line 8794 "configure" | 8850 #line 8851 "configure" |
| 8794 #include "confdefs.h" | 8851 #include "confdefs.h" |
| 8795 /* Override any gcc2 internal prototype to avoid an error. */ | 8852 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8796 /* We use char because int might match the return type of a gcc2 | 8853 /* We use char because int might match the return type of a gcc2 |
| 8797 builtin and then its argument prototype would still apply. */ | 8854 builtin and then its argument prototype would still apply. */ |
| 8798 char XawScrollbarSetThumb(); | 8855 char XawScrollbarSetThumb(); |
| 8799 | 8856 |
| 8800 int main() { | 8857 int main() { |
| 8801 XawScrollbarSetThumb() | 8858 XawScrollbarSetThumb() |
| 8802 ; return 0; } | 8859 ; return 0; } |
| 8803 EOF | 8860 EOF |
| 8804 if { (eval echo configure:8805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8861 if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8805 rm -rf conftest* | 8862 rm -rf conftest* |
| 8806 eval "ac_cv_lib_$ac_lib_var=yes" | 8863 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8807 else | 8864 else |
| 8808 echo "configure: failed program was:" >&5 | 8865 echo "configure: failed program was:" >&5 |
| 8809 cat conftest.$ac_ext >&5 | 8866 cat conftest.$ac_ext >&5 |
| 8815 | 8872 |
| 8816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 8817 echo "$ac_t""yes" 1>&6 | 8874 echo "$ac_t""yes" 1>&6 |
| 8818 | 8875 |
| 8819 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8876 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8820 echo "configure:8821: checking for threeDClassRec in -l$athena_variant" >&5 | 8877 echo "configure:8878: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8821 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8878 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8822 | 8879 |
| 8823 xe_check_libs=" -l$athena_variant " | 8880 xe_check_libs=" -l$athena_variant " |
| 8824 cat > conftest.$ac_ext <<EOF | 8881 cat > conftest.$ac_ext <<EOF |
| 8825 #line 8826 "configure" | 8882 #line 8883 "configure" |
| 8826 #include "confdefs.h" | 8883 #include "confdefs.h" |
| 8827 /* Override any gcc2 internal prototype to avoid an error. */ | 8884 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8828 /* We use char because int might match the return type of a gcc2 | 8885 /* We use char because int might match the return type of a gcc2 |
| 8829 builtin and then its argument prototype would still apply. */ | 8886 builtin and then its argument prototype would still apply. */ |
| 8830 char threeDClassRec(); | 8887 char threeDClassRec(); |
| 8831 | 8888 |
| 8832 int main() { | 8889 int main() { |
| 8833 threeDClassRec() | 8890 threeDClassRec() |
| 8834 ; return 0; } | 8891 ; return 0; } |
| 8835 EOF | 8892 EOF |
| 8836 if { (eval echo configure:8837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8837 rm -rf conftest* | 8894 rm -rf conftest* |
| 8838 eval "ac_cv_lib_$ac_lib_var=yes" | 8895 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8839 else | 8896 else |
| 8840 echo "configure: failed program was:" >&5 | 8897 echo "configure: failed program was:" >&5 |
| 8841 cat conftest.$ac_ext >&5 | 8898 cat conftest.$ac_ext >&5 |
| 8862 | 8919 |
| 8863 | 8920 |
| 8864 else | 8921 else |
| 8865 | 8922 |
| 8866 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8923 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8867 echo "configure:8868: checking for threeDClassRec in -l$athena_variant" >&5 | 8924 echo "configure:8925: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8868 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8925 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8869 | 8926 |
| 8870 xe_check_libs=" -l$athena_variant " | 8927 xe_check_libs=" -l$athena_variant " |
| 8871 cat > conftest.$ac_ext <<EOF | 8928 cat > conftest.$ac_ext <<EOF |
| 8872 #line 8873 "configure" | 8929 #line 8930 "configure" |
| 8873 #include "confdefs.h" | 8930 #include "confdefs.h" |
| 8874 /* Override any gcc2 internal prototype to avoid an error. */ | 8931 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8875 /* We use char because int might match the return type of a gcc2 | 8932 /* We use char because int might match the return type of a gcc2 |
| 8876 builtin and then its argument prototype would still apply. */ | 8933 builtin and then its argument prototype would still apply. */ |
| 8877 char threeDClassRec(); | 8934 char threeDClassRec(); |
| 8878 | 8935 |
| 8879 int main() { | 8936 int main() { |
| 8880 threeDClassRec() | 8937 threeDClassRec() |
| 8881 ; return 0; } | 8938 ; return 0; } |
| 8882 EOF | 8939 EOF |
| 8883 if { (eval echo configure:8884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8940 if { (eval echo configure:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8884 rm -rf conftest* | 8941 rm -rf conftest* |
| 8885 eval "ac_cv_lib_$ac_lib_var=yes" | 8942 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8886 else | 8943 else |
| 8887 echo "configure: failed program was:" >&5 | 8944 echo "configure: failed program was:" >&5 |
| 8888 cat conftest.$ac_ext >&5 | 8945 cat conftest.$ac_ext >&5 |
| 8896 echo "$ac_t""yes" 1>&6 | 8953 echo "$ac_t""yes" 1>&6 |
| 8897 athena_lib=$athena_variant | 8954 athena_lib=$athena_variant |
| 8898 else | 8955 else |
| 8899 echo "$ac_t""no" 1>&6 | 8956 echo "$ac_t""no" 1>&6 |
| 8900 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8957 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
| 8901 echo "configure:8902: checking for threeDClassRec in -lXaw" >&5 | 8958 echo "configure:8959: checking for threeDClassRec in -lXaw" >&5 |
| 8902 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8959 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8903 | 8960 |
| 8904 xe_check_libs=" -lXaw " | 8961 xe_check_libs=" -lXaw " |
| 8905 cat > conftest.$ac_ext <<EOF | 8962 cat > conftest.$ac_ext <<EOF |
| 8906 #line 8907 "configure" | 8963 #line 8964 "configure" |
| 8907 #include "confdefs.h" | 8964 #include "confdefs.h" |
| 8908 /* Override any gcc2 internal prototype to avoid an error. */ | 8965 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8909 /* We use char because int might match the return type of a gcc2 | 8966 /* We use char because int might match the return type of a gcc2 |
| 8910 builtin and then its argument prototype would still apply. */ | 8967 builtin and then its argument prototype would still apply. */ |
| 8911 char threeDClassRec(); | 8968 char threeDClassRec(); |
| 8912 | 8969 |
| 8913 int main() { | 8970 int main() { |
| 8914 threeDClassRec() | 8971 threeDClassRec() |
| 8915 ; return 0; } | 8972 ; return 0; } |
| 8916 EOF | 8973 EOF |
| 8917 if { (eval echo configure:8918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8974 if { (eval echo configure:8975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8918 rm -rf conftest* | 8975 rm -rf conftest* |
| 8919 eval "ac_cv_lib_$ac_lib_var=yes" | 8976 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8920 else | 8977 else |
| 8921 echo "configure: failed program was:" >&5 | 8978 echo "configure: failed program was:" >&5 |
| 8922 cat conftest.$ac_ext >&5 | 8979 cat conftest.$ac_ext >&5 |
| 8943 fi | 9000 fi |
| 8944 | 9001 |
| 8945 if test "$athena_3d" = "no"; then | 9002 if test "$athena_3d" = "no"; then |
| 8946 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9003 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8947 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9004 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 8948 echo "configure:8949: checking for X11/Xaw/ThreeD.h" >&5 | 9005 echo "configure:9006: checking for X11/Xaw/ThreeD.h" >&5 |
| 8949 | 9006 |
| 8950 cat > conftest.$ac_ext <<EOF | 9007 cat > conftest.$ac_ext <<EOF |
| 8951 #line 8952 "configure" | 9008 #line 9009 "configure" |
| 8952 #include "confdefs.h" | 9009 #include "confdefs.h" |
| 8953 #include <X11/Xaw/ThreeD.h> | 9010 #include <X11/Xaw/ThreeD.h> |
| 8954 EOF | 9011 EOF |
| 8955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8956 { (eval echo configure:8957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9013 { (eval echo configure:9014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8958 if test -z "$ac_err"; then | 9015 if test -z "$ac_err"; then |
| 8959 rm -rf conftest* | 9016 rm -rf conftest* |
| 8960 eval "ac_cv_header_$ac_safe=yes" | 9017 eval "ac_cv_header_$ac_safe=yes" |
| 8961 else | 9018 else |
| 8971 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9028 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
| 8972 else | 9029 else |
| 8973 echo "$ac_t""no" 1>&6 | 9030 echo "$ac_t""no" 1>&6 |
| 8974 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9031 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8975 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9032 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
| 8976 echo "configure:8977: checking for X11/Xaw/XawInit.h" >&5 | 9033 echo "configure:9034: checking for X11/Xaw/XawInit.h" >&5 |
| 8977 | 9034 |
| 8978 cat > conftest.$ac_ext <<EOF | 9035 cat > conftest.$ac_ext <<EOF |
| 8979 #line 8980 "configure" | 9036 #line 9037 "configure" |
| 8980 #include "confdefs.h" | 9037 #include "confdefs.h" |
| 8981 #include <X11/Xaw/XawInit.h> | 9038 #include <X11/Xaw/XawInit.h> |
| 8982 EOF | 9039 EOF |
| 8983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8984 { (eval echo configure:8985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8986 if test -z "$ac_err"; then | 9043 if test -z "$ac_err"; then |
| 8987 rm -rf conftest* | 9044 rm -rf conftest* |
| 8988 eval "ac_cv_header_$ac_safe=yes" | 9045 eval "ac_cv_header_$ac_safe=yes" |
| 8989 else | 9046 else |
| 9005 fi | 9062 fi |
| 9006 | 9063 |
| 9007 else | 9064 else |
| 9008 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9065 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9009 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9066 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 9010 echo "configure:9011: checking for X11/$athena_variant/XawInit.h" >&5 | 9067 echo "configure:9068: checking for X11/$athena_variant/XawInit.h" >&5 |
| 9011 | 9068 |
| 9012 cat > conftest.$ac_ext <<EOF | 9069 cat > conftest.$ac_ext <<EOF |
| 9013 #line 9014 "configure" | 9070 #line 9071 "configure" |
| 9014 #include "confdefs.h" | 9071 #include "confdefs.h" |
| 9015 #include <X11/$athena_variant/XawInit.h> | 9072 #include <X11/$athena_variant/XawInit.h> |
| 9016 EOF | 9073 EOF |
| 9017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9018 { (eval echo configure:9019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9075 { (eval echo configure:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9020 if test -z "$ac_err"; then | 9077 if test -z "$ac_err"; then |
| 9021 rm -rf conftest* | 9078 rm -rf conftest* |
| 9022 eval "ac_cv_header_$ac_safe=yes" | 9079 eval "ac_cv_header_$ac_safe=yes" |
| 9023 else | 9080 else |
| 9030 rm -f conftest* | 9087 rm -f conftest* |
| 9031 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9032 echo "$ac_t""yes" 1>&6 | 9089 echo "$ac_t""yes" 1>&6 |
| 9033 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9090 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9034 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9091 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 9035 echo "configure:9036: checking for X11/$athena_variant/ThreeD.h" >&5 | 9092 echo "configure:9093: checking for X11/$athena_variant/ThreeD.h" >&5 |
| 9036 | 9093 |
| 9037 cat > conftest.$ac_ext <<EOF | 9094 cat > conftest.$ac_ext <<EOF |
| 9038 #line 9039 "configure" | 9095 #line 9096 "configure" |
| 9039 #include "confdefs.h" | 9096 #include "confdefs.h" |
| 9040 #include <X11/$athena_variant/ThreeD.h> | 9097 #include <X11/$athena_variant/ThreeD.h> |
| 9041 EOF | 9098 EOF |
| 9042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9043 { (eval echo configure:9044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9100 { (eval echo configure:9101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9045 if test -z "$ac_err"; then | 9102 if test -z "$ac_err"; then |
| 9046 rm -rf conftest* | 9103 rm -rf conftest* |
| 9047 eval "ac_cv_header_$ac_safe=yes" | 9104 eval "ac_cv_header_$ac_safe=yes" |
| 9048 else | 9105 else |
| 9066 | 9123 |
| 9067 | 9124 |
| 9068 if test -z "$athena_h_path"; then | 9125 if test -z "$athena_h_path"; then |
| 9069 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9126 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9070 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9127 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 9071 echo "configure:9072: checking for $athena_variant/XawInit.h" >&5 | 9128 echo "configure:9129: checking for $athena_variant/XawInit.h" >&5 |
| 9072 | 9129 |
| 9073 cat > conftest.$ac_ext <<EOF | 9130 cat > conftest.$ac_ext <<EOF |
| 9074 #line 9075 "configure" | 9131 #line 9132 "configure" |
| 9075 #include "confdefs.h" | 9132 #include "confdefs.h" |
| 9076 #include <$athena_variant/XawInit.h> | 9133 #include <$athena_variant/XawInit.h> |
| 9077 EOF | 9134 EOF |
| 9078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9079 { (eval echo configure:9080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9081 if test -z "$ac_err"; then | 9138 if test -z "$ac_err"; then |
| 9082 rm -rf conftest* | 9139 rm -rf conftest* |
| 9083 eval "ac_cv_header_$ac_safe=yes" | 9140 eval "ac_cv_header_$ac_safe=yes" |
| 9084 else | 9141 else |
| 9091 rm -f conftest* | 9148 rm -f conftest* |
| 9092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9093 echo "$ac_t""yes" 1>&6 | 9150 echo "$ac_t""yes" 1>&6 |
| 9094 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9151 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9095 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 9096 echo "configure:9097: checking for $athena_variant/ThreeD.h" >&5 | 9153 echo "configure:9154: checking for $athena_variant/ThreeD.h" >&5 |
| 9097 | 9154 |
| 9098 cat > conftest.$ac_ext <<EOF | 9155 cat > conftest.$ac_ext <<EOF |
| 9099 #line 9100 "configure" | 9156 #line 9157 "configure" |
| 9100 #include "confdefs.h" | 9157 #include "confdefs.h" |
| 9101 #include <$athena_variant/ThreeD.h> | 9158 #include <$athena_variant/ThreeD.h> |
| 9102 EOF | 9159 EOF |
| 9103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9104 { (eval echo configure:9105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9161 { (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9106 if test -z "$ac_err"; then | 9163 if test -z "$ac_err"; then |
| 9107 rm -rf conftest* | 9164 rm -rf conftest* |
| 9108 eval "ac_cv_header_$ac_safe=yes" | 9165 eval "ac_cv_header_$ac_safe=yes" |
| 9109 else | 9166 else |
| 9128 fi | 9185 fi |
| 9129 | 9186 |
| 9130 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9187 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 9131 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9188 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9132 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9189 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 9133 echo "configure:9134: checking for X11/Xaw3d/XawInit.h" >&5 | 9190 echo "configure:9191: checking for X11/Xaw3d/XawInit.h" >&5 |
| 9134 | 9191 |
| 9135 cat > conftest.$ac_ext <<EOF | 9192 cat > conftest.$ac_ext <<EOF |
| 9136 #line 9137 "configure" | 9193 #line 9194 "configure" |
| 9137 #include "confdefs.h" | 9194 #include "confdefs.h" |
| 9138 #include <X11/Xaw3d/XawInit.h> | 9195 #include <X11/Xaw3d/XawInit.h> |
| 9139 EOF | 9196 EOF |
| 9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9143 if test -z "$ac_err"; then | 9200 if test -z "$ac_err"; then |
| 9144 rm -rf conftest* | 9201 rm -rf conftest* |
| 9145 eval "ac_cv_header_$ac_safe=yes" | 9202 eval "ac_cv_header_$ac_safe=yes" |
| 9146 else | 9203 else |
| 9153 rm -f conftest* | 9210 rm -f conftest* |
| 9154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9155 echo "$ac_t""yes" 1>&6 | 9212 echo "$ac_t""yes" 1>&6 |
| 9156 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9213 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9157 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9214 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 9158 echo "configure:9159: checking for X11/Xaw3d/ThreeD.h" >&5 | 9215 echo "configure:9216: checking for X11/Xaw3d/ThreeD.h" >&5 |
| 9159 | 9216 |
| 9160 cat > conftest.$ac_ext <<EOF | 9217 cat > conftest.$ac_ext <<EOF |
| 9161 #line 9162 "configure" | 9218 #line 9219 "configure" |
| 9162 #include "confdefs.h" | 9219 #include "confdefs.h" |
| 9163 #include <X11/Xaw3d/ThreeD.h> | 9220 #include <X11/Xaw3d/ThreeD.h> |
| 9164 EOF | 9221 EOF |
| 9165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9166 { (eval echo configure:9167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9223 { (eval echo configure:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9168 if test -z "$ac_err"; then | 9225 if test -z "$ac_err"; then |
| 9169 rm -rf conftest* | 9226 rm -rf conftest* |
| 9170 eval "ac_cv_header_$ac_safe=yes" | 9227 eval "ac_cv_header_$ac_safe=yes" |
| 9171 else | 9228 else |
| 9193 fi | 9250 fi |
| 9194 | 9251 |
| 9195 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9252 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 9196 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9253 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 9197 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9254 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 9198 echo "configure:9199: checking for Xaw3d/XawInit.h" >&5 | 9255 echo "configure:9256: checking for Xaw3d/XawInit.h" >&5 |
| 9199 | 9256 |
| 9200 cat > conftest.$ac_ext <<EOF | 9257 cat > conftest.$ac_ext <<EOF |
| 9201 #line 9202 "configure" | 9258 #line 9259 "configure" |
| 9202 #include "confdefs.h" | 9259 #include "confdefs.h" |
| 9203 #include <Xaw3d/XawInit.h> | 9260 #include <Xaw3d/XawInit.h> |
| 9204 EOF | 9261 EOF |
| 9205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9206 { (eval echo configure:9207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9263 { (eval echo configure:9264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9208 if test -z "$ac_err"; then | 9265 if test -z "$ac_err"; then |
| 9209 rm -rf conftest* | 9266 rm -rf conftest* |
| 9210 eval "ac_cv_header_$ac_safe=yes" | 9267 eval "ac_cv_header_$ac_safe=yes" |
| 9211 else | 9268 else |
| 9218 rm -f conftest* | 9275 rm -f conftest* |
| 9219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9220 echo "$ac_t""yes" 1>&6 | 9277 echo "$ac_t""yes" 1>&6 |
| 9221 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9278 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9222 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9279 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 9223 echo "configure:9224: checking for Xaw3d/ThreeD.h" >&5 | 9280 echo "configure:9281: checking for Xaw3d/ThreeD.h" >&5 |
| 9224 | 9281 |
| 9225 cat > conftest.$ac_ext <<EOF | 9282 cat > conftest.$ac_ext <<EOF |
| 9226 #line 9227 "configure" | 9283 #line 9284 "configure" |
| 9227 #include "confdefs.h" | 9284 #include "confdefs.h" |
| 9228 #include <Xaw3d/ThreeD.h> | 9285 #include <Xaw3d/ThreeD.h> |
| 9229 EOF | 9286 EOF |
| 9230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9231 { (eval echo configure:9232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9288 { (eval echo configure:9289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9233 if test -z "$ac_err"; then | 9290 if test -z "$ac_err"; then |
| 9234 rm -rf conftest* | 9291 rm -rf conftest* |
| 9235 eval "ac_cv_header_$ac_safe=yes" | 9292 eval "ac_cv_header_$ac_safe=yes" |
| 9236 else | 9293 else |
| 9258 fi | 9315 fi |
| 9259 | 9316 |
| 9260 if test -z "$athena_h_path"; then | 9317 if test -z "$athena_h_path"; then |
| 9261 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9318 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9262 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9319 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 9263 echo "configure:9264: checking for X11/Xaw/ThreeD.h" >&5 | 9320 echo "configure:9321: checking for X11/Xaw/ThreeD.h" >&5 |
| 9264 | 9321 |
| 9265 cat > conftest.$ac_ext <<EOF | 9322 cat > conftest.$ac_ext <<EOF |
| 9266 #line 9267 "configure" | 9323 #line 9324 "configure" |
| 9267 #include "confdefs.h" | 9324 #include "confdefs.h" |
| 9268 #include <X11/Xaw/ThreeD.h> | 9325 #include <X11/Xaw/ThreeD.h> |
| 9269 EOF | 9326 EOF |
| 9270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9271 { (eval echo configure:9272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9328 { (eval echo configure:9329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9273 if test -z "$ac_err"; then | 9330 if test -z "$ac_err"; then |
| 9274 rm -rf conftest* | 9331 rm -rf conftest* |
| 9275 eval "ac_cv_header_$ac_safe=yes" | 9332 eval "ac_cv_header_$ac_safe=yes" |
| 9276 else | 9333 else |
| 9301 have_xaw=no | 9358 have_xaw=no |
| 9302 fi | 9359 fi |
| 9303 | 9360 |
| 9304 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9361 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 9305 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9362 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 9306 echo "configure:9307: checking for Xm/Xm.h" >&5 | 9363 echo "configure:9364: checking for Xm/Xm.h" >&5 |
| 9307 | 9364 |
| 9308 cat > conftest.$ac_ext <<EOF | 9365 cat > conftest.$ac_ext <<EOF |
| 9309 #line 9310 "configure" | 9366 #line 9367 "configure" |
| 9310 #include "confdefs.h" | 9367 #include "confdefs.h" |
| 9311 #include <Xm/Xm.h> | 9368 #include <Xm/Xm.h> |
| 9312 EOF | 9369 EOF |
| 9313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9314 { (eval echo configure:9315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9371 { (eval echo configure:9372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9316 if test -z "$ac_err"; then | 9373 if test -z "$ac_err"; then |
| 9317 rm -rf conftest* | 9374 rm -rf conftest* |
| 9318 eval "ac_cv_header_$ac_safe=yes" | 9375 eval "ac_cv_header_$ac_safe=yes" |
| 9319 else | 9376 else |
| 9326 rm -f conftest* | 9383 rm -f conftest* |
| 9327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9328 echo "$ac_t""yes" 1>&6 | 9385 echo "$ac_t""yes" 1>&6 |
| 9329 | 9386 |
| 9330 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9387 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 9331 echo "configure:9332: checking for XmStringFree in -lXm" >&5 | 9388 echo "configure:9389: checking for XmStringFree in -lXm" >&5 |
| 9332 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9389 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 9333 | 9390 |
| 9334 xe_check_libs=" -lXm " | 9391 xe_check_libs=" -lXm " |
| 9335 cat > conftest.$ac_ext <<EOF | 9392 cat > conftest.$ac_ext <<EOF |
| 9336 #line 9337 "configure" | 9393 #line 9394 "configure" |
| 9337 #include "confdefs.h" | 9394 #include "confdefs.h" |
| 9338 /* Override any gcc2 internal prototype to avoid an error. */ | 9395 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9339 /* We use char because int might match the return type of a gcc2 | 9396 /* We use char because int might match the return type of a gcc2 |
| 9340 builtin and then its argument prototype would still apply. */ | 9397 builtin and then its argument prototype would still apply. */ |
| 9341 char XmStringFree(); | 9398 char XmStringFree(); |
| 9342 | 9399 |
| 9343 int main() { | 9400 int main() { |
| 9344 XmStringFree() | 9401 XmStringFree() |
| 9345 ; return 0; } | 9402 ; return 0; } |
| 9346 EOF | 9403 EOF |
| 9347 if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9404 if { (eval echo configure:9405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9348 rm -rf conftest* | 9405 rm -rf conftest* |
| 9349 eval "ac_cv_lib_$ac_lib_var=yes" | 9406 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9350 else | 9407 else |
| 9351 echo "configure: failed program was:" >&5 | 9408 echo "configure: failed program was:" >&5 |
| 9352 cat conftest.$ac_ext >&5 | 9409 cat conftest.$ac_ext >&5 |
| 9371 fi | 9428 fi |
| 9372 | 9429 |
| 9373 | 9430 |
| 9374 if test "$have_motif" = "yes"; then | 9431 if test "$have_motif" = "yes"; then |
| 9375 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 9376 echo "configure:9377: checking for Lesstif" >&5 | 9433 echo "configure:9434: checking for Lesstif" >&5 |
| 9377 cat > conftest.$ac_ext <<EOF | 9434 cat > conftest.$ac_ext <<EOF |
| 9378 #line 9379 "configure" | 9435 #line 9436 "configure" |
| 9379 #include "confdefs.h" | 9436 #include "confdefs.h" |
| 9380 #include <Xm/Xm.h> | 9437 #include <Xm/Xm.h> |
| 9381 #ifdef LESSTIF_VERSION | 9438 #ifdef LESSTIF_VERSION |
| 9382 yes | 9439 yes |
| 9383 #endif | 9440 #endif |
| 9801 fi | 9858 fi |
| 9802 fi | 9859 fi |
| 9803 | 9860 |
| 9804 if test "$with_mule" = "yes" ; then | 9861 if test "$with_mule" = "yes" ; then |
| 9805 echo "checking for Mule-related features" 1>&6 | 9862 echo "checking for Mule-related features" 1>&6 |
| 9806 echo "configure:9807: checking for Mule-related features" >&5 | 9863 echo "configure:9864: checking for Mule-related features" >&5 |
| 9807 { test "$extra_verbose" = "yes" && cat << \EOF | 9864 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9808 Defining MULE | 9865 Defining MULE |
| 9809 EOF | 9866 EOF |
| 9810 cat >> confdefs.h <<\EOF | 9867 cat >> confdefs.h <<\EOF |
| 9811 #define MULE 1 | 9868 #define MULE 1 |
| 9826 | 9883 |
| 9827 for ac_hdr in libintl.h | 9884 for ac_hdr in libintl.h |
| 9828 do | 9885 do |
| 9829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9831 echo "configure:9832: checking for $ac_hdr" >&5 | 9888 echo "configure:9889: checking for $ac_hdr" >&5 |
| 9832 | 9889 |
| 9833 cat > conftest.$ac_ext <<EOF | 9890 cat > conftest.$ac_ext <<EOF |
| 9834 #line 9835 "configure" | 9891 #line 9892 "configure" |
| 9835 #include "confdefs.h" | 9892 #include "confdefs.h" |
| 9836 #include <$ac_hdr> | 9893 #include <$ac_hdr> |
| 9837 EOF | 9894 EOF |
| 9838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9839 { (eval echo configure:9840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9896 { (eval echo configure:9897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9841 if test -z "$ac_err"; then | 9898 if test -z "$ac_err"; then |
| 9842 rm -rf conftest* | 9899 rm -rf conftest* |
| 9843 eval "ac_cv_header_$ac_safe=yes" | 9900 eval "ac_cv_header_$ac_safe=yes" |
| 9844 else | 9901 else |
| 9865 fi | 9922 fi |
| 9866 done | 9923 done |
| 9867 | 9924 |
| 9868 | 9925 |
| 9869 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9926 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 9870 echo "configure:9871: checking for strerror in -lintl" >&5 | 9927 echo "configure:9928: checking for strerror in -lintl" >&5 |
| 9871 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9928 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 9872 | 9929 |
| 9873 xe_check_libs=" -lintl " | 9930 xe_check_libs=" -lintl " |
| 9874 cat > conftest.$ac_ext <<EOF | 9931 cat > conftest.$ac_ext <<EOF |
| 9875 #line 9876 "configure" | 9932 #line 9933 "configure" |
| 9876 #include "confdefs.h" | 9933 #include "confdefs.h" |
| 9877 /* Override any gcc2 internal prototype to avoid an error. */ | 9934 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9878 /* We use char because int might match the return type of a gcc2 | 9935 /* We use char because int might match the return type of a gcc2 |
| 9879 builtin and then its argument prototype would still apply. */ | 9936 builtin and then its argument prototype would still apply. */ |
| 9880 char strerror(); | 9937 char strerror(); |
| 9881 | 9938 |
| 9882 int main() { | 9939 int main() { |
| 9883 strerror() | 9940 strerror() |
| 9884 ; return 0; } | 9941 ; return 0; } |
| 9885 EOF | 9942 EOF |
| 9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9943 if { (eval echo configure:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9887 rm -rf conftest* | 9944 rm -rf conftest* |
| 9888 eval "ac_cv_lib_$ac_lib_var=yes" | 9945 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9889 else | 9946 else |
| 9890 echo "configure: failed program was:" >&5 | 9947 echo "configure: failed program was:" >&5 |
| 9891 cat conftest.$ac_ext >&5 | 9948 cat conftest.$ac_ext >&5 |
| 9914 fi | 9971 fi |
| 9915 | 9972 |
| 9916 | 9973 |
| 9917 | 9974 |
| 9918 echo "checking for Mule input methods" 1>&6 | 9975 echo "checking for Mule input methods" 1>&6 |
| 9919 echo "configure:9920: checking for Mule input methods" >&5 | 9976 echo "configure:9977: checking for Mule input methods" >&5 |
| 9920 case "$with_xim" in "" | "yes" ) | 9977 case "$with_xim" in "" | "yes" ) |
| 9921 echo "checking for XIM" 1>&6 | 9978 echo "checking for XIM" 1>&6 |
| 9922 echo "configure:9923: checking for XIM" >&5 | 9979 echo "configure:9980: checking for XIM" >&5 |
| 9923 | 9980 |
| 9924 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9981 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 9925 echo "configure:9926: checking for XOpenIM in -lX11" >&5 | 9982 echo "configure:9983: checking for XOpenIM in -lX11" >&5 |
| 9926 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9983 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 9927 | 9984 |
| 9928 xe_check_libs=" -lX11 " | 9985 xe_check_libs=" -lX11 " |
| 9929 cat > conftest.$ac_ext <<EOF | 9986 cat > conftest.$ac_ext <<EOF |
| 9930 #line 9931 "configure" | 9987 #line 9988 "configure" |
| 9931 #include "confdefs.h" | 9988 #include "confdefs.h" |
| 9932 /* Override any gcc2 internal prototype to avoid an error. */ | 9989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9933 /* We use char because int might match the return type of a gcc2 | 9990 /* We use char because int might match the return type of a gcc2 |
| 9934 builtin and then its argument prototype would still apply. */ | 9991 builtin and then its argument prototype would still apply. */ |
| 9935 char XOpenIM(); | 9992 char XOpenIM(); |
| 9936 | 9993 |
| 9937 int main() { | 9994 int main() { |
| 9938 XOpenIM() | 9995 XOpenIM() |
| 9939 ; return 0; } | 9996 ; return 0; } |
| 9940 EOF | 9997 EOF |
| 9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9998 if { (eval echo configure:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9942 rm -rf conftest* | 9999 rm -rf conftest* |
| 9943 eval "ac_cv_lib_$ac_lib_var=yes" | 10000 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9944 else | 10001 else |
| 9945 echo "configure: failed program was:" >&5 | 10002 echo "configure: failed program was:" >&5 |
| 9946 cat conftest.$ac_ext >&5 | 10003 cat conftest.$ac_ext >&5 |
| 9960 | 10017 |
| 9961 | 10018 |
| 9962 if test "$have_motif $have_lesstif" = "yes no"; then | 10019 if test "$have_motif $have_lesstif" = "yes no"; then |
| 9963 | 10020 |
| 9964 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10021 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 9965 echo "configure:9966: checking for XmImMbLookupString in -lXm" >&5 | 10022 echo "configure:10023: checking for XmImMbLookupString in -lXm" >&5 |
| 9966 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10023 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 9967 | 10024 |
| 9968 xe_check_libs=" -lXm " | 10025 xe_check_libs=" -lXm " |
| 9969 cat > conftest.$ac_ext <<EOF | 10026 cat > conftest.$ac_ext <<EOF |
| 9970 #line 9971 "configure" | 10027 #line 10028 "configure" |
| 9971 #include "confdefs.h" | 10028 #include "confdefs.h" |
| 9972 /* Override any gcc2 internal prototype to avoid an error. */ | 10029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9973 /* We use char because int might match the return type of a gcc2 | 10030 /* We use char because int might match the return type of a gcc2 |
| 9974 builtin and then its argument prototype would still apply. */ | 10031 builtin and then its argument prototype would still apply. */ |
| 9975 char XmImMbLookupString(); | 10032 char XmImMbLookupString(); |
| 9976 | 10033 |
| 9977 int main() { | 10034 int main() { |
| 9978 XmImMbLookupString() | 10035 XmImMbLookupString() |
| 9979 ; return 0; } | 10036 ; return 0; } |
| 9980 EOF | 10037 EOF |
| 9981 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9982 rm -rf conftest* | 10039 rm -rf conftest* |
| 9983 eval "ac_cv_lib_$ac_lib_var=yes" | 10040 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9984 else | 10041 else |
| 9985 echo "configure: failed program was:" >&5 | 10042 echo "configure: failed program was:" >&5 |
| 9986 cat conftest.$ac_ext >&5 | 10043 cat conftest.$ac_ext >&5 |
| 10041 fi | 10098 fi |
| 10042 fi | 10099 fi |
| 10043 | 10100 |
| 10044 if test "$with_xfs" = "yes" ; then | 10101 if test "$with_xfs" = "yes" ; then |
| 10045 echo "checking for XFontSet" 1>&6 | 10102 echo "checking for XFontSet" 1>&6 |
| 10046 echo "configure:10047: checking for XFontSet" >&5 | 10103 echo "configure:10104: checking for XFontSet" >&5 |
| 10047 | 10104 |
| 10048 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10105 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 10049 echo "configure:10050: checking for XmbDrawString in -lX11" >&5 | 10106 echo "configure:10107: checking for XmbDrawString in -lX11" >&5 |
| 10050 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10107 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 10051 | 10108 |
| 10052 xe_check_libs=" -lX11 " | 10109 xe_check_libs=" -lX11 " |
| 10053 cat > conftest.$ac_ext <<EOF | 10110 cat > conftest.$ac_ext <<EOF |
| 10054 #line 10055 "configure" | 10111 #line 10112 "configure" |
| 10055 #include "confdefs.h" | 10112 #include "confdefs.h" |
| 10056 /* Override any gcc2 internal prototype to avoid an error. */ | 10113 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10057 /* We use char because int might match the return type of a gcc2 | 10114 /* We use char because int might match the return type of a gcc2 |
| 10058 builtin and then its argument prototype would still apply. */ | 10115 builtin and then its argument prototype would still apply. */ |
| 10059 char XmbDrawString(); | 10116 char XmbDrawString(); |
| 10060 | 10117 |
| 10061 int main() { | 10118 int main() { |
| 10062 XmbDrawString() | 10119 XmbDrawString() |
| 10063 ; return 0; } | 10120 ; return 0; } |
| 10064 EOF | 10121 EOF |
| 10065 if { (eval echo configure:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10122 if { (eval echo configure:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10066 rm -rf conftest* | 10123 rm -rf conftest* |
| 10067 eval "ac_cv_lib_$ac_lib_var=yes" | 10124 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10068 else | 10125 else |
| 10069 echo "configure: failed program was:" >&5 | 10126 echo "configure: failed program was:" >&5 |
| 10070 cat conftest.$ac_ext >&5 | 10127 cat conftest.$ac_ext >&5 |
| 10100 fi | 10157 fi |
| 10101 fi | 10158 fi |
| 10102 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10159 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 10103 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10160 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 10104 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10161 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 10105 echo "configure:10106: checking for wnn/jllib.h" >&5 | 10162 echo "configure:10163: checking for wnn/jllib.h" >&5 |
| 10106 | 10163 |
| 10107 cat > conftest.$ac_ext <<EOF | 10164 cat > conftest.$ac_ext <<EOF |
| 10108 #line 10109 "configure" | 10165 #line 10166 "configure" |
| 10109 #include "confdefs.h" | 10166 #include "confdefs.h" |
| 10110 #include <wnn/jllib.h> | 10167 #include <wnn/jllib.h> |
| 10111 EOF | 10168 EOF |
| 10112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10113 { (eval echo configure:10114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10170 { (eval echo configure:10171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10114 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10115 if test -z "$ac_err"; then | 10172 if test -z "$ac_err"; then |
| 10116 rm -rf conftest* | 10173 rm -rf conftest* |
| 10117 eval "ac_cv_header_$ac_safe=yes" | 10174 eval "ac_cv_header_$ac_safe=yes" |
| 10118 else | 10175 else |
| 10131 with_wnn=no | 10188 with_wnn=no |
| 10132 fi | 10189 fi |
| 10133 } | 10190 } |
| 10134 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10191 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
| 10135 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10192 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
| 10136 echo "configure:10137: checking for wnn/commonhd.h" >&5 | 10193 echo "configure:10194: checking for wnn/commonhd.h" >&5 |
| 10137 | 10194 |
| 10138 cat > conftest.$ac_ext <<EOF | 10195 cat > conftest.$ac_ext <<EOF |
| 10139 #line 10140 "configure" | 10196 #line 10197 "configure" |
| 10140 #include "confdefs.h" | 10197 #include "confdefs.h" |
| 10141 #include <wnn/commonhd.h> | 10198 #include <wnn/commonhd.h> |
| 10142 EOF | 10199 EOF |
| 10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10201 { (eval echo configure:10202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10146 if test -z "$ac_err"; then | 10203 if test -z "$ac_err"; then |
| 10147 rm -rf conftest* | 10204 rm -rf conftest* |
| 10148 eval "ac_cv_header_$ac_safe=yes" | 10205 eval "ac_cv_header_$ac_safe=yes" |
| 10149 else | 10206 else |
| 10164 } | 10221 } |
| 10165 if test "$with_wnn" != "no"; then | 10222 if test "$with_wnn" != "no"; then |
| 10166 for ac_func in crypt | 10223 for ac_func in crypt |
| 10167 do | 10224 do |
| 10168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10169 echo "configure:10170: checking for $ac_func" >&5 | 10226 echo "configure:10227: checking for $ac_func" >&5 |
| 10170 | 10227 |
| 10171 cat > conftest.$ac_ext <<EOF | 10228 cat > conftest.$ac_ext <<EOF |
| 10172 #line 10173 "configure" | 10229 #line 10230 "configure" |
| 10173 #include "confdefs.h" | 10230 #include "confdefs.h" |
| 10174 /* System header to define __stub macros and hopefully few prototypes, | 10231 /* System header to define __stub macros and hopefully few prototypes, |
| 10175 which can conflict with char $ac_func(); below. */ | 10232 which can conflict with char $ac_func(); below. */ |
| 10176 #include <assert.h> | 10233 #include <assert.h> |
| 10177 /* Override any gcc2 internal prototype to avoid an error. */ | 10234 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10190 $ac_func(); | 10247 $ac_func(); |
| 10191 #endif | 10248 #endif |
| 10192 | 10249 |
| 10193 ; return 0; } | 10250 ; return 0; } |
| 10194 EOF | 10251 EOF |
| 10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10196 rm -rf conftest* | 10253 rm -rf conftest* |
| 10197 eval "ac_cv_func_$ac_func=yes" | 10254 eval "ac_cv_func_$ac_func=yes" |
| 10198 else | 10255 else |
| 10199 echo "configure: failed program was:" >&5 | 10256 echo "configure: failed program was:" >&5 |
| 10200 cat conftest.$ac_ext >&5 | 10257 cat conftest.$ac_ext >&5 |
| 10219 fi | 10276 fi |
| 10220 done | 10277 done |
| 10221 | 10278 |
| 10222 test "$ac_cv_func_crypt" != "yes" && { | 10279 test "$ac_cv_func_crypt" != "yes" && { |
| 10223 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10280 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 10224 echo "configure:10225: checking for crypt in -lcrypt" >&5 | 10281 echo "configure:10282: checking for crypt in -lcrypt" >&5 |
| 10225 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10282 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 10226 | 10283 |
| 10227 xe_check_libs=" -lcrypt " | 10284 xe_check_libs=" -lcrypt " |
| 10228 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
| 10229 #line 10230 "configure" | 10286 #line 10287 "configure" |
| 10230 #include "confdefs.h" | 10287 #include "confdefs.h" |
| 10231 /* Override any gcc2 internal prototype to avoid an error. */ | 10288 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10232 /* We use char because int might match the return type of a gcc2 | 10289 /* We use char because int might match the return type of a gcc2 |
| 10233 builtin and then its argument prototype would still apply. */ | 10290 builtin and then its argument prototype would still apply. */ |
| 10234 char crypt(); | 10291 char crypt(); |
| 10235 | 10292 |
| 10236 int main() { | 10293 int main() { |
| 10237 crypt() | 10294 crypt() |
| 10238 ; return 0; } | 10295 ; return 0; } |
| 10239 EOF | 10296 EOF |
| 10240 if { (eval echo configure:10241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10297 if { (eval echo configure:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10241 rm -rf conftest* | 10298 rm -rf conftest* |
| 10242 eval "ac_cv_lib_$ac_lib_var=yes" | 10299 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10243 else | 10300 else |
| 10244 echo "configure: failed program was:" >&5 | 10301 echo "configure: failed program was:" >&5 |
| 10245 cat conftest.$ac_ext >&5 | 10302 cat conftest.$ac_ext >&5 |
| 10270 } | 10327 } |
| 10271 fi | 10328 fi |
| 10272 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10329 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 10273 | 10330 |
| 10274 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10331 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 10275 echo "configure:10276: checking for jl_dic_list_e in -lwnn" >&5 | 10332 echo "configure:10333: checking for jl_dic_list_e in -lwnn" >&5 |
| 10276 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10333 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10277 | 10334 |
| 10278 xe_check_libs=" -lwnn " | 10335 xe_check_libs=" -lwnn " |
| 10279 cat > conftest.$ac_ext <<EOF | 10336 cat > conftest.$ac_ext <<EOF |
| 10280 #line 10281 "configure" | 10337 #line 10338 "configure" |
| 10281 #include "confdefs.h" | 10338 #include "confdefs.h" |
| 10282 /* Override any gcc2 internal prototype to avoid an error. */ | 10339 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10283 /* We use char because int might match the return type of a gcc2 | 10340 /* We use char because int might match the return type of a gcc2 |
| 10284 builtin and then its argument prototype would still apply. */ | 10341 builtin and then its argument prototype would still apply. */ |
| 10285 char jl_dic_list_e(); | 10342 char jl_dic_list_e(); |
| 10286 | 10343 |
| 10287 int main() { | 10344 int main() { |
| 10288 jl_dic_list_e() | 10345 jl_dic_list_e() |
| 10289 ; return 0; } | 10346 ; return 0; } |
| 10290 EOF | 10347 EOF |
| 10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10292 rm -rf conftest* | 10349 rm -rf conftest* |
| 10293 eval "ac_cv_lib_$ac_lib_var=yes" | 10350 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10294 else | 10351 else |
| 10295 echo "configure: failed program was:" >&5 | 10352 echo "configure: failed program was:" >&5 |
| 10296 cat conftest.$ac_ext >&5 | 10353 cat conftest.$ac_ext >&5 |
| 10304 echo "$ac_t""yes" 1>&6 | 10361 echo "$ac_t""yes" 1>&6 |
| 10305 libwnn=wnn | 10362 libwnn=wnn |
| 10306 else | 10363 else |
| 10307 echo "$ac_t""no" 1>&6 | 10364 echo "$ac_t""no" 1>&6 |
| 10308 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10365 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 10309 echo "configure:10310: checking for jl_dic_list_e in -lwnn4" >&5 | 10366 echo "configure:10367: checking for jl_dic_list_e in -lwnn4" >&5 |
| 10310 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10367 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10311 | 10368 |
| 10312 xe_check_libs=" -lwnn4 " | 10369 xe_check_libs=" -lwnn4 " |
| 10313 cat > conftest.$ac_ext <<EOF | 10370 cat > conftest.$ac_ext <<EOF |
| 10314 #line 10315 "configure" | 10371 #line 10372 "configure" |
| 10315 #include "confdefs.h" | 10372 #include "confdefs.h" |
| 10316 /* Override any gcc2 internal prototype to avoid an error. */ | 10373 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10317 /* We use char because int might match the return type of a gcc2 | 10374 /* We use char because int might match the return type of a gcc2 |
| 10318 builtin and then its argument prototype would still apply. */ | 10375 builtin and then its argument prototype would still apply. */ |
| 10319 char jl_dic_list_e(); | 10376 char jl_dic_list_e(); |
| 10320 | 10377 |
| 10321 int main() { | 10378 int main() { |
| 10322 jl_dic_list_e() | 10379 jl_dic_list_e() |
| 10323 ; return 0; } | 10380 ; return 0; } |
| 10324 EOF | 10381 EOF |
| 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10382 if { (eval echo configure:10383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10326 rm -rf conftest* | 10383 rm -rf conftest* |
| 10327 eval "ac_cv_lib_$ac_lib_var=yes" | 10384 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10328 else | 10385 else |
| 10329 echo "configure: failed program was:" >&5 | 10386 echo "configure: failed program was:" >&5 |
| 10330 cat conftest.$ac_ext >&5 | 10387 cat conftest.$ac_ext >&5 |
| 10338 echo "$ac_t""yes" 1>&6 | 10395 echo "$ac_t""yes" 1>&6 |
| 10339 libwnn=wnn4 | 10396 libwnn=wnn4 |
| 10340 else | 10397 else |
| 10341 echo "$ac_t""no" 1>&6 | 10398 echo "$ac_t""no" 1>&6 |
| 10342 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10399 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 10343 echo "configure:10344: checking for jl_dic_list_e in -lwnn6" >&5 | 10400 echo "configure:10401: checking for jl_dic_list_e in -lwnn6" >&5 |
| 10344 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10401 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 10345 | 10402 |
| 10346 xe_check_libs=" -lwnn6 " | 10403 xe_check_libs=" -lwnn6 " |
| 10347 cat > conftest.$ac_ext <<EOF | 10404 cat > conftest.$ac_ext <<EOF |
| 10348 #line 10349 "configure" | 10405 #line 10406 "configure" |
| 10349 #include "confdefs.h" | 10406 #include "confdefs.h" |
| 10350 /* Override any gcc2 internal prototype to avoid an error. */ | 10407 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10351 /* We use char because int might match the return type of a gcc2 | 10408 /* We use char because int might match the return type of a gcc2 |
| 10352 builtin and then its argument prototype would still apply. */ | 10409 builtin and then its argument prototype would still apply. */ |
| 10353 char jl_dic_list_e(); | 10410 char jl_dic_list_e(); |
| 10354 | 10411 |
| 10355 int main() { | 10412 int main() { |
| 10356 jl_dic_list_e() | 10413 jl_dic_list_e() |
| 10357 ; return 0; } | 10414 ; return 0; } |
| 10358 EOF | 10415 EOF |
| 10359 if { (eval echo configure:10360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10416 if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10360 rm -rf conftest* | 10417 rm -rf conftest* |
| 10361 eval "ac_cv_lib_$ac_lib_var=yes" | 10418 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10362 else | 10419 else |
| 10363 echo "configure: failed program was:" >&5 | 10420 echo "configure: failed program was:" >&5 |
| 10364 cat conftest.$ac_ext >&5 | 10421 cat conftest.$ac_ext >&5 |
| 10372 echo "$ac_t""yes" 1>&6 | 10429 echo "$ac_t""yes" 1>&6 |
| 10373 libwnn=wnn6 | 10430 libwnn=wnn6 |
| 10374 else | 10431 else |
| 10375 echo "$ac_t""no" 1>&6 | 10432 echo "$ac_t""no" 1>&6 |
| 10376 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10433 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 10377 echo "configure:10378: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10434 echo "configure:10435: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 10378 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10435 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 10379 | 10436 |
| 10380 xe_check_libs=" -lwnn6_fromsrc " | 10437 xe_check_libs=" -lwnn6_fromsrc " |
| 10381 cat > conftest.$ac_ext <<EOF | 10438 cat > conftest.$ac_ext <<EOF |
| 10382 #line 10383 "configure" | 10439 #line 10440 "configure" |
| 10383 #include "confdefs.h" | 10440 #include "confdefs.h" |
| 10384 /* Override any gcc2 internal prototype to avoid an error. */ | 10441 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10385 /* We use char because int might match the return type of a gcc2 | 10442 /* We use char because int might match the return type of a gcc2 |
| 10386 builtin and then its argument prototype would still apply. */ | 10443 builtin and then its argument prototype would still apply. */ |
| 10387 char dic_list_e(); | 10444 char dic_list_e(); |
| 10388 | 10445 |
| 10389 int main() { | 10446 int main() { |
| 10390 dic_list_e() | 10447 dic_list_e() |
| 10391 ; return 0; } | 10448 ; return 0; } |
| 10392 EOF | 10449 EOF |
| 10393 if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10450 if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10394 rm -rf conftest* | 10451 rm -rf conftest* |
| 10395 eval "ac_cv_lib_$ac_lib_var=yes" | 10452 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10396 else | 10453 else |
| 10397 echo "configure: failed program was:" >&5 | 10454 echo "configure: failed program was:" >&5 |
| 10398 cat conftest.$ac_ext >&5 | 10455 cat conftest.$ac_ext >&5 |
| 10436 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10493 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 10437 fi | 10494 fi |
| 10438 if test "$with_wnn6" != "no"; then | 10495 if test "$with_wnn6" != "no"; then |
| 10439 | 10496 |
| 10440 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10497 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 10441 echo "configure:10442: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10498 echo "configure:10499: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 10442 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10499 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 10443 | 10500 |
| 10444 xe_check_libs=" -l$libwnn " | 10501 xe_check_libs=" -l$libwnn " |
| 10445 cat > conftest.$ac_ext <<EOF | 10502 cat > conftest.$ac_ext <<EOF |
| 10446 #line 10447 "configure" | 10503 #line 10504 "configure" |
| 10447 #include "confdefs.h" | 10504 #include "confdefs.h" |
| 10448 /* Override any gcc2 internal prototype to avoid an error. */ | 10505 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10449 /* We use char because int might match the return type of a gcc2 | 10506 /* We use char because int might match the return type of a gcc2 |
| 10450 builtin and then its argument prototype would still apply. */ | 10507 builtin and then its argument prototype would still apply. */ |
| 10451 char jl_fi_dic_list(); | 10508 char jl_fi_dic_list(); |
| 10452 | 10509 |
| 10453 int main() { | 10510 int main() { |
| 10454 jl_fi_dic_list() | 10511 jl_fi_dic_list() |
| 10455 ; return 0; } | 10512 ; return 0; } |
| 10456 EOF | 10513 EOF |
| 10457 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10458 rm -rf conftest* | 10515 rm -rf conftest* |
| 10459 eval "ac_cv_lib_$ac_lib_var=yes" | 10516 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10460 else | 10517 else |
| 10461 echo "configure: failed program was:" >&5 | 10518 echo "configure: failed program was:" >&5 |
| 10462 cat conftest.$ac_ext >&5 | 10519 cat conftest.$ac_ext >&5 |
| 10487 | 10544 |
| 10488 canna_includes_found=no | 10545 canna_includes_found=no |
| 10489 if test "$with_canna" != "no"; then | 10546 if test "$with_canna" != "no"; then |
| 10490 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10547 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 10491 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10548 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 10492 echo "configure:10493: checking for canna/jrkanji.h" >&5 | 10549 echo "configure:10550: checking for canna/jrkanji.h" >&5 |
| 10493 | 10550 |
| 10494 cat > conftest.$ac_ext <<EOF | 10551 cat > conftest.$ac_ext <<EOF |
| 10495 #line 10496 "configure" | 10552 #line 10553 "configure" |
| 10496 #include "confdefs.h" | 10553 #include "confdefs.h" |
| 10497 #include <canna/jrkanji.h> | 10554 #include <canna/jrkanji.h> |
| 10498 EOF | 10555 EOF |
| 10499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10500 { (eval echo configure:10501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10557 { (eval echo configure:10558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10502 if test -z "$ac_err"; then | 10559 if test -z "$ac_err"; then |
| 10503 rm -rf conftest* | 10560 rm -rf conftest* |
| 10504 eval "ac_cv_header_$ac_safe=yes" | 10561 eval "ac_cv_header_$ac_safe=yes" |
| 10505 else | 10562 else |
| 10522 -d "/usr/local/canna/include"; then | 10579 -d "/usr/local/canna/include"; then |
| 10523 save_c_switch_site="$c_switch_site" | 10580 save_c_switch_site="$c_switch_site" |
| 10524 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10581 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 10525 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10582 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 10526 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10583 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 10527 echo "configure:10528: checking for canna/jrkanji.h" >&5 | 10584 echo "configure:10585: checking for canna/jrkanji.h" >&5 |
| 10528 | 10585 |
| 10529 cat > conftest.$ac_ext <<EOF | 10586 cat > conftest.$ac_ext <<EOF |
| 10530 #line 10531 "configure" | 10587 #line 10588 "configure" |
| 10531 #include "confdefs.h" | 10588 #include "confdefs.h" |
| 10532 #include <canna/jrkanji.h> | 10589 #include <canna/jrkanji.h> |
| 10533 EOF | 10590 EOF |
| 10534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10535 { (eval echo configure:10536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10537 if test -z "$ac_err"; then | 10594 if test -z "$ac_err"; then |
| 10538 rm -rf conftest* | 10595 rm -rf conftest* |
| 10539 eval "ac_cv_header_$ac_safe=yes" | 10596 eval "ac_cv_header_$ac_safe=yes" |
| 10540 else | 10597 else |
| 10558 fi | 10615 fi |
| 10559 fi | 10616 fi |
| 10560 | 10617 |
| 10561 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10618 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 10562 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10619 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 10563 echo "configure:10564: checking for canna/RK.h" >&5 | 10620 echo "configure:10621: checking for canna/RK.h" >&5 |
| 10564 | 10621 |
| 10565 cat > conftest.$ac_ext <<EOF | 10622 cat > conftest.$ac_ext <<EOF |
| 10566 #line 10567 "configure" | 10623 #line 10624 "configure" |
| 10567 #include "confdefs.h" | 10624 #include "confdefs.h" |
| 10568 #include <canna/RK.h> | 10625 #include <canna/RK.h> |
| 10569 EOF | 10626 EOF |
| 10570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10571 { (eval echo configure:10572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10573 if test -z "$ac_err"; then | 10630 if test -z "$ac_err"; then |
| 10574 rm -rf conftest* | 10631 rm -rf conftest* |
| 10575 eval "ac_cv_header_$ac_safe=yes" | 10632 eval "ac_cv_header_$ac_safe=yes" |
| 10576 else | 10633 else |
| 10589 with_canna=no | 10646 with_canna=no |
| 10590 fi | 10647 fi |
| 10591 } | 10648 } |
| 10592 test -z "$with_canna" && { | 10649 test -z "$with_canna" && { |
| 10593 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10650 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 10594 echo "configure:10595: checking for RkBgnBun in -lRKC" >&5 | 10651 echo "configure:10652: checking for RkBgnBun in -lRKC" >&5 |
| 10595 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10652 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 10596 | 10653 |
| 10597 xe_check_libs=" -lRKC " | 10654 xe_check_libs=" -lRKC " |
| 10598 cat > conftest.$ac_ext <<EOF | 10655 cat > conftest.$ac_ext <<EOF |
| 10599 #line 10600 "configure" | 10656 #line 10657 "configure" |
| 10600 #include "confdefs.h" | 10657 #include "confdefs.h" |
| 10601 /* Override any gcc2 internal prototype to avoid an error. */ | 10658 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10602 /* We use char because int might match the return type of a gcc2 | 10659 /* We use char because int might match the return type of a gcc2 |
| 10603 builtin and then its argument prototype would still apply. */ | 10660 builtin and then its argument prototype would still apply. */ |
| 10604 char RkBgnBun(); | 10661 char RkBgnBun(); |
| 10605 | 10662 |
| 10606 int main() { | 10663 int main() { |
| 10607 RkBgnBun() | 10664 RkBgnBun() |
| 10608 ; return 0; } | 10665 ; return 0; } |
| 10609 EOF | 10666 EOF |
| 10610 if { (eval echo configure:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10611 rm -rf conftest* | 10668 rm -rf conftest* |
| 10612 eval "ac_cv_lib_$ac_lib_var=yes" | 10669 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10613 else | 10670 else |
| 10614 echo "configure: failed program was:" >&5 | 10671 echo "configure: failed program was:" >&5 |
| 10615 cat conftest.$ac_ext >&5 | 10672 cat conftest.$ac_ext >&5 |
| 10628 fi | 10685 fi |
| 10629 | 10686 |
| 10630 } | 10687 } |
| 10631 test -z "$with_canna" && { | 10688 test -z "$with_canna" && { |
| 10632 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10689 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 10633 echo "configure:10634: checking for jrKanjiControl in -lcanna" >&5 | 10690 echo "configure:10691: checking for jrKanjiControl in -lcanna" >&5 |
| 10634 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10691 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 10635 | 10692 |
| 10636 xe_check_libs=" -lcanna " | 10693 xe_check_libs=" -lcanna " |
| 10637 cat > conftest.$ac_ext <<EOF | 10694 cat > conftest.$ac_ext <<EOF |
| 10638 #line 10639 "configure" | 10695 #line 10696 "configure" |
| 10639 #include "confdefs.h" | 10696 #include "confdefs.h" |
| 10640 /* Override any gcc2 internal prototype to avoid an error. */ | 10697 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10641 /* We use char because int might match the return type of a gcc2 | 10698 /* We use char because int might match the return type of a gcc2 |
| 10642 builtin and then its argument prototype would still apply. */ | 10699 builtin and then its argument prototype would still apply. */ |
| 10643 char jrKanjiControl(); | 10700 char jrKanjiControl(); |
| 10644 | 10701 |
| 10645 int main() { | 10702 int main() { |
| 10646 jrKanjiControl() | 10703 jrKanjiControl() |
| 10647 ; return 0; } | 10704 ; return 0; } |
| 10648 EOF | 10705 EOF |
| 10649 if { (eval echo configure:10650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10706 if { (eval echo configure:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10650 rm -rf conftest* | 10707 rm -rf conftest* |
| 10651 eval "ac_cv_lib_$ac_lib_var=yes" | 10708 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10652 else | 10709 else |
| 10653 echo "configure: failed program was:" >&5 | 10710 echo "configure: failed program was:" >&5 |
| 10654 cat conftest.$ac_ext >&5 | 10711 cat conftest.$ac_ext >&5 |
| 10693 | 10750 |
| 10694 if test "$need_motif" = "yes" ; then | 10751 if test "$need_motif" = "yes" ; then |
| 10695 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10752 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 10696 | 10753 |
| 10697 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10754 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 10698 echo "configure:10699: checking for layout_object_getvalue in -li18n" >&5 | 10755 echo "configure:10756: checking for layout_object_getvalue in -li18n" >&5 |
| 10699 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10756 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 10700 | 10757 |
| 10701 xe_check_libs=" -li18n " | 10758 xe_check_libs=" -li18n " |
| 10702 cat > conftest.$ac_ext <<EOF | 10759 cat > conftest.$ac_ext <<EOF |
| 10703 #line 10704 "configure" | 10760 #line 10761 "configure" |
| 10704 #include "confdefs.h" | 10761 #include "confdefs.h" |
| 10705 /* Override any gcc2 internal prototype to avoid an error. */ | 10762 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10706 /* We use char because int might match the return type of a gcc2 | 10763 /* We use char because int might match the return type of a gcc2 |
| 10707 builtin and then its argument prototype would still apply. */ | 10764 builtin and then its argument prototype would still apply. */ |
| 10708 char layout_object_getvalue(); | 10765 char layout_object_getvalue(); |
| 10709 | 10766 |
| 10710 int main() { | 10767 int main() { |
| 10711 layout_object_getvalue() | 10768 layout_object_getvalue() |
| 10712 ; return 0; } | 10769 ; return 0; } |
| 10713 EOF | 10770 EOF |
| 10714 if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10771 if { (eval echo configure:10772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10715 rm -rf conftest* | 10772 rm -rf conftest* |
| 10716 eval "ac_cv_lib_$ac_lib_var=yes" | 10773 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10717 else | 10774 else |
| 10718 echo "configure: failed program was:" >&5 | 10775 echo "configure: failed program was:" >&5 |
| 10719 cat conftest.$ac_ext >&5 | 10776 cat conftest.$ac_ext >&5 |
| 10795 fi | 10852 fi |
| 10796 | 10853 |
| 10797 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10854 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
| 10798 do | 10855 do |
| 10799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10800 echo "configure:10801: checking for $ac_func" >&5 | 10857 echo "configure:10858: checking for $ac_func" >&5 |
| 10801 | 10858 |
| 10802 cat > conftest.$ac_ext <<EOF | 10859 cat > conftest.$ac_ext <<EOF |
| 10803 #line 10804 "configure" | 10860 #line 10861 "configure" |
| 10804 #include "confdefs.h" | 10861 #include "confdefs.h" |
| 10805 /* System header to define __stub macros and hopefully few prototypes, | 10862 /* System header to define __stub macros and hopefully few prototypes, |
| 10806 which can conflict with char $ac_func(); below. */ | 10863 which can conflict with char $ac_func(); below. */ |
| 10807 #include <assert.h> | 10864 #include <assert.h> |
| 10808 /* Override any gcc2 internal prototype to avoid an error. */ | 10865 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10821 $ac_func(); | 10878 $ac_func(); |
| 10822 #endif | 10879 #endif |
| 10823 | 10880 |
| 10824 ; return 0; } | 10881 ; return 0; } |
| 10825 EOF | 10882 EOF |
| 10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10883 if { (eval echo configure:10884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10827 rm -rf conftest* | 10884 rm -rf conftest* |
| 10828 eval "ac_cv_func_$ac_func=yes" | 10885 eval "ac_cv_func_$ac_func=yes" |
| 10829 else | 10886 else |
| 10830 echo "configure: failed program was:" >&5 | 10887 echo "configure: failed program was:" >&5 |
| 10831 cat conftest.$ac_ext >&5 | 10888 cat conftest.$ac_ext >&5 |
| 10853 | 10910 |
| 10854 | 10911 |
| 10855 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10912 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
| 10856 do | 10913 do |
| 10857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10858 echo "configure:10859: checking for $ac_func" >&5 | 10915 echo "configure:10916: checking for $ac_func" >&5 |
| 10859 | 10916 |
| 10860 cat > conftest.$ac_ext <<EOF | 10917 cat > conftest.$ac_ext <<EOF |
| 10861 #line 10862 "configure" | 10918 #line 10919 "configure" |
| 10862 #include "confdefs.h" | 10919 #include "confdefs.h" |
| 10863 /* System header to define __stub macros and hopefully few prototypes, | 10920 /* System header to define __stub macros and hopefully few prototypes, |
| 10864 which can conflict with char $ac_func(); below. */ | 10921 which can conflict with char $ac_func(); below. */ |
| 10865 #include <assert.h> | 10922 #include <assert.h> |
| 10866 /* Override any gcc2 internal prototype to avoid an error. */ | 10923 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10879 $ac_func(); | 10936 $ac_func(); |
| 10880 #endif | 10937 #endif |
| 10881 | 10938 |
| 10882 ; return 0; } | 10939 ; return 0; } |
| 10883 EOF | 10940 EOF |
| 10884 if { (eval echo configure:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10885 rm -rf conftest* | 10942 rm -rf conftest* |
| 10886 eval "ac_cv_func_$ac_func=yes" | 10943 eval "ac_cv_func_$ac_func=yes" |
| 10887 else | 10944 else |
| 10888 echo "configure: failed program was:" >&5 | 10945 echo "configure: failed program was:" >&5 |
| 10889 cat conftest.$ac_ext >&5 | 10946 cat conftest.$ac_ext >&5 |
| 10908 fi | 10965 fi |
| 10909 done | 10966 done |
| 10910 | 10967 |
| 10911 | 10968 |
| 10912 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10969 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
| 10913 echo "configure:10914: checking for openpty" >&5 | 10970 echo "configure:10971: checking for openpty" >&5 |
| 10914 | 10971 |
| 10915 cat > conftest.$ac_ext <<EOF | 10972 cat > conftest.$ac_ext <<EOF |
| 10916 #line 10917 "configure" | 10973 #line 10974 "configure" |
| 10917 #include "confdefs.h" | 10974 #include "confdefs.h" |
| 10918 /* System header to define __stub macros and hopefully few prototypes, | 10975 /* System header to define __stub macros and hopefully few prototypes, |
| 10919 which can conflict with char openpty(); below. */ | 10976 which can conflict with char openpty(); below. */ |
| 10920 #include <assert.h> | 10977 #include <assert.h> |
| 10921 /* Override any gcc2 internal prototype to avoid an error. */ | 10978 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10934 openpty(); | 10991 openpty(); |
| 10935 #endif | 10992 #endif |
| 10936 | 10993 |
| 10937 ; return 0; } | 10994 ; return 0; } |
| 10938 EOF | 10995 EOF |
| 10939 if { (eval echo configure:10940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10996 if { (eval echo configure:10997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10940 rm -rf conftest* | 10997 rm -rf conftest* |
| 10941 eval "ac_cv_func_openpty=yes" | 10998 eval "ac_cv_func_openpty=yes" |
| 10942 else | 10999 else |
| 10943 echo "configure: failed program was:" >&5 | 11000 echo "configure: failed program was:" >&5 |
| 10944 cat conftest.$ac_ext >&5 | 11001 cat conftest.$ac_ext >&5 |
| 10953 else | 11010 else |
| 10954 echo "$ac_t""no" 1>&6 | 11011 echo "$ac_t""no" 1>&6 |
| 10955 | 11012 |
| 10956 | 11013 |
| 10957 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11014 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
| 10958 echo "configure:10959: checking for openpty in -lutil" >&5 | 11015 echo "configure:11016: checking for openpty in -lutil" >&5 |
| 10959 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11016 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
| 10960 | 11017 |
| 10961 xe_check_libs=" -lutil " | 11018 xe_check_libs=" -lutil " |
| 10962 cat > conftest.$ac_ext <<EOF | 11019 cat > conftest.$ac_ext <<EOF |
| 10963 #line 10964 "configure" | 11020 #line 11021 "configure" |
| 10964 #include "confdefs.h" | 11021 #include "confdefs.h" |
| 10965 /* Override any gcc2 internal prototype to avoid an error. */ | 11022 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10966 /* We use char because int might match the return type of a gcc2 | 11023 /* We use char because int might match the return type of a gcc2 |
| 10967 builtin and then its argument prototype would still apply. */ | 11024 builtin and then its argument prototype would still apply. */ |
| 10968 char openpty(); | 11025 char openpty(); |
| 10969 | 11026 |
| 10970 int main() { | 11027 int main() { |
| 10971 openpty() | 11028 openpty() |
| 10972 ; return 0; } | 11029 ; return 0; } |
| 10973 EOF | 11030 EOF |
| 10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10975 rm -rf conftest* | 11032 rm -rf conftest* |
| 10976 eval "ac_cv_lib_$ac_lib_var=yes" | 11033 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10977 else | 11034 else |
| 10978 echo "configure: failed program was:" >&5 | 11035 echo "configure: failed program was:" >&5 |
| 10979 cat conftest.$ac_ext >&5 | 11036 cat conftest.$ac_ext >&5 |
| 11004 | 11061 |
| 11005 for ac_hdr in libutil.h util.h | 11062 for ac_hdr in libutil.h util.h |
| 11006 do | 11063 do |
| 11007 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11008 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11009 echo "configure:11010: checking for $ac_hdr" >&5 | 11066 echo "configure:11067: checking for $ac_hdr" >&5 |
| 11010 | 11067 |
| 11011 cat > conftest.$ac_ext <<EOF | 11068 cat > conftest.$ac_ext <<EOF |
| 11012 #line 11013 "configure" | 11069 #line 11070 "configure" |
| 11013 #include "confdefs.h" | 11070 #include "confdefs.h" |
| 11014 #include <$ac_hdr> | 11071 #include <$ac_hdr> |
| 11015 EOF | 11072 EOF |
| 11016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11017 { (eval echo configure:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11019 if test -z "$ac_err"; then | 11076 if test -z "$ac_err"; then |
| 11020 rm -rf conftest* | 11077 rm -rf conftest* |
| 11021 eval "ac_cv_header_$ac_safe=yes" | 11078 eval "ac_cv_header_$ac_safe=yes" |
| 11022 else | 11079 else |
| 11049 case "$opsys" in | 11106 case "$opsys" in |
| 11050 hpux*) for ac_hdr in sys/ptyio.h | 11107 hpux*) for ac_hdr in sys/ptyio.h |
| 11051 do | 11108 do |
| 11052 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11054 echo "configure:11055: checking for $ac_hdr" >&5 | 11111 echo "configure:11112: checking for $ac_hdr" >&5 |
| 11055 | 11112 |
| 11056 cat > conftest.$ac_ext <<EOF | 11113 cat > conftest.$ac_ext <<EOF |
| 11057 #line 11058 "configure" | 11114 #line 11115 "configure" |
| 11058 #include "confdefs.h" | 11115 #include "confdefs.h" |
| 11059 #include <$ac_hdr> | 11116 #include <$ac_hdr> |
| 11060 EOF | 11117 EOF |
| 11061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11062 { (eval echo configure:11063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11119 { (eval echo configure:11120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11064 if test -z "$ac_err"; then | 11121 if test -z "$ac_err"; then |
| 11065 rm -rf conftest* | 11122 rm -rf conftest* |
| 11066 eval "ac_cv_header_$ac_safe=yes" | 11123 eval "ac_cv_header_$ac_safe=yes" |
| 11067 else | 11124 else |
| 11090 ;; | 11147 ;; |
| 11091 *) for ac_hdr in pty.h | 11148 *) for ac_hdr in pty.h |
| 11092 do | 11149 do |
| 11093 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11150 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11095 echo "configure:11096: checking for $ac_hdr" >&5 | 11152 echo "configure:11153: checking for $ac_hdr" >&5 |
| 11096 | 11153 |
| 11097 cat > conftest.$ac_ext <<EOF | 11154 cat > conftest.$ac_ext <<EOF |
| 11098 #line 11099 "configure" | 11155 #line 11156 "configure" |
| 11099 #include "confdefs.h" | 11156 #include "confdefs.h" |
| 11100 #include <$ac_hdr> | 11157 #include <$ac_hdr> |
| 11101 EOF | 11158 EOF |
| 11102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11103 { (eval echo configure:11104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11160 { (eval echo configure:11161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11105 if test -z "$ac_err"; then | 11162 if test -z "$ac_err"; then |
| 11106 rm -rf conftest* | 11163 rm -rf conftest* |
| 11107 eval "ac_cv_header_$ac_safe=yes" | 11164 eval "ac_cv_header_$ac_safe=yes" |
| 11108 else | 11165 else |
| 11131 | 11188 |
| 11132 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11189 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
| 11133 do | 11190 do |
| 11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11191 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11136 echo "configure:11137: checking for $ac_hdr" >&5 | 11193 echo "configure:11194: checking for $ac_hdr" >&5 |
| 11137 | 11194 |
| 11138 cat > conftest.$ac_ext <<EOF | 11195 cat > conftest.$ac_ext <<EOF |
| 11139 #line 11140 "configure" | 11196 #line 11197 "configure" |
| 11140 #include "confdefs.h" | 11197 #include "confdefs.h" |
| 11141 #include <$ac_hdr> | 11198 #include <$ac_hdr> |
| 11142 EOF | 11199 EOF |
| 11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11201 { (eval echo configure:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11146 if test -z "$ac_err"; then | 11203 if test -z "$ac_err"; then |
| 11147 rm -rf conftest* | 11204 rm -rf conftest* |
| 11148 eval "ac_cv_header_$ac_safe=yes" | 11205 eval "ac_cv_header_$ac_safe=yes" |
| 11149 else | 11206 else |
| 11175 | 11232 |
| 11176 for ac_hdr in stropts.h | 11233 for ac_hdr in stropts.h |
| 11177 do | 11234 do |
| 11178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11180 echo "configure:11181: checking for $ac_hdr" >&5 | 11237 echo "configure:11238: checking for $ac_hdr" >&5 |
| 11181 | 11238 |
| 11182 cat > conftest.$ac_ext <<EOF | 11239 cat > conftest.$ac_ext <<EOF |
| 11183 #line 11184 "configure" | 11240 #line 11241 "configure" |
| 11184 #include "confdefs.h" | 11241 #include "confdefs.h" |
| 11185 #include <$ac_hdr> | 11242 #include <$ac_hdr> |
| 11186 EOF | 11243 EOF |
| 11187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11188 { (eval echo configure:11189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11245 { (eval echo configure:11246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11246 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11190 if test -z "$ac_err"; then | 11247 if test -z "$ac_err"; then |
| 11191 rm -rf conftest* | 11248 rm -rf conftest* |
| 11192 eval "ac_cv_header_$ac_safe=yes" | 11249 eval "ac_cv_header_$ac_safe=yes" |
| 11193 else | 11250 else |
| 11216 | 11273 |
| 11217 if test "$ac_cv_header_stropts_h" = "yes"; then | 11274 if test "$ac_cv_header_stropts_h" = "yes"; then |
| 11218 for ac_func in isastream | 11275 for ac_func in isastream |
| 11219 do | 11276 do |
| 11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11221 echo "configure:11222: checking for $ac_func" >&5 | 11278 echo "configure:11279: checking for $ac_func" >&5 |
| 11222 | 11279 |
| 11223 cat > conftest.$ac_ext <<EOF | 11280 cat > conftest.$ac_ext <<EOF |
| 11224 #line 11225 "configure" | 11281 #line 11282 "configure" |
| 11225 #include "confdefs.h" | 11282 #include "confdefs.h" |
| 11226 /* System header to define __stub macros and hopefully few prototypes, | 11283 /* System header to define __stub macros and hopefully few prototypes, |
| 11227 which can conflict with char $ac_func(); below. */ | 11284 which can conflict with char $ac_func(); below. */ |
| 11228 #include <assert.h> | 11285 #include <assert.h> |
| 11229 /* Override any gcc2 internal prototype to avoid an error. */ | 11286 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11242 $ac_func(); | 11299 $ac_func(); |
| 11243 #endif | 11300 #endif |
| 11244 | 11301 |
| 11245 ; return 0; } | 11302 ; return 0; } |
| 11246 EOF | 11303 EOF |
| 11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11248 rm -rf conftest* | 11305 rm -rf conftest* |
| 11249 eval "ac_cv_func_$ac_func=yes" | 11306 eval "ac_cv_func_$ac_func=yes" |
| 11250 else | 11307 else |
| 11251 echo "configure: failed program was:" >&5 | 11308 echo "configure: failed program was:" >&5 |
| 11252 cat conftest.$ac_ext >&5 | 11309 cat conftest.$ac_ext >&5 |
| 11273 | 11330 |
| 11274 for ac_hdr in strtio.h | 11331 for ac_hdr in strtio.h |
| 11275 do | 11332 do |
| 11276 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11333 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11277 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11278 echo "configure:11279: checking for $ac_hdr" >&5 | 11335 echo "configure:11336: checking for $ac_hdr" >&5 |
| 11279 | 11336 |
| 11280 cat > conftest.$ac_ext <<EOF | 11337 cat > conftest.$ac_ext <<EOF |
| 11281 #line 11282 "configure" | 11338 #line 11339 "configure" |
| 11282 #include "confdefs.h" | 11339 #include "confdefs.h" |
| 11283 #include <$ac_hdr> | 11340 #include <$ac_hdr> |
| 11284 EOF | 11341 EOF |
| 11285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11286 { (eval echo configure:11287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11343 { (eval echo configure:11344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11288 if test -z "$ac_err"; then | 11345 if test -z "$ac_err"; then |
| 11289 rm -rf conftest* | 11346 rm -rf conftest* |
| 11290 eval "ac_cv_header_$ac_safe=yes" | 11347 eval "ac_cv_header_$ac_safe=yes" |
| 11291 else | 11348 else |
| 11318 fi | 11375 fi |
| 11319 | 11376 |
| 11320 for ac_func in getloadavg | 11377 for ac_func in getloadavg |
| 11321 do | 11378 do |
| 11322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11323 echo "configure:11324: checking for $ac_func" >&5 | 11380 echo "configure:11381: checking for $ac_func" >&5 |
| 11324 | 11381 |
| 11325 cat > conftest.$ac_ext <<EOF | 11382 cat > conftest.$ac_ext <<EOF |
| 11326 #line 11327 "configure" | 11383 #line 11384 "configure" |
| 11327 #include "confdefs.h" | 11384 #include "confdefs.h" |
| 11328 /* System header to define __stub macros and hopefully few prototypes, | 11385 /* System header to define __stub macros and hopefully few prototypes, |
| 11329 which can conflict with char $ac_func(); below. */ | 11386 which can conflict with char $ac_func(); below. */ |
| 11330 #include <assert.h> | 11387 #include <assert.h> |
| 11331 /* Override any gcc2 internal prototype to avoid an error. */ | 11388 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11344 $ac_func(); | 11401 $ac_func(); |
| 11345 #endif | 11402 #endif |
| 11346 | 11403 |
| 11347 ; return 0; } | 11404 ; return 0; } |
| 11348 EOF | 11405 EOF |
| 11349 if { (eval echo configure:11350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11406 if { (eval echo configure:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11350 rm -rf conftest* | 11407 rm -rf conftest* |
| 11351 eval "ac_cv_func_$ac_func=yes" | 11408 eval "ac_cv_func_$ac_func=yes" |
| 11352 else | 11409 else |
| 11353 echo "configure: failed program was:" >&5 | 11410 echo "configure: failed program was:" >&5 |
| 11354 cat conftest.$ac_ext >&5 | 11411 cat conftest.$ac_ext >&5 |
| 11377 if test "$ac_cv_func_getloadavg" = "yes"; then | 11434 if test "$ac_cv_func_getloadavg" = "yes"; then |
| 11378 for ac_hdr in sys/loadavg.h | 11435 for ac_hdr in sys/loadavg.h |
| 11379 do | 11436 do |
| 11380 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11437 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11438 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11382 echo "configure:11383: checking for $ac_hdr" >&5 | 11439 echo "configure:11440: checking for $ac_hdr" >&5 |
| 11383 | 11440 |
| 11384 cat > conftest.$ac_ext <<EOF | 11441 cat > conftest.$ac_ext <<EOF |
| 11385 #line 11386 "configure" | 11442 #line 11443 "configure" |
| 11386 #include "confdefs.h" | 11443 #include "confdefs.h" |
| 11387 #include <$ac_hdr> | 11444 #include <$ac_hdr> |
| 11388 EOF | 11445 EOF |
| 11389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11390 { (eval echo configure:11391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11447 { (eval echo configure:11448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11392 if test -z "$ac_err"; then | 11449 if test -z "$ac_err"; then |
| 11393 rm -rf conftest* | 11450 rm -rf conftest* |
| 11394 eval "ac_cv_header_$ac_safe=yes" | 11451 eval "ac_cv_header_$ac_safe=yes" |
| 11395 else | 11452 else |
| 11421 echo " xemacs will be linked with \"getloadavg.o\"" | 11478 echo " xemacs will be linked with \"getloadavg.o\"" |
| 11422 fi | 11479 fi |
| 11423 | 11480 |
| 11424 | 11481 |
| 11425 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11482 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 11426 echo "configure:11427: checking for kstat_open in -lkstat" >&5 | 11483 echo "configure:11484: checking for kstat_open in -lkstat" >&5 |
| 11427 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11484 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 11428 | 11485 |
| 11429 xe_check_libs=" -lkstat " | 11486 xe_check_libs=" -lkstat " |
| 11430 cat > conftest.$ac_ext <<EOF | 11487 cat > conftest.$ac_ext <<EOF |
| 11431 #line 11432 "configure" | 11488 #line 11489 "configure" |
| 11432 #include "confdefs.h" | 11489 #include "confdefs.h" |
| 11433 /* Override any gcc2 internal prototype to avoid an error. */ | 11490 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11434 /* We use char because int might match the return type of a gcc2 | 11491 /* We use char because int might match the return type of a gcc2 |
| 11435 builtin and then its argument prototype would still apply. */ | 11492 builtin and then its argument prototype would still apply. */ |
| 11436 char kstat_open(); | 11493 char kstat_open(); |
| 11437 | 11494 |
| 11438 int main() { | 11495 int main() { |
| 11439 kstat_open() | 11496 kstat_open() |
| 11440 ; return 0; } | 11497 ; return 0; } |
| 11441 EOF | 11498 EOF |
| 11442 if { (eval echo configure:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11499 if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11443 rm -rf conftest* | 11500 rm -rf conftest* |
| 11444 eval "ac_cv_lib_$ac_lib_var=yes" | 11501 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11445 else | 11502 else |
| 11446 echo "configure: failed program was:" >&5 | 11503 echo "configure: failed program was:" >&5 |
| 11447 cat conftest.$ac_ext >&5 | 11504 cat conftest.$ac_ext >&5 |
| 11472 | 11529 |
| 11473 for ac_hdr in kstat.h | 11530 for ac_hdr in kstat.h |
| 11474 do | 11531 do |
| 11475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11477 echo "configure:11478: checking for $ac_hdr" >&5 | 11534 echo "configure:11535: checking for $ac_hdr" >&5 |
| 11478 | 11535 |
| 11479 cat > conftest.$ac_ext <<EOF | 11536 cat > conftest.$ac_ext <<EOF |
| 11480 #line 11481 "configure" | 11537 #line 11538 "configure" |
| 11481 #include "confdefs.h" | 11538 #include "confdefs.h" |
| 11482 #include <$ac_hdr> | 11539 #include <$ac_hdr> |
| 11483 EOF | 11540 EOF |
| 11484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11485 { (eval echo configure:11486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11542 { (eval echo configure:11543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11487 if test -z "$ac_err"; then | 11544 if test -z "$ac_err"; then |
| 11488 rm -rf conftest* | 11545 rm -rf conftest* |
| 11489 eval "ac_cv_header_$ac_safe=yes" | 11546 eval "ac_cv_header_$ac_safe=yes" |
| 11490 else | 11547 else |
| 11512 done | 11569 done |
| 11513 | 11570 |
| 11514 | 11571 |
| 11515 | 11572 |
| 11516 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11573 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 11517 echo "configure:11518: checking for kvm_read in -lkvm" >&5 | 11574 echo "configure:11575: checking for kvm_read in -lkvm" >&5 |
| 11518 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11575 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 11519 | 11576 |
| 11520 xe_check_libs=" -lkvm " | 11577 xe_check_libs=" -lkvm " |
| 11521 cat > conftest.$ac_ext <<EOF | 11578 cat > conftest.$ac_ext <<EOF |
| 11522 #line 11523 "configure" | 11579 #line 11580 "configure" |
| 11523 #include "confdefs.h" | 11580 #include "confdefs.h" |
| 11524 /* Override any gcc2 internal prototype to avoid an error. */ | 11581 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11525 /* We use char because int might match the return type of a gcc2 | 11582 /* We use char because int might match the return type of a gcc2 |
| 11526 builtin and then its argument prototype would still apply. */ | 11583 builtin and then its argument prototype would still apply. */ |
| 11527 char kvm_read(); | 11584 char kvm_read(); |
| 11528 | 11585 |
| 11529 int main() { | 11586 int main() { |
| 11530 kvm_read() | 11587 kvm_read() |
| 11531 ; return 0; } | 11588 ; return 0; } |
| 11532 EOF | 11589 EOF |
| 11533 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11590 if { (eval echo configure:11591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11534 rm -rf conftest* | 11591 rm -rf conftest* |
| 11535 eval "ac_cv_lib_$ac_lib_var=yes" | 11592 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11536 else | 11593 else |
| 11537 echo "configure: failed program was:" >&5 | 11594 echo "configure: failed program was:" >&5 |
| 11538 cat conftest.$ac_ext >&5 | 11595 cat conftest.$ac_ext >&5 |
| 11562 | 11619 |
| 11563 | 11620 |
| 11564 fi | 11621 fi |
| 11565 | 11622 |
| 11566 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11623 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 11567 echo "configure:11568: checking whether netdb declares h_errno" >&5 | 11624 echo "configure:11625: checking whether netdb declares h_errno" >&5 |
| 11568 cat > conftest.$ac_ext <<EOF | 11625 cat > conftest.$ac_ext <<EOF |
| 11569 #line 11570 "configure" | 11626 #line 11627 "configure" |
| 11570 #include "confdefs.h" | 11627 #include "confdefs.h" |
| 11571 #include <netdb.h> | 11628 #include <netdb.h> |
| 11572 int main() { | 11629 int main() { |
| 11573 return h_errno; | 11630 return h_errno; |
| 11574 ; return 0; } | 11631 ; return 0; } |
| 11575 EOF | 11632 EOF |
| 11576 if { (eval echo configure:11577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11577 rm -rf conftest* | 11634 rm -rf conftest* |
| 11578 echo "$ac_t""yes" 1>&6 | 11635 echo "$ac_t""yes" 1>&6 |
| 11579 { test "$extra_verbose" = "yes" && cat << \EOF | 11636 { test "$extra_verbose" = "yes" && cat << \EOF |
| 11580 Defining HAVE_H_ERRNO | 11637 Defining HAVE_H_ERRNO |
| 11581 EOF | 11638 EOF |
| 11591 echo "$ac_t""no" 1>&6 | 11648 echo "$ac_t""no" 1>&6 |
| 11592 fi | 11649 fi |
| 11593 rm -f conftest* | 11650 rm -f conftest* |
| 11594 | 11651 |
| 11595 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11652 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 11596 echo "configure:11597: checking for sigsetjmp" >&5 | 11653 echo "configure:11654: checking for sigsetjmp" >&5 |
| 11597 cat > conftest.$ac_ext <<EOF | 11654 cat > conftest.$ac_ext <<EOF |
| 11598 #line 11599 "configure" | 11655 #line 11656 "configure" |
| 11599 #include "confdefs.h" | 11656 #include "confdefs.h" |
| 11600 #include <setjmp.h> | 11657 #include <setjmp.h> |
| 11601 int main() { | 11658 int main() { |
| 11602 sigjmp_buf bar; sigsetjmp (bar, 0); | 11659 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 11603 ; return 0; } | 11660 ; return 0; } |
| 11604 EOF | 11661 EOF |
| 11605 if { (eval echo configure:11606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11662 if { (eval echo configure:11663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11606 rm -rf conftest* | 11663 rm -rf conftest* |
| 11607 echo "$ac_t""yes" 1>&6 | 11664 echo "$ac_t""yes" 1>&6 |
| 11608 { test "$extra_verbose" = "yes" && cat << \EOF | 11665 { test "$extra_verbose" = "yes" && cat << \EOF |
| 11609 Defining HAVE_SIGSETJMP | 11666 Defining HAVE_SIGSETJMP |
| 11610 EOF | 11667 EOF |
| 11620 echo "$ac_t""no" 1>&6 | 11677 echo "$ac_t""no" 1>&6 |
| 11621 fi | 11678 fi |
| 11622 rm -f conftest* | 11679 rm -f conftest* |
| 11623 | 11680 |
| 11624 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11681 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 11625 echo "configure:11626: checking whether localtime caches TZ" >&5 | 11682 echo "configure:11683: checking whether localtime caches TZ" >&5 |
| 11626 | 11683 |
| 11627 if test "$ac_cv_func_tzset" = "yes"; then | 11684 if test "$ac_cv_func_tzset" = "yes"; then |
| 11628 cat > conftest.$ac_ext <<EOF | 11685 cat > conftest.$ac_ext <<EOF |
| 11629 #line 11630 "configure" | 11686 #line 11687 "configure" |
| 11630 #include "confdefs.h" | 11687 #include "confdefs.h" |
| 11631 #include <time.h> | 11688 #include <time.h> |
| 11632 #if STDC_HEADERS | 11689 #if STDC_HEADERS |
| 11633 # include <stdlib.h> | 11690 # include <stdlib.h> |
| 11634 #endif | 11691 #endif |
| 11659 if (localtime (&now)->tm_hour != hour_unset) | 11716 if (localtime (&now)->tm_hour != hour_unset) |
| 11660 exit (1); | 11717 exit (1); |
| 11661 exit (0); | 11718 exit (0); |
| 11662 } | 11719 } |
| 11663 EOF | 11720 EOF |
| 11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11721 if { (eval echo configure:11722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11665 then | 11722 then |
| 11666 emacs_cv_localtime_cache=no | 11723 emacs_cv_localtime_cache=no |
| 11667 else | 11724 else |
| 11668 conftest_rc="$?" | 11725 conftest_rc="$?" |
| 11669 echo "configure: failed program was:" >&5 | 11726 echo "configure: failed program was:" >&5 |
| 11689 | 11746 |
| 11690 fi | 11747 fi |
| 11691 | 11748 |
| 11692 if test "$HAVE_TIMEVAL" = "yes"; then | 11749 if test "$HAVE_TIMEVAL" = "yes"; then |
| 11693 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11750 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 11694 echo "configure:11695: checking whether gettimeofday accepts one or two arguments" >&5 | 11751 echo "configure:11752: checking whether gettimeofday accepts one or two arguments" >&5 |
| 11695 cat > conftest.$ac_ext <<EOF | 11752 cat > conftest.$ac_ext <<EOF |
| 11696 #line 11697 "configure" | 11753 #line 11754 "configure" |
| 11697 #include "confdefs.h" | 11754 #include "confdefs.h" |
| 11698 | 11755 |
| 11699 #ifdef TIME_WITH_SYS_TIME | 11756 #ifdef TIME_WITH_SYS_TIME |
| 11700 #include <sys/time.h> | 11757 #include <sys/time.h> |
| 11701 #include <time.h> | 11758 #include <time.h> |
| 11712 struct timeval time; | 11769 struct timeval time; |
| 11713 gettimeofday (&time, 0); | 11770 gettimeofday (&time, 0); |
| 11714 | 11771 |
| 11715 ; return 0; } | 11772 ; return 0; } |
| 11716 EOF | 11773 EOF |
| 11717 if { (eval echo configure:11718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11718 rm -rf conftest* | 11775 rm -rf conftest* |
| 11719 echo "$ac_t""two" 1>&6 | 11776 echo "$ac_t""two" 1>&6 |
| 11720 else | 11777 else |
| 11721 echo "configure: failed program was:" >&5 | 11778 echo "configure: failed program was:" >&5 |
| 11722 cat conftest.$ac_ext >&5 | 11779 cat conftest.$ac_ext >&5 |
| 11734 rm -f conftest* | 11791 rm -f conftest* |
| 11735 fi | 11792 fi |
| 11736 | 11793 |
| 11737 | 11794 |
| 11738 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11795 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 11739 echo "configure:11740: checking for inline" >&5 | 11796 echo "configure:11797: checking for inline" >&5 |
| 11740 | 11797 |
| 11741 ac_cv_c_inline=no | 11798 ac_cv_c_inline=no |
| 11742 for ac_kw in inline __inline__ __inline; do | 11799 for ac_kw in inline __inline__ __inline; do |
| 11743 cat > conftest.$ac_ext <<EOF | 11800 cat > conftest.$ac_ext <<EOF |
| 11744 #line 11745 "configure" | 11801 #line 11802 "configure" |
| 11745 #include "confdefs.h" | 11802 #include "confdefs.h" |
| 11746 | 11803 |
| 11747 int main() { | 11804 int main() { |
| 11748 } $ac_kw foo() { | 11805 } $ac_kw foo() { |
| 11749 ; return 0; } | 11806 ; return 0; } |
| 11750 EOF | 11807 EOF |
| 11751 if { (eval echo configure:11752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11808 if { (eval echo configure:11809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11752 rm -rf conftest* | 11809 rm -rf conftest* |
| 11753 ac_cv_c_inline=$ac_kw; break | 11810 ac_cv_c_inline=$ac_kw; break |
| 11754 else | 11811 else |
| 11755 echo "configure: failed program was:" >&5 | 11812 echo "configure: failed program was:" >&5 |
| 11756 cat conftest.$ac_ext >&5 | 11813 cat conftest.$ac_ext >&5 |
| 11787 | 11844 |
| 11788 if test "$__DECC" != "yes"; then | 11845 if test "$__DECC" != "yes"; then |
| 11789 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11846 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 11790 # for constant arguments. Useless! | 11847 # for constant arguments. Useless! |
| 11791 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11848 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 11792 echo "configure:11793: checking for working alloca.h" >&5 | 11849 echo "configure:11850: checking for working alloca.h" >&5 |
| 11793 | 11850 |
| 11794 cat > conftest.$ac_ext <<EOF | 11851 cat > conftest.$ac_ext <<EOF |
| 11795 #line 11796 "configure" | 11852 #line 11853 "configure" |
| 11796 #include "confdefs.h" | 11853 #include "confdefs.h" |
| 11797 #include <alloca.h> | 11854 #include <alloca.h> |
| 11798 int main() { | 11855 int main() { |
| 11799 char *p = alloca(2 * sizeof(int)); | 11856 char *p = alloca(2 * sizeof(int)); |
| 11800 ; return 0; } | 11857 ; return 0; } |
| 11801 EOF | 11858 EOF |
| 11802 if { (eval echo configure:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11803 rm -rf conftest* | 11860 rm -rf conftest* |
| 11804 ac_cv_header_alloca_h=yes | 11861 ac_cv_header_alloca_h=yes |
| 11805 else | 11862 else |
| 11806 echo "configure: failed program was:" >&5 | 11863 echo "configure: failed program was:" >&5 |
| 11807 cat conftest.$ac_ext >&5 | 11864 cat conftest.$ac_ext >&5 |
| 11821 } | 11878 } |
| 11822 | 11879 |
| 11823 fi | 11880 fi |
| 11824 | 11881 |
| 11825 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11882 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 11826 echo "configure:11827: checking for alloca" >&5 | 11883 echo "configure:11884: checking for alloca" >&5 |
| 11827 | 11884 |
| 11828 cat > conftest.$ac_ext <<EOF | 11885 cat > conftest.$ac_ext <<EOF |
| 11829 #line 11830 "configure" | 11886 #line 11887 "configure" |
| 11830 #include "confdefs.h" | 11887 #include "confdefs.h" |
| 11831 | 11888 |
| 11832 #ifdef __GNUC__ | 11889 #ifdef __GNUC__ |
| 11833 # define alloca __builtin_alloca | 11890 # define alloca __builtin_alloca |
| 11834 #else | 11891 #else |
| 11852 | 11909 |
| 11853 int main() { | 11910 int main() { |
| 11854 char *p = (char *) alloca(1); | 11911 char *p = (char *) alloca(1); |
| 11855 ; return 0; } | 11912 ; return 0; } |
| 11856 EOF | 11913 EOF |
| 11857 if { (eval echo configure:11858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11914 if { (eval echo configure:11915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11858 rm -rf conftest* | 11915 rm -rf conftest* |
| 11859 ac_cv_func_alloca_works=yes | 11916 ac_cv_func_alloca_works=yes |
| 11860 else | 11917 else |
| 11861 echo "configure: failed program was:" >&5 | 11918 echo "configure: failed program was:" >&5 |
| 11862 cat conftest.$ac_ext >&5 | 11919 cat conftest.$ac_ext >&5 |
| 11891 EOF | 11948 EOF |
| 11892 } | 11949 } |
| 11893 | 11950 |
| 11894 | 11951 |
| 11895 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11952 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 11896 echo "configure:11897: checking whether alloca needs Cray hooks" >&5 | 11953 echo "configure:11954: checking whether alloca needs Cray hooks" >&5 |
| 11897 | 11954 |
| 11898 cat > conftest.$ac_ext <<EOF | 11955 cat > conftest.$ac_ext <<EOF |
| 11899 #line 11900 "configure" | 11956 #line 11957 "configure" |
| 11900 #include "confdefs.h" | 11957 #include "confdefs.h" |
| 11901 #if defined(CRAY) && ! defined(CRAY2) | 11958 #if defined(CRAY) && ! defined(CRAY2) |
| 11902 webecray | 11959 webecray |
| 11903 #else | 11960 #else |
| 11904 wenotbecray | 11961 wenotbecray |
| 11918 | 11975 |
| 11919 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11976 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 11920 if test $ac_cv_os_cray = yes; then | 11977 if test $ac_cv_os_cray = yes; then |
| 11921 for ac_func in _getb67 GETB67 getb67; do | 11978 for ac_func in _getb67 GETB67 getb67; do |
| 11922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11923 echo "configure:11924: checking for $ac_func" >&5 | 11980 echo "configure:11981: checking for $ac_func" >&5 |
| 11924 | 11981 |
| 11925 cat > conftest.$ac_ext <<EOF | 11982 cat > conftest.$ac_ext <<EOF |
| 11926 #line 11927 "configure" | 11983 #line 11984 "configure" |
| 11927 #include "confdefs.h" | 11984 #include "confdefs.h" |
| 11928 /* System header to define __stub macros and hopefully few prototypes, | 11985 /* System header to define __stub macros and hopefully few prototypes, |
| 11929 which can conflict with char $ac_func(); below. */ | 11986 which can conflict with char $ac_func(); below. */ |
| 11930 #include <assert.h> | 11987 #include <assert.h> |
| 11931 /* Override any gcc2 internal prototype to avoid an error. */ | 11988 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11944 $ac_func(); | 12001 $ac_func(); |
| 11945 #endif | 12002 #endif |
| 11946 | 12003 |
| 11947 ; return 0; } | 12004 ; return 0; } |
| 11948 EOF | 12005 EOF |
| 11949 if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12006 if { (eval echo configure:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11950 rm -rf conftest* | 12007 rm -rf conftest* |
| 11951 eval "ac_cv_func_$ac_func=yes" | 12008 eval "ac_cv_func_$ac_func=yes" |
| 11952 else | 12009 else |
| 11953 echo "configure: failed program was:" >&5 | 12010 echo "configure: failed program was:" >&5 |
| 11954 cat conftest.$ac_ext >&5 | 12011 cat conftest.$ac_ext >&5 |
| 11974 | 12031 |
| 11975 done | 12032 done |
| 11976 fi | 12033 fi |
| 11977 | 12034 |
| 11978 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12035 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 11979 echo "configure:11980: checking stack direction for C alloca" >&5 | 12036 echo "configure:12037: checking stack direction for C alloca" >&5 |
| 11980 | 12037 |
| 11981 cat > conftest.$ac_ext <<EOF | 12038 cat > conftest.$ac_ext <<EOF |
| 11982 #line 11983 "configure" | 12039 #line 12040 "configure" |
| 11983 #include "confdefs.h" | 12040 #include "confdefs.h" |
| 11984 find_stack_direction () | 12041 find_stack_direction () |
| 11985 { | 12042 { |
| 11986 static char *addr = 0; | 12043 static char *addr = 0; |
| 11987 auto char dummy; | 12044 auto char dummy; |
| 11996 main () | 12053 main () |
| 11997 { | 12054 { |
| 11998 exit (find_stack_direction() < 0); | 12055 exit (find_stack_direction() < 0); |
| 11999 } | 12056 } |
| 12000 EOF | 12057 EOF |
| 12001 if { (eval echo configure:12002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12058 if { (eval echo configure:12059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12002 then | 12059 then |
| 12003 ac_cv_c_stack_direction=1 | 12060 ac_cv_c_stack_direction=1 |
| 12004 else | 12061 else |
| 12005 conftest_rc="$?" | 12062 conftest_rc="$?" |
| 12006 echo "configure: failed program was:" >&5 | 12063 echo "configure: failed program was:" >&5 |
| 12026 fi | 12083 fi |
| 12027 fi | 12084 fi |
| 12028 | 12085 |
| 12029 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12086 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 12030 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12087 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 12031 echo "configure:12032: checking for vfork.h" >&5 | 12088 echo "configure:12089: checking for vfork.h" >&5 |
| 12032 | 12089 |
| 12033 cat > conftest.$ac_ext <<EOF | 12090 cat > conftest.$ac_ext <<EOF |
| 12034 #line 12035 "configure" | 12091 #line 12092 "configure" |
| 12035 #include "confdefs.h" | 12092 #include "confdefs.h" |
| 12036 #include <vfork.h> | 12093 #include <vfork.h> |
| 12037 EOF | 12094 EOF |
| 12038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12039 { (eval echo configure:12040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12096 { (eval echo configure:12097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12041 if test -z "$ac_err"; then | 12098 if test -z "$ac_err"; then |
| 12042 rm -rf conftest* | 12099 rm -rf conftest* |
| 12043 eval "ac_cv_header_$ac_safe=yes" | 12100 eval "ac_cv_header_$ac_safe=yes" |
| 12044 else | 12101 else |
| 12062 else | 12119 else |
| 12063 echo "$ac_t""no" 1>&6 | 12120 echo "$ac_t""no" 1>&6 |
| 12064 fi | 12121 fi |
| 12065 | 12122 |
| 12066 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12123 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 12067 echo "configure:12068: checking for working vfork" >&5 | 12124 echo "configure:12125: checking for working vfork" >&5 |
| 12068 | 12125 |
| 12069 cat > conftest.$ac_ext <<EOF | 12126 cat > conftest.$ac_ext <<EOF |
| 12070 #line 12071 "configure" | 12127 #line 12128 "configure" |
| 12071 #include "confdefs.h" | 12128 #include "confdefs.h" |
| 12072 /* Thanks to Paul Eggert for this test. */ | 12129 /* Thanks to Paul Eggert for this test. */ |
| 12073 #include <stdio.h> | 12130 #include <stdio.h> |
| 12074 #include <sys/types.h> | 12131 #include <sys/types.h> |
| 12075 #include <sys/stat.h> | 12132 #include <sys/stat.h> |
| 12160 || fstat(fileno(stdout), &st) != 0 | 12217 || fstat(fileno(stdout), &st) != 0 |
| 12161 ); | 12218 ); |
| 12162 } | 12219 } |
| 12163 } | 12220 } |
| 12164 EOF | 12221 EOF |
| 12165 if { (eval echo configure:12166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12166 then | 12223 then |
| 12167 ac_cv_func_vfork_works=yes | 12224 ac_cv_func_vfork_works=yes |
| 12168 else | 12225 else |
| 12169 conftest_rc="$?" | 12226 conftest_rc="$?" |
| 12170 echo "configure: failed program was:" >&5 | 12227 echo "configure: failed program was:" >&5 |
| 12186 | 12243 |
| 12187 fi | 12244 fi |
| 12188 | 12245 |
| 12189 | 12246 |
| 12190 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12247 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 12191 echo "configure:12192: checking for working strcoll" >&5 | 12248 echo "configure:12249: checking for working strcoll" >&5 |
| 12192 | 12249 |
| 12193 cat > conftest.$ac_ext <<EOF | 12250 cat > conftest.$ac_ext <<EOF |
| 12194 #line 12195 "configure" | 12251 #line 12252 "configure" |
| 12195 #include "confdefs.h" | 12252 #include "confdefs.h" |
| 12196 #include <string.h> | 12253 #include <string.h> |
| 12197 main () | 12254 main () |
| 12198 { | 12255 { |
| 12199 exit (strcoll ("abc", "def") >= 0 || | 12256 exit (strcoll ("abc", "def") >= 0 || |
| 12200 strcoll ("ABC", "DEF") >= 0 || | 12257 strcoll ("ABC", "DEF") >= 0 || |
| 12201 strcoll ("123", "456") >= 0); | 12258 strcoll ("123", "456") >= 0); |
| 12202 } | 12259 } |
| 12203 EOF | 12260 EOF |
| 12204 if { (eval echo configure:12205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12261 if { (eval echo configure:12262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12205 then | 12262 then |
| 12206 ac_cv_func_strcoll_works=yes | 12263 ac_cv_func_strcoll_works=yes |
| 12207 else | 12264 else |
| 12208 conftest_rc="$?" | 12265 conftest_rc="$?" |
| 12209 echo "configure: failed program was:" >&5 | 12266 echo "configure: failed program was:" >&5 |
| 12227 | 12284 |
| 12228 | 12285 |
| 12229 for ac_func in getpgrp | 12286 for ac_func in getpgrp |
| 12230 do | 12287 do |
| 12231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12232 echo "configure:12233: checking for $ac_func" >&5 | 12289 echo "configure:12290: checking for $ac_func" >&5 |
| 12233 | 12290 |
| 12234 cat > conftest.$ac_ext <<EOF | 12291 cat > conftest.$ac_ext <<EOF |
| 12235 #line 12236 "configure" | 12292 #line 12293 "configure" |
| 12236 #include "confdefs.h" | 12293 #include "confdefs.h" |
| 12237 /* System header to define __stub macros and hopefully few prototypes, | 12294 /* System header to define __stub macros and hopefully few prototypes, |
| 12238 which can conflict with char $ac_func(); below. */ | 12295 which can conflict with char $ac_func(); below. */ |
| 12239 #include <assert.h> | 12296 #include <assert.h> |
| 12240 /* Override any gcc2 internal prototype to avoid an error. */ | 12297 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12253 $ac_func(); | 12310 $ac_func(); |
| 12254 #endif | 12311 #endif |
| 12255 | 12312 |
| 12256 ; return 0; } | 12313 ; return 0; } |
| 12257 EOF | 12314 EOF |
| 12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12259 rm -rf conftest* | 12316 rm -rf conftest* |
| 12260 eval "ac_cv_func_$ac_func=yes" | 12317 eval "ac_cv_func_$ac_func=yes" |
| 12261 else | 12318 else |
| 12262 echo "configure: failed program was:" >&5 | 12319 echo "configure: failed program was:" >&5 |
| 12263 cat conftest.$ac_ext >&5 | 12320 cat conftest.$ac_ext >&5 |
| 12281 echo "$ac_t""no" 1>&6 | 12338 echo "$ac_t""no" 1>&6 |
| 12282 fi | 12339 fi |
| 12283 done | 12340 done |
| 12284 | 12341 |
| 12285 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12342 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 12286 echo "configure:12287: checking whether getpgrp takes no argument" >&5 | 12343 echo "configure:12344: checking whether getpgrp takes no argument" >&5 |
| 12287 | 12344 |
| 12288 cat > conftest.$ac_ext <<EOF | 12345 cat > conftest.$ac_ext <<EOF |
| 12289 #line 12290 "configure" | 12346 #line 12347 "configure" |
| 12290 #include "confdefs.h" | 12347 #include "confdefs.h" |
| 12291 | 12348 |
| 12292 /* | 12349 /* |
| 12293 * If this system has a BSD-style getpgrp(), | 12350 * If this system has a BSD-style getpgrp(), |
| 12294 * which takes a pid argument, exit unsuccessfully. | 12351 * which takes a pid argument, exit unsuccessfully. |
| 12339 exit(s>>8); | 12396 exit(s>>8); |
| 12340 } | 12397 } |
| 12341 } | 12398 } |
| 12342 | 12399 |
| 12343 EOF | 12400 EOF |
| 12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12345 then | 12402 then |
| 12346 ac_cv_func_getpgrp_void=yes | 12403 ac_cv_func_getpgrp_void=yes |
| 12347 else | 12404 else |
| 12348 conftest_rc="$?" | 12405 conftest_rc="$?" |
| 12349 echo "configure: failed program was:" >&5 | 12406 echo "configure: failed program was:" >&5 |
| 12366 | 12423 |
| 12367 fi | 12424 fi |
| 12368 | 12425 |
| 12369 | 12426 |
| 12370 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12427 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 12371 echo "configure:12372: checking for working mmap" >&5 | 12428 echo "configure:12429: checking for working mmap" >&5 |
| 12372 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12429 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 12373 cat > conftest.$ac_ext <<EOF | 12430 cat > conftest.$ac_ext <<EOF |
| 12374 #line 12375 "configure" | 12431 #line 12432 "configure" |
| 12375 #include "confdefs.h" | 12432 #include "confdefs.h" |
| 12376 #include <stdio.h> | 12433 #include <stdio.h> |
| 12377 #include <unistd.h> | 12434 #include <unistd.h> |
| 12378 #include <fcntl.h> | 12435 #include <fcntl.h> |
| 12379 #include <sys/mman.h> | 12436 #include <sys/mman.h> |
| 12402 return 0; | 12459 return 0; |
| 12403 perror ("conftest: mmap failed"); | 12460 perror ("conftest: mmap failed"); |
| 12404 return 1; | 12461 return 1; |
| 12405 } | 12462 } |
| 12406 EOF | 12463 EOF |
| 12407 if { (eval echo configure:12408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12464 if { (eval echo configure:12465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12408 then | 12465 then |
| 12409 have_mmap=yes | 12466 have_mmap=yes |
| 12410 else | 12467 else |
| 12411 conftest_rc="$?" | 12468 conftest_rc="$?" |
| 12412 echo "configure: failed program was:" >&5 | 12469 echo "configure: failed program was:" >&5 |
| 12431 esac | 12488 esac |
| 12432 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12489 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
| 12433 if test "$rel_alloc $have_mmap" = "default yes"; then | 12490 if test "$rel_alloc $have_mmap" = "default yes"; then |
| 12434 if test "$doug_lea_malloc" = "yes"; then | 12491 if test "$doug_lea_malloc" = "yes"; then |
| 12435 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12492 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
| 12436 echo "configure:12437: checking for M_MMAP_THRESHOLD" >&5 | 12493 echo "configure:12494: checking for M_MMAP_THRESHOLD" >&5 |
| 12437 cat > conftest.$ac_ext <<EOF | 12494 cat > conftest.$ac_ext <<EOF |
| 12438 #line 12439 "configure" | 12495 #line 12496 "configure" |
| 12439 #include "confdefs.h" | 12496 #include "confdefs.h" |
| 12440 #include <malloc.h> | 12497 #include <malloc.h> |
| 12441 int main() { | 12498 int main() { |
| 12442 | 12499 |
| 12443 #ifndef M_MMAP_THRESHOLD | 12500 #ifndef M_MMAP_THRESHOLD |
| 12445 !@+$%^&*_)(_ - unlikely to compile... | 12502 !@+$%^&*_)(_ - unlikely to compile... |
| 12446 #endif | 12503 #endif |
| 12447 | 12504 |
| 12448 ; return 0; } | 12505 ; return 0; } |
| 12449 EOF | 12506 EOF |
| 12450 if { (eval echo configure:12451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12507 if { (eval echo configure:12508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12451 rm -rf conftest* | 12508 rm -rf conftest* |
| 12452 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12509 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
| 12453 else | 12510 else |
| 12454 echo "configure: failed program was:" >&5 | 12511 echo "configure: failed program was:" >&5 |
| 12455 cat conftest.$ac_ext >&5 | 12512 cat conftest.$ac_ext >&5 |
| 12470 } | 12527 } |
| 12471 | 12528 |
| 12472 | 12529 |
| 12473 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12530 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 12474 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12531 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 12475 echo "configure:12476: checking for termios.h" >&5 | 12532 echo "configure:12533: checking for termios.h" >&5 |
| 12476 | 12533 |
| 12477 cat > conftest.$ac_ext <<EOF | 12534 cat > conftest.$ac_ext <<EOF |
| 12478 #line 12479 "configure" | 12535 #line 12536 "configure" |
| 12479 #include "confdefs.h" | 12536 #include "confdefs.h" |
| 12480 #include <termios.h> | 12537 #include <termios.h> |
| 12481 EOF | 12538 EOF |
| 12482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12483 { (eval echo configure:12484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12540 { (eval echo configure:12541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12485 if test -z "$ac_err"; then | 12542 if test -z "$ac_err"; then |
| 12486 rm -rf conftest* | 12543 rm -rf conftest* |
| 12487 eval "ac_cv_header_$ac_safe=yes" | 12544 eval "ac_cv_header_$ac_safe=yes" |
| 12488 else | 12545 else |
| 12521 | 12578 |
| 12522 else | 12579 else |
| 12523 echo "$ac_t""no" 1>&6 | 12580 echo "$ac_t""no" 1>&6 |
| 12524 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12581 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 12525 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12582 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 12526 echo "configure:12527: checking for termio.h" >&5 | 12583 echo "configure:12584: checking for termio.h" >&5 |
| 12527 | 12584 |
| 12528 cat > conftest.$ac_ext <<EOF | 12585 cat > conftest.$ac_ext <<EOF |
| 12529 #line 12530 "configure" | 12586 #line 12587 "configure" |
| 12530 #include "confdefs.h" | 12587 #include "confdefs.h" |
| 12531 #include <termio.h> | 12588 #include <termio.h> |
| 12532 EOF | 12589 EOF |
| 12533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12534 { (eval echo configure:12535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12591 { (eval echo configure:12592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12536 if test -z "$ac_err"; then | 12593 if test -z "$ac_err"; then |
| 12537 rm -rf conftest* | 12594 rm -rf conftest* |
| 12538 eval "ac_cv_header_$ac_safe=yes" | 12595 eval "ac_cv_header_$ac_safe=yes" |
| 12539 else | 12596 else |
| 12561 fi | 12618 fi |
| 12562 | 12619 |
| 12563 | 12620 |
| 12564 | 12621 |
| 12565 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12622 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 12566 echo "configure:12567: checking for socket" >&5 | 12623 echo "configure:12624: checking for socket" >&5 |
| 12567 | 12624 |
| 12568 cat > conftest.$ac_ext <<EOF | 12625 cat > conftest.$ac_ext <<EOF |
| 12569 #line 12570 "configure" | 12626 #line 12627 "configure" |
| 12570 #include "confdefs.h" | 12627 #include "confdefs.h" |
| 12571 /* System header to define __stub macros and hopefully few prototypes, | 12628 /* System header to define __stub macros and hopefully few prototypes, |
| 12572 which can conflict with char socket(); below. */ | 12629 which can conflict with char socket(); below. */ |
| 12573 #include <assert.h> | 12630 #include <assert.h> |
| 12574 /* Override any gcc2 internal prototype to avoid an error. */ | 12631 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12587 socket(); | 12644 socket(); |
| 12588 #endif | 12645 #endif |
| 12589 | 12646 |
| 12590 ; return 0; } | 12647 ; return 0; } |
| 12591 EOF | 12648 EOF |
| 12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12649 if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12593 rm -rf conftest* | 12650 rm -rf conftest* |
| 12594 eval "ac_cv_func_socket=yes" | 12651 eval "ac_cv_func_socket=yes" |
| 12595 else | 12652 else |
| 12596 echo "configure: failed program was:" >&5 | 12653 echo "configure: failed program was:" >&5 |
| 12597 cat conftest.$ac_ext >&5 | 12654 cat conftest.$ac_ext >&5 |
| 12602 | 12659 |
| 12603 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12660 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 12604 echo "$ac_t""yes" 1>&6 | 12661 echo "$ac_t""yes" 1>&6 |
| 12605 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12662 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 12606 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12663 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 12607 echo "configure:12608: checking for netinet/in.h" >&5 | 12664 echo "configure:12665: checking for netinet/in.h" >&5 |
| 12608 | 12665 |
| 12609 cat > conftest.$ac_ext <<EOF | 12666 cat > conftest.$ac_ext <<EOF |
| 12610 #line 12611 "configure" | 12667 #line 12668 "configure" |
| 12611 #include "confdefs.h" | 12668 #include "confdefs.h" |
| 12612 #include <netinet/in.h> | 12669 #include <netinet/in.h> |
| 12613 EOF | 12670 EOF |
| 12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12672 { (eval echo configure:12673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12617 if test -z "$ac_err"; then | 12674 if test -z "$ac_err"; then |
| 12618 rm -rf conftest* | 12675 rm -rf conftest* |
| 12619 eval "ac_cv_header_$ac_safe=yes" | 12676 eval "ac_cv_header_$ac_safe=yes" |
| 12620 else | 12677 else |
| 12627 rm -f conftest* | 12684 rm -f conftest* |
| 12628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12629 echo "$ac_t""yes" 1>&6 | 12686 echo "$ac_t""yes" 1>&6 |
| 12630 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12687 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 12631 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12688 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 12632 echo "configure:12633: checking for arpa/inet.h" >&5 | 12689 echo "configure:12690: checking for arpa/inet.h" >&5 |
| 12633 | 12690 |
| 12634 cat > conftest.$ac_ext <<EOF | 12691 cat > conftest.$ac_ext <<EOF |
| 12635 #line 12636 "configure" | 12692 #line 12693 "configure" |
| 12636 #include "confdefs.h" | 12693 #include "confdefs.h" |
| 12637 #include <arpa/inet.h> | 12694 #include <arpa/inet.h> |
| 12638 EOF | 12695 EOF |
| 12639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12640 { (eval echo configure:12641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12697 { (eval echo configure:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12642 if test -z "$ac_err"; then | 12699 if test -z "$ac_err"; then |
| 12643 rm -rf conftest* | 12700 rm -rf conftest* |
| 12644 eval "ac_cv_header_$ac_safe=yes" | 12701 eval "ac_cv_header_$ac_safe=yes" |
| 12645 else | 12702 else |
| 12660 #define HAVE_SOCKETS 1 | 12717 #define HAVE_SOCKETS 1 |
| 12661 EOF | 12718 EOF |
| 12662 } | 12719 } |
| 12663 | 12720 |
| 12664 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12721 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 12665 echo "configure:12666: checking "for sun_len member in struct sockaddr_un"" >&5 | 12722 echo "configure:12723: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 12666 cat > conftest.$ac_ext <<EOF | 12723 cat > conftest.$ac_ext <<EOF |
| 12667 #line 12668 "configure" | 12724 #line 12725 "configure" |
| 12668 #include "confdefs.h" | 12725 #include "confdefs.h" |
| 12669 | 12726 |
| 12670 #include <sys/types.h> | 12727 #include <sys/types.h> |
| 12671 #include <sys/socket.h> | 12728 #include <sys/socket.h> |
| 12672 #include <sys/un.h> | 12729 #include <sys/un.h> |
| 12673 | 12730 |
| 12674 int main() { | 12731 int main() { |
| 12675 static struct sockaddr_un x; x.sun_len = 1; | 12732 static struct sockaddr_un x; x.sun_len = 1; |
| 12676 ; return 0; } | 12733 ; return 0; } |
| 12677 EOF | 12734 EOF |
| 12678 if { (eval echo configure:12679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12735 if { (eval echo configure:12736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12679 rm -rf conftest* | 12736 rm -rf conftest* |
| 12680 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12737 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 12681 Defining HAVE_SOCKADDR_SUN_LEN | 12738 Defining HAVE_SOCKADDR_SUN_LEN |
| 12682 EOF | 12739 EOF |
| 12683 cat >> confdefs.h <<\EOF | 12740 cat >> confdefs.h <<\EOF |
| 12691 rm -rf conftest* | 12748 rm -rf conftest* |
| 12692 echo "$ac_t""no" 1>&6 | 12749 echo "$ac_t""no" 1>&6 |
| 12693 fi | 12750 fi |
| 12694 rm -f conftest* | 12751 rm -f conftest* |
| 12695 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12752 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 12696 echo "configure:12697: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12753 echo "configure:12754: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 12697 cat > conftest.$ac_ext <<EOF | 12754 cat > conftest.$ac_ext <<EOF |
| 12698 #line 12699 "configure" | 12755 #line 12756 "configure" |
| 12699 #include "confdefs.h" | 12756 #include "confdefs.h" |
| 12700 | 12757 |
| 12701 #include <sys/types.h> | 12758 #include <sys/types.h> |
| 12702 #include <netinet/in.h> | 12759 #include <netinet/in.h> |
| 12703 | 12760 |
| 12704 int main() { | 12761 int main() { |
| 12705 static struct ip_mreq x; | 12762 static struct ip_mreq x; |
| 12706 ; return 0; } | 12763 ; return 0; } |
| 12707 EOF | 12764 EOF |
| 12708 if { (eval echo configure:12709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12709 rm -rf conftest* | 12766 rm -rf conftest* |
| 12710 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12767 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 12711 Defining HAVE_MULTICAST | 12768 Defining HAVE_MULTICAST |
| 12712 EOF | 12769 EOF |
| 12713 cat >> confdefs.h <<\EOF | 12770 cat >> confdefs.h <<\EOF |
| 12734 echo "$ac_t""no" 1>&6 | 12791 echo "$ac_t""no" 1>&6 |
| 12735 fi | 12792 fi |
| 12736 | 12793 |
| 12737 | 12794 |
| 12738 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12795 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 12739 echo "configure:12740: checking for msgget" >&5 | 12796 echo "configure:12797: checking for msgget" >&5 |
| 12740 | 12797 |
| 12741 cat > conftest.$ac_ext <<EOF | 12798 cat > conftest.$ac_ext <<EOF |
| 12742 #line 12743 "configure" | 12799 #line 12800 "configure" |
| 12743 #include "confdefs.h" | 12800 #include "confdefs.h" |
| 12744 /* System header to define __stub macros and hopefully few prototypes, | 12801 /* System header to define __stub macros and hopefully few prototypes, |
| 12745 which can conflict with char msgget(); below. */ | 12802 which can conflict with char msgget(); below. */ |
| 12746 #include <assert.h> | 12803 #include <assert.h> |
| 12747 /* Override any gcc2 internal prototype to avoid an error. */ | 12804 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12760 msgget(); | 12817 msgget(); |
| 12761 #endif | 12818 #endif |
| 12762 | 12819 |
| 12763 ; return 0; } | 12820 ; return 0; } |
| 12764 EOF | 12821 EOF |
| 12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12822 if { (eval echo configure:12823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12766 rm -rf conftest* | 12823 rm -rf conftest* |
| 12767 eval "ac_cv_func_msgget=yes" | 12824 eval "ac_cv_func_msgget=yes" |
| 12768 else | 12825 else |
| 12769 echo "configure: failed program was:" >&5 | 12826 echo "configure: failed program was:" >&5 |
| 12770 cat conftest.$ac_ext >&5 | 12827 cat conftest.$ac_ext >&5 |
| 12775 | 12832 |
| 12776 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12833 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 12777 echo "$ac_t""yes" 1>&6 | 12834 echo "$ac_t""yes" 1>&6 |
| 12778 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12835 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 12779 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12836 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 12780 echo "configure:12781: checking for sys/ipc.h" >&5 | 12837 echo "configure:12838: checking for sys/ipc.h" >&5 |
| 12781 | 12838 |
| 12782 cat > conftest.$ac_ext <<EOF | 12839 cat > conftest.$ac_ext <<EOF |
| 12783 #line 12784 "configure" | 12840 #line 12841 "configure" |
| 12784 #include "confdefs.h" | 12841 #include "confdefs.h" |
| 12785 #include <sys/ipc.h> | 12842 #include <sys/ipc.h> |
| 12786 EOF | 12843 EOF |
| 12787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12788 { (eval echo configure:12789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12790 if test -z "$ac_err"; then | 12847 if test -z "$ac_err"; then |
| 12791 rm -rf conftest* | 12848 rm -rf conftest* |
| 12792 eval "ac_cv_header_$ac_safe=yes" | 12849 eval "ac_cv_header_$ac_safe=yes" |
| 12793 else | 12850 else |
| 12800 rm -f conftest* | 12857 rm -f conftest* |
| 12801 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12802 echo "$ac_t""yes" 1>&6 | 12859 echo "$ac_t""yes" 1>&6 |
| 12803 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12860 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 12804 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12861 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 12805 echo "configure:12806: checking for sys/msg.h" >&5 | 12862 echo "configure:12863: checking for sys/msg.h" >&5 |
| 12806 | 12863 |
| 12807 cat > conftest.$ac_ext <<EOF | 12864 cat > conftest.$ac_ext <<EOF |
| 12808 #line 12809 "configure" | 12865 #line 12866 "configure" |
| 12809 #include "confdefs.h" | 12866 #include "confdefs.h" |
| 12810 #include <sys/msg.h> | 12867 #include <sys/msg.h> |
| 12811 EOF | 12868 EOF |
| 12812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12813 { (eval echo configure:12814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12870 { (eval echo configure:12871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12815 if test -z "$ac_err"; then | 12872 if test -z "$ac_err"; then |
| 12816 rm -rf conftest* | 12873 rm -rf conftest* |
| 12817 eval "ac_cv_header_$ac_safe=yes" | 12874 eval "ac_cv_header_$ac_safe=yes" |
| 12818 else | 12875 else |
| 12846 fi | 12903 fi |
| 12847 | 12904 |
| 12848 | 12905 |
| 12849 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12906 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 12850 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12907 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 12851 echo "configure:12852: checking for dirent.h" >&5 | 12908 echo "configure:12909: checking for dirent.h" >&5 |
| 12852 | 12909 |
| 12853 cat > conftest.$ac_ext <<EOF | 12910 cat > conftest.$ac_ext <<EOF |
| 12854 #line 12855 "configure" | 12911 #line 12912 "configure" |
| 12855 #include "confdefs.h" | 12912 #include "confdefs.h" |
| 12856 #include <dirent.h> | 12913 #include <dirent.h> |
| 12857 EOF | 12914 EOF |
| 12858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12859 { (eval echo configure:12860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12916 { (eval echo configure:12917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12861 if test -z "$ac_err"; then | 12918 if test -z "$ac_err"; then |
| 12862 rm -rf conftest* | 12919 rm -rf conftest* |
| 12863 eval "ac_cv_header_$ac_safe=yes" | 12920 eval "ac_cv_header_$ac_safe=yes" |
| 12864 else | 12921 else |
| 12881 | 12938 |
| 12882 else | 12939 else |
| 12883 echo "$ac_t""no" 1>&6 | 12940 echo "$ac_t""no" 1>&6 |
| 12884 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12941 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 12885 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12942 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 12886 echo "configure:12887: checking for sys/dir.h" >&5 | 12943 echo "configure:12944: checking for sys/dir.h" >&5 |
| 12887 | 12944 |
| 12888 cat > conftest.$ac_ext <<EOF | 12945 cat > conftest.$ac_ext <<EOF |
| 12889 #line 12890 "configure" | 12946 #line 12947 "configure" |
| 12890 #include "confdefs.h" | 12947 #include "confdefs.h" |
| 12891 #include <sys/dir.h> | 12948 #include <sys/dir.h> |
| 12892 EOF | 12949 EOF |
| 12893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12894 { (eval echo configure:12895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12951 { (eval echo configure:12952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12896 if test -z "$ac_err"; then | 12953 if test -z "$ac_err"; then |
| 12897 rm -rf conftest* | 12954 rm -rf conftest* |
| 12898 eval "ac_cv_header_$ac_safe=yes" | 12955 eval "ac_cv_header_$ac_safe=yes" |
| 12899 else | 12956 else |
| 12922 fi | 12979 fi |
| 12923 | 12980 |
| 12924 | 12981 |
| 12925 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12982 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 12926 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12983 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 12927 echo "configure:12928: checking for nlist.h" >&5 | 12984 echo "configure:12985: checking for nlist.h" >&5 |
| 12928 | 12985 |
| 12929 cat > conftest.$ac_ext <<EOF | 12986 cat > conftest.$ac_ext <<EOF |
| 12930 #line 12931 "configure" | 12987 #line 12988 "configure" |
| 12931 #include "confdefs.h" | 12988 #include "confdefs.h" |
| 12932 #include <nlist.h> | 12989 #include <nlist.h> |
| 12933 EOF | 12990 EOF |
| 12934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12935 { (eval echo configure:12936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12992 { (eval echo configure:12993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12937 if test -z "$ac_err"; then | 12994 if test -z "$ac_err"; then |
| 12938 rm -rf conftest* | 12995 rm -rf conftest* |
| 12939 eval "ac_cv_header_$ac_safe=yes" | 12996 eval "ac_cv_header_$ac_safe=yes" |
| 12940 else | 12997 else |
| 12960 fi | 13017 fi |
| 12961 | 13018 |
| 12962 | 13019 |
| 12963 | 13020 |
| 12964 echo "checking "for sound support"" 1>&6 | 13021 echo "checking "for sound support"" 1>&6 |
| 12965 echo "configure:12966: checking "for sound support"" >&5 | 13022 echo "configure:13023: checking "for sound support"" >&5 |
| 12966 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13023 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 12967 | 13024 |
| 12968 if test "$with_native_sound" != "no"; then | 13025 if test "$with_native_sound" != "no"; then |
| 12969 if test -n "$native_sound_lib"; then | 13026 if test -n "$native_sound_lib"; then |
| 12970 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13027 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 12971 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13028 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 12972 echo "configure:12973: checking for multimedia/audio_device.h" >&5 | 13029 echo "configure:13030: checking for multimedia/audio_device.h" >&5 |
| 12973 | 13030 |
| 12974 cat > conftest.$ac_ext <<EOF | 13031 cat > conftest.$ac_ext <<EOF |
| 12975 #line 12976 "configure" | 13032 #line 13033 "configure" |
| 12976 #include "confdefs.h" | 13033 #include "confdefs.h" |
| 12977 #include <multimedia/audio_device.h> | 13034 #include <multimedia/audio_device.h> |
| 12978 EOF | 13035 EOF |
| 12979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12980 { (eval echo configure:12981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13037 { (eval echo configure:13038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12982 if test -z "$ac_err"; then | 13039 if test -z "$ac_err"; then |
| 12983 rm -rf conftest* | 13040 rm -rf conftest* |
| 12984 eval "ac_cv_header_$ac_safe=yes" | 13041 eval "ac_cv_header_$ac_safe=yes" |
| 12985 else | 13042 else |
| 13023 case "$canonical" in | 13080 case "$canonical" in |
| 13024 *-sgi-* ) | 13081 *-sgi-* ) |
| 13025 if test -z "$native_sound_lib"; then | 13082 if test -z "$native_sound_lib"; then |
| 13026 | 13083 |
| 13027 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13084 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 13028 echo "configure:13029: checking for ALopenport in -laudio" >&5 | 13085 echo "configure:13086: checking for ALopenport in -laudio" >&5 |
| 13029 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13086 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 13030 | 13087 |
| 13031 xe_check_libs=" -laudio " | 13088 xe_check_libs=" -laudio " |
| 13032 cat > conftest.$ac_ext <<EOF | 13089 cat > conftest.$ac_ext <<EOF |
| 13033 #line 13034 "configure" | 13090 #line 13091 "configure" |
| 13034 #include "confdefs.h" | 13091 #include "confdefs.h" |
| 13035 /* Override any gcc2 internal prototype to avoid an error. */ | 13092 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13036 /* We use char because int might match the return type of a gcc2 | 13093 /* We use char because int might match the return type of a gcc2 |
| 13037 builtin and then its argument prototype would still apply. */ | 13094 builtin and then its argument prototype would still apply. */ |
| 13038 char ALopenport(); | 13095 char ALopenport(); |
| 13039 | 13096 |
| 13040 int main() { | 13097 int main() { |
| 13041 ALopenport() | 13098 ALopenport() |
| 13042 ; return 0; } | 13099 ; return 0; } |
| 13043 EOF | 13100 EOF |
| 13044 if { (eval echo configure:13045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13101 if { (eval echo configure:13102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13045 rm -rf conftest* | 13102 rm -rf conftest* |
| 13046 eval "ac_cv_lib_$ac_lib_var=yes" | 13103 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13047 else | 13104 else |
| 13048 echo "configure: failed program was:" >&5 | 13105 echo "configure: failed program was:" >&5 |
| 13049 cat conftest.$ac_ext >&5 | 13106 cat conftest.$ac_ext >&5 |
| 13070 fi ;; | 13127 fi ;; |
| 13071 hppa*-hp-hpux* ) | 13128 hppa*-hp-hpux* ) |
| 13072 if test -z "$native_sound_lib"; then | 13129 if test -z "$native_sound_lib"; then |
| 13073 | 13130 |
| 13074 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13131 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 13075 echo "configure:13076: checking for AOpenAudio in -lAlib" >&5 | 13132 echo "configure:13133: checking for AOpenAudio in -lAlib" >&5 |
| 13076 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13133 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 13077 | 13134 |
| 13078 xe_check_libs=" -lAlib " | 13135 xe_check_libs=" -lAlib " |
| 13079 cat > conftest.$ac_ext <<EOF | 13136 cat > conftest.$ac_ext <<EOF |
| 13080 #line 13081 "configure" | 13137 #line 13138 "configure" |
| 13081 #include "confdefs.h" | 13138 #include "confdefs.h" |
| 13082 /* Override any gcc2 internal prototype to avoid an error. */ | 13139 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13083 /* We use char because int might match the return type of a gcc2 | 13140 /* We use char because int might match the return type of a gcc2 |
| 13084 builtin and then its argument prototype would still apply. */ | 13141 builtin and then its argument prototype would still apply. */ |
| 13085 char AOpenAudio(); | 13142 char AOpenAudio(); |
| 13086 | 13143 |
| 13087 int main() { | 13144 int main() { |
| 13088 AOpenAudio() | 13145 AOpenAudio() |
| 13089 ; return 0; } | 13146 ; return 0; } |
| 13090 EOF | 13147 EOF |
| 13091 if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13148 if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13092 rm -rf conftest* | 13149 rm -rf conftest* |
| 13093 eval "ac_cv_lib_$ac_lib_var=yes" | 13150 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13094 else | 13151 else |
| 13095 echo "configure: failed program was:" >&5 | 13152 echo "configure: failed program was:" >&5 |
| 13096 cat conftest.$ac_ext >&5 | 13153 cat conftest.$ac_ext >&5 |
| 13131 | 13188 |
| 13132 if test -z "$sound_found"; then | 13189 if test -z "$sound_found"; then |
| 13133 for dir in "machine" "sys" "linux"; do | 13190 for dir in "machine" "sys" "linux"; do |
| 13134 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13191 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 13135 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13192 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 13136 echo "configure:13137: checking for ${dir}/soundcard.h" >&5 | 13193 echo "configure:13194: checking for ${dir}/soundcard.h" >&5 |
| 13137 | 13194 |
| 13138 cat > conftest.$ac_ext <<EOF | 13195 cat > conftest.$ac_ext <<EOF |
| 13139 #line 13140 "configure" | 13196 #line 13197 "configure" |
| 13140 #include "confdefs.h" | 13197 #include "confdefs.h" |
| 13141 #include <${dir}/soundcard.h> | 13198 #include <${dir}/soundcard.h> |
| 13142 EOF | 13199 EOF |
| 13143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13144 { (eval echo configure:13145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13201 { (eval echo configure:13202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13146 if test -z "$ac_err"; then | 13203 if test -z "$ac_err"; then |
| 13147 rm -rf conftest* | 13204 rm -rf conftest* |
| 13148 eval "ac_cv_header_$ac_safe=yes" | 13205 eval "ac_cv_header_$ac_safe=yes" |
| 13149 else | 13206 else |
| 13193 fi | 13250 fi |
| 13194 | 13251 |
| 13195 if test "$with_nas_sound" != "no"; then | 13252 if test "$with_nas_sound" != "no"; then |
| 13196 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13253 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
| 13197 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13254 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
| 13198 echo "configure:13199: checking for audio/audiolib.h" >&5 | 13255 echo "configure:13256: checking for audio/audiolib.h" >&5 |
| 13199 | 13256 |
| 13200 cat > conftest.$ac_ext <<EOF | 13257 cat > conftest.$ac_ext <<EOF |
| 13201 #line 13202 "configure" | 13258 #line 13259 "configure" |
| 13202 #include "confdefs.h" | 13259 #include "confdefs.h" |
| 13203 #include <audio/audiolib.h> | 13260 #include <audio/audiolib.h> |
| 13204 EOF | 13261 EOF |
| 13205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13206 { (eval echo configure:13207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13263 { (eval echo configure:13264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13208 if test -z "$ac_err"; then | 13265 if test -z "$ac_err"; then |
| 13209 rm -rf conftest* | 13266 rm -rf conftest* |
| 13210 eval "ac_cv_header_$ac_safe=yes" | 13267 eval "ac_cv_header_$ac_safe=yes" |
| 13211 else | 13268 else |
| 13219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13220 echo "$ac_t""yes" 1>&6 | 13277 echo "$ac_t""yes" 1>&6 |
| 13221 | 13278 |
| 13222 | 13279 |
| 13223 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13280 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
| 13224 echo "configure:13225: checking for AuOpenServer in -laudio" >&5 | 13281 echo "configure:13282: checking for AuOpenServer in -laudio" >&5 |
| 13225 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13282 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
| 13226 | 13283 |
| 13227 xe_check_libs=" -laudio " | 13284 xe_check_libs=" -laudio " |
| 13228 cat > conftest.$ac_ext <<EOF | 13285 cat > conftest.$ac_ext <<EOF |
| 13229 #line 13230 "configure" | 13286 #line 13287 "configure" |
| 13230 #include "confdefs.h" | 13287 #include "confdefs.h" |
| 13231 /* Override any gcc2 internal prototype to avoid an error. */ | 13288 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13232 /* We use char because int might match the return type of a gcc2 | 13289 /* We use char because int might match the return type of a gcc2 |
| 13233 builtin and then its argument prototype would still apply. */ | 13290 builtin and then its argument prototype would still apply. */ |
| 13234 char AuOpenServer(); | 13291 char AuOpenServer(); |
| 13235 | 13292 |
| 13236 int main() { | 13293 int main() { |
| 13237 AuOpenServer() | 13294 AuOpenServer() |
| 13238 ; return 0; } | 13295 ; return 0; } |
| 13239 EOF | 13296 EOF |
| 13240 if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13297 if { (eval echo configure:13298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13241 rm -rf conftest* | 13298 rm -rf conftest* |
| 13242 eval "ac_cv_lib_$ac_lib_var=yes" | 13299 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13243 else | 13300 else |
| 13244 echo "configure: failed program was:" >&5 | 13301 echo "configure: failed program was:" >&5 |
| 13245 cat conftest.$ac_ext >&5 | 13302 cat conftest.$ac_ext >&5 |
| 13274 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13331 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 13275 echo " xemacs will be linked with \"nas.o\"" | 13332 echo " xemacs will be linked with \"nas.o\"" |
| 13276 fi | 13333 fi |
| 13277 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13334 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 13278 cat > conftest.$ac_ext <<EOF | 13335 cat > conftest.$ac_ext <<EOF |
| 13279 #line 13280 "configure" | 13336 #line 13337 "configure" |
| 13280 #include "confdefs.h" | 13337 #include "confdefs.h" |
| 13281 #include <audio/Xtutil.h> | 13338 #include <audio/Xtutil.h> |
| 13282 EOF | 13339 EOF |
| 13283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13284 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13341 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 13305 | 13362 |
| 13306 if test "$with_esd_sound" != "no"; then | 13363 if test "$with_esd_sound" != "no"; then |
| 13307 # Extract the first word of "esd-config", so it can be a program name with args. | 13364 # Extract the first word of "esd-config", so it can be a program name with args. |
| 13308 set dummy esd-config; ac_word=$2 | 13365 set dummy esd-config; ac_word=$2 |
| 13309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 13310 echo "configure:13311: checking for $ac_word" >&5 | 13367 echo "configure:13368: checking for $ac_word" >&5 |
| 13311 | 13368 |
| 13312 if test -n "$have_esd_config"; then | 13369 if test -n "$have_esd_config"; then |
| 13313 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13370 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
| 13314 else | 13371 else |
| 13315 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 13334 if test "$have_esd_config" = "yes"; then | 13391 if test "$have_esd_config" = "yes"; then |
| 13335 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13392 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
| 13336 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 | 13393 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 |
| 13337 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13394 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
| 13338 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13395 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
| 13339 echo "configure:13340: checking for esd_play_stream" >&5 | 13396 echo "configure:13397: checking for esd_play_stream" >&5 |
| 13340 | 13397 |
| 13341 cat > conftest.$ac_ext <<EOF | 13398 cat > conftest.$ac_ext <<EOF |
| 13342 #line 13343 "configure" | 13399 #line 13400 "configure" |
| 13343 #include "confdefs.h" | 13400 #include "confdefs.h" |
| 13344 /* System header to define __stub macros and hopefully few prototypes, | 13401 /* System header to define __stub macros and hopefully few prototypes, |
| 13345 which can conflict with char esd_play_stream(); below. */ | 13402 which can conflict with char esd_play_stream(); below. */ |
| 13346 #include <assert.h> | 13403 #include <assert.h> |
| 13347 /* Override any gcc2 internal prototype to avoid an error. */ | 13404 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13360 esd_play_stream(); | 13417 esd_play_stream(); |
| 13361 #endif | 13418 #endif |
| 13362 | 13419 |
| 13363 ; return 0; } | 13420 ; return 0; } |
| 13364 EOF | 13421 EOF |
| 13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13422 if { (eval echo configure:13423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13366 rm -rf conftest* | 13423 rm -rf conftest* |
| 13367 eval "ac_cv_func_esd_play_stream=yes" | 13424 eval "ac_cv_func_esd_play_stream=yes" |
| 13368 else | 13425 else |
| 13369 echo "configure: failed program was:" >&5 | 13426 echo "configure: failed program was:" >&5 |
| 13370 cat conftest.$ac_ext >&5 | 13427 cat conftest.$ac_ext >&5 |
| 13411 | 13468 |
| 13412 test -z "$with_tty" && with_tty=yes | 13469 test -z "$with_tty" && with_tty=yes |
| 13413 | 13470 |
| 13414 if test "$with_tty" = "yes" ; then | 13471 if test "$with_tty" = "yes" ; then |
| 13415 echo "checking for TTY-related features" 1>&6 | 13472 echo "checking for TTY-related features" 1>&6 |
| 13416 echo "configure:13417: checking for TTY-related features" >&5 | 13473 echo "configure:13474: checking for TTY-related features" >&5 |
| 13417 { test "$extra_verbose" = "yes" && cat << \EOF | 13474 { test "$extra_verbose" = "yes" && cat << \EOF |
| 13418 Defining HAVE_TTY | 13475 Defining HAVE_TTY |
| 13419 EOF | 13476 EOF |
| 13420 cat >> confdefs.h <<\EOF | 13477 cat >> confdefs.h <<\EOF |
| 13421 #define HAVE_TTY 1 | 13478 #define HAVE_TTY 1 |
| 13427 fi | 13484 fi |
| 13428 | 13485 |
| 13429 if test -z "$with_ncurses"; then | 13486 if test -z "$with_ncurses"; then |
| 13430 | 13487 |
| 13431 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13488 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 13432 echo "configure:13433: checking for tgetent in -lncurses" >&5 | 13489 echo "configure:13490: checking for tgetent in -lncurses" >&5 |
| 13433 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13490 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 13434 | 13491 |
| 13435 xe_check_libs=" -lncurses " | 13492 xe_check_libs=" -lncurses " |
| 13436 cat > conftest.$ac_ext <<EOF | 13493 cat > conftest.$ac_ext <<EOF |
| 13437 #line 13438 "configure" | 13494 #line 13495 "configure" |
| 13438 #include "confdefs.h" | 13495 #include "confdefs.h" |
| 13439 /* Override any gcc2 internal prototype to avoid an error. */ | 13496 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13440 /* We use char because int might match the return type of a gcc2 | 13497 /* We use char because int might match the return type of a gcc2 |
| 13441 builtin and then its argument prototype would still apply. */ | 13498 builtin and then its argument prototype would still apply. */ |
| 13442 char tgetent(); | 13499 char tgetent(); |
| 13443 | 13500 |
| 13444 int main() { | 13501 int main() { |
| 13445 tgetent() | 13502 tgetent() |
| 13446 ; return 0; } | 13503 ; return 0; } |
| 13447 EOF | 13504 EOF |
| 13448 if { (eval echo configure:13449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13449 rm -rf conftest* | 13506 rm -rf conftest* |
| 13450 eval "ac_cv_lib_$ac_lib_var=yes" | 13507 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13451 else | 13508 else |
| 13452 echo "configure: failed program was:" >&5 | 13509 echo "configure: failed program was:" >&5 |
| 13453 cat conftest.$ac_ext >&5 | 13510 cat conftest.$ac_ext >&5 |
| 13476 EOF | 13533 EOF |
| 13477 } | 13534 } |
| 13478 | 13535 |
| 13479 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13536 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 13480 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13537 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 13481 echo "configure:13482: checking for ncurses/curses.h" >&5 | 13538 echo "configure:13539: checking for ncurses/curses.h" >&5 |
| 13482 | 13539 |
| 13483 cat > conftest.$ac_ext <<EOF | 13540 cat > conftest.$ac_ext <<EOF |
| 13484 #line 13485 "configure" | 13541 #line 13542 "configure" |
| 13485 #include "confdefs.h" | 13542 #include "confdefs.h" |
| 13486 #include <ncurses/curses.h> | 13543 #include <ncurses/curses.h> |
| 13487 EOF | 13544 EOF |
| 13488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13489 { (eval echo configure:13490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13546 { (eval echo configure:13547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13491 if test -z "$ac_err"; then | 13548 if test -z "$ac_err"; then |
| 13492 rm -rf conftest* | 13549 rm -rf conftest* |
| 13493 eval "ac_cv_header_$ac_safe=yes" | 13550 eval "ac_cv_header_$ac_safe=yes" |
| 13494 else | 13551 else |
| 13506 echo "$ac_t""no" 1>&6 | 13563 echo "$ac_t""no" 1>&6 |
| 13507 fi | 13564 fi |
| 13508 | 13565 |
| 13509 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13566 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 13510 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13567 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 13511 echo "configure:13512: checking for ncurses/term.h" >&5 | 13568 echo "configure:13569: checking for ncurses/term.h" >&5 |
| 13512 | 13569 |
| 13513 cat > conftest.$ac_ext <<EOF | 13570 cat > conftest.$ac_ext <<EOF |
| 13514 #line 13515 "configure" | 13571 #line 13572 "configure" |
| 13515 #include "confdefs.h" | 13572 #include "confdefs.h" |
| 13516 #include <ncurses/term.h> | 13573 #include <ncurses/term.h> |
| 13517 EOF | 13574 EOF |
| 13518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13519 { (eval echo configure:13520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13576 { (eval echo configure:13577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13521 if test -z "$ac_err"; then | 13578 if test -z "$ac_err"; then |
| 13522 rm -rf conftest* | 13579 rm -rf conftest* |
| 13523 eval "ac_cv_header_$ac_safe=yes" | 13580 eval "ac_cv_header_$ac_safe=yes" |
| 13524 else | 13581 else |
| 13544 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13601 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 13545 save_c_switch_site="$c_switch_site" | 13602 save_c_switch_site="$c_switch_site" |
| 13546 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13603 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 13547 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13604 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 13548 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13605 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 13549 echo "configure:13550: checking for ncurses/curses.h" >&5 | 13606 echo "configure:13607: checking for ncurses/curses.h" >&5 |
| 13550 | 13607 |
| 13551 cat > conftest.$ac_ext <<EOF | 13608 cat > conftest.$ac_ext <<EOF |
| 13552 #line 13553 "configure" | 13609 #line 13610 "configure" |
| 13553 #include "confdefs.h" | 13610 #include "confdefs.h" |
| 13554 #include <ncurses/curses.h> | 13611 #include <ncurses/curses.h> |
| 13555 EOF | 13612 EOF |
| 13556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13557 { (eval echo configure:13558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13614 { (eval echo configure:13615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13559 if test -z "$ac_err"; then | 13616 if test -z "$ac_err"; then |
| 13560 rm -rf conftest* | 13617 rm -rf conftest* |
| 13561 eval "ac_cv_header_$ac_safe=yes" | 13618 eval "ac_cv_header_$ac_safe=yes" |
| 13562 else | 13619 else |
| 13587 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13644 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 13588 else | 13645 else |
| 13589 for lib in curses termlib termcap; do | 13646 for lib in curses termlib termcap; do |
| 13590 | 13647 |
| 13591 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13648 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 13592 echo "configure:13593: checking for tgetent in -l$lib" >&5 | 13649 echo "configure:13650: checking for tgetent in -l$lib" >&5 |
| 13593 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13650 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 13594 | 13651 |
| 13595 xe_check_libs=" -l$lib " | 13652 xe_check_libs=" -l$lib " |
| 13596 cat > conftest.$ac_ext <<EOF | 13653 cat > conftest.$ac_ext <<EOF |
| 13597 #line 13598 "configure" | 13654 #line 13655 "configure" |
| 13598 #include "confdefs.h" | 13655 #include "confdefs.h" |
| 13599 /* Override any gcc2 internal prototype to avoid an error. */ | 13656 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13600 /* We use char because int might match the return type of a gcc2 | 13657 /* We use char because int might match the return type of a gcc2 |
| 13601 builtin and then its argument prototype would still apply. */ | 13658 builtin and then its argument prototype would still apply. */ |
| 13602 char tgetent(); | 13659 char tgetent(); |
| 13603 | 13660 |
| 13604 int main() { | 13661 int main() { |
| 13605 tgetent() | 13662 tgetent() |
| 13606 ; return 0; } | 13663 ; return 0; } |
| 13607 EOF | 13664 EOF |
| 13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13665 if { (eval echo configure:13666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13609 rm -rf conftest* | 13666 rm -rf conftest* |
| 13610 eval "ac_cv_lib_$ac_lib_var=yes" | 13667 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13611 else | 13668 else |
| 13612 echo "configure: failed program was:" >&5 | 13669 echo "configure: failed program was:" >&5 |
| 13613 cat conftest.$ac_ext >&5 | 13670 cat conftest.$ac_ext >&5 |
| 13634 if test -n "$libs_termcap"; then | 13691 if test -n "$libs_termcap"; then |
| 13635 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13692 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 13636 else | 13693 else |
| 13637 | 13694 |
| 13638 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13695 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 13639 echo "configure:13640: checking for tgetent in -lcurses" >&5 | 13696 echo "configure:13697: checking for tgetent in -lcurses" >&5 |
| 13640 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13697 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 13641 | 13698 |
| 13642 xe_check_libs=" -lcurses " | 13699 xe_check_libs=" -lcurses " |
| 13643 cat > conftest.$ac_ext <<EOF | 13700 cat > conftest.$ac_ext <<EOF |
| 13644 #line 13645 "configure" | 13701 #line 13702 "configure" |
| 13645 #include "confdefs.h" | 13702 #include "confdefs.h" |
| 13646 /* Override any gcc2 internal prototype to avoid an error. */ | 13703 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13647 /* We use char because int might match the return type of a gcc2 | 13704 /* We use char because int might match the return type of a gcc2 |
| 13648 builtin and then its argument prototype would still apply. */ | 13705 builtin and then its argument prototype would still apply. */ |
| 13649 char tgetent(); | 13706 char tgetent(); |
| 13650 | 13707 |
| 13651 int main() { | 13708 int main() { |
| 13652 tgetent() | 13709 tgetent() |
| 13653 ; return 0; } | 13710 ; return 0; } |
| 13654 EOF | 13711 EOF |
| 13655 if { (eval echo configure:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13712 if { (eval echo configure:13713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13656 rm -rf conftest* | 13713 rm -rf conftest* |
| 13657 eval "ac_cv_lib_$ac_lib_var=yes" | 13714 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13658 else | 13715 else |
| 13659 echo "configure: failed program was:" >&5 | 13716 echo "configure: failed program was:" >&5 |
| 13660 cat conftest.$ac_ext >&5 | 13717 cat conftest.$ac_ext >&5 |
| 13668 echo "$ac_t""yes" 1>&6 | 13725 echo "$ac_t""yes" 1>&6 |
| 13669 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13726 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 13670 else | 13727 else |
| 13671 echo "$ac_t""no" 1>&6 | 13728 echo "$ac_t""no" 1>&6 |
| 13672 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13729 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 13673 echo "configure:13674: checking for tgetent in -ltermcap" >&5 | 13730 echo "configure:13731: checking for tgetent in -ltermcap" >&5 |
| 13674 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13731 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 13675 | 13732 |
| 13676 xe_check_libs=" -ltermcap " | 13733 xe_check_libs=" -ltermcap " |
| 13677 cat > conftest.$ac_ext <<EOF | 13734 cat > conftest.$ac_ext <<EOF |
| 13678 #line 13679 "configure" | 13735 #line 13736 "configure" |
| 13679 #include "confdefs.h" | 13736 #include "confdefs.h" |
| 13680 /* Override any gcc2 internal prototype to avoid an error. */ | 13737 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13681 /* We use char because int might match the return type of a gcc2 | 13738 /* We use char because int might match the return type of a gcc2 |
| 13682 builtin and then its argument prototype would still apply. */ | 13739 builtin and then its argument prototype would still apply. */ |
| 13683 char tgetent(); | 13740 char tgetent(); |
| 13684 | 13741 |
| 13685 int main() { | 13742 int main() { |
| 13686 tgetent() | 13743 tgetent() |
| 13687 ; return 0; } | 13744 ; return 0; } |
| 13688 EOF | 13745 EOF |
| 13689 if { (eval echo configure:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13746 if { (eval echo configure:13747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13690 rm -rf conftest* | 13747 rm -rf conftest* |
| 13691 eval "ac_cv_lib_$ac_lib_var=yes" | 13748 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13692 else | 13749 else |
| 13693 echo "configure: failed program was:" >&5 | 13750 echo "configure: failed program was:" >&5 |
| 13694 cat conftest.$ac_ext >&5 | 13751 cat conftest.$ac_ext >&5 |
| 13732 } | 13789 } |
| 13733 | 13790 |
| 13734 | 13791 |
| 13735 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13792 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 13736 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13793 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 13737 echo "configure:13738: checking for gpm.h" >&5 | 13794 echo "configure:13795: checking for gpm.h" >&5 |
| 13738 | 13795 |
| 13739 cat > conftest.$ac_ext <<EOF | 13796 cat > conftest.$ac_ext <<EOF |
| 13740 #line 13741 "configure" | 13797 #line 13798 "configure" |
| 13741 #include "confdefs.h" | 13798 #include "confdefs.h" |
| 13742 #include <gpm.h> | 13799 #include <gpm.h> |
| 13743 EOF | 13800 EOF |
| 13744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13801 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; } | 13802 { (eval echo configure:13803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13747 if test -z "$ac_err"; then | 13804 if test -z "$ac_err"; then |
| 13748 rm -rf conftest* | 13805 rm -rf conftest* |
| 13749 eval "ac_cv_header_$ac_safe=yes" | 13806 eval "ac_cv_header_$ac_safe=yes" |
| 13750 else | 13807 else |
| 13763 with_gpm=no | 13820 with_gpm=no |
| 13764 fi | 13821 fi |
| 13765 } | 13822 } |
| 13766 test -z "$with_gpm" && { | 13823 test -z "$with_gpm" && { |
| 13767 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13824 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 13768 echo "configure:13769: checking for Gpm_Open in -lgpm" >&5 | 13825 echo "configure:13826: checking for Gpm_Open in -lgpm" >&5 |
| 13769 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13826 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 13770 | 13827 |
| 13771 xe_check_libs=" -lgpm " | 13828 xe_check_libs=" -lgpm " |
| 13772 cat > conftest.$ac_ext <<EOF | 13829 cat > conftest.$ac_ext <<EOF |
| 13773 #line 13774 "configure" | 13830 #line 13831 "configure" |
| 13774 #include "confdefs.h" | 13831 #include "confdefs.h" |
| 13775 /* Override any gcc2 internal prototype to avoid an error. */ | 13832 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13776 /* We use char because int might match the return type of a gcc2 | 13833 /* We use char because int might match the return type of a gcc2 |
| 13777 builtin and then its argument prototype would still apply. */ | 13834 builtin and then its argument prototype would still apply. */ |
| 13778 char Gpm_Open(); | 13835 char Gpm_Open(); |
| 13779 | 13836 |
| 13780 int main() { | 13837 int main() { |
| 13781 Gpm_Open() | 13838 Gpm_Open() |
| 13782 ; return 0; } | 13839 ; return 0; } |
| 13783 EOF | 13840 EOF |
| 13784 if { (eval echo configure:13785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13841 if { (eval echo configure:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13785 rm -rf conftest* | 13842 rm -rf conftest* |
| 13786 eval "ac_cv_lib_$ac_lib_var=yes" | 13843 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13787 else | 13844 else |
| 13788 echo "configure: failed program was:" >&5 | 13845 echo "configure: failed program was:" >&5 |
| 13789 cat conftest.$ac_ext >&5 | 13846 cat conftest.$ac_ext >&5 |
| 13829 fi | 13886 fi |
| 13830 | 13887 |
| 13831 | 13888 |
| 13832 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13889 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
| 13833 != "no no no" && echo "checking for database support" 1>&6 | 13890 != "no no no" && echo "checking for database support" 1>&6 |
| 13834 echo "configure:13835: checking for database support" >&5 | 13891 echo "configure:13892: checking for database support" >&5 |
| 13835 | 13892 |
| 13836 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13893 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
| 13837 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13894 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 13838 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13895 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 13839 echo "configure:13840: checking for ndbm.h" >&5 | 13896 echo "configure:13897: checking for ndbm.h" >&5 |
| 13840 | 13897 |
| 13841 cat > conftest.$ac_ext <<EOF | 13898 cat > conftest.$ac_ext <<EOF |
| 13842 #line 13843 "configure" | 13899 #line 13900 "configure" |
| 13843 #include "confdefs.h" | 13900 #include "confdefs.h" |
| 13844 #include <ndbm.h> | 13901 #include <ndbm.h> |
| 13845 EOF | 13902 EOF |
| 13846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13847 { (eval echo configure:13848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13849 if test -z "$ac_err"; then | 13906 if test -z "$ac_err"; then |
| 13850 rm -rf conftest* | 13907 rm -rf conftest* |
| 13851 eval "ac_cv_header_$ac_safe=yes" | 13908 eval "ac_cv_header_$ac_safe=yes" |
| 13852 else | 13909 else |
| 13872 fi | 13929 fi |
| 13873 | 13930 |
| 13874 if test "$with_database_gdbm" != "no"; then | 13931 if test "$with_database_gdbm" != "no"; then |
| 13875 | 13932 |
| 13876 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13933 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 13877 echo "configure:13878: checking for dbm_open in -lgdbm" >&5 | 13934 echo "configure:13935: checking for dbm_open in -lgdbm" >&5 |
| 13878 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13935 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13879 | 13936 |
| 13880 xe_check_libs=" -lgdbm " | 13937 xe_check_libs=" -lgdbm " |
| 13881 cat > conftest.$ac_ext <<EOF | 13938 cat > conftest.$ac_ext <<EOF |
| 13882 #line 13883 "configure" | 13939 #line 13940 "configure" |
| 13883 #include "confdefs.h" | 13940 #include "confdefs.h" |
| 13884 /* Override any gcc2 internal prototype to avoid an error. */ | 13941 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13885 /* We use char because int might match the return type of a gcc2 | 13942 /* We use char because int might match the return type of a gcc2 |
| 13886 builtin and then its argument prototype would still apply. */ | 13943 builtin and then its argument prototype would still apply. */ |
| 13887 char dbm_open(); | 13944 char dbm_open(); |
| 13888 | 13945 |
| 13889 int main() { | 13946 int main() { |
| 13890 dbm_open() | 13947 dbm_open() |
| 13891 ; return 0; } | 13948 ; return 0; } |
| 13892 EOF | 13949 EOF |
| 13893 if { (eval echo configure:13894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13950 if { (eval echo configure:13951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13894 rm -rf conftest* | 13951 rm -rf conftest* |
| 13895 eval "ac_cv_lib_$ac_lib_var=yes" | 13952 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13896 else | 13953 else |
| 13897 echo "configure: failed program was:" >&5 | 13954 echo "configure: failed program was:" >&5 |
| 13898 cat conftest.$ac_ext >&5 | 13955 cat conftest.$ac_ext >&5 |
| 13916 | 13973 |
| 13917 fi | 13974 fi |
| 13918 | 13975 |
| 13919 if test "$with_database_dbm" != "no"; then | 13976 if test "$with_database_dbm" != "no"; then |
| 13920 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13977 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 13921 echo "configure:13922: checking for dbm_open" >&5 | 13978 echo "configure:13979: checking for dbm_open" >&5 |
| 13922 | 13979 |
| 13923 cat > conftest.$ac_ext <<EOF | 13980 cat > conftest.$ac_ext <<EOF |
| 13924 #line 13925 "configure" | 13981 #line 13982 "configure" |
| 13925 #include "confdefs.h" | 13982 #include "confdefs.h" |
| 13926 /* System header to define __stub macros and hopefully few prototypes, | 13983 /* System header to define __stub macros and hopefully few prototypes, |
| 13927 which can conflict with char dbm_open(); below. */ | 13984 which can conflict with char dbm_open(); below. */ |
| 13928 #include <assert.h> | 13985 #include <assert.h> |
| 13929 /* Override any gcc2 internal prototype to avoid an error. */ | 13986 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13942 dbm_open(); | 13999 dbm_open(); |
| 13943 #endif | 14000 #endif |
| 13944 | 14001 |
| 13945 ; return 0; } | 14002 ; return 0; } |
| 13946 EOF | 14003 EOF |
| 13947 if { (eval echo configure:13948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14004 if { (eval echo configure:14005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13948 rm -rf conftest* | 14005 rm -rf conftest* |
| 13949 eval "ac_cv_func_dbm_open=yes" | 14006 eval "ac_cv_func_dbm_open=yes" |
| 13950 else | 14007 else |
| 13951 echo "configure: failed program was:" >&5 | 14008 echo "configure: failed program was:" >&5 |
| 13952 cat conftest.$ac_ext >&5 | 14009 cat conftest.$ac_ext >&5 |
| 13961 else | 14018 else |
| 13962 echo "$ac_t""no" 1>&6 | 14019 echo "$ac_t""no" 1>&6 |
| 13963 | 14020 |
| 13964 | 14021 |
| 13965 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14022 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 13966 echo "configure:13967: checking for dbm_open in -ldbm" >&5 | 14023 echo "configure:14024: checking for dbm_open in -ldbm" >&5 |
| 13967 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14024 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13968 | 14025 |
| 13969 xe_check_libs=" -ldbm " | 14026 xe_check_libs=" -ldbm " |
| 13970 cat > conftest.$ac_ext <<EOF | 14027 cat > conftest.$ac_ext <<EOF |
| 13971 #line 13972 "configure" | 14028 #line 14029 "configure" |
| 13972 #include "confdefs.h" | 14029 #include "confdefs.h" |
| 13973 /* Override any gcc2 internal prototype to avoid an error. */ | 14030 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13974 /* We use char because int might match the return type of a gcc2 | 14031 /* We use char because int might match the return type of a gcc2 |
| 13975 builtin and then its argument prototype would still apply. */ | 14032 builtin and then its argument prototype would still apply. */ |
| 13976 char dbm_open(); | 14033 char dbm_open(); |
| 13977 | 14034 |
| 13978 int main() { | 14035 int main() { |
| 13979 dbm_open() | 14036 dbm_open() |
| 13980 ; return 0; } | 14037 ; return 0; } |
| 13981 EOF | 14038 EOF |
| 13982 if { (eval echo configure:13983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14039 if { (eval echo configure:14040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13983 rm -rf conftest* | 14040 rm -rf conftest* |
| 13984 eval "ac_cv_lib_$ac_lib_var=yes" | 14041 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13985 else | 14042 else |
| 13986 echo "configure: failed program was:" >&5 | 14043 echo "configure: failed program was:" >&5 |
| 13987 cat conftest.$ac_ext >&5 | 14044 cat conftest.$ac_ext >&5 |
| 14018 } | 14075 } |
| 14019 | 14076 |
| 14020 | 14077 |
| 14021 if test "$with_database_berkdb" != "no"; then | 14078 if test "$with_database_berkdb" != "no"; then |
| 14022 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14079 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 14023 echo "configure:14024: checking for Berkeley db.h" >&5 | 14080 echo "configure:14081: checking for Berkeley db.h" >&5 |
| 14024 for header in "db/db.h" "db.h"; do | 14081 for header in "db/db.h" "db.h"; do |
| 14025 cat > conftest.$ac_ext <<EOF | 14082 cat > conftest.$ac_ext <<EOF |
| 14026 #line 14027 "configure" | 14083 #line 14084 "configure" |
| 14027 #include "confdefs.h" | 14084 #include "confdefs.h" |
| 14028 | 14085 |
| 14029 #include <stdlib.h> | 14086 #include <stdlib.h> |
| 14030 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14087 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 14031 #ifdef HAVE_INTTYPES_H | 14088 #ifdef HAVE_INTTYPES_H |
| 14043 | 14100 |
| 14044 int main() { | 14101 int main() { |
| 14045 | 14102 |
| 14046 ; return 0; } | 14103 ; return 0; } |
| 14047 EOF | 14104 EOF |
| 14048 if { (eval echo configure:14049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14105 if { (eval echo configure:14106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 14049 rm -rf conftest* | 14106 rm -rf conftest* |
| 14050 db_h_file="$header"; break | 14107 db_h_file="$header"; break |
| 14051 else | 14108 else |
| 14052 echo "configure: failed program was:" >&5 | 14109 echo "configure: failed program was:" >&5 |
| 14053 cat conftest.$ac_ext >&5 | 14110 cat conftest.$ac_ext >&5 |
| 14059 else echo "$ac_t""$db_h_file" 1>&6 | 14116 else echo "$ac_t""$db_h_file" 1>&6 |
| 14060 fi | 14117 fi |
| 14061 | 14118 |
| 14062 if test "$with_database_berkdb" != "no"; then | 14119 if test "$with_database_berkdb" != "no"; then |
| 14063 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14120 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 14064 echo "configure:14065: checking for Berkeley DB version" >&5 | 14121 echo "configure:14122: checking for Berkeley DB version" >&5 |
| 14065 cat > conftest.$ac_ext <<EOF | 14122 cat > conftest.$ac_ext <<EOF |
| 14066 #line 14067 "configure" | 14123 #line 14124 "configure" |
| 14067 #include "confdefs.h" | 14124 #include "confdefs.h" |
| 14068 #include <$db_h_file> | 14125 #include <$db_h_file> |
| 14069 #if DB_VERSION_MAJOR > 1 | 14126 #if DB_VERSION_MAJOR > 1 |
| 14070 yes | 14127 yes |
| 14071 #endif | 14128 #endif |
| 14073 EOF | 14130 EOF |
| 14074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14075 egrep "yes" >/dev/null 2>&1; then | 14132 egrep "yes" >/dev/null 2>&1; then |
| 14076 rm -rf conftest* | 14133 rm -rf conftest* |
| 14077 cat > conftest.$ac_ext <<EOF | 14134 cat > conftest.$ac_ext <<EOF |
| 14078 #line 14079 "configure" | 14135 #line 14136 "configure" |
| 14079 #include "confdefs.h" | 14136 #include "confdefs.h" |
| 14080 #include <$db_h_file> | 14137 #include <$db_h_file> |
| 14081 #if DB_VERSION_MAJOR > 2 | 14138 #if DB_VERSION_MAJOR > 2 |
| 14082 yes | 14139 yes |
| 14083 #endif | 14140 #endif |
| 14100 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14157 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 14101 fi | 14158 fi |
| 14102 rm -f conftest* | 14159 rm -f conftest* |
| 14103 | 14160 |
| 14104 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14161 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 14105 echo "configure:14106: checking for $dbfunc" >&5 | 14162 echo "configure:14163: checking for $dbfunc" >&5 |
| 14106 | 14163 |
| 14107 cat > conftest.$ac_ext <<EOF | 14164 cat > conftest.$ac_ext <<EOF |
| 14108 #line 14109 "configure" | 14165 #line 14166 "configure" |
| 14109 #include "confdefs.h" | 14166 #include "confdefs.h" |
| 14110 /* System header to define __stub macros and hopefully few prototypes, | 14167 /* System header to define __stub macros and hopefully few prototypes, |
| 14111 which can conflict with char $dbfunc(); below. */ | 14168 which can conflict with char $dbfunc(); below. */ |
| 14112 #include <assert.h> | 14169 #include <assert.h> |
| 14113 /* Override any gcc2 internal prototype to avoid an error. */ | 14170 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14126 $dbfunc(); | 14183 $dbfunc(); |
| 14127 #endif | 14184 #endif |
| 14128 | 14185 |
| 14129 ; return 0; } | 14186 ; return 0; } |
| 14130 EOF | 14187 EOF |
| 14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14188 if { (eval echo configure:14189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14132 rm -rf conftest* | 14189 rm -rf conftest* |
| 14133 eval "ac_cv_func_$dbfunc=yes" | 14190 eval "ac_cv_func_$dbfunc=yes" |
| 14134 else | 14191 else |
| 14135 echo "configure: failed program was:" >&5 | 14192 echo "configure: failed program was:" >&5 |
| 14136 cat conftest.$ac_ext >&5 | 14193 cat conftest.$ac_ext >&5 |
| 14145 else | 14202 else |
| 14146 echo "$ac_t""no" 1>&6 | 14203 echo "$ac_t""no" 1>&6 |
| 14147 | 14204 |
| 14148 | 14205 |
| 14149 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14206 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 14150 echo "configure:14151: checking for $dbfunc in -ldb" >&5 | 14207 echo "configure:14208: checking for $dbfunc in -ldb" >&5 |
| 14151 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14208 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 14152 | 14209 |
| 14153 xe_check_libs=" -ldb " | 14210 xe_check_libs=" -ldb " |
| 14154 cat > conftest.$ac_ext <<EOF | 14211 cat > conftest.$ac_ext <<EOF |
| 14155 #line 14156 "configure" | 14212 #line 14213 "configure" |
| 14156 #include "confdefs.h" | 14213 #include "confdefs.h" |
| 14157 /* Override any gcc2 internal prototype to avoid an error. */ | 14214 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14158 /* We use char because int might match the return type of a gcc2 | 14215 /* We use char because int might match the return type of a gcc2 |
| 14159 builtin and then its argument prototype would still apply. */ | 14216 builtin and then its argument prototype would still apply. */ |
| 14160 char $dbfunc(); | 14217 char $dbfunc(); |
| 14161 | 14218 |
| 14162 int main() { | 14219 int main() { |
| 14163 $dbfunc() | 14220 $dbfunc() |
| 14164 ; return 0; } | 14221 ; return 0; } |
| 14165 EOF | 14222 EOF |
| 14166 if { (eval echo configure:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14223 if { (eval echo configure:14224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14167 rm -rf conftest* | 14224 rm -rf conftest* |
| 14168 eval "ac_cv_lib_$ac_lib_var=yes" | 14225 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14169 else | 14226 else |
| 14170 echo "configure: failed program was:" >&5 | 14227 echo "configure: failed program was:" >&5 |
| 14171 cat conftest.$ac_ext >&5 | 14228 cat conftest.$ac_ext >&5 |
| 14225 fi | 14282 fi |
| 14226 | 14283 |
| 14227 if test "$with_socks" = "yes"; then | 14284 if test "$with_socks" = "yes"; then |
| 14228 | 14285 |
| 14229 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14286 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 14230 echo "configure:14231: checking for SOCKSinit in -lsocks" >&5 | 14287 echo "configure:14288: checking for SOCKSinit in -lsocks" >&5 |
| 14231 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14288 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 14232 | 14289 |
| 14233 xe_check_libs=" -lsocks " | 14290 xe_check_libs=" -lsocks " |
| 14234 cat > conftest.$ac_ext <<EOF | 14291 cat > conftest.$ac_ext <<EOF |
| 14235 #line 14236 "configure" | 14292 #line 14293 "configure" |
| 14236 #include "confdefs.h" | 14293 #include "confdefs.h" |
| 14237 /* Override any gcc2 internal prototype to avoid an error. */ | 14294 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14238 /* We use char because int might match the return type of a gcc2 | 14295 /* We use char because int might match the return type of a gcc2 |
| 14239 builtin and then its argument prototype would still apply. */ | 14296 builtin and then its argument prototype would still apply. */ |
| 14240 char SOCKSinit(); | 14297 char SOCKSinit(); |
| 14241 | 14298 |
| 14242 int main() { | 14299 int main() { |
| 14243 SOCKSinit() | 14300 SOCKSinit() |
| 14244 ; return 0; } | 14301 ; return 0; } |
| 14245 EOF | 14302 EOF |
| 14246 if { (eval echo configure:14247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14303 if { (eval echo configure:14304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14247 rm -rf conftest* | 14304 rm -rf conftest* |
| 14248 eval "ac_cv_lib_$ac_lib_var=yes" | 14305 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14249 else | 14306 else |
| 14250 echo "configure: failed program was:" >&5 | 14307 echo "configure: failed program was:" >&5 |
| 14251 cat conftest.$ac_ext >&5 | 14308 cat conftest.$ac_ext >&5 |
| 14296 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14353 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 14297 fi | 14354 fi |
| 14298 | 14355 |
| 14299 if test "$with_modules" != "no"; then | 14356 if test "$with_modules" != "no"; then |
| 14300 echo "checking for module support" 1>&6 | 14357 echo "checking for module support" 1>&6 |
| 14301 echo "configure:14302: checking for module support" >&5 | 14358 echo "configure:14359: checking for module support" >&5 |
| 14302 | 14359 |
| 14303 if test "$with_msw" = "yes"; then | 14360 if test "$with_msw" = "yes"; then |
| 14304 have_dl=yes; | 14361 have_dl=yes; |
| 14305 else | 14362 else |
| 14306 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14363 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
| 14307 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14364 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
| 14308 echo "configure:14309: checking for dlfcn.h" >&5 | 14365 echo "configure:14366: checking for dlfcn.h" >&5 |
| 14309 | 14366 |
| 14310 cat > conftest.$ac_ext <<EOF | 14367 cat > conftest.$ac_ext <<EOF |
| 14311 #line 14312 "configure" | 14368 #line 14369 "configure" |
| 14312 #include "confdefs.h" | 14369 #include "confdefs.h" |
| 14313 #include <dlfcn.h> | 14370 #include <dlfcn.h> |
| 14314 EOF | 14371 EOF |
| 14315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14316 { (eval echo configure:14317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14373 { (eval echo configure:14374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14318 if test -z "$ac_err"; then | 14375 if test -z "$ac_err"; then |
| 14319 rm -rf conftest* | 14376 rm -rf conftest* |
| 14320 eval "ac_cv_header_$ac_safe=yes" | 14377 eval "ac_cv_header_$ac_safe=yes" |
| 14321 else | 14378 else |
| 14328 rm -f conftest* | 14385 rm -f conftest* |
| 14329 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 14330 echo "$ac_t""yes" 1>&6 | 14387 echo "$ac_t""yes" 1>&6 |
| 14331 | 14388 |
| 14332 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14389 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 14333 echo "configure:14334: checking for dlopen in -lc" >&5 | 14390 echo "configure:14391: checking for dlopen in -lc" >&5 |
| 14334 cat > conftest.$ac_ext <<EOF | 14391 cat > conftest.$ac_ext <<EOF |
| 14335 #line 14336 "configure" | 14392 #line 14393 "configure" |
| 14336 #include "confdefs.h" | 14393 #include "confdefs.h" |
| 14337 #include <dlfcn.h> | 14394 #include <dlfcn.h> |
| 14338 int main() { | 14395 int main() { |
| 14339 dlopen ("", 0); | 14396 dlopen ("", 0); |
| 14340 ; return 0; } | 14397 ; return 0; } |
| 14341 EOF | 14398 EOF |
| 14342 if { (eval echo configure:14343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14399 if { (eval echo configure:14400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14343 rm -rf conftest* | 14400 rm -rf conftest* |
| 14344 have_dl=yes | 14401 have_dl=yes |
| 14345 else | 14402 else |
| 14346 echo "configure: failed program was:" >&5 | 14403 echo "configure: failed program was:" >&5 |
| 14347 cat conftest.$ac_ext >&5 | 14404 cat conftest.$ac_ext >&5 |
| 14348 rm -rf conftest* | 14405 rm -rf conftest* |
| 14349 | 14406 |
| 14350 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14407 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 14351 echo "configure:14352: checking for dlopen in -ldl" >&5 | 14408 echo "configure:14409: checking for dlopen in -ldl" >&5 |
| 14352 ac_save_LIBS="$LIBS" | 14409 ac_save_LIBS="$LIBS" |
| 14353 LIBS="-ldl $LIBS" | 14410 LIBS="-ldl $LIBS" |
| 14354 cat > conftest.$ac_ext <<EOF | 14411 cat > conftest.$ac_ext <<EOF |
| 14355 #line 14356 "configure" | 14412 #line 14413 "configure" |
| 14356 #include "confdefs.h" | 14413 #include "confdefs.h" |
| 14357 #include <dlfcn.h> | 14414 #include <dlfcn.h> |
| 14358 int main() { | 14415 int main() { |
| 14359 dlopen ("", 0); | 14416 dlopen ("", 0); |
| 14360 ; return 0; } | 14417 ; return 0; } |
| 14361 EOF | 14418 EOF |
| 14362 if { (eval echo configure:14363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14419 if { (eval echo configure:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14363 rm -rf conftest* | 14420 rm -rf conftest* |
| 14364 have_dl=yes | 14421 have_dl=yes |
| 14365 else | 14422 else |
| 14366 echo "configure: failed program was:" >&5 | 14423 echo "configure: failed program was:" >&5 |
| 14367 cat conftest.$ac_ext >&5 | 14424 cat conftest.$ac_ext >&5 |
| 14386 } | 14443 } |
| 14387 | 14444 |
| 14388 else | 14445 else |
| 14389 | 14446 |
| 14390 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14447 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 14391 echo "configure:14392: checking for shl_load in -ldld" >&5 | 14448 echo "configure:14449: checking for shl_load in -ldld" >&5 |
| 14392 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14449 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 14393 | 14450 |
| 14394 xe_check_libs=" -ldld " | 14451 xe_check_libs=" -ldld " |
| 14395 cat > conftest.$ac_ext <<EOF | 14452 cat > conftest.$ac_ext <<EOF |
| 14396 #line 14397 "configure" | 14453 #line 14454 "configure" |
| 14397 #include "confdefs.h" | 14454 #include "confdefs.h" |
| 14398 /* Override any gcc2 internal prototype to avoid an error. */ | 14455 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14399 /* We use char because int might match the return type of a gcc2 | 14456 /* We use char because int might match the return type of a gcc2 |
| 14400 builtin and then its argument prototype would still apply. */ | 14457 builtin and then its argument prototype would still apply. */ |
| 14401 char shl_load(); | 14458 char shl_load(); |
| 14402 | 14459 |
| 14403 int main() { | 14460 int main() { |
| 14404 shl_load() | 14461 shl_load() |
| 14405 ; return 0; } | 14462 ; return 0; } |
| 14406 EOF | 14463 EOF |
| 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14464 if { (eval echo configure:14465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14408 rm -rf conftest* | 14465 rm -rf conftest* |
| 14409 eval "ac_cv_lib_$ac_lib_var=yes" | 14466 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14410 else | 14467 else |
| 14411 echo "configure: failed program was:" >&5 | 14468 echo "configure: failed program was:" >&5 |
| 14412 cat conftest.$ac_ext >&5 | 14469 cat conftest.$ac_ext >&5 |
| 14429 | 14486 |
| 14430 else | 14487 else |
| 14431 echo "$ac_t""no" 1>&6 | 14488 echo "$ac_t""no" 1>&6 |
| 14432 | 14489 |
| 14433 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14490 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 14434 echo "configure:14435: checking for dld_init in -ldld" >&5 | 14491 echo "configure:14492: checking for dld_init in -ldld" >&5 |
| 14435 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14492 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 14436 | 14493 |
| 14437 xe_check_libs=" -ldld " | 14494 xe_check_libs=" -ldld " |
| 14438 cat > conftest.$ac_ext <<EOF | 14495 cat > conftest.$ac_ext <<EOF |
| 14439 #line 14440 "configure" | 14496 #line 14497 "configure" |
| 14440 #include "confdefs.h" | 14497 #include "confdefs.h" |
| 14441 /* Override any gcc2 internal prototype to avoid an error. */ | 14498 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14442 /* We use char because int might match the return type of a gcc2 | 14499 /* We use char because int might match the return type of a gcc2 |
| 14443 builtin and then its argument prototype would still apply. */ | 14500 builtin and then its argument prototype would still apply. */ |
| 14444 char dld_init(); | 14501 char dld_init(); |
| 14445 | 14502 |
| 14446 int main() { | 14503 int main() { |
| 14447 dld_init() | 14504 dld_init() |
| 14448 ; return 0; } | 14505 ; return 0; } |
| 14449 EOF | 14506 EOF |
| 14450 if { (eval echo configure:14451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14507 if { (eval echo configure:14508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14451 rm -rf conftest* | 14508 rm -rf conftest* |
| 14452 eval "ac_cv_lib_$ac_lib_var=yes" | 14509 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14453 else | 14510 else |
| 14454 echo "configure: failed program was:" >&5 | 14511 echo "configure: failed program was:" >&5 |
| 14455 cat conftest.$ac_ext >&5 | 14512 cat conftest.$ac_ext >&5 |
| 14490 ld_dynamic_link_flags= | 14547 ld_dynamic_link_flags= |
| 14491 xehost=$canonical | 14548 xehost=$canonical |
| 14492 xealias=$internal_configuration | 14549 xealias=$internal_configuration |
| 14493 | 14550 |
| 14494 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14551 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 14495 echo "configure:14496: checking how to build dynamic libraries for ${xehost}" >&5 | 14552 echo "configure:14553: checking how to build dynamic libraries for ${xehost}" >&5 |
| 14496 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14553 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 14497 case "$xehost" in | 14554 case "$xehost" in |
| 14498 *-*-linux-gnu*) ;; | 14555 *-*-linux-gnu*) ;; |
| 14499 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14556 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 14500 esac | 14557 esac |
| 14518 # Now see if the compiler is really GCC. | 14575 # Now see if the compiler is really GCC. |
| 14519 if test "$GCC" = "yes"; then | 14576 if test "$GCC" = "yes"; then |
| 14520 XEGCC=yes | 14577 XEGCC=yes |
| 14521 else | 14578 else |
| 14522 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14579 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 14523 echo "configure:14524: checking checking whether we are using GNU C" >&5 | 14580 echo "configure:14581: checking checking whether we are using GNU C" >&5 |
| 14524 cat > conftest.$ac_ext <<EOF | 14581 cat > conftest.$ac_ext <<EOF |
| 14525 #line 14526 "configure" | 14582 #line 14583 "configure" |
| 14526 #include "confdefs.h" | 14583 #include "confdefs.h" |
| 14527 | 14584 |
| 14528 #ifdef __GNUC__ | 14585 #ifdef __GNUC__ |
| 14529 yes; | 14586 yes; |
| 14530 #endif | 14587 #endif |
| 14542 | 14599 |
| 14543 echo "$ac_t""${XEGCC}" 1>&6 | 14600 echo "$ac_t""${XEGCC}" 1>&6 |
| 14544 fi | 14601 fi |
| 14545 | 14602 |
| 14546 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14603 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 14547 echo "configure:14548: checking how to produce PIC code" >&5 | 14604 echo "configure:14605: checking how to produce PIC code" >&5 |
| 14548 wl= | 14605 wl= |
| 14549 | 14606 |
| 14550 can_build_shared=yes | 14607 can_build_shared=yes |
| 14551 if test "$XEGCC" = yes; then | 14608 if test "$XEGCC" = yes; then |
| 14552 wl='-Wl,' | 14609 wl='-Wl,' |
| 14643 if test -n "$dll_cflags"; then | 14700 if test -n "$dll_cflags"; then |
| 14644 echo "$ac_t""${dll_cflags}" 1>&6 | 14701 echo "$ac_t""${dll_cflags}" 1>&6 |
| 14645 | 14702 |
| 14646 # Check to make sure the dll_cflags actually works. | 14703 # Check to make sure the dll_cflags actually works. |
| 14647 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14704 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 14648 echo "configure:14649: checking if PIC flag ${dll_cflags} really works" >&5 | 14705 echo "configure:14706: checking if PIC flag ${dll_cflags} really works" >&5 |
| 14649 save_CFLAGS="$CFLAGS" | 14706 save_CFLAGS="$CFLAGS" |
| 14650 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14707 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 14651 cat > conftest.$ac_ext <<EOF | 14708 cat > conftest.$ac_ext <<EOF |
| 14652 #line 14653 "configure" | 14709 #line 14710 "configure" |
| 14653 #include "confdefs.h" | 14710 #include "confdefs.h" |
| 14654 | 14711 |
| 14655 int main() { | 14712 int main() { |
| 14656 int x=0; | 14713 int x=0; |
| 14657 ; return 0; } | 14714 ; return 0; } |
| 14658 EOF | 14715 EOF |
| 14659 if { (eval echo configure:14660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14716 if { (eval echo configure:14717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 14660 rm -rf conftest* | 14717 rm -rf conftest* |
| 14661 | 14718 |
| 14662 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14719 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 14663 # reports no error. So, we need to grep stderr for (Bundled). | 14720 # reports no error. So, we need to grep stderr for (Bundled). |
| 14664 if grep '(Bundled)' config.log >/dev/null; then | 14721 if grep '(Bundled)' config.log >/dev/null; then |
| 14685 if test "$can_build_shared" = "yes"; then | 14742 if test "$can_build_shared" = "yes"; then |
| 14686 cc_produces_so=no | 14743 cc_produces_so=no |
| 14687 xldf= | 14744 xldf= |
| 14688 xcldf= | 14745 xcldf= |
| 14689 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14746 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 14690 echo "configure:14691: checking if C compiler can produce shared libraries" >&5 | 14747 echo "configure:14748: checking if C compiler can produce shared libraries" >&5 |
| 14691 if test "$XEGCC" = yes; then | 14748 if test "$XEGCC" = yes; then |
| 14692 xcldf="-shared" | 14749 xcldf="-shared" |
| 14693 xldf="-shared" | 14750 xldf="-shared" |
| 14694 else # Not using GCC | 14751 else # Not using GCC |
| 14695 case "$xehost_os" in | 14752 case "$xehost_os" in |
| 14736 LDFLAGS="$xcldf $LDFLAGS" | 14793 LDFLAGS="$xcldf $LDFLAGS" |
| 14737 LIBS= | 14794 LIBS= |
| 14738 xe_libs= | 14795 xe_libs= |
| 14739 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14796 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 14740 cat > conftest.$ac_ext <<EOF | 14797 cat > conftest.$ac_ext <<EOF |
| 14741 #line 14742 "configure" | 14798 #line 14799 "configure" |
| 14742 #include "confdefs.h" | 14799 #include "confdefs.h" |
| 14743 | 14800 |
| 14744 int main() { | 14801 int main() { |
| 14745 int x=0; | 14802 int x=0; |
| 14746 ; return 0; } | 14803 ; return 0; } |
| 14747 EOF | 14804 EOF |
| 14748 if { (eval echo configure:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14805 if { (eval echo configure:14806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14749 rm -rf conftest* | 14806 rm -rf conftest* |
| 14750 cc_produces_so=yes | 14807 cc_produces_so=yes |
| 14751 else | 14808 else |
| 14752 echo "configure: failed program was:" >&5 | 14809 echo "configure: failed program was:" >&5 |
| 14753 cat conftest.$ac_ext >&5 | 14810 cat conftest.$ac_ext >&5 |
| 14768 if test -z "$LTLD"; then | 14825 if test -z "$LTLD"; then |
| 14769 ac_prog=ld | 14826 ac_prog=ld |
| 14770 if test "$XEGCC" = yes; then | 14827 if test "$XEGCC" = yes; then |
| 14771 # Check if gcc -print-prog-name=ld gives a path. | 14828 # Check if gcc -print-prog-name=ld gives a path. |
| 14772 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14829 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 14773 echo "configure:14774: checking for ld used by GCC" >&5 | 14830 echo "configure:14831: checking for ld used by GCC" >&5 |
| 14774 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14831 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 14775 case "$ac_prog" in | 14832 case "$ac_prog" in |
| 14776 # Accept absolute paths. | 14833 # Accept absolute paths. |
| 14777 /*) | 14834 /*) |
| 14778 if test -z "$LTLD"; then | 14835 if test -z "$LTLD"; then |
| 14793 with_gnu_ld=unknown | 14850 with_gnu_ld=unknown |
| 14794 ;; | 14851 ;; |
| 14795 esac | 14852 esac |
| 14796 else | 14853 else |
| 14797 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14854 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 14798 echo "configure:14799: checking for GNU ld" >&5 | 14855 echo "configure:14856: checking for GNU ld" >&5 |
| 14799 fi | 14856 fi |
| 14800 | 14857 |
| 14801 if test -z "$LTLD"; then | 14858 if test -z "$LTLD"; then |
| 14802 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 14803 for ac_dir in $PATH; do | 14860 for ac_dir in $PATH; do |
| 14831 | 14888 |
| 14832 ld_dynamic_link_flags= | 14889 ld_dynamic_link_flags= |
| 14833 | 14890 |
| 14834 # Check to see if it really is or isn't GNU ld. | 14891 # Check to see if it really is or isn't GNU ld. |
| 14835 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14892 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 14836 echo "configure:14837: checking if the linker is GNU ld" >&5 | 14893 echo "configure:14894: checking if the linker is GNU ld" >&5 |
| 14837 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14894 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 14838 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14895 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 14839 xe_gnu_ld=yes | 14896 xe_gnu_ld=yes |
| 14840 else | 14897 else |
| 14841 xe_gnu_ld=no | 14898 xe_gnu_ld=no |
| 14859 ld_shlibs=yes | 14916 ld_shlibs=yes |
| 14860 else | 14917 else |
| 14861 # OK - only NOW do we futz about with ld. | 14918 # OK - only NOW do we futz about with ld. |
| 14862 # See if the linker supports building shared libraries. | 14919 # See if the linker supports building shared libraries. |
| 14863 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14920 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 14864 echo "configure:14865: checking whether the linker supports shared libraries" >&5 | 14921 echo "configure:14922: checking whether the linker supports shared libraries" >&5 |
| 14865 dll_ld=$CC | 14922 dll_ld=$CC |
| 14866 dll_ldflags=$LDFLAGS | 14923 dll_ldflags=$LDFLAGS |
| 14867 ld_shlibs=yes | 14924 ld_shlibs=yes |
| 14868 can_build_shared=yes | 14925 can_build_shared=yes |
| 14869 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14926 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
| 15070 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15127 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
| 15071 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15128 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
| 15072 for ac_func in dlerror _dlerror | 15129 for ac_func in dlerror _dlerror |
| 15073 do | 15130 do |
| 15074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 15075 echo "configure:15076: checking for $ac_func" >&5 | 15132 echo "configure:15133: checking for $ac_func" >&5 |
| 15076 | 15133 |
| 15077 cat > conftest.$ac_ext <<EOF | 15134 cat > conftest.$ac_ext <<EOF |
| 15078 #line 15079 "configure" | 15135 #line 15136 "configure" |
| 15079 #include "confdefs.h" | 15136 #include "confdefs.h" |
| 15080 /* System header to define __stub macros and hopefully few prototypes, | 15137 /* System header to define __stub macros and hopefully few prototypes, |
| 15081 which can conflict with char $ac_func(); below. */ | 15138 which can conflict with char $ac_func(); below. */ |
| 15082 #include <assert.h> | 15139 #include <assert.h> |
| 15083 /* Override any gcc2 internal prototype to avoid an error. */ | 15140 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15096 $ac_func(); | 15153 $ac_func(); |
| 15097 #endif | 15154 #endif |
| 15098 | 15155 |
| 15099 ; return 0; } | 15156 ; return 0; } |
| 15100 EOF | 15157 EOF |
| 15101 if { (eval echo configure:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15158 if { (eval echo configure:15159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15102 rm -rf conftest* | 15159 rm -rf conftest* |
| 15103 eval "ac_cv_func_$ac_func=yes" | 15160 eval "ac_cv_func_$ac_func=yes" |
| 15104 else | 15161 else |
| 15105 echo "configure: failed program was:" >&5 | 15162 echo "configure: failed program was:" >&5 |
| 15106 cat conftest.$ac_ext >&5 | 15163 cat conftest.$ac_ext >&5 |
| 15135 with_modules=no | 15192 with_modules=no |
| 15136 fi | 15193 fi |
| 15137 fi | 15194 fi |
| 15138 | 15195 |
| 15139 cat > conftest.$ac_ext <<EOF | 15196 cat > conftest.$ac_ext <<EOF |
| 15140 #line 15141 "configure" | 15197 #line 15198 "configure" |
| 15141 #include "confdefs.h" | 15198 #include "confdefs.h" |
| 15142 int main(int c,char *v[]){return 0;} | 15199 int main(int c,char *v[]){return 0;} |
| 15143 EOF | 15200 EOF |
| 15144 if { (eval echo configure:15145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15201 if { (eval echo configure:15202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 15145 then | 15202 then |
| 15146 : | 15203 : |
| 15147 else | 15204 else |
| 15148 conftest_rc="$?" | 15205 conftest_rc="$?" |
| 15149 echo "configure: failed program was:" >&5 | 15206 echo "configure: failed program was:" >&5 |
