Mercurial > emacs
comparison configure @ 31320:298f3aff1431
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 01 Sep 2000 14:05:27 +0000 |
parents | 0c280e986946 |
children | 73b83b52b9cd |
comparison
equal
deleted
inserted
replaced
31319:438bba3b3761 | 31320:298f3aff1431 |
---|---|
4936 else | 4936 else |
4937 echo "$ac_t""no" 1>&6 | 4937 echo "$ac_t""no" 1>&6 |
4938 fi | 4938 fi |
4939 | 4939 |
4940 if test "${HAVE_XPM}" = "yes"; then | 4940 if test "${HAVE_XPM}" = "yes"; then |
4941 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 | |
4942 echo "configure:4943: checking for XpmReturnAllocPixels preprocessor define" >&5 | |
4941 cat > conftest.$ac_ext <<EOF | 4943 cat > conftest.$ac_ext <<EOF |
4942 #line 4943 "configure" | 4944 #line 4945 "configure" |
4943 #include "confdefs.h" | 4945 #include "confdefs.h" |
4944 #include "X11/xpm.h" | 4946 #include "X11/xpm.h" |
4945 #ifndef XpmReturnAllocPixels | 4947 #ifndef XpmReturnAllocPixels |
4946 no_return_alloc_pixels | 4948 no_return_alloc_pixels |
4947 #endif | 4949 #endif |
4957 fi | 4959 fi |
4958 rm -f conftest* | 4960 rm -f conftest* |
4959 | 4961 |
4960 fi | 4962 fi |
4961 CFLAGS="${old_c_flags}" | 4963 CFLAGS="${old_c_flags}" |
4964 if test "${HAVE_XPM}" = "yes"; then | |
4965 echo "$ac_t""yes" 1>&6 | |
4966 else | |
4967 echo "$ac_t""no" 1>&6 | |
4968 fi | |
4962 fi | 4969 fi |
4963 | 4970 |
4964 if test "${HAVE_XPM}" = "yes"; then | 4971 if test "${HAVE_XPM}" = "yes"; then |
4965 cat >> confdefs.h <<\EOF | 4972 cat >> confdefs.h <<\EOF |
4966 #define HAVE_XPM 1 | 4973 #define HAVE_XPM 1 |
4975 if test "${with_jpeg}" != "no"; then | 4982 if test "${with_jpeg}" != "no"; then |
4976 old_c_flags="${CFLAGS}" | 4983 old_c_flags="${CFLAGS}" |
4977 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4984 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4978 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4985 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4979 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4986 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4980 echo "configure:4981: checking for jerror.h" >&5 | 4987 echo "configure:4988: checking for jerror.h" >&5 |
4981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4982 echo $ac_n "(cached) $ac_c" 1>&6 | 4989 echo $ac_n "(cached) $ac_c" 1>&6 |
4983 else | 4990 else |
4984 cat > conftest.$ac_ext <<EOF | 4991 cat > conftest.$ac_ext <<EOF |
4985 #line 4986 "configure" | 4992 #line 4993 "configure" |
4986 #include "confdefs.h" | 4993 #include "confdefs.h" |
4987 #include <jerror.h> | 4994 #include <jerror.h> |
4988 EOF | 4995 EOF |
4989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4990 { (eval echo configure:4991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4997 { (eval echo configure:4998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4992 if test -z "$ac_err"; then | 4999 if test -z "$ac_err"; then |
4993 rm -rf conftest* | 5000 rm -rf conftest* |
4994 eval "ac_cv_header_$ac_safe=yes" | 5001 eval "ac_cv_header_$ac_safe=yes" |
4995 else | 5002 else |
5002 rm -f conftest* | 5009 rm -f conftest* |
5003 fi | 5010 fi |
5004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5005 echo "$ac_t""yes" 1>&6 | 5012 echo "$ac_t""yes" 1>&6 |
5006 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 5013 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
5007 echo "configure:5008: checking for jpeg_destroy_compress in -ljpeg" >&5 | 5014 echo "configure:5015: checking for jpeg_destroy_compress in -ljpeg" >&5 |
5008 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 5015 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
5009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5010 echo $ac_n "(cached) $ac_c" 1>&6 | 5017 echo $ac_n "(cached) $ac_c" 1>&6 |
5011 else | 5018 else |
5012 ac_save_LIBS="$LIBS" | 5019 ac_save_LIBS="$LIBS" |
5013 LIBS="-ljpeg -lX11 $LIBS" | 5020 LIBS="-ljpeg -lX11 $LIBS" |
5014 cat > conftest.$ac_ext <<EOF | 5021 cat > conftest.$ac_ext <<EOF |
5015 #line 5016 "configure" | 5022 #line 5023 "configure" |
5016 #include "confdefs.h" | 5023 #include "confdefs.h" |
5017 /* Override any gcc2 internal prototype to avoid an error. */ | 5024 /* Override any gcc2 internal prototype to avoid an error. */ |
5018 /* We use char because int might match the return type of a gcc2 | 5025 /* We use char because int might match the return type of a gcc2 |
5019 builtin and then its argument prototype would still apply. */ | 5026 builtin and then its argument prototype would still apply. */ |
5020 char jpeg_destroy_compress(); | 5027 char jpeg_destroy_compress(); |
5021 | 5028 |
5022 int main() { | 5029 int main() { |
5023 jpeg_destroy_compress() | 5030 jpeg_destroy_compress() |
5024 ; return 0; } | 5031 ; return 0; } |
5025 EOF | 5032 EOF |
5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5027 rm -rf conftest* | 5034 rm -rf conftest* |
5028 eval "ac_cv_lib_$ac_lib_var=yes" | 5035 eval "ac_cv_lib_$ac_lib_var=yes" |
5029 else | 5036 else |
5030 echo "configure: failed program was:" >&5 | 5037 echo "configure: failed program was:" >&5 |
5031 cat conftest.$ac_ext >&5 | 5038 cat conftest.$ac_ext >&5 |
5064 if test "${with_png}" != "no"; then | 5071 if test "${with_png}" != "no"; then |
5065 old_c_flags="${CFLAGS}" | 5072 old_c_flags="${CFLAGS}" |
5066 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5073 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5067 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5074 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
5068 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5075 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
5069 echo "configure:5070: checking for png.h" >&5 | 5076 echo "configure:5077: checking for png.h" >&5 |
5070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5077 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5071 echo $ac_n "(cached) $ac_c" 1>&6 | 5078 echo $ac_n "(cached) $ac_c" 1>&6 |
5072 else | 5079 else |
5073 cat > conftest.$ac_ext <<EOF | 5080 cat > conftest.$ac_ext <<EOF |
5074 #line 5075 "configure" | 5081 #line 5082 "configure" |
5075 #include "confdefs.h" | 5082 #include "confdefs.h" |
5076 #include <png.h> | 5083 #include <png.h> |
5077 EOF | 5084 EOF |
5078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5079 { (eval echo configure:5080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5086 { (eval echo configure:5087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5081 if test -z "$ac_err"; then | 5088 if test -z "$ac_err"; then |
5082 rm -rf conftest* | 5089 rm -rf conftest* |
5083 eval "ac_cv_header_$ac_safe=yes" | 5090 eval "ac_cv_header_$ac_safe=yes" |
5084 else | 5091 else |
5091 rm -f conftest* | 5098 rm -f conftest* |
5092 fi | 5099 fi |
5093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5094 echo "$ac_t""yes" 1>&6 | 5101 echo "$ac_t""yes" 1>&6 |
5095 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 5102 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
5096 echo "configure:5097: checking for png_set_expand in -lpng" >&5 | 5103 echo "configure:5104: checking for png_set_expand in -lpng" >&5 |
5097 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 5104 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
5098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5105 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5099 echo $ac_n "(cached) $ac_c" 1>&6 | 5106 echo $ac_n "(cached) $ac_c" 1>&6 |
5100 else | 5107 else |
5101 ac_save_LIBS="$LIBS" | 5108 ac_save_LIBS="$LIBS" |
5102 LIBS="-lpng -lX11 -lz -lm $LIBS" | 5109 LIBS="-lpng -lX11 -lz -lm $LIBS" |
5103 cat > conftest.$ac_ext <<EOF | 5110 cat > conftest.$ac_ext <<EOF |
5104 #line 5105 "configure" | 5111 #line 5112 "configure" |
5105 #include "confdefs.h" | 5112 #include "confdefs.h" |
5106 /* Override any gcc2 internal prototype to avoid an error. */ | 5113 /* Override any gcc2 internal prototype to avoid an error. */ |
5107 /* We use char because int might match the return type of a gcc2 | 5114 /* We use char because int might match the return type of a gcc2 |
5108 builtin and then its argument prototype would still apply. */ | 5115 builtin and then its argument prototype would still apply. */ |
5109 char png_set_expand(); | 5116 char png_set_expand(); |
5110 | 5117 |
5111 int main() { | 5118 int main() { |
5112 png_set_expand() | 5119 png_set_expand() |
5113 ; return 0; } | 5120 ; return 0; } |
5114 EOF | 5121 EOF |
5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5116 rm -rf conftest* | 5123 rm -rf conftest* |
5117 eval "ac_cv_lib_$ac_lib_var=yes" | 5124 eval "ac_cv_lib_$ac_lib_var=yes" |
5118 else | 5125 else |
5119 echo "configure: failed program was:" >&5 | 5126 echo "configure: failed program was:" >&5 |
5120 cat conftest.$ac_ext >&5 | 5127 cat conftest.$ac_ext >&5 |
5153 if test "${with_tiff}" != "no"; then | 5160 if test "${with_tiff}" != "no"; then |
5154 old_c_flags="${CFLAGS}" | 5161 old_c_flags="${CFLAGS}" |
5155 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5162 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5156 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 5163 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
5157 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 5164 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
5158 echo "configure:5159: checking for tiffio.h" >&5 | 5165 echo "configure:5166: checking for tiffio.h" >&5 |
5159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5166 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5160 echo $ac_n "(cached) $ac_c" 1>&6 | 5167 echo $ac_n "(cached) $ac_c" 1>&6 |
5161 else | 5168 else |
5162 cat > conftest.$ac_ext <<EOF | 5169 cat > conftest.$ac_ext <<EOF |
5163 #line 5164 "configure" | 5170 #line 5171 "configure" |
5164 #include "confdefs.h" | 5171 #include "confdefs.h" |
5165 #include <tiffio.h> | 5172 #include <tiffio.h> |
5166 EOF | 5173 EOF |
5167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5168 { (eval echo configure:5169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5175 { (eval echo configure:5176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5170 if test -z "$ac_err"; then | 5177 if test -z "$ac_err"; then |
5171 rm -rf conftest* | 5178 rm -rf conftest* |
5172 eval "ac_cv_header_$ac_safe=yes" | 5179 eval "ac_cv_header_$ac_safe=yes" |
5173 else | 5180 else |
5183 echo "$ac_t""yes" 1>&6 | 5190 echo "$ac_t""yes" 1>&6 |
5184 tifflibs="-lX11 -lz -lm" | 5191 tifflibs="-lX11 -lz -lm" |
5185 # At least one tiff package requires the jpeg library. | 5192 # At least one tiff package requires the jpeg library. |
5186 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 5193 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
5187 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 5194 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
5188 echo "configure:5189: checking for TIFFGetVersion in -ltiff" >&5 | 5195 echo "configure:5196: checking for TIFFGetVersion in -ltiff" >&5 |
5189 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 5196 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
5190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5191 echo $ac_n "(cached) $ac_c" 1>&6 | 5198 echo $ac_n "(cached) $ac_c" 1>&6 |
5192 else | 5199 else |
5193 ac_save_LIBS="$LIBS" | 5200 ac_save_LIBS="$LIBS" |
5194 LIBS="-ltiff $tifflibs $LIBS" | 5201 LIBS="-ltiff $tifflibs $LIBS" |
5195 cat > conftest.$ac_ext <<EOF | 5202 cat > conftest.$ac_ext <<EOF |
5196 #line 5197 "configure" | 5203 #line 5204 "configure" |
5197 #include "confdefs.h" | 5204 #include "confdefs.h" |
5198 /* Override any gcc2 internal prototype to avoid an error. */ | 5205 /* Override any gcc2 internal prototype to avoid an error. */ |
5199 /* We use char because int might match the return type of a gcc2 | 5206 /* We use char because int might match the return type of a gcc2 |
5200 builtin and then its argument prototype would still apply. */ | 5207 builtin and then its argument prototype would still apply. */ |
5201 char TIFFGetVersion(); | 5208 char TIFFGetVersion(); |
5202 | 5209 |
5203 int main() { | 5210 int main() { |
5204 TIFFGetVersion() | 5211 TIFFGetVersion() |
5205 ; return 0; } | 5212 ; return 0; } |
5206 EOF | 5213 EOF |
5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5214 if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5208 rm -rf conftest* | 5215 rm -rf conftest* |
5209 eval "ac_cv_lib_$ac_lib_var=yes" | 5216 eval "ac_cv_lib_$ac_lib_var=yes" |
5210 else | 5217 else |
5211 echo "configure: failed program was:" >&5 | 5218 echo "configure: failed program was:" >&5 |
5212 cat conftest.$ac_ext >&5 | 5219 cat conftest.$ac_ext >&5 |
5245 if test "${with_gif}" != "no"; then | 5252 if test "${with_gif}" != "no"; then |
5246 old_c_flags="${CFLAGS}" | 5253 old_c_flags="${CFLAGS}" |
5247 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5254 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5248 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 5255 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
5249 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 5256 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
5250 echo "configure:5251: checking for gif_lib.h" >&5 | 5257 echo "configure:5258: checking for gif_lib.h" >&5 |
5251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5258 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5252 echo $ac_n "(cached) $ac_c" 1>&6 | 5259 echo $ac_n "(cached) $ac_c" 1>&6 |
5253 else | 5260 else |
5254 cat > conftest.$ac_ext <<EOF | 5261 cat > conftest.$ac_ext <<EOF |
5255 #line 5256 "configure" | 5262 #line 5263 "configure" |
5256 #include "confdefs.h" | 5263 #include "confdefs.h" |
5257 #include <gif_lib.h> | 5264 #include <gif_lib.h> |
5258 EOF | 5265 EOF |
5259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5260 { (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5267 { (eval echo configure:5268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5262 if test -z "$ac_err"; then | 5269 if test -z "$ac_err"; then |
5263 rm -rf conftest* | 5270 rm -rf conftest* |
5264 eval "ac_cv_header_$ac_safe=yes" | 5271 eval "ac_cv_header_$ac_safe=yes" |
5265 else | 5272 else |
5272 rm -f conftest* | 5279 rm -f conftest* |
5273 fi | 5280 fi |
5274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5281 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5275 echo "$ac_t""yes" 1>&6 | 5282 echo "$ac_t""yes" 1>&6 |
5276 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 5283 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
5277 echo "configure:5278: checking for DGifOpen in -lungif" >&5 | 5284 echo "configure:5285: checking for DGifOpen in -lungif" >&5 |
5278 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 5285 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
5279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5280 echo $ac_n "(cached) $ac_c" 1>&6 | 5287 echo $ac_n "(cached) $ac_c" 1>&6 |
5281 else | 5288 else |
5282 ac_save_LIBS="$LIBS" | 5289 ac_save_LIBS="$LIBS" |
5283 LIBS="-lungif -lX11 $LIBS" | 5290 LIBS="-lungif -lX11 $LIBS" |
5284 cat > conftest.$ac_ext <<EOF | 5291 cat > conftest.$ac_ext <<EOF |
5285 #line 5286 "configure" | 5292 #line 5293 "configure" |
5286 #include "confdefs.h" | 5293 #include "confdefs.h" |
5287 /* Override any gcc2 internal prototype to avoid an error. */ | 5294 /* Override any gcc2 internal prototype to avoid an error. */ |
5288 /* We use char because int might match the return type of a gcc2 | 5295 /* We use char because int might match the return type of a gcc2 |
5289 builtin and then its argument prototype would still apply. */ | 5296 builtin and then its argument prototype would still apply. */ |
5290 char DGifOpen(); | 5297 char DGifOpen(); |
5291 | 5298 |
5292 int main() { | 5299 int main() { |
5293 DGifOpen() | 5300 DGifOpen() |
5294 ; return 0; } | 5301 ; return 0; } |
5295 EOF | 5302 EOF |
5296 if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5297 rm -rf conftest* | 5304 rm -rf conftest* |
5298 eval "ac_cv_lib_$ac_lib_var=yes" | 5305 eval "ac_cv_lib_$ac_lib_var=yes" |
5299 else | 5306 else |
5300 echo "configure: failed program was:" >&5 | 5307 echo "configure: failed program was:" >&5 |
5301 cat conftest.$ac_ext >&5 | 5308 cat conftest.$ac_ext >&5 |
5328 fi | 5335 fi |
5329 fi | 5336 fi |
5330 | 5337 |
5331 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5338 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
5332 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5339 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
5333 echo "configure:5334: checking whether netdb declares h_errno" >&5 | 5340 echo "configure:5341: checking whether netdb declares h_errno" >&5 |
5334 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5341 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
5335 echo $ac_n "(cached) $ac_c" 1>&6 | 5342 echo $ac_n "(cached) $ac_c" 1>&6 |
5336 else | 5343 else |
5337 cat > conftest.$ac_ext <<EOF | 5344 cat > conftest.$ac_ext <<EOF |
5338 #line 5339 "configure" | 5345 #line 5346 "configure" |
5339 #include "confdefs.h" | 5346 #include "confdefs.h" |
5340 #include <netdb.h> | 5347 #include <netdb.h> |
5341 int main() { | 5348 int main() { |
5342 return h_errno; | 5349 return h_errno; |
5343 ; return 0; } | 5350 ; return 0; } |
5344 EOF | 5351 EOF |
5345 if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5352 if { (eval echo configure:5353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5346 rm -rf conftest* | 5353 rm -rf conftest* |
5347 emacs_cv_netdb_declares_h_errno=yes | 5354 emacs_cv_netdb_declares_h_errno=yes |
5348 else | 5355 else |
5349 echo "configure: failed program was:" >&5 | 5356 echo "configure: failed program was:" >&5 |
5350 cat conftest.$ac_ext >&5 | 5357 cat conftest.$ac_ext >&5 |
5363 fi | 5370 fi |
5364 | 5371 |
5365 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5372 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
5366 # for constant arguments. Useless! | 5373 # for constant arguments. Useless! |
5367 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5374 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
5368 echo "configure:5369: checking for working alloca.h" >&5 | 5375 echo "configure:5376: checking for working alloca.h" >&5 |
5369 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5376 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
5370 echo $ac_n "(cached) $ac_c" 1>&6 | 5377 echo $ac_n "(cached) $ac_c" 1>&6 |
5371 else | 5378 else |
5372 cat > conftest.$ac_ext <<EOF | 5379 cat > conftest.$ac_ext <<EOF |
5373 #line 5374 "configure" | 5380 #line 5381 "configure" |
5374 #include "confdefs.h" | 5381 #include "confdefs.h" |
5375 #include <alloca.h> | 5382 #include <alloca.h> |
5376 int main() { | 5383 int main() { |
5377 char *p = alloca(2 * sizeof(int)); | 5384 char *p = alloca(2 * sizeof(int)); |
5378 ; return 0; } | 5385 ; return 0; } |
5379 EOF | 5386 EOF |
5380 if { (eval echo configure:5381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5381 rm -rf conftest* | 5388 rm -rf conftest* |
5382 ac_cv_header_alloca_h=yes | 5389 ac_cv_header_alloca_h=yes |
5383 else | 5390 else |
5384 echo "configure: failed program was:" >&5 | 5391 echo "configure: failed program was:" >&5 |
5385 cat conftest.$ac_ext >&5 | 5392 cat conftest.$ac_ext >&5 |
5396 EOF | 5403 EOF |
5397 | 5404 |
5398 fi | 5405 fi |
5399 | 5406 |
5400 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5407 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
5401 echo "configure:5402: checking for alloca" >&5 | 5408 echo "configure:5409: checking for alloca" >&5 |
5402 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5409 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
5403 echo $ac_n "(cached) $ac_c" 1>&6 | 5410 echo $ac_n "(cached) $ac_c" 1>&6 |
5404 else | 5411 else |
5405 cat > conftest.$ac_ext <<EOF | 5412 cat > conftest.$ac_ext <<EOF |
5406 #line 5407 "configure" | 5413 #line 5414 "configure" |
5407 #include "confdefs.h" | 5414 #include "confdefs.h" |
5408 | 5415 |
5409 #ifdef __GNUC__ | 5416 #ifdef __GNUC__ |
5410 # define alloca __builtin_alloca | 5417 # define alloca __builtin_alloca |
5411 #else | 5418 #else |
5429 | 5436 |
5430 int main() { | 5437 int main() { |
5431 char *p = (char *) alloca(1); | 5438 char *p = (char *) alloca(1); |
5432 ; return 0; } | 5439 ; return 0; } |
5433 EOF | 5440 EOF |
5434 if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5441 if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5435 rm -rf conftest* | 5442 rm -rf conftest* |
5436 ac_cv_func_alloca_works=yes | 5443 ac_cv_func_alloca_works=yes |
5437 else | 5444 else |
5438 echo "configure: failed program was:" >&5 | 5445 echo "configure: failed program was:" >&5 |
5439 cat conftest.$ac_ext >&5 | 5446 cat conftest.$ac_ext >&5 |
5461 #define C_ALLOCA 1 | 5468 #define C_ALLOCA 1 |
5462 EOF | 5469 EOF |
5463 | 5470 |
5464 | 5471 |
5465 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5472 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5466 echo "configure:5467: checking whether alloca needs Cray hooks" >&5 | 5473 echo "configure:5474: checking whether alloca needs Cray hooks" >&5 |
5467 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5474 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5468 echo $ac_n "(cached) $ac_c" 1>&6 | 5475 echo $ac_n "(cached) $ac_c" 1>&6 |
5469 else | 5476 else |
5470 cat > conftest.$ac_ext <<EOF | 5477 cat > conftest.$ac_ext <<EOF |
5471 #line 5472 "configure" | 5478 #line 5479 "configure" |
5472 #include "confdefs.h" | 5479 #include "confdefs.h" |
5473 #if defined(CRAY) && ! defined(CRAY2) | 5480 #if defined(CRAY) && ! defined(CRAY2) |
5474 webecray | 5481 webecray |
5475 #else | 5482 #else |
5476 wenotbecray | 5483 wenotbecray |
5491 | 5498 |
5492 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5499 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5493 if test $ac_cv_os_cray = yes; then | 5500 if test $ac_cv_os_cray = yes; then |
5494 for ac_func in _getb67 GETB67 getb67; do | 5501 for ac_func in _getb67 GETB67 getb67; do |
5495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5496 echo "configure:5497: checking for $ac_func" >&5 | 5503 echo "configure:5504: checking for $ac_func" >&5 |
5497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5498 echo $ac_n "(cached) $ac_c" 1>&6 | 5505 echo $ac_n "(cached) $ac_c" 1>&6 |
5499 else | 5506 else |
5500 cat > conftest.$ac_ext <<EOF | 5507 cat > conftest.$ac_ext <<EOF |
5501 #line 5502 "configure" | 5508 #line 5509 "configure" |
5502 #include "confdefs.h" | 5509 #include "confdefs.h" |
5503 /* System header to define __stub macros and hopefully few prototypes, | 5510 /* System header to define __stub macros and hopefully few prototypes, |
5504 which can conflict with char $ac_func(); below. */ | 5511 which can conflict with char $ac_func(); below. */ |
5505 #include <assert.h> | 5512 #include <assert.h> |
5506 /* Override any gcc2 internal prototype to avoid an error. */ | 5513 /* Override any gcc2 internal prototype to avoid an error. */ |
5519 $ac_func(); | 5526 $ac_func(); |
5520 #endif | 5527 #endif |
5521 | 5528 |
5522 ; return 0; } | 5529 ; return 0; } |
5523 EOF | 5530 EOF |
5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5531 if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5525 rm -rf conftest* | 5532 rm -rf conftest* |
5526 eval "ac_cv_func_$ac_func=yes" | 5533 eval "ac_cv_func_$ac_func=yes" |
5527 else | 5534 else |
5528 echo "configure: failed program was:" >&5 | 5535 echo "configure: failed program was:" >&5 |
5529 cat conftest.$ac_ext >&5 | 5536 cat conftest.$ac_ext >&5 |
5546 | 5553 |
5547 done | 5554 done |
5548 fi | 5555 fi |
5549 | 5556 |
5550 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5557 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5551 echo "configure:5552: checking stack direction for C alloca" >&5 | 5558 echo "configure:5559: checking stack direction for C alloca" >&5 |
5552 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5559 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5553 echo $ac_n "(cached) $ac_c" 1>&6 | 5560 echo $ac_n "(cached) $ac_c" 1>&6 |
5554 else | 5561 else |
5555 if test "$cross_compiling" = yes; then | 5562 if test "$cross_compiling" = yes; then |
5556 ac_cv_c_stack_direction=0 | 5563 ac_cv_c_stack_direction=0 |
5557 else | 5564 else |
5558 cat > conftest.$ac_ext <<EOF | 5565 cat > conftest.$ac_ext <<EOF |
5559 #line 5560 "configure" | 5566 #line 5567 "configure" |
5560 #include "confdefs.h" | 5567 #include "confdefs.h" |
5561 find_stack_direction () | 5568 find_stack_direction () |
5562 { | 5569 { |
5563 static char *addr = 0; | 5570 static char *addr = 0; |
5564 auto char dummy; | 5571 auto char dummy; |
5573 main () | 5580 main () |
5574 { | 5581 { |
5575 exit (find_stack_direction() < 0); | 5582 exit (find_stack_direction() < 0); |
5576 } | 5583 } |
5577 EOF | 5584 EOF |
5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5579 then | 5586 then |
5580 ac_cv_c_stack_direction=1 | 5587 ac_cv_c_stack_direction=1 |
5581 else | 5588 else |
5582 echo "configure: failed program was:" >&5 | 5589 echo "configure: failed program was:" >&5 |
5583 cat conftest.$ac_ext >&5 | 5590 cat conftest.$ac_ext >&5 |
5598 | 5605 |
5599 | 5606 |
5600 # fmod, logb, and frexp are found in -lm on most systems. | 5607 # fmod, logb, and frexp are found in -lm on most systems. |
5601 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5608 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5602 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5609 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5603 echo "configure:5604: checking for sqrt in -lm" >&5 | 5610 echo "configure:5611: checking for sqrt in -lm" >&5 |
5604 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5611 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5612 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5606 echo $ac_n "(cached) $ac_c" 1>&6 | 5613 echo $ac_n "(cached) $ac_c" 1>&6 |
5607 else | 5614 else |
5608 ac_save_LIBS="$LIBS" | 5615 ac_save_LIBS="$LIBS" |
5609 LIBS="-lm $LIBS" | 5616 LIBS="-lm $LIBS" |
5610 cat > conftest.$ac_ext <<EOF | 5617 cat > conftest.$ac_ext <<EOF |
5611 #line 5612 "configure" | 5618 #line 5619 "configure" |
5612 #include "confdefs.h" | 5619 #include "confdefs.h" |
5613 /* Override any gcc2 internal prototype to avoid an error. */ | 5620 /* Override any gcc2 internal prototype to avoid an error. */ |
5614 /* We use char because int might match the return type of a gcc2 | 5621 /* We use char because int might match the return type of a gcc2 |
5615 builtin and then its argument prototype would still apply. */ | 5622 builtin and then its argument prototype would still apply. */ |
5616 char sqrt(); | 5623 char sqrt(); |
5617 | 5624 |
5618 int main() { | 5625 int main() { |
5619 sqrt() | 5626 sqrt() |
5620 ; return 0; } | 5627 ; return 0; } |
5621 EOF | 5628 EOF |
5622 if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5629 if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5623 rm -rf conftest* | 5630 rm -rf conftest* |
5624 eval "ac_cv_lib_$ac_lib_var=yes" | 5631 eval "ac_cv_lib_$ac_lib_var=yes" |
5625 else | 5632 else |
5626 echo "configure: failed program was:" >&5 | 5633 echo "configure: failed program was:" >&5 |
5627 cat conftest.$ac_ext >&5 | 5634 cat conftest.$ac_ext >&5 |
5647 fi | 5654 fi |
5648 | 5655 |
5649 | 5656 |
5650 # Check for mail-locking functions in a "mail" library | 5657 # Check for mail-locking functions in a "mail" library |
5651 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5658 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5652 echo "configure:5653: checking for maillock in -lmail" >&5 | 5659 echo "configure:5660: checking for maillock in -lmail" >&5 |
5653 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5660 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5654 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5655 echo $ac_n "(cached) $ac_c" 1>&6 | 5662 echo $ac_n "(cached) $ac_c" 1>&6 |
5656 else | 5663 else |
5657 ac_save_LIBS="$LIBS" | 5664 ac_save_LIBS="$LIBS" |
5658 LIBS="-lmail $LIBS" | 5665 LIBS="-lmail $LIBS" |
5659 cat > conftest.$ac_ext <<EOF | 5666 cat > conftest.$ac_ext <<EOF |
5660 #line 5661 "configure" | 5667 #line 5668 "configure" |
5661 #include "confdefs.h" | 5668 #include "confdefs.h" |
5662 /* Override any gcc2 internal prototype to avoid an error. */ | 5669 /* Override any gcc2 internal prototype to avoid an error. */ |
5663 /* We use char because int might match the return type of a gcc2 | 5670 /* We use char because int might match the return type of a gcc2 |
5664 builtin and then its argument prototype would still apply. */ | 5671 builtin and then its argument prototype would still apply. */ |
5665 char maillock(); | 5672 char maillock(); |
5666 | 5673 |
5667 int main() { | 5674 int main() { |
5668 maillock() | 5675 maillock() |
5669 ; return 0; } | 5676 ; return 0; } |
5670 EOF | 5677 EOF |
5671 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5672 rm -rf conftest* | 5679 rm -rf conftest* |
5673 eval "ac_cv_lib_$ac_lib_var=yes" | 5680 eval "ac_cv_lib_$ac_lib_var=yes" |
5674 else | 5681 else |
5675 echo "configure: failed program was:" >&5 | 5682 echo "configure: failed program was:" >&5 |
5676 cat conftest.$ac_ext >&5 | 5683 cat conftest.$ac_ext >&5 |
5694 else | 5701 else |
5695 echo "$ac_t""no" 1>&6 | 5702 echo "$ac_t""no" 1>&6 |
5696 fi | 5703 fi |
5697 | 5704 |
5698 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5705 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5699 echo "configure:5700: checking for maillock in -llockfile" >&5 | 5706 echo "configure:5707: checking for maillock in -llockfile" >&5 |
5700 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5707 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5702 echo $ac_n "(cached) $ac_c" 1>&6 | 5709 echo $ac_n "(cached) $ac_c" 1>&6 |
5703 else | 5710 else |
5704 ac_save_LIBS="$LIBS" | 5711 ac_save_LIBS="$LIBS" |
5705 LIBS="-llockfile $LIBS" | 5712 LIBS="-llockfile $LIBS" |
5706 cat > conftest.$ac_ext <<EOF | 5713 cat > conftest.$ac_ext <<EOF |
5707 #line 5708 "configure" | 5714 #line 5715 "configure" |
5708 #include "confdefs.h" | 5715 #include "confdefs.h" |
5709 /* Override any gcc2 internal prototype to avoid an error. */ | 5716 /* Override any gcc2 internal prototype to avoid an error. */ |
5710 /* We use char because int might match the return type of a gcc2 | 5717 /* We use char because int might match the return type of a gcc2 |
5711 builtin and then its argument prototype would still apply. */ | 5718 builtin and then its argument prototype would still apply. */ |
5712 char maillock(); | 5719 char maillock(); |
5713 | 5720 |
5714 int main() { | 5721 int main() { |
5715 maillock() | 5722 maillock() |
5716 ; return 0; } | 5723 ; return 0; } |
5717 EOF | 5724 EOF |
5718 if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5725 if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5719 rm -rf conftest* | 5726 rm -rf conftest* |
5720 eval "ac_cv_lib_$ac_lib_var=yes" | 5727 eval "ac_cv_lib_$ac_lib_var=yes" |
5721 else | 5728 else |
5722 echo "configure: failed program was:" >&5 | 5729 echo "configure: failed program was:" >&5 |
5723 cat conftest.$ac_ext >&5 | 5730 cat conftest.$ac_ext >&5 |
5747 # (no liblockfile.a installed), ensure that we don't need to. | 5754 # (no liblockfile.a installed), ensure that we don't need to. |
5748 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5755 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5749 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5756 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5750 set dummy liblockfile.so; ac_word=$2 | 5757 set dummy liblockfile.so; ac_word=$2 |
5751 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5758 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5752 echo "configure:5753: checking for $ac_word" >&5 | 5759 echo "configure:5760: checking for $ac_word" >&5 |
5753 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5760 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5754 echo $ac_n "(cached) $ac_c" 1>&6 | 5761 echo $ac_n "(cached) $ac_c" 1>&6 |
5755 else | 5762 else |
5756 if test -n "$liblockfile"; then | 5763 if test -n "$liblockfile"; then |
5757 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5764 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5788 else : | 5795 else : |
5789 fi | 5796 fi |
5790 for ac_func in touchlock | 5797 for ac_func in touchlock |
5791 do | 5798 do |
5792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5793 echo "configure:5794: checking for $ac_func" >&5 | 5800 echo "configure:5801: checking for $ac_func" >&5 |
5794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5795 echo $ac_n "(cached) $ac_c" 1>&6 | 5802 echo $ac_n "(cached) $ac_c" 1>&6 |
5796 else | 5803 else |
5797 cat > conftest.$ac_ext <<EOF | 5804 cat > conftest.$ac_ext <<EOF |
5798 #line 5799 "configure" | 5805 #line 5806 "configure" |
5799 #include "confdefs.h" | 5806 #include "confdefs.h" |
5800 /* System header to define __stub macros and hopefully few prototypes, | 5807 /* System header to define __stub macros and hopefully few prototypes, |
5801 which can conflict with char $ac_func(); below. */ | 5808 which can conflict with char $ac_func(); below. */ |
5802 #include <assert.h> | 5809 #include <assert.h> |
5803 /* Override any gcc2 internal prototype to avoid an error. */ | 5810 /* Override any gcc2 internal prototype to avoid an error. */ |
5816 $ac_func(); | 5823 $ac_func(); |
5817 #endif | 5824 #endif |
5818 | 5825 |
5819 ; return 0; } | 5826 ; return 0; } |
5820 EOF | 5827 EOF |
5821 if { (eval echo configure:5822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5828 if { (eval echo configure:5829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5822 rm -rf conftest* | 5829 rm -rf conftest* |
5823 eval "ac_cv_func_$ac_func=yes" | 5830 eval "ac_cv_func_$ac_func=yes" |
5824 else | 5831 else |
5825 echo "configure: failed program was:" >&5 | 5832 echo "configure: failed program was:" >&5 |
5826 cat conftest.$ac_ext >&5 | 5833 cat conftest.$ac_ext >&5 |
5844 | 5851 |
5845 for ac_hdr in maillock.h | 5852 for ac_hdr in maillock.h |
5846 do | 5853 do |
5847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5849 echo "configure:5850: checking for $ac_hdr" >&5 | 5856 echo "configure:5857: checking for $ac_hdr" >&5 |
5850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5857 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5851 echo $ac_n "(cached) $ac_c" 1>&6 | 5858 echo $ac_n "(cached) $ac_c" 1>&6 |
5852 else | 5859 else |
5853 cat > conftest.$ac_ext <<EOF | 5860 cat > conftest.$ac_ext <<EOF |
5854 #line 5855 "configure" | 5861 #line 5862 "configure" |
5855 #include "confdefs.h" | 5862 #include "confdefs.h" |
5856 #include <$ac_hdr> | 5863 #include <$ac_hdr> |
5857 EOF | 5864 EOF |
5858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5859 { (eval echo configure:5860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5866 { (eval echo configure:5867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5861 if test -z "$ac_err"; then | 5868 if test -z "$ac_err"; then |
5862 rm -rf conftest* | 5869 rm -rf conftest* |
5863 eval "ac_cv_header_$ac_safe=yes" | 5870 eval "ac_cv_header_$ac_safe=yes" |
5864 else | 5871 else |
5889 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5896 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5890 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 5897 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
5891 __fpending mblen mbrlen strsignal setitimer ualarm index rindex | 5898 __fpending mblen mbrlen strsignal setitimer ualarm index rindex |
5892 do | 5899 do |
5893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5894 echo "configure:5895: checking for $ac_func" >&5 | 5901 echo "configure:5902: checking for $ac_func" >&5 |
5895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5896 echo $ac_n "(cached) $ac_c" 1>&6 | 5903 echo $ac_n "(cached) $ac_c" 1>&6 |
5897 else | 5904 else |
5898 cat > conftest.$ac_ext <<EOF | 5905 cat > conftest.$ac_ext <<EOF |
5899 #line 5900 "configure" | 5906 #line 5907 "configure" |
5900 #include "confdefs.h" | 5907 #include "confdefs.h" |
5901 /* System header to define __stub macros and hopefully few prototypes, | 5908 /* System header to define __stub macros and hopefully few prototypes, |
5902 which can conflict with char $ac_func(); below. */ | 5909 which can conflict with char $ac_func(); below. */ |
5903 #include <assert.h> | 5910 #include <assert.h> |
5904 /* Override any gcc2 internal prototype to avoid an error. */ | 5911 /* Override any gcc2 internal prototype to avoid an error. */ |
5917 $ac_func(); | 5924 $ac_func(); |
5918 #endif | 5925 #endif |
5919 | 5926 |
5920 ; return 0; } | 5927 ; return 0; } |
5921 EOF | 5928 EOF |
5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5929 if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5923 rm -rf conftest* | 5930 rm -rf conftest* |
5924 eval "ac_cv_func_$ac_func=yes" | 5931 eval "ac_cv_func_$ac_func=yes" |
5925 else | 5932 else |
5926 echo "configure: failed program was:" >&5 | 5933 echo "configure: failed program was:" >&5 |
5927 cat conftest.$ac_ext >&5 | 5934 cat conftest.$ac_ext >&5 |
5946 | 5953 |
5947 for ac_hdr in sys/time.h unistd.h | 5954 for ac_hdr in sys/time.h unistd.h |
5948 do | 5955 do |
5949 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5956 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5950 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5957 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5951 echo "configure:5952: checking for $ac_hdr" >&5 | 5958 echo "configure:5959: checking for $ac_hdr" >&5 |
5952 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5953 echo $ac_n "(cached) $ac_c" 1>&6 | 5960 echo $ac_n "(cached) $ac_c" 1>&6 |
5954 else | 5961 else |
5955 cat > conftest.$ac_ext <<EOF | 5962 cat > conftest.$ac_ext <<EOF |
5956 #line 5957 "configure" | 5963 #line 5964 "configure" |
5957 #include "confdefs.h" | 5964 #include "confdefs.h" |
5958 #include <$ac_hdr> | 5965 #include <$ac_hdr> |
5959 EOF | 5966 EOF |
5960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5961 { (eval echo configure:5962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5968 { (eval echo configure:5969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5963 if test -z "$ac_err"; then | 5970 if test -z "$ac_err"; then |
5964 rm -rf conftest* | 5971 rm -rf conftest* |
5965 eval "ac_cv_header_$ac_safe=yes" | 5972 eval "ac_cv_header_$ac_safe=yes" |
5966 else | 5973 else |
5985 done | 5992 done |
5986 | 5993 |
5987 for ac_func in alarm | 5994 for ac_func in alarm |
5988 do | 5995 do |
5989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5990 echo "configure:5991: checking for $ac_func" >&5 | 5997 echo "configure:5998: checking for $ac_func" >&5 |
5991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5992 echo $ac_n "(cached) $ac_c" 1>&6 | 5999 echo $ac_n "(cached) $ac_c" 1>&6 |
5993 else | 6000 else |
5994 cat > conftest.$ac_ext <<EOF | 6001 cat > conftest.$ac_ext <<EOF |
5995 #line 5996 "configure" | 6002 #line 6003 "configure" |
5996 #include "confdefs.h" | 6003 #include "confdefs.h" |
5997 /* System header to define __stub macros and hopefully few prototypes, | 6004 /* System header to define __stub macros and hopefully few prototypes, |
5998 which can conflict with char $ac_func(); below. */ | 6005 which can conflict with char $ac_func(); below. */ |
5999 #include <assert.h> | 6006 #include <assert.h> |
6000 /* Override any gcc2 internal prototype to avoid an error. */ | 6007 /* Override any gcc2 internal prototype to avoid an error. */ |
6013 $ac_func(); | 6020 $ac_func(); |
6014 #endif | 6021 #endif |
6015 | 6022 |
6016 ; return 0; } | 6023 ; return 0; } |
6017 EOF | 6024 EOF |
6018 if { (eval echo configure:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6019 rm -rf conftest* | 6026 rm -rf conftest* |
6020 eval "ac_cv_func_$ac_func=yes" | 6027 eval "ac_cv_func_$ac_func=yes" |
6021 else | 6028 else |
6022 echo "configure: failed program was:" >&5 | 6029 echo "configure: failed program was:" >&5 |
6023 cat conftest.$ac_ext >&5 | 6030 cat conftest.$ac_ext >&5 |
6038 echo "$ac_t""no" 1>&6 | 6045 echo "$ac_t""no" 1>&6 |
6039 fi | 6046 fi |
6040 done | 6047 done |
6041 | 6048 |
6042 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 6049 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
6043 echo "configure:6044: checking for working mktime" >&5 | 6050 echo "configure:6051: checking for working mktime" >&5 |
6044 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 6051 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
6045 echo $ac_n "(cached) $ac_c" 1>&6 | 6052 echo $ac_n "(cached) $ac_c" 1>&6 |
6046 else | 6053 else |
6047 if test "$cross_compiling" = yes; then | 6054 if test "$cross_compiling" = yes; then |
6048 ac_cv_func_working_mktime=no | 6055 ac_cv_func_working_mktime=no |
6049 else | 6056 else |
6050 cat > conftest.$ac_ext <<EOF | 6057 cat > conftest.$ac_ext <<EOF |
6051 #line 6052 "configure" | 6058 #line 6059 "configure" |
6052 #include "confdefs.h" | 6059 #include "confdefs.h" |
6053 /* Test program from Paul Eggert (eggert@twinsun.com) | 6060 /* Test program from Paul Eggert (eggert@twinsun.com) |
6054 and Tony Leneis (tony@plaza.ds.adp.com). */ | 6061 and Tony Leneis (tony@plaza.ds.adp.com). */ |
6055 #if TIME_WITH_SYS_TIME | 6062 #if TIME_WITH_SYS_TIME |
6056 # include <sys/time.h> | 6063 # include <sys/time.h> |
6195 irix_6_4_bug (); | 6202 irix_6_4_bug (); |
6196 spring_forward_gap (); | 6203 spring_forward_gap (); |
6197 exit (0); | 6204 exit (0); |
6198 } | 6205 } |
6199 EOF | 6206 EOF |
6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6201 then | 6208 then |
6202 ac_cv_func_working_mktime=yes | 6209 ac_cv_func_working_mktime=yes |
6203 else | 6210 else |
6204 echo "configure: failed program was:" >&5 | 6211 echo "configure: failed program was:" >&5 |
6205 cat conftest.$ac_ext >&5 | 6212 cat conftest.$ac_ext >&5 |
6227 | 6234 |
6228 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 6235 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
6229 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 6236 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
6230 # to get the right answer into the cache. | 6237 # to get the right answer into the cache. |
6231 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 6238 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
6232 echo "configure:6233: checking for elf_begin in -lelf" >&5 | 6239 echo "configure:6240: checking for elf_begin in -lelf" >&5 |
6233 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 6240 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
6234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6235 echo $ac_n "(cached) $ac_c" 1>&6 | 6242 echo $ac_n "(cached) $ac_c" 1>&6 |
6236 else | 6243 else |
6237 ac_save_LIBS="$LIBS" | 6244 ac_save_LIBS="$LIBS" |
6238 LIBS="-lelf $LIBS" | 6245 LIBS="-lelf $LIBS" |
6239 cat > conftest.$ac_ext <<EOF | 6246 cat > conftest.$ac_ext <<EOF |
6240 #line 6241 "configure" | 6247 #line 6248 "configure" |
6241 #include "confdefs.h" | 6248 #include "confdefs.h" |
6242 /* Override any gcc2 internal prototype to avoid an error. */ | 6249 /* Override any gcc2 internal prototype to avoid an error. */ |
6243 /* We use char because int might match the return type of a gcc2 | 6250 /* We use char because int might match the return type of a gcc2 |
6244 builtin and then its argument prototype would still apply. */ | 6251 builtin and then its argument prototype would still apply. */ |
6245 char elf_begin(); | 6252 char elf_begin(); |
6246 | 6253 |
6247 int main() { | 6254 int main() { |
6248 elf_begin() | 6255 elf_begin() |
6249 ; return 0; } | 6256 ; return 0; } |
6250 EOF | 6257 EOF |
6251 if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6252 rm -rf conftest* | 6259 rm -rf conftest* |
6253 eval "ac_cv_lib_$ac_lib_var=yes" | 6260 eval "ac_cv_lib_$ac_lib_var=yes" |
6254 else | 6261 else |
6255 echo "configure: failed program was:" >&5 | 6262 echo "configure: failed program was:" >&5 |
6256 cat conftest.$ac_ext >&5 | 6263 cat conftest.$ac_ext >&5 |
6267 else | 6274 else |
6268 echo "$ac_t""no" 1>&6 | 6275 echo "$ac_t""no" 1>&6 |
6269 fi | 6276 fi |
6270 | 6277 |
6271 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
6272 echo "configure:6273: checking for kvm_open in -lkvm" >&5 | 6279 echo "configure:6280: checking for kvm_open in -lkvm" >&5 |
6273 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 6280 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
6274 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6275 echo $ac_n "(cached) $ac_c" 1>&6 | 6282 echo $ac_n "(cached) $ac_c" 1>&6 |
6276 else | 6283 else |
6277 ac_save_LIBS="$LIBS" | 6284 ac_save_LIBS="$LIBS" |
6278 LIBS="-lkvm $LIBS" | 6285 LIBS="-lkvm $LIBS" |
6279 cat > conftest.$ac_ext <<EOF | 6286 cat > conftest.$ac_ext <<EOF |
6280 #line 6281 "configure" | 6287 #line 6288 "configure" |
6281 #include "confdefs.h" | 6288 #include "confdefs.h" |
6282 /* Override any gcc2 internal prototype to avoid an error. */ | 6289 /* Override any gcc2 internal prototype to avoid an error. */ |
6283 /* We use char because int might match the return type of a gcc2 | 6290 /* We use char because int might match the return type of a gcc2 |
6284 builtin and then its argument prototype would still apply. */ | 6291 builtin and then its argument prototype would still apply. */ |
6285 char kvm_open(); | 6292 char kvm_open(); |
6286 | 6293 |
6287 int main() { | 6294 int main() { |
6288 kvm_open() | 6295 kvm_open() |
6289 ; return 0; } | 6296 ; return 0; } |
6290 EOF | 6297 EOF |
6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6292 rm -rf conftest* | 6299 rm -rf conftest* |
6293 eval "ac_cv_lib_$ac_lib_var=yes" | 6300 eval "ac_cv_lib_$ac_lib_var=yes" |
6294 else | 6301 else |
6295 echo "configure: failed program was:" >&5 | 6302 echo "configure: failed program was:" >&5 |
6296 cat conftest.$ac_ext >&5 | 6303 cat conftest.$ac_ext >&5 |
6308 echo "$ac_t""no" 1>&6 | 6315 echo "$ac_t""no" 1>&6 |
6309 fi | 6316 fi |
6310 | 6317 |
6311 # Check for the 4.4BSD definition of getloadavg. | 6318 # Check for the 4.4BSD definition of getloadavg. |
6312 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6319 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
6313 echo "configure:6314: checking for getloadavg in -lutil" >&5 | 6320 echo "configure:6321: checking for getloadavg in -lutil" >&5 |
6314 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6321 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
6315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6316 echo $ac_n "(cached) $ac_c" 1>&6 | 6323 echo $ac_n "(cached) $ac_c" 1>&6 |
6317 else | 6324 else |
6318 ac_save_LIBS="$LIBS" | 6325 ac_save_LIBS="$LIBS" |
6319 LIBS="-lutil $LIBS" | 6326 LIBS="-lutil $LIBS" |
6320 cat > conftest.$ac_ext <<EOF | 6327 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6328 #line 6329 "configure" |
6322 #include "confdefs.h" | 6329 #include "confdefs.h" |
6323 /* Override any gcc2 internal prototype to avoid an error. */ | 6330 /* Override any gcc2 internal prototype to avoid an error. */ |
6324 /* We use char because int might match the return type of a gcc2 | 6331 /* We use char because int might match the return type of a gcc2 |
6325 builtin and then its argument prototype would still apply. */ | 6332 builtin and then its argument prototype would still apply. */ |
6326 char getloadavg(); | 6333 char getloadavg(); |
6327 | 6334 |
6328 int main() { | 6335 int main() { |
6329 getloadavg() | 6336 getloadavg() |
6330 ; return 0; } | 6337 ; return 0; } |
6331 EOF | 6338 EOF |
6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6333 rm -rf conftest* | 6340 rm -rf conftest* |
6334 eval "ac_cv_lib_$ac_lib_var=yes" | 6341 eval "ac_cv_lib_$ac_lib_var=yes" |
6335 else | 6342 else |
6336 echo "configure: failed program was:" >&5 | 6343 echo "configure: failed program was:" >&5 |
6337 cat conftest.$ac_ext >&5 | 6344 cat conftest.$ac_ext >&5 |
6353 if test $ac_have_func = no; then | 6360 if test $ac_have_func = no; then |
6354 # There is a commonly available library for RS/6000 AIX. | 6361 # There is a commonly available library for RS/6000 AIX. |
6355 # Since it is not a standard part of AIX, it might be installed locally. | 6362 # Since it is not a standard part of AIX, it might be installed locally. |
6356 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6363 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
6357 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6364 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
6358 echo "configure:6359: checking for getloadavg in -lgetloadavg" >&5 | 6365 echo "configure:6366: checking for getloadavg in -lgetloadavg" >&5 |
6359 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6366 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
6360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6361 echo $ac_n "(cached) $ac_c" 1>&6 | 6368 echo $ac_n "(cached) $ac_c" 1>&6 |
6362 else | 6369 else |
6363 ac_save_LIBS="$LIBS" | 6370 ac_save_LIBS="$LIBS" |
6364 LIBS="-lgetloadavg $LIBS" | 6371 LIBS="-lgetloadavg $LIBS" |
6365 cat > conftest.$ac_ext <<EOF | 6372 cat > conftest.$ac_ext <<EOF |
6366 #line 6367 "configure" | 6373 #line 6374 "configure" |
6367 #include "confdefs.h" | 6374 #include "confdefs.h" |
6368 /* Override any gcc2 internal prototype to avoid an error. */ | 6375 /* Override any gcc2 internal prototype to avoid an error. */ |
6369 /* We use char because int might match the return type of a gcc2 | 6376 /* We use char because int might match the return type of a gcc2 |
6370 builtin and then its argument prototype would still apply. */ | 6377 builtin and then its argument prototype would still apply. */ |
6371 char getloadavg(); | 6378 char getloadavg(); |
6372 | 6379 |
6373 int main() { | 6380 int main() { |
6374 getloadavg() | 6381 getloadavg() |
6375 ; return 0; } | 6382 ; return 0; } |
6376 EOF | 6383 EOF |
6377 if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6378 rm -rf conftest* | 6385 rm -rf conftest* |
6379 eval "ac_cv_lib_$ac_lib_var=yes" | 6386 eval "ac_cv_lib_$ac_lib_var=yes" |
6380 else | 6387 else |
6381 echo "configure: failed program was:" >&5 | 6388 echo "configure: failed program was:" >&5 |
6382 cat conftest.$ac_ext >&5 | 6389 cat conftest.$ac_ext >&5 |
6399 | 6406 |
6400 # Make sure it is really in the library, if we think we found it. | 6407 # Make sure it is really in the library, if we think we found it. |
6401 for ac_func in getloadavg | 6408 for ac_func in getloadavg |
6402 do | 6409 do |
6403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6404 echo "configure:6405: checking for $ac_func" >&5 | 6411 echo "configure:6412: checking for $ac_func" >&5 |
6405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6406 echo $ac_n "(cached) $ac_c" 1>&6 | 6413 echo $ac_n "(cached) $ac_c" 1>&6 |
6407 else | 6414 else |
6408 cat > conftest.$ac_ext <<EOF | 6415 cat > conftest.$ac_ext <<EOF |
6409 #line 6410 "configure" | 6416 #line 6417 "configure" |
6410 #include "confdefs.h" | 6417 #include "confdefs.h" |
6411 /* System header to define __stub macros and hopefully few prototypes, | 6418 /* System header to define __stub macros and hopefully few prototypes, |
6412 which can conflict with char $ac_func(); below. */ | 6419 which can conflict with char $ac_func(); below. */ |
6413 #include <assert.h> | 6420 #include <assert.h> |
6414 /* Override any gcc2 internal prototype to avoid an error. */ | 6421 /* Override any gcc2 internal prototype to avoid an error. */ |
6427 $ac_func(); | 6434 $ac_func(); |
6428 #endif | 6435 #endif |
6429 | 6436 |
6430 ; return 0; } | 6437 ; return 0; } |
6431 EOF | 6438 EOF |
6432 if { (eval echo configure:6433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6439 if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6433 rm -rf conftest* | 6440 rm -rf conftest* |
6434 eval "ac_cv_func_$ac_func=yes" | 6441 eval "ac_cv_func_$ac_func=yes" |
6435 else | 6442 else |
6436 echo "configure: failed program was:" >&5 | 6443 echo "configure: failed program was:" >&5 |
6437 cat conftest.$ac_ext >&5 | 6444 cat conftest.$ac_ext >&5 |
6465 else | 6472 else |
6466 # Figure out what our getloadavg.c needs. | 6473 # Figure out what our getloadavg.c needs. |
6467 ac_have_func=no | 6474 ac_have_func=no |
6468 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6475 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
6469 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6476 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
6470 echo "configure:6471: checking for sys/dg_sys_info.h" >&5 | 6477 echo "configure:6478: checking for sys/dg_sys_info.h" >&5 |
6471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6472 echo $ac_n "(cached) $ac_c" 1>&6 | 6479 echo $ac_n "(cached) $ac_c" 1>&6 |
6473 else | 6480 else |
6474 cat > conftest.$ac_ext <<EOF | 6481 cat > conftest.$ac_ext <<EOF |
6475 #line 6476 "configure" | 6482 #line 6483 "configure" |
6476 #include "confdefs.h" | 6483 #include "confdefs.h" |
6477 #include <sys/dg_sys_info.h> | 6484 #include <sys/dg_sys_info.h> |
6478 EOF | 6485 EOF |
6479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6480 { (eval echo configure:6481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6487 { (eval echo configure:6488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6482 if test -z "$ac_err"; then | 6489 if test -z "$ac_err"; then |
6483 rm -rf conftest* | 6490 rm -rf conftest* |
6484 eval "ac_cv_header_$ac_safe=yes" | 6491 eval "ac_cv_header_$ac_safe=yes" |
6485 else | 6492 else |
6496 ac_have_func=yes; cat >> confdefs.h <<\EOF | 6503 ac_have_func=yes; cat >> confdefs.h <<\EOF |
6497 #define DGUX 1 | 6504 #define DGUX 1 |
6498 EOF | 6505 EOF |
6499 | 6506 |
6500 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6507 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
6501 echo "configure:6502: checking for dg_sys_info in -ldgc" >&5 | 6508 echo "configure:6509: checking for dg_sys_info in -ldgc" >&5 |
6502 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6509 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
6503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6504 echo $ac_n "(cached) $ac_c" 1>&6 | 6511 echo $ac_n "(cached) $ac_c" 1>&6 |
6505 else | 6512 else |
6506 ac_save_LIBS="$LIBS" | 6513 ac_save_LIBS="$LIBS" |
6507 LIBS="-ldgc $LIBS" | 6514 LIBS="-ldgc $LIBS" |
6508 cat > conftest.$ac_ext <<EOF | 6515 cat > conftest.$ac_ext <<EOF |
6509 #line 6510 "configure" | 6516 #line 6517 "configure" |
6510 #include "confdefs.h" | 6517 #include "confdefs.h" |
6511 /* Override any gcc2 internal prototype to avoid an error. */ | 6518 /* Override any gcc2 internal prototype to avoid an error. */ |
6512 /* We use char because int might match the return type of a gcc2 | 6519 /* We use char because int might match the return type of a gcc2 |
6513 builtin and then its argument prototype would still apply. */ | 6520 builtin and then its argument prototype would still apply. */ |
6514 char dg_sys_info(); | 6521 char dg_sys_info(); |
6515 | 6522 |
6516 int main() { | 6523 int main() { |
6517 dg_sys_info() | 6524 dg_sys_info() |
6518 ; return 0; } | 6525 ; return 0; } |
6519 EOF | 6526 EOF |
6520 if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6521 rm -rf conftest* | 6528 rm -rf conftest* |
6522 eval "ac_cv_lib_$ac_lib_var=yes" | 6529 eval "ac_cv_lib_$ac_lib_var=yes" |
6523 else | 6530 else |
6524 echo "configure: failed program was:" >&5 | 6531 echo "configure: failed program was:" >&5 |
6525 cat conftest.$ac_ext >&5 | 6532 cat conftest.$ac_ext >&5 |
6560 fi | 6567 fi |
6561 | 6568 |
6562 if test $ac_have_func = no; then | 6569 if test $ac_have_func = no; then |
6563 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6570 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
6564 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6571 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
6565 echo "configure:6566: checking for inq_stats/cpustats.h" >&5 | 6572 echo "configure:6573: checking for inq_stats/cpustats.h" >&5 |
6566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6573 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6567 echo $ac_n "(cached) $ac_c" 1>&6 | 6574 echo $ac_n "(cached) $ac_c" 1>&6 |
6568 else | 6575 else |
6569 cat > conftest.$ac_ext <<EOF | 6576 cat > conftest.$ac_ext <<EOF |
6570 #line 6571 "configure" | 6577 #line 6578 "configure" |
6571 #include "confdefs.h" | 6578 #include "confdefs.h" |
6572 #include <inq_stats/cpustats.h> | 6579 #include <inq_stats/cpustats.h> |
6573 EOF | 6580 EOF |
6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6582 { (eval echo configure:6583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6577 if test -z "$ac_err"; then | 6584 if test -z "$ac_err"; then |
6578 rm -rf conftest* | 6585 rm -rf conftest* |
6579 eval "ac_cv_header_$ac_safe=yes" | 6586 eval "ac_cv_header_$ac_safe=yes" |
6580 else | 6587 else |
6603 fi | 6610 fi |
6604 | 6611 |
6605 if test $ac_have_func = no; then | 6612 if test $ac_have_func = no; then |
6606 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6613 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
6607 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6614 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
6608 echo "configure:6609: checking for sys/cpustats.h" >&5 | 6615 echo "configure:6616: checking for sys/cpustats.h" >&5 |
6609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6610 echo $ac_n "(cached) $ac_c" 1>&6 | 6617 echo $ac_n "(cached) $ac_c" 1>&6 |
6611 else | 6618 else |
6612 cat > conftest.$ac_ext <<EOF | 6619 cat > conftest.$ac_ext <<EOF |
6613 #line 6614 "configure" | 6620 #line 6621 "configure" |
6614 #include "confdefs.h" | 6621 #include "confdefs.h" |
6615 #include <sys/cpustats.h> | 6622 #include <sys/cpustats.h> |
6616 EOF | 6623 EOF |
6617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6618 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6625 { (eval echo configure:6626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6620 if test -z "$ac_err"; then | 6627 if test -z "$ac_err"; then |
6621 rm -rf conftest* | 6628 rm -rf conftest* |
6622 eval "ac_cv_header_$ac_safe=yes" | 6629 eval "ac_cv_header_$ac_safe=yes" |
6623 else | 6630 else |
6644 if test $ac_have_func = no; then | 6651 if test $ac_have_func = no; then |
6645 for ac_hdr in mach/mach.h | 6652 for ac_hdr in mach/mach.h |
6646 do | 6653 do |
6647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6649 echo "configure:6650: checking for $ac_hdr" >&5 | 6656 echo "configure:6657: checking for $ac_hdr" >&5 |
6650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6651 echo $ac_n "(cached) $ac_c" 1>&6 | 6658 echo $ac_n "(cached) $ac_c" 1>&6 |
6652 else | 6659 else |
6653 cat > conftest.$ac_ext <<EOF | 6660 cat > conftest.$ac_ext <<EOF |
6654 #line 6655 "configure" | 6661 #line 6662 "configure" |
6655 #include "confdefs.h" | 6662 #include "confdefs.h" |
6656 #include <$ac_hdr> | 6663 #include <$ac_hdr> |
6657 EOF | 6664 EOF |
6658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6659 { (eval echo configure:6660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6666 { (eval echo configure:6667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6661 if test -z "$ac_err"; then | 6668 if test -z "$ac_err"; then |
6662 rm -rf conftest* | 6669 rm -rf conftest* |
6663 eval "ac_cv_header_$ac_safe=yes" | 6670 eval "ac_cv_header_$ac_safe=yes" |
6664 else | 6671 else |
6684 | 6691 |
6685 fi | 6692 fi |
6686 | 6693 |
6687 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6694 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
6688 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6695 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
6689 echo "configure:6690: checking for nlist.h" >&5 | 6696 echo "configure:6697: checking for nlist.h" >&5 |
6690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6691 echo $ac_n "(cached) $ac_c" 1>&6 | 6698 echo $ac_n "(cached) $ac_c" 1>&6 |
6692 else | 6699 else |
6693 cat > conftest.$ac_ext <<EOF | 6700 cat > conftest.$ac_ext <<EOF |
6694 #line 6695 "configure" | 6701 #line 6702 "configure" |
6695 #include "confdefs.h" | 6702 #include "confdefs.h" |
6696 #include <nlist.h> | 6703 #include <nlist.h> |
6697 EOF | 6704 EOF |
6698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6699 { (eval echo configure:6700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6706 { (eval echo configure:6707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6701 if test -z "$ac_err"; then | 6708 if test -z "$ac_err"; then |
6702 rm -rf conftest* | 6709 rm -rf conftest* |
6703 eval "ac_cv_header_$ac_safe=yes" | 6710 eval "ac_cv_header_$ac_safe=yes" |
6704 else | 6711 else |
6715 cat >> confdefs.h <<\EOF | 6722 cat >> confdefs.h <<\EOF |
6716 #define NLIST_STRUCT 1 | 6723 #define NLIST_STRUCT 1 |
6717 EOF | 6724 EOF |
6718 | 6725 |
6719 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 6726 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
6720 echo "configure:6721: checking for n_un in struct nlist" >&5 | 6727 echo "configure:6728: checking for n_un in struct nlist" >&5 |
6721 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 6728 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
6722 echo $ac_n "(cached) $ac_c" 1>&6 | 6729 echo $ac_n "(cached) $ac_c" 1>&6 |
6723 else | 6730 else |
6724 cat > conftest.$ac_ext <<EOF | 6731 cat > conftest.$ac_ext <<EOF |
6725 #line 6726 "configure" | 6732 #line 6733 "configure" |
6726 #include "confdefs.h" | 6733 #include "confdefs.h" |
6727 #include <nlist.h> | 6734 #include <nlist.h> |
6728 int main() { | 6735 int main() { |
6729 struct nlist n; n.n_un.n_name = 0; | 6736 struct nlist n; n.n_un.n_name = 0; |
6730 ; return 0; } | 6737 ; return 0; } |
6731 EOF | 6738 EOF |
6732 if { (eval echo configure:6733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6739 if { (eval echo configure:6740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6733 rm -rf conftest* | 6740 rm -rf conftest* |
6734 ac_cv_struct_nlist_n_un=yes | 6741 ac_cv_struct_nlist_n_un=yes |
6735 else | 6742 else |
6736 echo "configure: failed program was:" >&5 | 6743 echo "configure: failed program was:" >&5 |
6737 cat conftest.$ac_ext >&5 | 6744 cat conftest.$ac_ext >&5 |
6754 fi | 6761 fi |
6755 fi # Do not have getloadavg in system libraries. | 6762 fi # Do not have getloadavg in system libraries. |
6756 | 6763 |
6757 # Some definitions of getloadavg require that the program be installed setgid. | 6764 # Some definitions of getloadavg require that the program be installed setgid. |
6758 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 6765 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
6759 echo "configure:6760: checking whether getloadavg requires setgid" >&5 | 6766 echo "configure:6767: checking whether getloadavg requires setgid" >&5 |
6760 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 6767 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
6761 echo $ac_n "(cached) $ac_c" 1>&6 | 6768 echo $ac_n "(cached) $ac_c" 1>&6 |
6762 else | 6769 else |
6763 cat > conftest.$ac_ext <<EOF | 6770 cat > conftest.$ac_ext <<EOF |
6764 #line 6765 "configure" | 6771 #line 6772 "configure" |
6765 #include "confdefs.h" | 6772 #include "confdefs.h" |
6766 #include "$srcdir/getloadavg.c" | 6773 #include "$srcdir/getloadavg.c" |
6767 #ifdef LDAV_PRIVILEGED | 6774 #ifdef LDAV_PRIVILEGED |
6768 Yowza Am I SETGID yet | 6775 Yowza Am I SETGID yet |
6769 #endif | 6776 #endif |
6790 NEED_SETGID=false | 6797 NEED_SETGID=false |
6791 fi | 6798 fi |
6792 | 6799 |
6793 if test $ac_cv_func_getloadavg_setgid = yes; then | 6800 if test $ac_cv_func_getloadavg_setgid = yes; then |
6794 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 6801 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
6795 echo "configure:6796: checking group of /dev/kmem" >&5 | 6802 echo "configure:6803: checking group of /dev/kmem" >&5 |
6796 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 6803 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
6797 echo $ac_n "(cached) $ac_c" 1>&6 | 6804 echo $ac_n "(cached) $ac_c" 1>&6 |
6798 else | 6805 else |
6799 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 6806 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
6800 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 6807 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
6813 | 6820 |
6814 | 6821 |
6815 for ac_func in ftello | 6822 for ac_func in ftello |
6816 do | 6823 do |
6817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6818 echo "configure:6819: checking for $ac_func" >&5 | 6825 echo "configure:6826: checking for $ac_func" >&5 |
6819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6820 echo $ac_n "(cached) $ac_c" 1>&6 | 6827 echo $ac_n "(cached) $ac_c" 1>&6 |
6821 else | 6828 else |
6822 cat > conftest.$ac_ext <<EOF | 6829 cat > conftest.$ac_ext <<EOF |
6823 #line 6824 "configure" | 6830 #line 6831 "configure" |
6824 #include "confdefs.h" | 6831 #include "confdefs.h" |
6825 /* System header to define __stub macros and hopefully few prototypes, | 6832 /* System header to define __stub macros and hopefully few prototypes, |
6826 which can conflict with char $ac_func(); below. */ | 6833 which can conflict with char $ac_func(); below. */ |
6827 #include <assert.h> | 6834 #include <assert.h> |
6828 /* Override any gcc2 internal prototype to avoid an error. */ | 6835 /* Override any gcc2 internal prototype to avoid an error. */ |
6841 $ac_func(); | 6848 $ac_func(); |
6842 #endif | 6849 #endif |
6843 | 6850 |
6844 ; return 0; } | 6851 ; return 0; } |
6845 EOF | 6852 EOF |
6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6853 if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6847 rm -rf conftest* | 6854 rm -rf conftest* |
6848 eval "ac_cv_func_$ac_func=yes" | 6855 eval "ac_cv_func_$ac_func=yes" |
6849 else | 6856 else |
6850 echo "configure: failed program was:" >&5 | 6857 echo "configure: failed program was:" >&5 |
6851 cat conftest.$ac_ext >&5 | 6858 cat conftest.$ac_ext >&5 |
6871 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE | 6878 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE |
6872 # if we need it. | 6879 # if we need it. |
6873 for ac_func in grantpt | 6880 for ac_func in grantpt |
6874 do | 6881 do |
6875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6876 echo "configure:6877: checking for $ac_func" >&5 | 6883 echo "configure:6884: checking for $ac_func" >&5 |
6877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6878 echo $ac_n "(cached) $ac_c" 1>&6 | 6885 echo $ac_n "(cached) $ac_c" 1>&6 |
6879 else | 6886 else |
6880 cat > conftest.$ac_ext <<EOF | 6887 cat > conftest.$ac_ext <<EOF |
6881 #line 6882 "configure" | 6888 #line 6889 "configure" |
6882 #include "confdefs.h" | 6889 #include "confdefs.h" |
6883 /* System header to define __stub macros and hopefully few prototypes, | 6890 /* System header to define __stub macros and hopefully few prototypes, |
6884 which can conflict with char $ac_func(); below. */ | 6891 which can conflict with char $ac_func(); below. */ |
6885 #include <assert.h> | 6892 #include <assert.h> |
6886 /* Override any gcc2 internal prototype to avoid an error. */ | 6893 /* Override any gcc2 internal prototype to avoid an error. */ |
6899 $ac_func(); | 6906 $ac_func(); |
6900 #endif | 6907 #endif |
6901 | 6908 |
6902 ; return 0; } | 6909 ; return 0; } |
6903 EOF | 6910 EOF |
6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6911 if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6905 rm -rf conftest* | 6912 rm -rf conftest* |
6906 eval "ac_cv_func_$ac_func=yes" | 6913 eval "ac_cv_func_$ac_func=yes" |
6907 else | 6914 else |
6908 echo "configure: failed program was:" >&5 | 6915 echo "configure: failed program was:" >&5 |
6909 cat conftest.$ac_ext >&5 | 6916 cat conftest.$ac_ext >&5 |
6928 | 6935 |
6929 # PTY-related GNU extensions. | 6936 # PTY-related GNU extensions. |
6930 for ac_func in getpt | 6937 for ac_func in getpt |
6931 do | 6938 do |
6932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6933 echo "configure:6934: checking for $ac_func" >&5 | 6940 echo "configure:6941: checking for $ac_func" >&5 |
6934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6935 echo $ac_n "(cached) $ac_c" 1>&6 | 6942 echo $ac_n "(cached) $ac_c" 1>&6 |
6936 else | 6943 else |
6937 cat > conftest.$ac_ext <<EOF | 6944 cat > conftest.$ac_ext <<EOF |
6938 #line 6939 "configure" | 6945 #line 6946 "configure" |
6939 #include "confdefs.h" | 6946 #include "confdefs.h" |
6940 /* System header to define __stub macros and hopefully few prototypes, | 6947 /* System header to define __stub macros and hopefully few prototypes, |
6941 which can conflict with char $ac_func(); below. */ | 6948 which can conflict with char $ac_func(); below. */ |
6942 #include <assert.h> | 6949 #include <assert.h> |
6943 /* Override any gcc2 internal prototype to avoid an error. */ | 6950 /* Override any gcc2 internal prototype to avoid an error. */ |
6956 $ac_func(); | 6963 $ac_func(); |
6957 #endif | 6964 #endif |
6958 | 6965 |
6959 ; return 0; } | 6966 ; return 0; } |
6960 EOF | 6967 EOF |
6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6962 rm -rf conftest* | 6969 rm -rf conftest* |
6963 eval "ac_cv_func_$ac_func=yes" | 6970 eval "ac_cv_func_$ac_func=yes" |
6964 else | 6971 else |
6965 echo "configure: failed program was:" >&5 | 6972 echo "configure: failed program was:" >&5 |
6966 cat conftest.$ac_ext >&5 | 6973 cat conftest.$ac_ext >&5 |
6986 # Check this now, so that we will NOT find the above functions in ncurses. | 6993 # Check this now, so that we will NOT find the above functions in ncurses. |
6987 # That is because we have not set up to link ncurses in lib-src. | 6994 # That is because we have not set up to link ncurses in lib-src. |
6988 # It's better to believe a function is not available | 6995 # It's better to believe a function is not available |
6989 # than to expect to find it in ncurses. | 6996 # than to expect to find it in ncurses. |
6990 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 6997 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
6991 echo "configure:6992: checking for tparm in -lncurses" >&5 | 6998 echo "configure:6999: checking for tparm in -lncurses" >&5 |
6992 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 6999 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
6993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6994 echo $ac_n "(cached) $ac_c" 1>&6 | 7001 echo $ac_n "(cached) $ac_c" 1>&6 |
6995 else | 7002 else |
6996 ac_save_LIBS="$LIBS" | 7003 ac_save_LIBS="$LIBS" |
6997 LIBS="-lncurses $LIBS" | 7004 LIBS="-lncurses $LIBS" |
6998 cat > conftest.$ac_ext <<EOF | 7005 cat > conftest.$ac_ext <<EOF |
6999 #line 7000 "configure" | 7006 #line 7007 "configure" |
7000 #include "confdefs.h" | 7007 #include "confdefs.h" |
7001 /* Override any gcc2 internal prototype to avoid an error. */ | 7008 /* Override any gcc2 internal prototype to avoid an error. */ |
7002 /* We use char because int might match the return type of a gcc2 | 7009 /* We use char because int might match the return type of a gcc2 |
7003 builtin and then its argument prototype would still apply. */ | 7010 builtin and then its argument prototype would still apply. */ |
7004 char tparm(); | 7011 char tparm(); |
7005 | 7012 |
7006 int main() { | 7013 int main() { |
7007 tparm() | 7014 tparm() |
7008 ; return 0; } | 7015 ; return 0; } |
7009 EOF | 7016 EOF |
7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7017 if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7011 rm -rf conftest* | 7018 rm -rf conftest* |
7012 eval "ac_cv_lib_$ac_lib_var=yes" | 7019 eval "ac_cv_lib_$ac_lib_var=yes" |
7013 else | 7020 else |
7014 echo "configure: failed program was:" >&5 | 7021 echo "configure: failed program was:" >&5 |
7015 cat conftest.$ac_ext >&5 | 7022 cat conftest.$ac_ext >&5 |
7036 | 7043 |
7037 | 7044 |
7038 # These tell us which Kerberos-related libraries to use. | 7045 # These tell us which Kerberos-related libraries to use. |
7039 if test "${with_kerberos+set}" = set; then | 7046 if test "${with_kerberos+set}" = set; then |
7040 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7047 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
7041 echo "configure:7042: checking for com_err in -lcom_err" >&5 | 7048 echo "configure:7049: checking for com_err in -lcom_err" >&5 |
7042 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7049 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
7043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7044 echo $ac_n "(cached) $ac_c" 1>&6 | 7051 echo $ac_n "(cached) $ac_c" 1>&6 |
7045 else | 7052 else |
7046 ac_save_LIBS="$LIBS" | 7053 ac_save_LIBS="$LIBS" |
7047 LIBS="-lcom_err $LIBS" | 7054 LIBS="-lcom_err $LIBS" |
7048 cat > conftest.$ac_ext <<EOF | 7055 cat > conftest.$ac_ext <<EOF |
7049 #line 7050 "configure" | 7056 #line 7057 "configure" |
7050 #include "confdefs.h" | 7057 #include "confdefs.h" |
7051 /* Override any gcc2 internal prototype to avoid an error. */ | 7058 /* Override any gcc2 internal prototype to avoid an error. */ |
7052 /* We use char because int might match the return type of a gcc2 | 7059 /* We use char because int might match the return type of a gcc2 |
7053 builtin and then its argument prototype would still apply. */ | 7060 builtin and then its argument prototype would still apply. */ |
7054 char com_err(); | 7061 char com_err(); |
7055 | 7062 |
7056 int main() { | 7063 int main() { |
7057 com_err() | 7064 com_err() |
7058 ; return 0; } | 7065 ; return 0; } |
7059 EOF | 7066 EOF |
7060 if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7067 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7061 rm -rf conftest* | 7068 rm -rf conftest* |
7062 eval "ac_cv_lib_$ac_lib_var=yes" | 7069 eval "ac_cv_lib_$ac_lib_var=yes" |
7063 else | 7070 else |
7064 echo "configure: failed program was:" >&5 | 7071 echo "configure: failed program was:" >&5 |
7065 cat conftest.$ac_ext >&5 | 7072 cat conftest.$ac_ext >&5 |
7083 else | 7090 else |
7084 echo "$ac_t""no" 1>&6 | 7091 echo "$ac_t""no" 1>&6 |
7085 fi | 7092 fi |
7086 | 7093 |
7087 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7094 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
7088 echo "configure:7089: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7095 echo "configure:7096: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
7089 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7096 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7091 echo $ac_n "(cached) $ac_c" 1>&6 | 7098 echo $ac_n "(cached) $ac_c" 1>&6 |
7092 else | 7099 else |
7093 ac_save_LIBS="$LIBS" | 7100 ac_save_LIBS="$LIBS" |
7094 LIBS="-lk5crypto $LIBS" | 7101 LIBS="-lk5crypto $LIBS" |
7095 cat > conftest.$ac_ext <<EOF | 7102 cat > conftest.$ac_ext <<EOF |
7096 #line 7097 "configure" | 7103 #line 7104 "configure" |
7097 #include "confdefs.h" | 7104 #include "confdefs.h" |
7098 /* Override any gcc2 internal prototype to avoid an error. */ | 7105 /* Override any gcc2 internal prototype to avoid an error. */ |
7099 /* We use char because int might match the return type of a gcc2 | 7106 /* We use char because int might match the return type of a gcc2 |
7100 builtin and then its argument prototype would still apply. */ | 7107 builtin and then its argument prototype would still apply. */ |
7101 char mit_des_cbc_encrypt(); | 7108 char mit_des_cbc_encrypt(); |
7102 | 7109 |
7103 int main() { | 7110 int main() { |
7104 mit_des_cbc_encrypt() | 7111 mit_des_cbc_encrypt() |
7105 ; return 0; } | 7112 ; return 0; } |
7106 EOF | 7113 EOF |
7107 if { (eval echo configure:7108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7108 rm -rf conftest* | 7115 rm -rf conftest* |
7109 eval "ac_cv_lib_$ac_lib_var=yes" | 7116 eval "ac_cv_lib_$ac_lib_var=yes" |
7110 else | 7117 else |
7111 echo "configure: failed program was:" >&5 | 7118 echo "configure: failed program was:" >&5 |
7112 cat conftest.$ac_ext >&5 | 7119 cat conftest.$ac_ext >&5 |
7130 else | 7137 else |
7131 echo "$ac_t""no" 1>&6 | 7138 echo "$ac_t""no" 1>&6 |
7132 fi | 7139 fi |
7133 | 7140 |
7134 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7141 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
7135 echo "configure:7136: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7142 echo "configure:7143: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
7136 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7143 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7144 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7138 echo $ac_n "(cached) $ac_c" 1>&6 | 7145 echo $ac_n "(cached) $ac_c" 1>&6 |
7139 else | 7146 else |
7140 ac_save_LIBS="$LIBS" | 7147 ac_save_LIBS="$LIBS" |
7141 LIBS="-lcrypto $LIBS" | 7148 LIBS="-lcrypto $LIBS" |
7142 cat > conftest.$ac_ext <<EOF | 7149 cat > conftest.$ac_ext <<EOF |
7143 #line 7144 "configure" | 7150 #line 7151 "configure" |
7144 #include "confdefs.h" | 7151 #include "confdefs.h" |
7145 /* Override any gcc2 internal prototype to avoid an error. */ | 7152 /* Override any gcc2 internal prototype to avoid an error. */ |
7146 /* We use char because int might match the return type of a gcc2 | 7153 /* We use char because int might match the return type of a gcc2 |
7147 builtin and then its argument prototype would still apply. */ | 7154 builtin and then its argument prototype would still apply. */ |
7148 char mit_des_cbc_encrypt(); | 7155 char mit_des_cbc_encrypt(); |
7149 | 7156 |
7150 int main() { | 7157 int main() { |
7151 mit_des_cbc_encrypt() | 7158 mit_des_cbc_encrypt() |
7152 ; return 0; } | 7159 ; return 0; } |
7153 EOF | 7160 EOF |
7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7155 rm -rf conftest* | 7162 rm -rf conftest* |
7156 eval "ac_cv_lib_$ac_lib_var=yes" | 7163 eval "ac_cv_lib_$ac_lib_var=yes" |
7157 else | 7164 else |
7158 echo "configure: failed program was:" >&5 | 7165 echo "configure: failed program was:" >&5 |
7159 cat conftest.$ac_ext >&5 | 7166 cat conftest.$ac_ext >&5 |
7177 else | 7184 else |
7178 echo "$ac_t""no" 1>&6 | 7185 echo "$ac_t""no" 1>&6 |
7179 fi | 7186 fi |
7180 | 7187 |
7181 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7188 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
7182 echo "configure:7183: checking for krb5_init_context in -lkrb5" >&5 | 7189 echo "configure:7190: checking for krb5_init_context in -lkrb5" >&5 |
7183 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7190 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
7184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7185 echo $ac_n "(cached) $ac_c" 1>&6 | 7192 echo $ac_n "(cached) $ac_c" 1>&6 |
7186 else | 7193 else |
7187 ac_save_LIBS="$LIBS" | 7194 ac_save_LIBS="$LIBS" |
7188 LIBS="-lkrb5 $LIBS" | 7195 LIBS="-lkrb5 $LIBS" |
7189 cat > conftest.$ac_ext <<EOF | 7196 cat > conftest.$ac_ext <<EOF |
7190 #line 7191 "configure" | 7197 #line 7198 "configure" |
7191 #include "confdefs.h" | 7198 #include "confdefs.h" |
7192 /* Override any gcc2 internal prototype to avoid an error. */ | 7199 /* Override any gcc2 internal prototype to avoid an error. */ |
7193 /* We use char because int might match the return type of a gcc2 | 7200 /* We use char because int might match the return type of a gcc2 |
7194 builtin and then its argument prototype would still apply. */ | 7201 builtin and then its argument prototype would still apply. */ |
7195 char krb5_init_context(); | 7202 char krb5_init_context(); |
7196 | 7203 |
7197 int main() { | 7204 int main() { |
7198 krb5_init_context() | 7205 krb5_init_context() |
7199 ; return 0; } | 7206 ; return 0; } |
7200 EOF | 7207 EOF |
7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7208 if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7202 rm -rf conftest* | 7209 rm -rf conftest* |
7203 eval "ac_cv_lib_$ac_lib_var=yes" | 7210 eval "ac_cv_lib_$ac_lib_var=yes" |
7204 else | 7211 else |
7205 echo "configure: failed program was:" >&5 | 7212 echo "configure: failed program was:" >&5 |
7206 cat conftest.$ac_ext >&5 | 7213 cat conftest.$ac_ext >&5 |
7225 echo "$ac_t""no" 1>&6 | 7232 echo "$ac_t""no" 1>&6 |
7226 fi | 7233 fi |
7227 | 7234 |
7228 if test "${with_kerberos5+set}" != set; then | 7235 if test "${with_kerberos5+set}" != set; then |
7229 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7236 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
7230 echo "configure:7231: checking for des_cbc_encrypt in -ldes425" >&5 | 7237 echo "configure:7238: checking for des_cbc_encrypt in -ldes425" >&5 |
7231 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7238 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7233 echo $ac_n "(cached) $ac_c" 1>&6 | 7240 echo $ac_n "(cached) $ac_c" 1>&6 |
7234 else | 7241 else |
7235 ac_save_LIBS="$LIBS" | 7242 ac_save_LIBS="$LIBS" |
7236 LIBS="-ldes425 $LIBS" | 7243 LIBS="-ldes425 $LIBS" |
7237 cat > conftest.$ac_ext <<EOF | 7244 cat > conftest.$ac_ext <<EOF |
7238 #line 7239 "configure" | 7245 #line 7246 "configure" |
7239 #include "confdefs.h" | 7246 #include "confdefs.h" |
7240 /* Override any gcc2 internal prototype to avoid an error. */ | 7247 /* Override any gcc2 internal prototype to avoid an error. */ |
7241 /* We use char because int might match the return type of a gcc2 | 7248 /* We use char because int might match the return type of a gcc2 |
7242 builtin and then its argument prototype would still apply. */ | 7249 builtin and then its argument prototype would still apply. */ |
7243 char des_cbc_encrypt(); | 7250 char des_cbc_encrypt(); |
7244 | 7251 |
7245 int main() { | 7252 int main() { |
7246 des_cbc_encrypt() | 7253 des_cbc_encrypt() |
7247 ; return 0; } | 7254 ; return 0; } |
7248 EOF | 7255 EOF |
7249 if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7256 if { (eval echo configure:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7250 rm -rf conftest* | 7257 rm -rf conftest* |
7251 eval "ac_cv_lib_$ac_lib_var=yes" | 7258 eval "ac_cv_lib_$ac_lib_var=yes" |
7252 else | 7259 else |
7253 echo "configure: failed program was:" >&5 | 7260 echo "configure: failed program was:" >&5 |
7254 cat conftest.$ac_ext >&5 | 7261 cat conftest.$ac_ext >&5 |
7270 LIBS="-ldes425 $LIBS" | 7277 LIBS="-ldes425 $LIBS" |
7271 | 7278 |
7272 else | 7279 else |
7273 echo "$ac_t""no" 1>&6 | 7280 echo "$ac_t""no" 1>&6 |
7274 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7281 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
7275 echo "configure:7276: checking for des_cbc_encrypt in -ldes" >&5 | 7282 echo "configure:7283: checking for des_cbc_encrypt in -ldes" >&5 |
7276 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7283 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7278 echo $ac_n "(cached) $ac_c" 1>&6 | 7285 echo $ac_n "(cached) $ac_c" 1>&6 |
7279 else | 7286 else |
7280 ac_save_LIBS="$LIBS" | 7287 ac_save_LIBS="$LIBS" |
7281 LIBS="-ldes $LIBS" | 7288 LIBS="-ldes $LIBS" |
7282 cat > conftest.$ac_ext <<EOF | 7289 cat > conftest.$ac_ext <<EOF |
7283 #line 7284 "configure" | 7290 #line 7291 "configure" |
7284 #include "confdefs.h" | 7291 #include "confdefs.h" |
7285 /* Override any gcc2 internal prototype to avoid an error. */ | 7292 /* Override any gcc2 internal prototype to avoid an error. */ |
7286 /* We use char because int might match the return type of a gcc2 | 7293 /* We use char because int might match the return type of a gcc2 |
7287 builtin and then its argument prototype would still apply. */ | 7294 builtin and then its argument prototype would still apply. */ |
7288 char des_cbc_encrypt(); | 7295 char des_cbc_encrypt(); |
7289 | 7296 |
7290 int main() { | 7297 int main() { |
7291 des_cbc_encrypt() | 7298 des_cbc_encrypt() |
7292 ; return 0; } | 7299 ; return 0; } |
7293 EOF | 7300 EOF |
7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7301 if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7295 rm -rf conftest* | 7302 rm -rf conftest* |
7296 eval "ac_cv_lib_$ac_lib_var=yes" | 7303 eval "ac_cv_lib_$ac_lib_var=yes" |
7297 else | 7304 else |
7298 echo "configure: failed program was:" >&5 | 7305 echo "configure: failed program was:" >&5 |
7299 cat conftest.$ac_ext >&5 | 7306 cat conftest.$ac_ext >&5 |
7319 fi | 7326 fi |
7320 | 7327 |
7321 fi | 7328 fi |
7322 | 7329 |
7323 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7330 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
7324 echo "configure:7325: checking for krb_get_cred in -lkrb4" >&5 | 7331 echo "configure:7332: checking for krb_get_cred in -lkrb4" >&5 |
7325 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7332 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7327 echo $ac_n "(cached) $ac_c" 1>&6 | 7334 echo $ac_n "(cached) $ac_c" 1>&6 |
7328 else | 7335 else |
7329 ac_save_LIBS="$LIBS" | 7336 ac_save_LIBS="$LIBS" |
7330 LIBS="-lkrb4 $LIBS" | 7337 LIBS="-lkrb4 $LIBS" |
7331 cat > conftest.$ac_ext <<EOF | 7338 cat > conftest.$ac_ext <<EOF |
7332 #line 7333 "configure" | 7339 #line 7340 "configure" |
7333 #include "confdefs.h" | 7340 #include "confdefs.h" |
7334 /* Override any gcc2 internal prototype to avoid an error. */ | 7341 /* Override any gcc2 internal prototype to avoid an error. */ |
7335 /* We use char because int might match the return type of a gcc2 | 7342 /* We use char because int might match the return type of a gcc2 |
7336 builtin and then its argument prototype would still apply. */ | 7343 builtin and then its argument prototype would still apply. */ |
7337 char krb_get_cred(); | 7344 char krb_get_cred(); |
7338 | 7345 |
7339 int main() { | 7346 int main() { |
7340 krb_get_cred() | 7347 krb_get_cred() |
7341 ; return 0; } | 7348 ; return 0; } |
7342 EOF | 7349 EOF |
7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7350 if { (eval echo configure:7351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7344 rm -rf conftest* | 7351 rm -rf conftest* |
7345 eval "ac_cv_lib_$ac_lib_var=yes" | 7352 eval "ac_cv_lib_$ac_lib_var=yes" |
7346 else | 7353 else |
7347 echo "configure: failed program was:" >&5 | 7354 echo "configure: failed program was:" >&5 |
7348 cat conftest.$ac_ext >&5 | 7355 cat conftest.$ac_ext >&5 |
7364 LIBS="-lkrb4 $LIBS" | 7371 LIBS="-lkrb4 $LIBS" |
7365 | 7372 |
7366 else | 7373 else |
7367 echo "$ac_t""no" 1>&6 | 7374 echo "$ac_t""no" 1>&6 |
7368 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7375 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
7369 echo "configure:7370: checking for krb_get_cred in -lkrb" >&5 | 7376 echo "configure:7377: checking for krb_get_cred in -lkrb" >&5 |
7370 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7377 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7371 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7378 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7372 echo $ac_n "(cached) $ac_c" 1>&6 | 7379 echo $ac_n "(cached) $ac_c" 1>&6 |
7373 else | 7380 else |
7374 ac_save_LIBS="$LIBS" | 7381 ac_save_LIBS="$LIBS" |
7375 LIBS="-lkrb $LIBS" | 7382 LIBS="-lkrb $LIBS" |
7376 cat > conftest.$ac_ext <<EOF | 7383 cat > conftest.$ac_ext <<EOF |
7377 #line 7378 "configure" | 7384 #line 7385 "configure" |
7378 #include "confdefs.h" | 7385 #include "confdefs.h" |
7379 /* Override any gcc2 internal prototype to avoid an error. */ | 7386 /* Override any gcc2 internal prototype to avoid an error. */ |
7380 /* We use char because int might match the return type of a gcc2 | 7387 /* We use char because int might match the return type of a gcc2 |
7381 builtin and then its argument prototype would still apply. */ | 7388 builtin and then its argument prototype would still apply. */ |
7382 char krb_get_cred(); | 7389 char krb_get_cred(); |
7383 | 7390 |
7384 int main() { | 7391 int main() { |
7385 krb_get_cred() | 7392 krb_get_cred() |
7386 ; return 0; } | 7393 ; return 0; } |
7387 EOF | 7394 EOF |
7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7389 rm -rf conftest* | 7396 rm -rf conftest* |
7390 eval "ac_cv_lib_$ac_lib_var=yes" | 7397 eval "ac_cv_lib_$ac_lib_var=yes" |
7391 else | 7398 else |
7392 echo "configure: failed program was:" >&5 | 7399 echo "configure: failed program was:" >&5 |
7393 cat conftest.$ac_ext >&5 | 7400 cat conftest.$ac_ext >&5 |
7419 if test "${with_kerberos5+set}" = set; then | 7426 if test "${with_kerberos5+set}" = set; then |
7420 for ac_hdr in krb5.h | 7427 for ac_hdr in krb5.h |
7421 do | 7428 do |
7422 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7429 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7430 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7424 echo "configure:7425: checking for $ac_hdr" >&5 | 7431 echo "configure:7432: checking for $ac_hdr" >&5 |
7425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7426 echo $ac_n "(cached) $ac_c" 1>&6 | 7433 echo $ac_n "(cached) $ac_c" 1>&6 |
7427 else | 7434 else |
7428 cat > conftest.$ac_ext <<EOF | 7435 cat > conftest.$ac_ext <<EOF |
7429 #line 7430 "configure" | 7436 #line 7437 "configure" |
7430 #include "confdefs.h" | 7437 #include "confdefs.h" |
7431 #include <$ac_hdr> | 7438 #include <$ac_hdr> |
7432 EOF | 7439 EOF |
7433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7434 { (eval echo configure:7435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7441 { (eval echo configure:7442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7436 if test -z "$ac_err"; then | 7443 if test -z "$ac_err"; then |
7437 rm -rf conftest* | 7444 rm -rf conftest* |
7438 eval "ac_cv_header_$ac_safe=yes" | 7445 eval "ac_cv_header_$ac_safe=yes" |
7439 else | 7446 else |
7460 else | 7467 else |
7461 for ac_hdr in des.h | 7468 for ac_hdr in des.h |
7462 do | 7469 do |
7463 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7464 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7465 echo "configure:7466: checking for $ac_hdr" >&5 | 7472 echo "configure:7473: checking for $ac_hdr" >&5 |
7466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7467 echo $ac_n "(cached) $ac_c" 1>&6 | 7474 echo $ac_n "(cached) $ac_c" 1>&6 |
7468 else | 7475 else |
7469 cat > conftest.$ac_ext <<EOF | 7476 cat > conftest.$ac_ext <<EOF |
7470 #line 7471 "configure" | 7477 #line 7478 "configure" |
7471 #include "confdefs.h" | 7478 #include "confdefs.h" |
7472 #include <$ac_hdr> | 7479 #include <$ac_hdr> |
7473 EOF | 7480 EOF |
7474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7475 { (eval echo configure:7476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7482 { (eval echo configure:7483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7477 if test -z "$ac_err"; then | 7484 if test -z "$ac_err"; then |
7478 rm -rf conftest* | 7485 rm -rf conftest* |
7479 eval "ac_cv_header_$ac_safe=yes" | 7486 eval "ac_cv_header_$ac_safe=yes" |
7480 else | 7487 else |
7497 echo "$ac_t""no" 1>&6 | 7504 echo "$ac_t""no" 1>&6 |
7498 for ac_hdr in kerberosIV/des.h | 7505 for ac_hdr in kerberosIV/des.h |
7499 do | 7506 do |
7500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7507 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7508 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7502 echo "configure:7503: checking for $ac_hdr" >&5 | 7509 echo "configure:7510: checking for $ac_hdr" >&5 |
7503 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7510 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7504 echo $ac_n "(cached) $ac_c" 1>&6 | 7511 echo $ac_n "(cached) $ac_c" 1>&6 |
7505 else | 7512 else |
7506 cat > conftest.$ac_ext <<EOF | 7513 cat > conftest.$ac_ext <<EOF |
7507 #line 7508 "configure" | 7514 #line 7515 "configure" |
7508 #include "confdefs.h" | 7515 #include "confdefs.h" |
7509 #include <$ac_hdr> | 7516 #include <$ac_hdr> |
7510 EOF | 7517 EOF |
7511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7512 { (eval echo configure:7513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7519 { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7514 if test -z "$ac_err"; then | 7521 if test -z "$ac_err"; then |
7515 rm -rf conftest* | 7522 rm -rf conftest* |
7516 eval "ac_cv_header_$ac_safe=yes" | 7523 eval "ac_cv_header_$ac_safe=yes" |
7517 else | 7524 else |
7534 echo "$ac_t""no" 1>&6 | 7541 echo "$ac_t""no" 1>&6 |
7535 for ac_hdr in kerberos/des.h | 7542 for ac_hdr in kerberos/des.h |
7536 do | 7543 do |
7537 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7544 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7538 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7545 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7539 echo "configure:7540: checking for $ac_hdr" >&5 | 7546 echo "configure:7547: checking for $ac_hdr" >&5 |
7540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7547 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7541 echo $ac_n "(cached) $ac_c" 1>&6 | 7548 echo $ac_n "(cached) $ac_c" 1>&6 |
7542 else | 7549 else |
7543 cat > conftest.$ac_ext <<EOF | 7550 cat > conftest.$ac_ext <<EOF |
7544 #line 7545 "configure" | 7551 #line 7552 "configure" |
7545 #include "confdefs.h" | 7552 #include "confdefs.h" |
7546 #include <$ac_hdr> | 7553 #include <$ac_hdr> |
7547 EOF | 7554 EOF |
7548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7549 { (eval echo configure:7550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7556 { (eval echo configure:7557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7551 if test -z "$ac_err"; then | 7558 if test -z "$ac_err"; then |
7552 rm -rf conftest* | 7559 rm -rf conftest* |
7553 eval "ac_cv_header_$ac_safe=yes" | 7560 eval "ac_cv_header_$ac_safe=yes" |
7554 else | 7561 else |
7580 | 7587 |
7581 for ac_hdr in krb.h | 7588 for ac_hdr in krb.h |
7582 do | 7589 do |
7583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7585 echo "configure:7586: checking for $ac_hdr" >&5 | 7592 echo "configure:7593: checking for $ac_hdr" >&5 |
7586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7587 echo $ac_n "(cached) $ac_c" 1>&6 | 7594 echo $ac_n "(cached) $ac_c" 1>&6 |
7588 else | 7595 else |
7589 cat > conftest.$ac_ext <<EOF | 7596 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7597 #line 7598 "configure" |
7591 #include "confdefs.h" | 7598 #include "confdefs.h" |
7592 #include <$ac_hdr> | 7599 #include <$ac_hdr> |
7593 EOF | 7600 EOF |
7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7602 { (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7597 if test -z "$ac_err"; then | 7604 if test -z "$ac_err"; then |
7598 rm -rf conftest* | 7605 rm -rf conftest* |
7599 eval "ac_cv_header_$ac_safe=yes" | 7606 eval "ac_cv_header_$ac_safe=yes" |
7600 else | 7607 else |
7617 echo "$ac_t""no" 1>&6 | 7624 echo "$ac_t""no" 1>&6 |
7618 for ac_hdr in kerberosIV/krb.h | 7625 for ac_hdr in kerberosIV/krb.h |
7619 do | 7626 do |
7620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7627 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7628 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7622 echo "configure:7623: checking for $ac_hdr" >&5 | 7629 echo "configure:7630: checking for $ac_hdr" >&5 |
7623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7630 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7624 echo $ac_n "(cached) $ac_c" 1>&6 | 7631 echo $ac_n "(cached) $ac_c" 1>&6 |
7625 else | 7632 else |
7626 cat > conftest.$ac_ext <<EOF | 7633 cat > conftest.$ac_ext <<EOF |
7627 #line 7628 "configure" | 7634 #line 7635 "configure" |
7628 #include "confdefs.h" | 7635 #include "confdefs.h" |
7629 #include <$ac_hdr> | 7636 #include <$ac_hdr> |
7630 EOF | 7637 EOF |
7631 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" |
7632 { (eval echo configure:7633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7639 { (eval echo configure:7640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7634 if test -z "$ac_err"; then | 7641 if test -z "$ac_err"; then |
7635 rm -rf conftest* | 7642 rm -rf conftest* |
7636 eval "ac_cv_header_$ac_safe=yes" | 7643 eval "ac_cv_header_$ac_safe=yes" |
7637 else | 7644 else |
7654 echo "$ac_t""no" 1>&6 | 7661 echo "$ac_t""no" 1>&6 |
7655 for ac_hdr in kerberos/krb.h | 7662 for ac_hdr in kerberos/krb.h |
7656 do | 7663 do |
7657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7664 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7665 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7659 echo "configure:7660: checking for $ac_hdr" >&5 | 7666 echo "configure:7667: checking for $ac_hdr" >&5 |
7660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7661 echo $ac_n "(cached) $ac_c" 1>&6 | 7668 echo $ac_n "(cached) $ac_c" 1>&6 |
7662 else | 7669 else |
7663 cat > conftest.$ac_ext <<EOF | 7670 cat > conftest.$ac_ext <<EOF |
7664 #line 7665 "configure" | 7671 #line 7672 "configure" |
7665 #include "confdefs.h" | 7672 #include "confdefs.h" |
7666 #include <$ac_hdr> | 7673 #include <$ac_hdr> |
7667 EOF | 7674 EOF |
7668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7669 { (eval echo configure:7670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7676 { (eval echo configure:7677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7671 if test -z "$ac_err"; then | 7678 if test -z "$ac_err"; then |
7672 rm -rf conftest* | 7679 rm -rf conftest* |
7673 eval "ac_cv_header_$ac_safe=yes" | 7680 eval "ac_cv_header_$ac_safe=yes" |
7674 else | 7681 else |
7701 fi | 7708 fi |
7702 for ac_hdr in com_err.h | 7709 for ac_hdr in com_err.h |
7703 do | 7710 do |
7704 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7706 echo "configure:7707: checking for $ac_hdr" >&5 | 7713 echo "configure:7714: checking for $ac_hdr" >&5 |
7707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7714 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7708 echo $ac_n "(cached) $ac_c" 1>&6 | 7715 echo $ac_n "(cached) $ac_c" 1>&6 |
7709 else | 7716 else |
7710 cat > conftest.$ac_ext <<EOF | 7717 cat > conftest.$ac_ext <<EOF |
7711 #line 7712 "configure" | 7718 #line 7719 "configure" |
7712 #include "confdefs.h" | 7719 #include "confdefs.h" |
7713 #include <$ac_hdr> | 7720 #include <$ac_hdr> |
7714 EOF | 7721 EOF |
7715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7716 { (eval echo configure:7717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7723 { (eval echo configure:7724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7718 if test -z "$ac_err"; then | 7725 if test -z "$ac_err"; then |
7719 rm -rf conftest* | 7726 rm -rf conftest* |
7720 eval "ac_cv_header_$ac_safe=yes" | 7727 eval "ac_cv_header_$ac_safe=yes" |
7721 else | 7728 else |
7742 fi | 7749 fi |
7743 | 7750 |
7744 # Solaris requires -lintl if you want strerror (which calls dgettext) | 7751 # Solaris requires -lintl if you want strerror (which calls dgettext) |
7745 # to return localized messages. | 7752 # to return localized messages. |
7746 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 7753 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
7747 echo "configure:7748: checking for dgettext in -lintl" >&5 | 7754 echo "configure:7755: checking for dgettext in -lintl" >&5 |
7748 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 7755 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
7749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7756 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7750 echo $ac_n "(cached) $ac_c" 1>&6 | 7757 echo $ac_n "(cached) $ac_c" 1>&6 |
7751 else | 7758 else |
7752 ac_save_LIBS="$LIBS" | 7759 ac_save_LIBS="$LIBS" |
7753 LIBS="-lintl $LIBS" | 7760 LIBS="-lintl $LIBS" |
7754 cat > conftest.$ac_ext <<EOF | 7761 cat > conftest.$ac_ext <<EOF |
7755 #line 7756 "configure" | 7762 #line 7763 "configure" |
7756 #include "confdefs.h" | 7763 #include "confdefs.h" |
7757 /* Override any gcc2 internal prototype to avoid an error. */ | 7764 /* Override any gcc2 internal prototype to avoid an error. */ |
7758 /* We use char because int might match the return type of a gcc2 | 7765 /* We use char because int might match the return type of a gcc2 |
7759 builtin and then its argument prototype would still apply. */ | 7766 builtin and then its argument prototype would still apply. */ |
7760 char dgettext(); | 7767 char dgettext(); |
7761 | 7768 |
7762 int main() { | 7769 int main() { |
7763 dgettext() | 7770 dgettext() |
7764 ; return 0; } | 7771 ; return 0; } |
7765 EOF | 7772 EOF |
7766 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7767 rm -rf conftest* | 7774 rm -rf conftest* |
7768 eval "ac_cv_lib_$ac_lib_var=yes" | 7775 eval "ac_cv_lib_$ac_lib_var=yes" |
7769 else | 7776 else |
7770 echo "configure: failed program was:" >&5 | 7777 echo "configure: failed program was:" >&5 |
7771 cat conftest.$ac_ext >&5 | 7778 cat conftest.$ac_ext >&5 |
7790 echo "$ac_t""no" 1>&6 | 7797 echo "$ac_t""no" 1>&6 |
7791 fi | 7798 fi |
7792 | 7799 |
7793 | 7800 |
7794 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7801 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7795 echo "configure:7796: checking whether localtime caches TZ" >&5 | 7802 echo "configure:7803: checking whether localtime caches TZ" >&5 |
7796 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 7803 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
7797 echo $ac_n "(cached) $ac_c" 1>&6 | 7804 echo $ac_n "(cached) $ac_c" 1>&6 |
7798 else | 7805 else |
7799 if test x$ac_cv_func_tzset = xyes; then | 7806 if test x$ac_cv_func_tzset = xyes; then |
7800 if test "$cross_compiling" = yes; then | 7807 if test "$cross_compiling" = yes; then |
7801 # If we have tzset, assume the worst when cross-compiling. | 7808 # If we have tzset, assume the worst when cross-compiling. |
7802 emacs_cv_localtime_cache=yes | 7809 emacs_cv_localtime_cache=yes |
7803 else | 7810 else |
7804 cat > conftest.$ac_ext <<EOF | 7811 cat > conftest.$ac_ext <<EOF |
7805 #line 7806 "configure" | 7812 #line 7813 "configure" |
7806 #include "confdefs.h" | 7813 #include "confdefs.h" |
7807 #include <time.h> | 7814 #include <time.h> |
7808 extern char **environ; | 7815 extern char **environ; |
7809 unset_TZ () | 7816 unset_TZ () |
7810 { | 7817 { |
7832 if (localtime (&now)->tm_hour != hour_unset) | 7839 if (localtime (&now)->tm_hour != hour_unset) |
7833 exit (1); | 7840 exit (1); |
7834 exit (0); | 7841 exit (0); |
7835 } | 7842 } |
7836 EOF | 7843 EOF |
7837 if { (eval echo configure:7838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7844 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7838 then | 7845 then |
7839 emacs_cv_localtime_cache=no | 7846 emacs_cv_localtime_cache=no |
7840 else | 7847 else |
7841 echo "configure: failed program was:" >&5 | 7848 echo "configure: failed program was:" >&5 |
7842 cat conftest.$ac_ext >&5 | 7849 cat conftest.$ac_ext >&5 |
7862 | 7869 |
7863 if test "x$HAVE_TIMEVAL" = xyes; then | 7870 if test "x$HAVE_TIMEVAL" = xyes; then |
7864 for ac_func in gettimeofday | 7871 for ac_func in gettimeofday |
7865 do | 7872 do |
7866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7867 echo "configure:7868: checking for $ac_func" >&5 | 7874 echo "configure:7875: checking for $ac_func" >&5 |
7868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7869 echo $ac_n "(cached) $ac_c" 1>&6 | 7876 echo $ac_n "(cached) $ac_c" 1>&6 |
7870 else | 7877 else |
7871 cat > conftest.$ac_ext <<EOF | 7878 cat > conftest.$ac_ext <<EOF |
7872 #line 7873 "configure" | 7879 #line 7880 "configure" |
7873 #include "confdefs.h" | 7880 #include "confdefs.h" |
7874 /* System header to define __stub macros and hopefully few prototypes, | 7881 /* System header to define __stub macros and hopefully few prototypes, |
7875 which can conflict with char $ac_func(); below. */ | 7882 which can conflict with char $ac_func(); below. */ |
7876 #include <assert.h> | 7883 #include <assert.h> |
7877 /* Override any gcc2 internal prototype to avoid an error. */ | 7884 /* Override any gcc2 internal prototype to avoid an error. */ |
7890 $ac_func(); | 7897 $ac_func(); |
7891 #endif | 7898 #endif |
7892 | 7899 |
7893 ; return 0; } | 7900 ; return 0; } |
7894 EOF | 7901 EOF |
7895 if { (eval echo configure:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7902 if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7896 rm -rf conftest* | 7903 rm -rf conftest* |
7897 eval "ac_cv_func_$ac_func=yes" | 7904 eval "ac_cv_func_$ac_func=yes" |
7898 else | 7905 else |
7899 echo "configure: failed program was:" >&5 | 7906 echo "configure: failed program was:" >&5 |
7900 cat conftest.$ac_ext >&5 | 7907 cat conftest.$ac_ext >&5 |
7915 echo "$ac_t""no" 1>&6 | 7922 echo "$ac_t""no" 1>&6 |
7916 fi | 7923 fi |
7917 done | 7924 done |
7918 | 7925 |
7919 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 7926 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
7920 echo "configure:7921: checking whether gettimeofday can accept two arguments" >&5 | 7927 echo "configure:7928: checking whether gettimeofday can accept two arguments" >&5 |
7921 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 7928 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
7922 echo $ac_n "(cached) $ac_c" 1>&6 | 7929 echo $ac_n "(cached) $ac_c" 1>&6 |
7923 else | 7930 else |
7924 cat > conftest.$ac_ext <<EOF | 7931 cat > conftest.$ac_ext <<EOF |
7925 #line 7926 "configure" | 7932 #line 7933 "configure" |
7926 #include "confdefs.h" | 7933 #include "confdefs.h" |
7927 | 7934 |
7928 #ifdef TIME_WITH_SYS_TIME | 7935 #ifdef TIME_WITH_SYS_TIME |
7929 #include <sys/time.h> | 7936 #include <sys/time.h> |
7930 #include <time.h> | 7937 #include <time.h> |
7938 int main() { | 7945 int main() { |
7939 struct timeval time; | 7946 struct timeval time; |
7940 gettimeofday (&time, 0); | 7947 gettimeofday (&time, 0); |
7941 ; return 0; } | 7948 ; return 0; } |
7942 EOF | 7949 EOF |
7943 if { (eval echo configure:7944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7950 if { (eval echo configure:7951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7944 rm -rf conftest* | 7951 rm -rf conftest* |
7945 emacs_cv_gettimeofday_two_arguments=yes | 7952 emacs_cv_gettimeofday_two_arguments=yes |
7946 else | 7953 else |
7947 echo "configure: failed program was:" >&5 | 7954 echo "configure: failed program was:" >&5 |
7948 cat conftest.$ac_ext >&5 | 7955 cat conftest.$ac_ext >&5 |
7961 fi | 7968 fi |
7962 fi | 7969 fi |
7963 | 7970 |
7964 if test "$ac_cv_func_gettimeofday" = yes; then | 7971 if test "$ac_cv_func_gettimeofday" = yes; then |
7965 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 7972 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
7966 echo "configure:7967: checking for struct timezone" >&5 | 7973 echo "configure:7974: checking for struct timezone" >&5 |
7967 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 7974 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
7968 echo $ac_n "(cached) $ac_c" 1>&6 | 7975 echo $ac_n "(cached) $ac_c" 1>&6 |
7969 else | 7976 else |
7970 cat > conftest.$ac_ext <<EOF | 7977 cat > conftest.$ac_ext <<EOF |
7971 #line 7972 "configure" | 7978 #line 7979 "configure" |
7972 #include "confdefs.h" | 7979 #include "confdefs.h" |
7973 #include <sys/time.h> | 7980 #include <sys/time.h> |
7974 int main() { | 7981 int main() { |
7975 struct timezone tz; | 7982 struct timezone tz; |
7976 ; return 0; } | 7983 ; return 0; } |
7977 EOF | 7984 EOF |
7978 if { (eval echo configure:7979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7985 if { (eval echo configure:7986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7979 rm -rf conftest* | 7986 rm -rf conftest* |
7980 if test "$cross_compiling" = yes; then | 7987 if test "$cross_compiling" = yes; then |
7981 emacs_cv_struct_timezone=yes | 7988 emacs_cv_struct_timezone=yes |
7982 else | 7989 else |
7983 cat > conftest.$ac_ext <<EOF | 7990 cat > conftest.$ac_ext <<EOF |
7984 #line 7985 "configure" | 7991 #line 7992 "configure" |
7985 #include "confdefs.h" | 7992 #include "confdefs.h" |
7986 | 7993 |
7987 #ifdef TIME_WITH_SYS_TIME | 7994 #ifdef TIME_WITH_SYS_TIME |
7988 #include <sys/time.h> | 7995 #include <sys/time.h> |
7989 #include <time.h> | 7996 #include <time.h> |
7998 struct timeval time; | 8005 struct timeval time; |
7999 struct timezone dummy; | 8006 struct timezone dummy; |
8000 exit (gettimeofday (&time, &dummy)); | 8007 exit (gettimeofday (&time, &dummy)); |
8001 } | 8008 } |
8002 EOF | 8009 EOF |
8003 if { (eval echo configure:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8004 then | 8011 then |
8005 emacs_cv_struct_timezone=yes | 8012 emacs_cv_struct_timezone=yes |
8006 else | 8013 else |
8007 echo "configure: failed program was:" >&5 | 8014 echo "configure: failed program was:" >&5 |
8008 cat conftest.$ac_ext >&5 | 8015 cat conftest.$ac_ext >&5 |
8024 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 | 8031 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 |
8025 fi | 8032 fi |
8026 | 8033 |
8027 ok_so_far=yes | 8034 ok_so_far=yes |
8028 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8035 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8029 echo "configure:8030: checking for socket" >&5 | 8036 echo "configure:8037: checking for socket" >&5 |
8030 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8037 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
8031 echo $ac_n "(cached) $ac_c" 1>&6 | 8038 echo $ac_n "(cached) $ac_c" 1>&6 |
8032 else | 8039 else |
8033 cat > conftest.$ac_ext <<EOF | 8040 cat > conftest.$ac_ext <<EOF |
8034 #line 8035 "configure" | 8041 #line 8042 "configure" |
8035 #include "confdefs.h" | 8042 #include "confdefs.h" |
8036 /* System header to define __stub macros and hopefully few prototypes, | 8043 /* System header to define __stub macros and hopefully few prototypes, |
8037 which can conflict with char socket(); below. */ | 8044 which can conflict with char socket(); below. */ |
8038 #include <assert.h> | 8045 #include <assert.h> |
8039 /* Override any gcc2 internal prototype to avoid an error. */ | 8046 /* Override any gcc2 internal prototype to avoid an error. */ |
8052 socket(); | 8059 socket(); |
8053 #endif | 8060 #endif |
8054 | 8061 |
8055 ; return 0; } | 8062 ; return 0; } |
8056 EOF | 8063 EOF |
8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8064 if { (eval echo configure:8065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8058 rm -rf conftest* | 8065 rm -rf conftest* |
8059 eval "ac_cv_func_socket=yes" | 8066 eval "ac_cv_func_socket=yes" |
8060 else | 8067 else |
8061 echo "configure: failed program was:" >&5 | 8068 echo "configure: failed program was:" >&5 |
8062 cat conftest.$ac_ext >&5 | 8069 cat conftest.$ac_ext >&5 |
8075 fi | 8082 fi |
8076 | 8083 |
8077 if test $ok_so_far = yes; then | 8084 if test $ok_so_far = yes; then |
8078 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8085 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8079 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8086 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8080 echo "configure:8081: checking for netinet/in.h" >&5 | 8087 echo "configure:8088: checking for netinet/in.h" >&5 |
8081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8082 echo $ac_n "(cached) $ac_c" 1>&6 | 8089 echo $ac_n "(cached) $ac_c" 1>&6 |
8083 else | 8090 else |
8084 cat > conftest.$ac_ext <<EOF | 8091 cat > conftest.$ac_ext <<EOF |
8085 #line 8086 "configure" | 8092 #line 8093 "configure" |
8086 #include "confdefs.h" | 8093 #include "confdefs.h" |
8087 #include <netinet/in.h> | 8094 #include <netinet/in.h> |
8088 EOF | 8095 EOF |
8089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8090 { (eval echo configure:8091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8097 { (eval echo configure:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8092 if test -z "$ac_err"; then | 8099 if test -z "$ac_err"; then |
8093 rm -rf conftest* | 8100 rm -rf conftest* |
8094 eval "ac_cv_header_$ac_safe=yes" | 8101 eval "ac_cv_header_$ac_safe=yes" |
8095 else | 8102 else |
8111 | 8118 |
8112 fi | 8119 fi |
8113 if test $ok_so_far = yes; then | 8120 if test $ok_so_far = yes; then |
8114 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8121 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8115 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8122 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8116 echo "configure:8117: checking for arpa/inet.h" >&5 | 8123 echo "configure:8124: checking for arpa/inet.h" >&5 |
8117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8124 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8118 echo $ac_n "(cached) $ac_c" 1>&6 | 8125 echo $ac_n "(cached) $ac_c" 1>&6 |
8119 else | 8126 else |
8120 cat > conftest.$ac_ext <<EOF | 8127 cat > conftest.$ac_ext <<EOF |
8121 #line 8122 "configure" | 8128 #line 8129 "configure" |
8122 #include "confdefs.h" | 8129 #include "confdefs.h" |
8123 #include <arpa/inet.h> | 8130 #include <arpa/inet.h> |
8124 EOF | 8131 EOF |
8125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8126 { (eval echo configure:8127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8133 { (eval echo configure:8134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8128 if test -z "$ac_err"; then | 8135 if test -z "$ac_err"; then |
8129 rm -rf conftest* | 8136 rm -rf conftest* |
8130 eval "ac_cv_header_$ac_safe=yes" | 8137 eval "ac_cv_header_$ac_safe=yes" |
8131 else | 8138 else |
8159 EOF | 8166 EOF |
8160 | 8167 |
8161 fi | 8168 fi |
8162 | 8169 |
8163 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8170 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
8164 echo "configure:8165: checking whether system supports dynamic ptys" >&5 | 8171 echo "configure:8172: checking whether system supports dynamic ptys" >&5 |
8165 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8172 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
8166 echo "$ac_t""yes" 1>&6 | 8173 echo "$ac_t""yes" 1>&6 |
8167 cat >> confdefs.h <<\EOF | 8174 cat >> confdefs.h <<\EOF |
8168 #define HAVE_DEV_PTMX 1 | 8175 #define HAVE_DEV_PTMX 1 |
8169 EOF | 8176 EOF |
8171 else | 8178 else |
8172 echo "$ac_t""no" 1>&6 | 8179 echo "$ac_t""no" 1>&6 |
8173 fi | 8180 fi |
8174 | 8181 |
8175 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8182 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
8176 echo "configure:8177: checking for pid_t" >&5 | 8183 echo "configure:8184: checking for pid_t" >&5 |
8177 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8184 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8178 echo $ac_n "(cached) $ac_c" 1>&6 | 8185 echo $ac_n "(cached) $ac_c" 1>&6 |
8179 else | 8186 else |
8180 cat > conftest.$ac_ext <<EOF | 8187 cat > conftest.$ac_ext <<EOF |
8181 #line 8182 "configure" | 8188 #line 8189 "configure" |
8182 #include "confdefs.h" | 8189 #include "confdefs.h" |
8183 #include <sys/types.h> | 8190 #include <sys/types.h> |
8184 #if STDC_HEADERS | 8191 #if STDC_HEADERS |
8185 #include <stdlib.h> | 8192 #include <stdlib.h> |
8186 #include <stddef.h> | 8193 #include <stddef.h> |
8205 | 8212 |
8206 fi | 8213 fi |
8207 | 8214 |
8208 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8215 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8209 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8216 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8210 echo "configure:8211: checking for vfork.h" >&5 | 8217 echo "configure:8218: checking for vfork.h" >&5 |
8211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8212 echo $ac_n "(cached) $ac_c" 1>&6 | 8219 echo $ac_n "(cached) $ac_c" 1>&6 |
8213 else | 8220 else |
8214 cat > conftest.$ac_ext <<EOF | 8221 cat > conftest.$ac_ext <<EOF |
8215 #line 8216 "configure" | 8222 #line 8223 "configure" |
8216 #include "confdefs.h" | 8223 #include "confdefs.h" |
8217 #include <vfork.h> | 8224 #include <vfork.h> |
8218 EOF | 8225 EOF |
8219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8220 { (eval echo configure:8221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8227 { (eval echo configure:8228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8222 if test -z "$ac_err"; then | 8229 if test -z "$ac_err"; then |
8223 rm -rf conftest* | 8230 rm -rf conftest* |
8224 eval "ac_cv_header_$ac_safe=yes" | 8231 eval "ac_cv_header_$ac_safe=yes" |
8225 else | 8232 else |
8240 else | 8247 else |
8241 echo "$ac_t""no" 1>&6 | 8248 echo "$ac_t""no" 1>&6 |
8242 fi | 8249 fi |
8243 | 8250 |
8244 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8251 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8245 echo "configure:8246: checking for working vfork" >&5 | 8252 echo "configure:8253: checking for working vfork" >&5 |
8246 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8253 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
8247 echo $ac_n "(cached) $ac_c" 1>&6 | 8254 echo $ac_n "(cached) $ac_c" 1>&6 |
8248 else | 8255 else |
8249 if test "$cross_compiling" = yes; then | 8256 if test "$cross_compiling" = yes; then |
8250 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8257 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
8251 echo "configure:8252: checking for vfork" >&5 | 8258 echo "configure:8259: checking for vfork" >&5 |
8252 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8259 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
8253 echo $ac_n "(cached) $ac_c" 1>&6 | 8260 echo $ac_n "(cached) $ac_c" 1>&6 |
8254 else | 8261 else |
8255 cat > conftest.$ac_ext <<EOF | 8262 cat > conftest.$ac_ext <<EOF |
8256 #line 8257 "configure" | 8263 #line 8264 "configure" |
8257 #include "confdefs.h" | 8264 #include "confdefs.h" |
8258 /* System header to define __stub macros and hopefully few prototypes, | 8265 /* System header to define __stub macros and hopefully few prototypes, |
8259 which can conflict with char vfork(); below. */ | 8266 which can conflict with char vfork(); below. */ |
8260 #include <assert.h> | 8267 #include <assert.h> |
8261 /* Override any gcc2 internal prototype to avoid an error. */ | 8268 /* Override any gcc2 internal prototype to avoid an error. */ |
8274 vfork(); | 8281 vfork(); |
8275 #endif | 8282 #endif |
8276 | 8283 |
8277 ; return 0; } | 8284 ; return 0; } |
8278 EOF | 8285 EOF |
8279 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8280 rm -rf conftest* | 8287 rm -rf conftest* |
8281 eval "ac_cv_func_vfork=yes" | 8288 eval "ac_cv_func_vfork=yes" |
8282 else | 8289 else |
8283 echo "configure: failed program was:" >&5 | 8290 echo "configure: failed program was:" >&5 |
8284 cat conftest.$ac_ext >&5 | 8291 cat conftest.$ac_ext >&5 |
8296 fi | 8303 fi |
8297 | 8304 |
8298 ac_cv_func_vfork_works=$ac_cv_func_vfork | 8305 ac_cv_func_vfork_works=$ac_cv_func_vfork |
8299 else | 8306 else |
8300 cat > conftest.$ac_ext <<EOF | 8307 cat > conftest.$ac_ext <<EOF |
8301 #line 8302 "configure" | 8308 #line 8309 "configure" |
8302 #include "confdefs.h" | 8309 #include "confdefs.h" |
8303 /* Thanks to Paul Eggert for this test. */ | 8310 /* Thanks to Paul Eggert for this test. */ |
8304 #include <stdio.h> | 8311 #include <stdio.h> |
8305 #include <sys/types.h> | 8312 #include <sys/types.h> |
8306 #include <sys/stat.h> | 8313 #include <sys/stat.h> |
8391 || fstat(fileno(stdout), &st) != 0 | 8398 || fstat(fileno(stdout), &st) != 0 |
8392 ); | 8399 ); |
8393 } | 8400 } |
8394 } | 8401 } |
8395 EOF | 8402 EOF |
8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8403 if { (eval echo configure:8404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8397 then | 8404 then |
8398 ac_cv_func_vfork_works=yes | 8405 ac_cv_func_vfork_works=yes |
8399 else | 8406 else |
8400 echo "configure: failed program was:" >&5 | 8407 echo "configure: failed program was:" >&5 |
8401 cat conftest.$ac_ext >&5 | 8408 cat conftest.$ac_ext >&5 |
8416 fi | 8423 fi |
8417 | 8424 |
8418 | 8425 |
8419 # Fixme: This should be replaced when we have autoconf 2.14. | 8426 # Fixme: This should be replaced when we have autoconf 2.14. |
8420 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 8427 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
8421 echo "configure:8422: checking for size_t" >&5 | 8428 echo "configure:8429: checking for size_t" >&5 |
8422 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 8429 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
8423 echo $ac_n "(cached) $ac_c" 1>&6 | 8430 echo $ac_n "(cached) $ac_c" 1>&6 |
8424 else | 8431 else |
8425 cat > conftest.$ac_ext <<EOF | 8432 cat > conftest.$ac_ext <<EOF |
8426 #line 8427 "configure" | 8433 #line 8434 "configure" |
8427 #include "confdefs.h" | 8434 #include "confdefs.h" |
8428 #include <sys/types.h> | 8435 #include <sys/types.h> |
8429 #if STDC_HEADERS | 8436 #if STDC_HEADERS |
8430 #include <stdlib.h> | 8437 #include <stdlib.h> |
8431 #include <stddef.h> | 8438 #include <stddef.h> |